sass.dart.js 4.7 MB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687306883068930690306913069230693306943069530696306973069830699307003070130702307033070430705307063070730708307093071030711307123071330714307153071630717307183071930720307213072230723307243072530726307273072830729307303073130732307333073430735307363073730738307393074030741307423074330744307453074630747307483074930750307513075230753307543075530756307573075830759307603076130762307633076430765307663076730768307693077030771307723077330774307753077630777307783077930780307813078230783307843078530786307873078830789307903079130792307933079430795307963079730798307993080030801308023080330804308053080630807308083080930810308113081230813308143081530816308173081830819308203082130822308233082430825308263082730828308293083030831308323083330834308353083630837308383083930840308413084230843308443084530846308473084830849308503085130852308533085430855308563085730858308593086030861308623086330864308653086630867308683086930870308713087230873308743087530876308773087830879308803088130882308833088430885308863088730888308893089030891308923089330894308953089630897308983089930900309013090230903309043090530906309073090830909309103091130912309133091430915309163091730918309193092030921309223092330924309253092630927309283092930930309313093230933309343093530936309373093830939309403094130942309433094430945309463094730948309493095030951309523095330954309553095630957309583095930960309613096230963309643096530966309673096830969309703097130972309733097430975309763097730978309793098030981309823098330984309853098630987309883098930990309913099230993309943099530996309973099830999310003100131002310033100431005310063100731008310093101031011310123101331014310153101631017310183101931020310213102231023310243102531026310273102831029310303103131032310333103431035310363103731038310393104031041310423104331044310453104631047310483104931050310513105231053310543105531056310573105831059310603106131062310633106431065310663106731068310693107031071310723107331074310753107631077310783107931080310813108231083310843108531086310873108831089310903109131092310933109431095310963109731098310993110031101311023110331104311053110631107311083110931110311113111231113311143111531116311173111831119311203112131122311233112431125311263112731128311293113031131311323113331134311353113631137311383113931140311413114231143311443114531146311473114831149311503115131152311533115431155311563115731158311593116031161311623116331164311653116631167311683116931170311713117231173311743117531176311773117831179311803118131182311833118431185311863118731188311893119031191311923119331194311953119631197311983119931200312013120231203312043120531206312073120831209312103121131212312133121431215312163121731218312193122031221312223122331224312253122631227312283122931230312313123231233312343123531236312373123831239312403124131242312433124431245312463124731248312493125031251312523125331254312553125631257312583125931260312613126231263312643126531266312673126831269312703127131272312733127431275312763127731278312793128031281312823128331284312853128631287312883128931290312913129231293312943129531296312973129831299313003130131302313033130431305313063130731308313093131031311313123131331314313153131631317313183131931320313213132231323313243132531326313273132831329313303133131332313333133431335313363133731338313393134031341313423134331344313453134631347313483134931350313513135231353313543135531356313573135831359313603136131362313633136431365313663136731368313693137031371313723137331374313753137631377313783137931380313813138231383313843138531386313873138831389313903139131392313933139431395313963139731398313993140031401314023140331404314053140631407314083140931410314113141231413314143141531416314173141831419314203142131422314233142431425314263142731428314293143031431314323143331434314353143631437314383143931440314413144231443314443144531446314473144831449314503145131452314533145431455314563145731458314593146031461314623146331464314653146631467314683146931470314713147231473314743147531476314773147831479314803148131482314833148431485314863148731488314893149031491314923149331494314953149631497314983149931500315013150231503315043150531506315073150831509315103151131512315133151431515315163151731518315193152031521315223152331524315253152631527315283152931530315313153231533315343153531536315373153831539315403154131542315433154431545315463154731548315493155031551315523155331554315553155631557315583155931560315613156231563315643156531566315673156831569315703157131572315733157431575315763157731578315793158031581315823158331584315853158631587315883158931590315913159231593315943159531596315973159831599316003160131602316033160431605316063160731608316093161031611316123161331614316153161631617316183161931620316213162231623316243162531626316273162831629316303163131632316333163431635316363163731638316393164031641316423164331644316453164631647316483164931650316513165231653316543165531656316573165831659316603166131662316633166431665316663166731668316693167031671316723167331674316753167631677316783167931680316813168231683316843168531686316873168831689316903169131692316933169431695316963169731698316993170031701317023170331704317053170631707317083170931710317113171231713317143171531716317173171831719317203172131722317233172431725317263172731728317293173031731317323173331734317353173631737317383173931740317413174231743317443174531746317473174831749317503175131752317533175431755317563175731758317593176031761317623176331764317653176631767317683176931770317713177231773317743177531776317773177831779317803178131782317833178431785317863178731788317893179031791317923179331794317953179631797317983179931800318013180231803318043180531806318073180831809318103181131812318133181431815318163181731818318193182031821318223182331824318253182631827318283182931830318313183231833318343183531836318373183831839318403184131842318433184431845318463184731848318493185031851318523185331854318553185631857318583185931860318613186231863318643186531866318673186831869318703187131872318733187431875318763187731878318793188031881318823188331884318853188631887318883188931890318913189231893318943189531896318973189831899319003190131902319033190431905319063190731908319093191031911319123191331914319153191631917319183191931920319213192231923319243192531926319273192831929319303193131932319333193431935319363193731938319393194031941319423194331944319453194631947319483194931950319513195231953319543195531956319573195831959319603196131962319633196431965319663196731968319693197031971319723197331974319753197631977319783197931980319813198231983319843198531986319873198831989319903199131992319933199431995319963199731998319993200032001320023200332004320053200632007320083200932010320113201232013320143201532016320173201832019320203202132022320233202432025320263202732028320293203032031320323203332034320353203632037320383203932040320413204232043320443204532046320473204832049320503205132052320533205432055320563205732058320593206032061320623206332064320653206632067320683206932070320713207232073320743207532076320773207832079320803208132082320833208432085320863208732088320893209032091320923209332094320953209632097320983209932100321013210232103321043210532106321073210832109321103211132112321133211432115321163211732118321193212032121321223212332124321253212632127321283212932130321313213232133321343213532136321373213832139321403214132142321433214432145321463214732148321493215032151321523215332154321553215632157321583215932160321613216232163321643216532166321673216832169321703217132172321733217432175321763217732178321793218032181321823218332184321853218632187321883218932190321913219232193321943219532196321973219832199322003220132202322033220432205322063220732208322093221032211322123221332214322153221632217322183221932220322213222232223322243222532226322273222832229322303223132232322333223432235322363223732238322393224032241322423224332244322453224632247322483224932250322513225232253322543225532256322573225832259322603226132262322633226432265322663226732268322693227032271322723227332274322753227632277322783227932280322813228232283322843228532286322873228832289322903229132292322933229432295322963229732298322993230032301323023230332304323053230632307323083230932310323113231232313323143231532316323173231832319323203232132322323233232432325323263232732328323293233032331323323233332334323353233632337323383233932340323413234232343323443234532346323473234832349323503235132352323533235432355323563235732358323593236032361323623236332364323653236632367323683236932370323713237232373323743237532376323773237832379323803238132382323833238432385323863238732388323893239032391323923239332394323953239632397323983239932400324013240232403324043240532406324073240832409324103241132412324133241432415324163241732418324193242032421324223242332424324253242632427324283242932430324313243232433324343243532436324373243832439324403244132442324433244432445324463244732448324493245032451324523245332454324553245632457324583245932460324613246232463324643246532466324673246832469324703247132472324733247432475324763247732478324793248032481324823248332484324853248632487324883248932490324913249232493324943249532496324973249832499325003250132502325033250432505325063250732508325093251032511325123251332514325153251632517325183251932520325213252232523325243252532526325273252832529325303253132532325333253432535325363253732538325393254032541325423254332544325453254632547325483254932550325513255232553325543255532556325573255832559325603256132562325633256432565325663256732568325693257032571325723257332574325753257632577325783257932580325813258232583325843258532586325873258832589325903259132592325933259432595325963259732598325993260032601326023260332604326053260632607326083260932610326113261232613326143261532616326173261832619326203262132622326233262432625326263262732628326293263032631326323263332634326353263632637326383263932640326413264232643326443264532646326473264832649326503265132652326533265432655326563265732658326593266032661326623266332664326653266632667326683266932670326713267232673326743267532676326773267832679326803268132682326833268432685326863268732688326893269032691326923269332694326953269632697326983269932700327013270232703327043270532706327073270832709327103271132712327133271432715327163271732718327193272032721327223272332724327253272632727327283272932730327313273232733327343273532736327373273832739327403274132742327433274432745327463274732748327493275032751327523275332754327553275632757327583275932760327613276232763327643276532766327673276832769327703277132772327733277432775327763277732778327793278032781327823278332784327853278632787327883278932790327913279232793327943279532796327973279832799328003280132802328033280432805328063280732808328093281032811328123281332814328153281632817328183281932820328213282232823328243282532826328273282832829328303283132832328333283432835328363283732838328393284032841328423284332844328453284632847328483284932850328513285232853328543285532856328573285832859328603286132862328633286432865328663286732868328693287032871328723287332874328753287632877328783287932880328813288232883328843288532886328873288832889328903289132892328933289432895328963289732898328993290032901329023290332904329053290632907329083290932910329113291232913329143291532916329173291832919329203292132922329233292432925329263292732928329293293032931329323293332934329353293632937329383293932940329413294232943329443294532946329473294832949329503295132952329533295432955329563295732958329593296032961329623296332964329653296632967329683296932970329713297232973329743297532976329773297832979329803298132982329833298432985329863298732988329893299032991329923299332994329953299632997329983299933000330013300233003330043300533006330073300833009330103301133012330133301433015330163301733018330193302033021330223302333024330253302633027330283302933030330313303233033330343303533036330373303833039330403304133042330433304433045330463304733048330493305033051330523305333054330553305633057330583305933060330613306233063330643306533066330673306833069330703307133072330733307433075330763307733078330793308033081330823308333084330853308633087330883308933090330913309233093330943309533096330973309833099331003310133102331033310433105331063310733108331093311033111331123311333114331153311633117331183311933120331213312233123331243312533126331273312833129331303313133132331333313433135331363313733138331393314033141331423314333144331453314633147331483314933150331513315233153331543315533156331573315833159331603316133162331633316433165331663316733168331693317033171331723317333174331753317633177331783317933180331813318233183331843318533186331873318833189331903319133192331933319433195331963319733198331993320033201332023320333204332053320633207332083320933210332113321233213332143321533216332173321833219332203322133222332233322433225332263322733228332293323033231332323323333234332353323633237332383323933240332413324233243332443324533246332473324833249332503325133252332533325433255332563325733258332593326033261332623326333264332653326633267332683326933270332713327233273332743327533276332773327833279332803328133282332833328433285332863328733288332893329033291332923329333294332953329633297332983329933300333013330233303333043330533306333073330833309333103331133312333133331433315333163331733318333193332033321333223332333324333253332633327333283332933330333313333233333333343333533336333373333833339333403334133342333433334433345333463334733348333493335033351333523335333354333553335633357333583335933360333613336233363333643336533366333673336833369333703337133372333733337433375333763337733378333793338033381333823338333384333853338633387333883338933390333913339233393333943339533396333973339833399334003340133402334033340433405334063340733408334093341033411334123341333414334153341633417334183341933420334213342233423334243342533426334273342833429334303343133432334333343433435334363343733438334393344033441334423344333444334453344633447334483344933450334513345233453334543345533456334573345833459334603346133462334633346433465334663346733468334693347033471334723347333474334753347633477334783347933480334813348233483334843348533486334873348833489334903349133492334933349433495334963349733498334993350033501335023350333504335053350633507335083350933510335113351233513335143351533516335173351833519335203352133522335233352433525335263352733528335293353033531335323353333534335353353633537335383353933540335413354233543335443354533546335473354833549335503355133552335533355433555335563355733558335593356033561335623356333564335653356633567335683356933570335713357233573335743357533576335773357833579335803358133582335833358433585335863358733588335893359033591335923359333594335953359633597335983359933600336013360233603336043360533606336073360833609336103361133612336133361433615336163361733618336193362033621336223362333624336253362633627336283362933630336313363233633336343363533636336373363833639336403364133642336433364433645336463364733648336493365033651336523365333654336553365633657336583365933660336613366233663336643366533666336673366833669336703367133672336733367433675336763367733678336793368033681336823368333684336853368633687336883368933690336913369233693336943369533696336973369833699337003370133702337033370433705337063370733708337093371033711337123371333714337153371633717337183371933720337213372233723337243372533726337273372833729337303373133732337333373433735337363373733738337393374033741337423374333744337453374633747337483374933750337513375233753337543375533756337573375833759337603376133762337633376433765337663376733768337693377033771337723377333774337753377633777337783377933780337813378233783337843378533786337873378833789337903379133792337933379433795337963379733798337993380033801338023380333804338053380633807338083380933810338113381233813338143381533816338173381833819338203382133822338233382433825338263382733828338293383033831338323383333834338353383633837338383383933840338413384233843338443384533846338473384833849338503385133852338533385433855338563385733858338593386033861338623386333864338653386633867338683386933870338713387233873338743387533876338773387833879338803388133882338833388433885338863388733888338893389033891338923389333894338953389633897338983389933900339013390233903339043390533906339073390833909339103391133912339133391433915339163391733918339193392033921339223392333924339253392633927339283392933930339313393233933339343393533936339373393833939339403394133942339433394433945339463394733948339493395033951339523395333954339553395633957339583395933960339613396233963339643396533966339673396833969339703397133972339733397433975339763397733978339793398033981339823398333984339853398633987339883398933990339913399233993339943399533996339973399833999340003400134002340033400434005340063400734008340093401034011340123401334014340153401634017340183401934020340213402234023340243402534026340273402834029340303403134032340333403434035340363403734038340393404034041340423404334044340453404634047340483404934050340513405234053340543405534056340573405834059340603406134062340633406434065340663406734068340693407034071340723407334074340753407634077340783407934080340813408234083340843408534086340873408834089340903409134092340933409434095340963409734098340993410034101341023410334104341053410634107341083410934110341113411234113341143411534116341173411834119341203412134122341233412434125341263412734128341293413034131341323413334134341353413634137341383413934140341413414234143341443414534146341473414834149341503415134152341533415434155341563415734158341593416034161341623416334164341653416634167341683416934170341713417234173341743417534176341773417834179341803418134182341833418434185341863418734188341893419034191341923419334194341953419634197341983419934200342013420234203342043420534206342073420834209342103421134212342133421434215342163421734218342193422034221342223422334224342253422634227342283422934230342313423234233342343423534236342373423834239342403424134242342433424434245342463424734248342493425034251342523425334254342553425634257342583425934260342613426234263342643426534266342673426834269342703427134272342733427434275342763427734278342793428034281342823428334284342853428634287342883428934290342913429234293342943429534296342973429834299343003430134302343033430434305343063430734308343093431034311343123431334314343153431634317343183431934320343213432234323343243432534326343273432834329343303433134332343333433434335343363433734338343393434034341343423434334344343453434634347343483434934350343513435234353343543435534356343573435834359343603436134362343633436434365343663436734368343693437034371343723437334374343753437634377343783437934380343813438234383343843438534386343873438834389343903439134392343933439434395343963439734398343993440034401344023440334404344053440634407344083440934410344113441234413344143441534416344173441834419344203442134422344233442434425344263442734428344293443034431344323443334434344353443634437344383443934440344413444234443344443444534446344473444834449344503445134452344533445434455344563445734458344593446034461344623446334464344653446634467344683446934470344713447234473344743447534476344773447834479344803448134482344833448434485344863448734488344893449034491344923449334494344953449634497344983449934500345013450234503345043450534506345073450834509345103451134512345133451434515345163451734518345193452034521345223452334524345253452634527345283452934530345313453234533345343453534536345373453834539345403454134542345433454434545345463454734548345493455034551345523455334554345553455634557345583455934560345613456234563345643456534566345673456834569345703457134572345733457434575345763457734578345793458034581345823458334584345853458634587345883458934590345913459234593345943459534596345973459834599346003460134602346033460434605346063460734608346093461034611346123461334614346153461634617346183461934620346213462234623346243462534626346273462834629346303463134632346333463434635346363463734638346393464034641346423464334644346453464634647346483464934650346513465234653346543465534656346573465834659346603466134662346633466434665346663466734668346693467034671346723467334674346753467634677346783467934680346813468234683346843468534686346873468834689346903469134692346933469434695346963469734698346993470034701347023470334704347053470634707347083470934710347113471234713347143471534716347173471834719347203472134722347233472434725347263472734728347293473034731347323473334734347353473634737347383473934740347413474234743347443474534746347473474834749347503475134752347533475434755347563475734758347593476034761347623476334764347653476634767347683476934770347713477234773347743477534776347773477834779347803478134782347833478434785347863478734788347893479034791347923479334794347953479634797347983479934800348013480234803348043480534806348073480834809348103481134812348133481434815348163481734818348193482034821348223482334824348253482634827348283482934830348313483234833348343483534836348373483834839348403484134842348433484434845348463484734848348493485034851348523485334854348553485634857348583485934860348613486234863348643486534866348673486834869348703487134872348733487434875348763487734878348793488034881348823488334884348853488634887348883488934890348913489234893348943489534896348973489834899349003490134902349033490434905349063490734908349093491034911349123491334914349153491634917349183491934920349213492234923349243492534926349273492834929349303493134932349333493434935349363493734938349393494034941349423494334944349453494634947349483494934950349513495234953349543495534956349573495834959349603496134962349633496434965349663496734968349693497034971349723497334974349753497634977349783497934980349813498234983349843498534986349873498834989349903499134992349933499434995349963499734998349993500035001350023500335004350053500635007350083500935010350113501235013350143501535016350173501835019350203502135022350233502435025350263502735028350293503035031350323503335034350353503635037350383503935040350413504235043350443504535046350473504835049350503505135052350533505435055350563505735058350593506035061350623506335064350653506635067350683506935070350713507235073350743507535076350773507835079350803508135082350833508435085350863508735088350893509035091350923509335094350953509635097350983509935100351013510235103351043510535106351073510835109351103511135112351133511435115351163511735118351193512035121351223512335124351253512635127351283512935130351313513235133351343513535136351373513835139351403514135142351433514435145351463514735148351493515035151351523515335154351553515635157351583515935160351613516235163351643516535166351673516835169351703517135172351733517435175351763517735178351793518035181351823518335184351853518635187351883518935190351913519235193351943519535196351973519835199352003520135202352033520435205352063520735208352093521035211352123521335214352153521635217352183521935220352213522235223352243522535226352273522835229352303523135232352333523435235352363523735238352393524035241352423524335244352453524635247352483524935250352513525235253352543525535256352573525835259352603526135262352633526435265352663526735268352693527035271352723527335274352753527635277352783527935280352813528235283352843528535286352873528835289352903529135292352933529435295352963529735298352993530035301353023530335304353053530635307353083530935310353113531235313353143531535316353173531835319353203532135322353233532435325353263532735328353293533035331353323533335334353353533635337353383533935340353413534235343353443534535346353473534835349353503535135352353533535435355353563535735358353593536035361353623536335364353653536635367353683536935370353713537235373353743537535376353773537835379353803538135382353833538435385353863538735388353893539035391353923539335394353953539635397353983539935400354013540235403354043540535406354073540835409354103541135412354133541435415354163541735418354193542035421354223542335424354253542635427354283542935430354313543235433354343543535436354373543835439354403544135442354433544435445354463544735448354493545035451354523545335454354553545635457354583545935460354613546235463354643546535466354673546835469354703547135472354733547435475354763547735478354793548035481354823548335484354853548635487354883548935490354913549235493354943549535496354973549835499355003550135502355033550435505355063550735508355093551035511355123551335514355153551635517355183551935520355213552235523355243552535526355273552835529355303553135532355333553435535355363553735538355393554035541355423554335544355453554635547355483554935550355513555235553355543555535556355573555835559355603556135562355633556435565355663556735568355693557035571355723557335574355753557635577355783557935580355813558235583355843558535586355873558835589355903559135592355933559435595355963559735598355993560035601356023560335604356053560635607356083560935610356113561235613356143561535616356173561835619356203562135622356233562435625356263562735628356293563035631356323563335634356353563635637356383563935640356413564235643356443564535646356473564835649356503565135652356533565435655356563565735658356593566035661356623566335664356653566635667356683566935670356713567235673356743567535676356773567835679356803568135682356833568435685356863568735688356893569035691356923569335694356953569635697356983569935700357013570235703357043570535706357073570835709357103571135712357133571435715357163571735718357193572035721357223572335724357253572635727357283572935730357313573235733357343573535736357373573835739357403574135742357433574435745357463574735748357493575035751357523575335754357553575635757357583575935760357613576235763357643576535766357673576835769357703577135772357733577435775357763577735778357793578035781357823578335784357853578635787357883578935790357913579235793357943579535796357973579835799358003580135802358033580435805358063580735808358093581035811358123581335814358153581635817358183581935820358213582235823358243582535826358273582835829358303583135832358333583435835358363583735838358393584035841358423584335844358453584635847358483584935850358513585235853358543585535856358573585835859358603586135862358633586435865358663586735868358693587035871358723587335874358753587635877358783587935880358813588235883358843588535886358873588835889358903589135892358933589435895358963589735898358993590035901359023590335904359053590635907359083590935910359113591235913359143591535916359173591835919359203592135922359233592435925359263592735928359293593035931359323593335934359353593635937359383593935940359413594235943359443594535946359473594835949359503595135952359533595435955359563595735958359593596035961359623596335964359653596635967359683596935970359713597235973359743597535976359773597835979359803598135982359833598435985359863598735988359893599035991359923599335994359953599635997359983599936000360013600236003360043600536006360073600836009360103601136012360133601436015360163601736018360193602036021360223602336024360253602636027360283602936030360313603236033360343603536036360373603836039360403604136042360433604436045360463604736048360493605036051360523605336054360553605636057360583605936060360613606236063360643606536066360673606836069360703607136072360733607436075360763607736078360793608036081360823608336084360853608636087360883608936090360913609236093360943609536096360973609836099361003610136102361033610436105361063610736108361093611036111361123611336114361153611636117361183611936120361213612236123361243612536126361273612836129361303613136132361333613436135361363613736138361393614036141361423614336144361453614636147361483614936150361513615236153361543615536156361573615836159361603616136162361633616436165361663616736168361693617036171361723617336174361753617636177361783617936180361813618236183361843618536186361873618836189361903619136192361933619436195361963619736198361993620036201362023620336204362053620636207362083620936210362113621236213362143621536216362173621836219362203622136222362233622436225362263622736228362293623036231362323623336234362353623636237362383623936240362413624236243362443624536246362473624836249362503625136252362533625436255362563625736258362593626036261362623626336264362653626636267362683626936270362713627236273362743627536276362773627836279362803628136282362833628436285362863628736288362893629036291362923629336294362953629636297362983629936300363013630236303363043630536306363073630836309363103631136312363133631436315363163631736318363193632036321363223632336324363253632636327363283632936330363313633236333363343633536336363373633836339363403634136342363433634436345363463634736348363493635036351363523635336354363553635636357363583635936360363613636236363363643636536366363673636836369363703637136372363733637436375363763637736378363793638036381363823638336384363853638636387363883638936390363913639236393363943639536396363973639836399364003640136402364033640436405364063640736408364093641036411364123641336414364153641636417364183641936420364213642236423364243642536426364273642836429364303643136432364333643436435364363643736438364393644036441364423644336444364453644636447364483644936450364513645236453364543645536456364573645836459364603646136462364633646436465364663646736468364693647036471364723647336474364753647636477364783647936480364813648236483364843648536486364873648836489364903649136492364933649436495364963649736498364993650036501365023650336504365053650636507365083650936510365113651236513365143651536516365173651836519365203652136522365233652436525365263652736528365293653036531365323653336534365353653636537365383653936540365413654236543365443654536546365473654836549365503655136552365533655436555365563655736558365593656036561365623656336564365653656636567365683656936570365713657236573365743657536576365773657836579365803658136582365833658436585365863658736588365893659036591365923659336594365953659636597365983659936600366013660236603366043660536606366073660836609366103661136612366133661436615366163661736618366193662036621366223662336624366253662636627366283662936630366313663236633366343663536636366373663836639366403664136642366433664436645366463664736648366493665036651366523665336654366553665636657366583665936660366613666236663366643666536666366673666836669366703667136672366733667436675366763667736678366793668036681366823668336684366853668636687366883668936690366913669236693366943669536696366973669836699367003670136702367033670436705367063670736708367093671036711367123671336714367153671636717367183671936720367213672236723367243672536726367273672836729367303673136732367333673436735367363673736738367393674036741367423674336744367453674636747367483674936750367513675236753367543675536756367573675836759367603676136762367633676436765367663676736768367693677036771367723677336774367753677636777367783677936780367813678236783367843678536786367873678836789367903679136792367933679436795367963679736798367993680036801368023680336804368053680636807368083680936810368113681236813368143681536816368173681836819368203682136822368233682436825368263682736828368293683036831368323683336834368353683636837368383683936840368413684236843368443684536846368473684836849368503685136852368533685436855368563685736858368593686036861368623686336864368653686636867368683686936870368713687236873368743687536876368773687836879368803688136882368833688436885368863688736888368893689036891368923689336894368953689636897368983689936900369013690236903369043690536906369073690836909369103691136912369133691436915369163691736918369193692036921369223692336924369253692636927369283692936930369313693236933369343693536936369373693836939369403694136942369433694436945369463694736948369493695036951369523695336954369553695636957369583695936960369613696236963369643696536966369673696836969369703697136972369733697436975369763697736978369793698036981369823698336984369853698636987369883698936990369913699236993369943699536996369973699836999370003700137002370033700437005370063700737008370093701037011370123701337014370153701637017370183701937020370213702237023370243702537026370273702837029370303703137032370333703437035370363703737038370393704037041370423704337044370453704637047370483704937050370513705237053370543705537056370573705837059370603706137062370633706437065370663706737068370693707037071370723707337074370753707637077370783707937080370813708237083370843708537086370873708837089370903709137092370933709437095370963709737098370993710037101371023710337104371053710637107371083710937110371113711237113371143711537116371173711837119371203712137122371233712437125371263712737128371293713037131371323713337134371353713637137371383713937140371413714237143371443714537146371473714837149371503715137152371533715437155371563715737158371593716037161371623716337164371653716637167371683716937170371713717237173371743717537176371773717837179371803718137182371833718437185371863718737188371893719037191371923719337194371953719637197371983719937200372013720237203372043720537206372073720837209372103721137212372133721437215372163721737218372193722037221372223722337224372253722637227372283722937230372313723237233372343723537236372373723837239372403724137242372433724437245372463724737248372493725037251372523725337254372553725637257372583725937260372613726237263372643726537266372673726837269372703727137272372733727437275372763727737278372793728037281372823728337284372853728637287372883728937290372913729237293372943729537296372973729837299373003730137302373033730437305373063730737308373093731037311373123731337314373153731637317373183731937320373213732237323373243732537326373273732837329373303733137332373333733437335373363733737338373393734037341373423734337344373453734637347373483734937350373513735237353373543735537356373573735837359373603736137362373633736437365373663736737368373693737037371373723737337374373753737637377373783737937380373813738237383373843738537386373873738837389373903739137392373933739437395373963739737398373993740037401374023740337404374053740637407374083740937410374113741237413374143741537416374173741837419374203742137422374233742437425374263742737428374293743037431374323743337434374353743637437374383743937440374413744237443374443744537446374473744837449374503745137452374533745437455374563745737458374593746037461374623746337464374653746637467374683746937470374713747237473374743747537476374773747837479374803748137482374833748437485374863748737488374893749037491374923749337494374953749637497374983749937500375013750237503375043750537506375073750837509375103751137512375133751437515375163751737518375193752037521375223752337524375253752637527375283752937530375313753237533375343753537536375373753837539375403754137542375433754437545375463754737548375493755037551375523755337554375553755637557375583755937560375613756237563375643756537566375673756837569375703757137572375733757437575375763757737578375793758037581375823758337584375853758637587375883758937590375913759237593375943759537596375973759837599376003760137602376033760437605376063760737608376093761037611376123761337614376153761637617376183761937620376213762237623376243762537626376273762837629376303763137632376333763437635376363763737638376393764037641376423764337644376453764637647376483764937650376513765237653376543765537656376573765837659376603766137662376633766437665376663766737668376693767037671376723767337674376753767637677376783767937680376813768237683376843768537686376873768837689376903769137692376933769437695376963769737698376993770037701377023770337704377053770637707377083770937710377113771237713377143771537716377173771837719377203772137722377233772437725377263772737728377293773037731377323773337734377353773637737377383773937740377413774237743377443774537746377473774837749377503775137752377533775437755377563775737758377593776037761377623776337764377653776637767377683776937770377713777237773377743777537776377773777837779377803778137782377833778437785377863778737788377893779037791377923779337794377953779637797377983779937800378013780237803378043780537806378073780837809378103781137812378133781437815378163781737818378193782037821378223782337824378253782637827378283782937830378313783237833378343783537836378373783837839378403784137842378433784437845378463784737848378493785037851378523785337854378553785637857378583785937860378613786237863378643786537866378673786837869378703787137872378733787437875378763787737878378793788037881378823788337884378853788637887378883788937890378913789237893378943789537896378973789837899379003790137902379033790437905379063790737908379093791037911379123791337914379153791637917379183791937920379213792237923379243792537926379273792837929379303793137932379333793437935379363793737938379393794037941379423794337944379453794637947379483794937950379513795237953379543795537956379573795837959379603796137962379633796437965379663796737968379693797037971379723797337974379753797637977379783797937980379813798237983379843798537986379873798837989379903799137992379933799437995379963799737998379993800038001380023800338004380053800638007380083800938010380113801238013380143801538016380173801838019380203802138022380233802438025380263802738028380293803038031380323803338034380353803638037380383803938040380413804238043380443804538046380473804838049380503805138052380533805438055380563805738058380593806038061380623806338064380653806638067380683806938070380713807238073380743807538076380773807838079380803808138082380833808438085380863808738088380893809038091380923809338094380953809638097380983809938100381013810238103381043810538106381073810838109381103811138112381133811438115381163811738118381193812038121381223812338124381253812638127381283812938130381313813238133381343813538136381373813838139381403814138142381433814438145381463814738148381493815038151381523815338154381553815638157381583815938160381613816238163381643816538166381673816838169381703817138172381733817438175381763817738178381793818038181381823818338184381853818638187381883818938190381913819238193381943819538196381973819838199382003820138202382033820438205382063820738208382093821038211382123821338214382153821638217382183821938220382213822238223382243822538226382273822838229382303823138232382333823438235382363823738238382393824038241382423824338244382453824638247382483824938250382513825238253382543825538256382573825838259382603826138262382633826438265382663826738268382693827038271382723827338274382753827638277382783827938280382813828238283382843828538286382873828838289382903829138292382933829438295382963829738298382993830038301383023830338304383053830638307383083830938310383113831238313383143831538316383173831838319383203832138322383233832438325383263832738328383293833038331383323833338334383353833638337383383833938340383413834238343383443834538346383473834838349383503835138352383533835438355383563835738358383593836038361383623836338364383653836638367383683836938370383713837238373383743837538376383773837838379383803838138382383833838438385383863838738388383893839038391383923839338394383953839638397383983839938400384013840238403384043840538406384073840838409384103841138412384133841438415384163841738418384193842038421384223842338424384253842638427384283842938430384313843238433384343843538436384373843838439384403844138442384433844438445384463844738448384493845038451384523845338454384553845638457384583845938460384613846238463384643846538466384673846838469384703847138472384733847438475384763847738478384793848038481384823848338484384853848638487384883848938490384913849238493384943849538496384973849838499385003850138502385033850438505385063850738508385093851038511385123851338514385153851638517385183851938520385213852238523385243852538526385273852838529385303853138532385333853438535385363853738538385393854038541385423854338544385453854638547385483854938550385513855238553385543855538556385573855838559385603856138562385633856438565385663856738568385693857038571385723857338574385753857638577385783857938580385813858238583385843858538586385873858838589385903859138592385933859438595385963859738598385993860038601386023860338604386053860638607386083860938610386113861238613386143861538616386173861838619386203862138622386233862438625386263862738628386293863038631386323863338634386353863638637386383863938640386413864238643386443864538646386473864838649386503865138652386533865438655386563865738658386593866038661386623866338664386653866638667386683866938670386713867238673386743867538676386773867838679386803868138682386833868438685386863868738688386893869038691386923869338694386953869638697386983869938700387013870238703387043870538706387073870838709387103871138712387133871438715387163871738718387193872038721387223872338724387253872638727387283872938730387313873238733387343873538736387373873838739387403874138742387433874438745387463874738748387493875038751387523875338754387553875638757387583875938760387613876238763387643876538766387673876838769387703877138772387733877438775387763877738778387793878038781387823878338784387853878638787387883878938790387913879238793387943879538796387973879838799388003880138802388033880438805388063880738808388093881038811388123881338814388153881638817388183881938820388213882238823388243882538826388273882838829388303883138832388333883438835388363883738838388393884038841388423884338844388453884638847388483884938850388513885238853388543885538856388573885838859388603886138862388633886438865388663886738868388693887038871388723887338874388753887638877388783887938880388813888238883388843888538886388873888838889388903889138892388933889438895388963889738898388993890038901389023890338904389053890638907389083890938910389113891238913389143891538916389173891838919389203892138922389233892438925389263892738928389293893038931389323893338934389353893638937389383893938940389413894238943389443894538946389473894838949389503895138952389533895438955389563895738958389593896038961389623896338964389653896638967389683896938970389713897238973389743897538976389773897838979389803898138982389833898438985389863898738988389893899038991389923899338994389953899638997389983899939000390013900239003390043900539006390073900839009390103901139012390133901439015390163901739018390193902039021390223902339024390253902639027390283902939030390313903239033390343903539036390373903839039390403904139042390433904439045390463904739048390493905039051390523905339054390553905639057390583905939060390613906239063390643906539066390673906839069390703907139072390733907439075390763907739078390793908039081390823908339084390853908639087390883908939090390913909239093390943909539096390973909839099391003910139102391033910439105391063910739108391093911039111391123911339114391153911639117391183911939120391213912239123391243912539126391273912839129391303913139132391333913439135391363913739138391393914039141391423914339144391453914639147391483914939150391513915239153391543915539156391573915839159391603916139162391633916439165391663916739168391693917039171391723917339174391753917639177391783917939180391813918239183391843918539186391873918839189391903919139192391933919439195391963919739198391993920039201392023920339204392053920639207392083920939210392113921239213392143921539216392173921839219392203922139222392233922439225392263922739228392293923039231392323923339234392353923639237392383923939240392413924239243392443924539246392473924839249392503925139252392533925439255392563925739258392593926039261392623926339264392653926639267392683926939270392713927239273392743927539276392773927839279392803928139282392833928439285392863928739288392893929039291392923929339294392953929639297392983929939300393013930239303393043930539306393073930839309393103931139312393133931439315393163931739318393193932039321393223932339324393253932639327393283932939330393313933239333393343933539336393373933839339393403934139342393433934439345393463934739348393493935039351393523935339354393553935639357393583935939360393613936239363393643936539366393673936839369393703937139372393733937439375393763937739378393793938039381393823938339384393853938639387393883938939390393913939239393393943939539396393973939839399394003940139402394033940439405394063940739408394093941039411394123941339414394153941639417394183941939420394213942239423394243942539426394273942839429394303943139432394333943439435394363943739438394393944039441394423944339444394453944639447394483944939450394513945239453394543945539456394573945839459394603946139462394633946439465394663946739468394693947039471394723947339474394753947639477394783947939480394813948239483394843948539486394873948839489394903949139492394933949439495394963949739498394993950039501395023950339504395053950639507395083950939510395113951239513395143951539516395173951839519395203952139522395233952439525395263952739528395293953039531395323953339534395353953639537395383953939540395413954239543395443954539546395473954839549395503955139552395533955439555395563955739558395593956039561395623956339564395653956639567395683956939570395713957239573395743957539576395773957839579395803958139582395833958439585395863958739588395893959039591395923959339594395953959639597395983959939600396013960239603396043960539606396073960839609396103961139612396133961439615396163961739618396193962039621396223962339624396253962639627396283962939630396313963239633396343963539636396373963839639396403964139642396433964439645396463964739648396493965039651396523965339654396553965639657396583965939660396613966239663396643966539666396673966839669396703967139672396733967439675396763967739678396793968039681396823968339684396853968639687396883968939690396913969239693396943969539696396973969839699397003970139702397033970439705397063970739708397093971039711397123971339714397153971639717397183971939720397213972239723397243972539726397273972839729397303973139732397333973439735397363973739738397393974039741397423974339744397453974639747397483974939750397513975239753397543975539756397573975839759397603976139762397633976439765397663976739768397693977039771397723977339774397753977639777397783977939780397813978239783397843978539786397873978839789397903979139792397933979439795397963979739798397993980039801398023980339804398053980639807398083980939810398113981239813398143981539816398173981839819398203982139822398233982439825398263982739828398293983039831398323983339834398353983639837398383983939840398413984239843398443984539846398473984839849398503985139852398533985439855398563985739858398593986039861398623986339864398653986639867398683986939870398713987239873398743987539876398773987839879398803988139882398833988439885398863988739888398893989039891398923989339894398953989639897398983989939900399013990239903399043990539906399073990839909399103991139912399133991439915399163991739918399193992039921399223992339924399253992639927399283992939930399313993239933399343993539936399373993839939399403994139942399433994439945399463994739948399493995039951399523995339954399553995639957399583995939960399613996239963399643996539966399673996839969399703997139972399733997439975399763997739978399793998039981399823998339984399853998639987399883998939990399913999239993399943999539996399973999839999400004000140002400034000440005400064000740008400094001040011400124001340014400154001640017400184001940020400214002240023400244002540026400274002840029400304003140032400334003440035400364003740038400394004040041400424004340044400454004640047400484004940050400514005240053400544005540056400574005840059400604006140062400634006440065400664006740068400694007040071400724007340074400754007640077400784007940080400814008240083400844008540086400874008840089400904009140092400934009440095400964009740098400994010040101401024010340104401054010640107401084010940110401114011240113401144011540116401174011840119401204012140122401234012440125401264012740128401294013040131401324013340134401354013640137401384013940140401414014240143401444014540146401474014840149401504015140152401534015440155401564015740158401594016040161401624016340164401654016640167401684016940170401714017240173401744017540176401774017840179401804018140182401834018440185401864018740188401894019040191401924019340194401954019640197401984019940200402014020240203402044020540206402074020840209402104021140212402134021440215402164021740218402194022040221402224022340224402254022640227402284022940230402314023240233402344023540236402374023840239402404024140242402434024440245402464024740248402494025040251402524025340254402554025640257402584025940260402614026240263402644026540266402674026840269402704027140272402734027440275402764027740278402794028040281402824028340284402854028640287402884028940290402914029240293402944029540296402974029840299403004030140302403034030440305403064030740308403094031040311403124031340314403154031640317403184031940320403214032240323403244032540326403274032840329403304033140332403334033440335403364033740338403394034040341403424034340344403454034640347403484034940350403514035240353403544035540356403574035840359403604036140362403634036440365403664036740368403694037040371403724037340374403754037640377403784037940380403814038240383403844038540386403874038840389403904039140392403934039440395403964039740398403994040040401404024040340404404054040640407404084040940410404114041240413404144041540416404174041840419404204042140422404234042440425404264042740428404294043040431404324043340434404354043640437404384043940440404414044240443404444044540446404474044840449404504045140452404534045440455404564045740458404594046040461404624046340464404654046640467404684046940470404714047240473404744047540476404774047840479404804048140482404834048440485404864048740488404894049040491404924049340494404954049640497404984049940500405014050240503405044050540506405074050840509405104051140512405134051440515405164051740518405194052040521405224052340524405254052640527405284052940530405314053240533405344053540536405374053840539405404054140542405434054440545405464054740548405494055040551405524055340554405554055640557405584055940560405614056240563405644056540566405674056840569405704057140572405734057440575405764057740578405794058040581405824058340584405854058640587405884058940590405914059240593405944059540596405974059840599406004060140602406034060440605406064060740608406094061040611406124061340614406154061640617406184061940620406214062240623406244062540626406274062840629406304063140632406334063440635406364063740638406394064040641406424064340644406454064640647406484064940650406514065240653406544065540656406574065840659406604066140662406634066440665406664066740668406694067040671406724067340674406754067640677406784067940680406814068240683406844068540686406874068840689406904069140692406934069440695406964069740698406994070040701407024070340704407054070640707407084070940710407114071240713407144071540716407174071840719407204072140722407234072440725407264072740728407294073040731407324073340734407354073640737407384073940740407414074240743407444074540746407474074840749407504075140752407534075440755407564075740758407594076040761407624076340764407654076640767407684076940770407714077240773407744077540776407774077840779407804078140782407834078440785407864078740788407894079040791407924079340794407954079640797407984079940800408014080240803408044080540806408074080840809408104081140812408134081440815408164081740818408194082040821408224082340824408254082640827408284082940830408314083240833408344083540836408374083840839408404084140842408434084440845408464084740848408494085040851408524085340854408554085640857408584085940860408614086240863408644086540866408674086840869408704087140872408734087440875408764087740878408794088040881408824088340884408854088640887408884088940890408914089240893408944089540896408974089840899409004090140902409034090440905409064090740908409094091040911409124091340914409154091640917409184091940920409214092240923409244092540926409274092840929409304093140932409334093440935409364093740938409394094040941409424094340944409454094640947409484094940950409514095240953409544095540956409574095840959409604096140962409634096440965409664096740968409694097040971409724097340974409754097640977409784097940980409814098240983409844098540986409874098840989409904099140992409934099440995409964099740998409994100041001410024100341004410054100641007410084100941010410114101241013410144101541016410174101841019410204102141022410234102441025410264102741028410294103041031410324103341034410354103641037410384103941040410414104241043410444104541046410474104841049410504105141052410534105441055410564105741058410594106041061410624106341064410654106641067410684106941070410714107241073410744107541076410774107841079410804108141082410834108441085410864108741088410894109041091410924109341094410954109641097410984109941100411014110241103411044110541106411074110841109411104111141112411134111441115411164111741118411194112041121411224112341124411254112641127411284112941130411314113241133411344113541136411374113841139411404114141142411434114441145411464114741148411494115041151411524115341154411554115641157411584115941160411614116241163411644116541166411674116841169411704117141172411734117441175411764117741178411794118041181411824118341184411854118641187411884118941190411914119241193411944119541196411974119841199412004120141202412034120441205412064120741208412094121041211412124121341214412154121641217412184121941220412214122241223412244122541226412274122841229412304123141232412334123441235412364123741238412394124041241412424124341244412454124641247412484124941250412514125241253412544125541256412574125841259412604126141262412634126441265412664126741268412694127041271412724127341274412754127641277412784127941280412814128241283412844128541286412874128841289412904129141292412934129441295412964129741298412994130041301413024130341304413054130641307413084130941310413114131241313413144131541316413174131841319413204132141322413234132441325413264132741328413294133041331413324133341334413354133641337413384133941340413414134241343413444134541346413474134841349413504135141352413534135441355413564135741358413594136041361413624136341364413654136641367413684136941370413714137241373413744137541376413774137841379413804138141382413834138441385413864138741388413894139041391413924139341394413954139641397413984139941400414014140241403414044140541406414074140841409414104141141412414134141441415414164141741418414194142041421414224142341424414254142641427414284142941430414314143241433414344143541436414374143841439414404144141442414434144441445414464144741448414494145041451414524145341454414554145641457414584145941460414614146241463414644146541466414674146841469414704147141472414734147441475414764147741478414794148041481414824148341484414854148641487414884148941490414914149241493414944149541496414974149841499415004150141502415034150441505415064150741508415094151041511415124151341514415154151641517415184151941520415214152241523415244152541526415274152841529415304153141532415334153441535415364153741538415394154041541415424154341544415454154641547415484154941550415514155241553415544155541556415574155841559415604156141562415634156441565415664156741568415694157041571415724157341574415754157641577415784157941580415814158241583415844158541586415874158841589415904159141592415934159441595415964159741598415994160041601416024160341604416054160641607416084160941610416114161241613416144161541616416174161841619416204162141622416234162441625416264162741628416294163041631416324163341634416354163641637416384163941640416414164241643416444164541646416474164841649416504165141652416534165441655416564165741658416594166041661416624166341664416654166641667416684166941670416714167241673416744167541676416774167841679416804168141682416834168441685416864168741688416894169041691416924169341694416954169641697416984169941700417014170241703417044170541706417074170841709417104171141712417134171441715417164171741718417194172041721417224172341724417254172641727417284172941730417314173241733417344173541736417374173841739417404174141742417434174441745417464174741748417494175041751417524175341754417554175641757417584175941760417614176241763417644176541766417674176841769417704177141772417734177441775417764177741778417794178041781417824178341784417854178641787417884178941790417914179241793417944179541796417974179841799418004180141802418034180441805418064180741808418094181041811418124181341814418154181641817418184181941820418214182241823418244182541826418274182841829418304183141832418334183441835418364183741838418394184041841418424184341844418454184641847418484184941850418514185241853418544185541856418574185841859418604186141862418634186441865418664186741868418694187041871418724187341874418754187641877418784187941880418814188241883418844188541886418874188841889418904189141892418934189441895418964189741898418994190041901419024190341904419054190641907419084190941910419114191241913419144191541916419174191841919419204192141922419234192441925419264192741928419294193041931419324193341934419354193641937419384193941940419414194241943419444194541946419474194841949419504195141952419534195441955419564195741958419594196041961419624196341964419654196641967419684196941970419714197241973419744197541976419774197841979419804198141982419834198441985419864198741988419894199041991419924199341994419954199641997419984199942000420014200242003420044200542006420074200842009420104201142012420134201442015420164201742018420194202042021420224202342024420254202642027420284202942030420314203242033420344203542036420374203842039420404204142042420434204442045420464204742048420494205042051420524205342054420554205642057420584205942060420614206242063420644206542066420674206842069420704207142072420734207442075420764207742078420794208042081420824208342084420854208642087420884208942090420914209242093420944209542096420974209842099421004210142102421034210442105421064210742108421094211042111421124211342114421154211642117421184211942120421214212242123421244212542126421274212842129421304213142132421334213442135421364213742138421394214042141421424214342144421454214642147421484214942150421514215242153421544215542156421574215842159421604216142162421634216442165421664216742168421694217042171421724217342174421754217642177421784217942180421814218242183421844218542186421874218842189421904219142192421934219442195421964219742198421994220042201422024220342204422054220642207422084220942210422114221242213422144221542216422174221842219422204222142222422234222442225422264222742228422294223042231422324223342234422354223642237422384223942240422414224242243422444224542246422474224842249422504225142252422534225442255422564225742258422594226042261422624226342264422654226642267422684226942270422714227242273422744227542276422774227842279422804228142282422834228442285422864228742288422894229042291422924229342294422954229642297422984229942300423014230242303423044230542306423074230842309423104231142312423134231442315423164231742318423194232042321423224232342324423254232642327423284232942330423314233242333423344233542336423374233842339423404234142342423434234442345423464234742348423494235042351423524235342354423554235642357423584235942360423614236242363423644236542366423674236842369423704237142372423734237442375423764237742378423794238042381423824238342384423854238642387423884238942390423914239242393423944239542396423974239842399424004240142402424034240442405424064240742408424094241042411424124241342414424154241642417424184241942420424214242242423424244242542426424274242842429424304243142432424334243442435424364243742438424394244042441424424244342444424454244642447424484244942450424514245242453424544245542456424574245842459424604246142462424634246442465424664246742468424694247042471424724247342474424754247642477424784247942480424814248242483424844248542486424874248842489424904249142492424934249442495424964249742498424994250042501425024250342504425054250642507425084250942510425114251242513425144251542516425174251842519425204252142522425234252442525425264252742528425294253042531425324253342534425354253642537425384253942540425414254242543425444254542546425474254842549425504255142552425534255442555425564255742558425594256042561425624256342564425654256642567425684256942570425714257242573425744257542576425774257842579425804258142582425834258442585425864258742588425894259042591425924259342594425954259642597425984259942600426014260242603426044260542606426074260842609426104261142612426134261442615426164261742618426194262042621426224262342624426254262642627426284262942630426314263242633426344263542636426374263842639426404264142642426434264442645426464264742648426494265042651426524265342654426554265642657426584265942660426614266242663426644266542666426674266842669426704267142672426734267442675426764267742678426794268042681426824268342684426854268642687426884268942690426914269242693426944269542696426974269842699427004270142702427034270442705427064270742708427094271042711427124271342714427154271642717427184271942720427214272242723427244272542726427274272842729427304273142732427334273442735427364273742738427394274042741427424274342744427454274642747427484274942750427514275242753427544275542756427574275842759427604276142762427634276442765427664276742768427694277042771427724277342774427754277642777427784277942780427814278242783427844278542786427874278842789427904279142792427934279442795427964279742798427994280042801428024280342804428054280642807428084280942810428114281242813428144281542816428174281842819428204282142822428234282442825428264282742828428294283042831428324283342834428354283642837428384283942840428414284242843428444284542846428474284842849428504285142852428534285442855428564285742858428594286042861428624286342864428654286642867428684286942870428714287242873428744287542876428774287842879428804288142882428834288442885428864288742888428894289042891428924289342894428954289642897428984289942900429014290242903429044290542906429074290842909429104291142912429134291442915429164291742918429194292042921429224292342924429254292642927429284292942930429314293242933429344293542936429374293842939429404294142942429434294442945429464294742948429494295042951429524295342954429554295642957429584295942960429614296242963429644296542966429674296842969429704297142972429734297442975429764297742978429794298042981429824298342984429854298642987429884298942990429914299242993429944299542996429974299842999430004300143002430034300443005430064300743008430094301043011430124301343014430154301643017430184301943020430214302243023430244302543026430274302843029430304303143032430334303443035430364303743038430394304043041430424304343044430454304643047430484304943050430514305243053430544305543056430574305843059430604306143062430634306443065430664306743068430694307043071430724307343074430754307643077430784307943080430814308243083430844308543086430874308843089430904309143092430934309443095430964309743098430994310043101431024310343104431054310643107431084310943110431114311243113431144311543116431174311843119431204312143122431234312443125431264312743128431294313043131431324313343134431354313643137431384313943140431414314243143431444314543146431474314843149431504315143152431534315443155431564315743158431594316043161431624316343164431654316643167431684316943170431714317243173431744317543176431774317843179431804318143182431834318443185431864318743188431894319043191431924319343194431954319643197431984319943200432014320243203432044320543206432074320843209432104321143212432134321443215432164321743218432194322043221432224322343224432254322643227432284322943230432314323243233432344323543236432374323843239432404324143242432434324443245432464324743248432494325043251432524325343254432554325643257432584325943260432614326243263432644326543266432674326843269432704327143272432734327443275432764327743278432794328043281432824328343284432854328643287432884328943290432914329243293432944329543296432974329843299433004330143302433034330443305433064330743308433094331043311433124331343314433154331643317433184331943320433214332243323433244332543326433274332843329433304333143332433334333443335433364333743338433394334043341433424334343344433454334643347433484334943350433514335243353433544335543356433574335843359433604336143362433634336443365433664336743368433694337043371433724337343374433754337643377433784337943380433814338243383433844338543386433874338843389433904339143392433934339443395433964339743398433994340043401434024340343404434054340643407434084340943410434114341243413434144341543416434174341843419434204342143422434234342443425434264342743428434294343043431434324343343434434354343643437434384343943440434414344243443434444344543446434474344843449434504345143452434534345443455434564345743458434594346043461434624346343464434654346643467434684346943470434714347243473434744347543476434774347843479434804348143482434834348443485434864348743488434894349043491434924349343494434954349643497434984349943500435014350243503435044350543506435074350843509435104351143512435134351443515435164351743518435194352043521435224352343524435254352643527435284352943530435314353243533435344353543536435374353843539435404354143542435434354443545435464354743548435494355043551435524355343554435554355643557435584355943560435614356243563435644356543566435674356843569435704357143572435734357443575435764357743578435794358043581435824358343584435854358643587435884358943590435914359243593435944359543596435974359843599436004360143602436034360443605436064360743608436094361043611436124361343614436154361643617436184361943620436214362243623436244362543626436274362843629436304363143632436334363443635436364363743638436394364043641436424364343644436454364643647436484364943650436514365243653436544365543656436574365843659436604366143662436634366443665436664366743668436694367043671436724367343674436754367643677436784367943680436814368243683436844368543686436874368843689436904369143692436934369443695436964369743698436994370043701437024370343704437054370643707437084370943710437114371243713437144371543716437174371843719437204372143722437234372443725437264372743728437294373043731437324373343734437354373643737437384373943740437414374243743437444374543746437474374843749437504375143752437534375443755437564375743758437594376043761437624376343764437654376643767437684376943770437714377243773437744377543776437774377843779437804378143782437834378443785437864378743788437894379043791437924379343794437954379643797437984379943800438014380243803438044380543806438074380843809438104381143812438134381443815438164381743818438194382043821438224382343824438254382643827438284382943830438314383243833438344383543836438374383843839438404384143842438434384443845438464384743848438494385043851438524385343854438554385643857438584385943860438614386243863438644386543866438674386843869438704387143872438734387443875438764387743878438794388043881438824388343884438854388643887438884388943890438914389243893438944389543896438974389843899439004390143902439034390443905439064390743908439094391043911439124391343914439154391643917439184391943920439214392243923439244392543926439274392843929439304393143932439334393443935439364393743938439394394043941439424394343944439454394643947439484394943950439514395243953439544395543956439574395843959439604396143962439634396443965439664396743968439694397043971439724397343974439754397643977439784397943980439814398243983439844398543986439874398843989439904399143992439934399443995439964399743998439994400044001440024400344004440054400644007440084400944010440114401244013440144401544016440174401844019440204402144022440234402444025440264402744028440294403044031440324403344034440354403644037440384403944040440414404244043440444404544046440474404844049440504405144052440534405444055440564405744058440594406044061440624406344064440654406644067440684406944070440714407244073440744407544076440774407844079440804408144082440834408444085440864408744088440894409044091440924409344094440954409644097440984409944100441014410244103441044410544106441074410844109441104411144112441134411444115441164411744118441194412044121441224412344124441254412644127441284412944130441314413244133441344413544136441374413844139441404414144142441434414444145441464414744148441494415044151441524415344154441554415644157441584415944160441614416244163441644416544166441674416844169441704417144172441734417444175441764417744178441794418044181441824418344184441854418644187441884418944190441914419244193441944419544196441974419844199442004420144202442034420444205442064420744208442094421044211442124421344214442154421644217442184421944220442214422244223442244422544226442274422844229442304423144232442334423444235442364423744238442394424044241442424424344244442454424644247442484424944250442514425244253442544425544256442574425844259442604426144262442634426444265442664426744268442694427044271442724427344274442754427644277442784427944280442814428244283442844428544286442874428844289442904429144292442934429444295442964429744298442994430044301443024430344304443054430644307443084430944310443114431244313443144431544316443174431844319443204432144322443234432444325443264432744328443294433044331443324433344334443354433644337443384433944340443414434244343443444434544346443474434844349443504435144352443534435444355443564435744358443594436044361443624436344364443654436644367443684436944370443714437244373443744437544376443774437844379443804438144382443834438444385443864438744388443894439044391443924439344394443954439644397443984439944400444014440244403444044440544406444074440844409444104441144412444134441444415444164441744418444194442044421444224442344424444254442644427444284442944430444314443244433444344443544436444374443844439444404444144442444434444444445444464444744448444494445044451444524445344454444554445644457444584445944460444614446244463444644446544466444674446844469444704447144472444734447444475444764447744478444794448044481444824448344484444854448644487444884448944490444914449244493444944449544496444974449844499445004450144502445034450444505445064450744508445094451044511445124451344514445154451644517445184451944520445214452244523445244452544526445274452844529445304453144532445334453444535445364453744538445394454044541445424454344544445454454644547445484454944550445514455244553445544455544556445574455844559445604456144562445634456444565445664456744568445694457044571445724457344574445754457644577445784457944580445814458244583445844458544586445874458844589445904459144592445934459444595445964459744598445994460044601446024460344604446054460644607446084460944610446114461244613446144461544616446174461844619446204462144622446234462444625446264462744628446294463044631446324463344634446354463644637446384463944640446414464244643446444464544646446474464844649446504465144652446534465444655446564465744658446594466044661446624466344664446654466644667446684466944670446714467244673446744467544676446774467844679446804468144682446834468444685446864468744688446894469044691446924469344694446954469644697446984469944700447014470244703447044470544706447074470844709447104471144712447134471444715447164471744718447194472044721447224472344724447254472644727447284472944730447314473244733447344473544736447374473844739447404474144742447434474444745447464474744748447494475044751447524475344754447554475644757447584475944760447614476244763447644476544766447674476844769447704477144772447734477444775447764477744778447794478044781447824478344784447854478644787447884478944790447914479244793447944479544796447974479844799448004480144802448034480444805448064480744808448094481044811448124481344814448154481644817448184481944820448214482244823448244482544826448274482844829448304483144832448334483444835448364483744838448394484044841448424484344844448454484644847448484484944850448514485244853448544485544856448574485844859448604486144862448634486444865448664486744868448694487044871448724487344874448754487644877448784487944880448814488244883448844488544886448874488844889448904489144892448934489444895448964489744898448994490044901449024490344904449054490644907449084490944910449114491244913449144491544916449174491844919449204492144922449234492444925449264492744928449294493044931449324493344934449354493644937449384493944940449414494244943449444494544946449474494844949449504495144952449534495444955449564495744958449594496044961449624496344964449654496644967449684496944970449714497244973449744497544976449774497844979449804498144982449834498444985449864498744988449894499044991449924499344994449954499644997449984499945000450014500245003450044500545006450074500845009450104501145012450134501445015450164501745018450194502045021450224502345024450254502645027450284502945030450314503245033450344503545036450374503845039450404504145042450434504445045450464504745048450494505045051450524505345054450554505645057450584505945060450614506245063450644506545066450674506845069450704507145072450734507445075450764507745078450794508045081450824508345084450854508645087450884508945090450914509245093450944509545096450974509845099451004510145102451034510445105451064510745108451094511045111451124511345114451154511645117451184511945120451214512245123451244512545126451274512845129451304513145132451334513445135451364513745138451394514045141451424514345144451454514645147451484514945150451514515245153451544515545156451574515845159451604516145162451634516445165451664516745168451694517045171451724517345174451754517645177451784517945180451814518245183451844518545186451874518845189451904519145192451934519445195451964519745198451994520045201452024520345204452054520645207452084520945210452114521245213452144521545216452174521845219452204522145222452234522445225452264522745228452294523045231452324523345234452354523645237452384523945240452414524245243452444524545246452474524845249452504525145252452534525445255452564525745258452594526045261452624526345264452654526645267452684526945270452714527245273452744527545276452774527845279452804528145282452834528445285452864528745288452894529045291452924529345294452954529645297452984529945300453014530245303453044530545306453074530845309453104531145312453134531445315453164531745318453194532045321453224532345324453254532645327453284532945330453314533245333453344533545336453374533845339453404534145342453434534445345453464534745348453494535045351453524535345354453554535645357453584535945360453614536245363453644536545366453674536845369453704537145372453734537445375453764537745378453794538045381453824538345384453854538645387453884538945390453914539245393453944539545396453974539845399454004540145402454034540445405454064540745408454094541045411454124541345414454154541645417454184541945420454214542245423454244542545426454274542845429454304543145432454334543445435454364543745438454394544045441454424544345444454454544645447454484544945450454514545245453454544545545456454574545845459454604546145462454634546445465454664546745468454694547045471454724547345474454754547645477454784547945480454814548245483454844548545486454874548845489454904549145492454934549445495454964549745498454994550045501455024550345504455054550645507455084550945510455114551245513455144551545516455174551845519455204552145522455234552445525455264552745528455294553045531455324553345534455354553645537455384553945540455414554245543455444554545546455474554845549455504555145552455534555445555455564555745558455594556045561455624556345564455654556645567455684556945570455714557245573455744557545576455774557845579455804558145582455834558445585455864558745588455894559045591455924559345594455954559645597455984559945600456014560245603456044560545606456074560845609456104561145612456134561445615456164561745618456194562045621456224562345624456254562645627456284562945630456314563245633456344563545636456374563845639456404564145642456434564445645456464564745648456494565045651456524565345654456554565645657456584565945660456614566245663456644566545666456674566845669456704567145672456734567445675456764567745678456794568045681456824568345684456854568645687456884568945690456914569245693456944569545696456974569845699457004570145702457034570445705457064570745708457094571045711457124571345714457154571645717457184571945720457214572245723457244572545726457274572845729457304573145732457334573445735457364573745738457394574045741457424574345744457454574645747457484574945750457514575245753457544575545756457574575845759457604576145762457634576445765457664576745768457694577045771457724577345774457754577645777457784577945780457814578245783457844578545786457874578845789457904579145792457934579445795457964579745798457994580045801458024580345804458054580645807458084580945810458114581245813458144581545816458174581845819458204582145822458234582445825458264582745828458294583045831458324583345834458354583645837458384583945840458414584245843458444584545846458474584845849458504585145852458534585445855458564585745858458594586045861458624586345864458654586645867458684586945870458714587245873458744587545876458774587845879458804588145882458834588445885458864588745888458894589045891458924589345894458954589645897458984589945900459014590245903459044590545906459074590845909459104591145912459134591445915459164591745918459194592045921459224592345924459254592645927459284592945930459314593245933459344593545936459374593845939459404594145942459434594445945459464594745948459494595045951459524595345954459554595645957459584595945960459614596245963459644596545966459674596845969459704597145972459734597445975459764597745978459794598045981459824598345984459854598645987459884598945990459914599245993459944599545996459974599845999460004600146002460034600446005460064600746008460094601046011460124601346014460154601646017460184601946020460214602246023460244602546026460274602846029460304603146032460334603446035460364603746038460394604046041460424604346044460454604646047460484604946050460514605246053460544605546056460574605846059460604606146062460634606446065460664606746068460694607046071460724607346074460754607646077460784607946080460814608246083460844608546086460874608846089460904609146092460934609446095460964609746098460994610046101461024610346104461054610646107461084610946110461114611246113461144611546116461174611846119461204612146122461234612446125461264612746128461294613046131461324613346134461354613646137461384613946140461414614246143461444614546146461474614846149461504615146152461534615446155461564615746158461594616046161461624616346164461654616646167461684616946170461714617246173461744617546176461774617846179461804618146182461834618446185461864618746188461894619046191461924619346194461954619646197461984619946200462014620246203462044620546206462074620846209462104621146212462134621446215462164621746218462194622046221462224622346224462254622646227462284622946230462314623246233462344623546236462374623846239462404624146242462434624446245462464624746248462494625046251462524625346254462554625646257462584625946260462614626246263462644626546266462674626846269462704627146272462734627446275462764627746278462794628046281462824628346284462854628646287462884628946290462914629246293462944629546296462974629846299463004630146302463034630446305463064630746308463094631046311463124631346314463154631646317463184631946320463214632246323463244632546326463274632846329463304633146332463334633446335463364633746338463394634046341463424634346344463454634646347463484634946350463514635246353463544635546356463574635846359463604636146362463634636446365463664636746368463694637046371463724637346374463754637646377463784637946380463814638246383463844638546386463874638846389463904639146392463934639446395463964639746398463994640046401464024640346404464054640646407464084640946410464114641246413464144641546416464174641846419464204642146422464234642446425464264642746428464294643046431464324643346434464354643646437464384643946440464414644246443464444644546446464474644846449464504645146452464534645446455464564645746458464594646046461464624646346464464654646646467464684646946470464714647246473464744647546476464774647846479464804648146482464834648446485464864648746488464894649046491464924649346494464954649646497464984649946500465014650246503465044650546506465074650846509465104651146512465134651446515465164651746518465194652046521465224652346524465254652646527465284652946530465314653246533465344653546536465374653846539465404654146542465434654446545465464654746548465494655046551465524655346554465554655646557465584655946560465614656246563465644656546566465674656846569465704657146572465734657446575465764657746578465794658046581465824658346584465854658646587465884658946590465914659246593465944659546596465974659846599466004660146602466034660446605466064660746608466094661046611466124661346614466154661646617466184661946620466214662246623466244662546626466274662846629466304663146632466334663446635466364663746638466394664046641466424664346644466454664646647466484664946650466514665246653466544665546656466574665846659466604666146662466634666446665466664666746668466694667046671466724667346674466754667646677466784667946680466814668246683466844668546686466874668846689466904669146692466934669446695466964669746698466994670046701467024670346704467054670646707467084670946710467114671246713467144671546716467174671846719467204672146722467234672446725467264672746728467294673046731467324673346734467354673646737467384673946740467414674246743467444674546746467474674846749467504675146752467534675446755467564675746758467594676046761467624676346764467654676646767467684676946770467714677246773467744677546776467774677846779467804678146782467834678446785467864678746788467894679046791467924679346794467954679646797467984679946800468014680246803468044680546806468074680846809468104681146812468134681446815468164681746818468194682046821468224682346824468254682646827468284682946830468314683246833468344683546836468374683846839468404684146842468434684446845468464684746848468494685046851468524685346854468554685646857468584685946860468614686246863468644686546866468674686846869468704687146872468734687446875468764687746878468794688046881468824688346884468854688646887468884688946890468914689246893468944689546896468974689846899469004690146902469034690446905469064690746908469094691046911469124691346914469154691646917469184691946920469214692246923469244692546926469274692846929469304693146932469334693446935469364693746938469394694046941469424694346944469454694646947469484694946950469514695246953469544695546956469574695846959469604696146962469634696446965469664696746968469694697046971469724697346974469754697646977469784697946980469814698246983469844698546986469874698846989469904699146992469934699446995469964699746998469994700047001470024700347004470054700647007470084700947010470114701247013470144701547016470174701847019470204702147022470234702447025470264702747028470294703047031470324703347034470354703647037470384703947040470414704247043470444704547046470474704847049470504705147052470534705447055470564705747058470594706047061470624706347064470654706647067470684706947070470714707247073470744707547076470774707847079470804708147082470834708447085470864708747088470894709047091470924709347094470954709647097470984709947100471014710247103471044710547106471074710847109471104711147112471134711447115471164711747118471194712047121471224712347124471254712647127471284712947130471314713247133471344713547136471374713847139471404714147142471434714447145471464714747148471494715047151471524715347154471554715647157471584715947160471614716247163471644716547166471674716847169471704717147172471734717447175471764717747178471794718047181471824718347184471854718647187471884718947190471914719247193471944719547196471974719847199472004720147202472034720447205472064720747208472094721047211472124721347214472154721647217472184721947220472214722247223472244722547226472274722847229472304723147232472334723447235472364723747238472394724047241472424724347244472454724647247472484724947250472514725247253472544725547256472574725847259472604726147262472634726447265472664726747268472694727047271472724727347274472754727647277472784727947280472814728247283472844728547286472874728847289472904729147292472934729447295472964729747298472994730047301473024730347304473054730647307473084730947310473114731247313473144731547316473174731847319473204732147322473234732447325473264732747328473294733047331473324733347334473354733647337473384733947340473414734247343473444734547346473474734847349473504735147352473534735447355473564735747358473594736047361473624736347364473654736647367473684736947370473714737247373473744737547376473774737847379473804738147382473834738447385473864738747388473894739047391473924739347394473954739647397473984739947400474014740247403474044740547406474074740847409474104741147412474134741447415474164741747418474194742047421474224742347424474254742647427474284742947430474314743247433474344743547436474374743847439474404744147442474434744447445474464744747448474494745047451474524745347454474554745647457474584745947460474614746247463474644746547466474674746847469474704747147472474734747447475474764747747478474794748047481474824748347484474854748647487474884748947490474914749247493474944749547496474974749847499475004750147502475034750447505475064750747508475094751047511475124751347514475154751647517475184751947520475214752247523475244752547526475274752847529475304753147532475334753447535475364753747538475394754047541475424754347544475454754647547475484754947550475514755247553475544755547556475574755847559475604756147562475634756447565475664756747568475694757047571475724757347574475754757647577475784757947580475814758247583475844758547586475874758847589475904759147592475934759447595475964759747598475994760047601476024760347604476054760647607476084760947610476114761247613476144761547616476174761847619476204762147622476234762447625476264762747628476294763047631476324763347634476354763647637476384763947640476414764247643476444764547646476474764847649476504765147652476534765447655476564765747658476594766047661476624766347664476654766647667476684766947670476714767247673476744767547676476774767847679476804768147682476834768447685476864768747688476894769047691476924769347694476954769647697476984769947700477014770247703477044770547706477074770847709477104771147712477134771447715477164771747718477194772047721477224772347724477254772647727477284772947730477314773247733477344773547736477374773847739477404774147742477434774447745477464774747748477494775047751477524775347754477554775647757477584775947760477614776247763477644776547766477674776847769477704777147772477734777447775477764777747778477794778047781477824778347784477854778647787477884778947790477914779247793477944779547796477974779847799478004780147802478034780447805478064780747808478094781047811478124781347814478154781647817478184781947820478214782247823478244782547826478274782847829478304783147832478334783447835478364783747838478394784047841478424784347844478454784647847478484784947850478514785247853478544785547856478574785847859478604786147862478634786447865478664786747868478694787047871478724787347874478754787647877478784787947880478814788247883478844788547886478874788847889478904789147892478934789447895478964789747898478994790047901479024790347904479054790647907479084790947910479114791247913479144791547916479174791847919479204792147922479234792447925479264792747928479294793047931479324793347934479354793647937479384793947940479414794247943479444794547946479474794847949479504795147952479534795447955479564795747958479594796047961479624796347964479654796647967479684796947970479714797247973479744797547976479774797847979479804798147982479834798447985479864798747988479894799047991479924799347994479954799647997479984799948000480014800248003480044800548006480074800848009480104801148012480134801448015480164801748018480194802048021480224802348024480254802648027480284802948030480314803248033480344803548036480374803848039480404804148042480434804448045480464804748048480494805048051480524805348054480554805648057480584805948060480614806248063480644806548066480674806848069480704807148072480734807448075480764807748078480794808048081480824808348084480854808648087480884808948090480914809248093480944809548096480974809848099481004810148102481034810448105481064810748108481094811048111481124811348114481154811648117481184811948120481214812248123481244812548126481274812848129481304813148132481334813448135481364813748138481394814048141481424814348144481454814648147481484814948150481514815248153481544815548156481574815848159481604816148162481634816448165481664816748168481694817048171481724817348174481754817648177481784817948180481814818248183481844818548186481874818848189481904819148192481934819448195481964819748198481994820048201482024820348204482054820648207482084820948210482114821248213482144821548216482174821848219482204822148222482234822448225482264822748228482294823048231482324823348234482354823648237482384823948240482414824248243482444824548246482474824848249482504825148252482534825448255482564825748258482594826048261482624826348264482654826648267482684826948270482714827248273482744827548276482774827848279482804828148282482834828448285482864828748288482894829048291482924829348294482954829648297482984829948300483014830248303483044830548306483074830848309483104831148312483134831448315483164831748318483194832048321483224832348324483254832648327483284832948330483314833248333483344833548336483374833848339483404834148342483434834448345483464834748348483494835048351483524835348354483554835648357483584835948360483614836248363483644836548366483674836848369483704837148372483734837448375483764837748378483794838048381483824838348384483854838648387483884838948390483914839248393483944839548396483974839848399484004840148402484034840448405484064840748408484094841048411484124841348414484154841648417484184841948420484214842248423484244842548426484274842848429484304843148432484334843448435484364843748438484394844048441484424844348444484454844648447484484844948450484514845248453484544845548456484574845848459484604846148462484634846448465484664846748468484694847048471484724847348474484754847648477484784847948480484814848248483484844848548486484874848848489484904849148492484934849448495484964849748498484994850048501485024850348504485054850648507485084850948510485114851248513485144851548516485174851848519485204852148522485234852448525485264852748528485294853048531485324853348534485354853648537485384853948540485414854248543485444854548546485474854848549485504855148552485534855448555485564855748558485594856048561485624856348564485654856648567485684856948570485714857248573485744857548576485774857848579485804858148582485834858448585485864858748588485894859048591485924859348594485954859648597485984859948600486014860248603486044860548606486074860848609486104861148612486134861448615486164861748618486194862048621486224862348624486254862648627486284862948630486314863248633486344863548636486374863848639486404864148642486434864448645486464864748648486494865048651486524865348654486554865648657486584865948660486614866248663486644866548666486674866848669486704867148672486734867448675486764867748678486794868048681486824868348684486854868648687486884868948690486914869248693486944869548696486974869848699487004870148702487034870448705487064870748708487094871048711487124871348714487154871648717487184871948720487214872248723487244872548726487274872848729487304873148732487334873448735487364873748738487394874048741487424874348744487454874648747487484874948750487514875248753487544875548756487574875848759487604876148762487634876448765487664876748768487694877048771487724877348774487754877648777487784877948780487814878248783487844878548786487874878848789487904879148792487934879448795487964879748798487994880048801488024880348804488054880648807488084880948810488114881248813488144881548816488174881848819488204882148822488234882448825488264882748828488294883048831488324883348834488354883648837488384883948840488414884248843488444884548846488474884848849488504885148852488534885448855488564885748858488594886048861488624886348864488654886648867488684886948870488714887248873488744887548876488774887848879488804888148882488834888448885488864888748888488894889048891488924889348894488954889648897488984889948900489014890248903489044890548906489074890848909489104891148912489134891448915489164891748918489194892048921489224892348924489254892648927489284892948930489314893248933489344893548936489374893848939489404894148942489434894448945489464894748948489494895048951489524895348954489554895648957489584895948960489614896248963489644896548966489674896848969489704897148972489734897448975489764897748978489794898048981489824898348984489854898648987489884898948990489914899248993489944899548996489974899848999490004900149002490034900449005490064900749008490094901049011490124901349014490154901649017490184901949020490214902249023490244902549026490274902849029490304903149032490334903449035490364903749038490394904049041490424904349044490454904649047490484904949050490514905249053490544905549056490574905849059490604906149062490634906449065490664906749068490694907049071490724907349074490754907649077490784907949080490814908249083490844908549086490874908849089490904909149092490934909449095490964909749098490994910049101491024910349104491054910649107491084910949110491114911249113491144911549116491174911849119491204912149122491234912449125491264912749128491294913049131491324913349134491354913649137491384913949140491414914249143491444914549146491474914849149491504915149152491534915449155491564915749158491594916049161491624916349164491654916649167491684916949170491714917249173491744917549176491774917849179491804918149182491834918449185491864918749188491894919049191491924919349194491954919649197491984919949200492014920249203492044920549206492074920849209492104921149212492134921449215492164921749218492194922049221492224922349224492254922649227492284922949230492314923249233492344923549236492374923849239492404924149242492434924449245492464924749248492494925049251492524925349254492554925649257492584925949260492614926249263492644926549266492674926849269492704927149272492734927449275492764927749278492794928049281492824928349284492854928649287492884928949290492914929249293492944929549296492974929849299493004930149302493034930449305493064930749308493094931049311493124931349314493154931649317493184931949320493214932249323493244932549326493274932849329493304933149332493334933449335493364933749338493394934049341493424934349344493454934649347493484934949350493514935249353493544935549356493574935849359493604936149362493634936449365493664936749368493694937049371493724937349374493754937649377493784937949380493814938249383493844938549386493874938849389493904939149392493934939449395493964939749398493994940049401494024940349404494054940649407494084940949410494114941249413494144941549416494174941849419494204942149422494234942449425494264942749428494294943049431494324943349434494354943649437494384943949440494414944249443494444944549446494474944849449494504945149452494534945449455494564945749458494594946049461494624946349464494654946649467494684946949470494714947249473494744947549476494774947849479494804948149482494834948449485494864948749488494894949049491494924949349494494954949649497494984949949500495014950249503495044950549506495074950849509495104951149512495134951449515495164951749518495194952049521495224952349524495254952649527495284952949530495314953249533495344953549536495374953849539495404954149542495434954449545495464954749548495494955049551495524955349554495554955649557495584955949560495614956249563495644956549566495674956849569495704957149572495734957449575495764957749578495794958049581495824958349584495854958649587495884958949590495914959249593495944959549596495974959849599496004960149602496034960449605496064960749608496094961049611496124961349614496154961649617496184961949620496214962249623496244962549626496274962849629496304963149632496334963449635496364963749638496394964049641496424964349644496454964649647496484964949650496514965249653496544965549656496574965849659496604966149662496634966449665496664966749668496694967049671496724967349674496754967649677496784967949680496814968249683496844968549686496874968849689496904969149692496934969449695496964969749698496994970049701497024970349704497054970649707497084970949710497114971249713497144971549716497174971849719497204972149722497234972449725497264972749728497294973049731497324973349734497354973649737497384973949740497414974249743497444974549746497474974849749497504975149752497534975449755497564975749758497594976049761497624976349764497654976649767497684976949770497714977249773497744977549776497774977849779497804978149782497834978449785497864978749788497894979049791497924979349794497954979649797497984979949800498014980249803498044980549806498074980849809498104981149812498134981449815498164981749818498194982049821498224982349824498254982649827498284982949830498314983249833498344983549836498374983849839498404984149842498434984449845498464984749848498494985049851498524985349854498554985649857498584985949860498614986249863498644986549866498674986849869498704987149872498734987449875498764987749878498794988049881498824988349884498854988649887498884988949890498914989249893498944989549896498974989849899499004990149902499034990449905499064990749908499094991049911499124991349914499154991649917499184991949920499214992249923499244992549926499274992849929499304993149932499334993449935499364993749938499394994049941499424994349944499454994649947499484994949950499514995249953499544995549956499574995849959499604996149962499634996449965499664996749968499694997049971499724997349974499754997649977499784997949980499814998249983499844998549986499874998849989499904999149992499934999449995499964999749998499995000050001500025000350004500055000650007500085000950010500115001250013500145001550016500175001850019500205002150022500235002450025500265002750028500295003050031500325003350034500355003650037500385003950040500415004250043500445004550046500475004850049500505005150052500535005450055500565005750058500595006050061500625006350064500655006650067500685006950070500715007250073500745007550076500775007850079500805008150082500835008450085500865008750088500895009050091500925009350094500955009650097500985009950100501015010250103501045010550106501075010850109501105011150112501135011450115501165011750118501195012050121501225012350124501255012650127501285012950130501315013250133501345013550136501375013850139501405014150142501435014450145501465014750148501495015050151501525015350154501555015650157501585015950160501615016250163501645016550166501675016850169501705017150172501735017450175501765017750178501795018050181501825018350184501855018650187501885018950190501915019250193501945019550196501975019850199502005020150202502035020450205502065020750208502095021050211502125021350214502155021650217502185021950220502215022250223502245022550226502275022850229502305023150232502335023450235502365023750238502395024050241502425024350244502455024650247502485024950250502515025250253502545025550256502575025850259502605026150262502635026450265502665026750268502695027050271502725027350274502755027650277502785027950280502815028250283502845028550286502875028850289502905029150292502935029450295502965029750298502995030050301503025030350304503055030650307503085030950310503115031250313503145031550316503175031850319503205032150322503235032450325503265032750328503295033050331503325033350334503355033650337503385033950340503415034250343503445034550346503475034850349503505035150352503535035450355503565035750358503595036050361503625036350364503655036650367503685036950370503715037250373503745037550376503775037850379503805038150382503835038450385503865038750388503895039050391503925039350394503955039650397503985039950400504015040250403504045040550406504075040850409504105041150412504135041450415504165041750418504195042050421504225042350424504255042650427504285042950430504315043250433504345043550436504375043850439504405044150442504435044450445504465044750448504495045050451504525045350454504555045650457504585045950460504615046250463504645046550466504675046850469504705047150472504735047450475504765047750478504795048050481504825048350484504855048650487504885048950490504915049250493504945049550496504975049850499505005050150502505035050450505505065050750508505095051050511505125051350514505155051650517505185051950520505215052250523505245052550526505275052850529505305053150532505335053450535505365053750538505395054050541505425054350544505455054650547505485054950550505515055250553505545055550556505575055850559505605056150562505635056450565505665056750568505695057050571505725057350574505755057650577505785057950580505815058250583505845058550586505875058850589505905059150592505935059450595505965059750598505995060050601506025060350604506055060650607506085060950610506115061250613506145061550616506175061850619506205062150622506235062450625506265062750628506295063050631506325063350634506355063650637506385063950640506415064250643506445064550646506475064850649506505065150652506535065450655506565065750658506595066050661506625066350664506655066650667506685066950670506715067250673506745067550676506775067850679506805068150682506835068450685506865068750688506895069050691506925069350694506955069650697506985069950700507015070250703507045070550706507075070850709507105071150712507135071450715507165071750718507195072050721507225072350724507255072650727507285072950730507315073250733507345073550736507375073850739507405074150742507435074450745507465074750748507495075050751507525075350754507555075650757507585075950760507615076250763507645076550766507675076850769507705077150772507735077450775507765077750778507795078050781507825078350784507855078650787507885078950790507915079250793507945079550796507975079850799508005080150802508035080450805508065080750808508095081050811508125081350814508155081650817508185081950820508215082250823508245082550826508275082850829508305083150832508335083450835508365083750838508395084050841508425084350844508455084650847508485084950850508515085250853508545085550856508575085850859508605086150862508635086450865508665086750868508695087050871508725087350874508755087650877508785087950880508815088250883508845088550886508875088850889508905089150892508935089450895508965089750898508995090050901509025090350904509055090650907509085090950910509115091250913509145091550916509175091850919509205092150922509235092450925509265092750928509295093050931509325093350934509355093650937509385093950940509415094250943509445094550946509475094850949509505095150952509535095450955509565095750958509595096050961509625096350964509655096650967509685096950970509715097250973509745097550976509775097850979509805098150982509835098450985509865098750988509895099050991509925099350994509955099650997509985099951000510015100251003510045100551006510075100851009510105101151012510135101451015510165101751018510195102051021510225102351024510255102651027510285102951030510315103251033510345103551036510375103851039510405104151042510435104451045510465104751048510495105051051510525105351054510555105651057510585105951060510615106251063510645106551066510675106851069510705107151072510735107451075510765107751078510795108051081510825108351084510855108651087510885108951090510915109251093510945109551096510975109851099511005110151102511035110451105511065110751108511095111051111511125111351114511155111651117511185111951120511215112251123511245112551126511275112851129511305113151132511335113451135511365113751138511395114051141511425114351144511455114651147511485114951150511515115251153511545115551156511575115851159511605116151162511635116451165511665116751168511695117051171511725117351174511755117651177511785117951180511815118251183511845118551186511875118851189511905119151192511935119451195511965119751198511995120051201512025120351204512055120651207512085120951210512115121251213512145121551216512175121851219512205122151222512235122451225512265122751228512295123051231512325123351234512355123651237512385123951240512415124251243512445124551246512475124851249512505125151252512535125451255512565125751258512595126051261512625126351264512655126651267512685126951270512715127251273512745127551276512775127851279512805128151282512835128451285512865128751288512895129051291512925129351294512955129651297512985129951300513015130251303513045130551306513075130851309513105131151312513135131451315513165131751318513195132051321513225132351324513255132651327513285132951330513315133251333513345133551336513375133851339513405134151342513435134451345513465134751348513495135051351513525135351354513555135651357513585135951360513615136251363513645136551366513675136851369513705137151372513735137451375513765137751378513795138051381513825138351384513855138651387513885138951390513915139251393513945139551396513975139851399514005140151402514035140451405514065140751408514095141051411514125141351414514155141651417514185141951420514215142251423514245142551426514275142851429514305143151432514335143451435514365143751438514395144051441514425144351444514455144651447514485144951450514515145251453514545145551456514575145851459514605146151462514635146451465514665146751468514695147051471514725147351474514755147651477514785147951480514815148251483514845148551486514875148851489514905149151492514935149451495514965149751498514995150051501515025150351504515055150651507515085150951510515115151251513515145151551516515175151851519515205152151522515235152451525515265152751528515295153051531515325153351534515355153651537515385153951540515415154251543515445154551546515475154851549515505155151552515535155451555515565155751558515595156051561515625156351564515655156651567515685156951570515715157251573515745157551576515775157851579515805158151582515835158451585515865158751588515895159051591515925159351594515955159651597515985159951600516015160251603516045160551606516075160851609516105161151612516135161451615516165161751618516195162051621516225162351624516255162651627516285162951630516315163251633516345163551636516375163851639516405164151642516435164451645516465164751648516495165051651516525165351654516555165651657516585165951660516615166251663516645166551666516675166851669516705167151672516735167451675516765167751678516795168051681516825168351684516855168651687516885168951690516915169251693516945169551696516975169851699517005170151702517035170451705517065170751708517095171051711517125171351714517155171651717517185171951720517215172251723517245172551726517275172851729517305173151732517335173451735517365173751738517395174051741517425174351744517455174651747517485174951750517515175251753517545175551756517575175851759517605176151762517635176451765517665176751768517695177051771517725177351774517755177651777517785177951780517815178251783517845178551786517875178851789517905179151792517935179451795517965179751798517995180051801518025180351804518055180651807518085180951810518115181251813518145181551816518175181851819518205182151822518235182451825518265182751828518295183051831518325183351834518355183651837518385183951840518415184251843518445184551846518475184851849518505185151852518535185451855518565185751858518595186051861518625186351864518655186651867518685186951870518715187251873518745187551876518775187851879518805188151882518835188451885518865188751888518895189051891518925189351894518955189651897518985189951900519015190251903519045190551906519075190851909519105191151912519135191451915519165191751918519195192051921519225192351924519255192651927519285192951930519315193251933519345193551936519375193851939519405194151942519435194451945519465194751948519495195051951519525195351954519555195651957519585195951960519615196251963519645196551966519675196851969519705197151972519735197451975519765197751978519795198051981519825198351984519855198651987519885198951990519915199251993519945199551996519975199851999520005200152002520035200452005520065200752008520095201052011520125201352014520155201652017520185201952020520215202252023520245202552026520275202852029520305203152032520335203452035520365203752038520395204052041520425204352044520455204652047520485204952050520515205252053520545205552056520575205852059520605206152062520635206452065520665206752068520695207052071520725207352074520755207652077520785207952080520815208252083520845208552086520875208852089520905209152092520935209452095520965209752098520995210052101521025210352104521055210652107521085210952110521115211252113521145211552116521175211852119521205212152122521235212452125521265212752128521295213052131521325213352134521355213652137521385213952140521415214252143521445214552146521475214852149521505215152152521535215452155521565215752158521595216052161521625216352164521655216652167521685216952170521715217252173521745217552176521775217852179521805218152182521835218452185521865218752188521895219052191521925219352194521955219652197521985219952200522015220252203522045220552206522075220852209522105221152212522135221452215522165221752218522195222052221522225222352224522255222652227522285222952230522315223252233522345223552236522375223852239522405224152242522435224452245522465224752248522495225052251522525225352254522555225652257522585225952260522615226252263522645226552266522675226852269522705227152272522735227452275522765227752278522795228052281522825228352284522855228652287522885228952290522915229252293522945229552296522975229852299523005230152302523035230452305523065230752308523095231052311523125231352314523155231652317523185231952320523215232252323523245232552326523275232852329523305233152332523335233452335523365233752338523395234052341523425234352344523455234652347523485234952350523515235252353523545235552356523575235852359523605236152362523635236452365523665236752368523695237052371523725237352374523755237652377523785237952380523815238252383523845238552386523875238852389523905239152392523935239452395523965239752398523995240052401524025240352404524055240652407524085240952410524115241252413524145241552416524175241852419524205242152422524235242452425524265242752428524295243052431524325243352434524355243652437524385243952440524415244252443524445244552446524475244852449524505245152452524535245452455524565245752458524595246052461524625246352464524655246652467524685246952470524715247252473524745247552476524775247852479524805248152482524835248452485524865248752488524895249052491524925249352494524955249652497524985249952500525015250252503525045250552506525075250852509525105251152512525135251452515525165251752518525195252052521525225252352524525255252652527525285252952530525315253252533525345253552536525375253852539525405254152542525435254452545525465254752548525495255052551525525255352554525555255652557525585255952560525615256252563525645256552566525675256852569525705257152572525735257452575525765257752578525795258052581525825258352584525855258652587525885258952590525915259252593525945259552596525975259852599526005260152602526035260452605526065260752608526095261052611526125261352614526155261652617526185261952620526215262252623526245262552626526275262852629526305263152632526335263452635526365263752638526395264052641526425264352644526455264652647526485264952650526515265252653526545265552656526575265852659526605266152662526635266452665526665266752668526695267052671526725267352674526755267652677526785267952680526815268252683526845268552686526875268852689526905269152692526935269452695526965269752698526995270052701527025270352704527055270652707527085270952710527115271252713527145271552716527175271852719527205272152722527235272452725527265272752728527295273052731527325273352734527355273652737527385273952740527415274252743527445274552746527475274852749527505275152752527535275452755527565275752758527595276052761527625276352764527655276652767527685276952770527715277252773527745277552776527775277852779527805278152782527835278452785527865278752788527895279052791527925279352794527955279652797527985279952800528015280252803528045280552806528075280852809528105281152812528135281452815528165281752818528195282052821528225282352824528255282652827528285282952830528315283252833528345283552836528375283852839528405284152842528435284452845528465284752848528495285052851528525285352854528555285652857528585285952860528615286252863528645286552866528675286852869528705287152872528735287452875528765287752878528795288052881528825288352884528855288652887528885288952890528915289252893528945289552896528975289852899529005290152902529035290452905529065290752908529095291052911529125291352914529155291652917529185291952920529215292252923529245292552926529275292852929529305293152932529335293452935529365293752938529395294052941529425294352944529455294652947529485294952950529515295252953529545295552956529575295852959529605296152962529635296452965529665296752968529695297052971529725297352974529755297652977529785297952980529815298252983529845298552986529875298852989529905299152992529935299452995529965299752998529995300053001530025300353004530055300653007530085300953010530115301253013530145301553016530175301853019530205302153022530235302453025530265302753028530295303053031530325303353034530355303653037530385303953040530415304253043530445304553046530475304853049530505305153052530535305453055530565305753058530595306053061530625306353064530655306653067530685306953070530715307253073530745307553076530775307853079530805308153082530835308453085530865308753088530895309053091530925309353094530955309653097530985309953100531015310253103531045310553106531075310853109531105311153112531135311453115531165311753118531195312053121531225312353124531255312653127531285312953130531315313253133531345313553136531375313853139531405314153142531435314453145531465314753148531495315053151531525315353154531555315653157531585315953160531615316253163531645316553166531675316853169531705317153172531735317453175531765317753178531795318053181531825318353184531855318653187531885318953190531915319253193531945319553196531975319853199532005320153202532035320453205532065320753208532095321053211532125321353214532155321653217532185321953220532215322253223532245322553226532275322853229532305323153232532335323453235532365323753238532395324053241532425324353244532455324653247532485324953250532515325253253532545325553256532575325853259532605326153262532635326453265532665326753268532695327053271532725327353274532755327653277532785327953280532815328253283532845328553286532875328853289532905329153292532935329453295532965329753298532995330053301533025330353304533055330653307533085330953310533115331253313533145331553316533175331853319533205332153322533235332453325533265332753328533295333053331533325333353334533355333653337533385333953340533415334253343533445334553346533475334853349533505335153352533535335453355533565335753358533595336053361533625336353364533655336653367533685336953370533715337253373533745337553376533775337853379533805338153382533835338453385533865338753388533895339053391533925339353394533955339653397533985339953400534015340253403534045340553406534075340853409534105341153412534135341453415534165341753418534195342053421534225342353424534255342653427534285342953430534315343253433534345343553436534375343853439534405344153442534435344453445534465344753448534495345053451534525345353454534555345653457534585345953460534615346253463534645346553466534675346853469534705347153472534735347453475534765347753478534795348053481534825348353484534855348653487534885348953490534915349253493534945349553496534975349853499535005350153502535035350453505535065350753508535095351053511535125351353514535155351653517535185351953520535215352253523535245352553526535275352853529535305353153532535335353453535535365353753538535395354053541535425354353544535455354653547535485354953550535515355253553535545355553556535575355853559535605356153562535635356453565535665356753568535695357053571535725357353574535755357653577535785357953580535815358253583535845358553586535875358853589535905359153592535935359453595535965359753598535995360053601536025360353604536055360653607536085360953610536115361253613536145361553616536175361853619536205362153622536235362453625536265362753628536295363053631536325363353634536355363653637536385363953640536415364253643536445364553646536475364853649536505365153652536535365453655536565365753658536595366053661536625366353664536655366653667536685366953670536715367253673536745367553676536775367853679536805368153682536835368453685536865368753688536895369053691536925369353694536955369653697536985369953700537015370253703537045370553706537075370853709537105371153712537135371453715537165371753718537195372053721537225372353724537255372653727537285372953730537315373253733537345373553736537375373853739537405374153742537435374453745537465374753748537495375053751537525375353754537555375653757537585375953760537615376253763537645376553766537675376853769537705377153772537735377453775537765377753778537795378053781537825378353784537855378653787537885378953790537915379253793537945379553796537975379853799538005380153802538035380453805538065380753808538095381053811538125381353814538155381653817538185381953820538215382253823538245382553826538275382853829538305383153832538335383453835538365383753838538395384053841538425384353844538455384653847538485384953850538515385253853538545385553856538575385853859538605386153862538635386453865538665386753868538695387053871538725387353874538755387653877538785387953880538815388253883538845388553886538875388853889538905389153892538935389453895538965389753898538995390053901539025390353904539055390653907539085390953910539115391253913539145391553916539175391853919539205392153922539235392453925539265392753928539295393053931539325393353934539355393653937539385393953940539415394253943539445394553946539475394853949539505395153952539535395453955539565395753958539595396053961539625396353964539655396653967539685396953970539715397253973539745397553976539775397853979539805398153982539835398453985539865398753988539895399053991539925399353994539955399653997539985399954000540015400254003540045400554006540075400854009540105401154012540135401454015540165401754018540195402054021540225402354024540255402654027540285402954030540315403254033540345403554036540375403854039540405404154042540435404454045540465404754048540495405054051540525405354054540555405654057540585405954060540615406254063540645406554066540675406854069540705407154072540735407454075540765407754078540795408054081540825408354084540855408654087540885408954090540915409254093540945409554096540975409854099541005410154102541035410454105541065410754108541095411054111541125411354114541155411654117541185411954120541215412254123541245412554126541275412854129541305413154132541335413454135541365413754138541395414054141541425414354144541455414654147541485414954150541515415254153541545415554156541575415854159541605416154162541635416454165541665416754168541695417054171541725417354174541755417654177541785417954180541815418254183541845418554186541875418854189541905419154192541935419454195541965419754198541995420054201542025420354204542055420654207542085420954210542115421254213542145421554216542175421854219542205422154222542235422454225542265422754228542295423054231542325423354234542355423654237542385423954240542415424254243542445424554246542475424854249542505425154252542535425454255542565425754258542595426054261542625426354264542655426654267542685426954270542715427254273542745427554276542775427854279542805428154282542835428454285542865428754288542895429054291542925429354294542955429654297542985429954300543015430254303543045430554306543075430854309543105431154312543135431454315543165431754318543195432054321543225432354324543255432654327543285432954330543315433254333543345433554336543375433854339543405434154342543435434454345543465434754348543495435054351543525435354354543555435654357543585435954360543615436254363543645436554366543675436854369543705437154372543735437454375543765437754378543795438054381543825438354384543855438654387543885438954390543915439254393543945439554396543975439854399544005440154402544035440454405544065440754408544095441054411544125441354414544155441654417544185441954420544215442254423544245442554426544275442854429544305443154432544335443454435544365443754438544395444054441544425444354444544455444654447544485444954450544515445254453544545445554456544575445854459544605446154462544635446454465544665446754468544695447054471544725447354474544755447654477544785447954480544815448254483544845448554486544875448854489544905449154492544935449454495544965449754498544995450054501545025450354504545055450654507545085450954510545115451254513545145451554516545175451854519545205452154522545235452454525545265452754528545295453054531545325453354534545355453654537545385453954540545415454254543545445454554546545475454854549545505455154552545535455454555545565455754558545595456054561545625456354564545655456654567545685456954570545715457254573545745457554576545775457854579545805458154582545835458454585545865458754588545895459054591545925459354594545955459654597545985459954600546015460254603546045460554606546075460854609546105461154612546135461454615546165461754618546195462054621546225462354624546255462654627546285462954630546315463254633546345463554636546375463854639546405464154642546435464454645546465464754648546495465054651546525465354654546555465654657546585465954660546615466254663546645466554666546675466854669546705467154672546735467454675546765467754678546795468054681546825468354684546855468654687546885468954690546915469254693546945469554696546975469854699547005470154702547035470454705547065470754708547095471054711547125471354714547155471654717547185471954720547215472254723547245472554726547275472854729547305473154732547335473454735547365473754738547395474054741547425474354744547455474654747547485474954750547515475254753547545475554756547575475854759547605476154762547635476454765547665476754768547695477054771547725477354774547755477654777547785477954780547815478254783547845478554786547875478854789547905479154792547935479454795547965479754798547995480054801548025480354804548055480654807548085480954810548115481254813548145481554816548175481854819548205482154822548235482454825548265482754828548295483054831548325483354834548355483654837548385483954840548415484254843548445484554846548475484854849548505485154852548535485454855548565485754858548595486054861548625486354864548655486654867548685486954870548715487254873548745487554876548775487854879548805488154882548835488454885548865488754888548895489054891548925489354894548955489654897548985489954900549015490254903549045490554906549075490854909549105491154912549135491454915549165491754918549195492054921549225492354924549255492654927549285492954930549315493254933549345493554936549375493854939549405494154942549435494454945549465494754948549495495054951549525495354954549555495654957549585495954960549615496254963549645496554966549675496854969549705497154972549735497454975549765497754978549795498054981549825498354984549855498654987549885498954990549915499254993549945499554996549975499854999550005500155002550035500455005550065500755008550095501055011550125501355014550155501655017550185501955020550215502255023550245502555026550275502855029550305503155032550335503455035550365503755038550395504055041550425504355044550455504655047550485504955050550515505255053550545505555056550575505855059550605506155062550635506455065550665506755068550695507055071550725507355074550755507655077550785507955080550815508255083550845508555086550875508855089550905509155092550935509455095550965509755098550995510055101551025510355104551055510655107551085510955110551115511255113551145511555116551175511855119551205512155122551235512455125551265512755128551295513055131551325513355134551355513655137551385513955140551415514255143551445514555146551475514855149551505515155152551535515455155551565515755158551595516055161551625516355164551655516655167551685516955170551715517255173551745517555176551775517855179551805518155182551835518455185551865518755188551895519055191551925519355194551955519655197551985519955200552015520255203552045520555206552075520855209552105521155212552135521455215552165521755218552195522055221552225522355224552255522655227552285522955230552315523255233552345523555236552375523855239552405524155242552435524455245552465524755248552495525055251552525525355254552555525655257552585525955260552615526255263552645526555266552675526855269552705527155272552735527455275552765527755278552795528055281552825528355284552855528655287552885528955290552915529255293552945529555296552975529855299553005530155302553035530455305553065530755308553095531055311553125531355314553155531655317553185531955320553215532255323553245532555326553275532855329553305533155332553335533455335553365533755338553395534055341553425534355344553455534655347553485534955350553515535255353553545535555356553575535855359553605536155362553635536455365553665536755368553695537055371553725537355374553755537655377553785537955380553815538255383553845538555386553875538855389553905539155392553935539455395553965539755398553995540055401554025540355404554055540655407554085540955410554115541255413554145541555416554175541855419554205542155422554235542455425554265542755428554295543055431554325543355434554355543655437554385543955440554415544255443554445544555446554475544855449554505545155452554535545455455554565545755458554595546055461554625546355464554655546655467554685546955470554715547255473554745547555476554775547855479554805548155482554835548455485554865548755488554895549055491554925549355494554955549655497554985549955500555015550255503555045550555506555075550855509555105551155512555135551455515555165551755518555195552055521555225552355524555255552655527555285552955530555315553255533555345553555536555375553855539555405554155542555435554455545555465554755548555495555055551555525555355554555555555655557555585555955560555615556255563555645556555566555675556855569555705557155572555735557455575555765557755578555795558055581555825558355584555855558655587555885558955590555915559255593555945559555596555975559855599556005560155602556035560455605556065560755608556095561055611556125561355614556155561655617556185561955620556215562255623556245562555626556275562855629556305563155632556335563455635556365563755638556395564055641556425564355644556455564655647556485564955650556515565255653556545565555656556575565855659556605566155662556635566455665556665566755668556695567055671556725567355674556755567655677556785567955680556815568255683556845568555686556875568855689556905569155692556935569455695556965569755698556995570055701557025570355704557055570655707557085570955710557115571255713557145571555716557175571855719557205572155722557235572455725557265572755728557295573055731557325573355734557355573655737557385573955740557415574255743557445574555746557475574855749557505575155752557535575455755557565575755758557595576055761557625576355764557655576655767557685576955770557715577255773557745577555776557775577855779557805578155782557835578455785557865578755788557895579055791557925579355794557955579655797557985579955800558015580255803558045580555806558075580855809558105581155812558135581455815558165581755818558195582055821558225582355824558255582655827558285582955830558315583255833558345583555836558375583855839558405584155842558435584455845558465584755848558495585055851558525585355854558555585655857558585585955860558615586255863558645586555866558675586855869558705587155872558735587455875558765587755878558795588055881558825588355884558855588655887558885588955890558915589255893558945589555896558975589855899559005590155902559035590455905559065590755908559095591055911559125591355914559155591655917559185591955920559215592255923559245592555926559275592855929559305593155932559335593455935559365593755938559395594055941559425594355944559455594655947559485594955950559515595255953559545595555956559575595855959559605596155962559635596455965559665596755968559695597055971559725597355974559755597655977559785597955980559815598255983559845598555986559875598855989559905599155992559935599455995559965599755998559995600056001560025600356004560055600656007560085600956010560115601256013560145601556016560175601856019560205602156022560235602456025560265602756028560295603056031560325603356034560355603656037560385603956040560415604256043560445604556046560475604856049560505605156052560535605456055560565605756058560595606056061560625606356064560655606656067560685606956070560715607256073560745607556076560775607856079560805608156082560835608456085560865608756088560895609056091560925609356094560955609656097560985609956100561015610256103561045610556106561075610856109561105611156112561135611456115561165611756118561195612056121561225612356124561255612656127561285612956130561315613256133561345613556136561375613856139561405614156142561435614456145561465614756148561495615056151561525615356154561555615656157561585615956160561615616256163561645616556166561675616856169561705617156172561735617456175561765617756178561795618056181561825618356184561855618656187561885618956190561915619256193561945619556196561975619856199562005620156202562035620456205562065620756208562095621056211562125621356214562155621656217562185621956220562215622256223562245622556226562275622856229562305623156232562335623456235562365623756238562395624056241562425624356244562455624656247562485624956250562515625256253562545625556256562575625856259562605626156262562635626456265562665626756268562695627056271562725627356274562755627656277562785627956280562815628256283562845628556286562875628856289562905629156292562935629456295562965629756298562995630056301563025630356304563055630656307563085630956310563115631256313563145631556316563175631856319563205632156322563235632456325563265632756328563295633056331563325633356334563355633656337563385633956340563415634256343563445634556346563475634856349563505635156352563535635456355563565635756358563595636056361563625636356364563655636656367563685636956370563715637256373563745637556376563775637856379563805638156382563835638456385563865638756388563895639056391563925639356394563955639656397563985639956400564015640256403564045640556406564075640856409564105641156412564135641456415564165641756418564195642056421564225642356424564255642656427564285642956430564315643256433564345643556436564375643856439564405644156442564435644456445564465644756448564495645056451564525645356454564555645656457564585645956460564615646256463564645646556466564675646856469564705647156472564735647456475564765647756478564795648056481564825648356484564855648656487564885648956490564915649256493564945649556496564975649856499565005650156502565035650456505565065650756508565095651056511565125651356514565155651656517565185651956520565215652256523565245652556526565275652856529565305653156532565335653456535565365653756538565395654056541565425654356544565455654656547565485654956550565515655256553565545655556556565575655856559565605656156562565635656456565565665656756568565695657056571565725657356574565755657656577565785657956580565815658256583565845658556586565875658856589565905659156592565935659456595565965659756598565995660056601566025660356604566055660656607566085660956610566115661256613566145661556616566175661856619566205662156622566235662456625566265662756628566295663056631566325663356634566355663656637566385663956640566415664256643566445664556646566475664856649566505665156652566535665456655566565665756658566595666056661566625666356664566655666656667566685666956670566715667256673566745667556676566775667856679566805668156682566835668456685566865668756688566895669056691566925669356694566955669656697566985669956700567015670256703567045670556706567075670856709567105671156712567135671456715567165671756718567195672056721567225672356724567255672656727567285672956730567315673256733567345673556736567375673856739567405674156742567435674456745567465674756748567495675056751567525675356754567555675656757567585675956760567615676256763567645676556766567675676856769567705677156772567735677456775567765677756778567795678056781567825678356784567855678656787567885678956790567915679256793567945679556796567975679856799568005680156802568035680456805568065680756808568095681056811568125681356814568155681656817568185681956820568215682256823568245682556826568275682856829568305683156832568335683456835568365683756838568395684056841568425684356844568455684656847568485684956850568515685256853568545685556856568575685856859568605686156862568635686456865568665686756868568695687056871568725687356874568755687656877568785687956880568815688256883568845688556886568875688856889568905689156892568935689456895568965689756898568995690056901569025690356904569055690656907569085690956910569115691256913569145691556916569175691856919569205692156922569235692456925569265692756928569295693056931569325693356934569355693656937569385693956940569415694256943569445694556946569475694856949569505695156952569535695456955569565695756958569595696056961569625696356964569655696656967569685696956970569715697256973569745697556976569775697856979569805698156982569835698456985569865698756988569895699056991569925699356994569955699656997569985699957000570015700257003570045700557006570075700857009570105701157012570135701457015570165701757018570195702057021570225702357024570255702657027570285702957030570315703257033570345703557036570375703857039570405704157042570435704457045570465704757048570495705057051570525705357054570555705657057570585705957060570615706257063570645706557066570675706857069570705707157072570735707457075570765707757078570795708057081570825708357084570855708657087570885708957090570915709257093570945709557096570975709857099571005710157102571035710457105571065710757108571095711057111571125711357114571155711657117571185711957120571215712257123571245712557126571275712857129571305713157132571335713457135571365713757138571395714057141571425714357144571455714657147571485714957150571515715257153571545715557156571575715857159571605716157162571635716457165571665716757168571695717057171571725717357174571755717657177571785717957180571815718257183571845718557186571875718857189571905719157192571935719457195571965719757198571995720057201572025720357204572055720657207572085720957210572115721257213572145721557216572175721857219572205722157222572235722457225572265722757228572295723057231572325723357234572355723657237572385723957240572415724257243572445724557246572475724857249572505725157252572535725457255572565725757258572595726057261572625726357264572655726657267572685726957270572715727257273572745727557276572775727857279572805728157282572835728457285572865728757288572895729057291572925729357294572955729657297572985729957300573015730257303573045730557306573075730857309573105731157312573135731457315573165731757318573195732057321573225732357324573255732657327573285732957330573315733257333573345733557336573375733857339573405734157342573435734457345573465734757348573495735057351573525735357354573555735657357573585735957360573615736257363573645736557366573675736857369573705737157372573735737457375573765737757378573795738057381573825738357384573855738657387573885738957390573915739257393573945739557396573975739857399574005740157402574035740457405574065740757408574095741057411574125741357414574155741657417574185741957420574215742257423574245742557426574275742857429574305743157432574335743457435574365743757438574395744057441574425744357444574455744657447574485744957450574515745257453574545745557456574575745857459574605746157462574635746457465574665746757468574695747057471574725747357474574755747657477574785747957480574815748257483574845748557486574875748857489574905749157492574935749457495574965749757498574995750057501575025750357504575055750657507575085750957510575115751257513575145751557516575175751857519575205752157522575235752457525575265752757528575295753057531575325753357534575355753657537575385753957540575415754257543575445754557546575475754857549575505755157552575535755457555575565755757558575595756057561575625756357564575655756657567575685756957570575715757257573575745757557576575775757857579575805758157582575835758457585575865758757588575895759057591575925759357594575955759657597575985759957600576015760257603576045760557606576075760857609576105761157612576135761457615576165761757618576195762057621576225762357624576255762657627576285762957630576315763257633576345763557636576375763857639576405764157642576435764457645576465764757648576495765057651576525765357654576555765657657576585765957660576615766257663576645766557666576675766857669576705767157672576735767457675576765767757678576795768057681576825768357684576855768657687576885768957690576915769257693576945769557696576975769857699577005770157702577035770457705577065770757708577095771057711577125771357714577155771657717577185771957720577215772257723577245772557726577275772857729577305773157732577335773457735577365773757738577395774057741577425774357744577455774657747577485774957750577515775257753577545775557756577575775857759577605776157762577635776457765577665776757768577695777057771577725777357774577755777657777577785777957780577815778257783577845778557786577875778857789577905779157792577935779457795577965779757798577995780057801578025780357804578055780657807578085780957810578115781257813578145781557816578175781857819578205782157822578235782457825578265782757828578295783057831578325783357834578355783657837578385783957840578415784257843578445784557846578475784857849578505785157852578535785457855578565785757858578595786057861578625786357864578655786657867578685786957870578715787257873578745787557876578775787857879578805788157882578835788457885578865788757888578895789057891578925789357894578955789657897578985789957900579015790257903579045790557906579075790857909579105791157912579135791457915579165791757918579195792057921579225792357924579255792657927579285792957930579315793257933579345793557936579375793857939579405794157942579435794457945579465794757948579495795057951579525795357954579555795657957579585795957960579615796257963579645796557966579675796857969579705797157972579735797457975579765797757978579795798057981579825798357984579855798657987579885798957990579915799257993579945799557996579975799857999580005800158002580035800458005580065800758008580095801058011580125801358014580155801658017580185801958020580215802258023580245802558026580275802858029580305803158032580335803458035580365803758038580395804058041580425804358044580455804658047580485804958050580515805258053580545805558056580575805858059580605806158062580635806458065580665806758068580695807058071580725807358074580755807658077580785807958080580815808258083580845808558086580875808858089580905809158092580935809458095580965809758098580995810058101581025810358104581055810658107581085810958110581115811258113581145811558116581175811858119581205812158122581235812458125581265812758128581295813058131581325813358134581355813658137581385813958140581415814258143581445814558146581475814858149581505815158152581535815458155581565815758158581595816058161581625816358164581655816658167581685816958170581715817258173581745817558176581775817858179581805818158182581835818458185581865818758188581895819058191581925819358194581955819658197581985819958200582015820258203582045820558206582075820858209582105821158212582135821458215582165821758218582195822058221582225822358224582255822658227582285822958230582315823258233582345823558236582375823858239582405824158242582435824458245582465824758248582495825058251582525825358254582555825658257582585825958260582615826258263582645826558266582675826858269582705827158272582735827458275582765827758278582795828058281582825828358284582855828658287582885828958290582915829258293582945829558296582975829858299583005830158302583035830458305583065830758308583095831058311583125831358314583155831658317583185831958320583215832258323583245832558326583275832858329583305833158332583335833458335583365833758338583395834058341583425834358344583455834658347583485834958350583515835258353583545835558356583575835858359583605836158362583635836458365583665836758368583695837058371583725837358374583755837658377583785837958380583815838258383583845838558386583875838858389583905839158392583935839458395583965839758398583995840058401584025840358404584055840658407584085840958410584115841258413584145841558416584175841858419584205842158422584235842458425584265842758428584295843058431584325843358434584355843658437584385843958440584415844258443584445844558446584475844858449584505845158452584535845458455584565845758458584595846058461584625846358464584655846658467584685846958470584715847258473584745847558476584775847858479584805848158482584835848458485584865848758488584895849058491584925849358494584955849658497584985849958500585015850258503585045850558506585075850858509585105851158512585135851458515585165851758518585195852058521585225852358524585255852658527585285852958530585315853258533585345853558536585375853858539585405854158542585435854458545585465854758548585495855058551585525855358554585555855658557585585855958560585615856258563585645856558566585675856858569585705857158572585735857458575585765857758578585795858058581585825858358584585855858658587585885858958590585915859258593585945859558596585975859858599586005860158602586035860458605586065860758608586095861058611586125861358614586155861658617586185861958620586215862258623586245862558626586275862858629586305863158632586335863458635586365863758638586395864058641586425864358644586455864658647586485864958650586515865258653586545865558656586575865858659586605866158662586635866458665586665866758668586695867058671586725867358674586755867658677586785867958680586815868258683586845868558686586875868858689586905869158692586935869458695586965869758698586995870058701587025870358704587055870658707587085870958710587115871258713587145871558716587175871858719587205872158722587235872458725587265872758728587295873058731587325873358734587355873658737587385873958740587415874258743587445874558746587475874858749587505875158752587535875458755587565875758758587595876058761587625876358764587655876658767587685876958770587715877258773587745877558776587775877858779587805878158782587835878458785587865878758788587895879058791587925879358794587955879658797587985879958800588015880258803588045880558806588075880858809588105881158812588135881458815588165881758818588195882058821588225882358824588255882658827588285882958830588315883258833588345883558836588375883858839588405884158842588435884458845588465884758848588495885058851588525885358854588555885658857588585885958860588615886258863588645886558866588675886858869588705887158872588735887458875588765887758878588795888058881588825888358884588855888658887588885888958890588915889258893588945889558896588975889858899589005890158902589035890458905589065890758908589095891058911589125891358914589155891658917589185891958920589215892258923589245892558926589275892858929589305893158932589335893458935589365893758938589395894058941589425894358944589455894658947589485894958950589515895258953589545895558956589575895858959589605896158962589635896458965589665896758968589695897058971589725897358974589755897658977589785897958980589815898258983589845898558986589875898858989589905899158992589935899458995589965899758998589995900059001590025900359004590055900659007590085900959010590115901259013590145901559016590175901859019590205902159022590235902459025590265902759028590295903059031590325903359034590355903659037590385903959040590415904259043590445904559046590475904859049590505905159052590535905459055590565905759058590595906059061590625906359064590655906659067590685906959070590715907259073590745907559076590775907859079590805908159082590835908459085590865908759088590895909059091590925909359094590955909659097590985909959100591015910259103591045910559106591075910859109591105911159112591135911459115591165911759118591195912059121591225912359124591255912659127591285912959130591315913259133591345913559136591375913859139591405914159142591435914459145591465914759148591495915059151591525915359154591555915659157591585915959160591615916259163591645916559166591675916859169591705917159172591735917459175591765917759178591795918059181591825918359184591855918659187591885918959190591915919259193591945919559196591975919859199592005920159202592035920459205592065920759208592095921059211592125921359214592155921659217592185921959220592215922259223592245922559226592275922859229592305923159232592335923459235592365923759238592395924059241592425924359244592455924659247592485924959250592515925259253592545925559256592575925859259592605926159262592635926459265592665926759268592695927059271592725927359274592755927659277592785927959280592815928259283592845928559286592875928859289592905929159292592935929459295592965929759298592995930059301593025930359304593055930659307593085930959310593115931259313593145931559316593175931859319593205932159322593235932459325593265932759328593295933059331593325933359334593355933659337593385933959340593415934259343593445934559346593475934859349593505935159352593535935459355593565935759358593595936059361593625936359364593655936659367593685936959370593715937259373593745937559376593775937859379593805938159382593835938459385593865938759388593895939059391593925939359394593955939659397593985939959400594015940259403594045940559406594075940859409594105941159412594135941459415594165941759418594195942059421594225942359424594255942659427594285942959430594315943259433594345943559436594375943859439594405944159442594435944459445594465944759448594495945059451594525945359454594555945659457594585945959460594615946259463594645946559466594675946859469594705947159472594735947459475594765947759478594795948059481594825948359484594855948659487594885948959490594915949259493594945949559496594975949859499595005950159502595035950459505595065950759508595095951059511595125951359514595155951659517595185951959520595215952259523595245952559526595275952859529595305953159532595335953459535595365953759538595395954059541595425954359544595455954659547595485954959550595515955259553595545955559556595575955859559595605956159562595635956459565595665956759568595695957059571595725957359574595755957659577595785957959580595815958259583595845958559586595875958859589595905959159592595935959459595595965959759598595995960059601596025960359604596055960659607596085960959610596115961259613596145961559616596175961859619596205962159622596235962459625596265962759628596295963059631596325963359634596355963659637596385963959640596415964259643596445964559646596475964859649596505965159652596535965459655596565965759658596595966059661596625966359664596655966659667596685966959670596715967259673596745967559676596775967859679596805968159682596835968459685596865968759688596895969059691596925969359694596955969659697596985969959700597015970259703597045970559706597075970859709597105971159712597135971459715597165971759718597195972059721597225972359724597255972659727597285972959730597315973259733597345973559736597375973859739597405974159742597435974459745597465974759748597495975059751597525975359754597555975659757597585975959760597615976259763597645976559766597675976859769597705977159772597735977459775597765977759778597795978059781597825978359784597855978659787597885978959790597915979259793597945979559796597975979859799598005980159802598035980459805598065980759808598095981059811598125981359814598155981659817598185981959820598215982259823598245982559826598275982859829598305983159832598335983459835598365983759838598395984059841598425984359844598455984659847598485984959850598515985259853598545985559856598575985859859598605986159862598635986459865598665986759868598695987059871598725987359874598755987659877598785987959880598815988259883598845988559886598875988859889598905989159892598935989459895598965989759898598995990059901599025990359904599055990659907599085990959910599115991259913599145991559916599175991859919599205992159922599235992459925599265992759928599295993059931599325993359934599355993659937599385993959940599415994259943599445994559946599475994859949599505995159952599535995459955599565995759958599595996059961599625996359964599655996659967599685996959970599715997259973599745997559976599775997859979599805998159982599835998459985599865998759988599895999059991599925999359994599955999659997599985999960000600016000260003600046000560006600076000860009600106001160012600136001460015600166001760018600196002060021600226002360024600256002660027600286002960030600316003260033600346003560036600376003860039600406004160042600436004460045600466004760048600496005060051600526005360054600556005660057600586005960060600616006260063600646006560066600676006860069600706007160072600736007460075600766007760078600796008060081600826008360084600856008660087600886008960090600916009260093600946009560096600976009860099601006010160102601036010460105601066010760108601096011060111601126011360114601156011660117601186011960120601216012260123601246012560126601276012860129601306013160132601336013460135601366013760138601396014060141601426014360144601456014660147601486014960150601516015260153601546015560156601576015860159601606016160162601636016460165601666016760168601696017060171601726017360174601756017660177601786017960180601816018260183601846018560186601876018860189601906019160192601936019460195601966019760198601996020060201602026020360204602056020660207602086020960210602116021260213602146021560216602176021860219602206022160222602236022460225602266022760228602296023060231602326023360234602356023660237602386023960240602416024260243602446024560246602476024860249602506025160252602536025460255602566025760258602596026060261602626026360264602656026660267602686026960270602716027260273602746027560276602776027860279602806028160282602836028460285602866028760288602896029060291602926029360294602956029660297602986029960300603016030260303603046030560306603076030860309603106031160312603136031460315603166031760318603196032060321603226032360324603256032660327603286032960330603316033260333603346033560336603376033860339603406034160342603436034460345603466034760348603496035060351603526035360354603556035660357603586035960360603616036260363603646036560366603676036860369603706037160372603736037460375603766037760378603796038060381603826038360384603856038660387603886038960390603916039260393603946039560396603976039860399604006040160402604036040460405604066040760408604096041060411604126041360414604156041660417604186041960420604216042260423604246042560426604276042860429604306043160432604336043460435604366043760438604396044060441604426044360444604456044660447604486044960450604516045260453604546045560456604576045860459604606046160462604636046460465604666046760468604696047060471604726047360474604756047660477604786047960480604816048260483604846048560486604876048860489604906049160492604936049460495604966049760498604996050060501605026050360504605056050660507605086050960510605116051260513605146051560516605176051860519605206052160522605236052460525605266052760528605296053060531605326053360534605356053660537605386053960540605416054260543605446054560546605476054860549605506055160552605536055460555605566055760558605596056060561605626056360564605656056660567605686056960570605716057260573605746057560576605776057860579605806058160582605836058460585605866058760588605896059060591605926059360594605956059660597605986059960600606016060260603606046060560606606076060860609606106061160612606136061460615606166061760618606196062060621606226062360624606256062660627606286062960630606316063260633606346063560636606376063860639606406064160642606436064460645606466064760648606496065060651606526065360654606556065660657606586065960660606616066260663606646066560666606676066860669606706067160672606736067460675606766067760678606796068060681606826068360684606856068660687606886068960690606916069260693606946069560696606976069860699607006070160702607036070460705607066070760708607096071060711607126071360714607156071660717607186071960720607216072260723607246072560726607276072860729607306073160732607336073460735607366073760738607396074060741607426074360744607456074660747607486074960750607516075260753607546075560756607576075860759607606076160762607636076460765607666076760768607696077060771607726077360774607756077660777607786077960780607816078260783607846078560786607876078860789607906079160792607936079460795607966079760798607996080060801608026080360804608056080660807608086080960810608116081260813608146081560816608176081860819608206082160822608236082460825608266082760828608296083060831608326083360834608356083660837608386083960840608416084260843608446084560846608476084860849608506085160852608536085460855608566085760858608596086060861608626086360864608656086660867608686086960870608716087260873608746087560876608776087860879608806088160882608836088460885608866088760888608896089060891608926089360894608956089660897608986089960900609016090260903609046090560906609076090860909609106091160912609136091460915609166091760918609196092060921609226092360924609256092660927609286092960930609316093260933609346093560936609376093860939609406094160942609436094460945609466094760948609496095060951609526095360954609556095660957609586095960960609616096260963609646096560966609676096860969609706097160972609736097460975609766097760978609796098060981609826098360984609856098660987609886098960990609916099260993609946099560996609976099860999610006100161002610036100461005610066100761008610096101061011610126101361014610156101661017610186101961020610216102261023610246102561026610276102861029610306103161032610336103461035610366103761038610396104061041610426104361044610456104661047610486104961050610516105261053610546105561056610576105861059610606106161062610636106461065610666106761068610696107061071610726107361074610756107661077610786107961080610816108261083610846108561086610876108861089610906109161092610936109461095610966109761098610996110061101611026110361104611056110661107611086110961110611116111261113611146111561116611176111861119611206112161122611236112461125611266112761128611296113061131611326113361134611356113661137611386113961140611416114261143611446114561146611476114861149611506115161152611536115461155611566115761158611596116061161611626116361164611656116661167611686116961170611716117261173611746117561176611776117861179611806118161182611836118461185611866118761188611896119061191611926119361194611956119661197611986119961200612016120261203612046120561206612076120861209612106121161212612136121461215612166121761218612196122061221612226122361224612256122661227612286122961230612316123261233612346123561236612376123861239612406124161242612436124461245612466124761248612496125061251612526125361254612556125661257612586125961260612616126261263612646126561266612676126861269612706127161272612736127461275612766127761278612796128061281612826128361284612856128661287612886128961290612916129261293612946129561296612976129861299613006130161302613036130461305613066130761308613096131061311613126131361314613156131661317613186131961320613216132261323613246132561326613276132861329613306133161332613336133461335613366133761338613396134061341613426134361344613456134661347613486134961350613516135261353613546135561356613576135861359613606136161362613636136461365613666136761368613696137061371613726137361374613756137661377613786137961380613816138261383613846138561386613876138861389613906139161392613936139461395613966139761398613996140061401614026140361404614056140661407614086140961410614116141261413614146141561416614176141861419614206142161422614236142461425614266142761428614296143061431614326143361434614356143661437614386143961440614416144261443614446144561446614476144861449614506145161452614536145461455614566145761458614596146061461614626146361464614656146661467614686146961470614716147261473614746147561476614776147861479614806148161482614836148461485614866148761488614896149061491614926149361494614956149661497614986149961500615016150261503615046150561506615076150861509615106151161512615136151461515615166151761518615196152061521615226152361524615256152661527615286152961530615316153261533615346153561536615376153861539615406154161542615436154461545615466154761548615496155061551615526155361554615556155661557615586155961560615616156261563615646156561566615676156861569615706157161572615736157461575615766157761578615796158061581615826158361584615856158661587615886158961590615916159261593615946159561596615976159861599616006160161602616036160461605616066160761608616096161061611616126161361614616156161661617616186161961620616216162261623616246162561626616276162861629616306163161632616336163461635616366163761638616396164061641616426164361644616456164661647616486164961650616516165261653616546165561656616576165861659616606166161662616636166461665616666166761668616696167061671616726167361674616756167661677616786167961680616816168261683616846168561686616876168861689616906169161692616936169461695616966169761698616996170061701617026170361704617056170661707617086170961710617116171261713617146171561716617176171861719617206172161722617236172461725617266172761728617296173061731617326173361734617356173661737617386173961740617416174261743617446174561746617476174861749617506175161752617536175461755617566175761758617596176061761617626176361764617656176661767617686176961770617716177261773617746177561776617776177861779617806178161782617836178461785617866178761788617896179061791617926179361794617956179661797617986179961800618016180261803618046180561806618076180861809618106181161812618136181461815618166181761818618196182061821618226182361824618256182661827618286182961830618316183261833618346183561836618376183861839618406184161842618436184461845618466184761848618496185061851618526185361854618556185661857618586185961860618616186261863618646186561866618676186861869618706187161872618736187461875618766187761878618796188061881618826188361884618856188661887618886188961890618916189261893618946189561896618976189861899619006190161902619036190461905619066190761908619096191061911619126191361914619156191661917619186191961920619216192261923619246192561926619276192861929619306193161932619336193461935619366193761938619396194061941619426194361944619456194661947619486194961950619516195261953619546195561956619576195861959619606196161962619636196461965619666196761968619696197061971619726197361974619756197661977619786197961980619816198261983619846198561986619876198861989619906199161992619936199461995619966199761998619996200062001620026200362004620056200662007620086200962010620116201262013620146201562016620176201862019620206202162022620236202462025620266202762028620296203062031620326203362034620356203662037620386203962040620416204262043620446204562046620476204862049620506205162052620536205462055620566205762058620596206062061620626206362064620656206662067620686206962070620716207262073620746207562076620776207862079620806208162082620836208462085620866208762088620896209062091620926209362094620956209662097620986209962100621016210262103621046210562106621076210862109621106211162112621136211462115621166211762118621196212062121621226212362124621256212662127621286212962130621316213262133621346213562136621376213862139621406214162142621436214462145621466214762148621496215062151621526215362154621556215662157621586215962160621616216262163621646216562166621676216862169621706217162172621736217462175621766217762178621796218062181621826218362184621856218662187621886218962190621916219262193621946219562196621976219862199622006220162202622036220462205622066220762208622096221062211622126221362214622156221662217622186221962220622216222262223622246222562226622276222862229622306223162232622336223462235622366223762238622396224062241622426224362244622456224662247622486224962250622516225262253622546225562256622576225862259622606226162262622636226462265622666226762268622696227062271622726227362274622756227662277622786227962280622816228262283622846228562286622876228862289622906229162292622936229462295622966229762298622996230062301623026230362304623056230662307623086230962310623116231262313623146231562316623176231862319623206232162322623236232462325623266232762328623296233062331623326233362334623356233662337623386233962340623416234262343623446234562346623476234862349623506235162352623536235462355623566235762358623596236062361623626236362364623656236662367623686236962370623716237262373623746237562376623776237862379623806238162382623836238462385623866238762388623896239062391623926239362394623956239662397623986239962400624016240262403624046240562406624076240862409624106241162412624136241462415624166241762418624196242062421624226242362424624256242662427624286242962430624316243262433624346243562436624376243862439624406244162442624436244462445624466244762448624496245062451624526245362454624556245662457624586245962460624616246262463624646246562466624676246862469624706247162472624736247462475624766247762478624796248062481624826248362484624856248662487624886248962490624916249262493624946249562496624976249862499625006250162502625036250462505625066250762508625096251062511625126251362514625156251662517625186251962520625216252262523625246252562526625276252862529625306253162532625336253462535625366253762538625396254062541625426254362544625456254662547625486254962550625516255262553625546255562556625576255862559625606256162562625636256462565625666256762568625696257062571625726257362574625756257662577625786257962580625816258262583625846258562586625876258862589625906259162592625936259462595625966259762598625996260062601626026260362604626056260662607626086260962610626116261262613626146261562616626176261862619626206262162622626236262462625626266262762628626296263062631626326263362634626356263662637626386263962640626416264262643626446264562646626476264862649626506265162652626536265462655626566265762658626596266062661626626266362664626656266662667626686266962670626716267262673626746267562676626776267862679626806268162682626836268462685626866268762688626896269062691626926269362694626956269662697626986269962700627016270262703627046270562706627076270862709627106271162712627136271462715627166271762718627196272062721627226272362724627256272662727627286272962730627316273262733627346273562736627376273862739627406274162742627436274462745627466274762748627496275062751627526275362754627556275662757627586275962760627616276262763627646276562766627676276862769627706277162772627736277462775627766277762778627796278062781627826278362784627856278662787627886278962790627916279262793627946279562796627976279862799628006280162802628036280462805628066280762808628096281062811628126281362814628156281662817628186281962820628216282262823628246282562826628276282862829628306283162832628336283462835628366283762838628396284062841628426284362844628456284662847628486284962850628516285262853628546285562856628576285862859628606286162862628636286462865628666286762868628696287062871628726287362874628756287662877628786287962880628816288262883628846288562886628876288862889628906289162892628936289462895628966289762898628996290062901629026290362904629056290662907629086290962910629116291262913629146291562916629176291862919629206292162922629236292462925629266292762928629296293062931629326293362934629356293662937629386293962940629416294262943629446294562946629476294862949629506295162952629536295462955629566295762958629596296062961629626296362964629656296662967629686296962970629716297262973629746297562976629776297862979629806298162982629836298462985629866298762988629896299062991629926299362994629956299662997629986299963000630016300263003630046300563006630076300863009630106301163012630136301463015630166301763018630196302063021630226302363024630256302663027630286302963030630316303263033630346303563036630376303863039630406304163042630436304463045630466304763048630496305063051630526305363054630556305663057630586305963060630616306263063630646306563066630676306863069630706307163072630736307463075630766307763078630796308063081630826308363084630856308663087630886308963090630916309263093630946309563096630976309863099631006310163102631036310463105631066310763108631096311063111631126311363114631156311663117631186311963120631216312263123631246312563126631276312863129631306313163132631336313463135631366313763138631396314063141631426314363144631456314663147631486314963150631516315263153631546315563156631576315863159631606316163162631636316463165631666316763168631696317063171631726317363174631756317663177631786317963180631816318263183631846318563186631876318863189631906319163192631936319463195631966319763198631996320063201632026320363204632056320663207632086320963210632116321263213632146321563216632176321863219632206322163222632236322463225632266322763228632296323063231632326323363234632356323663237632386323963240632416324263243632446324563246632476324863249632506325163252632536325463255632566325763258632596326063261632626326363264632656326663267632686326963270632716327263273632746327563276632776327863279632806328163282632836328463285632866328763288632896329063291632926329363294632956329663297632986329963300633016330263303633046330563306633076330863309633106331163312633136331463315633166331763318633196332063321633226332363324633256332663327633286332963330633316333263333633346333563336633376333863339633406334163342633436334463345633466334763348633496335063351633526335363354633556335663357633586335963360633616336263363633646336563366633676336863369633706337163372633736337463375633766337763378633796338063381633826338363384633856338663387633886338963390633916339263393633946339563396633976339863399634006340163402634036340463405634066340763408634096341063411634126341363414634156341663417634186341963420634216342263423634246342563426634276342863429634306343163432634336343463435634366343763438634396344063441634426344363444634456344663447634486344963450634516345263453634546345563456634576345863459634606346163462634636346463465634666346763468634696347063471634726347363474634756347663477634786347963480634816348263483634846348563486634876348863489634906349163492634936349463495634966349763498634996350063501635026350363504635056350663507635086350963510635116351263513635146351563516635176351863519635206352163522635236352463525635266352763528635296353063531635326353363534635356353663537635386353963540635416354263543635446354563546635476354863549635506355163552635536355463555635566355763558635596356063561635626356363564635656356663567635686356963570635716357263573635746357563576635776357863579635806358163582635836358463585635866358763588635896359063591635926359363594635956359663597635986359963600636016360263603636046360563606636076360863609636106361163612636136361463615636166361763618636196362063621636226362363624636256362663627636286362963630636316363263633636346363563636636376363863639636406364163642636436364463645636466364763648636496365063651636526365363654636556365663657636586365963660636616366263663636646366563666636676366863669636706367163672636736367463675636766367763678636796368063681636826368363684636856368663687636886368963690636916369263693636946369563696636976369863699637006370163702637036370463705637066370763708637096371063711637126371363714637156371663717637186371963720637216372263723637246372563726637276372863729637306373163732637336373463735637366373763738637396374063741637426374363744637456374663747637486374963750637516375263753637546375563756637576375863759637606376163762637636376463765637666376763768637696377063771637726377363774637756377663777637786377963780637816378263783637846378563786637876378863789637906379163792637936379463795637966379763798637996380063801638026380363804638056380663807638086380963810638116381263813638146381563816638176381863819638206382163822638236382463825638266382763828638296383063831638326383363834638356383663837638386383963840638416384263843638446384563846638476384863849638506385163852638536385463855638566385763858638596386063861638626386363864638656386663867638686386963870638716387263873638746387563876638776387863879638806388163882638836388463885638866388763888638896389063891638926389363894638956389663897638986389963900639016390263903639046390563906639076390863909639106391163912639136391463915639166391763918639196392063921639226392363924639256392663927639286392963930639316393263933639346393563936639376393863939639406394163942639436394463945639466394763948639496395063951639526395363954639556395663957639586395963960639616396263963639646396563966639676396863969639706397163972639736397463975639766397763978639796398063981639826398363984639856398663987639886398963990639916399263993639946399563996639976399863999640006400164002640036400464005640066400764008640096401064011640126401364014640156401664017640186401964020640216402264023640246402564026640276402864029640306403164032640336403464035640366403764038640396404064041640426404364044640456404664047640486404964050640516405264053640546405564056640576405864059640606406164062640636406464065640666406764068640696407064071640726407364074640756407664077640786407964080640816408264083640846408564086640876408864089640906409164092640936409464095640966409764098640996410064101641026410364104641056410664107641086410964110641116411264113641146411564116641176411864119641206412164122641236412464125641266412764128641296413064131641326413364134641356413664137641386413964140641416414264143641446414564146641476414864149641506415164152641536415464155641566415764158641596416064161641626416364164641656416664167641686416964170641716417264173641746417564176641776417864179641806418164182641836418464185641866418764188641896419064191641926419364194641956419664197641986419964200642016420264203642046420564206642076420864209642106421164212642136421464215642166421764218642196422064221642226422364224642256422664227642286422964230642316423264233642346423564236642376423864239642406424164242642436424464245642466424764248642496425064251642526425364254642556425664257642586425964260642616426264263642646426564266642676426864269642706427164272642736427464275642766427764278642796428064281642826428364284642856428664287642886428964290642916429264293642946429564296642976429864299643006430164302643036430464305643066430764308643096431064311643126431364314643156431664317643186431964320643216432264323643246432564326643276432864329643306433164332643336433464335643366433764338643396434064341643426434364344643456434664347643486434964350643516435264353643546435564356643576435864359643606436164362643636436464365643666436764368643696437064371643726437364374643756437664377643786437964380643816438264383643846438564386643876438864389643906439164392643936439464395643966439764398643996440064401644026440364404644056440664407644086440964410644116441264413644146441564416644176441864419644206442164422644236442464425644266442764428644296443064431644326443364434644356443664437644386443964440644416444264443644446444564446644476444864449644506445164452644536445464455644566445764458644596446064461644626446364464644656446664467644686446964470644716447264473644746447564476644776447864479644806448164482644836448464485644866448764488644896449064491644926449364494644956449664497644986449964500645016450264503645046450564506645076450864509645106451164512645136451464515645166451764518645196452064521645226452364524645256452664527645286452964530645316453264533645346453564536645376453864539645406454164542645436454464545645466454764548645496455064551645526455364554645556455664557645586455964560645616456264563645646456564566645676456864569645706457164572645736457464575645766457764578645796458064581645826458364584645856458664587645886458964590645916459264593645946459564596645976459864599646006460164602646036460464605646066460764608646096461064611646126461364614646156461664617646186461964620646216462264623646246462564626646276462864629646306463164632646336463464635646366463764638646396464064641646426464364644646456464664647646486464964650646516465264653646546465564656646576465864659646606466164662646636466464665646666466764668646696467064671646726467364674646756467664677646786467964680646816468264683646846468564686646876468864689646906469164692646936469464695646966469764698646996470064701647026470364704647056470664707647086470964710647116471264713647146471564716647176471864719647206472164722647236472464725647266472764728647296473064731647326473364734647356473664737647386473964740647416474264743647446474564746647476474864749647506475164752647536475464755647566475764758647596476064761647626476364764647656476664767647686476964770647716477264773647746477564776647776477864779647806478164782647836478464785647866478764788647896479064791647926479364794647956479664797647986479964800648016480264803648046480564806648076480864809648106481164812648136481464815648166481764818648196482064821648226482364824648256482664827648286482964830648316483264833648346483564836648376483864839648406484164842648436484464845648466484764848648496485064851648526485364854648556485664857648586485964860648616486264863648646486564866648676486864869648706487164872648736487464875648766487764878648796488064881648826488364884648856488664887648886488964890648916489264893648946489564896648976489864899649006490164902649036490464905649066490764908649096491064911649126491364914649156491664917649186491964920649216492264923649246492564926649276492864929649306493164932649336493464935649366493764938649396494064941649426494364944649456494664947649486494964950649516495264953649546495564956649576495864959649606496164962649636496464965649666496764968649696497064971649726497364974649756497664977649786497964980649816498264983649846498564986649876498864989649906499164992649936499464995649966499764998649996500065001650026500365004650056500665007650086500965010650116501265013650146501565016650176501865019650206502165022650236502465025650266502765028650296503065031650326503365034650356503665037650386503965040650416504265043650446504565046650476504865049650506505165052650536505465055650566505765058650596506065061650626506365064650656506665067650686506965070650716507265073650746507565076650776507865079650806508165082650836508465085650866508765088650896509065091650926509365094650956509665097650986509965100651016510265103651046510565106651076510865109651106511165112651136511465115651166511765118651196512065121651226512365124651256512665127651286512965130651316513265133651346513565136651376513865139651406514165142651436514465145651466514765148651496515065151651526515365154651556515665157651586515965160651616516265163651646516565166651676516865169651706517165172651736517465175651766517765178651796518065181651826518365184651856518665187651886518965190651916519265193651946519565196651976519865199652006520165202652036520465205652066520765208652096521065211652126521365214652156521665217652186521965220652216522265223652246522565226652276522865229652306523165232652336523465235652366523765238652396524065241652426524365244652456524665247652486524965250652516525265253652546525565256652576525865259652606526165262652636526465265652666526765268652696527065271652726527365274652756527665277652786527965280652816528265283652846528565286652876528865289652906529165292652936529465295652966529765298652996530065301653026530365304653056530665307653086530965310653116531265313653146531565316653176531865319653206532165322653236532465325653266532765328653296533065331653326533365334653356533665337653386533965340653416534265343653446534565346653476534865349653506535165352653536535465355653566535765358653596536065361653626536365364653656536665367653686536965370653716537265373653746537565376653776537865379653806538165382653836538465385653866538765388653896539065391653926539365394653956539665397653986539965400654016540265403654046540565406654076540865409654106541165412654136541465415654166541765418654196542065421654226542365424654256542665427654286542965430654316543265433654346543565436654376543865439654406544165442654436544465445654466544765448654496545065451654526545365454654556545665457654586545965460654616546265463654646546565466654676546865469654706547165472654736547465475654766547765478654796548065481654826548365484654856548665487654886548965490654916549265493654946549565496654976549865499655006550165502655036550465505655066550765508655096551065511655126551365514655156551665517655186551965520655216552265523655246552565526655276552865529655306553165532655336553465535655366553765538655396554065541655426554365544655456554665547655486554965550655516555265553655546555565556655576555865559655606556165562655636556465565655666556765568655696557065571655726557365574655756557665577655786557965580655816558265583655846558565586655876558865589655906559165592655936559465595655966559765598655996560065601656026560365604656056560665607656086560965610656116561265613656146561565616656176561865619656206562165622656236562465625656266562765628656296563065631656326563365634656356563665637656386563965640656416564265643656446564565646656476564865649656506565165652656536565465655656566565765658656596566065661656626566365664656656566665667656686566965670656716567265673656746567565676656776567865679656806568165682656836568465685656866568765688656896569065691656926569365694656956569665697656986569965700657016570265703657046570565706657076570865709657106571165712657136571465715657166571765718657196572065721657226572365724657256572665727657286572965730657316573265733657346573565736657376573865739657406574165742657436574465745657466574765748657496575065751657526575365754657556575665757657586575965760657616576265763657646576565766657676576865769657706577165772657736577465775657766577765778657796578065781657826578365784657856578665787657886578965790657916579265793657946579565796657976579865799658006580165802658036580465805658066580765808658096581065811658126581365814658156581665817658186581965820658216582265823658246582565826658276582865829658306583165832658336583465835658366583765838658396584065841658426584365844658456584665847658486584965850658516585265853658546585565856658576585865859658606586165862658636586465865658666586765868658696587065871658726587365874658756587665877658786587965880658816588265883658846588565886658876588865889658906589165892658936589465895658966589765898658996590065901659026590365904659056590665907659086590965910659116591265913659146591565916659176591865919659206592165922659236592465925659266592765928659296593065931659326593365934659356593665937659386593965940659416594265943659446594565946659476594865949659506595165952659536595465955659566595765958659596596065961659626596365964659656596665967659686596965970659716597265973659746597565976659776597865979659806598165982659836598465985659866598765988659896599065991659926599365994659956599665997659986599966000660016600266003660046600566006660076600866009660106601166012660136601466015660166601766018660196602066021660226602366024660256602666027660286602966030660316603266033660346603566036660376603866039660406604166042660436604466045660466604766048660496605066051660526605366054660556605666057660586605966060660616606266063660646606566066660676606866069660706607166072660736607466075660766607766078660796608066081660826608366084660856608666087660886608966090660916609266093660946609566096660976609866099661006610166102661036610466105661066610766108661096611066111661126611366114661156611666117661186611966120661216612266123661246612566126661276612866129661306613166132661336613466135661366613766138661396614066141661426614366144661456614666147661486614966150661516615266153661546615566156661576615866159661606616166162661636616466165661666616766168661696617066171661726617366174661756617666177661786617966180661816618266183661846618566186661876618866189661906619166192661936619466195661966619766198661996620066201662026620366204662056620666207662086620966210662116621266213662146621566216662176621866219662206622166222662236622466225662266622766228662296623066231662326623366234662356623666237662386623966240662416624266243662446624566246662476624866249662506625166252662536625466255662566625766258662596626066261662626626366264662656626666267662686626966270662716627266273662746627566276662776627866279662806628166282662836628466285662866628766288662896629066291662926629366294662956629666297662986629966300663016630266303663046630566306663076630866309663106631166312663136631466315663166631766318663196632066321663226632366324663256632666327663286632966330663316633266333663346633566336663376633866339663406634166342663436634466345663466634766348663496635066351663526635366354663556635666357663586635966360663616636266363663646636566366663676636866369663706637166372663736637466375663766637766378663796638066381663826638366384663856638666387663886638966390663916639266393663946639566396663976639866399664006640166402664036640466405664066640766408664096641066411664126641366414664156641666417664186641966420664216642266423664246642566426664276642866429664306643166432664336643466435664366643766438664396644066441664426644366444664456644666447664486644966450664516645266453664546645566456664576645866459664606646166462664636646466465664666646766468664696647066471664726647366474664756647666477664786647966480664816648266483664846648566486664876648866489664906649166492664936649466495664966649766498664996650066501665026650366504665056650666507665086650966510665116651266513665146651566516665176651866519665206652166522665236652466525665266652766528665296653066531665326653366534665356653666537665386653966540665416654266543665446654566546665476654866549665506655166552665536655466555665566655766558665596656066561665626656366564665656656666567665686656966570665716657266573665746657566576665776657866579665806658166582665836658466585665866658766588665896659066591665926659366594665956659666597665986659966600666016660266603666046660566606666076660866609666106661166612666136661466615666166661766618666196662066621666226662366624666256662666627666286662966630666316663266633666346663566636666376663866639666406664166642666436664466645666466664766648666496665066651666526665366654666556665666657666586665966660666616666266663666646666566666666676666866669666706667166672666736667466675666766667766678666796668066681666826668366684666856668666687666886668966690666916669266693666946669566696666976669866699667006670166702667036670466705667066670766708667096671066711667126671366714667156671666717667186671966720667216672266723667246672566726667276672866729667306673166732667336673466735667366673766738667396674066741667426674366744667456674666747667486674966750667516675266753667546675566756667576675866759667606676166762667636676466765667666676766768667696677066771667726677366774667756677666777667786677966780667816678266783667846678566786667876678866789667906679166792667936679466795667966679766798667996680066801668026680366804668056680666807668086680966810668116681266813668146681566816668176681866819668206682166822668236682466825668266682766828668296683066831668326683366834668356683666837668386683966840668416684266843668446684566846668476684866849668506685166852668536685466855668566685766858668596686066861668626686366864668656686666867668686686966870668716687266873668746687566876668776687866879668806688166882668836688466885668866688766888668896689066891668926689366894668956689666897668986689966900669016690266903669046690566906669076690866909669106691166912669136691466915669166691766918669196692066921669226692366924669256692666927669286692966930669316693266933669346693566936669376693866939669406694166942669436694466945669466694766948669496695066951669526695366954669556695666957669586695966960669616696266963669646696566966669676696866969669706697166972669736697466975669766697766978669796698066981669826698366984669856698666987669886698966990669916699266993669946699566996669976699866999670006700167002670036700467005670066700767008670096701067011670126701367014670156701667017670186701967020670216702267023670246702567026670276702867029670306703167032670336703467035670366703767038670396704067041670426704367044670456704667047670486704967050670516705267053670546705567056670576705867059670606706167062670636706467065670666706767068670696707067071670726707367074670756707667077670786707967080670816708267083670846708567086670876708867089670906709167092670936709467095670966709767098670996710067101671026710367104671056710667107671086710967110671116711267113671146711567116671176711867119671206712167122671236712467125671266712767128671296713067131671326713367134671356713667137671386713967140671416714267143671446714567146671476714867149671506715167152671536715467155671566715767158671596716067161671626716367164671656716667167671686716967170671716717267173671746717567176671776717867179671806718167182671836718467185671866718767188671896719067191671926719367194671956719667197671986719967200672016720267203672046720567206672076720867209672106721167212672136721467215672166721767218672196722067221672226722367224672256722667227672286722967230672316723267233672346723567236672376723867239672406724167242672436724467245672466724767248672496725067251672526725367254672556725667257672586725967260672616726267263672646726567266672676726867269672706727167272672736727467275672766727767278672796728067281672826728367284672856728667287672886728967290672916729267293672946729567296672976729867299673006730167302673036730467305673066730767308673096731067311673126731367314673156731667317673186731967320673216732267323673246732567326673276732867329673306733167332673336733467335673366733767338673396734067341673426734367344673456734667347673486734967350673516735267353673546735567356673576735867359673606736167362673636736467365673666736767368673696737067371673726737367374673756737667377673786737967380673816738267383673846738567386673876738867389673906739167392673936739467395673966739767398673996740067401674026740367404674056740667407674086740967410674116741267413674146741567416674176741867419674206742167422674236742467425674266742767428674296743067431674326743367434674356743667437674386743967440674416744267443674446744567446674476744867449674506745167452674536745467455674566745767458674596746067461674626746367464674656746667467674686746967470674716747267473674746747567476674776747867479674806748167482674836748467485674866748767488674896749067491674926749367494674956749667497674986749967500675016750267503675046750567506675076750867509675106751167512675136751467515675166751767518675196752067521675226752367524675256752667527675286752967530675316753267533675346753567536675376753867539675406754167542675436754467545675466754767548675496755067551675526755367554675556755667557675586755967560675616756267563675646756567566675676756867569675706757167572675736757467575675766757767578675796758067581675826758367584675856758667587675886758967590675916759267593675946759567596675976759867599676006760167602676036760467605676066760767608676096761067611676126761367614676156761667617676186761967620676216762267623676246762567626676276762867629676306763167632676336763467635676366763767638676396764067641676426764367644676456764667647676486764967650676516765267653676546765567656676576765867659676606766167662676636766467665676666766767668676696767067671676726767367674676756767667677676786767967680676816768267683676846768567686676876768867689676906769167692676936769467695676966769767698676996770067701677026770367704677056770667707677086770967710677116771267713677146771567716677176771867719677206772167722677236772467725677266772767728677296773067731677326773367734677356773667737677386773967740677416774267743677446774567746677476774867749677506775167752677536775467755677566775767758677596776067761677626776367764677656776667767677686776967770677716777267773677746777567776677776777867779677806778167782677836778467785677866778767788677896779067791677926779367794677956779667797677986779967800678016780267803678046780567806678076780867809678106781167812678136781467815678166781767818678196782067821678226782367824678256782667827678286782967830678316783267833678346783567836678376783867839678406784167842678436784467845678466784767848678496785067851678526785367854678556785667857678586785967860678616786267863678646786567866678676786867869678706787167872678736787467875678766787767878678796788067881678826788367884678856788667887678886788967890678916789267893678946789567896678976789867899679006790167902679036790467905679066790767908679096791067911679126791367914679156791667917679186791967920679216792267923679246792567926679276792867929679306793167932679336793467935679366793767938679396794067941679426794367944679456794667947679486794967950679516795267953679546795567956679576795867959679606796167962679636796467965679666796767968679696797067971679726797367974679756797667977679786797967980679816798267983679846798567986679876798867989679906799167992679936799467995679966799767998679996800068001680026800368004680056800668007680086800968010680116801268013680146801568016680176801868019680206802168022680236802468025680266802768028680296803068031680326803368034680356803668037680386803968040680416804268043680446804568046680476804868049680506805168052680536805468055680566805768058680596806068061680626806368064680656806668067680686806968070680716807268073680746807568076680776807868079680806808168082680836808468085680866808768088680896809068091680926809368094680956809668097680986809968100681016810268103681046810568106681076810868109681106811168112681136811468115681166811768118681196812068121681226812368124681256812668127681286812968130681316813268133681346813568136681376813868139681406814168142681436814468145681466814768148681496815068151681526815368154681556815668157681586815968160681616816268163681646816568166681676816868169681706817168172681736817468175681766817768178681796818068181681826818368184681856818668187681886818968190681916819268193681946819568196681976819868199682006820168202682036820468205682066820768208682096821068211682126821368214682156821668217682186821968220682216822268223682246822568226682276822868229682306823168232682336823468235682366823768238682396824068241682426824368244682456824668247682486824968250682516825268253682546825568256682576825868259682606826168262682636826468265682666826768268682696827068271682726827368274682756827668277682786827968280682816828268283682846828568286682876828868289682906829168292682936829468295682966829768298682996830068301683026830368304683056830668307683086830968310683116831268313683146831568316683176831868319683206832168322683236832468325683266832768328683296833068331683326833368334683356833668337683386833968340683416834268343683446834568346683476834868349683506835168352683536835468355683566835768358683596836068361683626836368364683656836668367683686836968370683716837268373683746837568376683776837868379683806838168382683836838468385683866838768388683896839068391683926839368394683956839668397683986839968400684016840268403684046840568406684076840868409684106841168412684136841468415684166841768418684196842068421684226842368424684256842668427684286842968430684316843268433684346843568436684376843868439684406844168442684436844468445684466844768448684496845068451684526845368454684556845668457684586845968460684616846268463684646846568466684676846868469684706847168472684736847468475684766847768478684796848068481684826848368484684856848668487684886848968490684916849268493684946849568496684976849868499685006850168502685036850468505685066850768508685096851068511685126851368514685156851668517685186851968520685216852268523685246852568526685276852868529685306853168532685336853468535685366853768538685396854068541685426854368544685456854668547685486854968550685516855268553685546855568556685576855868559685606856168562685636856468565685666856768568685696857068571685726857368574685756857668577685786857968580685816858268583685846858568586685876858868589685906859168592685936859468595685966859768598685996860068601686026860368604686056860668607686086860968610686116861268613686146861568616686176861868619686206862168622686236862468625686266862768628686296863068631686326863368634686356863668637686386863968640686416864268643686446864568646686476864868649686506865168652686536865468655686566865768658686596866068661686626866368664686656866668667686686866968670686716867268673686746867568676686776867868679686806868168682686836868468685686866868768688686896869068691686926869368694686956869668697686986869968700687016870268703687046870568706687076870868709687106871168712687136871468715687166871768718687196872068721687226872368724687256872668727687286872968730687316873268733687346873568736687376873868739687406874168742687436874468745687466874768748687496875068751687526875368754687556875668757687586875968760687616876268763687646876568766687676876868769687706877168772687736877468775687766877768778687796878068781687826878368784687856878668787687886878968790687916879268793687946879568796687976879868799688006880168802688036880468805688066880768808688096881068811688126881368814688156881668817688186881968820688216882268823688246882568826688276882868829688306883168832688336883468835688366883768838688396884068841688426884368844688456884668847688486884968850688516885268853688546885568856688576885868859688606886168862688636886468865688666886768868688696887068871688726887368874688756887668877688786887968880688816888268883688846888568886688876888868889688906889168892688936889468895688966889768898688996890068901689026890368904689056890668907689086890968910689116891268913689146891568916689176891868919689206892168922689236892468925689266892768928689296893068931689326893368934689356893668937689386893968940689416894268943689446894568946689476894868949689506895168952689536895468955689566895768958689596896068961689626896368964689656896668967689686896968970689716897268973689746897568976689776897868979689806898168982689836898468985689866898768988689896899068991689926899368994689956899668997689986899969000690016900269003690046900569006690076900869009690106901169012690136901469015690166901769018690196902069021690226902369024690256902669027690286902969030690316903269033690346903569036690376903869039690406904169042690436904469045690466904769048690496905069051690526905369054690556905669057690586905969060690616906269063690646906569066690676906869069690706907169072690736907469075690766907769078690796908069081690826908369084690856908669087690886908969090690916909269093690946909569096690976909869099691006910169102691036910469105691066910769108691096911069111691126911369114691156911669117691186911969120691216912269123691246912569126691276912869129691306913169132691336913469135691366913769138691396914069141691426914369144691456914669147691486914969150691516915269153691546915569156691576915869159691606916169162691636916469165691666916769168691696917069171691726917369174691756917669177691786917969180691816918269183691846918569186691876918869189691906919169192691936919469195691966919769198691996920069201692026920369204692056920669207692086920969210692116921269213692146921569216692176921869219692206922169222692236922469225692266922769228692296923069231692326923369234692356923669237692386923969240692416924269243692446924569246692476924869249692506925169252692536925469255692566925769258692596926069261692626926369264692656926669267692686926969270692716927269273692746927569276692776927869279692806928169282692836928469285692866928769288692896929069291692926929369294692956929669297692986929969300693016930269303693046930569306693076930869309693106931169312693136931469315693166931769318693196932069321693226932369324693256932669327693286932969330693316933269333693346933569336693376933869339693406934169342693436934469345693466934769348693496935069351693526935369354693556935669357693586935969360693616936269363693646936569366693676936869369693706937169372693736937469375693766937769378693796938069381693826938369384693856938669387693886938969390693916939269393693946939569396693976939869399694006940169402694036940469405694066940769408694096941069411694126941369414694156941669417694186941969420694216942269423694246942569426694276942869429694306943169432694336943469435694366943769438694396944069441694426944369444694456944669447694486944969450694516945269453694546945569456694576945869459694606946169462694636946469465694666946769468694696947069471694726947369474694756947669477694786947969480694816948269483694846948569486694876948869489694906949169492694936949469495694966949769498694996950069501695026950369504695056950669507695086950969510695116951269513695146951569516695176951869519695206952169522695236952469525695266952769528695296953069531695326953369534695356953669537695386953969540695416954269543695446954569546695476954869549695506955169552695536955469555695566955769558695596956069561695626956369564695656956669567695686956969570695716957269573695746957569576695776957869579695806958169582695836958469585695866958769588695896959069591695926959369594695956959669597695986959969600696016960269603696046960569606696076960869609696106961169612696136961469615696166961769618696196962069621696226962369624696256962669627696286962969630696316963269633696346963569636696376963869639696406964169642696436964469645696466964769648696496965069651696526965369654696556965669657696586965969660696616966269663696646966569666696676966869669696706967169672696736967469675696766967769678696796968069681696826968369684696856968669687696886968969690696916969269693696946969569696696976969869699697006970169702697036970469705697066970769708697096971069711697126971369714697156971669717697186971969720697216972269723697246972569726697276972869729697306973169732697336973469735697366973769738697396974069741697426974369744697456974669747697486974969750697516975269753697546975569756697576975869759697606976169762697636976469765697666976769768697696977069771697726977369774697756977669777697786977969780697816978269783697846978569786697876978869789697906979169792697936979469795697966979769798697996980069801698026980369804698056980669807698086980969810698116981269813698146981569816698176981869819698206982169822698236982469825698266982769828698296983069831698326983369834698356983669837698386983969840698416984269843698446984569846698476984869849698506985169852698536985469855698566985769858698596986069861698626986369864698656986669867698686986969870698716987269873698746987569876698776987869879698806988169882698836988469885698866988769888698896989069891698926989369894698956989669897698986989969900699016990269903699046990569906699076990869909699106991169912699136991469915699166991769918699196992069921699226992369924699256992669927699286992969930699316993269933699346993569936699376993869939699406994169942699436994469945699466994769948699496995069951699526995369954699556995669957699586995969960699616996269963699646996569966699676996869969699706997169972699736997469975699766997769978699796998069981699826998369984699856998669987699886998969990699916999269993699946999569996699976999869999700007000170002700037000470005700067000770008700097001070011700127001370014700157001670017700187001970020700217002270023700247002570026700277002870029700307003170032700337003470035700367003770038700397004070041700427004370044700457004670047700487004970050700517005270053700547005570056700577005870059700607006170062700637006470065700667006770068700697007070071700727007370074700757007670077700787007970080700817008270083700847008570086700877008870089700907009170092700937009470095700967009770098700997010070101701027010370104701057010670107701087010970110701117011270113701147011570116701177011870119701207012170122701237012470125701267012770128701297013070131701327013370134701357013670137701387013970140701417014270143701447014570146701477014870149701507015170152701537015470155701567015770158701597016070161701627016370164701657016670167701687016970170701717017270173701747017570176701777017870179701807018170182701837018470185701867018770188701897019070191701927019370194701957019670197701987019970200702017020270203702047020570206702077020870209702107021170212702137021470215702167021770218702197022070221702227022370224702257022670227702287022970230702317023270233702347023570236702377023870239702407024170242702437024470245702467024770248702497025070251702527025370254702557025670257702587025970260702617026270263702647026570266702677026870269702707027170272702737027470275702767027770278702797028070281702827028370284702857028670287702887028970290702917029270293702947029570296702977029870299703007030170302703037030470305703067030770308703097031070311703127031370314703157031670317703187031970320703217032270323703247032570326703277032870329703307033170332703337033470335703367033770338703397034070341703427034370344703457034670347703487034970350703517035270353703547035570356703577035870359703607036170362703637036470365703667036770368703697037070371703727037370374703757037670377703787037970380703817038270383703847038570386703877038870389703907039170392703937039470395703967039770398703997040070401704027040370404704057040670407704087040970410704117041270413704147041570416704177041870419704207042170422704237042470425704267042770428704297043070431704327043370434704357043670437704387043970440704417044270443704447044570446704477044870449704507045170452704537045470455704567045770458704597046070461704627046370464704657046670467704687046970470704717047270473704747047570476704777047870479704807048170482704837048470485704867048770488704897049070491704927049370494704957049670497704987049970500705017050270503705047050570506705077050870509705107051170512705137051470515705167051770518705197052070521705227052370524705257052670527705287052970530705317053270533705347053570536705377053870539705407054170542705437054470545705467054770548705497055070551705527055370554705557055670557705587055970560705617056270563705647056570566705677056870569705707057170572705737057470575705767057770578705797058070581705827058370584705857058670587705887058970590705917059270593705947059570596705977059870599706007060170602706037060470605706067060770608706097061070611706127061370614706157061670617706187061970620706217062270623706247062570626706277062870629706307063170632706337063470635706367063770638706397064070641706427064370644706457064670647706487064970650706517065270653706547065570656706577065870659706607066170662706637066470665706667066770668706697067070671706727067370674706757067670677706787067970680706817068270683706847068570686706877068870689706907069170692706937069470695706967069770698706997070070701707027070370704707057070670707707087070970710707117071270713707147071570716707177071870719707207072170722707237072470725707267072770728707297073070731707327073370734707357073670737707387073970740707417074270743707447074570746707477074870749707507075170752707537075470755707567075770758707597076070761707627076370764707657076670767707687076970770707717077270773707747077570776707777077870779707807078170782707837078470785707867078770788707897079070791707927079370794707957079670797707987079970800708017080270803708047080570806708077080870809708107081170812708137081470815708167081770818708197082070821708227082370824708257082670827708287082970830708317083270833708347083570836708377083870839708407084170842708437084470845708467084770848708497085070851708527085370854708557085670857708587085970860708617086270863708647086570866708677086870869708707087170872708737087470875708767087770878708797088070881708827088370884708857088670887708887088970890708917089270893708947089570896708977089870899709007090170902709037090470905709067090770908709097091070911709127091370914709157091670917709187091970920709217092270923709247092570926709277092870929709307093170932709337093470935709367093770938709397094070941709427094370944709457094670947709487094970950709517095270953709547095570956709577095870959709607096170962709637096470965709667096770968709697097070971709727097370974709757097670977709787097970980709817098270983709847098570986709877098870989709907099170992709937099470995709967099770998709997100071001710027100371004710057100671007710087100971010710117101271013710147101571016710177101871019710207102171022710237102471025710267102771028710297103071031710327103371034710357103671037710387103971040710417104271043710447104571046710477104871049710507105171052710537105471055710567105771058710597106071061710627106371064710657106671067710687106971070710717107271073710747107571076710777107871079710807108171082710837108471085710867108771088710897109071091710927109371094710957109671097710987109971100711017110271103711047110571106711077110871109711107111171112711137111471115711167111771118711197112071121711227112371124711257112671127711287112971130711317113271133711347113571136711377113871139711407114171142711437114471145711467114771148711497115071151711527115371154711557115671157711587115971160711617116271163711647116571166711677116871169711707117171172711737117471175711767117771178711797118071181711827118371184711857118671187711887118971190711917119271193711947119571196711977119871199712007120171202712037120471205712067120771208712097121071211712127121371214712157121671217712187121971220712217122271223712247122571226712277122871229712307123171232712337123471235712367123771238712397124071241712427124371244712457124671247712487124971250712517125271253712547125571256712577125871259712607126171262712637126471265712667126771268712697127071271712727127371274712757127671277712787127971280712817128271283712847128571286712877128871289712907129171292712937129471295712967129771298712997130071301713027130371304713057130671307713087130971310713117131271313713147131571316713177131871319713207132171322713237132471325713267132771328713297133071331713327133371334713357133671337713387133971340713417134271343713447134571346713477134871349713507135171352713537135471355713567135771358713597136071361713627136371364713657136671367713687136971370713717137271373713747137571376713777137871379713807138171382713837138471385713867138771388713897139071391713927139371394713957139671397713987139971400714017140271403714047140571406714077140871409714107141171412714137141471415714167141771418714197142071421714227142371424714257142671427714287142971430714317143271433714347143571436714377143871439714407144171442714437144471445714467144771448714497145071451714527145371454714557145671457714587145971460714617146271463714647146571466714677146871469714707147171472714737147471475714767147771478714797148071481714827148371484714857148671487714887148971490714917149271493714947149571496714977149871499715007150171502715037150471505715067150771508715097151071511715127151371514715157151671517715187151971520715217152271523715247152571526715277152871529715307153171532715337153471535715367153771538715397154071541715427154371544715457154671547715487154971550715517155271553715547155571556715577155871559715607156171562715637156471565715667156771568715697157071571715727157371574715757157671577715787157971580715817158271583715847158571586715877158871589715907159171592715937159471595715967159771598715997160071601716027160371604716057160671607716087160971610716117161271613716147161571616716177161871619716207162171622716237162471625716267162771628716297163071631716327163371634716357163671637716387163971640716417164271643716447164571646716477164871649716507165171652716537165471655716567165771658716597166071661716627166371664716657166671667716687166971670716717167271673716747167571676716777167871679716807168171682716837168471685716867168771688716897169071691716927169371694716957169671697716987169971700717017170271703717047170571706717077170871709717107171171712717137171471715717167171771718717197172071721717227172371724717257172671727717287172971730717317173271733717347173571736717377173871739717407174171742717437174471745717467174771748717497175071751717527175371754717557175671757717587175971760717617176271763717647176571766717677176871769717707177171772717737177471775717767177771778717797178071781717827178371784717857178671787717887178971790717917179271793717947179571796717977179871799718007180171802718037180471805718067180771808718097181071811718127181371814718157181671817718187181971820718217182271823718247182571826718277182871829718307183171832718337183471835718367183771838718397184071841718427184371844718457184671847718487184971850718517185271853718547185571856718577185871859718607186171862718637186471865718667186771868718697187071871718727187371874718757187671877718787187971880718817188271883718847188571886718877188871889718907189171892718937189471895718967189771898718997190071901719027190371904719057190671907719087190971910719117191271913719147191571916719177191871919719207192171922719237192471925719267192771928719297193071931719327193371934719357193671937719387193971940719417194271943719447194571946719477194871949719507195171952719537195471955719567195771958719597196071961719627196371964719657196671967719687196971970719717197271973719747197571976719777197871979719807198171982719837198471985719867198771988719897199071991719927199371994719957199671997719987199972000720017200272003720047200572006720077200872009720107201172012720137201472015720167201772018720197202072021720227202372024720257202672027720287202972030720317203272033720347203572036720377203872039720407204172042720437204472045720467204772048720497205072051720527205372054720557205672057720587205972060720617206272063720647206572066720677206872069720707207172072720737207472075720767207772078720797208072081720827208372084720857208672087720887208972090720917209272093720947209572096720977209872099721007210172102721037210472105721067210772108721097211072111721127211372114721157211672117721187211972120721217212272123721247212572126721277212872129721307213172132721337213472135721367213772138721397214072141721427214372144721457214672147721487214972150721517215272153721547215572156721577215872159721607216172162721637216472165721667216772168721697217072171721727217372174721757217672177721787217972180721817218272183721847218572186721877218872189721907219172192721937219472195721967219772198721997220072201722027220372204722057220672207722087220972210722117221272213722147221572216722177221872219722207222172222722237222472225722267222772228722297223072231722327223372234722357223672237722387223972240722417224272243722447224572246722477224872249722507225172252722537225472255722567225772258722597226072261722627226372264722657226672267722687226972270722717227272273722747227572276722777227872279722807228172282722837228472285722867228772288722897229072291722927229372294722957229672297722987229972300723017230272303723047230572306723077230872309723107231172312723137231472315723167231772318723197232072321723227232372324723257232672327723287232972330723317233272333723347233572336723377233872339723407234172342723437234472345723467234772348723497235072351723527235372354723557235672357723587235972360723617236272363723647236572366723677236872369723707237172372723737237472375723767237772378723797238072381723827238372384723857238672387723887238972390723917239272393723947239572396723977239872399724007240172402724037240472405724067240772408724097241072411724127241372414724157241672417724187241972420724217242272423724247242572426724277242872429724307243172432724337243472435724367243772438724397244072441724427244372444724457244672447724487244972450724517245272453724547245572456724577245872459724607246172462724637246472465724667246772468724697247072471724727247372474724757247672477724787247972480724817248272483724847248572486724877248872489724907249172492724937249472495724967249772498724997250072501725027250372504725057250672507725087250972510725117251272513725147251572516725177251872519725207252172522725237252472525725267252772528725297253072531725327253372534725357253672537725387253972540725417254272543725447254572546725477254872549725507255172552725537255472555725567255772558725597256072561725627256372564725657256672567725687256972570725717257272573725747257572576725777257872579725807258172582725837258472585725867258772588725897259072591725927259372594725957259672597725987259972600726017260272603726047260572606726077260872609726107261172612726137261472615726167261772618726197262072621726227262372624726257262672627726287262972630726317263272633726347263572636726377263872639726407264172642726437264472645726467264772648726497265072651726527265372654726557265672657726587265972660726617266272663726647266572666726677266872669726707267172672726737267472675726767267772678726797268072681726827268372684726857268672687726887268972690726917269272693726947269572696726977269872699727007270172702727037270472705727067270772708727097271072711727127271372714727157271672717727187271972720727217272272723727247272572726727277272872729727307273172732727337273472735727367273772738727397274072741727427274372744727457274672747727487274972750727517275272753727547275572756727577275872759727607276172762727637276472765727667276772768727697277072771727727277372774727757277672777727787277972780727817278272783727847278572786727877278872789727907279172792727937279472795727967279772798727997280072801728027280372804728057280672807728087280972810728117281272813728147281572816728177281872819728207282172822728237282472825728267282772828728297283072831728327283372834728357283672837728387283972840728417284272843728447284572846728477284872849728507285172852728537285472855728567285772858728597286072861728627286372864728657286672867728687286972870728717287272873728747287572876728777287872879728807288172882728837288472885728867288772888728897289072891728927289372894728957289672897728987289972900729017290272903729047290572906729077290872909729107291172912729137291472915729167291772918729197292072921729227292372924729257292672927729287292972930729317293272933729347293572936729377293872939729407294172942729437294472945729467294772948729497295072951729527295372954729557295672957729587295972960729617296272963729647296572966729677296872969729707297172972729737297472975729767297772978729797298072981729827298372984729857298672987729887298972990729917299272993729947299572996729977299872999730007300173002730037300473005730067300773008730097301073011730127301373014730157301673017730187301973020730217302273023730247302573026730277302873029730307303173032730337303473035730367303773038730397304073041730427304373044730457304673047730487304973050730517305273053730547305573056730577305873059730607306173062730637306473065730667306773068730697307073071730727307373074730757307673077730787307973080730817308273083730847308573086730877308873089730907309173092730937309473095730967309773098730997310073101731027310373104731057310673107731087310973110731117311273113731147311573116731177311873119731207312173122731237312473125731267312773128731297313073131731327313373134731357313673137731387313973140731417314273143731447314573146731477314873149731507315173152731537315473155731567315773158731597316073161731627316373164731657316673167731687316973170731717317273173731747317573176731777317873179731807318173182731837318473185731867318773188731897319073191731927319373194731957319673197731987319973200732017320273203732047320573206732077320873209732107321173212732137321473215732167321773218732197322073221732227322373224732257322673227732287322973230732317323273233732347323573236732377323873239732407324173242732437324473245732467324773248732497325073251732527325373254732557325673257732587325973260732617326273263732647326573266732677326873269732707327173272732737327473275732767327773278732797328073281732827328373284732857328673287732887328973290732917329273293732947329573296732977329873299733007330173302733037330473305733067330773308733097331073311733127331373314733157331673317733187331973320733217332273323733247332573326733277332873329733307333173332733337333473335733367333773338733397334073341733427334373344733457334673347733487334973350733517335273353733547335573356733577335873359733607336173362733637336473365733667336773368733697337073371733727337373374733757337673377733787337973380733817338273383733847338573386733877338873389733907339173392733937339473395733967339773398733997340073401734027340373404734057340673407734087340973410734117341273413734147341573416734177341873419734207342173422734237342473425734267342773428734297343073431734327343373434734357343673437734387343973440734417344273443734447344573446734477344873449734507345173452734537345473455734567345773458734597346073461734627346373464734657346673467734687346973470734717347273473734747347573476734777347873479734807348173482734837348473485734867348773488734897349073491734927349373494734957349673497734987349973500735017350273503735047350573506735077350873509735107351173512735137351473515735167351773518735197352073521735227352373524735257352673527735287352973530735317353273533735347353573536735377353873539735407354173542735437354473545735467354773548735497355073551735527355373554735557355673557735587355973560735617356273563735647356573566735677356873569735707357173572735737357473575735767357773578735797358073581735827358373584735857358673587735887358973590735917359273593735947359573596735977359873599736007360173602736037360473605736067360773608736097361073611736127361373614736157361673617736187361973620736217362273623736247362573626736277362873629736307363173632736337363473635736367363773638736397364073641736427364373644736457364673647736487364973650736517365273653736547365573656736577365873659736607366173662736637366473665736667366773668736697367073671736727367373674736757367673677736787367973680736817368273683736847368573686736877368873689736907369173692736937369473695736967369773698736997370073701737027370373704737057370673707737087370973710737117371273713737147371573716737177371873719737207372173722737237372473725737267372773728737297373073731737327373373734737357373673737737387373973740737417374273743737447374573746737477374873749737507375173752737537375473755737567375773758737597376073761737627376373764737657376673767737687376973770737717377273773737747377573776737777377873779737807378173782737837378473785737867378773788737897379073791737927379373794737957379673797737987379973800738017380273803738047380573806738077380873809738107381173812738137381473815738167381773818738197382073821738227382373824738257382673827738287382973830738317383273833738347383573836738377383873839738407384173842738437384473845738467384773848738497385073851738527385373854738557385673857738587385973860738617386273863738647386573866738677386873869738707387173872738737387473875738767387773878738797388073881738827388373884738857388673887738887388973890738917389273893738947389573896738977389873899739007390173902739037390473905739067390773908739097391073911739127391373914739157391673917739187391973920739217392273923739247392573926739277392873929739307393173932739337393473935739367393773938739397394073941739427394373944739457394673947739487394973950739517395273953739547395573956739577395873959739607396173962739637396473965739667396773968739697397073971739727397373974739757397673977739787397973980739817398273983739847398573986739877398873989739907399173992739937399473995739967399773998739997400074001740027400374004740057400674007740087400974010740117401274013740147401574016740177401874019740207402174022740237402474025740267402774028740297403074031740327403374034740357403674037740387403974040740417404274043740447404574046740477404874049740507405174052740537405474055740567405774058740597406074061740627406374064740657406674067740687406974070740717407274073740747407574076740777407874079740807408174082740837408474085740867408774088740897409074091740927409374094740957409674097740987409974100741017410274103741047410574106741077410874109741107411174112741137411474115741167411774118741197412074121741227412374124741257412674127741287412974130741317413274133741347413574136741377413874139741407414174142741437414474145741467414774148741497415074151741527415374154741557415674157741587415974160741617416274163741647416574166741677416874169741707417174172741737417474175741767417774178741797418074181741827418374184741857418674187741887418974190741917419274193741947419574196741977419874199742007420174202742037420474205742067420774208742097421074211742127421374214742157421674217742187421974220742217422274223742247422574226742277422874229742307423174232742337423474235742367423774238742397424074241742427424374244742457424674247742487424974250742517425274253742547425574256742577425874259742607426174262742637426474265742667426774268742697427074271742727427374274742757427674277742787427974280742817428274283742847428574286742877428874289742907429174292742937429474295742967429774298742997430074301743027430374304743057430674307743087430974310743117431274313743147431574316743177431874319743207432174322743237432474325743267432774328743297433074331743327433374334743357433674337743387433974340743417434274343743447434574346743477434874349743507435174352743537435474355743567435774358743597436074361743627436374364743657436674367743687436974370743717437274373743747437574376743777437874379743807438174382743837438474385743867438774388743897439074391743927439374394743957439674397743987439974400744017440274403744047440574406744077440874409744107441174412744137441474415744167441774418744197442074421744227442374424744257442674427744287442974430744317443274433744347443574436744377443874439744407444174442744437444474445744467444774448744497445074451744527445374454744557445674457744587445974460744617446274463744647446574466744677446874469744707447174472744737447474475744767447774478744797448074481744827448374484744857448674487744887448974490744917449274493744947449574496744977449874499745007450174502745037450474505745067450774508745097451074511745127451374514745157451674517745187451974520745217452274523745247452574526745277452874529745307453174532745337453474535745367453774538745397454074541745427454374544745457454674547745487454974550745517455274553745547455574556745577455874559745607456174562745637456474565745667456774568745697457074571745727457374574745757457674577745787457974580745817458274583745847458574586745877458874589745907459174592745937459474595745967459774598745997460074601746027460374604746057460674607746087460974610746117461274613746147461574616746177461874619746207462174622746237462474625746267462774628746297463074631746327463374634746357463674637746387463974640746417464274643746447464574646746477464874649746507465174652746537465474655746567465774658746597466074661746627466374664746657466674667746687466974670746717467274673746747467574676746777467874679746807468174682746837468474685746867468774688746897469074691746927469374694746957469674697746987469974700747017470274703747047470574706747077470874709747107471174712747137471474715747167471774718747197472074721747227472374724747257472674727747287472974730747317473274733747347473574736747377473874739747407474174742747437474474745747467474774748747497475074751747527475374754747557475674757747587475974760747617476274763747647476574766747677476874769747707477174772747737477474775747767477774778747797478074781747827478374784747857478674787747887478974790747917479274793747947479574796747977479874799748007480174802748037480474805748067480774808748097481074811748127481374814748157481674817748187481974820748217482274823748247482574826748277482874829748307483174832748337483474835748367483774838748397484074841748427484374844748457484674847748487484974850748517485274853748547485574856748577485874859748607486174862748637486474865748667486774868748697487074871748727487374874748757487674877748787487974880748817488274883748847488574886748877488874889748907489174892748937489474895748967489774898748997490074901749027490374904749057490674907749087490974910749117491274913749147491574916749177491874919749207492174922749237492474925749267492774928749297493074931749327493374934749357493674937749387493974940749417494274943749447494574946749477494874949749507495174952749537495474955749567495774958749597496074961749627496374964749657496674967749687496974970749717497274973749747497574976749777497874979749807498174982749837498474985749867498774988749897499074991749927499374994749957499674997749987499975000750017500275003750047500575006750077500875009750107501175012750137501475015750167501775018750197502075021750227502375024750257502675027750287502975030750317503275033750347503575036750377503875039750407504175042750437504475045750467504775048750497505075051750527505375054750557505675057750587505975060750617506275063750647506575066750677506875069750707507175072750737507475075750767507775078750797508075081750827508375084750857508675087750887508975090750917509275093750947509575096750977509875099751007510175102751037510475105751067510775108751097511075111751127511375114751157511675117751187511975120751217512275123751247512575126751277512875129751307513175132751337513475135751367513775138751397514075141751427514375144751457514675147751487514975150751517515275153751547515575156751577515875159751607516175162751637516475165751667516775168751697517075171751727517375174751757517675177751787517975180751817518275183751847518575186751877518875189751907519175192751937519475195751967519775198751997520075201752027520375204752057520675207752087520975210752117521275213752147521575216752177521875219752207522175222752237522475225752267522775228752297523075231752327523375234752357523675237752387523975240752417524275243752447524575246752477524875249752507525175252752537525475255752567525775258752597526075261752627526375264752657526675267752687526975270752717527275273752747527575276752777527875279752807528175282752837528475285752867528775288752897529075291752927529375294752957529675297752987529975300753017530275303753047530575306753077530875309753107531175312753137531475315753167531775318753197532075321753227532375324753257532675327753287532975330753317533275333753347533575336753377533875339753407534175342753437534475345753467534775348753497535075351753527535375354753557535675357753587535975360753617536275363753647536575366753677536875369753707537175372753737537475375753767537775378753797538075381753827538375384753857538675387753887538975390753917539275393753947539575396753977539875399754007540175402754037540475405754067540775408754097541075411754127541375414754157541675417754187541975420754217542275423754247542575426754277542875429754307543175432754337543475435754367543775438754397544075441754427544375444754457544675447754487544975450754517545275453754547545575456754577545875459754607546175462754637546475465754667546775468754697547075471754727547375474754757547675477754787547975480754817548275483754847548575486754877548875489754907549175492754937549475495754967549775498754997550075501755027550375504755057550675507755087550975510755117551275513755147551575516755177551875519755207552175522755237552475525755267552775528755297553075531755327553375534755357553675537755387553975540755417554275543755447554575546755477554875549755507555175552755537555475555755567555775558755597556075561755627556375564755657556675567755687556975570755717557275573755747557575576755777557875579755807558175582755837558475585755867558775588755897559075591755927559375594755957559675597755987559975600756017560275603756047560575606756077560875609756107561175612756137561475615756167561775618756197562075621756227562375624756257562675627756287562975630756317563275633756347563575636756377563875639756407564175642756437564475645756467564775648756497565075651756527565375654756557565675657756587565975660756617566275663756647566575666756677566875669756707567175672756737567475675756767567775678756797568075681756827568375684756857568675687756887568975690756917569275693756947569575696756977569875699757007570175702757037570475705757067570775708757097571075711757127571375714757157571675717757187571975720757217572275723757247572575726757277572875729757307573175732757337573475735757367573775738757397574075741757427574375744757457574675747757487574975750757517575275753757547575575756757577575875759757607576175762757637576475765757667576775768757697577075771757727577375774757757577675777757787577975780757817578275783757847578575786757877578875789757907579175792757937579475795757967579775798757997580075801758027580375804758057580675807758087580975810758117581275813758147581575816758177581875819758207582175822758237582475825758267582775828758297583075831758327583375834758357583675837758387583975840758417584275843758447584575846758477584875849758507585175852758537585475855758567585775858758597586075861758627586375864758657586675867758687586975870758717587275873758747587575876758777587875879758807588175882758837588475885758867588775888758897589075891758927589375894758957589675897758987589975900759017590275903759047590575906759077590875909759107591175912759137591475915759167591775918759197592075921759227592375924759257592675927759287592975930759317593275933759347593575936759377593875939759407594175942759437594475945759467594775948759497595075951759527595375954759557595675957759587595975960759617596275963759647596575966759677596875969759707597175972759737597475975759767597775978759797598075981759827598375984759857598675987759887598975990759917599275993759947599575996759977599875999760007600176002760037600476005760067600776008760097601076011760127601376014760157601676017760187601976020760217602276023760247602576026760277602876029760307603176032760337603476035760367603776038760397604076041760427604376044760457604676047760487604976050760517605276053760547605576056760577605876059760607606176062760637606476065760667606776068760697607076071760727607376074760757607676077760787607976080760817608276083760847608576086760877608876089760907609176092760937609476095760967609776098760997610076101761027610376104761057610676107761087610976110761117611276113761147611576116761177611876119761207612176122761237612476125761267612776128761297613076131761327613376134761357613676137761387613976140761417614276143761447614576146761477614876149761507615176152761537615476155761567615776158761597616076161761627616376164761657616676167761687616976170761717617276173761747617576176761777617876179761807618176182761837618476185761867618776188761897619076191761927619376194761957619676197761987619976200762017620276203762047620576206762077620876209762107621176212762137621476215762167621776218762197622076221762227622376224762257622676227762287622976230762317623276233762347623576236762377623876239762407624176242762437624476245762467624776248762497625076251762527625376254762557625676257762587625976260762617626276263762647626576266762677626876269762707627176272762737627476275762767627776278762797628076281762827628376284762857628676287762887628976290762917629276293762947629576296762977629876299763007630176302763037630476305763067630776308763097631076311763127631376314763157631676317763187631976320763217632276323763247632576326763277632876329763307633176332763337633476335763367633776338763397634076341763427634376344763457634676347763487634976350763517635276353763547635576356763577635876359763607636176362763637636476365763667636776368763697637076371763727637376374763757637676377763787637976380763817638276383763847638576386763877638876389763907639176392763937639476395763967639776398763997640076401764027640376404764057640676407764087640976410764117641276413764147641576416764177641876419764207642176422764237642476425764267642776428764297643076431764327643376434764357643676437764387643976440764417644276443764447644576446764477644876449764507645176452764537645476455764567645776458764597646076461764627646376464764657646676467764687646976470764717647276473764747647576476764777647876479764807648176482764837648476485764867648776488764897649076491764927649376494764957649676497764987649976500765017650276503765047650576506765077650876509765107651176512765137651476515765167651776518765197652076521765227652376524765257652676527765287652976530765317653276533765347653576536765377653876539765407654176542765437654476545765467654776548765497655076551765527655376554765557655676557765587655976560765617656276563765647656576566765677656876569765707657176572765737657476575765767657776578765797658076581765827658376584765857658676587765887658976590765917659276593765947659576596765977659876599766007660176602766037660476605766067660776608766097661076611766127661376614766157661676617766187661976620766217662276623766247662576626766277662876629766307663176632766337663476635766367663776638766397664076641766427664376644766457664676647766487664976650766517665276653766547665576656766577665876659766607666176662766637666476665766667666776668766697667076671766727667376674766757667676677766787667976680766817668276683766847668576686766877668876689766907669176692766937669476695766967669776698766997670076701767027670376704767057670676707767087670976710767117671276713767147671576716767177671876719767207672176722767237672476725767267672776728767297673076731767327673376734767357673676737767387673976740767417674276743767447674576746767477674876749767507675176752767537675476755767567675776758767597676076761767627676376764767657676676767767687676976770767717677276773767747677576776767777677876779767807678176782767837678476785767867678776788767897679076791767927679376794767957679676797767987679976800768017680276803768047680576806768077680876809768107681176812768137681476815768167681776818768197682076821768227682376824768257682676827768287682976830768317683276833768347683576836768377683876839768407684176842768437684476845768467684776848768497685076851768527685376854768557685676857768587685976860768617686276863768647686576866768677686876869768707687176872768737687476875768767687776878768797688076881768827688376884768857688676887768887688976890768917689276893768947689576896768977689876899769007690176902769037690476905769067690776908769097691076911769127691376914769157691676917769187691976920769217692276923769247692576926769277692876929769307693176932769337693476935769367693776938769397694076941769427694376944769457694676947769487694976950769517695276953769547695576956769577695876959769607696176962769637696476965769667696776968769697697076971769727697376974769757697676977769787697976980769817698276983769847698576986769877698876989769907699176992769937699476995769967699776998769997700077001770027700377004770057700677007770087700977010770117701277013770147701577016770177701877019770207702177022770237702477025770267702777028770297703077031770327703377034770357703677037770387703977040770417704277043770447704577046770477704877049770507705177052770537705477055770567705777058770597706077061770627706377064770657706677067770687706977070770717707277073770747707577076770777707877079770807708177082770837708477085770867708777088770897709077091770927709377094770957709677097770987709977100771017710277103771047710577106771077710877109771107711177112771137711477115771167711777118771197712077121771227712377124771257712677127771287712977130771317713277133771347713577136771377713877139771407714177142771437714477145771467714777148771497715077151771527715377154771557715677157771587715977160771617716277163771647716577166771677716877169771707717177172771737717477175771767717777178771797718077181771827718377184771857718677187771887718977190771917719277193771947719577196771977719877199772007720177202772037720477205772067720777208772097721077211772127721377214772157721677217772187721977220772217722277223772247722577226772277722877229772307723177232772337723477235772367723777238772397724077241772427724377244772457724677247772487724977250772517725277253772547725577256772577725877259772607726177262772637726477265772667726777268772697727077271772727727377274772757727677277772787727977280772817728277283772847728577286772877728877289772907729177292772937729477295772967729777298772997730077301773027730377304773057730677307773087730977310773117731277313773147731577316773177731877319773207732177322773237732477325773267732777328773297733077331773327733377334773357733677337773387733977340773417734277343773447734577346773477734877349773507735177352773537735477355773567735777358773597736077361773627736377364773657736677367773687736977370773717737277373773747737577376773777737877379773807738177382773837738477385773867738777388773897739077391773927739377394773957739677397773987739977400774017740277403774047740577406774077740877409774107741177412774137741477415774167741777418774197742077421774227742377424774257742677427774287742977430774317743277433774347743577436774377743877439774407744177442774437744477445774467744777448774497745077451774527745377454774557745677457774587745977460774617746277463774647746577466774677746877469774707747177472774737747477475774767747777478774797748077481774827748377484774857748677487774887748977490774917749277493774947749577496774977749877499775007750177502775037750477505775067750777508775097751077511775127751377514775157751677517775187751977520775217752277523775247752577526775277752877529775307753177532775337753477535775367753777538775397754077541775427754377544775457754677547775487754977550775517755277553775547755577556775577755877559775607756177562775637756477565775667756777568775697757077571775727757377574775757757677577775787757977580775817758277583775847758577586775877758877589775907759177592775937759477595775967759777598775997760077601776027760377604776057760677607776087760977610776117761277613776147761577616776177761877619776207762177622776237762477625776267762777628776297763077631776327763377634776357763677637776387763977640776417764277643776447764577646776477764877649776507765177652776537765477655776567765777658776597766077661776627766377664776657766677667776687766977670776717767277673776747767577676776777767877679776807768177682776837768477685776867768777688776897769077691776927769377694776957769677697776987769977700777017770277703777047770577706777077770877709777107771177712777137771477715777167771777718777197772077721777227772377724777257772677727777287772977730777317773277733777347773577736777377773877739777407774177742777437774477745777467774777748777497775077751777527775377754777557775677757777587775977760777617776277763777647776577766777677776877769777707777177772777737777477775777767777777778777797778077781777827778377784777857778677787777887778977790777917779277793777947779577796777977779877799778007780177802778037780477805778067780777808778097781077811778127781377814778157781677817778187781977820778217782277823778247782577826778277782877829778307783177832778337783477835778367783777838778397784077841778427784377844778457784677847778487784977850778517785277853778547785577856778577785877859778607786177862778637786477865778667786777868778697787077871778727787377874778757787677877778787787977880778817788277883778847788577886778877788877889778907789177892778937789477895778967789777898778997790077901779027790377904779057790677907779087790977910779117791277913779147791577916779177791877919779207792177922779237792477925779267792777928779297793077931779327793377934779357793677937779387793977940779417794277943779447794577946779477794877949779507795177952779537795477955779567795777958779597796077961779627796377964779657796677967779687796977970779717797277973779747797577976779777797877979779807798177982779837798477985779867798777988779897799077991779927799377994779957799677997779987799978000780017800278003780047800578006780077800878009780107801178012780137801478015780167801778018780197802078021780227802378024780257802678027780287802978030780317803278033780347803578036780377803878039780407804178042780437804478045780467804778048780497805078051780527805378054780557805678057780587805978060780617806278063780647806578066780677806878069780707807178072780737807478075780767807778078780797808078081780827808378084780857808678087780887808978090780917809278093780947809578096780977809878099781007810178102781037810478105781067810778108781097811078111781127811378114781157811678117781187811978120781217812278123781247812578126781277812878129781307813178132781337813478135781367813778138781397814078141781427814378144781457814678147781487814978150781517815278153781547815578156781577815878159781607816178162781637816478165781667816778168781697817078171781727817378174781757817678177781787817978180781817818278183781847818578186781877818878189781907819178192781937819478195781967819778198781997820078201782027820378204782057820678207782087820978210782117821278213782147821578216782177821878219782207822178222782237822478225782267822778228782297823078231782327823378234782357823678237782387823978240782417824278243782447824578246782477824878249782507825178252782537825478255782567825778258782597826078261782627826378264782657826678267782687826978270782717827278273782747827578276782777827878279782807828178282782837828478285782867828778288782897829078291782927829378294782957829678297782987829978300783017830278303783047830578306783077830878309783107831178312783137831478315783167831778318783197832078321783227832378324783257832678327783287832978330783317833278333783347833578336783377833878339783407834178342783437834478345783467834778348783497835078351783527835378354783557835678357783587835978360783617836278363783647836578366783677836878369783707837178372783737837478375783767837778378783797838078381783827838378384783857838678387783887838978390783917839278393783947839578396783977839878399784007840178402784037840478405784067840778408784097841078411784127841378414784157841678417784187841978420784217842278423784247842578426784277842878429784307843178432784337843478435784367843778438784397844078441784427844378444784457844678447784487844978450784517845278453784547845578456784577845878459784607846178462784637846478465784667846778468784697847078471784727847378474784757847678477784787847978480784817848278483784847848578486784877848878489784907849178492784937849478495784967849778498784997850078501785027850378504785057850678507785087850978510785117851278513785147851578516785177851878519785207852178522785237852478525785267852778528785297853078531785327853378534785357853678537785387853978540785417854278543785447854578546785477854878549785507855178552785537855478555785567855778558785597856078561785627856378564785657856678567785687856978570785717857278573785747857578576785777857878579785807858178582785837858478585785867858778588785897859078591785927859378594785957859678597785987859978600786017860278603786047860578606786077860878609786107861178612786137861478615786167861778618786197862078621786227862378624786257862678627786287862978630786317863278633786347863578636786377863878639786407864178642786437864478645786467864778648786497865078651786527865378654786557865678657786587865978660786617866278663786647866578666786677866878669786707867178672786737867478675786767867778678786797868078681786827868378684786857868678687786887868978690786917869278693786947869578696786977869878699787007870178702787037870478705787067870778708787097871078711787127871378714787157871678717787187871978720787217872278723787247872578726787277872878729787307873178732787337873478735787367873778738787397874078741787427874378744787457874678747787487874978750787517875278753787547875578756787577875878759787607876178762787637876478765787667876778768787697877078771787727877378774787757877678777787787877978780787817878278783787847878578786787877878878789787907879178792787937879478795787967879778798787997880078801788027880378804788057880678807788087880978810788117881278813788147881578816788177881878819788207882178822788237882478825788267882778828788297883078831788327883378834788357883678837788387883978840788417884278843788447884578846788477884878849788507885178852788537885478855788567885778858788597886078861788627886378864788657886678867788687886978870788717887278873788747887578876788777887878879788807888178882788837888478885788867888778888788897889078891788927889378894788957889678897788987889978900789017890278903789047890578906789077890878909789107891178912789137891478915789167891778918789197892078921789227892378924789257892678927789287892978930789317893278933789347893578936789377893878939789407894178942789437894478945789467894778948789497895078951789527895378954789557895678957789587895978960789617896278963789647896578966789677896878969789707897178972789737897478975789767897778978789797898078981789827898378984789857898678987789887898978990789917899278993789947899578996789977899878999790007900179002790037900479005790067900779008790097901079011790127901379014790157901679017790187901979020790217902279023790247902579026790277902879029790307903179032790337903479035790367903779038790397904079041790427904379044790457904679047790487904979050790517905279053790547905579056790577905879059790607906179062790637906479065790667906779068790697907079071790727907379074790757907679077790787907979080790817908279083790847908579086790877908879089790907909179092790937909479095790967909779098790997910079101791027910379104791057910679107791087910979110791117911279113791147911579116791177911879119791207912179122791237912479125791267912779128791297913079131791327913379134791357913679137791387913979140791417914279143791447914579146791477914879149791507915179152791537915479155791567915779158791597916079161791627916379164791657916679167791687916979170791717917279173791747917579176791777917879179791807918179182791837918479185791867918779188791897919079191791927919379194791957919679197791987919979200792017920279203792047920579206792077920879209792107921179212792137921479215792167921779218792197922079221792227922379224792257922679227792287922979230792317923279233792347923579236792377923879239792407924179242792437924479245792467924779248792497925079251792527925379254792557925679257792587925979260792617926279263792647926579266792677926879269792707927179272792737927479275792767927779278792797928079281792827928379284792857928679287792887928979290792917929279293792947929579296792977929879299793007930179302793037930479305793067930779308793097931079311793127931379314793157931679317793187931979320793217932279323793247932579326793277932879329793307933179332793337933479335793367933779338793397934079341793427934379344793457934679347793487934979350793517935279353793547935579356793577935879359793607936179362793637936479365793667936779368793697937079371793727937379374793757937679377793787937979380793817938279383793847938579386793877938879389793907939179392793937939479395793967939779398793997940079401794027940379404794057940679407794087940979410794117941279413794147941579416794177941879419794207942179422794237942479425794267942779428794297943079431794327943379434794357943679437794387943979440794417944279443794447944579446794477944879449794507945179452794537945479455794567945779458794597946079461794627946379464794657946679467794687946979470794717947279473794747947579476794777947879479794807948179482794837948479485794867948779488794897949079491794927949379494794957949679497794987949979500795017950279503795047950579506795077950879509795107951179512795137951479515795167951779518795197952079521795227952379524795257952679527795287952979530795317953279533795347953579536795377953879539795407954179542795437954479545795467954779548795497955079551795527955379554795557955679557795587955979560795617956279563795647956579566795677956879569795707957179572795737957479575795767957779578795797958079581795827958379584795857958679587795887958979590795917959279593795947959579596795977959879599796007960179602796037960479605796067960779608796097961079611796127961379614796157961679617796187961979620796217962279623796247962579626796277962879629796307963179632796337963479635796367963779638796397964079641796427964379644796457964679647796487964979650796517965279653796547965579656796577965879659796607966179662796637966479665796667966779668796697967079671796727967379674796757967679677796787967979680796817968279683796847968579686796877968879689796907969179692796937969479695796967969779698796997970079701797027970379704797057970679707797087970979710797117971279713797147971579716797177971879719797207972179722797237972479725797267972779728797297973079731797327973379734797357973679737797387973979740797417974279743797447974579746797477974879749797507975179752797537975479755797567975779758797597976079761797627976379764797657976679767797687976979770797717977279773797747977579776797777977879779797807978179782797837978479785797867978779788797897979079791797927979379794797957979679797797987979979800798017980279803798047980579806798077980879809798107981179812798137981479815798167981779818798197982079821798227982379824798257982679827798287982979830798317983279833798347983579836798377983879839798407984179842798437984479845798467984779848798497985079851798527985379854798557985679857798587985979860798617986279863798647986579866798677986879869798707987179872798737987479875798767987779878798797988079881798827988379884798857988679887798887988979890798917989279893798947989579896798977989879899799007990179902799037990479905799067990779908799097991079911799127991379914799157991679917799187991979920799217992279923799247992579926799277992879929799307993179932799337993479935799367993779938799397994079941799427994379944799457994679947799487994979950799517995279953799547995579956799577995879959799607996179962799637996479965799667996779968799697997079971799727997379974799757997679977799787997979980799817998279983799847998579986799877998879989799907999179992799937999479995799967999779998799998000080001800028000380004800058000680007800088000980010800118001280013800148001580016800178001880019800208002180022800238002480025800268002780028800298003080031800328003380034800358003680037800388003980040800418004280043800448004580046800478004880049800508005180052800538005480055800568005780058800598006080061800628006380064800658006680067800688006980070800718007280073800748007580076800778007880079800808008180082800838008480085800868008780088800898009080091800928009380094800958009680097800988009980100801018010280103801048010580106801078010880109801108011180112801138011480115801168011780118801198012080121801228012380124801258012680127801288012980130801318013280133801348013580136801378013880139801408014180142801438014480145801468014780148801498015080151801528015380154801558015680157801588015980160801618016280163801648016580166801678016880169801708017180172801738017480175801768017780178801798018080181801828018380184801858018680187801888018980190801918019280193801948019580196801978019880199802008020180202802038020480205802068020780208802098021080211802128021380214802158021680217802188021980220802218022280223802248022580226802278022880229802308023180232802338023480235802368023780238802398024080241802428024380244802458024680247802488024980250802518025280253802548025580256802578025880259802608026180262802638026480265802668026780268802698027080271802728027380274802758027680277802788027980280802818028280283802848028580286802878028880289802908029180292802938029480295802968029780298802998030080301803028030380304803058030680307803088030980310803118031280313803148031580316803178031880319803208032180322803238032480325803268032780328803298033080331803328033380334803358033680337803388033980340803418034280343803448034580346803478034880349803508035180352803538035480355803568035780358803598036080361803628036380364803658036680367803688036980370803718037280373803748037580376803778037880379803808038180382803838038480385803868038780388803898039080391803928039380394803958039680397803988039980400804018040280403804048040580406804078040880409804108041180412804138041480415804168041780418804198042080421804228042380424804258042680427804288042980430804318043280433804348043580436804378043880439804408044180442804438044480445804468044780448804498045080451804528045380454804558045680457804588045980460804618046280463804648046580466804678046880469804708047180472804738047480475804768047780478804798048080481804828048380484804858048680487804888048980490804918049280493804948049580496804978049880499805008050180502805038050480505805068050780508805098051080511805128051380514805158051680517805188051980520805218052280523805248052580526805278052880529805308053180532805338053480535805368053780538805398054080541805428054380544805458054680547805488054980550805518055280553805548055580556805578055880559805608056180562805638056480565805668056780568805698057080571805728057380574805758057680577805788057980580805818058280583805848058580586805878058880589805908059180592805938059480595805968059780598805998060080601806028060380604806058060680607806088060980610806118061280613806148061580616806178061880619806208062180622806238062480625806268062780628806298063080631806328063380634806358063680637806388063980640806418064280643806448064580646806478064880649806508065180652806538065480655806568065780658806598066080661806628066380664806658066680667806688066980670806718067280673806748067580676806778067880679806808068180682806838068480685806868068780688806898069080691806928069380694806958069680697806988069980700807018070280703807048070580706807078070880709807108071180712807138071480715807168071780718807198072080721807228072380724807258072680727807288072980730807318073280733807348073580736807378073880739807408074180742807438074480745807468074780748807498075080751807528075380754807558075680757807588075980760807618076280763807648076580766807678076880769807708077180772807738077480775807768077780778807798078080781807828078380784807858078680787807888078980790807918079280793807948079580796807978079880799808008080180802808038080480805808068080780808808098081080811808128081380814808158081680817808188081980820808218082280823808248082580826808278082880829808308083180832808338083480835808368083780838808398084080841808428084380844808458084680847808488084980850808518085280853808548085580856808578085880859808608086180862808638086480865808668086780868808698087080871808728087380874808758087680877808788087980880808818088280883808848088580886808878088880889808908089180892808938089480895808968089780898808998090080901809028090380904809058090680907809088090980910809118091280913809148091580916809178091880919809208092180922809238092480925809268092780928809298093080931809328093380934809358093680937809388093980940809418094280943809448094580946809478094880949809508095180952809538095480955809568095780958809598096080961809628096380964809658096680967809688096980970809718097280973809748097580976809778097880979809808098180982809838098480985809868098780988809898099080991809928099380994809958099680997809988099981000810018100281003810048100581006810078100881009810108101181012810138101481015810168101781018810198102081021810228102381024810258102681027810288102981030810318103281033810348103581036810378103881039810408104181042810438104481045810468104781048810498105081051810528105381054810558105681057810588105981060810618106281063810648106581066810678106881069810708107181072810738107481075810768107781078810798108081081810828108381084810858108681087810888108981090810918109281093810948109581096810978109881099811008110181102811038110481105811068110781108811098111081111811128111381114811158111681117811188111981120811218112281123811248112581126811278112881129811308113181132811338113481135811368113781138811398114081141811428114381144811458114681147811488114981150811518115281153811548115581156811578115881159811608116181162811638116481165811668116781168811698117081171811728117381174811758117681177811788117981180811818118281183811848118581186811878118881189811908119181192811938119481195811968119781198811998120081201812028120381204812058120681207812088120981210812118121281213812148121581216812178121881219812208122181222812238122481225812268122781228812298123081231812328123381234812358123681237812388123981240812418124281243812448124581246812478124881249812508125181252812538125481255812568125781258812598126081261812628126381264812658126681267812688126981270812718127281273812748127581276812778127881279812808128181282812838128481285812868128781288812898129081291812928129381294812958129681297812988129981300813018130281303813048130581306813078130881309813108131181312813138131481315813168131781318813198132081321813228132381324813258132681327813288132981330813318133281333813348133581336813378133881339813408134181342813438134481345813468134781348813498135081351813528135381354813558135681357813588135981360813618136281363813648136581366813678136881369813708137181372813738137481375813768137781378813798138081381813828138381384813858138681387813888138981390813918139281393813948139581396813978139881399814008140181402814038140481405814068140781408814098141081411814128141381414814158141681417814188141981420814218142281423814248142581426814278142881429814308143181432814338143481435814368143781438814398144081441814428144381444814458144681447814488144981450814518145281453814548145581456814578145881459814608146181462814638146481465814668146781468814698147081471814728147381474814758147681477814788147981480814818148281483814848148581486814878148881489814908149181492814938149481495814968149781498814998150081501815028150381504815058150681507815088150981510815118151281513815148151581516815178151881519815208152181522815238152481525815268152781528815298153081531815328153381534815358153681537815388153981540815418154281543815448154581546815478154881549815508155181552815538155481555815568155781558815598156081561815628156381564815658156681567815688156981570815718157281573815748157581576815778157881579815808158181582815838158481585815868158781588815898159081591815928159381594815958159681597815988159981600816018160281603816048160581606816078160881609816108161181612816138161481615816168161781618816198162081621816228162381624816258162681627816288162981630816318163281633816348163581636816378163881639816408164181642816438164481645816468164781648816498165081651816528165381654816558165681657816588165981660816618166281663816648166581666816678166881669816708167181672816738167481675816768167781678816798168081681816828168381684816858168681687816888168981690816918169281693816948169581696816978169881699817008170181702817038170481705817068170781708817098171081711817128171381714817158171681717817188171981720817218172281723817248172581726817278172881729817308173181732817338173481735817368173781738817398174081741817428174381744817458174681747817488174981750817518175281753817548175581756817578175881759817608176181762817638176481765817668176781768817698177081771817728177381774817758177681777817788177981780817818178281783817848178581786817878178881789817908179181792817938179481795817968179781798817998180081801818028180381804818058180681807818088180981810818118181281813818148181581816818178181881819818208182181822818238182481825818268182781828818298183081831818328183381834818358183681837818388183981840818418184281843818448184581846818478184881849818508185181852818538185481855818568185781858818598186081861818628186381864818658186681867818688186981870818718187281873818748187581876818778187881879818808188181882818838188481885818868188781888818898189081891818928189381894818958189681897818988189981900819018190281903819048190581906819078190881909819108191181912819138191481915819168191781918819198192081921819228192381924819258192681927819288192981930819318193281933819348193581936819378193881939819408194181942819438194481945819468194781948819498195081951819528195381954819558195681957819588195981960819618196281963819648196581966819678196881969819708197181972819738197481975819768197781978819798198081981819828198381984819858198681987819888198981990819918199281993819948199581996819978199881999820008200182002820038200482005820068200782008820098201082011820128201382014820158201682017820188201982020820218202282023820248202582026820278202882029820308203182032820338203482035820368203782038820398204082041820428204382044820458204682047820488204982050820518205282053820548205582056820578205882059820608206182062820638206482065820668206782068820698207082071820728207382074820758207682077820788207982080820818208282083820848208582086820878208882089820908209182092820938209482095820968209782098820998210082101821028210382104821058210682107821088210982110821118211282113821148211582116821178211882119821208212182122821238212482125821268212782128821298213082131821328213382134821358213682137821388213982140821418214282143821448214582146821478214882149821508215182152821538215482155821568215782158821598216082161821628216382164821658216682167821688216982170821718217282173821748217582176821778217882179821808218182182821838218482185821868218782188821898219082191821928219382194821958219682197821988219982200822018220282203822048220582206822078220882209822108221182212822138221482215822168221782218822198222082221822228222382224822258222682227822288222982230822318223282233822348223582236822378223882239822408224182242822438224482245822468224782248822498225082251822528225382254822558225682257822588225982260822618226282263822648226582266822678226882269822708227182272822738227482275822768227782278822798228082281822828228382284822858228682287822888228982290822918229282293822948229582296822978229882299823008230182302823038230482305823068230782308823098231082311823128231382314823158231682317823188231982320823218232282323823248232582326823278232882329823308233182332823338233482335823368233782338823398234082341823428234382344823458234682347823488234982350823518235282353823548235582356823578235882359823608236182362823638236482365823668236782368823698237082371823728237382374823758237682377823788237982380823818238282383823848238582386823878238882389823908239182392823938239482395823968239782398823998240082401824028240382404824058240682407824088240982410824118241282413824148241582416824178241882419824208242182422824238242482425824268242782428824298243082431824328243382434824358243682437824388243982440824418244282443824448244582446824478244882449824508245182452824538245482455824568245782458824598246082461824628246382464824658246682467824688246982470824718247282473824748247582476824778247882479824808248182482824838248482485824868248782488824898249082491824928249382494824958249682497824988249982500825018250282503825048250582506825078250882509825108251182512825138251482515825168251782518825198252082521825228252382524825258252682527825288252982530825318253282533825348253582536825378253882539825408254182542825438254482545825468254782548825498255082551825528255382554825558255682557825588255982560825618256282563825648256582566825678256882569825708257182572825738257482575825768257782578825798258082581825828258382584825858258682587825888258982590825918259282593825948259582596825978259882599826008260182602826038260482605826068260782608826098261082611826128261382614826158261682617826188261982620826218262282623826248262582626826278262882629826308263182632826338263482635826368263782638826398264082641826428264382644826458264682647826488264982650826518265282653826548265582656826578265882659826608266182662826638266482665826668266782668826698267082671826728267382674826758267682677826788267982680826818268282683826848268582686826878268882689826908269182692826938269482695826968269782698826998270082701827028270382704827058270682707827088270982710827118271282713827148271582716827178271882719827208272182722827238272482725827268272782728827298273082731827328273382734827358273682737827388273982740827418274282743827448274582746827478274882749827508275182752827538275482755827568275782758827598276082761827628276382764827658276682767827688276982770827718277282773827748277582776827778277882779827808278182782827838278482785827868278782788827898279082791827928279382794827958279682797827988279982800828018280282803828048280582806828078280882809828108281182812828138281482815828168281782818828198282082821828228282382824828258282682827828288282982830828318283282833828348283582836828378283882839828408284182842828438284482845828468284782848828498285082851828528285382854828558285682857828588285982860828618286282863828648286582866828678286882869828708287182872828738287482875828768287782878828798288082881828828288382884828858288682887828888288982890828918289282893828948289582896828978289882899829008290182902829038290482905829068290782908829098291082911829128291382914829158291682917829188291982920829218292282923829248292582926829278292882929829308293182932829338293482935829368293782938829398294082941829428294382944829458294682947829488294982950829518295282953829548295582956829578295882959829608296182962829638296482965829668296782968829698297082971829728297382974829758297682977829788297982980829818298282983829848298582986829878298882989829908299182992829938299482995829968299782998829998300083001830028300383004830058300683007830088300983010830118301283013830148301583016830178301883019830208302183022830238302483025830268302783028830298303083031830328303383034830358303683037830388303983040830418304283043830448304583046830478304883049830508305183052830538305483055830568305783058830598306083061830628306383064830658306683067830688306983070830718307283073830748307583076830778307883079830808308183082830838308483085830868308783088830898309083091830928309383094830958309683097830988309983100831018310283103831048310583106831078310883109831108311183112831138311483115831168311783118831198312083121831228312383124831258312683127831288312983130831318313283133831348313583136831378313883139831408314183142831438314483145831468314783148831498315083151831528315383154831558315683157831588315983160831618316283163831648316583166831678316883169831708317183172831738317483175831768317783178831798318083181831828318383184831858318683187831888318983190831918319283193831948319583196831978319883199832008320183202832038320483205832068320783208832098321083211832128321383214832158321683217832188321983220832218322283223832248322583226832278322883229832308323183232832338323483235832368323783238832398324083241832428324383244832458324683247832488324983250832518325283253832548325583256832578325883259832608326183262832638326483265832668326783268832698327083271832728327383274832758327683277832788327983280832818328283283832848328583286832878328883289832908329183292832938329483295832968329783298832998330083301833028330383304833058330683307833088330983310833118331283313833148331583316833178331883319833208332183322833238332483325833268332783328833298333083331833328333383334833358333683337833388333983340833418334283343833448334583346833478334883349833508335183352833538335483355833568335783358833598336083361833628336383364833658336683367833688336983370833718337283373833748337583376833778337883379833808338183382833838338483385833868338783388833898339083391833928339383394833958339683397833988339983400834018340283403834048340583406834078340883409834108341183412834138341483415834168341783418834198342083421834228342383424834258342683427834288342983430834318343283433834348343583436834378343883439834408344183442834438344483445834468344783448834498345083451834528345383454834558345683457834588345983460834618346283463834648346583466834678346883469834708347183472834738347483475834768347783478834798348083481834828348383484834858348683487834888348983490834918349283493834948349583496834978349883499835008350183502835038350483505835068350783508835098351083511835128351383514835158351683517835188351983520835218352283523835248352583526835278352883529835308353183532835338353483535835368353783538835398354083541835428354383544835458354683547835488354983550835518355283553835548355583556835578355883559835608356183562835638356483565835668356783568835698357083571835728357383574835758357683577835788357983580835818358283583835848358583586835878358883589835908359183592835938359483595835968359783598835998360083601836028360383604836058360683607836088360983610836118361283613836148361583616836178361883619836208362183622836238362483625836268362783628836298363083631836328363383634836358363683637836388363983640836418364283643836448364583646836478364883649836508365183652836538365483655836568365783658836598366083661836628366383664836658366683667836688366983670836718367283673836748367583676836778367883679836808368183682836838368483685836868368783688836898369083691836928369383694836958369683697836988369983700837018370283703837048370583706837078370883709837108371183712837138371483715837168371783718837198372083721837228372383724837258372683727837288372983730837318373283733837348373583736837378373883739837408374183742837438374483745837468374783748837498375083751837528375383754837558375683757837588375983760837618376283763837648376583766837678376883769837708377183772837738377483775837768377783778837798378083781837828378383784837858378683787837888378983790837918379283793837948379583796837978379883799838008380183802838038380483805838068380783808838098381083811838128381383814838158381683817838188381983820838218382283823838248382583826838278382883829838308383183832838338383483835838368383783838838398384083841838428384383844838458384683847838488384983850838518385283853838548385583856838578385883859838608386183862838638386483865838668386783868838698387083871838728387383874838758387683877838788387983880838818388283883838848388583886838878388883889838908389183892838938389483895838968389783898838998390083901839028390383904839058390683907839088390983910839118391283913839148391583916839178391883919839208392183922839238392483925839268392783928839298393083931839328393383934839358393683937839388393983940839418394283943839448394583946839478394883949839508395183952839538395483955839568395783958839598396083961839628396383964839658396683967839688396983970839718397283973839748397583976839778397883979839808398183982839838398483985839868398783988839898399083991839928399383994839958399683997839988399984000840018400284003840048400584006840078400884009840108401184012840138401484015840168401784018840198402084021840228402384024840258402684027840288402984030840318403284033840348403584036840378403884039840408404184042840438404484045840468404784048840498405084051840528405384054840558405684057840588405984060840618406284063840648406584066840678406884069840708407184072840738407484075840768407784078840798408084081840828408384084840858408684087840888408984090840918409284093840948409584096840978409884099841008410184102841038410484105841068410784108841098411084111841128411384114841158411684117841188411984120841218412284123841248412584126841278412884129841308413184132841338413484135841368413784138841398414084141841428414384144841458414684147841488414984150841518415284153841548415584156841578415884159841608416184162841638416484165841668416784168841698417084171841728417384174841758417684177841788417984180841818418284183841848418584186841878418884189841908419184192841938419484195841968419784198841998420084201842028420384204842058420684207842088420984210842118421284213842148421584216842178421884219842208422184222842238422484225842268422784228842298423084231842328423384234842358423684237842388423984240842418424284243842448424584246842478424884249842508425184252842538425484255842568425784258842598426084261842628426384264842658426684267842688426984270842718427284273842748427584276842778427884279842808428184282842838428484285842868428784288842898429084291842928429384294842958429684297842988429984300843018430284303843048430584306843078430884309843108431184312843138431484315843168431784318843198432084321843228432384324843258432684327843288432984330843318433284333843348433584336843378433884339843408434184342843438434484345843468434784348843498435084351843528435384354843558435684357843588435984360843618436284363843648436584366843678436884369843708437184372843738437484375843768437784378843798438084381843828438384384843858438684387843888438984390843918439284393843948439584396843978439884399844008440184402844038440484405844068440784408844098441084411844128441384414844158441684417844188441984420844218442284423844248442584426844278442884429844308443184432844338443484435844368443784438844398444084441844428444384444844458444684447844488444984450844518445284453844548445584456844578445884459844608446184462844638446484465844668446784468844698447084471844728447384474844758447684477844788447984480844818448284483844848448584486844878448884489844908449184492844938449484495844968449784498844998450084501845028450384504845058450684507845088450984510845118451284513845148451584516845178451884519845208452184522845238452484525845268452784528845298453084531845328453384534845358453684537845388453984540845418454284543845448454584546845478454884549845508455184552845538455484555845568455784558845598456084561845628456384564845658456684567845688456984570845718457284573845748457584576845778457884579845808458184582845838458484585845868458784588845898459084591845928459384594845958459684597845988459984600846018460284603846048460584606846078460884609846108461184612846138461484615846168461784618846198462084621846228462384624846258462684627846288462984630846318463284633846348463584636846378463884639846408464184642846438464484645846468464784648846498465084651846528465384654846558465684657846588465984660846618466284663846648466584666846678466884669846708467184672846738467484675846768467784678846798468084681846828468384684846858468684687846888468984690846918469284693846948469584696846978469884699847008470184702847038470484705847068470784708847098471084711847128471384714847158471684717847188471984720847218472284723847248472584726847278472884729847308473184732847338473484735847368473784738847398474084741847428474384744847458474684747847488474984750847518475284753847548475584756847578475884759847608476184762847638476484765847668476784768847698477084771847728477384774847758477684777847788477984780847818478284783847848478584786847878478884789847908479184792847938479484795847968479784798847998480084801848028480384804848058480684807848088480984810848118481284813848148481584816848178481884819848208482184822848238482484825848268482784828848298483084831848328483384834848358483684837848388483984840848418484284843848448484584846848478484884849848508485184852848538485484855848568485784858848598486084861848628486384864848658486684867848688486984870848718487284873848748487584876848778487884879848808488184882848838488484885848868488784888848898489084891848928489384894848958489684897848988489984900849018490284903849048490584906849078490884909849108491184912849138491484915849168491784918849198492084921849228492384924849258492684927849288492984930849318493284933849348493584936849378493884939849408494184942849438494484945849468494784948849498495084951849528495384954849558495684957849588495984960849618496284963849648496584966849678496884969849708497184972849738497484975849768497784978849798498084981849828498384984849858498684987849888498984990849918499284993849948499584996849978499884999850008500185002850038500485005850068500785008850098501085011850128501385014850158501685017850188501985020850218502285023850248502585026850278502885029850308503185032850338503485035850368503785038850398504085041850428504385044850458504685047850488504985050850518505285053850548505585056850578505885059850608506185062850638506485065850668506785068850698507085071850728507385074850758507685077850788507985080850818508285083850848508585086850878508885089850908509185092850938509485095850968509785098850998510085101851028510385104851058510685107851088510985110851118511285113851148511585116851178511885119851208512185122851238512485125851268512785128851298513085131851328513385134851358513685137851388513985140851418514285143851448514585146851478514885149851508515185152851538515485155851568515785158851598516085161851628516385164851658516685167851688516985170851718517285173851748517585176851778517885179851808518185182851838518485185851868518785188851898519085191851928519385194851958519685197851988519985200852018520285203852048520585206852078520885209852108521185212852138521485215852168521785218852198522085221852228522385224852258522685227852288522985230852318523285233852348523585236852378523885239852408524185242852438524485245852468524785248852498525085251852528525385254852558525685257852588525985260852618526285263852648526585266852678526885269852708527185272852738527485275852768527785278852798528085281852828528385284852858528685287852888528985290852918529285293852948529585296852978529885299853008530185302853038530485305853068530785308853098531085311853128531385314853158531685317853188531985320853218532285323853248532585326853278532885329853308533185332853338533485335853368533785338853398534085341853428534385344853458534685347853488534985350853518535285353853548535585356853578535885359853608536185362853638536485365853668536785368853698537085371853728537385374853758537685377853788537985380853818538285383853848538585386853878538885389853908539185392853938539485395853968539785398853998540085401854028540385404854058540685407854088540985410854118541285413854148541585416854178541885419854208542185422854238542485425854268542785428854298543085431854328543385434854358543685437854388543985440854418544285443854448544585446854478544885449854508545185452854538545485455854568545785458854598546085461854628546385464854658546685467854688546985470854718547285473854748547585476854778547885479854808548185482854838548485485854868548785488854898549085491854928549385494854958549685497854988549985500855018550285503855048550585506855078550885509855108551185512855138551485515855168551785518855198552085521855228552385524855258552685527855288552985530855318553285533855348553585536855378553885539855408554185542855438554485545855468554785548855498555085551855528555385554855558555685557855588555985560855618556285563855648556585566855678556885569855708557185572855738557485575855768557785578855798558085581855828558385584855858558685587855888558985590855918559285593855948559585596855978559885599856008560185602856038560485605856068560785608856098561085611856128561385614856158561685617856188561985620856218562285623856248562585626856278562885629856308563185632856338563485635856368563785638856398564085641856428564385644856458564685647856488564985650856518565285653856548565585656856578565885659856608566185662856638566485665856668566785668856698567085671856728567385674856758567685677856788567985680856818568285683856848568585686856878568885689856908569185692856938569485695856968569785698856998570085701857028570385704857058570685707857088570985710857118571285713857148571585716857178571885719857208572185722857238572485725857268572785728857298573085731857328573385734857358573685737857388573985740857418574285743857448574585746857478574885749857508575185752857538575485755857568575785758857598576085761857628576385764857658576685767857688576985770857718577285773857748577585776857778577885779857808578185782857838578485785857868578785788857898579085791857928579385794857958579685797857988579985800858018580285803858048580585806858078580885809858108581185812858138581485815858168581785818858198582085821858228582385824858258582685827858288582985830858318583285833858348583585836858378583885839858408584185842858438584485845858468584785848858498585085851858528585385854858558585685857858588585985860858618586285863858648586585866858678586885869858708587185872858738587485875858768587785878858798588085881858828588385884858858588685887858888588985890858918589285893858948589585896858978589885899859008590185902859038590485905859068590785908859098591085911859128591385914859158591685917859188591985920859218592285923859248592585926859278592885929859308593185932859338593485935859368593785938859398594085941859428594385944859458594685947859488594985950859518595285953859548595585956859578595885959859608596185962859638596485965859668596785968859698597085971859728597385974859758597685977859788597985980859818598285983859848598585986859878598885989859908599185992859938599485995859968599785998859998600086001860028600386004860058600686007860088600986010860118601286013860148601586016860178601886019860208602186022860238602486025860268602786028860298603086031860328603386034860358603686037860388603986040860418604286043860448604586046860478604886049860508605186052860538605486055860568605786058860598606086061860628606386064860658606686067860688606986070860718607286073860748607586076860778607886079860808608186082860838608486085860868608786088860898609086091860928609386094860958609686097860988609986100861018610286103861048610586106861078610886109861108611186112861138611486115861168611786118861198612086121861228612386124861258612686127861288612986130861318613286133861348613586136861378613886139861408614186142861438614486145861468614786148861498615086151861528615386154861558615686157861588615986160861618616286163861648616586166861678616886169861708617186172861738617486175861768617786178861798618086181861828618386184861858618686187861888618986190861918619286193861948619586196861978619886199862008620186202862038620486205862068620786208862098621086211862128621386214862158621686217862188621986220862218622286223862248622586226862278622886229862308623186232862338623486235862368623786238862398624086241862428624386244862458624686247862488624986250862518625286253862548625586256862578625886259862608626186262862638626486265862668626786268862698627086271862728627386274862758627686277862788627986280862818628286283862848628586286862878628886289862908629186292862938629486295862968629786298862998630086301863028630386304863058630686307863088630986310863118631286313863148631586316863178631886319863208632186322863238632486325863268632786328863298633086331863328633386334863358633686337863388633986340863418634286343863448634586346863478634886349863508635186352863538635486355863568635786358863598636086361863628636386364863658636686367863688636986370863718637286373863748637586376863778637886379863808638186382863838638486385863868638786388863898639086391863928639386394863958639686397863988639986400864018640286403864048640586406864078640886409864108641186412864138641486415864168641786418864198642086421864228642386424864258642686427864288642986430864318643286433864348643586436864378643886439864408644186442864438644486445864468644786448864498645086451864528645386454864558645686457864588645986460864618646286463864648646586466864678646886469864708647186472864738647486475864768647786478864798648086481864828648386484864858648686487864888648986490864918649286493864948649586496864978649886499865008650186502865038650486505865068650786508865098651086511865128651386514865158651686517865188651986520865218652286523865248652586526865278652886529865308653186532865338653486535865368653786538865398654086541865428654386544865458654686547865488654986550865518655286553865548655586556865578655886559865608656186562865638656486565865668656786568865698657086571865728657386574865758657686577865788657986580865818658286583865848658586586865878658886589865908659186592865938659486595865968659786598865998660086601866028660386604866058660686607866088660986610866118661286613866148661586616866178661886619866208662186622866238662486625866268662786628866298663086631866328663386634866358663686637866388663986640866418664286643866448664586646866478664886649866508665186652866538665486655866568665786658866598666086661866628666386664866658666686667866688666986670866718667286673866748667586676866778667886679866808668186682866838668486685866868668786688866898669086691866928669386694866958669686697866988669986700867018670286703867048670586706867078670886709867108671186712867138671486715867168671786718867198672086721867228672386724867258672686727867288672986730867318673286733867348673586736867378673886739867408674186742867438674486745867468674786748867498675086751867528675386754867558675686757867588675986760867618676286763867648676586766867678676886769867708677186772867738677486775867768677786778867798678086781867828678386784867858678686787867888678986790867918679286793867948679586796867978679886799868008680186802868038680486805868068680786808868098681086811868128681386814868158681686817868188681986820868218682286823868248682586826868278682886829868308683186832868338683486835868368683786838868398684086841868428684386844868458684686847868488684986850868518685286853868548685586856868578685886859868608686186862868638686486865868668686786868868698687086871868728687386874868758687686877868788687986880868818688286883868848688586886868878688886889868908689186892868938689486895868968689786898868998690086901869028690386904869058690686907869088690986910869118691286913869148691586916869178691886919869208692186922869238692486925869268692786928869298693086931869328693386934869358693686937869388693986940869418694286943869448694586946869478694886949869508695186952869538695486955869568695786958869598696086961869628696386964869658696686967869688696986970869718697286973869748697586976869778697886979869808698186982869838698486985869868698786988869898699086991869928699386994869958699686997869988699987000870018700287003870048700587006870078700887009870108701187012870138701487015870168701787018870198702087021870228702387024870258702687027870288702987030870318703287033870348703587036870378703887039870408704187042870438704487045870468704787048870498705087051870528705387054870558705687057870588705987060870618706287063870648706587066870678706887069870708707187072870738707487075870768707787078870798708087081870828708387084870858708687087870888708987090870918709287093870948709587096870978709887099871008710187102871038710487105871068710787108871098711087111871128711387114871158711687117871188711987120871218712287123871248712587126871278712887129871308713187132871338713487135871368713787138871398714087141871428714387144871458714687147871488714987150871518715287153871548715587156871578715887159871608716187162871638716487165871668716787168871698717087171871728717387174871758717687177871788717987180871818718287183871848718587186871878718887189871908719187192871938719487195871968719787198871998720087201872028720387204872058720687207872088720987210872118721287213872148721587216872178721887219872208722187222872238722487225872268722787228872298723087231872328723387234872358723687237872388723987240872418724287243872448724587246872478724887249872508725187252872538725487255872568725787258872598726087261872628726387264872658726687267872688726987270872718727287273872748727587276872778727887279872808728187282872838728487285872868728787288872898729087291872928729387294872958729687297872988729987300873018730287303873048730587306873078730887309873108731187312873138731487315873168731787318873198732087321873228732387324873258732687327873288732987330873318733287333873348733587336873378733887339873408734187342873438734487345873468734787348873498735087351873528735387354873558735687357873588735987360873618736287363873648736587366873678736887369873708737187372873738737487375873768737787378873798738087381873828738387384873858738687387873888738987390873918739287393873948739587396873978739887399874008740187402874038740487405874068740787408874098741087411874128741387414874158741687417874188741987420874218742287423874248742587426874278742887429874308743187432874338743487435874368743787438874398744087441874428744387444874458744687447874488744987450874518745287453874548745587456874578745887459874608746187462874638746487465874668746787468874698747087471874728747387474874758747687477874788747987480874818748287483874848748587486874878748887489874908749187492874938749487495874968749787498874998750087501875028750387504875058750687507875088750987510875118751287513875148751587516875178751887519875208752187522875238752487525875268752787528875298753087531875328753387534875358753687537875388753987540875418754287543875448754587546875478754887549875508755187552875538755487555875568755787558875598756087561875628756387564875658756687567875688756987570875718757287573875748757587576875778757887579875808758187582875838758487585875868758787588875898759087591875928759387594875958759687597875988759987600876018760287603876048760587606876078760887609876108761187612876138761487615876168761787618876198762087621876228762387624876258762687627876288762987630876318763287633876348763587636876378763887639876408764187642876438764487645876468764787648876498765087651876528765387654876558765687657876588765987660876618766287663876648766587666876678766887669876708767187672876738767487675876768767787678876798768087681876828768387684876858768687687876888768987690876918769287693876948769587696876978769887699877008770187702877038770487705877068770787708877098771087711877128771387714877158771687717877188771987720877218772287723877248772587726877278772887729877308773187732877338773487735877368773787738877398774087741877428774387744877458774687747877488774987750877518775287753877548775587756877578775887759877608776187762877638776487765877668776787768877698777087771877728777387774877758777687777877788777987780877818778287783877848778587786877878778887789877908779187792877938779487795877968779787798877998780087801878028780387804878058780687807878088780987810878118781287813878148781587816878178781887819878208782187822878238782487825878268782787828878298783087831878328783387834878358783687837878388783987840878418784287843878448784587846878478784887849878508785187852878538785487855878568785787858878598786087861878628786387864878658786687867878688786987870878718787287873878748787587876878778787887879878808788187882878838788487885878868788787888878898789087891878928789387894878958789687897878988789987900879018790287903879048790587906879078790887909879108791187912879138791487915879168791787918879198792087921879228792387924879258792687927879288792987930879318793287933879348793587936879378793887939879408794187942879438794487945879468794787948879498795087951879528795387954879558795687957879588795987960879618796287963879648796587966879678796887969879708797187972879738797487975879768797787978879798798087981879828798387984879858798687987879888798987990879918799287993879948799587996879978799887999880008800188002880038800488005880068800788008880098801088011880128801388014880158801688017880188801988020880218802288023880248802588026880278802888029880308803188032880338803488035880368803788038880398804088041880428804388044880458804688047880488804988050880518805288053880548805588056880578805888059880608806188062880638806488065880668806788068880698807088071880728807388074880758807688077880788807988080880818808288083880848808588086880878808888089880908809188092880938809488095880968809788098880998810088101881028810388104881058810688107881088810988110881118811288113881148811588116881178811888119881208812188122881238812488125881268812788128881298813088131881328813388134881358813688137881388813988140881418814288143881448814588146881478814888149881508815188152881538815488155881568815788158881598816088161881628816388164881658816688167881688816988170881718817288173881748817588176881778817888179881808818188182881838818488185881868818788188881898819088191881928819388194881958819688197881988819988200882018820288203882048820588206882078820888209882108821188212882138821488215882168821788218882198822088221882228822388224882258822688227882288822988230882318823288233882348823588236882378823888239882408824188242882438824488245882468824788248882498825088251882528825388254882558825688257882588825988260882618826288263882648826588266882678826888269882708827188272882738827488275882768827788278882798828088281882828828388284882858828688287882888828988290882918829288293882948829588296882978829888299883008830188302883038830488305883068830788308883098831088311883128831388314883158831688317883188831988320883218832288323883248832588326883278832888329883308833188332883338833488335883368833788338883398834088341883428834388344883458834688347883488834988350883518835288353883548835588356883578835888359883608836188362883638836488365883668836788368883698837088371883728837388374883758837688377883788837988380883818838288383883848838588386883878838888389883908839188392883938839488395883968839788398883998840088401884028840388404884058840688407884088840988410884118841288413884148841588416884178841888419884208842188422884238842488425884268842788428884298843088431884328843388434884358843688437884388843988440884418844288443884448844588446884478844888449884508845188452884538845488455884568845788458884598846088461884628846388464884658846688467884688846988470884718847288473884748847588476884778847888479884808848188482884838848488485884868848788488884898849088491884928849388494884958849688497884988849988500885018850288503885048850588506885078850888509885108851188512885138851488515885168851788518885198852088521885228852388524885258852688527885288852988530885318853288533885348853588536885378853888539885408854188542885438854488545885468854788548885498855088551885528855388554885558855688557885588855988560885618856288563885648856588566885678856888569885708857188572885738857488575885768857788578885798858088581885828858388584885858858688587885888858988590885918859288593885948859588596885978859888599886008860188602886038860488605886068860788608886098861088611886128861388614886158861688617886188861988620886218862288623886248862588626886278862888629886308863188632886338863488635886368863788638886398864088641886428864388644886458864688647886488864988650886518865288653886548865588656886578865888659886608866188662886638866488665886668866788668886698867088671886728867388674886758867688677886788867988680886818868288683886848868588686886878868888689886908869188692886938869488695886968869788698886998870088701887028870388704887058870688707887088870988710887118871288713887148871588716887178871888719887208872188722887238872488725887268872788728887298873088731887328873388734887358873688737887388873988740887418874288743887448874588746887478874888749887508875188752887538875488755887568875788758887598876088761887628876388764887658876688767887688876988770887718877288773887748877588776887778877888779887808878188782887838878488785887868878788788887898879088791887928879388794887958879688797887988879988800888018880288803888048880588806888078880888809888108881188812888138881488815888168881788818888198882088821888228882388824888258882688827888288882988830888318883288833888348883588836888378883888839888408884188842888438884488845888468884788848888498885088851888528885388854888558885688857888588885988860888618886288863888648886588866888678886888869888708887188872888738887488875888768887788878888798888088881888828888388884888858888688887888888888988890888918889288893888948889588896888978889888899889008890188902889038890488905889068890788908889098891088911889128891388914889158891688917889188891988920889218892288923889248892588926889278892888929889308893188932889338893488935889368893788938889398894088941889428894388944889458894688947889488894988950889518895288953889548895588956889578895888959889608896188962889638896488965889668896788968889698897088971889728897388974889758897688977889788897988980889818898288983889848898588986889878898888989889908899188992889938899488995889968899788998889998900089001890028900389004890058900689007890088900989010890118901289013890148901589016890178901889019890208902189022890238902489025890268902789028890298903089031890328903389034890358903689037890388903989040890418904289043890448904589046890478904889049890508905189052890538905489055890568905789058890598906089061890628906389064890658906689067890688906989070890718907289073890748907589076890778907889079890808908189082890838908489085890868908789088890898909089091890928909389094890958909689097890988909989100891018910289103891048910589106891078910889109891108911189112891138911489115891168911789118891198912089121891228912389124891258912689127891288912989130891318913289133891348913589136891378913889139891408914189142891438914489145891468914789148891498915089151891528915389154891558915689157891588915989160891618916289163891648916589166891678916889169891708917189172891738917489175891768917789178891798918089181891828918389184891858918689187891888918989190891918919289193891948919589196891978919889199892008920189202892038920489205892068920789208892098921089211892128921389214892158921689217892188921989220892218922289223892248922589226892278922889229892308923189232892338923489235892368923789238892398924089241892428924389244892458924689247892488924989250892518925289253892548925589256892578925889259892608926189262892638926489265892668926789268892698927089271892728927389274892758927689277892788927989280892818928289283892848928589286892878928889289892908929189292892938929489295892968929789298892998930089301893028930389304893058930689307893088930989310893118931289313893148931589316893178931889319893208932189322893238932489325893268932789328893298933089331893328933389334893358933689337893388933989340893418934289343893448934589346893478934889349893508935189352893538935489355893568935789358893598936089361893628936389364893658936689367893688936989370893718937289373893748937589376893778937889379893808938189382893838938489385893868938789388893898939089391893928939389394893958939689397893988939989400894018940289403894048940589406894078940889409894108941189412894138941489415894168941789418894198942089421894228942389424894258942689427894288942989430894318943289433894348943589436894378943889439894408944189442894438944489445894468944789448894498945089451894528945389454894558945689457894588945989460894618946289463894648946589466894678946889469894708947189472894738947489475894768947789478894798948089481894828948389484894858948689487894888948989490894918949289493894948949589496894978949889499895008950189502895038950489505895068950789508895098951089511895128951389514895158951689517895188951989520895218952289523895248952589526895278952889529895308953189532895338953489535895368953789538895398954089541895428954389544895458954689547895488954989550895518955289553895548955589556895578955889559895608956189562895638956489565895668956789568895698957089571895728957389574895758957689577895788957989580895818958289583895848958589586895878958889589895908959189592895938959489595895968959789598895998960089601896028960389604896058960689607896088960989610896118961289613896148961589616896178961889619896208962189622896238962489625896268962789628896298963089631896328963389634896358963689637896388963989640896418964289643896448964589646896478964889649896508965189652896538965489655896568965789658896598966089661896628966389664896658966689667896688966989670896718967289673896748967589676896778967889679896808968189682896838968489685896868968789688896898969089691896928969389694896958969689697896988969989700897018970289703897048970589706897078970889709897108971189712897138971489715897168971789718897198972089721897228972389724897258972689727897288972989730897318973289733897348973589736897378973889739897408974189742897438974489745897468974789748897498975089751897528975389754897558975689757897588975989760897618976289763897648976589766897678976889769897708977189772897738977489775897768977789778897798978089781897828978389784897858978689787897888978989790897918979289793897948979589796897978979889799898008980189802898038980489805898068980789808898098981089811898128981389814898158981689817898188981989820898218982289823898248982589826898278982889829898308983189832898338983489835898368983789838898398984089841898428984389844898458984689847898488984989850898518985289853898548985589856898578985889859898608986189862898638986489865898668986789868898698987089871898728987389874898758987689877898788987989880898818988289883898848988589886898878988889889898908989189892898938989489895898968989789898898998990089901899028990389904899058990689907899088990989910899118991289913899148991589916899178991889919899208992189922899238992489925899268992789928899298993089931899328993389934899358993689937899388993989940899418994289943899448994589946899478994889949899508995189952899538995489955899568995789958899598996089961899628996389964899658996689967899688996989970899718997289973899748997589976899778997889979899808998189982899838998489985899868998789988899898999089991899928999389994899958999689997899988999990000900019000290003900049000590006900079000890009900109001190012900139001490015900169001790018900199002090021900229002390024900259002690027900289002990030900319003290033900349003590036900379003890039900409004190042900439004490045900469004790048900499005090051900529005390054900559005690057900589005990060900619006290063900649006590066900679006890069900709007190072900739007490075900769007790078900799008090081900829008390084900859008690087900889008990090900919009290093900949009590096900979009890099901009010190102901039010490105901069010790108901099011090111901129011390114901159011690117901189011990120901219012290123901249012590126901279012890129901309013190132901339013490135901369013790138901399014090141901429014390144901459014690147901489014990150901519015290153901549015590156901579015890159901609016190162901639016490165901669016790168901699017090171901729017390174901759017690177901789017990180901819018290183901849018590186901879018890189901909019190192901939019490195901969019790198901999020090201902029020390204902059020690207902089020990210902119021290213902149021590216902179021890219902209022190222902239022490225902269022790228902299023090231902329023390234902359023690237902389023990240902419024290243902449024590246902479024890249902509025190252902539025490255902569025790258902599026090261902629026390264902659026690267902689026990270902719027290273902749027590276902779027890279902809028190282902839028490285902869028790288902899029090291902929029390294902959029690297902989029990300903019030290303903049030590306903079030890309903109031190312903139031490315903169031790318903199032090321903229032390324903259032690327903289032990330903319033290333903349033590336903379033890339903409034190342903439034490345903469034790348903499035090351903529035390354903559035690357903589035990360903619036290363903649036590366903679036890369903709037190372903739037490375903769037790378903799038090381903829038390384903859038690387903889038990390903919039290393903949039590396903979039890399904009040190402904039040490405904069040790408904099041090411904129041390414904159041690417904189041990420904219042290423904249042590426904279042890429904309043190432904339043490435904369043790438904399044090441904429044390444904459044690447904489044990450904519045290453904549045590456904579045890459904609046190462904639046490465904669046790468904699047090471904729047390474904759047690477904789047990480904819048290483904849048590486904879048890489904909049190492904939049490495904969049790498904999050090501905029050390504905059050690507905089050990510905119051290513905149051590516905179051890519905209052190522905239052490525905269052790528905299053090531905329053390534905359053690537905389053990540905419054290543905449054590546905479054890549905509055190552905539055490555905569055790558905599056090561905629056390564905659056690567905689056990570905719057290573905749057590576905779057890579905809058190582905839058490585905869058790588905899059090591905929059390594905959059690597905989059990600906019060290603906049060590606906079060890609906109061190612906139061490615906169061790618906199062090621906229062390624906259062690627906289062990630906319063290633906349063590636906379063890639906409064190642906439064490645906469064790648906499065090651906529065390654906559065690657906589065990660906619066290663906649066590666906679066890669906709067190672906739067490675906769067790678906799068090681906829068390684906859068690687906889068990690906919069290693906949069590696906979069890699907009070190702907039070490705907069070790708907099071090711907129071390714907159071690717907189071990720907219072290723907249072590726907279072890729907309073190732907339073490735907369073790738907399074090741907429074390744907459074690747907489074990750907519075290753907549075590756907579075890759907609076190762907639076490765907669076790768907699077090771907729077390774907759077690777907789077990780907819078290783907849078590786907879078890789907909079190792907939079490795907969079790798907999080090801908029080390804908059080690807908089080990810908119081290813908149081590816908179081890819908209082190822908239082490825908269082790828908299083090831908329083390834908359083690837908389083990840908419084290843908449084590846908479084890849908509085190852908539085490855908569085790858908599086090861908629086390864908659086690867908689086990870908719087290873908749087590876908779087890879908809088190882908839088490885908869088790888908899089090891908929089390894908959089690897908989089990900909019090290903909049090590906909079090890909909109091190912909139091490915909169091790918909199092090921909229092390924909259092690927909289092990930909319093290933909349093590936909379093890939909409094190942909439094490945909469094790948909499095090951909529095390954909559095690957909589095990960909619096290963909649096590966909679096890969909709097190972909739097490975909769097790978909799098090981909829098390984909859098690987909889098990990909919099290993909949099590996909979099890999910009100191002910039100491005910069100791008910099101091011910129101391014910159101691017910189101991020910219102291023910249102591026910279102891029910309103191032910339103491035910369103791038910399104091041910429104391044910459104691047910489104991050910519105291053910549105591056910579105891059910609106191062910639106491065910669106791068910699107091071910729107391074910759107691077910789107991080910819108291083910849108591086910879108891089910909109191092910939109491095910969109791098910999110091101911029110391104911059110691107911089110991110911119111291113911149111591116911179111891119911209112191122911239112491125911269112791128911299113091131911329113391134911359113691137911389113991140911419114291143911449114591146911479114891149911509115191152911539115491155911569115791158911599116091161911629116391164911659116691167911689116991170911719117291173911749117591176911779117891179911809118191182911839118491185911869118791188911899119091191911929119391194911959119691197911989119991200912019120291203912049120591206912079120891209912109121191212912139121491215912169121791218912199122091221912229122391224912259122691227912289122991230912319123291233912349123591236912379123891239912409124191242912439124491245912469124791248912499125091251912529125391254912559125691257912589125991260912619126291263912649126591266912679126891269912709127191272912739127491275912769127791278912799128091281912829128391284912859128691287912889128991290912919129291293912949129591296912979129891299913009130191302913039130491305913069130791308913099131091311913129131391314913159131691317913189131991320913219132291323913249132591326913279132891329913309133191332913339133491335913369133791338913399134091341913429134391344913459134691347913489134991350913519135291353913549135591356913579135891359913609136191362913639136491365913669136791368913699137091371913729137391374913759137691377913789137991380913819138291383913849138591386913879138891389913909139191392913939139491395913969139791398913999140091401914029140391404914059140691407914089140991410914119141291413914149141591416914179141891419914209142191422914239142491425914269142791428914299143091431914329143391434914359143691437914389143991440914419144291443914449144591446914479144891449914509145191452914539145491455914569145791458914599146091461914629146391464914659146691467914689146991470914719147291473914749147591476914779147891479914809148191482914839148491485914869148791488914899149091491914929149391494914959149691497914989149991500915019150291503915049150591506915079150891509915109151191512915139151491515915169151791518915199152091521915229152391524915259152691527915289152991530915319153291533915349153591536915379153891539915409154191542915439154491545915469154791548915499155091551915529155391554915559155691557915589155991560915619156291563915649156591566915679156891569915709157191572915739157491575915769157791578915799158091581915829158391584915859158691587915889158991590915919159291593915949159591596915979159891599916009160191602916039160491605916069160791608916099161091611916129161391614916159161691617916189161991620916219162291623916249162591626916279162891629916309163191632916339163491635916369163791638916399164091641916429164391644916459164691647916489164991650916519165291653916549165591656916579165891659916609166191662916639166491665916669166791668916699167091671916729167391674916759167691677916789167991680916819168291683916849168591686916879168891689916909169191692916939169491695916969169791698916999170091701917029170391704917059170691707917089170991710917119171291713917149171591716917179171891719917209172191722917239172491725917269172791728917299173091731917329173391734917359173691737917389173991740917419174291743917449174591746917479174891749917509175191752917539175491755917569175791758917599176091761917629176391764917659176691767917689176991770917719177291773917749177591776917779177891779917809178191782917839178491785917869178791788917899179091791917929179391794917959179691797917989179991800918019180291803918049180591806918079180891809918109181191812918139181491815918169181791818918199182091821918229182391824918259182691827918289182991830918319183291833918349183591836918379183891839918409184191842918439184491845918469184791848918499185091851918529185391854918559185691857918589185991860918619186291863918649186591866918679186891869918709187191872918739187491875918769187791878918799188091881918829188391884918859188691887918889188991890918919189291893918949189591896918979189891899919009190191902919039190491905919069190791908919099191091911919129191391914919159191691917919189191991920919219192291923919249192591926919279192891929919309193191932919339193491935919369193791938919399194091941919429194391944919459194691947919489194991950919519195291953919549195591956919579195891959919609196191962919639196491965919669196791968919699197091971919729197391974919759197691977919789197991980919819198291983919849198591986919879198891989919909199191992919939199491995919969199791998919999200092001920029200392004920059200692007920089200992010920119201292013920149201592016920179201892019920209202192022920239202492025920269202792028920299203092031920329203392034920359203692037920389203992040920419204292043920449204592046920479204892049920509205192052920539205492055920569205792058920599206092061920629206392064920659206692067920689206992070920719207292073920749207592076920779207892079920809208192082920839208492085920869208792088920899209092091920929209392094920959209692097920989209992100921019210292103921049210592106921079210892109921109211192112921139211492115921169211792118921199212092121921229212392124921259212692127921289212992130921319213292133921349213592136921379213892139921409214192142921439214492145921469214792148921499215092151921529215392154921559215692157921589215992160921619216292163921649216592166921679216892169921709217192172921739217492175921769217792178921799218092181921829218392184921859218692187921889218992190921919219292193921949219592196921979219892199922009220192202922039220492205922069220792208922099221092211922129221392214922159221692217922189221992220922219222292223922249222592226922279222892229922309223192232922339223492235922369223792238922399224092241922429224392244922459224692247922489224992250922519225292253922549225592256922579225892259922609226192262922639226492265922669226792268922699227092271922729227392274922759227692277922789227992280922819228292283922849228592286922879228892289922909229192292922939229492295922969229792298922999230092301923029230392304923059230692307923089230992310923119231292313923149231592316923179231892319923209232192322923239232492325923269232792328923299233092331923329233392334923359233692337923389233992340923419234292343923449234592346923479234892349923509235192352923539235492355923569235792358923599236092361923629236392364923659236692367923689236992370923719237292373923749237592376923779237892379923809238192382923839238492385923869238792388923899239092391923929239392394923959239692397923989239992400924019240292403924049240592406924079240892409924109241192412924139241492415924169241792418924199242092421924229242392424924259242692427924289242992430924319243292433924349243592436924379243892439924409244192442924439244492445924469244792448924499245092451924529245392454924559245692457924589245992460924619246292463924649246592466924679246892469924709247192472924739247492475924769247792478924799248092481924829248392484924859248692487924889248992490924919249292493924949249592496924979249892499925009250192502925039250492505925069250792508925099251092511925129251392514925159251692517925189251992520925219252292523925249252592526925279252892529925309253192532925339253492535925369253792538925399254092541925429254392544925459254692547925489254992550925519255292553925549255592556925579255892559925609256192562925639256492565925669256792568925699257092571925729257392574925759257692577925789257992580925819258292583925849258592586925879258892589925909259192592925939259492595925969259792598925999260092601926029260392604926059260692607926089260992610926119261292613926149261592616926179261892619926209262192622926239262492625926269262792628926299263092631926329263392634926359263692637926389263992640926419264292643926449264592646926479264892649926509265192652926539265492655926569265792658926599266092661926629266392664926659266692667926689266992670926719267292673926749267592676926779267892679926809268192682926839268492685926869268792688926899269092691926929269392694926959269692697926989269992700927019270292703927049270592706927079270892709927109271192712927139271492715927169271792718927199272092721927229272392724927259272692727927289272992730927319273292733927349273592736927379273892739927409274192742927439274492745927469274792748927499275092751927529275392754927559275692757927589275992760927619276292763927649276592766927679276892769927709277192772927739277492775927769277792778927799278092781927829278392784927859278692787927889278992790927919279292793927949279592796927979279892799928009280192802928039280492805928069280792808928099281092811928129281392814928159281692817928189281992820928219282292823928249282592826928279282892829928309283192832928339283492835928369283792838928399284092841928429284392844928459284692847928489284992850928519285292853928549285592856928579285892859928609286192862928639286492865928669286792868928699287092871928729287392874928759287692877928789287992880928819288292883928849288592886928879288892889928909289192892928939289492895928969289792898928999290092901929029290392904929059290692907929089290992910929119291292913929149291592916929179291892919929209292192922929239292492925929269292792928929299293092931929329293392934929359293692937929389293992940929419294292943929449294592946929479294892949929509295192952929539295492955929569295792958929599296092961929629296392964929659296692967929689296992970929719297292973929749297592976929779297892979929809298192982929839298492985929869298792988929899299092991929929299392994929959299692997929989299993000930019300293003930049300593006930079300893009930109301193012930139301493015930169301793018930199302093021930229302393024930259302693027930289302993030930319303293033930349303593036930379303893039930409304193042930439304493045930469304793048930499305093051930529305393054930559305693057930589305993060930619306293063930649306593066930679306893069930709307193072930739307493075930769307793078930799308093081930829308393084930859308693087930889308993090930919309293093930949309593096930979309893099931009310193102931039310493105931069310793108931099311093111931129311393114931159311693117931189311993120931219312293123931249312593126931279312893129931309313193132931339313493135931369313793138931399314093141931429314393144931459314693147931489314993150931519315293153931549315593156931579315893159931609316193162931639316493165931669316793168931699317093171931729317393174931759317693177931789317993180931819318293183931849318593186931879318893189931909319193192931939319493195931969319793198931999320093201932029320393204932059320693207932089320993210932119321293213932149321593216932179321893219932209322193222932239322493225932269322793228932299323093231932329323393234932359323693237932389323993240932419324293243932449324593246932479324893249932509325193252932539325493255932569325793258932599326093261932629326393264932659326693267932689326993270932719327293273932749327593276932779327893279932809328193282932839328493285932869328793288932899329093291932929329393294932959329693297932989329993300933019330293303933049330593306933079330893309933109331193312933139331493315933169331793318933199332093321933229332393324933259332693327933289332993330933319333293333933349333593336933379333893339933409334193342933439334493345933469334793348933499335093351933529335393354933559335693357933589335993360933619336293363933649336593366933679336893369933709337193372933739337493375933769337793378933799338093381933829338393384933859338693387933889338993390933919339293393933949339593396933979339893399934009340193402934039340493405934069340793408934099341093411934129341393414934159341693417934189341993420934219342293423934249342593426934279342893429934309343193432934339343493435934369343793438934399344093441934429344393444934459344693447934489344993450934519345293453934549345593456934579345893459934609346193462934639346493465934669346793468934699347093471934729347393474934759347693477934789347993480934819348293483934849348593486934879348893489934909349193492934939349493495934969349793498934999350093501935029350393504935059350693507935089350993510935119351293513935149351593516935179351893519935209352193522935239352493525935269352793528935299353093531935329353393534935359353693537935389353993540935419354293543935449354593546935479354893549935509355193552935539355493555935569355793558935599356093561935629356393564935659356693567935689356993570935719357293573935749357593576935779357893579935809358193582935839358493585935869358793588935899359093591935929359393594935959359693597935989359993600936019360293603936049360593606936079360893609936109361193612936139361493615936169361793618936199362093621936229362393624936259362693627936289362993630936319363293633936349363593636936379363893639936409364193642936439364493645936469364793648936499365093651936529365393654936559365693657936589365993660936619366293663936649366593666936679366893669936709367193672936739367493675936769367793678936799368093681936829368393684936859368693687936889368993690936919369293693936949369593696936979369893699937009370193702937039370493705937069370793708937099371093711937129371393714937159371693717937189371993720937219372293723937249372593726937279372893729937309373193732937339373493735937369373793738937399374093741937429374393744937459374693747937489374993750937519375293753937549375593756937579375893759937609376193762937639376493765937669376793768937699377093771937729377393774937759377693777937789377993780937819378293783937849378593786937879378893789937909379193792937939379493795937969379793798937999380093801938029380393804938059380693807938089380993810938119381293813938149381593816938179381893819938209382193822938239382493825938269382793828938299383093831938329383393834938359383693837938389383993840938419384293843938449384593846938479384893849938509385193852938539385493855938569385793858938599386093861938629386393864938659386693867938689386993870938719387293873938749387593876938779387893879938809388193882938839388493885938869388793888938899389093891938929389393894938959389693897938989389993900939019390293903939049390593906939079390893909939109391193912939139391493915939169391793918939199392093921939229392393924939259392693927939289392993930939319393293933939349393593936939379393893939939409394193942939439394493945939469394793948939499395093951939529395393954939559395693957939589395993960939619396293963939649396593966939679396893969939709397193972939739397493975939769397793978939799398093981939829398393984939859398693987939889398993990939919399293993939949399593996939979399893999940009400194002940039400494005940069400794008940099401094011940129401394014940159401694017940189401994020940219402294023940249402594026940279402894029940309403194032940339403494035940369403794038940399404094041940429404394044940459404694047940489404994050940519405294053940549405594056940579405894059940609406194062940639406494065940669406794068940699407094071940729407394074940759407694077940789407994080940819408294083940849408594086940879408894089940909409194092940939409494095940969409794098940999410094101941029410394104941059410694107941089410994110941119411294113941149411594116941179411894119941209412194122941239412494125941269412794128941299413094131941329413394134941359413694137941389413994140941419414294143941449414594146941479414894149941509415194152941539415494155941569415794158941599416094161941629416394164941659416694167941689416994170941719417294173941749417594176941779417894179941809418194182941839418494185941869418794188941899419094191941929419394194941959419694197941989419994200942019420294203942049420594206942079420894209942109421194212942139421494215942169421794218942199422094221942229422394224942259422694227942289422994230942319423294233942349423594236942379423894239942409424194242942439424494245942469424794248942499425094251942529425394254942559425694257942589425994260942619426294263942649426594266942679426894269942709427194272942739427494275942769427794278942799428094281942829428394284942859428694287942889428994290942919429294293942949429594296942979429894299943009430194302943039430494305943069430794308943099431094311943129431394314943159431694317943189431994320943219432294323943249432594326943279432894329943309433194332943339433494335943369433794338943399434094341943429434394344943459434694347943489434994350943519435294353943549435594356943579435894359943609436194362943639436494365943669436794368943699437094371943729437394374943759437694377943789437994380943819438294383943849438594386943879438894389943909439194392943939439494395943969439794398943999440094401944029440394404944059440694407944089440994410944119441294413944149441594416944179441894419944209442194422944239442494425944269442794428944299443094431944329443394434944359443694437944389443994440944419444294443944449444594446944479444894449944509445194452944539445494455944569445794458944599446094461944629446394464944659446694467944689446994470944719447294473944749447594476944779447894479944809448194482944839448494485944869448794488944899449094491944929449394494944959449694497944989449994500945019450294503945049450594506945079450894509945109451194512945139451494515945169451794518945199452094521945229452394524945259452694527945289452994530945319453294533945349453594536945379453894539945409454194542945439454494545945469454794548945499455094551945529455394554945559455694557945589455994560945619456294563945649456594566945679456894569945709457194572945739457494575945769457794578945799458094581945829458394584945859458694587945889458994590945919459294593945949459594596945979459894599946009460194602946039460494605946069460794608946099461094611946129461394614946159461694617946189461994620946219462294623946249462594626946279462894629946309463194632946339463494635946369463794638946399464094641946429464394644946459464694647946489464994650946519465294653946549465594656946579465894659946609466194662946639466494665946669466794668946699467094671946729467394674946759467694677946789467994680946819468294683946849468594686946879468894689946909469194692946939469494695946969469794698946999470094701947029470394704947059470694707947089470994710947119471294713947149471594716947179471894719947209472194722947239472494725947269472794728947299473094731947329473394734947359473694737947389473994740947419474294743947449474594746947479474894749947509475194752947539475494755947569475794758947599476094761947629476394764947659476694767947689476994770947719477294773947749477594776947779477894779947809478194782947839478494785947869478794788947899479094791947929479394794947959479694797947989479994800948019480294803948049480594806948079480894809948109481194812948139481494815948169481794818948199482094821948229482394824948259482694827948289482994830948319483294833948349483594836948379483894839948409484194842948439484494845948469484794848948499485094851948529485394854948559485694857948589485994860948619486294863948649486594866948679486894869948709487194872948739487494875948769487794878948799488094881948829488394884948859488694887948889488994890948919489294893948949489594896948979489894899949009490194902949039490494905949069490794908949099491094911949129491394914949159491694917949189491994920949219492294923949249492594926949279492894929949309493194932949339493494935949369493794938949399494094941949429494394944949459494694947949489494994950949519495294953949549495594956949579495894959949609496194962949639496494965949669496794968949699497094971949729497394974949759497694977949789497994980949819498294983949849498594986949879498894989949909499194992949939499494995949969499794998949999500095001950029500395004950059500695007950089500995010950119501295013950149501595016950179501895019950209502195022950239502495025950269502795028950299503095031950329503395034950359503695037950389503995040950419504295043950449504595046950479504895049950509505195052950539505495055950569505795058950599506095061950629506395064950659506695067950689506995070950719507295073950749507595076950779507895079950809508195082950839508495085950869508795088950899509095091950929509395094950959509695097950989509995100951019510295103951049510595106951079510895109951109511195112951139511495115951169511795118951199512095121951229512395124951259512695127951289512995130951319513295133951349513595136951379513895139951409514195142951439514495145951469514795148951499515095151951529515395154951559515695157951589515995160951619516295163951649516595166951679516895169951709517195172951739517495175951769517795178951799518095181951829518395184951859518695187951889518995190951919519295193951949519595196951979519895199952009520195202952039520495205952069520795208952099521095211952129521395214952159521695217952189521995220952219522295223952249522595226952279522895229952309523195232952339523495235952369523795238952399524095241952429524395244952459524695247952489524995250952519525295253952549525595256952579525895259952609526195262952639526495265952669526795268952699527095271952729527395274952759527695277952789527995280952819528295283952849528595286952879528895289952909529195292952939529495295952969529795298952999530095301953029530395304953059530695307953089530995310953119531295313953149531595316953179531895319953209532195322953239532495325953269532795328953299533095331953329533395334953359533695337953389533995340953419534295343953449534595346953479534895349953509535195352953539535495355953569535795358953599536095361953629536395364953659536695367953689536995370953719537295373953749537595376953779537895379953809538195382953839538495385953869538795388953899539095391953929539395394953959539695397953989539995400954019540295403954049540595406954079540895409954109541195412954139541495415954169541795418954199542095421954229542395424954259542695427954289542995430954319543295433954349543595436954379543895439954409544195442954439544495445954469544795448954499545095451954529545395454954559545695457954589545995460954619546295463954649546595466954679546895469954709547195472954739547495475954769547795478954799548095481954829548395484954859548695487954889548995490954919549295493954949549595496954979549895499955009550195502955039550495505955069550795508955099551095511955129551395514955159551695517955189551995520955219552295523955249552595526955279552895529955309553195532955339553495535955369553795538955399554095541955429554395544955459554695547955489554995550955519555295553955549555595556955579555895559955609556195562955639556495565955669556795568955699557095571955729557395574955759557695577955789557995580955819558295583955849558595586955879558895589955909559195592955939559495595955969559795598955999560095601956029560395604956059560695607956089560995610956119561295613956149561595616956179561895619956209562195622956239562495625956269562795628956299563095631956329563395634956359563695637956389563995640956419564295643956449564595646956479564895649956509565195652956539565495655956569565795658956599566095661956629566395664956659566695667956689566995670956719567295673956749567595676956779567895679956809568195682956839568495685956869568795688956899569095691956929569395694956959569695697956989569995700957019570295703957049570595706957079570895709957109571195712957139571495715957169571795718957199572095721957229572395724957259572695727957289572995730957319573295733957349573595736957379573895739957409574195742957439574495745957469574795748957499575095751957529575395754957559575695757957589575995760957619576295763957649576595766957679576895769957709577195772957739577495775957769577795778957799578095781957829578395784957859578695787957889578995790957919579295793957949579595796957979579895799958009580195802958039580495805958069580795808958099581095811958129581395814958159581695817958189581995820958219582295823958249582595826958279582895829958309583195832958339583495835958369583795838958399584095841958429584395844958459584695847958489584995850958519585295853958549585595856958579585895859958609586195862958639586495865958669586795868958699587095871958729587395874958759587695877958789587995880958819588295883958849588595886958879588895889958909589195892958939589495895958969589795898958999590095901959029590395904959059590695907959089590995910959119591295913959149591595916959179591895919959209592195922959239592495925959269592795928959299593095931959329593395934959359593695937959389593995940959419594295943959449594595946959479594895949959509595195952959539595495955959569595795958959599596095961959629596395964959659596695967959689596995970959719597295973959749597595976959779597895979959809598195982959839598495985959869598795988959899599095991959929599395994959959599695997959989599996000960019600296003960049600596006960079600896009960109601196012960139601496015960169601796018960199602096021960229602396024960259602696027960289602996030960319603296033960349603596036960379603896039960409604196042960439604496045960469604796048960499605096051960529605396054960559605696057960589605996060960619606296063960649606596066960679606896069960709607196072960739607496075960769607796078960799608096081960829608396084960859608696087960889608996090960919609296093960949609596096960979609896099961009610196102961039610496105961069610796108961099611096111961129611396114961159611696117961189611996120961219612296123961249612596126961279612896129961309613196132961339613496135961369613796138961399614096141961429614396144961459614696147961489614996150961519615296153961549615596156961579615896159961609616196162961639616496165961669616796168961699617096171961729617396174961759617696177961789617996180961819618296183961849618596186961879618896189961909619196192961939619496195961969619796198961999620096201962029620396204962059620696207962089620996210962119621296213962149621596216962179621896219962209622196222962239622496225962269622796228962299623096231962329623396234962359623696237962389623996240962419624296243962449624596246962479624896249962509625196252962539625496255962569625796258962599626096261962629626396264962659626696267962689626996270962719627296273962749627596276962779627896279962809628196282962839628496285962869628796288962899629096291962929629396294962959629696297962989629996300963019630296303963049630596306963079630896309963109631196312963139631496315963169631796318963199632096321963229632396324963259632696327963289632996330963319633296333963349633596336963379633896339963409634196342963439634496345963469634796348963499635096351963529635396354963559635696357963589635996360963619636296363963649636596366963679636896369963709637196372963739637496375963769637796378963799638096381963829638396384963859638696387963889638996390963919639296393963949639596396963979639896399964009640196402964039640496405964069640796408964099641096411964129641396414964159641696417964189641996420964219642296423964249642596426964279642896429964309643196432964339643496435964369643796438964399644096441964429644396444964459644696447964489644996450964519645296453964549645596456964579645896459964609646196462964639646496465964669646796468964699647096471964729647396474964759647696477964789647996480964819648296483964849648596486964879648896489964909649196492964939649496495964969649796498964999650096501965029650396504965059650696507965089650996510965119651296513965149651596516965179651896519965209652196522965239652496525965269652796528965299653096531965329653396534965359653696537965389653996540965419654296543965449654596546965479654896549965509655196552965539655496555965569655796558965599656096561965629656396564965659656696567965689656996570965719657296573965749657596576965779657896579965809658196582965839658496585965869658796588965899659096591965929659396594965959659696597965989659996600966019660296603966049660596606966079660896609966109661196612966139661496615966169661796618966199662096621966229662396624966259662696627966289662996630966319663296633966349663596636966379663896639966409664196642966439664496645966469664796648966499665096651966529665396654966559665696657966589665996660966619666296663966649666596666966679666896669966709667196672966739667496675966769667796678966799668096681966829668396684966859668696687966889668996690966919669296693966949669596696966979669896699967009670196702967039670496705967069670796708967099671096711967129671396714967159671696717967189671996720967219672296723967249672596726967279672896729967309673196732967339673496735967369673796738967399674096741967429674396744967459674696747967489674996750967519675296753967549675596756967579675896759967609676196762967639676496765967669676796768967699677096771967729677396774967759677696777967789677996780967819678296783967849678596786967879678896789967909679196792967939679496795967969679796798967999680096801968029680396804968059680696807968089680996810968119681296813968149681596816968179681896819968209682196822968239682496825968269682796828968299683096831968329683396834968359683696837968389683996840968419684296843968449684596846968479684896849968509685196852968539685496855968569685796858968599686096861968629686396864968659686696867968689686996870968719687296873968749687596876968779687896879968809688196882968839688496885968869688796888968899689096891968929689396894968959689696897968989689996900969019690296903969049690596906969079690896909969109691196912969139691496915969169691796918969199692096921969229692396924969259692696927969289692996930969319693296933969349693596936969379693896939969409694196942969439694496945969469694796948969499695096951969529695396954969559695696957969589695996960969619696296963969649696596966969679696896969969709697196972969739697496975969769697796978969799698096981969829698396984969859698696987969889698996990969919699296993969949699596996969979699896999970009700197002970039700497005970069700797008970099701097011970129701397014970159701697017970189701997020970219702297023970249702597026970279702897029970309703197032970339703497035970369703797038970399704097041970429704397044970459704697047970489704997050970519705297053970549705597056970579705897059970609706197062970639706497065970669706797068970699707097071970729707397074970759707697077970789707997080970819708297083970849708597086970879708897089970909709197092970939709497095970969709797098970999710097101971029710397104971059710697107971089710997110971119711297113971149711597116971179711897119971209712197122971239712497125971269712797128971299713097131971329713397134971359713697137971389713997140971419714297143971449714597146971479714897149971509715197152971539715497155971569715797158971599716097161971629716397164971659716697167971689716997170971719717297173971749717597176971779717897179971809718197182971839718497185971869718797188971899719097191971929719397194971959719697197971989719997200972019720297203972049720597206972079720897209972109721197212972139721497215972169721797218972199722097221972229722397224972259722697227972289722997230972319723297233972349723597236972379723897239972409724197242972439724497245972469724797248972499725097251972529725397254972559725697257972589725997260972619726297263972649726597266972679726897269972709727197272972739727497275972769727797278972799728097281972829728397284972859728697287972889728997290972919729297293972949729597296972979729897299973009730197302973039730497305973069730797308973099731097311973129731397314973159731697317973189731997320973219732297323973249732597326973279732897329973309733197332973339733497335973369733797338973399734097341973429734397344973459734697347973489734997350973519735297353973549735597356973579735897359973609736197362973639736497365973669736797368973699737097371973729737397374973759737697377973789737997380973819738297383973849738597386973879738897389973909739197392973939739497395973969739797398973999740097401974029740397404974059740697407974089740997410974119741297413974149741597416974179741897419974209742197422974239742497425974269742797428974299743097431974329743397434974359743697437974389743997440974419744297443974449744597446974479744897449974509745197452974539745497455974569745797458974599746097461974629746397464974659746697467974689746997470974719747297473974749747597476974779747897479974809748197482974839748497485974869748797488974899749097491974929749397494974959749697497974989749997500975019750297503975049750597506975079750897509975109751197512975139751497515975169751797518975199752097521975229752397524975259752697527975289752997530975319753297533975349753597536975379753897539975409754197542975439754497545975469754797548975499755097551975529755397554975559755697557975589755997560975619756297563975649756597566975679756897569975709757197572975739757497575975769757797578975799758097581975829758397584975859758697587975889758997590975919759297593975949759597596975979759897599976009760197602976039760497605976069760797608976099761097611976129761397614976159761697617976189761997620976219762297623976249762597626976279762897629976309763197632976339763497635976369763797638976399764097641976429764397644976459764697647976489764997650976519765297653976549765597656976579765897659976609766197662976639766497665976669766797668976699767097671976729767397674976759767697677976789767997680976819768297683976849768597686976879768897689976909769197692976939769497695976969769797698976999770097701977029770397704977059770697707977089770997710977119771297713977149771597716977179771897719977209772197722977239772497725977269772797728977299773097731977329773397734977359773697737977389773997740977419774297743977449774597746977479774897749977509775197752977539775497755977569775797758977599776097761977629776397764977659776697767977689776997770977719777297773977749777597776977779777897779977809778197782977839778497785977869778797788977899779097791977929779397794977959779697797977989779997800978019780297803978049780597806978079780897809978109781197812978139781497815978169781797818978199782097821978229782397824978259782697827978289782997830978319783297833978349783597836978379783897839978409784197842978439784497845978469784797848978499785097851978529785397854978559785697857978589785997860978619786297863978649786597866978679786897869978709787197872978739787497875978769787797878978799788097881978829788397884978859788697887978889788997890978919789297893978949789597896978979789897899979009790197902979039790497905979069790797908979099791097911979129791397914979159791697917979189791997920979219792297923979249792597926979279792897929979309793197932979339793497935979369793797938979399794097941979429794397944979459794697947979489794997950979519795297953979549795597956979579795897959979609796197962979639796497965979669796797968979699797097971979729797397974979759797697977979789797997980979819798297983979849798597986979879798897989979909799197992979939799497995979969799797998979999800098001980029800398004980059800698007980089800998010980119801298013980149801598016980179801898019980209802198022980239802498025980269802798028980299803098031980329803398034980359803698037980389803998040980419804298043980449804598046980479804898049980509805198052980539805498055980569805798058980599806098061980629806398064980659806698067980689806998070980719807298073980749807598076980779807898079980809808198082980839808498085980869808798088980899809098091980929809398094980959809698097980989809998100981019810298103981049810598106981079810898109981109811198112981139811498115981169811798118981199812098121981229812398124981259812698127981289812998130981319813298133981349813598136981379813898139981409814198142981439814498145981469814798148981499815098151981529815398154981559815698157981589815998160981619816298163981649816598166981679816898169981709817198172981739817498175981769817798178981799818098181981829818398184981859818698187981889818998190981919819298193981949819598196981979819898199982009820198202982039820498205982069820798208982099821098211982129821398214982159821698217982189821998220982219822298223982249822598226982279822898229982309823198232982339823498235982369823798238982399824098241982429824398244982459824698247982489824998250982519825298253982549825598256982579825898259982609826198262982639826498265982669826798268982699827098271982729827398274982759827698277982789827998280982819828298283982849828598286982879828898289982909829198292982939829498295982969829798298982999830098301983029830398304983059830698307983089830998310983119831298313983149831598316983179831898319983209832198322983239832498325983269832798328983299833098331983329833398334983359833698337983389833998340983419834298343983449834598346983479834898349983509835198352983539835498355983569835798358983599836098361983629836398364983659836698367983689836998370983719837298373983749837598376983779837898379983809838198382983839838498385983869838798388983899839098391983929839398394983959839698397983989839998400984019840298403984049840598406984079840898409984109841198412984139841498415984169841798418984199842098421984229842398424984259842698427984289842998430984319843298433984349843598436984379843898439984409844198442984439844498445984469844798448984499845098451984529845398454984559845698457984589845998460984619846298463984649846598466984679846898469984709847198472984739847498475984769847798478984799848098481984829848398484984859848698487984889848998490984919849298493984949849598496984979849898499985009850198502985039850498505985069850798508985099851098511985129851398514985159851698517985189851998520985219852298523985249852598526985279852898529985309853198532985339853498535985369853798538985399854098541985429854398544985459854698547985489854998550985519855298553985549855598556985579855898559985609856198562985639856498565985669856798568985699857098571985729857398574985759857698577985789857998580985819858298583985849858598586985879858898589985909859198592985939859498595985969859798598985999860098601986029860398604986059860698607986089860998610986119861298613986149861598616986179861898619986209862198622986239862498625986269862798628986299863098631986329863398634986359863698637986389863998640986419864298643986449864598646986479864898649986509865198652986539865498655986569865798658986599866098661986629866398664986659866698667986689866998670986719867298673986749867598676986779867898679986809868198682986839868498685986869868798688986899869098691986929869398694986959869698697986989869998700987019870298703987049870598706987079870898709987109871198712987139871498715987169871798718987199872098721987229872398724987259872698727987289872998730987319873298733987349873598736987379873898739987409874198742987439874498745987469874798748987499875098751987529875398754987559875698757987589875998760987619876298763987649876598766987679876898769987709877198772987739877498775987769877798778987799878098781987829878398784987859878698787987889878998790987919879298793987949879598796987979879898799988009880198802988039880498805988069880798808988099881098811988129881398814988159881698817988189881998820988219882298823988249882598826988279882898829988309883198832988339883498835988369883798838988399884098841988429884398844988459884698847988489884998850988519885298853988549885598856988579885898859988609886198862988639886498865988669886798868988699887098871988729887398874988759887698877988789887998880988819888298883988849888598886988879888898889988909889198892988939889498895988969889798898988999890098901989029890398904989059890698907989089890998910989119891298913989149891598916989179891898919989209892198922989239892498925989269892798928989299893098931989329893398934989359893698937989389893998940989419894298943989449894598946989479894898949989509895198952989539895498955989569895798958989599896098961989629896398964989659896698967989689896998970989719897298973989749897598976989779897898979989809898198982989839898498985989869898798988989899899098991989929899398994989959899698997989989899999000990019900299003990049900599006990079900899009990109901199012990139901499015990169901799018990199902099021990229902399024990259902699027990289902999030990319903299033990349903599036990379903899039990409904199042990439904499045990469904799048990499905099051990529905399054990559905699057990589905999060990619906299063990649906599066990679906899069990709907199072990739907499075990769907799078990799908099081990829908399084990859908699087990889908999090990919909299093990949909599096990979909899099991009910199102991039910499105991069910799108991099911099111991129911399114991159911699117991189911999120991219912299123991249912599126991279912899129991309913199132991339913499135991369913799138991399914099141991429914399144991459914699147991489914999150991519915299153991549915599156991579915899159991609916199162991639916499165991669916799168991699917099171991729917399174991759917699177991789917999180991819918299183991849918599186991879918899189991909919199192991939919499195991969919799198991999920099201992029920399204992059920699207992089920999210992119921299213992149921599216992179921899219992209922199222992239922499225992269922799228992299923099231992329923399234992359923699237992389923999240992419924299243992449924599246992479924899249992509925199252992539925499255992569925799258992599926099261992629926399264992659926699267992689926999270992719927299273992749927599276992779927899279992809928199282992839928499285992869928799288992899929099291992929929399294992959929699297992989929999300993019930299303993049930599306993079930899309993109931199312993139931499315993169931799318993199932099321993229932399324993259932699327993289932999330993319933299333993349933599336993379933899339993409934199342993439934499345993469934799348993499935099351993529935399354993559935699357993589935999360993619936299363993649936599366993679936899369993709937199372993739937499375993769937799378993799938099381993829938399384993859938699387993889938999390993919939299393993949939599396993979939899399994009940199402994039940499405994069940799408994099941099411994129941399414994159941699417994189941999420994219942299423994249942599426994279942899429994309943199432994339943499435994369943799438994399944099441994429944399444994459944699447994489944999450994519945299453994549945599456994579945899459994609946199462994639946499465994669946799468994699947099471994729947399474994759947699477994789947999480994819948299483994849948599486994879948899489994909949199492994939949499495994969949799498994999950099501995029950399504995059950699507995089950999510995119951299513995149951599516995179951899519995209952199522995239952499525995269952799528995299953099531995329953399534995359953699537995389953999540995419954299543995449954599546995479954899549995509955199552995539955499555995569955799558995599956099561995629956399564995659956699567995689956999570995719957299573995749957599576995779957899579995809958199582995839958499585995869958799588995899959099591995929959399594995959959699597995989959999600996019960299603996049960599606996079960899609996109961199612996139961499615996169961799618996199962099621996229962399624996259962699627996289962999630996319963299633996349963599636996379963899639996409964199642996439964499645996469964799648996499965099651996529965399654996559965699657996589965999660996619966299663996649966599666996679966899669996709967199672996739967499675996769967799678996799968099681996829968399684996859968699687996889968999690996919969299693996949969599696996979969899699997009970199702997039970499705997069970799708997099971099711997129971399714997159971699717997189971999720997219972299723997249972599726997279972899729997309973199732997339973499735997369973799738997399974099741997429974399744997459974699747997489974999750997519975299753997549975599756997579975899759997609976199762997639976499765997669976799768997699977099771997729977399774997759977699777997789977999780997819978299783997849978599786997879978899789997909979199792997939979499795997969979799798997999980099801998029980399804998059980699807998089980999810998119981299813998149981599816998179981899819998209982199822998239982499825998269982799828998299983099831998329983399834998359983699837998389983999840998419984299843998449984599846998479984899849998509985199852998539985499855998569985799858998599986099861998629986399864998659986699867998689986999870998719987299873998749987599876998779987899879998809988199882998839988499885998869988799888998899989099891998929989399894998959989699897998989989999900999019990299903999049990599906999079990899909999109991199912999139991499915999169991799918999199992099921999229992399924999259992699927999289992999930999319993299933999349993599936999379993899939999409994199942999439994499945999469994799948999499995099951999529995399954999559995699957999589995999960999619996299963999649996599966999679996899969999709997199972999739997499975999769997799978999799998099981999829998399984999859998699987999889998999990999919999299993999949999599996999979999899999100000100001100002100003100004100005100006100007100008100009100010100011100012100013100014100015100016100017100018100019100020100021100022100023100024100025100026100027100028100029100030100031100032100033100034100035100036100037100038100039100040100041100042100043100044100045100046100047100048100049100050100051100052100053100054100055100056100057100058100059100060100061100062100063100064100065100066100067100068100069100070100071100072100073100074100075100076100077100078100079100080100081100082100083100084100085100086100087100088100089100090100091100092100093100094100095100096100097100098100099100100100101100102100103100104100105100106100107100108100109100110100111100112100113100114100115100116100117100118100119100120100121100122100123100124100125100126100127100128100129100130100131100132100133100134100135100136100137100138100139100140100141100142100143100144100145100146100147100148100149100150100151100152100153100154100155100156100157100158100159100160100161100162100163100164100165100166100167100168100169100170100171100172100173100174100175100176100177100178100179100180100181100182100183100184100185100186100187100188100189100190100191100192100193100194100195100196100197100198100199100200100201100202100203100204100205100206100207100208100209100210100211100212100213100214100215100216100217100218100219100220100221100222100223100224100225100226100227100228100229100230100231100232100233100234100235100236100237100238100239100240100241100242100243100244100245100246100247100248100249100250100251100252100253100254100255100256100257100258100259100260100261100262100263100264100265100266100267100268100269100270100271100272100273100274100275100276100277100278100279100280100281100282100283100284100285100286100287100288100289100290100291100292100293100294100295100296100297100298100299100300100301100302100303100304100305100306100307100308100309100310100311100312100313100314100315100316100317100318100319100320100321100322100323100324100325100326100327100328100329100330100331100332100333100334100335100336100337100338100339100340100341100342100343100344100345100346100347100348100349100350100351100352100353100354100355100356100357100358100359100360100361100362100363100364100365100366100367100368100369100370100371100372100373100374100375100376100377100378100379100380100381100382100383100384100385100386100387100388100389100390100391100392100393100394100395100396100397100398100399100400100401100402100403100404100405100406100407100408100409100410100411100412100413100414100415100416100417100418100419100420100421100422100423100424100425100426100427100428100429100430100431100432100433100434100435100436100437100438100439100440100441100442100443100444100445100446100447100448100449100450100451100452100453100454100455100456100457100458100459100460100461100462100463100464100465100466100467100468100469100470100471100472100473100474100475100476100477100478100479100480100481100482100483100484100485100486100487100488100489100490100491100492100493100494100495100496100497100498100499100500100501100502100503100504100505100506100507100508100509100510100511100512100513100514100515100516100517100518100519100520100521100522100523100524100525100526100527100528100529100530100531100532100533100534100535100536100537100538100539100540100541100542100543100544100545100546100547100548100549100550100551100552100553100554100555100556100557100558100559100560100561100562100563100564100565100566100567100568100569100570100571100572100573100574100575100576100577100578100579100580100581100582100583100584100585100586100587100588100589100590100591100592100593100594100595100596100597100598100599100600100601100602100603100604100605100606100607100608100609100610100611100612100613100614100615100616100617100618100619100620100621100622100623100624100625100626100627100628100629100630100631100632100633100634100635100636100637100638100639100640100641100642100643100644100645100646100647100648100649100650100651100652100653100654100655100656100657100658100659100660100661100662100663100664100665100666100667100668100669100670100671100672100673100674100675100676100677100678100679100680100681100682100683100684100685100686100687100688100689100690100691100692100693100694100695100696100697100698100699100700100701100702100703100704100705100706100707100708100709100710100711100712100713100714100715100716100717100718100719100720100721100722100723100724100725100726100727100728100729100730100731100732100733100734100735100736100737100738100739100740100741100742100743100744100745100746100747100748100749100750100751100752100753100754100755100756100757100758100759100760100761100762100763100764100765100766100767100768100769100770100771100772100773100774100775100776100777100778100779100780100781100782100783100784100785100786100787100788100789100790100791100792100793100794100795100796100797100798100799100800100801100802100803100804100805100806100807100808100809100810100811100812100813100814100815100816100817100818100819100820100821100822100823100824100825100826100827100828100829100830100831100832100833100834100835100836100837100838100839100840100841100842100843100844100845100846100847100848100849100850100851100852100853100854100855100856100857100858100859100860100861100862100863100864100865100866100867100868100869100870100871100872100873100874100875100876100877100878100879100880100881100882100883100884100885100886100887100888100889100890100891100892100893100894100895100896100897100898100899100900100901100902100903100904100905100906100907100908100909100910100911100912100913100914100915100916100917100918100919100920100921100922100923100924100925100926100927100928100929100930100931100932100933100934100935100936100937100938100939100940100941100942100943100944100945100946100947100948100949100950100951100952100953100954100955100956100957100958100959100960100961100962100963100964100965100966100967100968100969100970100971100972100973100974100975100976100977100978100979100980100981100982100983100984100985100986100987100988100989100990100991100992100993100994100995100996100997100998100999101000101001101002101003101004101005101006101007101008101009101010101011101012101013101014101015101016101017101018101019101020101021101022101023101024101025101026101027101028101029101030101031101032101033101034101035101036101037101038101039101040101041101042101043101044101045101046101047101048101049101050101051101052101053101054101055101056101057101058101059101060101061101062101063101064101065101066101067101068101069101070101071101072101073101074101075101076101077101078101079101080101081101082101083101084101085101086101087101088101089101090101091101092101093101094101095101096101097101098101099101100101101101102101103101104101105101106101107101108101109101110101111101112101113101114101115101116101117101118101119101120101121101122101123101124101125101126101127101128101129101130101131101132101133101134101135101136101137101138101139101140101141101142101143101144101145101146101147101148101149101150101151101152101153101154101155101156101157101158101159101160101161101162101163101164101165101166101167101168101169101170101171101172101173101174101175101176101177101178101179101180101181101182101183101184101185101186101187101188101189101190101191101192101193101194101195101196101197101198101199101200101201101202101203101204101205101206101207101208101209101210101211101212101213101214101215101216101217101218101219101220101221101222101223101224101225101226101227101228101229101230101231101232101233101234101235101236101237101238101239101240101241101242101243101244101245101246101247101248101249101250101251101252101253101254101255101256101257101258101259101260101261101262101263101264101265101266101267101268101269101270101271101272101273101274101275101276101277101278101279101280101281101282101283101284101285101286101287101288101289101290101291101292101293101294101295101296101297101298101299101300101301101302101303101304101305101306101307101308101309101310101311101312101313101314101315101316101317101318101319101320101321101322101323101324101325101326101327101328101329101330101331101332101333101334101335101336101337101338101339101340101341101342101343101344101345101346101347101348101349101350101351101352101353101354101355101356101357101358101359101360101361101362101363101364101365101366101367101368101369101370101371101372101373101374101375101376101377101378101379101380101381101382101383101384101385101386101387101388101389101390101391101392101393101394101395101396101397101398101399101400101401101402101403101404101405101406101407101408101409101410101411101412101413101414101415101416101417101418101419101420101421101422101423101424101425101426101427101428101429101430101431101432101433101434101435101436101437101438101439101440101441101442101443101444101445101446101447101448101449101450101451101452101453101454101455101456101457101458101459101460101461101462101463101464101465101466101467101468101469101470101471101472101473101474101475101476101477101478101479101480101481101482101483101484101485101486101487101488101489101490101491101492101493101494101495101496101497101498101499101500101501101502101503101504101505101506101507101508101509101510101511101512101513101514101515101516101517101518101519101520101521101522101523101524101525101526101527101528101529101530101531101532101533101534101535101536101537101538101539101540101541101542101543101544101545101546101547101548101549101550101551101552101553101554101555101556101557101558101559101560101561101562101563101564101565101566101567101568101569101570101571101572101573101574101575101576101577101578101579101580101581101582101583101584101585101586101587101588101589101590101591101592101593101594101595101596101597101598101599101600101601101602101603101604101605101606101607101608101609101610101611101612101613101614101615101616101617101618101619101620101621101622101623101624101625101626101627101628101629101630101631101632101633101634101635101636101637101638101639101640101641101642101643101644101645101646101647101648101649101650101651101652101653101654101655101656101657101658101659101660101661101662101663101664101665101666101667101668101669101670101671101672101673101674101675101676101677101678101679101680101681101682101683101684101685101686101687101688101689101690101691101692101693101694101695101696101697101698101699101700101701101702101703101704101705101706101707101708101709101710101711101712101713101714101715101716101717101718101719101720101721101722101723101724101725101726101727101728101729101730101731101732101733101734101735101736101737101738101739101740101741101742101743101744101745101746101747101748101749101750101751101752101753101754101755101756101757101758101759101760101761101762101763101764101765101766101767101768101769101770101771101772101773101774101775101776101777101778101779101780101781101782101783101784101785101786101787101788101789101790101791101792101793101794101795101796101797101798101799101800101801101802101803101804101805101806101807101808101809101810101811101812101813101814101815101816101817101818101819101820101821101822101823101824101825101826101827101828101829101830101831101832101833101834101835101836101837101838101839101840101841101842101843101844101845101846101847101848101849101850101851101852101853101854101855101856101857101858101859101860101861101862101863101864101865101866101867101868101869101870101871101872101873101874101875101876101877101878101879101880101881101882101883101884101885101886101887101888101889101890101891101892101893101894101895101896101897101898101899101900101901101902101903101904101905101906101907101908101909101910101911101912101913101914101915101916101917101918101919101920101921101922101923101924101925101926101927101928101929101930101931101932101933101934101935101936101937101938101939101940101941101942101943101944101945101946101947101948101949101950101951101952101953101954101955101956101957101958101959101960101961101962101963101964101965101966101967101968101969101970101971101972101973101974101975101976101977101978101979101980101981101982101983101984101985101986101987101988101989101990101991101992101993101994101995101996101997101998101999102000102001102002102003102004102005102006102007102008102009102010102011102012102013102014102015102016102017102018102019102020102021102022102023102024102025102026102027102028102029102030102031102032102033102034102035102036102037102038102039102040102041102042102043102044102045102046102047102048102049102050102051102052102053102054102055102056102057102058102059102060102061102062102063102064102065102066102067102068102069102070102071102072102073102074102075102076102077102078102079102080102081102082102083102084102085102086102087102088102089102090102091102092102093102094102095102096102097102098102099102100102101102102102103102104102105102106102107102108102109102110102111102112102113102114102115102116102117102118102119102120102121102122102123102124102125102126102127102128102129102130102131102132102133102134102135102136102137102138102139102140102141102142102143102144102145102146102147102148102149102150102151102152102153102154102155102156102157102158102159102160102161102162102163102164102165102166102167102168102169102170102171102172102173102174102175102176102177102178102179102180102181102182102183102184102185102186102187102188102189102190102191102192102193102194102195102196102197102198102199102200102201102202102203102204102205102206102207102208102209102210102211102212102213102214102215102216102217102218102219102220102221102222102223102224102225102226102227102228102229102230102231102232102233102234102235102236102237102238102239102240102241102242102243102244102245102246102247102248102249102250102251102252102253102254102255102256102257102258102259102260102261102262102263102264102265102266102267102268102269102270102271102272102273102274102275102276102277102278102279102280102281102282102283102284102285102286102287102288102289102290102291102292102293102294102295102296102297102298102299102300102301102302102303102304102305102306102307102308102309102310102311102312102313102314102315102316102317102318102319102320102321102322102323102324102325102326102327102328102329102330102331102332102333102334102335102336102337102338102339102340102341102342102343102344102345102346102347102348102349102350102351102352102353102354102355102356102357102358102359102360102361102362102363102364102365102366102367102368102369102370102371102372102373102374102375102376102377102378102379102380102381102382102383102384102385102386102387102388102389102390102391102392102393102394102395102396102397102398102399102400102401102402102403102404102405102406102407102408102409102410102411102412102413102414102415102416102417102418102419102420102421102422102423102424102425102426102427102428102429102430102431102432102433102434102435102436102437102438102439102440102441102442102443102444102445102446102447102448102449102450102451102452102453102454102455102456102457102458102459102460102461102462102463102464102465102466102467102468102469102470102471102472102473102474102475102476102477102478102479102480102481102482102483102484102485102486102487102488102489102490102491102492102493102494102495102496102497102498102499102500102501102502102503102504102505102506102507102508102509102510102511102512102513102514102515102516102517102518102519102520102521102522102523102524102525102526102527102528102529102530102531102532102533102534102535102536102537102538102539102540102541102542102543102544102545102546102547102548102549102550102551102552102553102554102555102556102557102558102559102560102561102562102563102564102565102566102567102568102569102570102571102572102573102574102575102576102577102578102579102580102581102582102583102584102585102586102587102588102589102590102591102592102593102594102595102596102597102598102599102600102601102602102603102604102605102606102607102608102609102610102611102612102613102614102615102616102617102618102619102620102621102622102623102624102625102626102627102628102629102630102631102632102633102634102635102636102637102638102639102640102641102642102643102644102645102646102647102648102649102650102651102652102653102654102655102656102657102658102659102660102661102662102663102664102665102666102667102668102669102670102671102672102673102674102675102676102677102678102679102680102681102682102683102684102685102686102687102688102689102690102691102692102693102694102695102696102697102698102699102700102701102702102703102704102705102706102707102708102709102710102711102712102713102714102715102716102717102718102719102720102721102722102723102724102725102726102727102728102729102730102731102732102733102734102735102736102737102738102739102740102741102742102743102744102745102746102747102748102749102750102751102752102753102754102755102756102757102758102759102760102761102762102763102764102765102766102767102768102769102770102771102772102773102774102775102776102777102778102779102780102781102782102783102784102785102786102787102788102789102790102791102792102793102794102795102796102797102798102799102800102801102802102803102804102805102806102807102808102809102810102811102812102813102814102815102816102817102818102819102820102821102822102823102824102825102826102827102828102829102830102831102832102833102834102835102836102837102838102839102840102841102842102843102844102845102846102847102848102849102850102851102852102853102854102855102856102857102858102859102860102861102862102863102864102865102866102867102868102869102870102871102872102873102874102875102876102877102878102879102880102881102882102883102884102885102886102887102888102889102890102891102892102893102894102895102896102897102898102899102900102901102902102903102904102905102906102907102908102909102910102911102912102913102914102915102916102917102918102919102920102921102922102923102924102925102926102927102928102929102930102931102932102933102934102935102936102937102938102939102940102941102942102943102944102945102946102947102948102949102950102951102952102953102954102955102956102957102958102959102960102961102962102963102964102965102966102967102968102969102970102971102972102973102974102975102976102977102978102979102980102981102982102983102984102985102986102987102988102989102990102991102992102993102994102995102996102997102998102999103000103001103002103003103004103005103006103007103008103009103010103011103012103013103014103015103016103017103018103019103020103021103022103023103024103025103026103027103028103029103030103031103032103033103034103035103036103037103038103039103040103041103042103043103044103045103046103047103048103049103050103051103052103053103054103055103056103057103058103059103060103061103062103063103064103065103066103067103068103069103070103071103072103073103074103075103076103077103078103079103080103081103082103083103084103085103086103087103088103089103090103091103092103093103094103095103096103097103098103099103100103101103102103103103104103105103106103107103108103109103110103111103112103113103114103115103116103117103118103119103120103121103122103123103124103125103126103127103128103129103130103131103132103133103134103135103136103137103138103139103140103141103142103143103144103145103146103147103148103149103150103151103152103153103154103155103156103157103158103159103160103161103162103163103164103165103166103167103168103169103170103171103172103173103174103175103176103177103178103179103180103181103182103183103184103185103186103187103188103189103190103191103192103193103194103195103196103197103198103199103200103201103202103203103204103205103206103207103208103209103210103211103212103213103214103215103216103217103218103219103220103221103222103223103224103225103226103227103228103229103230103231103232103233103234103235103236103237103238103239103240103241103242103243103244103245103246103247103248103249103250103251103252103253103254103255103256103257103258103259103260103261103262103263103264103265103266103267103268103269103270103271103272103273103274103275103276103277103278103279103280103281103282103283103284103285103286103287103288103289103290103291103292103293103294103295103296103297103298103299103300103301103302103303103304103305103306103307103308103309103310103311103312103313103314103315103316103317103318103319103320103321103322103323103324103325103326103327103328103329103330103331103332103333103334103335103336103337103338103339103340103341103342103343103344103345103346103347103348103349103350103351103352103353103354103355103356103357103358103359103360103361103362103363103364103365103366103367103368103369103370103371103372103373103374103375103376103377103378103379103380103381103382103383103384103385103386103387103388103389103390103391103392103393103394103395103396103397103398103399103400103401103402103403103404103405103406103407103408103409103410103411103412103413103414103415103416103417103418103419103420103421103422103423103424103425103426103427103428103429103430103431103432103433103434103435103436103437103438103439103440103441103442103443103444103445103446103447103448103449103450103451103452103453103454103455103456103457103458103459103460103461103462103463103464103465103466103467103468103469103470103471103472103473103474103475103476103477103478103479103480103481103482103483103484103485103486103487103488103489103490103491103492103493103494103495103496103497103498103499103500103501103502103503103504103505103506103507103508103509103510103511103512103513103514103515103516103517103518103519103520103521103522103523103524103525103526103527103528103529103530103531103532103533103534103535103536103537103538103539103540103541103542103543103544103545103546103547103548103549103550103551103552103553103554103555103556103557103558103559103560103561103562103563103564103565103566103567103568103569103570103571103572103573103574103575103576103577103578103579103580103581103582103583103584103585103586103587103588103589103590103591103592103593103594103595103596103597103598103599103600103601103602103603103604103605103606103607103608103609103610103611103612103613103614103615103616103617103618103619103620103621103622103623103624103625103626103627103628103629103630103631103632103633103634103635103636103637103638103639103640103641103642103643103644103645103646103647103648103649103650103651103652103653103654103655103656103657103658103659103660103661103662103663103664103665103666103667103668103669103670103671103672103673103674103675103676103677103678103679103680103681103682103683103684103685103686103687103688103689103690103691103692103693103694103695103696103697103698103699103700103701103702103703103704103705103706103707103708103709103710103711103712103713103714103715103716103717103718103719103720103721103722103723103724103725103726103727103728103729103730103731103732103733103734103735103736103737103738103739103740103741103742103743103744103745103746103747103748103749103750103751103752103753103754103755103756103757103758103759103760103761103762103763103764103765103766103767103768103769103770103771103772103773103774103775103776103777103778103779103780103781103782103783103784103785103786103787103788103789103790103791103792103793103794103795103796103797103798103799103800103801103802103803103804103805103806103807103808103809103810103811103812103813103814103815103816103817103818103819103820103821103822103823103824103825103826103827103828103829103830103831103832103833103834103835103836103837103838103839103840103841103842103843103844103845103846103847103848103849103850103851103852103853103854103855103856103857103858103859103860103861103862103863103864103865103866103867103868103869103870103871103872103873103874103875103876103877103878103879103880103881103882103883103884103885103886103887103888103889103890103891103892103893103894103895103896103897103898103899103900103901103902103903103904103905103906103907103908103909103910103911103912103913103914103915103916103917103918103919103920103921103922103923103924103925103926103927103928103929103930103931103932103933103934103935103936103937103938103939103940103941103942103943103944103945103946103947103948103949103950103951103952103953103954103955103956103957103958103959103960103961103962103963103964103965103966103967103968103969103970103971103972103973103974103975103976103977103978103979103980103981103982103983103984103985103986103987103988103989103990103991103992103993103994103995103996103997103998103999104000104001104002104003104004104005104006104007104008104009104010104011104012104013104014104015104016104017104018104019104020104021104022104023104024104025104026104027104028104029104030104031104032104033104034104035104036104037104038104039104040104041104042104043104044104045104046104047104048104049104050104051104052104053104054104055104056104057104058104059104060104061104062104063104064104065104066104067104068104069104070104071104072104073104074104075104076104077104078104079104080104081104082104083104084104085104086104087104088104089104090104091104092104093104094104095104096104097104098104099104100104101104102104103104104104105104106104107104108104109104110104111104112104113104114104115104116104117104118104119104120104121104122104123104124104125104126104127104128104129104130104131104132104133104134104135104136104137104138104139104140104141104142104143104144104145104146104147104148104149104150104151104152104153104154104155104156104157104158104159104160104161104162104163104164104165104166104167104168104169104170104171104172104173104174104175104176104177104178104179104180104181104182104183104184104185104186104187104188104189104190104191104192104193104194104195104196104197104198104199104200104201104202104203104204104205104206104207104208104209104210104211104212104213104214104215104216104217104218104219104220104221104222104223104224104225104226104227104228104229104230104231104232104233104234104235104236104237104238104239104240104241104242104243104244104245104246104247104248104249104250104251104252104253104254104255104256104257104258104259104260104261104262104263104264104265104266104267104268104269104270104271104272104273104274104275104276104277104278104279104280104281104282104283104284104285104286104287104288104289104290104291104292104293104294104295104296104297104298104299104300104301104302104303104304104305104306104307104308104309104310104311104312104313104314104315104316104317104318104319104320104321104322104323104324104325104326104327104328104329104330104331104332104333104334104335104336104337104338104339104340104341104342104343104344104345104346104347104348104349104350104351104352104353104354104355104356104357104358104359104360104361104362104363104364104365104366104367104368104369104370104371104372104373104374104375104376104377104378104379104380104381104382104383104384104385104386104387104388104389104390104391104392104393104394104395104396104397104398104399104400104401104402104403104404104405104406104407104408104409104410104411104412104413104414104415104416104417104418104419104420104421104422104423104424104425104426104427104428104429104430104431104432104433104434104435104436104437104438104439104440104441104442104443104444104445104446104447104448104449104450104451104452104453104454104455104456104457104458104459104460104461104462104463104464104465104466104467104468104469104470104471104472104473104474104475104476104477104478104479104480104481104482104483104484104485104486104487104488104489104490104491104492104493104494104495104496104497104498104499104500104501104502104503104504104505104506104507104508104509104510104511104512104513104514104515104516104517104518104519104520104521104522104523104524104525104526104527104528104529104530104531104532104533104534104535104536104537104538104539104540104541104542104543104544104545104546104547104548104549104550104551104552104553104554104555104556104557104558104559104560104561104562104563104564104565104566104567104568104569104570104571104572104573104574104575104576104577104578104579104580104581104582104583104584104585104586104587104588104589104590104591104592104593104594104595104596104597104598104599104600104601104602104603104604104605104606104607104608104609104610104611104612104613104614104615104616104617104618104619104620104621104622104623104624104625104626104627104628104629104630104631104632104633104634104635104636104637104638104639104640104641104642104643104644104645104646104647104648104649104650104651104652104653104654104655104656104657104658104659104660104661104662104663104664104665104666104667104668104669104670104671104672104673104674104675104676104677104678104679104680104681104682104683104684104685104686104687104688104689104690104691104692104693104694104695104696104697104698104699104700104701104702104703104704104705104706104707104708104709104710104711104712104713104714104715104716104717104718104719104720104721104722104723104724104725104726104727104728104729104730104731104732104733104734104735104736104737104738104739104740104741104742104743104744104745104746104747104748104749104750104751104752104753104754104755104756104757104758104759104760104761104762104763104764104765104766104767104768104769104770104771104772104773104774104775104776104777104778104779104780104781104782104783104784104785104786104787104788104789104790104791104792104793104794104795104796104797104798104799104800104801104802104803104804104805104806104807104808104809104810104811104812104813104814104815104816104817104818104819104820104821104822104823104824104825104826104827104828104829104830104831104832104833104834104835104836104837104838104839104840104841104842104843104844104845104846104847104848104849104850104851104852104853104854104855104856104857104858104859104860104861104862104863104864104865104866104867104868104869104870104871104872104873104874104875104876104877104878104879104880104881104882104883104884104885104886104887104888104889104890104891104892104893104894104895104896104897104898104899104900104901104902104903104904104905104906104907104908104909104910104911104912104913104914104915104916104917104918104919104920104921104922104923104924104925104926104927104928104929104930104931104932104933104934104935104936104937104938104939104940104941104942104943104944104945104946104947104948104949104950104951104952104953104954104955104956104957104958104959104960104961104962104963104964104965104966104967104968104969104970104971104972104973104974104975104976104977104978104979104980104981104982104983104984104985104986104987104988104989104990104991104992104993104994104995104996104997104998104999105000105001105002105003105004105005105006105007105008105009105010105011105012105013105014105015105016105017105018105019105020105021105022105023105024105025105026105027105028105029105030105031105032105033105034105035105036105037105038105039105040105041105042105043105044105045105046105047105048105049105050105051105052105053105054105055105056105057105058105059105060105061105062105063105064105065105066105067105068105069105070105071105072105073105074105075105076105077105078105079105080105081105082105083105084105085105086105087105088105089105090105091105092105093105094105095105096105097105098105099105100105101105102105103105104105105105106105107105108105109105110105111105112105113105114105115105116105117105118105119105120105121105122105123105124105125105126105127105128105129105130105131105132105133105134105135105136105137105138105139105140105141105142105143105144105145105146105147105148105149105150105151105152105153105154105155105156105157105158105159105160105161105162105163105164105165105166105167105168105169105170105171105172105173105174105175105176105177105178105179105180105181105182105183105184105185105186105187105188105189105190105191105192105193105194105195105196105197105198105199105200105201105202105203105204105205105206105207105208105209105210105211105212105213105214105215105216105217105218105219105220105221105222105223105224105225105226105227105228105229105230105231105232105233105234105235105236105237105238105239105240105241105242105243105244105245105246105247105248105249105250105251105252105253105254105255105256105257105258105259105260105261105262105263105264105265105266105267105268105269105270105271105272105273105274105275105276105277105278105279105280105281105282105283105284105285105286105287105288105289105290105291105292105293105294105295105296105297105298105299105300105301105302105303105304105305105306105307105308105309105310105311105312105313105314105315105316105317105318105319105320105321105322105323105324105325105326105327105328105329105330105331105332105333105334105335105336105337105338105339105340105341105342105343105344105345105346105347105348105349105350105351105352105353105354105355105356105357105358105359105360105361105362105363105364105365105366105367105368105369105370105371105372105373105374105375105376105377105378105379105380105381105382105383105384105385105386105387105388105389105390105391105392105393105394105395105396105397105398105399105400105401105402105403105404105405105406105407105408105409105410105411105412105413105414105415105416105417105418105419105420105421105422105423105424105425105426105427105428105429105430105431105432105433105434105435105436105437105438105439105440105441105442105443105444105445105446105447105448105449105450105451105452105453105454105455105456105457105458105459105460105461105462105463105464105465105466105467105468105469105470105471105472105473105474105475105476105477105478105479105480105481105482105483105484105485105486105487105488105489105490105491105492105493105494105495105496105497105498105499105500105501105502105503105504105505105506105507105508105509105510105511105512105513105514105515105516105517105518105519105520105521105522105523105524105525105526105527105528105529105530105531105532105533105534105535105536105537105538105539105540105541105542105543105544105545105546105547105548105549105550105551105552105553105554105555105556105557105558105559105560105561105562105563105564105565105566105567105568105569105570105571105572105573105574105575105576105577105578105579105580105581105582105583105584105585105586105587105588105589105590105591105592105593105594105595105596105597105598105599105600105601105602105603105604105605105606105607105608105609105610105611105612105613105614105615105616105617105618105619105620105621105622105623105624105625105626105627105628105629105630105631105632105633105634105635105636105637105638105639105640105641105642105643105644105645105646105647105648105649105650105651105652105653105654105655105656105657105658105659105660105661105662105663105664105665105666105667105668105669105670105671105672105673105674105675105676105677105678105679105680105681105682105683105684105685105686105687105688105689105690105691105692105693105694105695105696105697105698105699105700105701105702105703105704105705105706105707105708105709105710105711105712105713105714105715105716105717105718105719105720105721105722105723105724105725105726105727105728105729105730105731105732105733105734105735105736105737105738105739105740105741105742105743105744105745105746105747105748105749105750105751105752105753105754105755105756105757105758105759105760105761105762105763105764105765105766105767105768105769105770105771105772105773105774105775105776105777105778105779105780105781105782105783105784105785105786105787105788105789105790105791105792105793105794105795105796105797105798105799105800105801105802105803105804105805105806105807105808105809105810105811105812105813105814105815105816105817105818105819105820105821105822105823105824105825105826105827105828105829105830105831105832105833105834105835105836105837105838105839105840105841105842105843105844105845105846105847105848105849105850105851105852105853105854105855105856105857105858105859105860105861105862105863105864105865105866105867105868105869105870105871105872105873105874105875105876105877105878105879105880105881105882105883105884105885105886105887105888105889105890105891105892105893105894105895105896105897105898105899105900105901105902105903105904105905105906105907105908105909105910105911105912105913105914105915105916105917105918105919105920105921105922105923105924105925105926105927105928105929105930105931105932105933105934105935105936105937105938105939105940105941105942105943105944105945105946105947105948105949105950105951105952105953105954105955105956105957105958105959105960105961105962105963105964105965105966105967105968105969105970105971105972105973105974105975105976105977105978105979105980105981105982105983105984105985105986105987105988105989105990105991105992105993105994105995105996105997105998105999106000106001106002106003106004106005106006106007106008106009106010106011106012106013106014106015106016106017106018106019106020106021106022106023106024106025106026106027106028106029106030106031106032106033106034106035106036106037106038106039106040106041106042106043106044106045106046106047106048106049106050106051106052106053106054106055106056106057106058106059106060106061106062106063106064106065106066106067106068106069106070106071106072106073106074106075106076106077106078106079106080106081106082106083106084106085106086106087106088106089106090106091106092106093106094106095106096106097106098106099106100106101106102106103106104106105106106106107106108106109106110106111106112106113106114106115106116106117106118106119106120106121106122106123106124106125106126106127106128106129106130106131106132106133106134106135106136106137106138106139106140106141106142106143106144106145106146106147106148106149106150106151106152106153106154106155106156106157106158106159106160106161106162106163106164106165106166106167106168106169106170106171106172106173106174106175106176106177106178106179106180106181106182106183106184106185106186106187106188106189106190106191106192106193106194106195106196106197106198106199106200106201106202106203106204106205106206106207106208106209106210106211106212106213106214106215106216106217106218106219106220106221106222106223106224106225106226106227106228106229106230106231106232106233106234106235106236106237106238106239106240106241106242106243106244106245106246106247106248106249106250106251106252106253106254106255106256106257106258106259106260106261106262106263106264106265106266106267106268106269106270106271106272106273106274106275106276106277106278106279106280106281106282106283106284106285106286106287106288106289106290106291106292106293106294106295106296106297106298106299106300106301106302106303106304106305106306106307106308106309106310106311106312106313106314106315106316106317106318106319106320106321106322106323106324106325106326106327106328106329106330106331106332106333106334106335106336106337106338106339106340106341106342106343106344106345106346106347106348106349106350106351106352106353106354106355106356106357106358106359106360106361106362106363106364106365106366106367106368106369106370106371106372106373106374106375106376106377106378106379106380106381106382106383106384106385106386106387106388106389106390106391106392106393106394106395106396106397106398106399106400106401106402106403106404106405106406106407106408106409106410106411106412106413106414106415106416106417106418106419106420106421106422106423106424106425106426106427106428106429106430106431106432106433106434106435106436106437106438106439106440106441106442106443106444106445106446106447106448106449106450106451106452106453106454106455106456106457106458106459106460106461106462106463106464106465106466106467106468106469106470106471106472106473106474106475106476106477106478106479106480106481106482106483106484106485106486106487106488106489106490106491106492106493106494106495106496106497106498106499106500106501106502106503106504106505106506106507106508106509106510106511106512106513106514106515106516106517106518106519106520106521106522106523106524106525106526106527106528106529106530106531106532106533106534106535106536106537106538106539106540106541106542106543106544106545106546106547106548106549106550106551106552106553106554106555106556106557106558106559106560106561106562106563106564106565106566106567106568106569106570106571106572106573106574106575106576106577106578106579106580106581106582106583106584106585106586106587106588106589106590106591106592106593106594106595106596106597106598106599106600106601106602106603106604106605106606106607106608106609106610106611106612106613106614106615106616106617106618106619106620106621106622106623106624106625106626106627106628106629106630106631106632106633106634106635106636106637106638106639106640106641106642106643106644106645106646106647106648106649106650106651106652106653106654106655106656106657106658106659106660106661106662106663106664106665106666106667106668106669106670106671106672106673106674106675106676106677106678106679106680106681106682106683106684106685106686106687106688106689106690106691106692106693106694106695106696106697106698106699106700106701106702106703106704106705106706106707106708106709106710106711106712106713106714106715106716106717106718106719106720106721106722106723106724106725106726106727106728106729106730106731106732106733106734106735106736106737106738106739106740106741106742106743106744106745106746106747106748106749106750106751106752106753106754106755106756106757106758106759106760106761106762106763106764106765106766106767106768106769106770106771106772106773106774106775106776106777106778106779106780106781106782106783106784106785106786106787106788106789106790106791106792106793106794106795106796106797106798106799106800106801106802106803106804106805106806106807106808106809106810106811106812106813106814106815106816106817106818106819106820106821106822106823106824106825106826106827106828106829106830106831106832106833106834106835106836106837106838106839106840106841106842106843106844106845106846106847106848106849106850106851106852106853106854106855106856106857106858106859106860106861106862106863106864106865106866106867106868106869106870106871106872106873106874106875106876106877106878106879106880106881106882106883106884106885106886106887106888106889106890106891106892106893106894106895106896106897106898106899106900106901106902106903106904106905106906106907106908106909106910106911106912106913106914106915106916106917106918106919106920106921106922106923106924106925106926106927106928106929106930106931106932106933106934106935106936106937106938106939106940106941106942106943106944106945106946106947106948106949106950106951106952106953106954106955106956106957106958106959106960106961106962106963106964106965106966106967106968106969106970106971106972106973106974106975106976106977106978106979106980106981106982106983106984106985106986106987106988106989106990106991106992106993106994106995106996106997106998106999107000107001107002107003107004107005107006107007107008107009107010107011107012107013107014107015107016107017107018107019107020107021107022107023107024107025107026107027107028107029107030107031107032107033107034107035107036107037107038107039107040107041107042107043107044107045107046107047107048107049107050107051107052107053107054107055107056107057107058107059107060107061107062107063107064107065107066107067107068107069107070107071107072107073107074107075107076107077107078107079107080107081107082107083107084107085107086107087107088107089107090107091107092107093107094107095107096107097107098107099107100107101107102107103107104107105107106107107107108107109107110107111107112107113107114107115107116107117107118107119107120107121107122107123107124107125107126107127107128107129107130107131107132107133107134107135107136107137107138107139107140107141107142107143107144107145107146107147107148107149107150107151107152107153107154107155107156107157107158107159107160107161107162107163107164107165107166107167107168107169107170107171107172107173107174107175107176107177107178107179107180107181107182107183107184107185107186107187107188107189107190107191107192107193107194107195107196107197107198107199107200107201107202107203107204107205107206107207107208107209107210107211107212107213107214107215107216107217107218107219107220107221107222107223107224107225107226107227107228107229107230107231107232107233107234107235107236107237107238107239107240107241107242107243107244107245107246107247107248107249107250107251107252107253107254107255107256107257107258107259107260107261107262107263107264107265107266107267107268107269107270107271107272107273107274107275107276107277107278107279107280107281107282107283107284107285107286107287107288107289107290107291107292107293107294107295107296107297107298107299107300107301107302107303107304107305107306107307107308107309107310107311107312107313107314107315107316107317107318107319107320107321107322107323107324107325107326107327107328107329107330107331107332107333107334107335107336107337107338107339107340107341107342107343107344107345107346107347107348107349107350107351107352107353107354107355107356107357107358107359107360107361107362107363107364107365107366107367107368107369107370107371107372107373107374107375107376107377107378107379107380107381107382107383107384107385107386107387107388107389107390107391107392107393107394107395107396107397107398107399107400107401107402107403107404107405107406107407107408107409107410107411107412107413107414107415107416107417107418107419107420107421107422107423107424107425107426107427107428107429107430107431107432107433107434107435107436107437107438107439107440107441107442107443107444107445107446107447107448107449107450107451107452107453107454107455107456107457107458107459107460107461107462107463107464107465107466107467107468107469107470107471107472107473107474107475107476107477107478107479107480107481107482107483107484107485107486107487107488107489107490107491107492107493107494107495107496107497107498107499107500107501107502107503107504107505107506107507107508107509107510107511107512107513107514107515107516107517107518107519107520107521107522107523107524107525107526107527107528107529107530107531107532107533107534107535107536107537107538107539107540107541107542107543107544107545107546107547107548107549107550107551107552107553107554107555107556107557107558107559107560107561107562107563107564107565107566107567107568107569107570107571107572107573107574107575107576107577107578107579107580107581107582107583107584107585107586107587107588107589107590107591107592107593107594107595107596107597107598107599107600107601107602107603107604107605107606107607107608107609107610107611107612107613107614107615107616107617107618107619107620107621107622107623107624107625107626107627107628107629107630107631107632107633107634107635107636107637107638107639107640107641107642107643107644107645107646107647107648107649107650107651107652107653107654107655107656107657107658107659107660107661107662107663107664107665107666107667107668107669107670107671107672107673107674107675107676107677107678107679107680107681107682107683107684107685107686107687107688107689107690107691107692107693107694107695107696107697107698107699107700107701107702107703107704107705107706107707107708107709107710107711107712107713107714107715107716107717107718107719107720107721107722107723107724107725107726107727107728107729107730107731107732107733107734107735107736107737107738107739107740107741107742107743107744107745107746107747107748107749107750107751107752107753107754107755107756107757107758107759107760107761107762107763107764107765107766107767107768107769107770107771107772107773107774107775107776107777107778107779107780107781107782107783107784107785107786107787107788107789107790107791107792107793107794107795107796107797107798107799107800107801107802107803107804107805107806107807107808107809107810107811107812107813107814107815107816107817107818107819107820107821107822107823107824107825107826107827107828107829107830107831107832107833107834107835107836107837107838107839107840107841107842107843107844107845107846107847107848107849107850107851107852107853107854107855107856107857107858107859107860107861107862107863107864107865107866107867107868107869107870107871107872107873107874107875107876107877107878107879107880107881107882107883107884107885107886107887107888107889107890107891107892107893107894107895107896107897107898107899107900107901107902107903107904107905107906107907107908107909107910107911107912107913107914107915107916107917107918107919107920107921107922107923107924107925107926107927107928107929107930107931107932107933107934107935107936107937107938107939107940107941107942107943107944107945107946107947107948107949107950107951107952107953107954107955107956107957107958107959107960107961107962107963107964107965107966107967107968107969107970107971107972107973107974107975107976107977107978107979107980107981107982107983107984107985107986107987107988107989107990107991107992107993107994107995107996107997107998107999108000108001108002108003108004108005108006108007108008108009108010108011108012108013108014108015108016108017108018108019108020108021108022108023108024108025108026108027108028108029108030108031108032108033108034108035108036108037108038108039108040108041108042108043108044108045108046108047108048108049108050108051108052108053108054108055108056108057108058108059108060108061108062108063108064108065108066108067108068108069108070108071108072108073108074108075108076108077108078108079108080108081108082108083108084108085108086108087108088108089108090108091108092108093108094108095108096108097108098108099108100108101108102108103108104108105108106108107108108108109108110108111108112108113108114108115108116108117108118108119108120108121108122108123108124108125108126108127108128108129108130108131108132108133108134108135108136108137108138108139108140108141108142108143108144108145108146108147108148108149108150108151108152108153108154108155108156108157108158108159108160108161108162108163108164108165108166108167108168108169108170108171108172108173108174108175108176108177108178108179108180108181108182108183108184108185108186108187108188108189108190108191108192108193108194108195108196108197108198108199108200108201108202108203108204108205108206108207108208108209108210108211108212108213108214108215108216108217108218108219108220108221108222108223108224108225108226108227108228108229108230108231108232108233108234108235108236108237108238108239108240108241108242108243108244108245108246108247108248108249108250108251108252108253108254108255108256108257108258108259108260108261108262108263108264108265108266108267108268108269108270108271108272108273108274108275108276108277108278108279108280108281108282108283108284108285108286108287108288108289108290108291108292108293108294108295108296108297108298108299108300108301108302108303108304108305108306108307108308108309108310108311108312108313108314108315108316108317108318108319108320108321108322108323108324108325108326108327108328108329108330108331108332108333108334108335108336108337108338108339108340108341108342108343108344108345108346108347108348108349108350108351108352108353108354108355108356108357108358108359108360108361108362108363108364108365108366108367108368108369108370108371108372108373108374108375108376108377108378108379108380108381108382108383108384108385108386108387108388108389108390108391108392108393108394108395108396108397108398108399108400108401108402108403108404108405108406108407108408108409108410108411108412108413108414108415108416108417108418108419108420108421108422108423108424108425108426108427108428108429108430108431108432108433108434108435108436108437108438108439108440108441108442108443108444108445108446108447108448108449108450108451108452108453108454108455108456108457108458108459108460108461108462108463108464108465108466108467108468108469108470108471108472108473108474108475108476108477108478108479108480108481108482108483108484108485108486108487108488108489108490108491108492108493108494108495108496108497108498108499108500108501108502108503108504108505108506108507108508108509108510108511108512108513108514108515108516108517108518108519108520108521108522108523108524108525108526108527108528108529108530108531108532108533108534108535108536108537108538108539108540108541108542108543108544108545108546108547108548108549108550108551108552108553108554108555108556108557108558108559108560108561108562108563108564108565108566108567108568108569108570108571108572108573108574108575108576108577108578108579108580108581108582108583108584108585108586108587108588108589108590108591108592108593108594108595108596108597108598108599108600108601108602108603108604108605108606108607108608108609108610108611108612108613108614108615108616108617108618108619108620108621108622108623108624108625108626108627108628108629108630108631108632108633108634108635108636108637108638108639108640108641108642108643108644108645108646108647108648108649108650108651108652108653108654108655108656108657108658108659108660108661108662108663108664108665108666108667108668108669108670108671108672108673108674108675108676108677108678108679108680108681108682108683108684108685108686108687108688108689108690108691108692108693108694108695108696108697108698108699108700108701108702108703108704108705108706108707108708108709108710108711108712108713108714108715108716108717108718108719108720108721108722108723108724108725108726108727108728108729108730108731108732108733108734108735108736108737108738108739108740108741108742108743108744108745108746108747108748108749108750108751108752108753108754108755108756108757108758108759108760108761108762108763108764108765108766108767108768108769108770108771108772108773108774108775108776108777108778108779108780108781108782108783108784108785108786108787108788108789108790108791108792108793108794108795108796108797108798108799108800108801108802108803108804108805108806108807108808108809108810108811108812108813108814108815108816108817108818108819108820108821108822108823108824108825108826108827108828108829108830108831108832108833108834108835108836108837108838108839108840108841108842108843108844108845108846108847108848108849108850108851108852108853108854108855108856108857108858108859108860108861108862108863108864108865108866108867108868108869108870108871108872108873108874108875108876108877108878108879108880108881108882108883108884108885108886108887108888108889108890108891108892108893108894108895108896108897108898108899108900108901108902108903108904108905108906108907108908108909108910108911108912108913108914108915108916108917108918108919108920108921108922108923108924108925108926108927108928108929108930108931108932108933108934108935108936108937108938108939108940108941108942108943108944108945108946108947108948108949108950108951108952108953108954108955108956108957108958108959108960108961108962108963108964108965108966108967108968108969108970108971108972108973108974108975108976108977108978108979108980108981108982108983108984108985108986108987108988108989108990108991108992108993108994108995108996108997108998108999109000109001109002109003109004109005109006109007109008109009109010109011109012109013109014109015109016109017109018109019109020109021109022109023109024109025109026109027109028109029109030109031109032109033109034109035109036109037109038109039109040109041109042109043109044109045109046109047109048109049109050109051109052109053109054109055109056109057109058109059109060109061109062109063109064109065109066109067109068109069109070109071109072109073109074109075109076109077109078109079109080109081109082109083109084109085109086109087109088109089109090109091109092109093109094109095109096109097109098109099109100109101109102109103109104109105109106109107109108109109109110109111109112109113109114109115109116109117109118109119109120109121109122109123109124109125109126109127109128109129109130109131109132109133109134109135109136109137109138109139109140109141109142109143109144109145109146109147109148109149109150109151109152109153109154109155109156109157109158109159109160109161109162109163109164109165109166109167109168109169109170109171109172109173109174109175109176109177109178109179109180109181109182109183109184109185109186109187109188109189109190109191109192109193109194109195109196109197109198109199109200109201109202109203109204109205109206109207109208109209109210109211109212109213109214109215109216109217109218109219109220109221109222109223109224109225109226109227109228109229109230109231109232109233109234109235109236109237109238109239109240109241109242109243109244109245109246109247109248109249109250109251109252109253109254109255109256109257109258109259109260109261109262109263109264109265109266109267109268109269109270109271109272109273109274109275109276109277109278109279109280109281109282109283109284109285109286109287109288109289109290109291109292109293109294109295109296109297109298109299109300109301109302109303109304109305109306109307109308109309109310109311109312109313109314109315109316109317109318109319109320109321109322109323109324109325109326109327109328109329109330109331109332109333109334109335109336109337109338109339109340109341109342109343109344109345109346109347109348109349109350109351109352109353109354109355109356109357109358109359109360109361109362109363109364109365109366109367109368109369109370109371109372109373109374109375109376109377109378109379109380109381109382109383109384109385109386109387109388109389109390109391109392109393109394109395109396109397109398109399109400109401109402109403109404109405109406109407109408109409109410109411109412109413109414109415109416109417109418109419109420109421109422109423109424109425109426109427109428109429109430109431109432109433109434109435109436109437109438109439109440109441109442109443109444109445109446109447109448109449109450109451109452109453109454109455109456109457109458109459109460109461109462109463109464109465109466109467109468109469109470109471109472109473109474109475109476109477109478109479109480109481109482109483109484109485109486109487109488109489109490109491109492109493109494109495109496109497109498109499109500109501109502109503109504109505109506109507109508109509109510109511109512109513109514109515109516109517109518109519109520109521109522109523109524109525109526109527109528109529109530109531109532109533109534109535109536109537109538109539109540109541109542109543109544109545109546109547109548109549109550109551109552109553109554109555109556109557109558109559109560109561109562109563109564109565109566109567109568109569109570109571109572109573109574109575109576109577109578109579109580109581109582109583109584109585109586109587109588109589109590109591109592109593109594109595109596109597109598109599109600109601109602109603109604109605109606109607109608109609109610109611109612109613109614109615109616109617109618109619109620109621109622109623109624109625109626109627109628109629109630109631109632109633109634109635109636109637109638109639109640109641109642109643109644109645109646109647109648109649109650109651109652109653109654109655109656109657109658109659109660109661109662109663109664109665109666109667109668109669109670109671109672109673109674109675109676109677109678109679109680109681109682109683109684109685109686109687109688109689109690109691109692109693109694109695109696109697109698109699109700109701109702109703109704109705109706109707109708109709109710109711109712109713109714109715109716109717109718109719109720109721109722109723109724109725109726109727109728109729109730109731109732109733109734109735109736109737109738109739109740109741109742109743109744109745109746109747109748109749109750109751109752109753109754109755109756109757109758109759109760109761109762109763109764109765109766109767109768109769109770109771109772109773109774109775109776109777109778109779109780109781109782109783109784109785109786109787109788109789109790109791109792109793109794109795109796109797109798109799109800109801109802109803109804109805109806109807109808109809109810109811109812109813109814109815109816109817109818109819109820109821109822109823109824109825109826109827109828109829109830109831109832109833109834109835109836109837109838109839109840109841109842109843109844109845109846109847109848109849109850109851109852109853109854109855109856109857109858109859109860109861109862109863109864109865109866109867109868109869109870109871109872109873109874109875109876109877109878109879109880109881109882109883109884109885109886109887109888109889109890109891109892109893109894109895109896109897109898109899109900109901109902109903109904109905109906109907109908109909109910109911109912109913109914109915109916109917109918109919109920109921109922109923109924109925109926109927109928109929109930109931109932109933109934109935109936109937109938109939109940109941109942109943109944109945109946109947109948109949109950109951109952109953109954109955109956109957109958109959109960109961109962109963109964109965109966109967109968109969109970109971109972109973109974109975109976109977109978109979109980109981109982109983109984109985109986109987109988109989109990109991109992109993109994109995109996109997109998109999110000110001110002110003110004110005110006110007110008110009110010110011110012110013110014110015110016110017110018110019110020110021110022110023110024110025110026110027110028110029110030110031110032110033110034110035110036110037110038110039110040110041110042110043110044110045110046110047110048110049110050110051110052110053110054110055110056110057110058110059110060110061110062110063110064110065110066110067110068110069110070110071110072110073110074110075110076110077110078110079110080110081110082110083110084110085110086110087110088110089110090110091110092110093110094110095110096110097110098110099110100110101110102110103110104110105110106110107110108110109110110110111110112110113110114110115110116110117110118110119110120110121110122110123110124110125110126110127110128110129110130110131110132110133110134110135110136110137110138110139110140110141110142110143110144110145110146110147110148110149110150110151110152110153110154110155110156110157110158110159110160110161110162110163110164110165110166110167110168110169110170110171110172110173110174110175110176110177110178110179110180110181110182110183110184110185110186110187110188110189110190110191110192110193110194110195110196110197110198110199110200110201110202110203110204110205110206110207110208110209110210110211110212110213110214110215110216110217110218110219110220110221110222110223110224110225110226110227110228110229110230110231110232110233110234110235110236110237110238110239110240110241110242110243110244110245110246110247110248110249110250110251110252110253110254110255110256110257110258110259110260110261110262110263110264110265110266110267110268110269110270110271110272110273110274110275110276110277110278110279110280110281110282110283110284110285110286110287110288110289110290110291110292110293110294110295110296110297110298110299110300110301110302110303110304110305110306110307110308110309110310110311110312110313110314110315110316110317110318110319110320110321110322110323110324110325110326110327110328110329110330110331110332110333110334110335110336110337110338110339110340110341110342110343110344110345110346110347110348110349110350110351110352110353110354110355110356110357110358110359110360110361110362110363110364110365110366110367110368110369110370110371110372110373110374110375110376110377110378110379110380110381110382110383110384110385110386110387110388110389110390110391110392110393110394110395110396110397110398110399110400110401110402110403110404110405110406110407110408110409110410110411110412110413110414110415110416110417110418110419110420110421110422110423110424110425110426110427110428110429110430110431110432110433110434110435110436110437110438110439110440110441110442110443110444110445110446110447110448110449110450110451110452110453110454110455110456110457110458110459110460110461110462110463110464110465110466110467110468110469110470110471110472110473110474110475110476110477110478110479110480110481110482110483110484110485110486110487110488110489110490110491110492110493110494110495110496110497110498110499110500110501110502110503110504110505110506110507110508110509110510110511110512110513110514110515110516110517110518110519110520110521110522110523110524110525110526110527110528110529110530110531110532110533110534110535110536110537110538110539110540110541110542110543110544110545110546110547110548110549110550110551110552110553110554110555110556110557110558110559110560110561110562110563110564110565110566110567110568110569110570110571110572110573110574110575110576110577110578110579110580110581110582110583110584110585110586110587110588110589110590110591110592110593110594110595110596110597110598110599110600110601110602110603110604110605110606110607110608110609110610110611110612110613110614110615110616110617110618110619110620110621110622110623110624110625110626110627110628110629110630110631110632110633110634110635110636110637110638110639110640110641110642110643110644110645110646110647110648110649110650110651110652110653110654110655110656110657110658110659110660110661110662110663110664110665110666110667110668110669110670110671110672110673110674110675110676110677110678110679110680110681110682110683110684110685110686110687110688110689110690110691110692110693110694110695110696110697110698110699110700110701110702110703110704110705110706110707110708110709110710110711110712110713110714110715110716110717110718110719110720110721110722110723110724110725110726110727110728110729110730110731110732110733110734110735110736110737110738110739110740110741110742110743110744110745110746110747110748110749110750110751110752110753110754110755110756110757110758110759110760110761110762110763110764110765110766110767110768110769110770110771110772110773110774110775110776110777110778110779110780110781110782110783110784110785110786110787110788110789110790110791110792110793110794110795110796110797110798110799110800110801110802110803110804110805110806110807110808110809110810110811110812110813110814110815110816110817110818110819110820110821110822110823110824110825110826110827110828110829110830110831110832110833110834110835110836110837110838110839110840110841110842110843110844110845110846110847110848110849110850110851110852110853110854110855110856110857110858110859110860110861110862110863110864110865110866110867110868110869110870110871110872110873110874110875110876110877110878110879110880110881110882110883110884110885110886110887110888110889110890110891110892110893110894110895110896110897110898110899110900110901110902110903110904110905110906110907110908110909110910110911110912110913110914110915110916110917110918110919110920110921110922110923110924110925110926110927110928110929110930110931110932110933110934110935110936110937110938110939110940110941110942110943110944110945110946110947110948110949110950110951110952110953110954110955110956110957110958110959110960110961110962110963110964110965110966110967110968110969110970110971110972110973110974110975110976110977110978110979110980110981110982110983110984110985110986110987110988110989110990110991110992110993110994110995110996110997110998110999111000111001111002111003111004111005111006111007111008111009111010111011111012111013111014111015111016111017111018111019111020111021111022111023111024111025111026111027111028111029111030111031111032111033111034111035111036111037111038111039111040111041111042111043111044111045111046111047111048111049111050111051111052111053111054111055111056111057111058111059111060111061111062111063111064111065111066111067111068111069111070111071111072111073111074111075111076111077111078111079111080111081111082111083111084111085111086111087111088111089111090111091111092111093111094111095111096111097111098111099111100111101111102111103111104111105111106111107111108111109111110111111111112111113111114111115111116111117111118111119111120111121111122111123111124111125111126111127111128111129111130111131111132111133111134111135111136111137111138111139111140111141111142111143111144111145111146111147111148111149111150111151111152111153111154111155111156111157111158111159111160111161111162111163111164111165111166111167111168111169111170111171111172111173111174111175111176111177111178111179111180111181111182111183111184111185111186111187111188111189111190111191111192111193111194111195111196111197111198111199111200111201111202111203111204111205111206111207111208111209111210111211111212111213111214111215111216111217111218111219111220111221111222111223111224111225111226111227111228111229111230111231111232111233111234111235111236111237111238111239111240111241111242111243111244111245111246111247111248111249111250111251111252111253111254111255111256111257111258111259111260111261111262111263111264111265111266111267111268111269111270111271111272111273111274111275111276111277111278111279111280111281111282111283111284111285111286111287111288111289111290111291111292111293111294111295111296111297111298111299111300111301111302111303111304111305111306111307111308111309111310111311111312111313111314111315111316111317111318111319111320111321111322111323111324111325111326111327111328111329111330111331111332111333111334111335111336111337111338111339111340111341111342111343111344111345111346111347111348111349111350111351111352111353111354111355111356111357111358111359111360111361111362111363111364111365111366111367111368111369111370111371111372111373111374111375111376111377111378111379111380111381111382111383111384111385111386111387111388111389111390111391111392111393111394111395111396111397111398111399111400111401111402111403111404111405111406111407111408111409111410111411111412111413111414111415111416111417111418111419111420111421111422111423111424111425111426111427111428111429111430111431111432111433111434111435111436111437111438111439111440111441111442111443111444111445111446111447111448111449111450111451111452111453111454111455111456111457111458111459111460111461111462111463111464111465111466111467111468111469111470111471111472111473111474111475111476111477111478111479111480111481111482111483111484111485111486111487111488111489111490111491111492111493111494111495111496111497111498111499111500111501111502111503111504111505111506111507111508111509111510111511111512111513111514111515111516111517111518111519111520111521111522111523111524111525111526111527111528111529111530111531111532111533111534111535111536111537111538111539111540111541111542111543111544111545111546111547111548111549111550111551111552111553111554111555111556111557111558111559111560111561111562111563111564111565111566111567111568111569111570111571111572111573111574111575111576111577111578111579111580111581111582111583111584111585111586111587111588111589111590111591111592111593111594111595111596111597111598111599111600111601111602111603111604111605111606111607111608111609111610111611111612111613111614111615111616111617111618111619111620111621111622111623111624111625111626111627111628111629111630111631111632111633111634111635111636111637111638111639111640111641111642111643111644111645111646111647111648111649111650111651111652111653111654111655111656111657111658111659111660111661111662111663111664111665111666111667111668111669111670111671111672111673111674111675111676111677111678111679111680111681111682111683111684111685111686111687111688111689111690111691111692111693111694111695111696111697111698111699111700111701111702111703111704111705111706111707111708111709111710111711111712111713111714111715111716111717111718111719111720111721111722111723111724111725111726111727111728111729111730111731111732111733111734111735111736111737111738111739111740111741111742111743111744111745111746111747111748111749111750111751111752111753111754111755111756111757111758111759111760111761111762111763111764111765111766111767111768111769111770111771111772111773111774111775111776111777111778111779111780111781111782111783111784111785111786111787111788111789111790111791111792111793111794111795111796111797111798111799111800111801111802111803111804111805111806111807111808111809111810111811111812111813111814111815111816111817111818111819111820111821111822111823111824111825111826111827111828111829111830111831111832111833111834111835111836111837111838111839111840111841111842111843111844111845111846111847111848111849111850111851111852111853111854111855111856111857111858111859111860111861111862111863111864111865111866111867111868111869111870111871111872111873111874111875111876111877111878111879111880111881111882111883111884111885111886111887111888111889111890111891111892111893111894111895111896111897111898111899111900111901111902111903111904111905111906111907111908111909111910111911111912111913111914111915111916111917111918111919111920111921111922111923111924111925111926111927111928111929111930111931111932111933111934111935111936111937111938111939111940111941111942111943111944111945111946111947111948111949111950111951111952111953111954111955111956111957111958111959111960111961111962111963111964111965111966111967111968111969111970111971111972111973111974111975111976111977111978111979111980111981111982111983111984111985111986111987111988111989111990111991111992111993111994111995111996111997111998111999112000112001112002112003112004112005112006112007112008112009112010112011112012112013112014112015112016112017112018112019112020112021112022112023112024112025112026112027112028112029112030112031112032112033112034112035112036112037112038112039112040112041112042112043112044112045112046112047112048112049112050112051112052112053112054112055112056112057112058112059112060112061112062112063112064112065112066112067112068112069112070112071112072112073112074112075112076112077112078112079112080112081112082112083112084112085112086112087112088112089112090112091112092112093112094112095112096112097112098112099112100112101112102112103112104112105112106112107112108112109112110112111112112112113112114112115112116112117112118112119112120112121112122112123112124112125112126112127112128112129112130112131112132112133112134112135112136112137112138112139112140112141112142112143112144112145112146112147112148112149112150112151112152112153112154112155112156112157112158112159112160112161112162112163112164112165112166112167112168112169112170112171112172112173112174112175112176112177112178112179112180112181112182112183112184112185112186112187112188112189112190112191112192112193112194112195112196112197112198112199112200112201112202112203112204112205112206112207112208112209112210112211112212112213112214112215112216112217112218112219112220112221112222112223112224112225112226112227112228112229112230112231112232112233112234112235112236112237112238112239112240112241112242112243112244112245112246112247112248112249112250112251112252112253112254112255112256112257112258112259112260112261112262112263112264112265112266112267112268112269112270112271112272112273112274112275112276112277112278112279112280112281112282112283112284112285112286112287112288112289112290112291112292112293112294112295112296112297112298112299112300112301112302112303112304112305112306112307112308112309112310112311112312112313112314112315112316112317112318112319112320112321112322112323112324112325112326112327112328112329112330112331112332112333112334112335112336112337112338112339112340112341112342112343112344112345112346112347112348112349112350112351112352112353112354112355112356112357112358112359112360112361112362112363112364112365112366112367112368112369112370112371112372112373112374112375112376112377112378112379112380112381112382112383112384112385112386112387112388112389112390112391112392112393112394112395112396112397112398112399112400112401112402112403112404112405112406112407112408112409112410112411112412112413112414112415112416112417112418112419112420112421112422112423112424112425112426112427112428112429112430112431112432112433112434112435112436112437112438112439112440112441112442112443112444112445112446112447112448112449112450112451112452112453112454112455112456112457112458112459112460112461112462112463112464112465112466112467112468112469112470112471112472112473112474112475112476112477112478112479112480112481112482112483112484112485112486112487112488112489112490112491112492112493112494112495112496112497112498112499112500112501112502112503112504112505112506112507112508112509112510112511112512112513112514112515112516112517112518112519112520112521112522112523112524112525112526112527112528112529112530112531112532112533112534112535112536112537112538112539112540112541112542112543112544112545112546112547112548112549112550112551112552112553112554112555112556112557112558112559112560112561112562112563112564112565112566112567112568112569112570112571112572112573112574112575112576112577112578112579112580112581112582112583112584112585112586112587112588112589112590112591112592112593112594112595112596112597112598112599112600112601112602112603112604112605112606112607112608112609112610112611112612112613112614112615112616112617112618112619112620112621112622112623112624112625112626112627112628112629112630112631112632112633112634112635112636112637112638112639112640112641112642112643112644112645112646112647112648112649112650112651112652112653112654112655112656112657112658112659112660112661112662112663112664112665112666112667112668112669112670112671112672112673112674112675112676112677112678112679112680112681112682112683112684112685112686112687112688112689112690112691112692112693112694112695112696112697112698112699112700112701112702112703112704112705112706112707112708112709112710112711112712112713112714112715112716112717112718112719112720112721112722112723112724112725112726112727112728112729112730112731112732112733112734112735112736112737112738112739112740112741112742112743112744112745112746112747112748112749112750112751112752112753112754112755112756112757112758112759112760112761112762112763112764112765112766112767112768112769112770112771112772112773112774112775112776112777112778112779112780112781112782112783112784112785112786112787112788112789112790112791112792112793112794112795112796112797112798112799112800112801112802112803112804112805112806112807112808112809112810112811112812112813112814112815112816112817112818112819112820112821112822112823112824112825112826112827112828112829112830112831112832112833112834112835112836112837112838112839112840112841112842112843112844112845112846112847112848112849112850112851112852112853112854112855112856112857112858112859112860112861112862112863112864112865112866112867112868112869112870112871112872112873112874112875112876112877112878112879112880112881112882112883112884112885112886112887112888112889112890112891112892112893112894112895112896112897112898112899112900112901112902112903112904112905112906112907112908112909112910112911112912112913112914112915112916112917112918112919112920112921112922112923112924112925112926112927112928112929112930112931112932112933112934112935112936112937112938112939112940112941112942112943112944112945112946112947112948112949112950112951112952112953112954112955112956112957112958112959112960112961112962112963112964112965112966112967112968112969112970112971112972112973112974112975112976112977112978112979112980112981112982112983112984112985112986112987112988112989112990112991112992112993112994112995112996112997112998112999113000113001113002113003113004113005113006113007113008113009113010113011113012113013113014113015113016113017113018113019113020113021113022113023113024113025113026113027113028113029113030113031113032113033113034113035113036113037113038113039113040113041113042113043113044113045113046113047113048113049113050113051113052113053113054113055113056113057113058113059113060113061113062113063113064113065113066113067113068113069113070113071113072113073113074113075113076113077113078113079113080113081113082113083113084113085113086113087113088113089113090113091113092113093113094113095113096113097113098113099113100113101113102113103113104113105113106113107113108113109113110113111113112113113113114113115113116113117113118113119113120113121113122113123113124113125113126113127113128113129113130113131113132113133113134113135113136113137113138113139113140113141113142113143113144113145113146113147113148113149113150113151113152113153113154113155113156113157113158113159113160113161113162113163113164113165113166113167113168113169113170113171113172113173113174113175113176113177113178113179113180113181113182113183113184113185113186113187113188113189113190113191113192113193113194113195113196113197113198113199113200113201113202113203113204113205113206113207113208113209113210113211113212113213113214113215113216113217113218113219113220113221113222113223113224113225113226113227113228113229113230113231113232113233113234113235113236113237113238113239113240113241113242113243113244113245113246113247113248113249113250113251113252113253113254113255113256113257113258113259113260113261113262113263113264113265113266113267113268113269113270113271113272113273113274113275113276113277113278113279113280113281113282113283113284113285113286113287113288113289113290113291113292113293113294113295113296113297113298113299113300113301113302113303113304113305113306113307113308113309113310113311113312113313113314113315113316113317113318113319113320113321113322113323113324113325113326113327113328113329113330113331113332113333113334113335113336113337113338113339113340113341113342113343113344113345113346113347113348113349113350113351113352113353113354113355113356113357113358113359113360113361113362113363113364113365113366113367113368113369113370113371113372113373113374113375113376113377113378113379113380113381113382113383113384113385113386113387113388113389113390113391113392113393113394113395113396113397113398113399113400113401113402113403113404113405113406113407113408113409113410113411113412113413113414113415113416113417113418113419113420113421113422113423113424113425113426113427113428113429113430113431113432113433113434113435113436113437113438113439113440113441113442113443113444113445113446113447113448113449113450113451113452113453113454113455113456113457113458113459113460113461113462113463113464113465113466113467113468113469113470113471113472113473113474113475113476113477113478113479113480113481113482113483113484113485113486113487113488113489113490113491113492113493113494113495113496113497113498113499113500113501113502113503113504113505113506113507113508113509113510113511113512113513113514113515113516113517113518113519113520113521113522113523113524113525113526113527113528113529113530113531113532113533113534113535113536113537113538113539113540113541113542113543113544113545113546113547113548113549113550113551113552113553113554113555113556113557113558113559113560113561113562113563113564113565113566113567113568113569113570113571113572113573113574113575113576113577113578113579113580113581113582113583113584113585113586113587113588113589113590113591113592113593113594113595113596113597113598113599113600113601113602113603113604113605113606113607113608113609113610113611113612113613113614113615113616113617113618113619113620113621113622113623113624113625113626113627113628113629113630113631113632113633113634113635113636113637113638113639113640113641113642113643113644113645113646113647113648113649113650113651113652113653113654113655113656113657113658113659113660113661113662113663113664113665113666113667113668113669113670113671113672113673113674113675113676113677113678113679113680113681113682113683113684113685113686113687113688113689113690113691113692113693113694113695113696113697113698113699113700113701113702113703113704113705113706113707113708113709113710113711113712113713113714113715113716113717113718113719113720113721113722113723113724113725113726113727113728113729113730113731113732113733113734113735113736113737113738113739113740113741113742113743113744113745113746113747113748113749113750113751113752113753113754113755113756113757113758113759113760113761113762113763113764113765113766113767113768113769113770113771113772113773113774113775113776113777113778113779113780113781113782113783113784113785113786113787113788113789113790113791113792113793113794113795113796113797113798113799113800113801113802113803113804113805113806113807113808113809113810113811113812113813113814113815113816113817113818113819113820113821113822113823113824113825113826113827113828113829113830113831113832113833113834113835113836113837113838113839113840113841113842113843113844113845113846113847113848113849113850113851113852113853113854113855113856113857113858113859113860113861113862113863113864113865113866113867113868113869113870113871113872113873113874113875113876113877113878113879113880113881113882113883113884113885113886113887113888113889113890113891113892113893113894113895113896113897113898113899113900113901113902113903113904113905113906113907113908113909113910113911113912113913113914113915113916113917113918113919113920113921113922113923113924113925113926113927113928113929113930113931113932113933113934113935113936113937113938113939113940113941113942113943113944113945113946113947113948113949113950113951113952113953113954113955113956113957113958113959113960113961113962113963113964113965113966113967113968113969113970113971113972113973113974113975113976113977113978113979113980113981113982113983113984113985113986113987113988113989113990113991113992113993113994113995113996113997113998113999114000114001114002114003114004114005114006114007114008114009114010114011114012114013114014114015114016114017114018114019114020114021114022114023114024114025114026114027114028114029114030114031114032114033114034114035114036114037114038114039114040114041114042114043114044114045114046114047114048114049114050114051114052114053114054114055114056114057114058114059114060114061114062114063114064114065114066114067114068114069114070114071114072114073114074114075114076114077114078114079114080114081114082114083114084114085114086114087114088114089114090114091114092114093114094114095114096114097114098114099114100114101114102114103114104114105114106114107114108114109114110114111114112114113114114114115114116114117114118114119114120114121114122114123114124114125114126114127114128114129114130114131114132114133114134114135114136114137114138114139114140114141114142114143114144114145114146114147114148114149114150114151114152114153114154114155114156114157114158114159114160114161114162114163114164114165114166114167114168114169114170114171114172114173114174114175114176114177114178114179114180114181114182114183114184114185114186114187114188114189114190114191114192114193114194114195114196114197114198114199114200114201114202114203114204114205114206114207114208114209114210114211114212114213114214114215114216114217114218114219114220114221114222114223114224114225114226114227114228114229114230114231114232114233114234114235114236114237114238114239114240114241114242114243114244114245114246114247114248114249114250114251114252114253114254114255114256114257114258114259114260114261114262114263114264114265114266114267114268114269114270114271114272114273114274114275114276114277114278114279114280114281114282114283114284114285114286114287114288114289114290114291114292114293114294114295114296114297114298114299114300114301114302114303114304114305114306114307114308114309114310114311114312114313114314114315114316114317114318114319114320114321114322114323114324114325114326114327114328114329114330114331114332114333114334114335114336114337114338114339114340114341114342114343114344114345114346114347114348114349114350114351114352114353114354114355114356114357114358114359114360114361114362114363114364114365114366114367114368114369114370114371114372114373114374114375114376114377114378114379114380114381114382114383114384114385114386114387114388114389114390114391114392114393114394114395114396114397114398114399114400114401114402114403114404114405114406114407114408114409114410114411114412114413114414114415114416114417114418114419114420114421114422114423114424114425114426114427114428114429114430114431114432114433114434114435114436114437114438114439114440114441114442114443114444114445114446114447114448114449114450114451114452114453114454114455114456114457114458114459114460114461114462114463114464114465114466114467114468114469114470114471114472114473114474114475114476114477114478114479114480114481114482114483114484114485114486114487114488114489114490114491114492114493114494114495114496114497114498114499114500114501114502114503114504114505114506114507114508114509114510114511114512114513114514114515114516114517114518114519114520114521114522114523114524114525114526114527114528114529114530114531114532114533114534114535114536114537114538114539114540114541114542114543114544114545114546114547114548114549114550114551114552114553114554114555114556114557114558114559114560114561114562114563114564114565114566114567114568114569114570114571114572114573114574114575114576114577114578114579114580114581114582114583114584114585114586114587114588114589114590114591114592114593114594114595114596114597114598114599114600114601114602114603114604114605114606114607114608114609114610114611114612114613114614114615114616114617114618114619114620114621114622114623114624114625114626114627114628114629114630114631114632114633114634114635114636114637114638114639114640114641114642114643114644114645114646114647114648114649114650114651114652114653114654114655114656114657114658114659114660114661114662114663114664114665114666114667114668114669114670114671114672114673114674114675114676114677114678114679114680114681114682114683114684114685114686114687114688114689114690114691114692114693114694114695114696114697114698114699114700114701114702114703114704114705114706114707114708114709114710114711114712114713114714114715114716114717114718114719114720114721114722114723114724114725114726114727114728114729114730114731114732114733114734114735114736114737114738114739114740114741114742114743114744114745114746114747114748114749114750114751114752114753114754114755114756114757114758114759114760114761114762114763114764114765114766114767114768114769114770114771114772114773114774114775114776114777114778114779114780114781114782114783114784114785114786114787114788114789114790114791114792114793114794114795114796114797114798114799114800114801114802114803114804114805114806114807114808114809114810114811114812114813114814114815114816114817114818114819114820114821114822114823114824114825114826114827114828114829114830114831114832114833114834114835114836114837114838114839114840114841114842114843114844114845114846114847114848114849114850114851114852114853114854114855114856114857114858114859114860114861114862114863114864114865114866114867114868114869114870114871114872114873114874114875114876114877114878114879114880114881114882114883114884114885114886114887114888114889114890114891114892114893114894114895114896114897114898114899114900114901114902114903114904114905114906114907114908114909114910114911114912114913114914114915114916114917114918114919114920114921114922114923114924114925114926114927114928114929114930114931114932114933114934114935114936114937114938114939114940114941114942114943114944114945114946114947114948114949114950114951114952114953114954114955114956114957114958114959114960114961114962114963114964114965114966114967114968114969114970114971114972114973114974114975114976114977114978114979114980114981114982114983114984114985114986114987114988114989114990114991114992114993114994114995114996114997114998114999115000115001115002115003115004115005115006115007115008115009115010115011115012115013115014115015115016115017115018115019115020115021115022115023115024115025115026115027115028115029115030115031115032115033115034115035115036115037115038115039115040115041115042115043115044115045115046115047115048115049115050115051115052115053115054115055115056115057115058115059115060115061115062115063115064115065115066115067115068115069115070115071115072115073115074115075115076115077115078115079115080115081115082115083115084115085115086115087115088115089115090115091115092115093115094115095115096115097115098115099115100115101115102115103115104115105115106115107115108115109115110115111115112115113115114115115115116115117115118115119115120115121115122115123115124115125115126115127115128115129115130115131115132115133115134115135115136115137115138115139115140115141115142115143115144115145115146115147115148115149115150115151115152115153115154115155115156115157115158115159115160115161115162115163115164115165115166115167115168115169115170115171115172115173115174115175115176115177115178115179115180115181115182115183115184115185115186115187115188115189115190115191115192115193115194115195115196115197115198115199115200115201115202115203115204115205115206115207115208115209115210115211115212115213115214115215115216115217115218115219115220115221115222115223115224115225115226115227115228115229115230115231115232115233115234115235115236115237115238115239115240115241115242115243115244115245115246115247115248115249115250115251115252115253115254115255115256115257115258115259115260115261115262115263115264115265115266115267115268115269115270115271115272115273115274115275115276115277115278115279115280115281115282115283115284115285115286115287115288115289115290115291115292115293115294115295115296115297115298115299115300115301115302115303115304115305115306115307115308115309115310115311115312115313115314115315115316115317115318115319115320115321115322115323115324115325115326115327115328115329115330115331115332115333115334115335115336115337115338115339115340115341115342115343115344115345115346115347115348115349115350115351115352115353115354115355115356115357115358115359115360115361115362115363115364115365115366115367115368115369115370115371115372115373115374115375115376115377115378115379115380115381115382115383115384115385115386115387115388115389115390115391115392115393115394115395115396115397115398115399115400115401115402115403115404115405115406115407115408115409115410115411115412115413115414115415115416115417115418115419115420115421115422115423115424115425115426115427115428115429115430115431115432115433115434115435115436115437115438115439115440115441115442115443115444115445115446115447115448115449115450115451115452115453115454115455115456115457115458115459115460115461115462115463115464115465115466115467115468115469115470115471115472115473115474115475115476115477115478115479115480115481115482115483115484115485115486115487115488115489115490115491115492115493115494115495115496115497115498115499115500115501115502115503115504115505115506115507115508115509115510115511115512115513115514115515115516115517115518115519115520115521115522115523115524115525115526115527115528115529115530115531115532115533115534115535115536115537115538115539115540115541115542115543115544115545115546115547115548115549115550115551115552115553115554115555115556115557115558115559115560115561115562115563115564115565115566115567115568115569115570115571115572115573115574115575115576115577115578115579115580115581115582115583115584115585115586115587115588115589115590115591115592115593115594115595115596115597115598115599115600115601115602115603115604115605115606115607115608115609115610115611115612115613115614115615115616115617115618115619115620115621115622115623115624115625115626115627115628115629115630115631115632115633115634115635115636115637115638115639115640115641115642115643115644115645115646115647115648115649115650115651115652115653115654115655115656115657115658115659115660115661115662115663115664115665115666115667115668115669115670115671115672115673115674115675115676115677115678115679115680115681115682115683115684115685115686115687115688115689115690115691115692115693115694115695115696115697115698115699115700115701115702115703115704115705115706115707115708115709115710115711115712115713115714115715115716115717115718115719115720115721115722115723115724115725115726115727115728115729115730115731115732115733115734115735115736115737115738115739115740115741115742115743115744115745115746115747115748115749115750115751115752115753115754115755115756115757115758115759115760115761115762115763115764115765115766115767115768115769115770115771115772115773115774115775115776115777115778115779115780115781115782115783115784115785115786115787115788115789115790115791115792115793115794115795115796115797115798115799115800115801115802115803115804115805115806115807115808115809115810115811115812115813115814115815115816115817115818115819115820115821115822115823115824115825115826115827115828115829115830115831115832115833115834115835115836115837115838115839115840115841115842115843115844115845115846115847115848115849115850115851115852115853115854115855115856115857115858115859115860115861115862115863115864115865115866115867115868115869115870115871115872115873115874115875115876115877115878115879115880115881115882115883115884115885115886115887115888115889115890115891115892115893115894115895115896115897115898115899115900115901115902115903115904115905115906115907115908115909115910115911115912115913115914115915115916115917115918115919115920115921115922115923115924115925115926115927115928115929115930115931115932115933115934115935115936115937115938115939115940115941115942115943115944115945115946115947115948115949115950115951115952115953115954115955115956115957115958115959115960115961115962115963115964115965115966115967115968115969115970115971115972115973115974115975115976115977115978115979115980115981115982115983115984115985115986115987115988115989115990115991115992115993115994115995115996115997115998115999116000116001116002116003116004116005116006116007116008116009116010116011116012116013116014116015116016116017116018116019116020116021116022116023116024116025116026116027116028116029116030116031116032116033116034116035116036116037116038116039116040116041116042116043116044116045116046116047116048116049116050116051116052116053116054116055116056116057116058116059116060116061116062116063116064116065116066116067116068116069116070116071116072116073116074116075116076116077116078116079116080116081116082116083116084116085116086116087116088116089116090116091116092116093116094116095116096116097116098116099116100116101116102116103116104116105116106116107116108116109116110116111116112116113116114116115116116116117116118116119116120116121116122116123116124116125116126116127116128116129116130116131116132116133116134116135116136116137116138116139116140116141116142116143116144116145116146116147116148116149116150116151116152116153116154116155116156116157116158116159116160116161116162116163116164116165116166116167116168116169116170116171116172116173116174116175116176116177116178116179116180116181116182116183116184116185116186116187116188116189116190116191116192116193116194116195116196116197116198116199116200116201116202116203116204116205116206116207116208116209116210116211116212116213116214116215116216116217116218116219116220116221116222116223116224116225116226116227116228116229116230116231116232116233116234116235116236116237116238116239116240116241116242116243116244116245116246116247116248116249116250116251116252116253116254116255116256116257116258116259116260116261116262116263116264116265116266116267116268116269116270116271116272116273116274116275116276116277116278116279116280116281116282116283116284116285116286116287116288116289116290116291116292116293116294116295116296116297116298116299116300116301116302116303116304116305116306116307116308116309116310116311116312116313116314116315116316116317116318116319116320116321116322116323116324116325116326116327116328116329116330116331116332116333116334116335116336116337116338116339116340116341116342116343116344116345116346116347116348116349116350116351116352116353116354116355116356116357116358116359116360116361116362116363116364116365116366116367116368116369116370116371116372116373116374116375116376116377116378116379116380116381116382116383116384116385116386116387116388116389116390116391116392116393116394116395116396116397116398116399116400116401116402116403116404116405116406116407116408116409116410116411116412116413116414116415116416116417116418116419116420116421116422116423116424116425116426116427116428116429116430116431116432116433116434116435116436116437116438116439116440116441116442116443116444116445116446116447116448116449116450116451116452116453116454116455116456116457116458116459116460116461116462116463116464116465116466116467116468116469116470116471116472116473116474116475116476116477116478116479116480116481116482116483116484116485116486116487116488116489116490116491116492116493116494116495116496116497116498116499116500116501116502116503116504116505116506116507116508116509116510116511116512116513116514116515116516116517116518116519116520116521116522116523116524116525116526116527116528116529116530116531116532116533116534116535116536116537116538116539116540116541116542116543116544116545116546116547116548116549116550116551116552116553116554116555116556116557116558116559116560116561116562116563116564116565116566116567116568116569116570116571116572116573116574116575116576116577116578116579116580116581116582116583116584116585116586116587116588116589116590116591116592116593116594116595116596116597116598116599116600116601116602116603116604116605116606116607116608116609116610116611116612116613116614116615116616116617116618116619116620116621116622116623116624116625116626116627116628116629116630116631116632116633116634116635116636116637116638116639116640116641116642116643116644116645116646116647116648116649116650116651116652116653116654116655116656116657116658116659116660116661116662116663116664116665116666116667116668116669116670116671116672116673116674116675116676116677116678116679116680116681116682116683116684116685116686116687116688116689116690116691116692116693116694116695116696116697116698116699116700116701116702116703116704116705116706116707116708116709116710116711116712116713116714116715116716116717116718116719116720116721116722116723116724116725116726116727116728116729116730116731116732116733116734116735116736116737116738116739116740116741116742116743116744116745116746116747116748116749116750116751116752116753116754116755116756116757116758116759116760116761116762116763116764116765116766116767116768116769116770116771116772116773116774116775116776116777116778116779116780116781116782116783116784116785116786116787116788116789116790116791116792116793116794116795116796116797116798116799116800116801116802116803116804116805116806116807116808116809116810116811116812116813116814116815116816116817116818116819116820116821116822116823116824116825116826116827116828116829116830116831116832116833116834116835116836116837116838116839116840116841116842116843116844116845116846116847116848116849116850116851116852116853116854116855116856116857116858116859116860116861116862116863116864116865116866116867116868116869116870116871116872116873116874116875116876116877116878116879116880116881116882116883116884116885116886116887116888116889116890116891116892116893116894116895116896116897116898116899116900116901116902116903116904116905116906116907116908116909116910116911116912116913116914116915116916116917116918116919116920116921116922116923116924116925116926116927116928116929116930116931116932116933116934116935116936116937116938116939116940116941116942116943116944116945116946116947116948116949116950116951116952116953116954116955116956116957116958116959116960116961116962116963116964116965116966116967116968116969116970116971116972116973116974116975116976116977116978116979116980116981116982116983116984116985116986116987116988116989116990116991116992116993116994116995116996116997116998116999117000117001117002117003117004117005117006117007117008117009117010117011117012117013117014117015117016117017117018117019117020117021117022117023117024117025117026117027117028117029117030117031117032117033117034117035117036117037117038117039117040117041117042117043117044117045117046117047117048117049117050117051117052117053117054117055117056117057117058117059117060117061117062117063117064117065117066117067117068117069117070117071117072117073117074117075117076117077117078117079117080117081117082117083117084117085117086117087117088117089117090117091117092117093117094117095117096117097117098117099117100117101117102117103117104117105117106117107117108117109117110117111117112117113117114117115117116117117117118117119117120117121117122117123117124117125117126117127117128117129117130117131117132117133117134117135117136117137117138117139117140117141117142117143117144117145117146117147117148117149117150117151117152117153117154117155117156117157117158117159117160117161117162117163117164117165117166117167117168117169117170117171117172117173117174117175117176117177117178117179117180117181117182117183117184117185117186117187117188117189117190117191117192117193117194117195117196117197117198117199117200117201117202117203117204117205117206117207117208117209117210117211117212117213117214117215117216117217117218117219117220117221117222117223117224117225117226117227117228117229117230117231117232117233117234117235117236117237117238117239117240117241117242117243117244117245117246117247117248117249117250117251117252117253117254117255117256117257117258117259117260117261117262117263117264117265117266117267117268117269117270117271117272117273117274117275117276117277117278117279117280117281117282117283117284117285117286117287117288117289117290117291117292117293117294117295117296117297117298117299117300117301117302117303117304117305117306117307117308117309117310117311117312117313117314117315117316117317117318117319117320117321117322117323117324117325117326117327117328117329117330117331117332117333117334117335117336117337117338117339117340117341117342117343117344117345117346117347117348117349117350117351117352117353117354117355117356117357117358117359117360117361117362117363117364117365117366117367117368117369117370117371117372117373117374117375117376117377117378117379117380117381117382117383117384117385117386117387117388117389117390117391117392117393117394117395117396117397117398117399117400117401117402117403117404117405117406117407117408117409117410117411117412117413117414117415117416117417117418117419117420117421117422117423117424117425117426117427117428117429117430117431117432117433117434117435117436117437117438117439117440117441117442117443117444117445117446117447117448117449117450117451117452117453117454117455117456117457117458117459117460117461117462117463117464117465117466117467117468117469117470117471117472117473117474117475117476117477117478117479117480117481117482117483117484117485117486117487117488117489117490117491117492117493117494117495117496117497117498117499117500117501117502117503117504117505117506117507117508117509117510117511117512117513117514117515117516117517117518117519117520117521117522117523117524117525117526117527117528117529117530117531117532117533117534117535117536117537117538117539117540117541117542117543117544117545117546117547117548117549117550117551117552117553117554117555117556117557117558117559117560117561117562117563117564117565117566117567117568117569117570117571117572117573117574117575117576117577117578117579117580117581117582117583117584117585117586117587117588117589117590117591117592117593117594117595117596117597117598117599117600117601117602117603117604117605117606117607117608117609117610117611117612117613117614117615117616117617117618117619117620117621117622117623117624117625117626117627117628117629117630117631117632117633117634117635117636117637117638117639117640117641117642117643117644117645117646117647117648117649117650117651117652117653117654117655117656117657117658117659117660117661117662117663117664117665117666117667117668117669117670117671117672117673117674117675117676117677117678117679117680117681117682117683117684117685117686117687117688117689117690117691117692117693117694117695117696117697117698117699117700117701117702117703117704117705117706117707117708117709117710117711117712117713117714117715117716117717117718117719117720117721117722117723117724117725117726117727117728117729117730117731117732117733117734117735117736117737117738117739117740117741117742117743117744117745117746117747117748117749117750117751117752117753117754117755117756117757117758117759117760117761117762117763117764117765117766117767117768117769117770117771117772117773117774117775117776117777117778117779117780117781117782117783117784117785117786117787117788117789117790117791117792117793117794117795117796117797117798117799117800117801117802117803117804117805117806117807117808117809117810117811117812117813117814117815117816117817117818117819117820117821117822117823117824117825117826117827117828117829117830117831117832117833117834117835117836117837117838117839117840117841117842117843117844117845117846117847117848117849117850117851117852117853117854117855117856117857117858117859117860117861117862117863117864117865117866117867117868117869117870117871117872117873117874117875117876117877117878117879117880117881117882117883117884117885117886117887117888117889117890117891117892117893117894117895117896117897117898117899117900117901117902117903117904117905117906117907117908117909117910117911117912117913117914117915117916117917117918117919117920117921117922117923117924117925117926117927117928117929117930117931117932117933117934117935117936117937117938117939117940117941117942117943117944117945117946117947117948117949117950117951117952117953117954117955117956117957117958117959117960117961117962117963117964117965117966117967117968117969117970117971117972117973117974117975117976117977117978117979117980117981117982117983117984117985117986117987117988117989117990117991117992117993117994117995117996117997117998117999118000118001118002118003118004118005118006118007118008118009118010118011118012118013118014118015118016118017118018118019118020118021118022118023118024118025118026118027118028118029118030118031118032118033118034118035118036118037118038118039118040118041118042118043118044118045118046118047118048118049118050118051118052118053118054118055118056118057118058118059118060118061118062118063118064118065118066118067118068118069118070118071118072118073118074118075118076118077118078118079118080118081118082118083118084118085118086118087118088118089118090118091118092118093118094118095118096118097118098118099118100118101118102118103118104118105118106118107118108118109118110118111118112118113118114118115118116118117118118118119118120118121118122118123118124118125118126118127118128118129118130118131118132118133118134118135118136118137118138118139118140118141118142118143118144118145118146118147118148118149118150118151118152118153118154118155118156118157118158118159118160118161118162118163118164118165118166118167118168118169118170118171118172118173118174118175118176118177118178118179118180118181118182118183118184118185118186118187118188118189118190118191118192118193118194118195118196118197118198118199118200118201118202118203118204118205118206118207118208118209118210118211118212118213118214118215118216118217118218118219118220118221118222118223118224118225118226118227118228118229118230118231118232118233118234118235118236118237118238118239118240118241118242118243118244118245118246118247118248118249118250118251118252118253118254118255118256118257118258118259118260118261118262118263118264118265118266118267118268118269118270118271118272118273118274118275118276118277118278118279118280118281118282118283118284118285118286118287118288118289118290118291118292118293118294118295118296118297118298118299118300118301118302118303118304118305118306118307118308118309118310118311118312118313118314118315118316118317118318118319118320118321118322118323118324118325118326118327118328118329118330118331118332118333118334118335118336118337118338118339118340118341118342118343118344118345118346118347118348118349118350118351118352118353118354118355118356118357118358118359118360118361118362118363118364118365118366118367
  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. self.immutable = _cliPkgRequires.immutable;
  110. self.chokidar = _cliPkgRequires.chokidar;
  111. self.readline = _cliPkgRequires.readline;
  112. self.fs = _cliPkgRequires.fs;
  113. self.nodeModule = _cliPkgRequires.nodeModule;
  114. self.stream = _cliPkgRequires.stream;
  115. self.util = _cliPkgRequires.util;
  116. // Generated by dart2js (NullSafetyMode.sound, trust primitives, omit checks, lax runtime type, csp, intern-composite-values), the Dart to JavaScript compiler version: 3.4.0.
  117. // The code supports the following hooks:
  118. // dartPrint(message):
  119. // if this function is defined it is called instead of the Dart [print]
  120. // method.
  121. //
  122. // dartMainRunner(main, args):
  123. // if this function is defined, the Dart [main] method will not be invoked
  124. // directly. Instead, a closure that will invoke [main], and its arguments
  125. // [args] is passed to [dartMainRunner].
  126. //
  127. // dartDeferredLibraryLoader(uri, successCallback, errorCallback, loadId, loadPriority):
  128. // if this function is defined, it will be called when a deferred library
  129. // is loaded. It should load and eval the javascript of `uri`, and call
  130. // successCallback. If it fails to do so, it should call errorCallback with
  131. // an error. The loadId argument is the deferred import that resulted in
  132. // this uri being loaded. The loadPriority argument is the priority the
  133. // library should be loaded with as specified in the code via the
  134. // load-priority annotation (0: normal, 1: high).
  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 the
  141. // priority the library should be loaded with as specified in the code via
  142. // the load-priority annotation (0: normal, 1: high).
  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) {
  245. list.immutable$list = Array;
  246. list.fixed$length = Array;
  247. return list;
  248. }
  249. function convertToFastObject(properties) {
  250. function t() {
  251. }
  252. t.prototype = properties;
  253. new t();
  254. return properties;
  255. }
  256. function convertAllToFastObject(arrayOfObjects) {
  257. for (var i = 0; i < arrayOfObjects.length; ++i) {
  258. convertToFastObject(arrayOfObjects[i]);
  259. }
  260. }
  261. var functionCounter = 0;
  262. function instanceTearOffGetter(isIntercepted, parameters) {
  263. var cache = null;
  264. return isIntercepted ? function(receiver) {
  265. if (cache === null)
  266. cache = A.closureFromTearOff(parameters);
  267. return new cache(receiver, this);
  268. } : function() {
  269. if (cache === null)
  270. cache = A.closureFromTearOff(parameters);
  271. return new cache(this, null);
  272. };
  273. }
  274. function staticTearOffGetter(parameters) {
  275. var cache = null;
  276. return function() {
  277. if (cache === null)
  278. cache = A.closureFromTearOff(parameters).prototype;
  279. return cache;
  280. };
  281. }
  282. var typesOffset = 0;
  283. function tearOffParameters(container, isStatic, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex, needsDirectAccess) {
  284. if (typeof funType == "number") {
  285. funType += typesOffset;
  286. }
  287. return {co: container, iS: isStatic, iI: isIntercepted, rC: requiredParameterCount, dV: optionalParameterDefaultValues, cs: callNames, fs: funsOrNames, fT: funType, aI: applyIndex || 0, nDA: needsDirectAccess};
  288. }
  289. function installStaticTearOff(holder, getterName, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex) {
  290. var parameters = tearOffParameters(holder, true, false, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex, false);
  291. var getterFunction = staticTearOffGetter(parameters);
  292. holder[getterName] = getterFunction;
  293. }
  294. function installInstanceTearOff(prototype, getterName, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex, needsDirectAccess) {
  295. isIntercepted = !!isIntercepted;
  296. var parameters = tearOffParameters(prototype, false, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex, !!needsDirectAccess);
  297. var getterFunction = instanceTearOffGetter(isIntercepted, parameters);
  298. prototype[getterName] = getterFunction;
  299. }
  300. function setOrUpdateInterceptorsByTag(newTags) {
  301. var tags = init.interceptorsByTag;
  302. if (!tags) {
  303. init.interceptorsByTag = newTags;
  304. return;
  305. }
  306. copyProperties(newTags, tags);
  307. }
  308. function setOrUpdateLeafTags(newTags) {
  309. var tags = init.leafTags;
  310. if (!tags) {
  311. init.leafTags = newTags;
  312. return;
  313. }
  314. copyProperties(newTags, tags);
  315. }
  316. function updateTypes(newTypes) {
  317. var types = init.types;
  318. var length = types.length;
  319. types.push.apply(types, newTypes);
  320. return length;
  321. }
  322. function updateHolder(holder, newHolder) {
  323. copyProperties(newHolder, holder);
  324. return holder;
  325. }
  326. var hunkHelpers = function() {
  327. var mkInstance = function(isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, applyIndex) {
  328. return function(container, getterName, name, funType) {
  329. return installInstanceTearOff(container, getterName, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, [name], funType, applyIndex, false);
  330. };
  331. },
  332. mkStatic = function(requiredParameterCount, optionalParameterDefaultValues, callNames, applyIndex) {
  333. return function(container, getterName, name, funType) {
  334. return installStaticTearOff(container, getterName, requiredParameterCount, optionalParameterDefaultValues, callNames, [name], funType, applyIndex);
  335. };
  336. };
  337. 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};
  338. }();
  339. function initializeDeferredHunk(hunk) {
  340. typesOffset = init.types.length;
  341. hunk(hunkHelpers, init, holders, $);
  342. }
  343. var J = {
  344. makeDispatchRecord(interceptor, proto, extension, indexability) {
  345. return {i: interceptor, p: proto, e: extension, x: indexability};
  346. },
  347. getNativeInterceptor(object) {
  348. var proto, objectProto, $constructor, interceptor, t1,
  349. record = object[init.dispatchPropertyName];
  350. if (record == null)
  351. if ($.initNativeDispatchFlag == null) {
  352. A.initNativeDispatch();
  353. record = object[init.dispatchPropertyName];
  354. }
  355. if (record != null) {
  356. proto = record.p;
  357. if (false === proto)
  358. return record.i;
  359. if (true === proto)
  360. return object;
  361. objectProto = Object.getPrototypeOf(object);
  362. if (proto === objectProto)
  363. return record.i;
  364. if (record.e === objectProto)
  365. throw A.wrapException(A.UnimplementedError$("Return interceptor for " + A.S(proto(object, record))));
  366. }
  367. $constructor = object.constructor;
  368. if ($constructor == null)
  369. interceptor = null;
  370. else {
  371. t1 = $._JS_INTEROP_INTERCEPTOR_TAG;
  372. if (t1 == null)
  373. t1 = $._JS_INTEROP_INTERCEPTOR_TAG = init.getIsolateTag("_$dart_js");
  374. interceptor = $constructor[t1];
  375. }
  376. if (interceptor != null)
  377. return interceptor;
  378. interceptor = A.lookupAndCacheInterceptor(object);
  379. if (interceptor != null)
  380. return interceptor;
  381. if (typeof object == "function")
  382. return B.JavaScriptFunction_methods;
  383. proto = Object.getPrototypeOf(object);
  384. if (proto == null)
  385. return B.PlainJavaScriptObject_methods;
  386. if (proto === Object.prototype)
  387. return B.PlainJavaScriptObject_methods;
  388. if (typeof $constructor == "function") {
  389. t1 = $._JS_INTEROP_INTERCEPTOR_TAG;
  390. if (t1 == null)
  391. t1 = $._JS_INTEROP_INTERCEPTOR_TAG = init.getIsolateTag("_$dart_js");
  392. Object.defineProperty($constructor, t1, {value: B.UnknownJavaScriptObject_methods, enumerable: false, writable: true, configurable: true});
  393. return B.UnknownJavaScriptObject_methods;
  394. }
  395. return B.UnknownJavaScriptObject_methods;
  396. },
  397. JSArray_JSArray$fixed($length, $E) {
  398. if ($length < 0 || $length > 4294967295)
  399. throw A.wrapException(A.RangeError$range($length, 0, 4294967295, "length", null));
  400. return J.JSArray_JSArray$markFixed(new Array($length), $E);
  401. },
  402. JSArray_JSArray$allocateFixed($length, $E) {
  403. if ($length > 4294967295)
  404. throw A.wrapException(A.RangeError$range($length, 0, 4294967295, "length", null));
  405. return J.JSArray_JSArray$markFixed(new Array($length), $E);
  406. },
  407. JSArray_JSArray$growable($length, $E) {
  408. if ($length < 0)
  409. throw A.wrapException(A.ArgumentError$("Length must be a non-negative integer: " + $length, null));
  410. return A._setArrayType(new Array($length), $E._eval$1("JSArray<0>"));
  411. },
  412. JSArray_JSArray$allocateGrowable($length, $E) {
  413. if ($length < 0)
  414. throw A.wrapException(A.ArgumentError$("Length must be a non-negative integer: " + $length, null));
  415. return A._setArrayType(new Array($length), $E._eval$1("JSArray<0>"));
  416. },
  417. JSArray_JSArray$markFixed(allocation, $E) {
  418. return J.JSArray_markFixedList(A._setArrayType(allocation, $E._eval$1("JSArray<0>")));
  419. },
  420. JSArray_markFixedList(list) {
  421. list.fixed$length = Array;
  422. return list;
  423. },
  424. JSArray_markUnmodifiableList(list) {
  425. list.fixed$length = Array;
  426. list.immutable$list = Array;
  427. return list;
  428. },
  429. JSArray__compareAny(a, b) {
  430. return J.compareTo$1$ns(a, b);
  431. },
  432. JSString__isWhitespace(codeUnit) {
  433. if (codeUnit < 256)
  434. switch (codeUnit) {
  435. case 9:
  436. case 10:
  437. case 11:
  438. case 12:
  439. case 13:
  440. case 32:
  441. case 133:
  442. case 160:
  443. return true;
  444. default:
  445. return false;
  446. }
  447. switch (codeUnit) {
  448. case 5760:
  449. case 8192:
  450. case 8193:
  451. case 8194:
  452. case 8195:
  453. case 8196:
  454. case 8197:
  455. case 8198:
  456. case 8199:
  457. case 8200:
  458. case 8201:
  459. case 8202:
  460. case 8232:
  461. case 8233:
  462. case 8239:
  463. case 8287:
  464. case 12288:
  465. case 65279:
  466. return true;
  467. default:
  468. return false;
  469. }
  470. },
  471. JSString__skipLeadingWhitespace(string, index) {
  472. var t1, codeUnit;
  473. for (t1 = string.length; index < t1;) {
  474. codeUnit = string.charCodeAt(index);
  475. if (codeUnit !== 32 && codeUnit !== 13 && !J.JSString__isWhitespace(codeUnit))
  476. break;
  477. ++index;
  478. }
  479. return index;
  480. },
  481. JSString__skipTrailingWhitespace(string, index) {
  482. var index0, codeUnit;
  483. for (; index > 0; index = index0) {
  484. index0 = index - 1;
  485. codeUnit = string.charCodeAt(index0);
  486. if (codeUnit !== 32 && codeUnit !== 13 && !J.JSString__isWhitespace(codeUnit))
  487. break;
  488. }
  489. return index;
  490. },
  491. getInterceptor$(receiver) {
  492. if (typeof receiver == "number") {
  493. if (Math.floor(receiver) == receiver)
  494. return J.JSInt.prototype;
  495. return J.JSNumNotInt.prototype;
  496. }
  497. if (typeof receiver == "string")
  498. return J.JSString.prototype;
  499. if (receiver == null)
  500. return J.JSNull.prototype;
  501. if (typeof receiver == "boolean")
  502. return J.JSBool.prototype;
  503. if (Array.isArray(receiver))
  504. return J.JSArray.prototype;
  505. if (typeof receiver != "object") {
  506. if (typeof receiver == "function")
  507. return J.JavaScriptFunction.prototype;
  508. if (typeof receiver == "symbol")
  509. return J.JavaScriptSymbol.prototype;
  510. if (typeof receiver == "bigint")
  511. return J.JavaScriptBigInt.prototype;
  512. return receiver;
  513. }
  514. if (receiver instanceof A.Object)
  515. return receiver;
  516. return J.getNativeInterceptor(receiver);
  517. },
  518. getInterceptor$ansx(receiver) {
  519. if (typeof receiver == "number")
  520. return J.JSNumber.prototype;
  521. if (typeof receiver == "string")
  522. return J.JSString.prototype;
  523. if (receiver == null)
  524. return receiver;
  525. if (Array.isArray(receiver))
  526. return J.JSArray.prototype;
  527. if (typeof receiver != "object") {
  528. if (typeof receiver == "function")
  529. return J.JavaScriptFunction.prototype;
  530. if (typeof receiver == "symbol")
  531. return J.JavaScriptSymbol.prototype;
  532. if (typeof receiver == "bigint")
  533. return J.JavaScriptBigInt.prototype;
  534. return receiver;
  535. }
  536. if (receiver instanceof A.Object)
  537. return receiver;
  538. return J.getNativeInterceptor(receiver);
  539. },
  540. getInterceptor$asx(receiver) {
  541. if (typeof receiver == "string")
  542. return J.JSString.prototype;
  543. if (receiver == null)
  544. return receiver;
  545. if (Array.isArray(receiver))
  546. return J.JSArray.prototype;
  547. if (typeof receiver != "object") {
  548. if (typeof receiver == "function")
  549. return J.JavaScriptFunction.prototype;
  550. if (typeof receiver == "symbol")
  551. return J.JavaScriptSymbol.prototype;
  552. if (typeof receiver == "bigint")
  553. return J.JavaScriptBigInt.prototype;
  554. return receiver;
  555. }
  556. if (receiver instanceof A.Object)
  557. return receiver;
  558. return J.getNativeInterceptor(receiver);
  559. },
  560. getInterceptor$ax(receiver) {
  561. if (receiver == null)
  562. return receiver;
  563. if (Array.isArray(receiver))
  564. return J.JSArray.prototype;
  565. if (typeof receiver != "object") {
  566. if (typeof receiver == "function")
  567. return J.JavaScriptFunction.prototype;
  568. if (typeof receiver == "symbol")
  569. return J.JavaScriptSymbol.prototype;
  570. if (typeof receiver == "bigint")
  571. return J.JavaScriptBigInt.prototype;
  572. return receiver;
  573. }
  574. if (receiver instanceof A.Object)
  575. return receiver;
  576. return J.getNativeInterceptor(receiver);
  577. },
  578. getInterceptor$in(receiver) {
  579. if (typeof receiver == "number") {
  580. if (Math.floor(receiver) == receiver)
  581. return J.JSInt.prototype;
  582. return J.JSNumNotInt.prototype;
  583. }
  584. if (receiver == null)
  585. return receiver;
  586. if (!(receiver instanceof A.Object))
  587. return J.UnknownJavaScriptObject.prototype;
  588. return receiver;
  589. },
  590. getInterceptor$n(receiver) {
  591. if (typeof receiver == "number")
  592. return J.JSNumber.prototype;
  593. if (receiver == null)
  594. return receiver;
  595. if (!(receiver instanceof A.Object))
  596. return J.UnknownJavaScriptObject.prototype;
  597. return receiver;
  598. },
  599. getInterceptor$ns(receiver) {
  600. if (typeof receiver == "number")
  601. return J.JSNumber.prototype;
  602. if (typeof receiver == "string")
  603. return J.JSString.prototype;
  604. if (receiver == null)
  605. return receiver;
  606. if (!(receiver instanceof A.Object))
  607. return J.UnknownJavaScriptObject.prototype;
  608. return receiver;
  609. },
  610. getInterceptor$s(receiver) {
  611. if (typeof receiver == "string")
  612. return J.JSString.prototype;
  613. if (receiver == null)
  614. return receiver;
  615. if (!(receiver instanceof A.Object))
  616. return J.UnknownJavaScriptObject.prototype;
  617. return receiver;
  618. },
  619. getInterceptor$x(receiver) {
  620. if (receiver == null)
  621. return receiver;
  622. if (typeof receiver != "object") {
  623. if (typeof receiver == "function")
  624. return J.JavaScriptFunction.prototype;
  625. if (typeof receiver == "symbol")
  626. return J.JavaScriptSymbol.prototype;
  627. if (typeof receiver == "bigint")
  628. return J.JavaScriptBigInt.prototype;
  629. return receiver;
  630. }
  631. if (receiver instanceof A.Object)
  632. return receiver;
  633. return J.getNativeInterceptor(receiver);
  634. },
  635. getInterceptor$z(receiver) {
  636. if (receiver == null)
  637. return receiver;
  638. if (!(receiver instanceof A.Object))
  639. return J.UnknownJavaScriptObject.prototype;
  640. return receiver;
  641. },
  642. set$AsyncCompiler$x(receiver, value) {
  643. return J.getInterceptor$x(receiver).set$AsyncCompiler(receiver, value);
  644. },
  645. set$CalculationInterpolation$x(receiver, value) {
  646. return J.getInterceptor$x(receiver).set$CalculationInterpolation(receiver, value);
  647. },
  648. set$CalculationOperation$x(receiver, value) {
  649. return J.getInterceptor$x(receiver).set$CalculationOperation(receiver, value);
  650. },
  651. set$Compiler$x(receiver, value) {
  652. return J.getInterceptor$x(receiver).set$Compiler(receiver, value);
  653. },
  654. set$Exception$x(receiver, value) {
  655. return J.getInterceptor$x(receiver).set$Exception(receiver, value);
  656. },
  657. set$FALSE$x(receiver, value) {
  658. return J.getInterceptor$x(receiver).set$FALSE(receiver, value);
  659. },
  660. set$Logger$x(receiver, value) {
  661. return J.getInterceptor$x(receiver).set$Logger(receiver, value);
  662. },
  663. set$NULL$x(receiver, value) {
  664. return J.getInterceptor$x(receiver).set$NULL(receiver, value);
  665. },
  666. set$NodePackageImporter$x(receiver, value) {
  667. return J.getInterceptor$x(receiver).set$NodePackageImporter(receiver, value);
  668. },
  669. set$SassArgumentList$x(receiver, value) {
  670. return J.getInterceptor$x(receiver).set$SassArgumentList(receiver, value);
  671. },
  672. set$SassBoolean$x(receiver, value) {
  673. return J.getInterceptor$x(receiver).set$SassBoolean(receiver, value);
  674. },
  675. set$SassCalculation$x(receiver, value) {
  676. return J.getInterceptor$x(receiver).set$SassCalculation(receiver, value);
  677. },
  678. set$SassColor$x(receiver, value) {
  679. return J.getInterceptor$x(receiver).set$SassColor(receiver, value);
  680. },
  681. set$SassFunction$x(receiver, value) {
  682. return J.getInterceptor$x(receiver).set$SassFunction(receiver, value);
  683. },
  684. set$SassList$x(receiver, value) {
  685. return J.getInterceptor$x(receiver).set$SassList(receiver, value);
  686. },
  687. set$SassMap$x(receiver, value) {
  688. return J.getInterceptor$x(receiver).set$SassMap(receiver, value);
  689. },
  690. set$SassMixin$x(receiver, value) {
  691. return J.getInterceptor$x(receiver).set$SassMixin(receiver, value);
  692. },
  693. set$SassNumber$x(receiver, value) {
  694. return J.getInterceptor$x(receiver).set$SassNumber(receiver, value);
  695. },
  696. set$SassString$x(receiver, value) {
  697. return J.getInterceptor$x(receiver).set$SassString(receiver, value);
  698. },
  699. set$TRUE$x(receiver, value) {
  700. return J.getInterceptor$x(receiver).set$TRUE(receiver, value);
  701. },
  702. set$Value$x(receiver, value) {
  703. return J.getInterceptor$x(receiver).set$Value(receiver, value);
  704. },
  705. set$Version$x(receiver, value) {
  706. return J.getInterceptor$x(receiver).set$Version(receiver, value);
  707. },
  708. set$cli_pkg_main_0_$x(receiver, value) {
  709. return J.getInterceptor$x(receiver).set$cli_pkg_main_0_(receiver, value);
  710. },
  711. set$compile$x(receiver, value) {
  712. return J.getInterceptor$x(receiver).set$compile(receiver, value);
  713. },
  714. set$compileAsync$x(receiver, value) {
  715. return J.getInterceptor$x(receiver).set$compileAsync(receiver, value);
  716. },
  717. set$compileString$x(receiver, value) {
  718. return J.getInterceptor$x(receiver).set$compileString(receiver, value);
  719. },
  720. set$compileStringAsync$x(receiver, value) {
  721. return J.getInterceptor$x(receiver).set$compileStringAsync(receiver, value);
  722. },
  723. set$context$x(receiver, value) {
  724. return J.getInterceptor$x(receiver).set$context(receiver, value);
  725. },
  726. set$dartValue$x(receiver, value) {
  727. return J.getInterceptor$x(receiver).set$dartValue(receiver, value);
  728. },
  729. set$deprecations$x(receiver, value) {
  730. return J.getInterceptor$x(receiver).set$deprecations(receiver, value);
  731. },
  732. set$exitCode$x(receiver, value) {
  733. return J.getInterceptor$x(receiver).set$exitCode(receiver, value);
  734. },
  735. set$info$x(receiver, value) {
  736. return J.getInterceptor$x(receiver).set$info(receiver, value);
  737. },
  738. set$initAsyncCompiler$x(receiver, value) {
  739. return J.getInterceptor$x(receiver).set$initAsyncCompiler(receiver, value);
  740. },
  741. set$initCompiler$x(receiver, value) {
  742. return J.getInterceptor$x(receiver).set$initCompiler(receiver, value);
  743. },
  744. set$length$asx(receiver, value) {
  745. return J.getInterceptor$asx(receiver).set$length(receiver, value);
  746. },
  747. set$render$x(receiver, value) {
  748. return J.getInterceptor$x(receiver).set$render(receiver, value);
  749. },
  750. set$renderSync$x(receiver, value) {
  751. return J.getInterceptor$x(receiver).set$renderSync(receiver, value);
  752. },
  753. set$sassFalse$x(receiver, value) {
  754. return J.getInterceptor$x(receiver).set$sassFalse(receiver, value);
  755. },
  756. set$sassNull$x(receiver, value) {
  757. return J.getInterceptor$x(receiver).set$sassNull(receiver, value);
  758. },
  759. set$sassTrue$x(receiver, value) {
  760. return J.getInterceptor$x(receiver).set$sassTrue(receiver, value);
  761. },
  762. set$types$x(receiver, value) {
  763. return J.getInterceptor$x(receiver).set$types(receiver, value);
  764. },
  765. get$$prototype$x(receiver) {
  766. return J.getInterceptor$x(receiver).get$$prototype(receiver);
  767. },
  768. get$_dartException$x(receiver) {
  769. return J.getInterceptor$x(receiver).get$_dartException(receiver);
  770. },
  771. get$alertAscii$x(receiver) {
  772. return J.getInterceptor$x(receiver).get$alertAscii(receiver);
  773. },
  774. get$alertColor$x(receiver) {
  775. return J.getInterceptor$x(receiver).get$alertColor(receiver);
  776. },
  777. get$argv$x(receiver) {
  778. return J.getInterceptor$x(receiver).get$argv(receiver);
  779. },
  780. get$blue$x(receiver) {
  781. return J.getInterceptor$x(receiver).get$blue(receiver);
  782. },
  783. get$brackets$x(receiver) {
  784. return J.getInterceptor$x(receiver).get$brackets(receiver);
  785. },
  786. get$charset$x(receiver) {
  787. return J.getInterceptor$x(receiver).get$charset(receiver);
  788. },
  789. get$code$x(receiver) {
  790. return J.getInterceptor$x(receiver).get$code(receiver);
  791. },
  792. get$current$x(receiver) {
  793. return J.getInterceptor$x(receiver).get$current(receiver);
  794. },
  795. get$dartValue$x(receiver) {
  796. return J.getInterceptor$x(receiver).get$dartValue(receiver);
  797. },
  798. get$debug$x(receiver) {
  799. return J.getInterceptor$x(receiver).get$debug(receiver);
  800. },
  801. get$denominatorUnits$x(receiver) {
  802. return J.getInterceptor$x(receiver).get$denominatorUnits(receiver);
  803. },
  804. get$end$z(receiver) {
  805. return J.getInterceptor$z(receiver).get$end(receiver);
  806. },
  807. get$env$x(receiver) {
  808. return J.getInterceptor$x(receiver).get$env(receiver);
  809. },
  810. get$exitCode$x(receiver) {
  811. return J.getInterceptor$x(receiver).get$exitCode(receiver);
  812. },
  813. get$fatalDeprecations$x(receiver) {
  814. return J.getInterceptor$x(receiver).get$fatalDeprecations(receiver);
  815. },
  816. get$fiber$x(receiver) {
  817. return J.getInterceptor$x(receiver).get$fiber(receiver);
  818. },
  819. get$file$x(receiver) {
  820. return J.getInterceptor$x(receiver).get$file(receiver);
  821. },
  822. get$filename$x(receiver) {
  823. return J.getInterceptor$x(receiver).get$filename(receiver);
  824. },
  825. get$first$ax(receiver) {
  826. return J.getInterceptor$ax(receiver).get$first(receiver);
  827. },
  828. get$functions$x(receiver) {
  829. return J.getInterceptor$x(receiver).get$functions(receiver);
  830. },
  831. get$futureDeprecations$x(receiver) {
  832. return J.getInterceptor$x(receiver).get$futureDeprecations(receiver);
  833. },
  834. get$green$x(receiver) {
  835. return J.getInterceptor$x(receiver).get$green(receiver);
  836. },
  837. get$hashCode$(receiver) {
  838. return J.getInterceptor$(receiver).get$hashCode(receiver);
  839. },
  840. get$id$x(receiver) {
  841. return J.getInterceptor$x(receiver).get$id(receiver);
  842. },
  843. get$importer$x(receiver) {
  844. return J.getInterceptor$x(receiver).get$importer(receiver);
  845. },
  846. get$importers$x(receiver) {
  847. return J.getInterceptor$x(receiver).get$importers(receiver);
  848. },
  849. get$isEmpty$asx(receiver) {
  850. return J.getInterceptor$asx(receiver).get$isEmpty(receiver);
  851. },
  852. get$isNotEmpty$asx(receiver) {
  853. return J.getInterceptor$asx(receiver).get$isNotEmpty(receiver);
  854. },
  855. get$isTTY$x(receiver) {
  856. return J.getInterceptor$x(receiver).get$isTTY(receiver);
  857. },
  858. get$iterator$ax(receiver) {
  859. return J.getInterceptor$ax(receiver).get$iterator(receiver);
  860. },
  861. get$keys$z(receiver) {
  862. return J.getInterceptor$z(receiver).get$keys(receiver);
  863. },
  864. get$last$ax(receiver) {
  865. return J.getInterceptor$ax(receiver).get$last(receiver);
  866. },
  867. get$length$asx(receiver) {
  868. return J.getInterceptor$asx(receiver).get$length(receiver);
  869. },
  870. get$loadPaths$x(receiver) {
  871. return J.getInterceptor$x(receiver).get$loadPaths(receiver);
  872. },
  873. get$logger$x(receiver) {
  874. return J.getInterceptor$x(receiver).get$logger(receiver);
  875. },
  876. get$message$x(receiver) {
  877. return J.getInterceptor$x(receiver).get$message(receiver);
  878. },
  879. get$mtime$x(receiver) {
  880. return J.getInterceptor$x(receiver).get$mtime(receiver);
  881. },
  882. get$name$x(receiver) {
  883. return J.getInterceptor$x(receiver).get$name(receiver);
  884. },
  885. get$numeratorUnits$x(receiver) {
  886. return J.getInterceptor$x(receiver).get$numeratorUnits(receiver);
  887. },
  888. get$options$x(receiver) {
  889. return J.getInterceptor$x(receiver).get$options(receiver);
  890. },
  891. get$parent$z(receiver) {
  892. return J.getInterceptor$z(receiver).get$parent(receiver);
  893. },
  894. get$path$x(receiver) {
  895. return J.getInterceptor$x(receiver).get$path(receiver);
  896. },
  897. get$platform$x(receiver) {
  898. return J.getInterceptor$x(receiver).get$platform(receiver);
  899. },
  900. get$quietDeps$x(receiver) {
  901. return J.getInterceptor$x(receiver).get$quietDeps(receiver);
  902. },
  903. get$quotes$x(receiver) {
  904. return J.getInterceptor$x(receiver).get$quotes(receiver);
  905. },
  906. get$red$x(receiver) {
  907. return J.getInterceptor$x(receiver).get$red(receiver);
  908. },
  909. get$release$x(receiver) {
  910. return J.getInterceptor$x(receiver).get$release(receiver);
  911. },
  912. get$reversed$ax(receiver) {
  913. return J.getInterceptor$ax(receiver).get$reversed(receiver);
  914. },
  915. get$runtimeType$(receiver) {
  916. return J.getInterceptor$(receiver).get$runtimeType(receiver);
  917. },
  918. get$separator$x(receiver) {
  919. return J.getInterceptor$x(receiver).get$separator(receiver);
  920. },
  921. get$sign$in(receiver) {
  922. if (typeof receiver === "number")
  923. return receiver > 0 ? 1 : receiver < 0 ? -1 : receiver;
  924. return J.getInterceptor$in(receiver).get$sign(receiver);
  925. },
  926. get$silenceDeprecations$x(receiver) {
  927. return J.getInterceptor$x(receiver).get$silenceDeprecations(receiver);
  928. },
  929. get$single$ax(receiver) {
  930. return J.getInterceptor$ax(receiver).get$single(receiver);
  931. },
  932. get$sourceMap$x(receiver) {
  933. return J.getInterceptor$x(receiver).get$sourceMap(receiver);
  934. },
  935. get$sourceMapIncludeSources$x(receiver) {
  936. return J.getInterceptor$x(receiver).get$sourceMapIncludeSources(receiver);
  937. },
  938. get$span$z(receiver) {
  939. return J.getInterceptor$z(receiver).get$span(receiver);
  940. },
  941. get$stderr$x(receiver) {
  942. return J.getInterceptor$x(receiver).get$stderr(receiver);
  943. },
  944. get$stdout$x(receiver) {
  945. return J.getInterceptor$x(receiver).get$stdout(receiver);
  946. },
  947. get$style$x(receiver) {
  948. return J.getInterceptor$x(receiver).get$style(receiver);
  949. },
  950. get$syntax$x(receiver) {
  951. return J.getInterceptor$x(receiver).get$syntax(receiver);
  952. },
  953. get$trace$z(receiver) {
  954. return J.getInterceptor$z(receiver).get$trace(receiver);
  955. },
  956. get$url$x(receiver) {
  957. return J.getInterceptor$x(receiver).get$url(receiver);
  958. },
  959. get$verbose$x(receiver) {
  960. return J.getInterceptor$x(receiver).get$verbose(receiver);
  961. },
  962. get$warn$x(receiver) {
  963. return J.getInterceptor$x(receiver).get$warn(receiver);
  964. },
  965. $add$ansx(receiver, a0) {
  966. if (typeof receiver == "number" && typeof a0 == "number")
  967. return receiver + a0;
  968. return J.getInterceptor$ansx(receiver).$add(receiver, a0);
  969. },
  970. $eq$(receiver, a0) {
  971. if (receiver == null)
  972. return a0 == null;
  973. if (typeof receiver != "object")
  974. return a0 != null && receiver === a0;
  975. return J.getInterceptor$(receiver).$eq(receiver, a0);
  976. },
  977. $index$asx(receiver, a0) {
  978. if (typeof a0 === "number")
  979. if (Array.isArray(receiver) || typeof receiver == "string" || A.isJsIndexable(receiver, receiver[init.dispatchPropertyName]))
  980. if (a0 >>> 0 === a0 && a0 < receiver.length)
  981. return receiver[a0];
  982. return J.getInterceptor$asx(receiver).$index(receiver, a0);
  983. },
  984. $indexSet$ax(receiver, a0, a1) {
  985. if (typeof a0 === "number")
  986. if ((Array.isArray(receiver) || A.isJsIndexable(receiver, receiver[init.dispatchPropertyName])) && !receiver.immutable$list && a0 >>> 0 === a0 && a0 < receiver.length)
  987. return receiver[a0] = a1;
  988. return J.getInterceptor$ax(receiver).$indexSet(receiver, a0, a1);
  989. },
  990. $set$2$x(receiver, a0, a1) {
  991. return J.getInterceptor$x(receiver).$set$2(receiver, a0, a1);
  992. },
  993. add$1$ax(receiver, a0) {
  994. return J.getInterceptor$ax(receiver).add$1(receiver, a0);
  995. },
  996. addAll$1$ax(receiver, a0) {
  997. return J.getInterceptor$ax(receiver).addAll$1(receiver, a0);
  998. },
  999. allMatches$1$s(receiver, a0) {
  1000. return J.getInterceptor$s(receiver).allMatches$1(receiver, a0);
  1001. },
  1002. allMatches$2$s(receiver, a0, a1) {
  1003. return J.getInterceptor$s(receiver).allMatches$2(receiver, a0, a1);
  1004. },
  1005. any$1$ax(receiver, a0) {
  1006. return J.getInterceptor$ax(receiver).any$1(receiver, a0);
  1007. },
  1008. apply$2$x(receiver, a0, a1) {
  1009. return J.getInterceptor$x(receiver).apply$2(receiver, a0, a1);
  1010. },
  1011. asImmutable$0$x(receiver) {
  1012. return J.getInterceptor$x(receiver).asImmutable$0(receiver);
  1013. },
  1014. asMutable$0$x(receiver) {
  1015. return J.getInterceptor$x(receiver).asMutable$0(receiver);
  1016. },
  1017. canonicalize$4$baseImporter$baseUrl$forImport$x(receiver, a0, a1, a2, a3) {
  1018. return J.getInterceptor$x(receiver).canonicalize$4$baseImporter$baseUrl$forImport(receiver, a0, a1, a2, a3);
  1019. },
  1020. cast$1$0$ax(receiver, $T1) {
  1021. return J.getInterceptor$ax(receiver).cast$1$0(receiver, $T1);
  1022. },
  1023. close$0$x(receiver) {
  1024. return J.getInterceptor$x(receiver).close$0(receiver);
  1025. },
  1026. codeUnitAt$1$s(receiver, a0) {
  1027. return J.getInterceptor$s(receiver).codeUnitAt$1(receiver, a0);
  1028. },
  1029. compareTo$1$ns(receiver, a0) {
  1030. return J.getInterceptor$ns(receiver).compareTo$1(receiver, a0);
  1031. },
  1032. contains$1$asx(receiver, a0) {
  1033. return J.getInterceptor$asx(receiver).contains$1(receiver, a0);
  1034. },
  1035. createInterface$1$x(receiver, a0) {
  1036. return J.getInterceptor$x(receiver).createInterface$1(receiver, a0);
  1037. },
  1038. createRequire$1$x(receiver, a0) {
  1039. return J.getInterceptor$x(receiver).createRequire$1(receiver, a0);
  1040. },
  1041. elementAt$1$ax(receiver, a0) {
  1042. return J.getInterceptor$ax(receiver).elementAt$1(receiver, a0);
  1043. },
  1044. endsWith$1$s(receiver, a0) {
  1045. return J.getInterceptor$s(receiver).endsWith$1(receiver, a0);
  1046. },
  1047. error$1$x(receiver, a0) {
  1048. return J.getInterceptor$x(receiver).error$1(receiver, a0);
  1049. },
  1050. every$1$ax(receiver, a0) {
  1051. return J.getInterceptor$ax(receiver).every$1(receiver, a0);
  1052. },
  1053. existsSync$1$x(receiver, a0) {
  1054. return J.getInterceptor$x(receiver).existsSync$1(receiver, a0);
  1055. },
  1056. expand$1$1$ax(receiver, a0, $T1) {
  1057. return J.getInterceptor$ax(receiver).expand$1$1(receiver, a0, $T1);
  1058. },
  1059. fillRange$3$ax(receiver, a0, a1, a2) {
  1060. return J.getInterceptor$ax(receiver).fillRange$3(receiver, a0, a1, a2);
  1061. },
  1062. fold$2$ax(receiver, a0, a1) {
  1063. return J.getInterceptor$ax(receiver).fold$2(receiver, a0, a1);
  1064. },
  1065. forEach$1$ax(receiver, a0) {
  1066. return J.getInterceptor$ax(receiver).forEach$1(receiver, a0);
  1067. },
  1068. getRange$2$ax(receiver, a0, a1) {
  1069. return J.getInterceptor$ax(receiver).getRange$2(receiver, a0, a1);
  1070. },
  1071. getTime$0$x(receiver) {
  1072. return J.getInterceptor$x(receiver).getTime$0(receiver);
  1073. },
  1074. isDirectory$0$x(receiver) {
  1075. return J.getInterceptor$x(receiver).isDirectory$0(receiver);
  1076. },
  1077. isFile$0$x(receiver) {
  1078. return J.getInterceptor$x(receiver).isFile$0(receiver);
  1079. },
  1080. join$1$ax(receiver, a0) {
  1081. return J.getInterceptor$ax(receiver).join$1(receiver, a0);
  1082. },
  1083. listen$1$z(receiver, a0) {
  1084. return J.getInterceptor$z(receiver).listen$1(receiver, a0);
  1085. },
  1086. log$1$x(receiver, a0) {
  1087. return J.getInterceptor$x(receiver).log$1(receiver, a0);
  1088. },
  1089. map$1$1$ax(receiver, a0, $T1) {
  1090. return J.getInterceptor$ax(receiver).map$1$1(receiver, a0, $T1);
  1091. },
  1092. matchAsPrefix$2$s(receiver, a0, a1) {
  1093. return J.getInterceptor$s(receiver).matchAsPrefix$2(receiver, a0, a1);
  1094. },
  1095. mkdirSync$1$x(receiver, a0) {
  1096. return J.getInterceptor$x(receiver).mkdirSync$1(receiver, a0);
  1097. },
  1098. noSuchMethod$1$(receiver, a0) {
  1099. return J.getInterceptor$(receiver).noSuchMethod$1(receiver, a0);
  1100. },
  1101. on$2$x(receiver, a0, a1) {
  1102. return J.getInterceptor$x(receiver).on$2(receiver, a0, a1);
  1103. },
  1104. readFileSync$2$x(receiver, a0, a1) {
  1105. return J.getInterceptor$x(receiver).readFileSync$2(receiver, a0, a1);
  1106. },
  1107. readdirSync$1$x(receiver, a0) {
  1108. return J.getInterceptor$x(receiver).readdirSync$1(receiver, a0);
  1109. },
  1110. remove$1$z(receiver, a0) {
  1111. return J.getInterceptor$z(receiver).remove$1(receiver, a0);
  1112. },
  1113. removeRange$2$ax(receiver, a0, a1) {
  1114. return J.getInterceptor$ax(receiver).removeRange$2(receiver, a0, a1);
  1115. },
  1116. replaceFirst$2$s(receiver, a0, a1) {
  1117. return J.getInterceptor$s(receiver).replaceFirst$2(receiver, a0, a1);
  1118. },
  1119. resolve$1$x(receiver, a0) {
  1120. return J.getInterceptor$x(receiver).resolve$1(receiver, a0);
  1121. },
  1122. run$0$x(receiver) {
  1123. return J.getInterceptor$x(receiver).run$0(receiver);
  1124. },
  1125. run$1$x(receiver, a0) {
  1126. return J.getInterceptor$x(receiver).run$1(receiver, a0);
  1127. },
  1128. setRange$4$ax(receiver, a0, a1, a2, a3) {
  1129. return J.getInterceptor$ax(receiver).setRange$4(receiver, a0, a1, a2, a3);
  1130. },
  1131. skip$1$ax(receiver, a0) {
  1132. return J.getInterceptor$ax(receiver).skip$1(receiver, a0);
  1133. },
  1134. sort$1$ax(receiver, a0) {
  1135. return J.getInterceptor$ax(receiver).sort$1(receiver, a0);
  1136. },
  1137. startsWith$1$s(receiver, a0) {
  1138. return J.getInterceptor$s(receiver).startsWith$1(receiver, a0);
  1139. },
  1140. statSync$1$x(receiver, a0) {
  1141. return J.getInterceptor$x(receiver).statSync$1(receiver, a0);
  1142. },
  1143. sublist$1$ax(receiver, a0) {
  1144. return J.getInterceptor$ax(receiver).sublist$1(receiver, a0);
  1145. },
  1146. substring$1$s(receiver, a0) {
  1147. return J.getInterceptor$s(receiver).substring$1(receiver, a0);
  1148. },
  1149. substring$2$s(receiver, a0, a1) {
  1150. return J.getInterceptor$s(receiver).substring$2(receiver, a0, a1);
  1151. },
  1152. take$1$ax(receiver, a0) {
  1153. return J.getInterceptor$ax(receiver).take$1(receiver, a0);
  1154. },
  1155. then$1$1$x(receiver, a0, $T1) {
  1156. return J.getInterceptor$x(receiver).then$1$1(receiver, a0, $T1);
  1157. },
  1158. then$1$2$onError$x(receiver, a0, a1, $T1) {
  1159. return J.getInterceptor$x(receiver).then$1$2$onError(receiver, a0, a1, $T1);
  1160. },
  1161. then$2$x(receiver, a0, a1) {
  1162. return J.getInterceptor$x(receiver).then$2(receiver, a0, a1);
  1163. },
  1164. toArray$0$x(receiver) {
  1165. return J.getInterceptor$x(receiver).toArray$0(receiver);
  1166. },
  1167. toList$0$ax(receiver) {
  1168. return J.getInterceptor$ax(receiver).toList$0(receiver);
  1169. },
  1170. toList$1$growable$ax(receiver, a0) {
  1171. return J.getInterceptor$ax(receiver).toList$1$growable(receiver, a0);
  1172. },
  1173. toRadixString$1$n(receiver, a0) {
  1174. return J.getInterceptor$n(receiver).toRadixString$1(receiver, a0);
  1175. },
  1176. toSet$0$ax(receiver) {
  1177. return J.getInterceptor$ax(receiver).toSet$0(receiver);
  1178. },
  1179. toString$0$(receiver) {
  1180. return J.getInterceptor$(receiver).toString$0(receiver);
  1181. },
  1182. toString$1$color$(receiver, a0) {
  1183. return J.getInterceptor$(receiver).toString$1$color(receiver, a0);
  1184. },
  1185. trim$0$s(receiver) {
  1186. return J.getInterceptor$s(receiver).trim$0(receiver);
  1187. },
  1188. unlinkSync$1$x(receiver, a0) {
  1189. return J.getInterceptor$x(receiver).unlinkSync$1(receiver, a0);
  1190. },
  1191. watch$2$x(receiver, a0, a1) {
  1192. return J.getInterceptor$x(receiver).watch$2(receiver, a0, a1);
  1193. },
  1194. where$1$ax(receiver, a0) {
  1195. return J.getInterceptor$ax(receiver).where$1(receiver, a0);
  1196. },
  1197. write$1$x(receiver, a0) {
  1198. return J.getInterceptor$x(receiver).write$1(receiver, a0);
  1199. },
  1200. writeFileSync$2$x(receiver, a0, a1) {
  1201. return J.getInterceptor$x(receiver).writeFileSync$2(receiver, a0, a1);
  1202. },
  1203. yield$0$x(receiver) {
  1204. return J.getInterceptor$x(receiver).yield$0(receiver);
  1205. },
  1206. Interceptor: function Interceptor() {
  1207. },
  1208. JSBool: function JSBool() {
  1209. },
  1210. JSNull: function JSNull() {
  1211. },
  1212. JavaScriptObject: function JavaScriptObject() {
  1213. },
  1214. LegacyJavaScriptObject: function LegacyJavaScriptObject() {
  1215. },
  1216. PlainJavaScriptObject: function PlainJavaScriptObject() {
  1217. },
  1218. UnknownJavaScriptObject: function UnknownJavaScriptObject() {
  1219. },
  1220. JavaScriptFunction: function JavaScriptFunction() {
  1221. },
  1222. JavaScriptBigInt: function JavaScriptBigInt() {
  1223. },
  1224. JavaScriptSymbol: function JavaScriptSymbol() {
  1225. },
  1226. JSArray: function JSArray(t0) {
  1227. this.$ti = t0;
  1228. },
  1229. JSUnmodifiableArray: function JSUnmodifiableArray(t0) {
  1230. this.$ti = t0;
  1231. },
  1232. ArrayIterator: function ArrayIterator(t0, t1, t2) {
  1233. var _ = this;
  1234. _._iterable = t0;
  1235. _._length = t1;
  1236. _._index = 0;
  1237. _._current = null;
  1238. _.$ti = t2;
  1239. },
  1240. JSNumber: function JSNumber() {
  1241. },
  1242. JSInt: function JSInt() {
  1243. },
  1244. JSNumNotInt: function JSNumNotInt() {
  1245. },
  1246. JSString: function JSString() {
  1247. }
  1248. },
  1249. A = {JS_CONST: function JS_CONST() {
  1250. },
  1251. CastIterable_CastIterable(source, $S, $T) {
  1252. if ($S._eval$1("EfficientLengthIterable<0>")._is(source))
  1253. return new A._EfficientLengthCastIterable(source, $S._eval$1("@<0>")._bind$1($T)._eval$1("_EfficientLengthCastIterable<1,2>"));
  1254. return new A.CastIterable(source, $S._eval$1("@<0>")._bind$1($T)._eval$1("CastIterable<1,2>"));
  1255. },
  1256. LateError$localNI(localName) {
  1257. return new A.LateError("Local '" + localName + "' has not been initialized.");
  1258. },
  1259. ReachabilityError$(_message) {
  1260. return new A.ReachabilityError(_message);
  1261. },
  1262. hexDigitValue(char) {
  1263. var letter,
  1264. digit = char ^ 48;
  1265. if (digit <= 9)
  1266. return digit;
  1267. letter = char | 32;
  1268. if (97 <= letter && letter <= 102)
  1269. return letter - 87;
  1270. return -1;
  1271. },
  1272. SystemHash_combine(hash, value) {
  1273. hash = hash + value & 536870911;
  1274. hash = hash + ((hash & 524287) << 10) & 536870911;
  1275. return hash ^ hash >>> 6;
  1276. },
  1277. SystemHash_finish(hash) {
  1278. hash = hash + ((hash & 67108863) << 3) & 536870911;
  1279. hash ^= hash >>> 11;
  1280. return hash + ((hash & 16383) << 15) & 536870911;
  1281. },
  1282. checkNotNullable(value, $name, $T) {
  1283. return value;
  1284. },
  1285. isToStringVisiting(object) {
  1286. var t1, i;
  1287. for (t1 = $.toStringVisiting.length, i = 0; i < t1; ++i)
  1288. if (object === $.toStringVisiting[i])
  1289. return true;
  1290. return false;
  1291. },
  1292. SubListIterable$(_iterable, _start, _endOrLength, $E) {
  1293. A.RangeError_checkNotNegative(_start, "start");
  1294. if (_endOrLength != null) {
  1295. A.RangeError_checkNotNegative(_endOrLength, "end");
  1296. if (_start > _endOrLength)
  1297. A.throwExpression(A.RangeError$range(_start, 0, _endOrLength, "start", null));
  1298. }
  1299. return new A.SubListIterable(_iterable, _start, _endOrLength, $E._eval$1("SubListIterable<0>"));
  1300. },
  1301. MappedIterable_MappedIterable(iterable, $function, $S, $T) {
  1302. if (type$.EfficientLengthIterable_dynamic._is(iterable))
  1303. return new A.EfficientLengthMappedIterable(iterable, $function, $S._eval$1("@<0>")._bind$1($T)._eval$1("EfficientLengthMappedIterable<1,2>"));
  1304. return new A.MappedIterable(iterable, $function, $S._eval$1("@<0>")._bind$1($T)._eval$1("MappedIterable<1,2>"));
  1305. },
  1306. TakeIterable_TakeIterable(iterable, takeCount, $E) {
  1307. var _s9_ = "takeCount";
  1308. A.ArgumentError_checkNotNull(takeCount, _s9_);
  1309. A.RangeError_checkNotNegative(takeCount, _s9_);
  1310. if (type$.EfficientLengthIterable_dynamic._is(iterable))
  1311. return new A.EfficientLengthTakeIterable(iterable, takeCount, $E._eval$1("EfficientLengthTakeIterable<0>"));
  1312. return new A.TakeIterable(iterable, takeCount, $E._eval$1("TakeIterable<0>"));
  1313. },
  1314. SkipIterable_SkipIterable(iterable, count, $E) {
  1315. var _s5_ = "count";
  1316. if (type$.EfficientLengthIterable_dynamic._is(iterable)) {
  1317. A.ArgumentError_checkNotNull(count, _s5_);
  1318. A.RangeError_checkNotNegative(count, _s5_);
  1319. return new A.EfficientLengthSkipIterable(iterable, count, $E._eval$1("EfficientLengthSkipIterable<0>"));
  1320. }
  1321. A.ArgumentError_checkNotNull(count, _s5_);
  1322. A.RangeError_checkNotNegative(count, _s5_);
  1323. return new A.SkipIterable(iterable, count, $E._eval$1("SkipIterable<0>"));
  1324. },
  1325. FollowedByIterable_FollowedByIterable$firstEfficient(first, second, $E) {
  1326. if ($E._eval$1("EfficientLengthIterable<0>")._is(second))
  1327. return new A.EfficientLengthFollowedByIterable(first, second, $E._eval$1("EfficientLengthFollowedByIterable<0>"));
  1328. return new A.FollowedByIterable(first, second, $E._eval$1("FollowedByIterable<0>"));
  1329. },
  1330. IterableElementError_noElement() {
  1331. return new A.StateError("No element");
  1332. },
  1333. IterableElementError_tooMany() {
  1334. return new A.StateError("Too many elements");
  1335. },
  1336. IterableElementError_tooFew() {
  1337. return new A.StateError("Too few elements");
  1338. },
  1339. Sort__doSort(a, left, right, compare) {
  1340. if (right - left <= 32)
  1341. A.Sort__insertionSort(a, left, right, compare);
  1342. else
  1343. A.Sort__dualPivotQuicksort(a, left, right, compare);
  1344. },
  1345. Sort__insertionSort(a, left, right, compare) {
  1346. var i, t1, el, j, j0;
  1347. for (i = left + 1, t1 = J.getInterceptor$asx(a); i <= right; ++i) {
  1348. el = t1.$index(a, i);
  1349. j = i;
  1350. while (true) {
  1351. if (!(j > left && compare.call$2(t1.$index(a, j - 1), el) > 0))
  1352. break;
  1353. j0 = j - 1;
  1354. t1.$indexSet(a, j, t1.$index(a, j0));
  1355. j = j0;
  1356. }
  1357. t1.$indexSet(a, j, el);
  1358. }
  1359. },
  1360. Sort__dualPivotQuicksort(a, left, right, compare) {
  1361. var t0, less, great, pivots_are_equal, k, ak, comp, great0, less0, t2,
  1362. sixth = B.JSInt_methods._tdivFast$1(right - left + 1, 6),
  1363. index1 = left + sixth,
  1364. index5 = right - sixth,
  1365. index3 = B.JSInt_methods._tdivFast$1(left + right, 2),
  1366. index2 = index3 - sixth,
  1367. index4 = index3 + sixth,
  1368. t1 = J.getInterceptor$asx(a),
  1369. el1 = t1.$index(a, index1),
  1370. el2 = t1.$index(a, index2),
  1371. el3 = t1.$index(a, index3),
  1372. el4 = t1.$index(a, index4),
  1373. el5 = t1.$index(a, index5);
  1374. if (compare.call$2(el1, el2) > 0) {
  1375. t0 = el2;
  1376. el2 = el1;
  1377. el1 = t0;
  1378. }
  1379. if (compare.call$2(el4, el5) > 0) {
  1380. t0 = el5;
  1381. el5 = el4;
  1382. el4 = t0;
  1383. }
  1384. if (compare.call$2(el1, el3) > 0) {
  1385. t0 = el3;
  1386. el3 = el1;
  1387. el1 = t0;
  1388. }
  1389. if (compare.call$2(el2, el3) > 0) {
  1390. t0 = el3;
  1391. el3 = el2;
  1392. el2 = t0;
  1393. }
  1394. if (compare.call$2(el1, el4) > 0) {
  1395. t0 = el4;
  1396. el4 = el1;
  1397. el1 = t0;
  1398. }
  1399. if (compare.call$2(el3, el4) > 0) {
  1400. t0 = el4;
  1401. el4 = el3;
  1402. el3 = t0;
  1403. }
  1404. if (compare.call$2(el2, el5) > 0) {
  1405. t0 = el5;
  1406. el5 = el2;
  1407. el2 = t0;
  1408. }
  1409. if (compare.call$2(el2, el3) > 0) {
  1410. t0 = el3;
  1411. el3 = el2;
  1412. el2 = t0;
  1413. }
  1414. if (compare.call$2(el4, el5) > 0) {
  1415. t0 = el5;
  1416. el5 = el4;
  1417. el4 = t0;
  1418. }
  1419. t1.$indexSet(a, index1, el1);
  1420. t1.$indexSet(a, index3, el3);
  1421. t1.$indexSet(a, index5, el5);
  1422. t1.$indexSet(a, index2, t1.$index(a, left));
  1423. t1.$indexSet(a, index4, t1.$index(a, right));
  1424. less = left + 1;
  1425. great = right - 1;
  1426. pivots_are_equal = J.$eq$(compare.call$2(el2, el4), 0);
  1427. if (pivots_are_equal)
  1428. for (k = less; k <= great; ++k) {
  1429. ak = t1.$index(a, k);
  1430. comp = compare.call$2(ak, el2);
  1431. if (comp === 0)
  1432. continue;
  1433. if (comp < 0) {
  1434. if (k !== less) {
  1435. t1.$indexSet(a, k, t1.$index(a, less));
  1436. t1.$indexSet(a, less, ak);
  1437. }
  1438. ++less;
  1439. } else
  1440. for (; true;) {
  1441. comp = compare.call$2(t1.$index(a, great), el2);
  1442. if (comp > 0) {
  1443. --great;
  1444. continue;
  1445. } else {
  1446. great0 = great - 1;
  1447. if (comp < 0) {
  1448. t1.$indexSet(a, k, t1.$index(a, less));
  1449. less0 = less + 1;
  1450. t1.$indexSet(a, less, t1.$index(a, great));
  1451. t1.$indexSet(a, great, ak);
  1452. great = great0;
  1453. less = less0;
  1454. break;
  1455. } else {
  1456. t1.$indexSet(a, k, t1.$index(a, great));
  1457. t1.$indexSet(a, great, ak);
  1458. great = great0;
  1459. break;
  1460. }
  1461. }
  1462. }
  1463. }
  1464. else
  1465. for (k = less; k <= great; ++k) {
  1466. ak = t1.$index(a, k);
  1467. if (compare.call$2(ak, el2) < 0) {
  1468. if (k !== less) {
  1469. t1.$indexSet(a, k, t1.$index(a, less));
  1470. t1.$indexSet(a, less, ak);
  1471. }
  1472. ++less;
  1473. } else if (compare.call$2(ak, el4) > 0)
  1474. for (; true;)
  1475. if (compare.call$2(t1.$index(a, great), el4) > 0) {
  1476. --great;
  1477. if (great < k)
  1478. break;
  1479. continue;
  1480. } else {
  1481. great0 = great - 1;
  1482. if (compare.call$2(t1.$index(a, great), el2) < 0) {
  1483. t1.$indexSet(a, k, t1.$index(a, less));
  1484. less0 = less + 1;
  1485. t1.$indexSet(a, less, t1.$index(a, great));
  1486. t1.$indexSet(a, great, ak);
  1487. less = less0;
  1488. } else {
  1489. t1.$indexSet(a, k, t1.$index(a, great));
  1490. t1.$indexSet(a, great, ak);
  1491. }
  1492. great = great0;
  1493. break;
  1494. }
  1495. }
  1496. t2 = less - 1;
  1497. t1.$indexSet(a, left, t1.$index(a, t2));
  1498. t1.$indexSet(a, t2, el2);
  1499. t2 = great + 1;
  1500. t1.$indexSet(a, right, t1.$index(a, t2));
  1501. t1.$indexSet(a, t2, el4);
  1502. A.Sort__doSort(a, left, less - 2, compare);
  1503. A.Sort__doSort(a, great + 2, right, compare);
  1504. if (pivots_are_equal)
  1505. return;
  1506. if (less < index1 && great > index5) {
  1507. for (; J.$eq$(compare.call$2(t1.$index(a, less), el2), 0);)
  1508. ++less;
  1509. for (; J.$eq$(compare.call$2(t1.$index(a, great), el4), 0);)
  1510. --great;
  1511. for (k = less; k <= great; ++k) {
  1512. ak = t1.$index(a, k);
  1513. if (compare.call$2(ak, el2) === 0) {
  1514. if (k !== less) {
  1515. t1.$indexSet(a, k, t1.$index(a, less));
  1516. t1.$indexSet(a, less, ak);
  1517. }
  1518. ++less;
  1519. } else if (compare.call$2(ak, el4) === 0)
  1520. for (; true;)
  1521. if (compare.call$2(t1.$index(a, great), el4) === 0) {
  1522. --great;
  1523. if (great < k)
  1524. break;
  1525. continue;
  1526. } else {
  1527. great0 = great - 1;
  1528. if (compare.call$2(t1.$index(a, great), el2) < 0) {
  1529. t1.$indexSet(a, k, t1.$index(a, less));
  1530. less0 = less + 1;
  1531. t1.$indexSet(a, less, t1.$index(a, great));
  1532. t1.$indexSet(a, great, ak);
  1533. less = less0;
  1534. } else {
  1535. t1.$indexSet(a, k, t1.$index(a, great));
  1536. t1.$indexSet(a, great, ak);
  1537. }
  1538. great = great0;
  1539. break;
  1540. }
  1541. }
  1542. A.Sort__doSort(a, less, great, compare);
  1543. } else
  1544. A.Sort__doSort(a, less, great, compare);
  1545. },
  1546. _CastIterableBase: function _CastIterableBase() {
  1547. },
  1548. CastIterator: function CastIterator(t0, t1) {
  1549. this._source = t0;
  1550. this.$ti = t1;
  1551. },
  1552. CastIterable: function CastIterable(t0, t1) {
  1553. this._source = t0;
  1554. this.$ti = t1;
  1555. },
  1556. _EfficientLengthCastIterable: function _EfficientLengthCastIterable(t0, t1) {
  1557. this._source = t0;
  1558. this.$ti = t1;
  1559. },
  1560. _CastListBase: function _CastListBase() {
  1561. },
  1562. _CastListBase_sort_closure: function _CastListBase_sort_closure(t0, t1) {
  1563. this.$this = t0;
  1564. this.compare = t1;
  1565. },
  1566. CastList: function CastList(t0, t1) {
  1567. this._source = t0;
  1568. this.$ti = t1;
  1569. },
  1570. CastSet: function CastSet(t0, t1, t2) {
  1571. this._source = t0;
  1572. this._emptySet = t1;
  1573. this.$ti = t2;
  1574. },
  1575. CastMap: function CastMap(t0, t1) {
  1576. this._source = t0;
  1577. this.$ti = t1;
  1578. },
  1579. CastMap_forEach_closure: function CastMap_forEach_closure(t0, t1) {
  1580. this.$this = t0;
  1581. this.f = t1;
  1582. },
  1583. CastMap_entries_closure: function CastMap_entries_closure(t0) {
  1584. this.$this = t0;
  1585. },
  1586. LateError: function LateError(t0) {
  1587. this._message = t0;
  1588. },
  1589. ReachabilityError: function ReachabilityError(t0) {
  1590. this._message = t0;
  1591. },
  1592. CodeUnits: function CodeUnits(t0) {
  1593. this._string = t0;
  1594. },
  1595. nullFuture_closure: function nullFuture_closure() {
  1596. },
  1597. SentinelValue: function SentinelValue() {
  1598. },
  1599. EfficientLengthIterable: function EfficientLengthIterable() {
  1600. },
  1601. ListIterable: function ListIterable() {
  1602. },
  1603. SubListIterable: function SubListIterable(t0, t1, t2, t3) {
  1604. var _ = this;
  1605. _.__internal$_iterable = t0;
  1606. _._start = t1;
  1607. _._endOrLength = t2;
  1608. _.$ti = t3;
  1609. },
  1610. ListIterator: function ListIterator(t0, t1, t2) {
  1611. var _ = this;
  1612. _.__internal$_iterable = t0;
  1613. _.__internal$_length = t1;
  1614. _.__internal$_index = 0;
  1615. _.__internal$_current = null;
  1616. _.$ti = t2;
  1617. },
  1618. MappedIterable: function MappedIterable(t0, t1, t2) {
  1619. this.__internal$_iterable = t0;
  1620. this._f = t1;
  1621. this.$ti = t2;
  1622. },
  1623. EfficientLengthMappedIterable: function EfficientLengthMappedIterable(t0, t1, t2) {
  1624. this.__internal$_iterable = t0;
  1625. this._f = t1;
  1626. this.$ti = t2;
  1627. },
  1628. MappedIterator: function MappedIterator(t0, t1, t2) {
  1629. var _ = this;
  1630. _.__internal$_current = null;
  1631. _._iterator = t0;
  1632. _._f = t1;
  1633. _.$ti = t2;
  1634. },
  1635. MappedListIterable: function MappedListIterable(t0, t1, t2) {
  1636. this._source = t0;
  1637. this._f = t1;
  1638. this.$ti = t2;
  1639. },
  1640. WhereIterable: function WhereIterable(t0, t1, t2) {
  1641. this.__internal$_iterable = t0;
  1642. this._f = t1;
  1643. this.$ti = t2;
  1644. },
  1645. WhereIterator: function WhereIterator(t0, t1) {
  1646. this._iterator = t0;
  1647. this._f = t1;
  1648. },
  1649. ExpandIterable: function ExpandIterable(t0, t1, t2) {
  1650. this.__internal$_iterable = t0;
  1651. this._f = t1;
  1652. this.$ti = t2;
  1653. },
  1654. ExpandIterator: function ExpandIterator(t0, t1, t2, t3) {
  1655. var _ = this;
  1656. _._iterator = t0;
  1657. _._f = t1;
  1658. _._currentExpansion = t2;
  1659. _.__internal$_current = null;
  1660. _.$ti = t3;
  1661. },
  1662. TakeIterable: function TakeIterable(t0, t1, t2) {
  1663. this.__internal$_iterable = t0;
  1664. this._takeCount = t1;
  1665. this.$ti = t2;
  1666. },
  1667. EfficientLengthTakeIterable: function EfficientLengthTakeIterable(t0, t1, t2) {
  1668. this.__internal$_iterable = t0;
  1669. this._takeCount = t1;
  1670. this.$ti = t2;
  1671. },
  1672. TakeIterator: function TakeIterator(t0, t1, t2) {
  1673. this._iterator = t0;
  1674. this._remaining = t1;
  1675. this.$ti = t2;
  1676. },
  1677. SkipIterable: function SkipIterable(t0, t1, t2) {
  1678. this.__internal$_iterable = t0;
  1679. this._skipCount = t1;
  1680. this.$ti = t2;
  1681. },
  1682. EfficientLengthSkipIterable: function EfficientLengthSkipIterable(t0, t1, t2) {
  1683. this.__internal$_iterable = t0;
  1684. this._skipCount = t1;
  1685. this.$ti = t2;
  1686. },
  1687. SkipIterator: function SkipIterator(t0, t1) {
  1688. this._iterator = t0;
  1689. this._skipCount = t1;
  1690. },
  1691. SkipWhileIterable: function SkipWhileIterable(t0, t1, t2) {
  1692. this.__internal$_iterable = t0;
  1693. this._f = t1;
  1694. this.$ti = t2;
  1695. },
  1696. SkipWhileIterator: function SkipWhileIterator(t0, t1) {
  1697. this._iterator = t0;
  1698. this._f = t1;
  1699. this._hasSkipped = false;
  1700. },
  1701. EmptyIterable: function EmptyIterable(t0) {
  1702. this.$ti = t0;
  1703. },
  1704. EmptyIterator: function EmptyIterator() {
  1705. },
  1706. FollowedByIterable: function FollowedByIterable(t0, t1, t2) {
  1707. this.__internal$_first = t0;
  1708. this._second = t1;
  1709. this.$ti = t2;
  1710. },
  1711. EfficientLengthFollowedByIterable: function EfficientLengthFollowedByIterable(t0, t1, t2) {
  1712. this.__internal$_first = t0;
  1713. this._second = t1;
  1714. this.$ti = t2;
  1715. },
  1716. FollowedByIterator: function FollowedByIterator(t0, t1) {
  1717. this._currentIterator = t0;
  1718. this._nextIterable = t1;
  1719. },
  1720. WhereTypeIterable: function WhereTypeIterable(t0, t1) {
  1721. this._source = t0;
  1722. this.$ti = t1;
  1723. },
  1724. WhereTypeIterator: function WhereTypeIterator(t0, t1) {
  1725. this._source = t0;
  1726. this.$ti = t1;
  1727. },
  1728. FixedLengthListMixin: function FixedLengthListMixin() {
  1729. },
  1730. UnmodifiableListMixin: function UnmodifiableListMixin() {
  1731. },
  1732. UnmodifiableListBase: function UnmodifiableListBase() {
  1733. },
  1734. ReversedListIterable: function ReversedListIterable(t0, t1) {
  1735. this._source = t0;
  1736. this.$ti = t1;
  1737. },
  1738. Symbol: function Symbol(t0) {
  1739. this.__internal$_name = t0;
  1740. },
  1741. __CastListBase__CastIterableBase_ListMixin: function __CastListBase__CastIterableBase_ListMixin() {
  1742. },
  1743. ConstantMap_ConstantMap$from(other, $K, $V) {
  1744. var allStrings, k, object, index, index0, map,
  1745. keys = A.List_List$from(other.get$keys(other), true, $K),
  1746. t1 = keys.length,
  1747. _i = 0;
  1748. while (true) {
  1749. if (!(_i < t1)) {
  1750. allStrings = true;
  1751. break;
  1752. }
  1753. k = keys[_i];
  1754. if (typeof k != "string" || "__proto__" === k) {
  1755. allStrings = false;
  1756. break;
  1757. }
  1758. ++_i;
  1759. }
  1760. if (allStrings) {
  1761. object = {};
  1762. for (index = 0, _i = 0; _i < keys.length; keys.length === t1 || (0, A.throwConcurrentModificationError)(keys), ++_i, index = index0) {
  1763. k = keys[_i];
  1764. other.$index(0, k);
  1765. index0 = index + 1;
  1766. object[k] = index;
  1767. }
  1768. 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>"));
  1769. map.$keys = keys;
  1770. return map;
  1771. }
  1772. return new A.ConstantMapView(A.LinkedHashMap_LinkedHashMap$from(other, $K, $V), $K._eval$1("@<0>")._bind$1($V)._eval$1("ConstantMapView<1,2>"));
  1773. },
  1774. ConstantMap__throwUnmodifiable() {
  1775. throw A.wrapException(A.UnsupportedError$("Cannot modify unmodifiable Map"));
  1776. },
  1777. ConstantSet__throwUnmodifiable() {
  1778. throw A.wrapException(A.UnsupportedError$("Cannot modify constant Set"));
  1779. },
  1780. instantiate1(f, T1) {
  1781. var t1 = new A.Instantiation1(f, T1._eval$1("Instantiation1<0>"));
  1782. t1.Instantiation$1(f);
  1783. return t1;
  1784. },
  1785. unminifyOrTag(rawClassName) {
  1786. var preserved = init.mangledGlobalNames[rawClassName];
  1787. if (preserved != null)
  1788. return preserved;
  1789. return rawClassName;
  1790. },
  1791. isJsIndexable(object, record) {
  1792. var result;
  1793. if (record != null) {
  1794. result = record.x;
  1795. if (result != null)
  1796. return result;
  1797. }
  1798. return type$.JavaScriptIndexingBehavior_dynamic._is(object);
  1799. },
  1800. S(value) {
  1801. var result;
  1802. if (typeof value == "string")
  1803. return value;
  1804. if (typeof value == "number") {
  1805. if (value !== 0)
  1806. return "" + value;
  1807. } else if (true === value)
  1808. return "true";
  1809. else if (false === value)
  1810. return "false";
  1811. else if (value == null)
  1812. return "null";
  1813. result = J.toString$0$(value);
  1814. return result;
  1815. },
  1816. JSInvocationMirror$(_memberName, _internalName, _kind, _arguments, _namedArgumentNames, _typeArgumentCount) {
  1817. return new A.JSInvocationMirror(_memberName, _kind, _arguments, _namedArgumentNames, _typeArgumentCount);
  1818. },
  1819. Primitives_objectHashCode(object) {
  1820. var hash,
  1821. property = $.Primitives__identityHashCodeProperty;
  1822. if (property == null)
  1823. property = $.Primitives__identityHashCodeProperty = Symbol("identityHashCode");
  1824. hash = object[property];
  1825. if (hash == null) {
  1826. hash = Math.random() * 0x3fffffff | 0;
  1827. object[property] = hash;
  1828. }
  1829. return hash;
  1830. },
  1831. Primitives_parseInt(source, radix) {
  1832. var decimalMatch, maxCharCode, digitsPart, t1, i, _null = null,
  1833. match = /^\s*[+-]?((0x[a-f0-9]+)|(\d+)|([a-z0-9]+))\s*$/i.exec(source);
  1834. if (match == null)
  1835. return _null;
  1836. decimalMatch = match[3];
  1837. if (radix == null) {
  1838. if (decimalMatch != null)
  1839. return parseInt(source, 10);
  1840. if (match[2] != null)
  1841. return parseInt(source, 16);
  1842. return _null;
  1843. }
  1844. if (radix < 2 || radix > 36)
  1845. throw A.wrapException(A.RangeError$range(radix, 2, 36, "radix", _null));
  1846. if (radix === 10 && decimalMatch != null)
  1847. return parseInt(source, 10);
  1848. if (radix < 10 || decimalMatch == null) {
  1849. maxCharCode = radix <= 10 ? 47 + radix : 86 + radix;
  1850. digitsPart = match[1];
  1851. for (t1 = digitsPart.length, i = 0; i < t1; ++i)
  1852. if ((digitsPart.charCodeAt(i) | 32) > maxCharCode)
  1853. return _null;
  1854. }
  1855. return parseInt(source, radix);
  1856. },
  1857. Primitives_parseDouble(source) {
  1858. var result, trimmed;
  1859. if (!/^\s*[+-]?(?:Infinity|NaN|(?:\.\d+|\d+(?:\.\d*)?)(?:[eE][+-]?\d+)?)\s*$/.test(source))
  1860. return null;
  1861. result = parseFloat(source);
  1862. if (isNaN(result)) {
  1863. trimmed = B.JSString_methods.trim$0(source);
  1864. if (trimmed === "NaN" || trimmed === "+NaN" || trimmed === "-NaN")
  1865. return result;
  1866. return null;
  1867. }
  1868. return result;
  1869. },
  1870. Primitives_objectTypeName(object) {
  1871. return A.Primitives__objectTypeNameNewRti(object);
  1872. },
  1873. Primitives__objectTypeNameNewRti(object) {
  1874. var interceptor, dispatchName, $constructor, constructorName;
  1875. if (object instanceof A.Object)
  1876. return A._rtiToString(A.instanceType(object), null);
  1877. interceptor = J.getInterceptor$(object);
  1878. if (interceptor === B.Interceptor_methods || interceptor === B.JavaScriptObject_methods || type$.UnknownJavaScriptObject._is(object)) {
  1879. dispatchName = B.C_JS_CONST(object);
  1880. if (dispatchName !== "Object" && dispatchName !== "")
  1881. return dispatchName;
  1882. $constructor = object.constructor;
  1883. if (typeof $constructor == "function") {
  1884. constructorName = $constructor.name;
  1885. if (typeof constructorName == "string" && constructorName !== "Object" && constructorName !== "")
  1886. return constructorName;
  1887. }
  1888. }
  1889. return A._rtiToString(A.instanceType(object), null);
  1890. },
  1891. Primitives_safeToString(object) {
  1892. if (object == null || typeof object == "number" || A._isBool(object))
  1893. return J.toString$0$(object);
  1894. if (typeof object == "string")
  1895. return JSON.stringify(object);
  1896. if (object instanceof A.Closure)
  1897. return object.toString$0(0);
  1898. if (object instanceof A._Record)
  1899. return object._toString$1(true);
  1900. return "Instance of '" + A.Primitives_objectTypeName(object) + "'";
  1901. },
  1902. Primitives_currentUri() {
  1903. if (!!self.location)
  1904. return self.location.href;
  1905. return null;
  1906. },
  1907. Primitives__fromCharCodeApply(array) {
  1908. var result, i, i0, chunkEnd,
  1909. end = array.length;
  1910. if (end <= 500)
  1911. return String.fromCharCode.apply(null, array);
  1912. for (result = "", i = 0; i < end; i = i0) {
  1913. i0 = i + 500;
  1914. chunkEnd = i0 < end ? i0 : end;
  1915. result += String.fromCharCode.apply(null, array.slice(i, chunkEnd));
  1916. }
  1917. return result;
  1918. },
  1919. Primitives_stringFromCodePoints(codePoints) {
  1920. var t1, _i, i,
  1921. a = A._setArrayType([], type$.JSArray_int);
  1922. for (t1 = codePoints.length, _i = 0; _i < codePoints.length; codePoints.length === t1 || (0, A.throwConcurrentModificationError)(codePoints), ++_i) {
  1923. i = codePoints[_i];
  1924. if (!A._isInt(i))
  1925. throw A.wrapException(A.argumentErrorValue(i));
  1926. if (i <= 65535)
  1927. a.push(i);
  1928. else if (i <= 1114111) {
  1929. a.push(55296 + (B.JSInt_methods._shrOtherPositive$1(i - 65536, 10) & 1023));
  1930. a.push(56320 + (i & 1023));
  1931. } else
  1932. throw A.wrapException(A.argumentErrorValue(i));
  1933. }
  1934. return A.Primitives__fromCharCodeApply(a);
  1935. },
  1936. Primitives_stringFromCharCodes(charCodes) {
  1937. var t1, _i, i;
  1938. for (t1 = charCodes.length, _i = 0; _i < t1; ++_i) {
  1939. i = charCodes[_i];
  1940. if (!A._isInt(i))
  1941. throw A.wrapException(A.argumentErrorValue(i));
  1942. if (i < 0)
  1943. throw A.wrapException(A.argumentErrorValue(i));
  1944. if (i > 65535)
  1945. return A.Primitives_stringFromCodePoints(charCodes);
  1946. }
  1947. return A.Primitives__fromCharCodeApply(charCodes);
  1948. },
  1949. Primitives_stringFromNativeUint8List(charCodes, start, end) {
  1950. var i, result, i0, chunkEnd;
  1951. if (end <= 500 && start === 0 && end === charCodes.length)
  1952. return String.fromCharCode.apply(null, charCodes);
  1953. for (i = start, result = ""; i < end; i = i0) {
  1954. i0 = i + 500;
  1955. chunkEnd = i0 < end ? i0 : end;
  1956. result += String.fromCharCode.apply(null, charCodes.subarray(i, chunkEnd));
  1957. }
  1958. return result;
  1959. },
  1960. Primitives_stringFromCharCode(charCode) {
  1961. var bits;
  1962. if (0 <= charCode) {
  1963. if (charCode <= 65535)
  1964. return String.fromCharCode(charCode);
  1965. if (charCode <= 1114111) {
  1966. bits = charCode - 65536;
  1967. return String.fromCharCode((B.JSInt_methods._shrOtherPositive$1(bits, 10) | 55296) >>> 0, bits & 1023 | 56320);
  1968. }
  1969. }
  1970. throw A.wrapException(A.RangeError$range(charCode, 0, 1114111, null, null));
  1971. },
  1972. Primitives_lazyAsJsDate(receiver) {
  1973. if (receiver.date === void 0)
  1974. receiver.date = new Date(receiver._value);
  1975. return receiver.date;
  1976. },
  1977. Primitives_getYear(receiver) {
  1978. var t1 = A.Primitives_lazyAsJsDate(receiver).getFullYear() + 0;
  1979. return t1;
  1980. },
  1981. Primitives_getMonth(receiver) {
  1982. var t1 = A.Primitives_lazyAsJsDate(receiver).getMonth() + 1;
  1983. return t1;
  1984. },
  1985. Primitives_getDay(receiver) {
  1986. var t1 = A.Primitives_lazyAsJsDate(receiver).getDate() + 0;
  1987. return t1;
  1988. },
  1989. Primitives_getHours(receiver) {
  1990. var t1 = A.Primitives_lazyAsJsDate(receiver).getHours() + 0;
  1991. return t1;
  1992. },
  1993. Primitives_getMinutes(receiver) {
  1994. var t1 = A.Primitives_lazyAsJsDate(receiver).getMinutes() + 0;
  1995. return t1;
  1996. },
  1997. Primitives_getSeconds(receiver) {
  1998. var t1 = A.Primitives_lazyAsJsDate(receiver).getSeconds() + 0;
  1999. return t1;
  2000. },
  2001. Primitives_getMilliseconds(receiver) {
  2002. var t1 = A.Primitives_lazyAsJsDate(receiver).getMilliseconds() + 0;
  2003. return t1;
  2004. },
  2005. Primitives_functionNoSuchMethod($function, positionalArguments, namedArguments) {
  2006. var $arguments, namedArgumentList, t1 = {};
  2007. t1.argumentCount = 0;
  2008. $arguments = [];
  2009. namedArgumentList = [];
  2010. t1.argumentCount = positionalArguments.length;
  2011. B.JSArray_methods.addAll$1($arguments, positionalArguments);
  2012. t1.names = "";
  2013. if (namedArguments != null && namedArguments.__js_helper$_length !== 0)
  2014. namedArguments.forEach$1(0, new A.Primitives_functionNoSuchMethod_closure(t1, namedArgumentList, $arguments));
  2015. return J.noSuchMethod$1$($function, new A.JSInvocationMirror(B.Symbol_call, 0, $arguments, namedArgumentList, 0));
  2016. },
  2017. Primitives_applyFunction($function, positionalArguments, namedArguments) {
  2018. var t1, argumentCount, jsStub;
  2019. if (Array.isArray(positionalArguments))
  2020. t1 = namedArguments == null || namedArguments.__js_helper$_length === 0;
  2021. else
  2022. t1 = false;
  2023. if (t1) {
  2024. argumentCount = positionalArguments.length;
  2025. if (argumentCount === 0) {
  2026. if (!!$function.call$0)
  2027. return $function.call$0();
  2028. } else if (argumentCount === 1) {
  2029. if (!!$function.call$1)
  2030. return $function.call$1(positionalArguments[0]);
  2031. } else if (argumentCount === 2) {
  2032. if (!!$function.call$2)
  2033. return $function.call$2(positionalArguments[0], positionalArguments[1]);
  2034. } else if (argumentCount === 3) {
  2035. if (!!$function.call$3)
  2036. return $function.call$3(positionalArguments[0], positionalArguments[1], positionalArguments[2]);
  2037. } else if (argumentCount === 4) {
  2038. if (!!$function.call$4)
  2039. return $function.call$4(positionalArguments[0], positionalArguments[1], positionalArguments[2], positionalArguments[3]);
  2040. } else if (argumentCount === 5)
  2041. if (!!$function.call$5)
  2042. return $function.call$5(positionalArguments[0], positionalArguments[1], positionalArguments[2], positionalArguments[3], positionalArguments[4]);
  2043. jsStub = $function["call" + "$" + argumentCount];
  2044. if (jsStub != null)
  2045. return jsStub.apply($function, positionalArguments);
  2046. }
  2047. return A.Primitives__generalApplyFunction($function, positionalArguments, namedArguments);
  2048. },
  2049. Primitives__generalApplyFunction($function, positionalArguments, namedArguments) {
  2050. var defaultValuesClosure, t1, defaultValues, interceptor, jsFunction, maxArguments, missingDefaults, keys, _i, defaultValue, used, t2,
  2051. $arguments = Array.isArray(positionalArguments) ? positionalArguments : A.List_List$of(positionalArguments, true, type$.dynamic),
  2052. argumentCount = $arguments.length,
  2053. requiredParameterCount = $function.$requiredArgCount;
  2054. if (argumentCount < requiredParameterCount)
  2055. return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
  2056. defaultValuesClosure = $function.$defaultValues;
  2057. t1 = defaultValuesClosure == null;
  2058. defaultValues = !t1 ? defaultValuesClosure() : null;
  2059. interceptor = J.getInterceptor$($function);
  2060. jsFunction = interceptor["call*"];
  2061. if (typeof jsFunction == "string")
  2062. jsFunction = interceptor[jsFunction];
  2063. if (t1) {
  2064. if (namedArguments != null && namedArguments.__js_helper$_length !== 0)
  2065. return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
  2066. if (argumentCount === requiredParameterCount)
  2067. return jsFunction.apply($function, $arguments);
  2068. return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
  2069. }
  2070. if (Array.isArray(defaultValues)) {
  2071. if (namedArguments != null && namedArguments.__js_helper$_length !== 0)
  2072. return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
  2073. maxArguments = requiredParameterCount + defaultValues.length;
  2074. if (argumentCount > maxArguments)
  2075. return A.Primitives_functionNoSuchMethod($function, $arguments, null);
  2076. if (argumentCount < maxArguments) {
  2077. missingDefaults = defaultValues.slice(argumentCount - requiredParameterCount);
  2078. if ($arguments === positionalArguments)
  2079. $arguments = A.List_List$of($arguments, true, type$.dynamic);
  2080. B.JSArray_methods.addAll$1($arguments, missingDefaults);
  2081. }
  2082. return jsFunction.apply($function, $arguments);
  2083. } else {
  2084. if (argumentCount > requiredParameterCount)
  2085. return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
  2086. if ($arguments === positionalArguments)
  2087. $arguments = A.List_List$of($arguments, true, type$.dynamic);
  2088. keys = Object.keys(defaultValues);
  2089. if (namedArguments == null)
  2090. for (t1 = keys.length, _i = 0; _i < keys.length; keys.length === t1 || (0, A.throwConcurrentModificationError)(keys), ++_i) {
  2091. defaultValue = defaultValues[keys[_i]];
  2092. if (B.C__Required === defaultValue)
  2093. return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
  2094. B.JSArray_methods.add$1($arguments, defaultValue);
  2095. }
  2096. else {
  2097. for (t1 = keys.length, used = 0, _i = 0; _i < keys.length; keys.length === t1 || (0, A.throwConcurrentModificationError)(keys), ++_i) {
  2098. t2 = keys[_i];
  2099. if (namedArguments.containsKey$1(t2)) {
  2100. ++used;
  2101. B.JSArray_methods.add$1($arguments, namedArguments.$index(0, t2));
  2102. } else {
  2103. defaultValue = defaultValues[t2];
  2104. if (B.C__Required === defaultValue)
  2105. return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
  2106. B.JSArray_methods.add$1($arguments, defaultValue);
  2107. }
  2108. }
  2109. if (used !== namedArguments.__js_helper$_length)
  2110. return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
  2111. }
  2112. return jsFunction.apply($function, $arguments);
  2113. }
  2114. },
  2115. Primitives_extractStackTrace(error) {
  2116. var jsError = error.$thrownJsError;
  2117. if (jsError == null)
  2118. return null;
  2119. return A.getTraceFromException(jsError);
  2120. },
  2121. diagnoseIndexError(indexable, index) {
  2122. var $length, _s5_ = "index";
  2123. if (!A._isInt(index))
  2124. return new A.ArgumentError(true, index, _s5_, null);
  2125. $length = J.get$length$asx(indexable);
  2126. if (index < 0 || index >= $length)
  2127. return A.IndexError$withLength(index, $length, indexable, null, _s5_);
  2128. return A.RangeError$value(index, _s5_, null);
  2129. },
  2130. diagnoseRangeError(start, end, $length) {
  2131. if (start < 0 || start > $length)
  2132. return A.RangeError$range(start, 0, $length, "start", null);
  2133. if (end != null)
  2134. if (end < start || end > $length)
  2135. return A.RangeError$range(end, start, $length, "end", null);
  2136. return new A.ArgumentError(true, end, "end", null);
  2137. },
  2138. argumentErrorValue(object) {
  2139. return new A.ArgumentError(true, object, null, null);
  2140. },
  2141. checkNum(value) {
  2142. return value;
  2143. },
  2144. wrapException(ex) {
  2145. return A.initializeExceptionWrapper(new Error(), ex);
  2146. },
  2147. initializeExceptionWrapper(wrapper, ex) {
  2148. var t1;
  2149. if (ex == null)
  2150. ex = new A.TypeError();
  2151. wrapper.dartException = ex;
  2152. t1 = A.toStringWrapper;
  2153. if ("defineProperty" in Object) {
  2154. Object.defineProperty(wrapper, "message", {get: t1});
  2155. wrapper.name = "";
  2156. } else
  2157. wrapper.toString = t1;
  2158. return wrapper;
  2159. },
  2160. toStringWrapper() {
  2161. return J.toString$0$(this.dartException);
  2162. },
  2163. throwExpression(ex) {
  2164. throw A.wrapException(ex);
  2165. },
  2166. throwExpressionWithWrapper(ex, wrapper) {
  2167. throw A.initializeExceptionWrapper(wrapper, ex);
  2168. },
  2169. throwConcurrentModificationError(collection) {
  2170. throw A.wrapException(A.ConcurrentModificationError$(collection));
  2171. },
  2172. TypeErrorDecoder_extractPattern(message) {
  2173. var match, $arguments, argumentsExpr, expr, method, receiver;
  2174. message = A.quoteStringForRegExp(message.replace(String({}), "$receiver$"));
  2175. match = message.match(/\\\$[a-zA-Z]+\\\$/g);
  2176. if (match == null)
  2177. match = A._setArrayType([], type$.JSArray_String);
  2178. $arguments = match.indexOf("\\$arguments\\$");
  2179. argumentsExpr = match.indexOf("\\$argumentsExpr\\$");
  2180. expr = match.indexOf("\\$expr\\$");
  2181. method = match.indexOf("\\$method\\$");
  2182. receiver = match.indexOf("\\$receiver\\$");
  2183. 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);
  2184. },
  2185. TypeErrorDecoder_provokeCallErrorOn(expression) {
  2186. return function($expr$) {
  2187. var $argumentsExpr$ = "$arguments$";
  2188. try {
  2189. $expr$.$method$($argumentsExpr$);
  2190. } catch (e) {
  2191. return e.message;
  2192. }
  2193. }(expression);
  2194. },
  2195. TypeErrorDecoder_provokePropertyErrorOn(expression) {
  2196. return function($expr$) {
  2197. try {
  2198. $expr$.$method$;
  2199. } catch (e) {
  2200. return e.message;
  2201. }
  2202. }(expression);
  2203. },
  2204. JsNoSuchMethodError$(_message, match) {
  2205. var t1 = match == null,
  2206. t2 = t1 ? null : match.method;
  2207. return new A.JsNoSuchMethodError(_message, t2, t1 ? null : match.receiver);
  2208. },
  2209. unwrapException(ex) {
  2210. if (ex == null)
  2211. return new A.NullThrownFromJavaScriptException(ex);
  2212. if (ex instanceof A.ExceptionAndStackTrace)
  2213. return A.saveStackTrace(ex, ex.dartException);
  2214. if (typeof ex !== "object")
  2215. return ex;
  2216. if ("dartException" in ex)
  2217. return A.saveStackTrace(ex, ex.dartException);
  2218. return A._unwrapNonDartException(ex);
  2219. },
  2220. saveStackTrace(ex, error) {
  2221. if (type$.Error._is(error))
  2222. if (error.$thrownJsError == null)
  2223. error.$thrownJsError = ex;
  2224. return error;
  2225. },
  2226. _unwrapNonDartException(ex) {
  2227. var message, number, ieErrorCode, nsme, notClosure, nullCall, nullLiteralCall, undefCall, undefLiteralCall, nullProperty, undefProperty, undefLiteralProperty, match;
  2228. if (!("message" in ex))
  2229. return ex;
  2230. message = ex.message;
  2231. if ("number" in ex && typeof ex.number == "number") {
  2232. number = ex.number;
  2233. ieErrorCode = number & 65535;
  2234. if ((B.JSInt_methods._shrOtherPositive$1(number, 16) & 8191) === 10)
  2235. switch (ieErrorCode) {
  2236. case 438:
  2237. return A.saveStackTrace(ex, A.JsNoSuchMethodError$(A.S(message) + " (Error " + ieErrorCode + ")", null));
  2238. case 445:
  2239. case 5007:
  2240. A.S(message);
  2241. return A.saveStackTrace(ex, new A.NullError());
  2242. }
  2243. }
  2244. if (ex instanceof TypeError) {
  2245. nsme = $.$get$TypeErrorDecoder_noSuchMethodPattern();
  2246. notClosure = $.$get$TypeErrorDecoder_notClosurePattern();
  2247. nullCall = $.$get$TypeErrorDecoder_nullCallPattern();
  2248. nullLiteralCall = $.$get$TypeErrorDecoder_nullLiteralCallPattern();
  2249. undefCall = $.$get$TypeErrorDecoder_undefinedCallPattern();
  2250. undefLiteralCall = $.$get$TypeErrorDecoder_undefinedLiteralCallPattern();
  2251. nullProperty = $.$get$TypeErrorDecoder_nullPropertyPattern();
  2252. $.$get$TypeErrorDecoder_nullLiteralPropertyPattern();
  2253. undefProperty = $.$get$TypeErrorDecoder_undefinedPropertyPattern();
  2254. undefLiteralProperty = $.$get$TypeErrorDecoder_undefinedLiteralPropertyPattern();
  2255. match = nsme.matchTypeError$1(message);
  2256. if (match != null)
  2257. return A.saveStackTrace(ex, A.JsNoSuchMethodError$(message, match));
  2258. else {
  2259. match = notClosure.matchTypeError$1(message);
  2260. if (match != null) {
  2261. match.method = "call";
  2262. return A.saveStackTrace(ex, A.JsNoSuchMethodError$(message, match));
  2263. } 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)
  2264. return A.saveStackTrace(ex, new A.NullError());
  2265. }
  2266. return A.saveStackTrace(ex, new A.UnknownJsTypeError(typeof message == "string" ? message : ""));
  2267. }
  2268. if (ex instanceof RangeError) {
  2269. if (typeof message == "string" && message.indexOf("call stack") !== -1)
  2270. return new A.StackOverflowError();
  2271. message = function(ex) {
  2272. try {
  2273. return String(ex);
  2274. } catch (e) {
  2275. }
  2276. return null;
  2277. }(ex);
  2278. return A.saveStackTrace(ex, new A.ArgumentError(false, null, null, typeof message == "string" ? message.replace(/^RangeError:\s*/, "") : message));
  2279. }
  2280. if (typeof InternalError == "function" && ex instanceof InternalError)
  2281. if (typeof message == "string" && message === "too much recursion")
  2282. return new A.StackOverflowError();
  2283. return ex;
  2284. },
  2285. getTraceFromException(exception) {
  2286. var trace;
  2287. if (exception instanceof A.ExceptionAndStackTrace)
  2288. return exception.stackTrace;
  2289. if (exception == null)
  2290. return new A._StackTrace(exception);
  2291. trace = exception.$cachedTrace;
  2292. if (trace != null)
  2293. return trace;
  2294. trace = new A._StackTrace(exception);
  2295. if (typeof exception === "object")
  2296. exception.$cachedTrace = trace;
  2297. return trace;
  2298. },
  2299. objectHashCode(object) {
  2300. if (object == null)
  2301. return J.get$hashCode$(object);
  2302. if (typeof object == "object")
  2303. return A.Primitives_objectHashCode(object);
  2304. return J.get$hashCode$(object);
  2305. },
  2306. constantHashCode(key) {
  2307. if (typeof key == "number")
  2308. return B.JSNumber_methods.get$hashCode(key);
  2309. if (key instanceof A._Type)
  2310. return A.Primitives_objectHashCode(key);
  2311. if (key instanceof A._Record)
  2312. return key.get$hashCode(key);
  2313. if (key instanceof A.Symbol)
  2314. return key.get$hashCode(0);
  2315. return A.objectHashCode(key);
  2316. },
  2317. fillLiteralMap(keyValuePairs, result) {
  2318. var index, index0, index1,
  2319. $length = keyValuePairs.length;
  2320. for (index = 0; index < $length; index = index1) {
  2321. index0 = index + 1;
  2322. index1 = index0 + 1;
  2323. result.$indexSet(0, keyValuePairs[index], keyValuePairs[index0]);
  2324. }
  2325. return result;
  2326. },
  2327. fillLiteralSet(values, result) {
  2328. var index,
  2329. $length = values.length;
  2330. for (index = 0; index < $length; ++index)
  2331. result.add$1(0, values[index]);
  2332. return result;
  2333. },
  2334. _invokeClosure(closure, numberOfArguments, arg1, arg2, arg3, arg4) {
  2335. switch (numberOfArguments) {
  2336. case 0:
  2337. return closure.call$0();
  2338. case 1:
  2339. return closure.call$1(arg1);
  2340. case 2:
  2341. return closure.call$2(arg1, arg2);
  2342. case 3:
  2343. return closure.call$3(arg1, arg2, arg3);
  2344. case 4:
  2345. return closure.call$4(arg1, arg2, arg3, arg4);
  2346. }
  2347. throw A.wrapException(new A._Exception("Unsupported number of arguments for wrapped closure"));
  2348. },
  2349. convertDartClosureToJS(closure, arity) {
  2350. var $function;
  2351. if (closure == null)
  2352. return null;
  2353. $function = closure.$identity;
  2354. if (!!$function)
  2355. return $function;
  2356. $function = A.convertDartClosureToJSUncached(closure, arity);
  2357. closure.$identity = $function;
  2358. return $function;
  2359. },
  2360. convertDartClosureToJSUncached(closure, arity) {
  2361. var entry;
  2362. switch (arity) {
  2363. case 0:
  2364. entry = closure.call$0;
  2365. break;
  2366. case 1:
  2367. entry = closure.call$1;
  2368. break;
  2369. case 2:
  2370. entry = closure.call$2;
  2371. break;
  2372. case 3:
  2373. entry = closure.call$3;
  2374. break;
  2375. case 4:
  2376. entry = closure.call$4;
  2377. break;
  2378. default:
  2379. entry = null;
  2380. }
  2381. if (entry != null)
  2382. return entry.bind(closure);
  2383. return function(closure, arity, invoke) {
  2384. return function(a1, a2, a3, a4) {
  2385. return invoke(closure, arity, a1, a2, a3, a4);
  2386. };
  2387. }(closure, arity, A._invokeClosure);
  2388. },
  2389. Closure_fromTearOff(parameters) {
  2390. var $prototype, $constructor, t2, trampoline, applyTrampoline, i, stub, stub0, stubName, stubCallName,
  2391. container = parameters.co,
  2392. isStatic = parameters.iS,
  2393. isIntercepted = parameters.iI,
  2394. needsDirectAccess = parameters.nDA,
  2395. applyTrampolineIndex = parameters.aI,
  2396. funsOrNames = parameters.fs,
  2397. callNames = parameters.cs,
  2398. $name = funsOrNames[0],
  2399. callName = callNames[0],
  2400. $function = container[$name],
  2401. t1 = parameters.fT;
  2402. t1.toString;
  2403. $prototype = isStatic ? Object.create(new A.StaticClosure().constructor.prototype) : Object.create(new A.BoundClosure(null, null).constructor.prototype);
  2404. $prototype.$initialize = $prototype.constructor;
  2405. $constructor = isStatic ? function static_tear_off() {
  2406. this.$initialize();
  2407. } : function tear_off(a, b) {
  2408. this.$initialize(a, b);
  2409. };
  2410. $prototype.constructor = $constructor;
  2411. $constructor.prototype = $prototype;
  2412. $prototype.$_name = $name;
  2413. $prototype.$_target = $function;
  2414. t2 = !isStatic;
  2415. if (t2)
  2416. trampoline = A.Closure_forwardCallTo($name, $function, isIntercepted, needsDirectAccess);
  2417. else {
  2418. $prototype.$static_name = $name;
  2419. trampoline = $function;
  2420. }
  2421. $prototype.$signature = A.Closure__computeSignatureFunctionNewRti(t1, isStatic, isIntercepted);
  2422. $prototype[callName] = trampoline;
  2423. for (applyTrampoline = trampoline, i = 1; i < funsOrNames.length; ++i) {
  2424. stub = funsOrNames[i];
  2425. if (typeof stub == "string") {
  2426. stub0 = container[stub];
  2427. stubName = stub;
  2428. stub = stub0;
  2429. } else
  2430. stubName = "";
  2431. stubCallName = callNames[i];
  2432. if (stubCallName != null) {
  2433. if (t2)
  2434. stub = A.Closure_forwardCallTo(stubName, stub, isIntercepted, needsDirectAccess);
  2435. $prototype[stubCallName] = stub;
  2436. }
  2437. if (i === applyTrampolineIndex)
  2438. applyTrampoline = stub;
  2439. }
  2440. $prototype["call*"] = applyTrampoline;
  2441. $prototype.$requiredArgCount = parameters.rC;
  2442. $prototype.$defaultValues = parameters.dV;
  2443. return $constructor;
  2444. },
  2445. Closure__computeSignatureFunctionNewRti(functionType, isStatic, isIntercepted) {
  2446. if (typeof functionType == "number")
  2447. return functionType;
  2448. if (typeof functionType == "string") {
  2449. if (isStatic)
  2450. throw A.wrapException("Cannot compute signature for static tearoff.");
  2451. return function(recipe, evalOnReceiver) {
  2452. return function() {
  2453. return evalOnReceiver(this, recipe);
  2454. };
  2455. }(functionType, A.BoundClosure_evalRecipe);
  2456. }
  2457. throw A.wrapException("Error in functionType of tearoff");
  2458. },
  2459. Closure_cspForwardCall(arity, needsDirectAccess, stubName, $function) {
  2460. var getReceiver = A.BoundClosure_receiverOf;
  2461. switch (needsDirectAccess ? -1 : arity) {
  2462. case 0:
  2463. return function(entry, receiverOf) {
  2464. return function() {
  2465. return receiverOf(this)[entry]();
  2466. };
  2467. }(stubName, getReceiver);
  2468. case 1:
  2469. return function(entry, receiverOf) {
  2470. return function(a) {
  2471. return receiverOf(this)[entry](a);
  2472. };
  2473. }(stubName, getReceiver);
  2474. case 2:
  2475. return function(entry, receiverOf) {
  2476. return function(a, b) {
  2477. return receiverOf(this)[entry](a, b);
  2478. };
  2479. }(stubName, getReceiver);
  2480. case 3:
  2481. return function(entry, receiverOf) {
  2482. return function(a, b, c) {
  2483. return receiverOf(this)[entry](a, b, c);
  2484. };
  2485. }(stubName, getReceiver);
  2486. case 4:
  2487. return function(entry, receiverOf) {
  2488. return function(a, b, c, d) {
  2489. return receiverOf(this)[entry](a, b, c, d);
  2490. };
  2491. }(stubName, getReceiver);
  2492. case 5:
  2493. return function(entry, receiverOf) {
  2494. return function(a, b, c, d, e) {
  2495. return receiverOf(this)[entry](a, b, c, d, e);
  2496. };
  2497. }(stubName, getReceiver);
  2498. default:
  2499. return function(f, receiverOf) {
  2500. return function() {
  2501. return f.apply(receiverOf(this), arguments);
  2502. };
  2503. }($function, getReceiver);
  2504. }
  2505. },
  2506. Closure_forwardCallTo(stubName, $function, isIntercepted, needsDirectAccess) {
  2507. if (isIntercepted)
  2508. return A.Closure_forwardInterceptedCallTo(stubName, $function, needsDirectAccess);
  2509. return A.Closure_cspForwardCall($function.length, needsDirectAccess, stubName, $function);
  2510. },
  2511. Closure_cspForwardInterceptedCall(arity, needsDirectAccess, stubName, $function) {
  2512. var getReceiver = A.BoundClosure_receiverOf,
  2513. getInterceptor = A.BoundClosure_interceptorOf;
  2514. switch (needsDirectAccess ? -1 : arity) {
  2515. case 0:
  2516. throw A.wrapException(new A.RuntimeError("Intercepted function with no arguments."));
  2517. case 1:
  2518. return function(entry, interceptorOf, receiverOf) {
  2519. return function() {
  2520. return interceptorOf(this)[entry](receiverOf(this));
  2521. };
  2522. }(stubName, getInterceptor, getReceiver);
  2523. case 2:
  2524. return function(entry, interceptorOf, receiverOf) {
  2525. return function(a) {
  2526. return interceptorOf(this)[entry](receiverOf(this), a);
  2527. };
  2528. }(stubName, getInterceptor, getReceiver);
  2529. case 3:
  2530. return function(entry, interceptorOf, receiverOf) {
  2531. return function(a, b) {
  2532. return interceptorOf(this)[entry](receiverOf(this), a, b);
  2533. };
  2534. }(stubName, getInterceptor, getReceiver);
  2535. case 4:
  2536. return function(entry, interceptorOf, receiverOf) {
  2537. return function(a, b, c) {
  2538. return interceptorOf(this)[entry](receiverOf(this), a, b, c);
  2539. };
  2540. }(stubName, getInterceptor, getReceiver);
  2541. case 5:
  2542. return function(entry, interceptorOf, receiverOf) {
  2543. return function(a, b, c, d) {
  2544. return interceptorOf(this)[entry](receiverOf(this), a, b, c, d);
  2545. };
  2546. }(stubName, getInterceptor, getReceiver);
  2547. case 6:
  2548. return function(entry, interceptorOf, receiverOf) {
  2549. return function(a, b, c, d, e) {
  2550. return interceptorOf(this)[entry](receiverOf(this), a, b, c, d, e);
  2551. };
  2552. }(stubName, getInterceptor, getReceiver);
  2553. default:
  2554. return function(f, interceptorOf, receiverOf) {
  2555. return function() {
  2556. var a = [receiverOf(this)];
  2557. Array.prototype.push.apply(a, arguments);
  2558. return f.apply(interceptorOf(this), a);
  2559. };
  2560. }($function, getInterceptor, getReceiver);
  2561. }
  2562. },
  2563. Closure_forwardInterceptedCallTo(stubName, $function, needsDirectAccess) {
  2564. var arity, t1;
  2565. if ($.BoundClosure__interceptorFieldNameCache == null)
  2566. $.BoundClosure__interceptorFieldNameCache = A.BoundClosure__computeFieldNamed("interceptor");
  2567. if ($.BoundClosure__receiverFieldNameCache == null)
  2568. $.BoundClosure__receiverFieldNameCache = A.BoundClosure__computeFieldNamed("receiver");
  2569. arity = $function.length;
  2570. t1 = A.Closure_cspForwardInterceptedCall(arity, needsDirectAccess, stubName, $function);
  2571. return t1;
  2572. },
  2573. closureFromTearOff(parameters) {
  2574. return A.Closure_fromTearOff(parameters);
  2575. },
  2576. BoundClosure_evalRecipe(closure, recipe) {
  2577. return A._Universe_evalInEnvironment(init.typeUniverse, A.instanceType(closure._receiver), recipe);
  2578. },
  2579. BoundClosure_receiverOf(closure) {
  2580. return closure._receiver;
  2581. },
  2582. BoundClosure_interceptorOf(closure) {
  2583. return closure._interceptor;
  2584. },
  2585. BoundClosure__computeFieldNamed(fieldName) {
  2586. var t1, i, $name,
  2587. template = new A.BoundClosure("receiver", "interceptor"),
  2588. names = J.JSArray_markFixedList(Object.getOwnPropertyNames(template));
  2589. for (t1 = names.length, i = 0; i < t1; ++i) {
  2590. $name = names[i];
  2591. if (template[$name] === fieldName)
  2592. return $name;
  2593. }
  2594. throw A.wrapException(A.ArgumentError$("Field name " + fieldName + " not found.", null));
  2595. },
  2596. throwCyclicInit(staticName) {
  2597. throw A.wrapException(new A._CyclicInitializationError(staticName));
  2598. },
  2599. getIsolateAffinityTag($name) {
  2600. return init.getIsolateTag($name);
  2601. },
  2602. LinkedHashMapKeyIterator$(_map, _modifications) {
  2603. var t1 = new A.LinkedHashMapKeyIterator(_map, _modifications);
  2604. t1.__js_helper$_cell = _map.__js_helper$_first;
  2605. return t1;
  2606. },
  2607. defineProperty(obj, property, value) {
  2608. Object.defineProperty(obj, property, {value: value, enumerable: false, writable: true, configurable: true});
  2609. },
  2610. lookupAndCacheInterceptor(obj) {
  2611. var interceptor, interceptorClass, altTag, mark, t1,
  2612. tag = $.getTagFunction.call$1(obj),
  2613. record = $.dispatchRecordsForInstanceTags[tag];
  2614. if (record != null) {
  2615. Object.defineProperty(obj, init.dispatchPropertyName, {value: record, enumerable: false, writable: true, configurable: true});
  2616. return record.i;
  2617. }
  2618. interceptor = $.interceptorsForUncacheableTags[tag];
  2619. if (interceptor != null)
  2620. return interceptor;
  2621. interceptorClass = init.interceptorsByTag[tag];
  2622. if (interceptorClass == null) {
  2623. altTag = $.alternateTagFunction.call$2(obj, tag);
  2624. if (altTag != null) {
  2625. record = $.dispatchRecordsForInstanceTags[altTag];
  2626. if (record != null) {
  2627. Object.defineProperty(obj, init.dispatchPropertyName, {value: record, enumerable: false, writable: true, configurable: true});
  2628. return record.i;
  2629. }
  2630. interceptor = $.interceptorsForUncacheableTags[altTag];
  2631. if (interceptor != null)
  2632. return interceptor;
  2633. interceptorClass = init.interceptorsByTag[altTag];
  2634. tag = altTag;
  2635. }
  2636. }
  2637. if (interceptorClass == null)
  2638. return null;
  2639. interceptor = interceptorClass.prototype;
  2640. mark = tag[0];
  2641. if (mark === "!") {
  2642. record = A.makeLeafDispatchRecord(interceptor);
  2643. $.dispatchRecordsForInstanceTags[tag] = record;
  2644. Object.defineProperty(obj, init.dispatchPropertyName, {value: record, enumerable: false, writable: true, configurable: true});
  2645. return record.i;
  2646. }
  2647. if (mark === "~") {
  2648. $.interceptorsForUncacheableTags[tag] = interceptor;
  2649. return interceptor;
  2650. }
  2651. if (mark === "-") {
  2652. t1 = A.makeLeafDispatchRecord(interceptor);
  2653. Object.defineProperty(Object.getPrototypeOf(obj), init.dispatchPropertyName, {value: t1, enumerable: false, writable: true, configurable: true});
  2654. return t1.i;
  2655. }
  2656. if (mark === "+")
  2657. return A.patchInteriorProto(obj, interceptor);
  2658. if (mark === "*")
  2659. throw A.wrapException(A.UnimplementedError$(tag));
  2660. if (init.leafTags[tag] === true) {
  2661. t1 = A.makeLeafDispatchRecord(interceptor);
  2662. Object.defineProperty(Object.getPrototypeOf(obj), init.dispatchPropertyName, {value: t1, enumerable: false, writable: true, configurable: true});
  2663. return t1.i;
  2664. } else
  2665. return A.patchInteriorProto(obj, interceptor);
  2666. },
  2667. patchInteriorProto(obj, interceptor) {
  2668. var proto = Object.getPrototypeOf(obj);
  2669. Object.defineProperty(proto, init.dispatchPropertyName, {value: J.makeDispatchRecord(interceptor, proto, null, null), enumerable: false, writable: true, configurable: true});
  2670. return interceptor;
  2671. },
  2672. makeLeafDispatchRecord(interceptor) {
  2673. return J.makeDispatchRecord(interceptor, false, null, !!interceptor.$isJavaScriptIndexingBehavior);
  2674. },
  2675. makeDefaultDispatchRecord(tag, interceptorClass, proto) {
  2676. var interceptor = interceptorClass.prototype;
  2677. if (init.leafTags[tag] === true)
  2678. return A.makeLeafDispatchRecord(interceptor);
  2679. else
  2680. return J.makeDispatchRecord(interceptor, proto, null, null);
  2681. },
  2682. initNativeDispatch() {
  2683. if (true === $.initNativeDispatchFlag)
  2684. return;
  2685. $.initNativeDispatchFlag = true;
  2686. A.initNativeDispatchContinue();
  2687. },
  2688. initNativeDispatchContinue() {
  2689. var map, tags, fun, i, tag, proto, record, interceptorClass;
  2690. $.dispatchRecordsForInstanceTags = Object.create(null);
  2691. $.interceptorsForUncacheableTags = Object.create(null);
  2692. A.initHooks();
  2693. map = init.interceptorsByTag;
  2694. tags = Object.getOwnPropertyNames(map);
  2695. if (typeof window != "undefined") {
  2696. window;
  2697. fun = function() {
  2698. };
  2699. for (i = 0; i < tags.length; ++i) {
  2700. tag = tags[i];
  2701. proto = $.prototypeForTagFunction.call$1(tag);
  2702. if (proto != null) {
  2703. record = A.makeDefaultDispatchRecord(tag, map[tag], proto);
  2704. if (record != null) {
  2705. Object.defineProperty(proto, init.dispatchPropertyName, {value: record, enumerable: false, writable: true, configurable: true});
  2706. fun.prototype = proto;
  2707. }
  2708. }
  2709. }
  2710. }
  2711. for (i = 0; i < tags.length; ++i) {
  2712. tag = tags[i];
  2713. if (/^[A-Za-z_]/.test(tag)) {
  2714. interceptorClass = map[tag];
  2715. map["!" + tag] = interceptorClass;
  2716. map["~" + tag] = interceptorClass;
  2717. map["-" + tag] = interceptorClass;
  2718. map["+" + tag] = interceptorClass;
  2719. map["*" + tag] = interceptorClass;
  2720. }
  2721. }
  2722. },
  2723. initHooks() {
  2724. var transformers, i, transformer, getTag, getUnknownTag, prototypeForTag,
  2725. hooks = B.C_JS_CONST0();
  2726. 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)))))));
  2727. if (typeof dartNativeDispatchHooksTransformer != "undefined") {
  2728. transformers = dartNativeDispatchHooksTransformer;
  2729. if (typeof transformers == "function")
  2730. transformers = [transformers];
  2731. if (Array.isArray(transformers))
  2732. for (i = 0; i < transformers.length; ++i) {
  2733. transformer = transformers[i];
  2734. if (typeof transformer == "function")
  2735. hooks = transformer(hooks) || hooks;
  2736. }
  2737. }
  2738. getTag = hooks.getTag;
  2739. getUnknownTag = hooks.getUnknownTag;
  2740. prototypeForTag = hooks.prototypeForTag;
  2741. $.getTagFunction = new A.initHooks_closure(getTag);
  2742. $.alternateTagFunction = new A.initHooks_closure0(getUnknownTag);
  2743. $.prototypeForTagFunction = new A.initHooks_closure1(prototypeForTag);
  2744. },
  2745. applyHooksTransformer(transformer, hooks) {
  2746. return transformer(hooks) || hooks;
  2747. },
  2748. _RecordN__equalValues(a, b) {
  2749. var i;
  2750. for (i = 0; i < a.length; ++i)
  2751. if (!J.$eq$(a[i], b[i]))
  2752. return false;
  2753. return true;
  2754. },
  2755. createRecordTypePredicate(shape, fieldRtis) {
  2756. var $length = fieldRtis.length,
  2757. $function = init.rttc["" + $length + ";" + shape];
  2758. if ($function == null)
  2759. return null;
  2760. if ($length === 0)
  2761. return $function;
  2762. if ($length === $function.length)
  2763. return $function.apply(null, fieldRtis);
  2764. return $function(fieldRtis);
  2765. },
  2766. JSSyntaxRegExp_makeNative(source, multiLine, caseSensitive, unicode, dotAll, global) {
  2767. var m = multiLine ? "m" : "",
  2768. i = caseSensitive ? "" : "i",
  2769. u = unicode ? "u" : "",
  2770. s = dotAll ? "s" : "",
  2771. g = global ? "g" : "",
  2772. regexp = function(source, modifiers) {
  2773. try {
  2774. return new RegExp(source, modifiers);
  2775. } catch (e) {
  2776. return e;
  2777. }
  2778. }(source, m + i + u + s + g);
  2779. if (regexp instanceof RegExp)
  2780. return regexp;
  2781. throw A.wrapException(A.FormatException$("Illegal RegExp pattern (" + String(regexp) + ")", source, null));
  2782. },
  2783. stringContainsUnchecked(receiver, other, startIndex) {
  2784. var t1;
  2785. if (typeof other == "string")
  2786. return receiver.indexOf(other, startIndex) >= 0;
  2787. else if (other instanceof A.JSSyntaxRegExp) {
  2788. t1 = B.JSString_methods.substring$1(receiver, startIndex);
  2789. return other._nativeRegExp.test(t1);
  2790. } else
  2791. return !J.allMatches$1$s(other, B.JSString_methods.substring$1(receiver, startIndex)).get$isEmpty(0);
  2792. },
  2793. escapeReplacement(replacement) {
  2794. if (replacement.indexOf("$", 0) >= 0)
  2795. return replacement.replace(/\$/g, "$$$$");
  2796. return replacement;
  2797. },
  2798. stringReplaceFirstRE(receiver, regexp, replacement, startIndex) {
  2799. var match = regexp._execGlobal$2(receiver, startIndex);
  2800. if (match == null)
  2801. return receiver;
  2802. return A.stringReplaceRangeUnchecked(receiver, match._match.index, match.get$end(0), replacement);
  2803. },
  2804. quoteStringForRegExp(string) {
  2805. if (/[[\]{}()*+?.\\^$|]/.test(string))
  2806. return string.replace(/[[\]{}()*+?.\\^$|]/g, "\\$&");
  2807. return string;
  2808. },
  2809. stringReplaceAllUnchecked(receiver, pattern, replacement) {
  2810. var nativeRegexp;
  2811. if (typeof pattern == "string")
  2812. return A.stringReplaceAllUncheckedString(receiver, pattern, replacement);
  2813. if (pattern instanceof A.JSSyntaxRegExp) {
  2814. nativeRegexp = pattern.get$_nativeGlobalVersion();
  2815. nativeRegexp.lastIndex = 0;
  2816. return receiver.replace(nativeRegexp, A.escapeReplacement(replacement));
  2817. }
  2818. return A.stringReplaceAllGeneral(receiver, pattern, replacement);
  2819. },
  2820. stringReplaceAllGeneral(receiver, pattern, replacement) {
  2821. var t1, startIndex, t2, match;
  2822. for (t1 = J.allMatches$1$s(pattern, receiver), t1 = t1.get$iterator(t1), startIndex = 0, t2 = ""; t1.moveNext$0();) {
  2823. match = t1.get$current(t1);
  2824. t2 = t2 + receiver.substring(startIndex, match.get$start(match)) + replacement;
  2825. startIndex = match.get$end(match);
  2826. }
  2827. t1 = t2 + receiver.substring(startIndex);
  2828. return t1.charCodeAt(0) == 0 ? t1 : t1;
  2829. },
  2830. stringReplaceAllUncheckedString(receiver, pattern, replacement) {
  2831. var $length, t1, i;
  2832. if (pattern === "") {
  2833. if (receiver === "")
  2834. return replacement;
  2835. $length = receiver.length;
  2836. t1 = "" + replacement;
  2837. for (i = 0; i < $length; ++i)
  2838. t1 = t1 + receiver[i] + replacement;
  2839. return t1.charCodeAt(0) == 0 ? t1 : t1;
  2840. }
  2841. if (receiver.indexOf(pattern, 0) < 0)
  2842. return receiver;
  2843. if (receiver.length < 500 || replacement.indexOf("$", 0) >= 0)
  2844. return receiver.split(pattern).join(replacement);
  2845. return receiver.replace(new RegExp(A.quoteStringForRegExp(pattern), "g"), A.escapeReplacement(replacement));
  2846. },
  2847. stringReplaceFirstUnchecked(receiver, pattern, replacement, startIndex) {
  2848. var index, t1, matches, match;
  2849. if (typeof pattern == "string") {
  2850. index = receiver.indexOf(pattern, startIndex);
  2851. if (index < 0)
  2852. return receiver;
  2853. return A.stringReplaceRangeUnchecked(receiver, index, index + pattern.length, replacement);
  2854. }
  2855. if (pattern instanceof A.JSSyntaxRegExp)
  2856. return startIndex === 0 ? receiver.replace(pattern._nativeRegExp, A.escapeReplacement(replacement)) : A.stringReplaceFirstRE(receiver, pattern, replacement, startIndex);
  2857. t1 = J.allMatches$2$s(pattern, receiver, startIndex);
  2858. matches = t1.get$iterator(t1);
  2859. if (!matches.moveNext$0())
  2860. return receiver;
  2861. match = matches.get$current(matches);
  2862. return B.JSString_methods.replaceRange$3(receiver, match.get$start(match), match.get$end(match), replacement);
  2863. },
  2864. stringReplaceRangeUnchecked(receiver, start, end, replacement) {
  2865. return receiver.substring(0, start) + replacement + receiver.substring(end);
  2866. },
  2867. _Record_1: function _Record_1(t0) {
  2868. this._0 = t0;
  2869. },
  2870. _Record_2: function _Record_2(t0, t1) {
  2871. this._0 = t0;
  2872. this._1 = t1;
  2873. },
  2874. _Record_2_forImport: function _Record_2_forImport(t0, t1) {
  2875. this._0 = t0;
  2876. this._1 = t1;
  2877. },
  2878. _Record_2_imports_modules: function _Record_2_imports_modules(t0, t1) {
  2879. this._0 = t0;
  2880. this._1 = t1;
  2881. },
  2882. _Record_2_loadedUrls_stylesheet: function _Record_2_loadedUrls_stylesheet(t0, t1) {
  2883. this._0 = t0;
  2884. this._1 = t1;
  2885. },
  2886. _Record_2_sourceMap: function _Record_2_sourceMap(t0, t1) {
  2887. this._0 = t0;
  2888. this._1 = t1;
  2889. },
  2890. _Record_3: function _Record_3(t0, t1, t2) {
  2891. this._0 = t0;
  2892. this._1 = t1;
  2893. this._2 = t2;
  2894. },
  2895. _Record_3_forImport: function _Record_3_forImport(t0, t1, t2) {
  2896. this._0 = t0;
  2897. this._1 = t1;
  2898. this._2 = t2;
  2899. },
  2900. _Record_3_importer_isDependency: function _Record_3_importer_isDependency(t0, t1, t2) {
  2901. this._0 = t0;
  2902. this._1 = t1;
  2903. this._2 = t2;
  2904. },
  2905. _Record_3_originalUrl: function _Record_3_originalUrl(t0, t1, t2) {
  2906. this._0 = t0;
  2907. this._1 = t1;
  2908. this._2 = t2;
  2909. },
  2910. _Record_5_named_namedNodes_positional_positionalNodes_separator: function _Record_5_named_namedNodes_positional_positionalNodes_separator(t0) {
  2911. this._values = t0;
  2912. },
  2913. ConstantMapView: function ConstantMapView(t0, t1) {
  2914. this._map = t0;
  2915. this.$ti = t1;
  2916. },
  2917. ConstantMap: function ConstantMap() {
  2918. },
  2919. ConstantStringMap: function ConstantStringMap(t0, t1, t2) {
  2920. this._jsIndex = t0;
  2921. this._values = t1;
  2922. this.$ti = t2;
  2923. },
  2924. _KeysOrValues: function _KeysOrValues(t0, t1) {
  2925. this._elements = t0;
  2926. this.$ti = t1;
  2927. },
  2928. _KeysOrValuesOrElementsIterator: function _KeysOrValuesOrElementsIterator(t0, t1, t2) {
  2929. var _ = this;
  2930. _._elements = t0;
  2931. _.__js_helper$_length = t1;
  2932. _.__js_helper$_index = 0;
  2933. _.__js_helper$_current = null;
  2934. _.$ti = t2;
  2935. },
  2936. ConstantSet: function ConstantSet() {
  2937. },
  2938. ConstantStringSet: function ConstantStringSet(t0, t1, t2) {
  2939. this._jsIndex = t0;
  2940. this.__js_helper$_length = t1;
  2941. this.$ti = t2;
  2942. },
  2943. GeneralConstantSet: function GeneralConstantSet(t0, t1) {
  2944. this._elements = t0;
  2945. this.$ti = t1;
  2946. },
  2947. Instantiation: function Instantiation() {
  2948. },
  2949. Instantiation1: function Instantiation1(t0, t1) {
  2950. this._genericClosure = t0;
  2951. this.$ti = t1;
  2952. },
  2953. JSInvocationMirror: function JSInvocationMirror(t0, t1, t2, t3, t4) {
  2954. var _ = this;
  2955. _.__js_helper$_memberName = t0;
  2956. _.__js_helper$_kind = t1;
  2957. _._arguments = t2;
  2958. _._namedArgumentNames = t3;
  2959. _._typeArgumentCount = t4;
  2960. },
  2961. Primitives_functionNoSuchMethod_closure: function Primitives_functionNoSuchMethod_closure(t0, t1, t2) {
  2962. this._box_0 = t0;
  2963. this.namedArgumentList = t1;
  2964. this.$arguments = t2;
  2965. },
  2966. TypeErrorDecoder: function TypeErrorDecoder(t0, t1, t2, t3, t4, t5) {
  2967. var _ = this;
  2968. _._pattern = t0;
  2969. _._arguments = t1;
  2970. _._argumentsExpr = t2;
  2971. _._expr = t3;
  2972. _._method = t4;
  2973. _._receiver = t5;
  2974. },
  2975. NullError: function NullError() {
  2976. },
  2977. JsNoSuchMethodError: function JsNoSuchMethodError(t0, t1, t2) {
  2978. this.__js_helper$_message = t0;
  2979. this._method = t1;
  2980. this._receiver = t2;
  2981. },
  2982. UnknownJsTypeError: function UnknownJsTypeError(t0) {
  2983. this.__js_helper$_message = t0;
  2984. },
  2985. NullThrownFromJavaScriptException: function NullThrownFromJavaScriptException(t0) {
  2986. this._irritant = t0;
  2987. },
  2988. ExceptionAndStackTrace: function ExceptionAndStackTrace(t0, t1) {
  2989. this.dartException = t0;
  2990. this.stackTrace = t1;
  2991. },
  2992. _StackTrace: function _StackTrace(t0) {
  2993. this._exception = t0;
  2994. this._trace = null;
  2995. },
  2996. Closure: function Closure() {
  2997. },
  2998. Closure0Args: function Closure0Args() {
  2999. },
  3000. Closure2Args: function Closure2Args() {
  3001. },
  3002. TearOffClosure: function TearOffClosure() {
  3003. },
  3004. StaticClosure: function StaticClosure() {
  3005. },
  3006. BoundClosure: function BoundClosure(t0, t1) {
  3007. this._receiver = t0;
  3008. this._interceptor = t1;
  3009. },
  3010. _CyclicInitializationError: function _CyclicInitializationError(t0) {
  3011. this.variableName = t0;
  3012. },
  3013. RuntimeError: function RuntimeError(t0) {
  3014. this.message = t0;
  3015. },
  3016. _Required: function _Required() {
  3017. },
  3018. JsLinkedHashMap: function JsLinkedHashMap(t0) {
  3019. var _ = this;
  3020. _.__js_helper$_length = 0;
  3021. _.__js_helper$_last = _.__js_helper$_first = _.__js_helper$_rest = _.__js_helper$_nums = _.__js_helper$_strings = null;
  3022. _.__js_helper$_modifications = 0;
  3023. _.$ti = t0;
  3024. },
  3025. JsLinkedHashMap_values_closure: function JsLinkedHashMap_values_closure(t0) {
  3026. this.$this = t0;
  3027. },
  3028. JsLinkedHashMap_addAll_closure: function JsLinkedHashMap_addAll_closure(t0) {
  3029. this.$this = t0;
  3030. },
  3031. LinkedHashMapCell: function LinkedHashMapCell(t0, t1) {
  3032. var _ = this;
  3033. _.hashMapCellKey = t0;
  3034. _.hashMapCellValue = t1;
  3035. _.__js_helper$_previous = _.__js_helper$_next = null;
  3036. },
  3037. LinkedHashMapKeyIterable: function LinkedHashMapKeyIterable(t0, t1) {
  3038. this.__js_helper$_map = t0;
  3039. this.$ti = t1;
  3040. },
  3041. LinkedHashMapKeyIterator: function LinkedHashMapKeyIterator(t0, t1) {
  3042. var _ = this;
  3043. _.__js_helper$_map = t0;
  3044. _.__js_helper$_modifications = t1;
  3045. _.__js_helper$_current = _.__js_helper$_cell = null;
  3046. },
  3047. JsIdentityLinkedHashMap: function JsIdentityLinkedHashMap(t0) {
  3048. var _ = this;
  3049. _.__js_helper$_length = 0;
  3050. _.__js_helper$_last = _.__js_helper$_first = _.__js_helper$_rest = _.__js_helper$_nums = _.__js_helper$_strings = null;
  3051. _.__js_helper$_modifications = 0;
  3052. _.$ti = t0;
  3053. },
  3054. JsConstantLinkedHashMap: function JsConstantLinkedHashMap(t0) {
  3055. var _ = this;
  3056. _.__js_helper$_length = 0;
  3057. _.__js_helper$_last = _.__js_helper$_first = _.__js_helper$_rest = _.__js_helper$_nums = _.__js_helper$_strings = null;
  3058. _.__js_helper$_modifications = 0;
  3059. _.$ti = t0;
  3060. },
  3061. initHooks_closure: function initHooks_closure(t0) {
  3062. this.getTag = t0;
  3063. },
  3064. initHooks_closure0: function initHooks_closure0(t0) {
  3065. this.getUnknownTag = t0;
  3066. },
  3067. initHooks_closure1: function initHooks_closure1(t0) {
  3068. this.prototypeForTag = t0;
  3069. },
  3070. _Record: function _Record() {
  3071. },
  3072. _Record2: function _Record2() {
  3073. },
  3074. _Record1: function _Record1() {
  3075. },
  3076. _Record3: function _Record3() {
  3077. },
  3078. _RecordN: function _RecordN() {
  3079. },
  3080. JSSyntaxRegExp: function JSSyntaxRegExp(t0, t1) {
  3081. var _ = this;
  3082. _.pattern = t0;
  3083. _._nativeRegExp = t1;
  3084. _._nativeAnchoredRegExp = _._nativeGlobalRegExp = null;
  3085. },
  3086. _MatchImplementation: function _MatchImplementation(t0) {
  3087. this._match = t0;
  3088. },
  3089. _AllMatchesIterable: function _AllMatchesIterable(t0, t1, t2) {
  3090. this._re = t0;
  3091. this.__js_helper$_string = t1;
  3092. this.__js_helper$_start = t2;
  3093. },
  3094. _AllMatchesIterator: function _AllMatchesIterator(t0, t1, t2) {
  3095. var _ = this;
  3096. _._regExp = t0;
  3097. _.__js_helper$_string = t1;
  3098. _._nextIndex = t2;
  3099. _.__js_helper$_current = null;
  3100. },
  3101. StringMatch: function StringMatch(t0, t1) {
  3102. this.start = t0;
  3103. this.pattern = t1;
  3104. },
  3105. _StringAllMatchesIterable: function _StringAllMatchesIterable(t0, t1, t2) {
  3106. this._input = t0;
  3107. this._pattern = t1;
  3108. this.__js_helper$_index = t2;
  3109. },
  3110. _StringAllMatchesIterator: function _StringAllMatchesIterator(t0, t1, t2) {
  3111. var _ = this;
  3112. _._input = t0;
  3113. _._pattern = t1;
  3114. _.__js_helper$_index = t2;
  3115. _.__js_helper$_current = null;
  3116. },
  3117. throwLateFieldADI(fieldName) {
  3118. A.throwExpressionWithWrapper(new A.LateError("Field '" + fieldName + "' has been assigned during initialization."), new Error());
  3119. },
  3120. throwUnnamedLateFieldNI() {
  3121. A.throwExpressionWithWrapper(new A.LateError("Field '' has not been initialized."), new Error());
  3122. },
  3123. throwUnnamedLateFieldAI() {
  3124. A.throwExpressionWithWrapper(new A.LateError("Field '' has already been initialized."), new Error());
  3125. },
  3126. throwUnnamedLateFieldADI() {
  3127. A.throwExpressionWithWrapper(new A.LateError("Field '' has been assigned during initialization."), new Error());
  3128. },
  3129. _Cell$() {
  3130. var t1 = new A._Cell();
  3131. return t1.__late_helper$_value = t1;
  3132. },
  3133. _Cell: function _Cell() {
  3134. this.__late_helper$_value = null;
  3135. },
  3136. _ensureNativeList(list) {
  3137. return list;
  3138. },
  3139. NativeInt8List__create1(arg) {
  3140. return new Int8Array(arg);
  3141. },
  3142. NativeUint8List_NativeUint8List($length) {
  3143. return new Uint8Array($length);
  3144. },
  3145. _checkValidIndex(index, list, $length) {
  3146. if (index >>> 0 !== index || index >= $length)
  3147. throw A.wrapException(A.diagnoseIndexError(list, index));
  3148. },
  3149. _checkValidRange(start, end, $length) {
  3150. var t1;
  3151. if (!(start >>> 0 !== start))
  3152. if (end == null)
  3153. t1 = start > $length;
  3154. else
  3155. t1 = end >>> 0 !== end || start > end || end > $length;
  3156. else
  3157. t1 = true;
  3158. if (t1)
  3159. throw A.wrapException(A.diagnoseRangeError(start, end, $length));
  3160. if (end == null)
  3161. return $length;
  3162. return end;
  3163. },
  3164. NativeByteBuffer: function NativeByteBuffer() {
  3165. },
  3166. NativeTypedData: function NativeTypedData() {
  3167. },
  3168. NativeByteData: function NativeByteData() {
  3169. },
  3170. NativeTypedArray: function NativeTypedArray() {
  3171. },
  3172. NativeTypedArrayOfDouble: function NativeTypedArrayOfDouble() {
  3173. },
  3174. NativeTypedArrayOfInt: function NativeTypedArrayOfInt() {
  3175. },
  3176. NativeFloat32List: function NativeFloat32List() {
  3177. },
  3178. NativeFloat64List: function NativeFloat64List() {
  3179. },
  3180. NativeInt16List: function NativeInt16List() {
  3181. },
  3182. NativeInt32List: function NativeInt32List() {
  3183. },
  3184. NativeInt8List: function NativeInt8List() {
  3185. },
  3186. NativeUint16List: function NativeUint16List() {
  3187. },
  3188. NativeUint32List: function NativeUint32List() {
  3189. },
  3190. NativeUint8ClampedList: function NativeUint8ClampedList() {
  3191. },
  3192. NativeUint8List: function NativeUint8List() {
  3193. },
  3194. _NativeTypedArrayOfDouble_NativeTypedArray_ListMixin: function _NativeTypedArrayOfDouble_NativeTypedArray_ListMixin() {
  3195. },
  3196. _NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin: function _NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin() {
  3197. },
  3198. _NativeTypedArrayOfInt_NativeTypedArray_ListMixin: function _NativeTypedArrayOfInt_NativeTypedArray_ListMixin() {
  3199. },
  3200. _NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin: function _NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin() {
  3201. },
  3202. Rti__getQuestionFromStar(universe, rti) {
  3203. var question = rti._precomputed1;
  3204. return question == null ? rti._precomputed1 = A._Universe__lookupQuestionRti(universe, rti._primary, true) : question;
  3205. },
  3206. Rti__getFutureFromFutureOr(universe, rti) {
  3207. var future = rti._precomputed1;
  3208. return future == null ? rti._precomputed1 = A._Universe__lookupInterfaceRti(universe, "Future", [rti._primary]) : future;
  3209. },
  3210. Rti__isUnionOfFunctionType(rti) {
  3211. var kind = rti._kind;
  3212. if (kind === 6 || kind === 7 || kind === 8)
  3213. return A.Rti__isUnionOfFunctionType(rti._primary);
  3214. return kind === 12 || kind === 13;
  3215. },
  3216. Rti__getCanonicalRecipe(rti) {
  3217. return rti._canonicalRecipe;
  3218. },
  3219. pairwiseIsTest(fieldRtis, values) {
  3220. var i,
  3221. $length = values.length;
  3222. for (i = 0; i < $length; ++i)
  3223. if (!fieldRtis[i]._is(values[i]))
  3224. return false;
  3225. return true;
  3226. },
  3227. findType(recipe) {
  3228. return A._Universe_eval(init.typeUniverse, recipe, false);
  3229. },
  3230. instantiatedGenericFunctionType(genericFunctionRti, instantiationRti) {
  3231. var t1, cache, key, probe, rti;
  3232. if (genericFunctionRti == null)
  3233. return null;
  3234. t1 = instantiationRti._rest;
  3235. cache = genericFunctionRti._bindCache;
  3236. if (cache == null)
  3237. cache = genericFunctionRti._bindCache = new Map();
  3238. key = instantiationRti._canonicalRecipe;
  3239. probe = cache.get(key);
  3240. if (probe != null)
  3241. return probe;
  3242. rti = A._substitute(init.typeUniverse, genericFunctionRti._primary, t1, 0);
  3243. cache.set(key, rti);
  3244. return rti;
  3245. },
  3246. _substitute(universe, rti, typeArguments, depth) {
  3247. var baseType, substitutedBaseType, interfaceTypeArguments, substitutedInterfaceTypeArguments, base, substitutedBase, $arguments, substitutedArguments, t1, fields, substitutedFields, returnType, substitutedReturnType, functionParameters, substitutedFunctionParameters, bounds, substitutedBounds, index, argument,
  3248. kind = rti._kind;
  3249. switch (kind) {
  3250. case 5:
  3251. case 1:
  3252. case 2:
  3253. case 3:
  3254. case 4:
  3255. return rti;
  3256. case 6:
  3257. baseType = rti._primary;
  3258. substitutedBaseType = A._substitute(universe, baseType, typeArguments, depth);
  3259. if (substitutedBaseType === baseType)
  3260. return rti;
  3261. return A._Universe__lookupStarRti(universe, substitutedBaseType, true);
  3262. case 7:
  3263. baseType = rti._primary;
  3264. substitutedBaseType = A._substitute(universe, baseType, typeArguments, depth);
  3265. if (substitutedBaseType === baseType)
  3266. return rti;
  3267. return A._Universe__lookupQuestionRti(universe, substitutedBaseType, true);
  3268. case 8:
  3269. baseType = rti._primary;
  3270. substitutedBaseType = A._substitute(universe, baseType, typeArguments, depth);
  3271. if (substitutedBaseType === baseType)
  3272. return rti;
  3273. return A._Universe__lookupFutureOrRti(universe, substitutedBaseType, true);
  3274. case 9:
  3275. interfaceTypeArguments = rti._rest;
  3276. substitutedInterfaceTypeArguments = A._substituteArray(universe, interfaceTypeArguments, typeArguments, depth);
  3277. if (substitutedInterfaceTypeArguments === interfaceTypeArguments)
  3278. return rti;
  3279. return A._Universe__lookupInterfaceRti(universe, rti._primary, substitutedInterfaceTypeArguments);
  3280. case 10:
  3281. base = rti._primary;
  3282. substitutedBase = A._substitute(universe, base, typeArguments, depth);
  3283. $arguments = rti._rest;
  3284. substitutedArguments = A._substituteArray(universe, $arguments, typeArguments, depth);
  3285. if (substitutedBase === base && substitutedArguments === $arguments)
  3286. return rti;
  3287. return A._Universe__lookupBindingRti(universe, substitutedBase, substitutedArguments);
  3288. case 11:
  3289. t1 = rti._primary;
  3290. fields = rti._rest;
  3291. substitutedFields = A._substituteArray(universe, fields, typeArguments, depth);
  3292. if (substitutedFields === fields)
  3293. return rti;
  3294. return A._Universe__lookupRecordRti(universe, t1, substitutedFields);
  3295. case 12:
  3296. returnType = rti._primary;
  3297. substitutedReturnType = A._substitute(universe, returnType, typeArguments, depth);
  3298. functionParameters = rti._rest;
  3299. substitutedFunctionParameters = A._substituteFunctionParameters(universe, functionParameters, typeArguments, depth);
  3300. if (substitutedReturnType === returnType && substitutedFunctionParameters === functionParameters)
  3301. return rti;
  3302. return A._Universe__lookupFunctionRti(universe, substitutedReturnType, substitutedFunctionParameters);
  3303. case 13:
  3304. bounds = rti._rest;
  3305. depth += bounds.length;
  3306. substitutedBounds = A._substituteArray(universe, bounds, typeArguments, depth);
  3307. base = rti._primary;
  3308. substitutedBase = A._substitute(universe, base, typeArguments, depth);
  3309. if (substitutedBounds === bounds && substitutedBase === base)
  3310. return rti;
  3311. return A._Universe__lookupGenericFunctionRti(universe, substitutedBase, substitutedBounds, true);
  3312. case 14:
  3313. index = rti._primary;
  3314. if (index < depth)
  3315. return rti;
  3316. argument = typeArguments[index - depth];
  3317. if (argument == null)
  3318. return rti;
  3319. return argument;
  3320. default:
  3321. throw A.wrapException(A.AssertionError$("Attempted to substitute unexpected RTI kind " + kind));
  3322. }
  3323. },
  3324. _substituteArray(universe, rtiArray, typeArguments, depth) {
  3325. var changed, i, rti, substitutedRti,
  3326. $length = rtiArray.length,
  3327. result = A._Utils_newArrayOrEmpty($length);
  3328. for (changed = false, i = 0; i < $length; ++i) {
  3329. rti = rtiArray[i];
  3330. substitutedRti = A._substitute(universe, rti, typeArguments, depth);
  3331. if (substitutedRti !== rti)
  3332. changed = true;
  3333. result[i] = substitutedRti;
  3334. }
  3335. return changed ? result : rtiArray;
  3336. },
  3337. _substituteNamed(universe, namedArray, typeArguments, depth) {
  3338. var changed, i, t1, t2, rti, substitutedRti,
  3339. $length = namedArray.length,
  3340. result = A._Utils_newArrayOrEmpty($length);
  3341. for (changed = false, i = 0; i < $length; i += 3) {
  3342. t1 = namedArray[i];
  3343. t2 = namedArray[i + 1];
  3344. rti = namedArray[i + 2];
  3345. substitutedRti = A._substitute(universe, rti, typeArguments, depth);
  3346. if (substitutedRti !== rti)
  3347. changed = true;
  3348. result.splice(i, 3, t1, t2, substitutedRti);
  3349. }
  3350. return changed ? result : namedArray;
  3351. },
  3352. _substituteFunctionParameters(universe, functionParameters, typeArguments, depth) {
  3353. var result,
  3354. requiredPositional = functionParameters._requiredPositional,
  3355. substitutedRequiredPositional = A._substituteArray(universe, requiredPositional, typeArguments, depth),
  3356. optionalPositional = functionParameters._optionalPositional,
  3357. substitutedOptionalPositional = A._substituteArray(universe, optionalPositional, typeArguments, depth),
  3358. named = functionParameters._named,
  3359. substitutedNamed = A._substituteNamed(universe, named, typeArguments, depth);
  3360. if (substitutedRequiredPositional === requiredPositional && substitutedOptionalPositional === optionalPositional && substitutedNamed === named)
  3361. return functionParameters;
  3362. result = new A._FunctionParameters();
  3363. result._requiredPositional = substitutedRequiredPositional;
  3364. result._optionalPositional = substitutedOptionalPositional;
  3365. result._named = substitutedNamed;
  3366. return result;
  3367. },
  3368. _setArrayType(target, rti) {
  3369. target[init.arrayRti] = rti;
  3370. return target;
  3371. },
  3372. closureFunctionType(closure) {
  3373. var signature = closure.$signature;
  3374. if (signature != null) {
  3375. if (typeof signature == "number")
  3376. return A.getTypeFromTypesTable(signature);
  3377. return closure.$signature();
  3378. }
  3379. return null;
  3380. },
  3381. instanceOrFunctionType(object, testRti) {
  3382. var rti;
  3383. if (A.Rti__isUnionOfFunctionType(testRti))
  3384. if (object instanceof A.Closure) {
  3385. rti = A.closureFunctionType(object);
  3386. if (rti != null)
  3387. return rti;
  3388. }
  3389. return A.instanceType(object);
  3390. },
  3391. instanceType(object) {
  3392. if (object instanceof A.Object)
  3393. return A._instanceType(object);
  3394. if (Array.isArray(object))
  3395. return A._arrayInstanceType(object);
  3396. return A._instanceTypeFromConstructor(J.getInterceptor$(object));
  3397. },
  3398. _arrayInstanceType(object) {
  3399. var rti = object[init.arrayRti],
  3400. defaultRti = type$.JSArray_dynamic;
  3401. if (rti == null)
  3402. return defaultRti;
  3403. if (rti.constructor !== defaultRti.constructor)
  3404. return defaultRti;
  3405. return rti;
  3406. },
  3407. _instanceType(object) {
  3408. var rti = object.$ti;
  3409. return rti != null ? rti : A._instanceTypeFromConstructor(object);
  3410. },
  3411. _instanceTypeFromConstructor(instance) {
  3412. var $constructor = instance.constructor,
  3413. probe = $constructor.$ccache;
  3414. if (probe != null)
  3415. return probe;
  3416. return A._instanceTypeFromConstructorMiss(instance, $constructor);
  3417. },
  3418. _instanceTypeFromConstructorMiss(instance, $constructor) {
  3419. var effectiveConstructor = instance instanceof A.Closure ? Object.getPrototypeOf(Object.getPrototypeOf(instance)).constructor : $constructor,
  3420. rti = A._Universe_findErasedType(init.typeUniverse, effectiveConstructor.name);
  3421. $constructor.$ccache = rti;
  3422. return rti;
  3423. },
  3424. getTypeFromTypesTable(index) {
  3425. var rti,
  3426. table = init.types,
  3427. type = table[index];
  3428. if (typeof type == "string") {
  3429. rti = A._Universe_eval(init.typeUniverse, type, false);
  3430. table[index] = rti;
  3431. return rti;
  3432. }
  3433. return type;
  3434. },
  3435. getRuntimeTypeOfDartObject(object) {
  3436. return A.createRuntimeType(A._instanceType(object));
  3437. },
  3438. getRuntimeTypeOfClosure(closure) {
  3439. var rti = A.closureFunctionType(closure);
  3440. return A.createRuntimeType(rti == null ? A.instanceType(closure) : rti);
  3441. },
  3442. _structuralTypeOf(object) {
  3443. var functionRti;
  3444. if (object instanceof A._Record)
  3445. return A.evaluateRtiForRecord(object.$recipe, object._getFieldValues$0());
  3446. functionRti = object instanceof A.Closure ? A.closureFunctionType(object) : null;
  3447. if (functionRti != null)
  3448. return functionRti;
  3449. if (type$.TrustedGetRuntimeType._is(object))
  3450. return J.get$runtimeType$(object)._rti;
  3451. if (Array.isArray(object))
  3452. return A._arrayInstanceType(object);
  3453. return A.instanceType(object);
  3454. },
  3455. createRuntimeType(rti) {
  3456. var t1 = rti._cachedRuntimeType;
  3457. return t1 == null ? rti._cachedRuntimeType = A._createRuntimeType(rti) : t1;
  3458. },
  3459. _createRuntimeType(rti) {
  3460. var starErasedRti, t1,
  3461. s = rti._canonicalRecipe,
  3462. starErasedRecipe = s.replace(/\*/g, "");
  3463. if (starErasedRecipe === s)
  3464. return rti._cachedRuntimeType = new A._Type(rti);
  3465. starErasedRti = A._Universe_eval(init.typeUniverse, starErasedRecipe, true);
  3466. t1 = starErasedRti._cachedRuntimeType;
  3467. return t1 == null ? starErasedRti._cachedRuntimeType = A._createRuntimeType(starErasedRti) : t1;
  3468. },
  3469. evaluateRtiForRecord(recordRecipe, valuesList) {
  3470. var bindings, i,
  3471. values = valuesList,
  3472. $length = values.length;
  3473. if ($length === 0)
  3474. return type$.Record_0;
  3475. bindings = A._Universe_evalInEnvironment(init.typeUniverse, A._structuralTypeOf(values[0]), "@<0>");
  3476. for (i = 1; i < $length; ++i)
  3477. bindings = A._Universe_bind(init.typeUniverse, bindings, A._structuralTypeOf(values[i]));
  3478. return A._Universe_evalInEnvironment(init.typeUniverse, bindings, recordRecipe);
  3479. },
  3480. typeLiteral(recipe) {
  3481. return A.createRuntimeType(A._Universe_eval(init.typeUniverse, recipe, false));
  3482. },
  3483. _installSpecializedIsTest(object) {
  3484. var t1, unstarred, unstarredKind, isFn, $name, predicate, testRti = this;
  3485. if (testRti === type$.Object)
  3486. return A._finishIsFn(testRti, object, A._isObject);
  3487. if (!A.isSoundTopType(testRti))
  3488. t1 = testRti === type$.legacy_Object;
  3489. else
  3490. t1 = true;
  3491. if (t1)
  3492. return A._finishIsFn(testRti, object, A._isTop);
  3493. t1 = testRti._kind;
  3494. if (t1 === 7)
  3495. return A._finishIsFn(testRti, object, A._generalNullableIsTestImplementation);
  3496. if (t1 === 1)
  3497. return A._finishIsFn(testRti, object, A._isNever);
  3498. unstarred = t1 === 6 ? testRti._primary : testRti;
  3499. unstarredKind = unstarred._kind;
  3500. if (unstarredKind === 8)
  3501. return A._finishIsFn(testRti, object, A._isFutureOr);
  3502. if (unstarred === type$.int)
  3503. isFn = A._isInt;
  3504. else if (unstarred === type$.double || unstarred === type$.num)
  3505. isFn = A._isNum;
  3506. else if (unstarred === type$.String)
  3507. isFn = A._isString;
  3508. else
  3509. isFn = unstarred === type$.bool ? A._isBool : null;
  3510. if (isFn != null)
  3511. return A._finishIsFn(testRti, object, isFn);
  3512. if (unstarredKind === 9) {
  3513. $name = unstarred._primary;
  3514. if (unstarred._rest.every(A.isDefinitelyTopType)) {
  3515. testRti._specializedTestResource = "$is" + $name;
  3516. if ($name === "List")
  3517. return A._finishIsFn(testRti, object, A._isListTestViaProperty);
  3518. return A._finishIsFn(testRti, object, A._isTestViaProperty);
  3519. }
  3520. } else if (unstarredKind === 11) {
  3521. predicate = A.createRecordTypePredicate(unstarred._primary, unstarred._rest);
  3522. return A._finishIsFn(testRti, object, predicate == null ? A._isNever : predicate);
  3523. }
  3524. return A._finishIsFn(testRti, object, A._generalIsTestImplementation);
  3525. },
  3526. _finishIsFn(testRti, object, isFn) {
  3527. testRti._is = isFn;
  3528. return testRti._is(object);
  3529. },
  3530. _installSpecializedAsCheck(object) {
  3531. var t1, testRti = this,
  3532. asFn = A._generalAsCheckImplementation;
  3533. if (!A.isSoundTopType(testRti))
  3534. t1 = testRti === type$.legacy_Object;
  3535. else
  3536. t1 = true;
  3537. if (t1)
  3538. asFn = A._asTop;
  3539. else if (testRti === type$.Object)
  3540. asFn = A._asObject;
  3541. else {
  3542. t1 = A.isNullable(testRti);
  3543. if (t1)
  3544. asFn = A._generalNullableAsCheckImplementation;
  3545. }
  3546. testRti._as = asFn;
  3547. return testRti._as(object);
  3548. },
  3549. _nullIs(testRti) {
  3550. var t1,
  3551. kind = testRti._kind;
  3552. if (!A.isSoundTopType(testRti))
  3553. if (!(testRti === type$.legacy_Object))
  3554. if (!(testRti === type$.legacy_Never))
  3555. if (kind !== 7)
  3556. if (!(kind === 6 && A._nullIs(testRti._primary)))
  3557. t1 = kind === 8 && A._nullIs(testRti._primary) || testRti === type$.Null || testRti === type$.JSNull;
  3558. else
  3559. t1 = true;
  3560. else
  3561. t1 = true;
  3562. else
  3563. t1 = true;
  3564. else
  3565. t1 = true;
  3566. else
  3567. t1 = true;
  3568. return t1;
  3569. },
  3570. _generalIsTestImplementation(object) {
  3571. var testRti = this;
  3572. if (object == null)
  3573. return A._nullIs(testRti);
  3574. return A.isSubtype(init.typeUniverse, A.instanceOrFunctionType(object, testRti), testRti);
  3575. },
  3576. _generalNullableIsTestImplementation(object) {
  3577. if (object == null)
  3578. return true;
  3579. return this._primary._is(object);
  3580. },
  3581. _isTestViaProperty(object) {
  3582. var tag, testRti = this;
  3583. if (object == null)
  3584. return A._nullIs(testRti);
  3585. tag = testRti._specializedTestResource;
  3586. if (object instanceof A.Object)
  3587. return !!object[tag];
  3588. return !!J.getInterceptor$(object)[tag];
  3589. },
  3590. _isListTestViaProperty(object) {
  3591. var tag, testRti = this;
  3592. if (object == null)
  3593. return A._nullIs(testRti);
  3594. if (typeof object != "object")
  3595. return false;
  3596. if (Array.isArray(object))
  3597. return true;
  3598. tag = testRti._specializedTestResource;
  3599. if (object instanceof A.Object)
  3600. return !!object[tag];
  3601. return !!J.getInterceptor$(object)[tag];
  3602. },
  3603. _generalAsCheckImplementation(object) {
  3604. var testRti = this;
  3605. if (object == null) {
  3606. if (A.isNullable(testRti))
  3607. return object;
  3608. } else if (testRti._is(object))
  3609. return object;
  3610. A._failedAsCheck(object, testRti);
  3611. },
  3612. _generalNullableAsCheckImplementation(object) {
  3613. var testRti = this;
  3614. if (object == null)
  3615. return object;
  3616. else if (testRti._is(object))
  3617. return object;
  3618. A._failedAsCheck(object, testRti);
  3619. },
  3620. _failedAsCheck(object, testRti) {
  3621. throw A.wrapException(A._TypeError$fromMessage(A._Error_compose(object, A._rtiToString(testRti, null))));
  3622. },
  3623. _Error_compose(object, checkedTypeDescription) {
  3624. return A.Error_safeToString(object) + ": type '" + A._rtiToString(A._structuralTypeOf(object), null) + "' is not a subtype of type '" + checkedTypeDescription + "'";
  3625. },
  3626. _TypeError$fromMessage(message) {
  3627. return new A._TypeError("TypeError: " + message);
  3628. },
  3629. _TypeError__TypeError$forType(object, type) {
  3630. return new A._TypeError("TypeError: " + A._Error_compose(object, type));
  3631. },
  3632. _isFutureOr(object) {
  3633. var testRti = this,
  3634. unstarred = testRti._kind === 6 ? testRti._primary : testRti;
  3635. return unstarred._primary._is(object) || A.Rti__getFutureFromFutureOr(init.typeUniverse, unstarred)._is(object);
  3636. },
  3637. _isObject(object) {
  3638. return object != null;
  3639. },
  3640. _asObject(object) {
  3641. if (object != null)
  3642. return object;
  3643. throw A.wrapException(A._TypeError__TypeError$forType(object, "Object"));
  3644. },
  3645. _isTop(object) {
  3646. return true;
  3647. },
  3648. _asTop(object) {
  3649. return object;
  3650. },
  3651. _isNever(object) {
  3652. return false;
  3653. },
  3654. _isBool(object) {
  3655. return true === object || false === object;
  3656. },
  3657. _asBool(object) {
  3658. if (true === object)
  3659. return true;
  3660. if (false === object)
  3661. return false;
  3662. throw A.wrapException(A._TypeError__TypeError$forType(object, "bool"));
  3663. },
  3664. _asBoolS(object) {
  3665. if (true === object)
  3666. return true;
  3667. if (false === object)
  3668. return false;
  3669. if (object == null)
  3670. return object;
  3671. throw A.wrapException(A._TypeError__TypeError$forType(object, "bool"));
  3672. },
  3673. _asBoolQ(object) {
  3674. if (true === object)
  3675. return true;
  3676. if (false === object)
  3677. return false;
  3678. if (object == null)
  3679. return object;
  3680. throw A.wrapException(A._TypeError__TypeError$forType(object, "bool?"));
  3681. },
  3682. _asDouble(object) {
  3683. if (typeof object == "number")
  3684. return object;
  3685. throw A.wrapException(A._TypeError__TypeError$forType(object, "double"));
  3686. },
  3687. _asDoubleS(object) {
  3688. if (typeof object == "number")
  3689. return object;
  3690. if (object == null)
  3691. return object;
  3692. throw A.wrapException(A._TypeError__TypeError$forType(object, "double"));
  3693. },
  3694. _asDoubleQ(object) {
  3695. if (typeof object == "number")
  3696. return object;
  3697. if (object == null)
  3698. return object;
  3699. throw A.wrapException(A._TypeError__TypeError$forType(object, "double?"));
  3700. },
  3701. _isInt(object) {
  3702. return typeof object == "number" && Math.floor(object) === object;
  3703. },
  3704. _asInt(object) {
  3705. if (typeof object == "number" && Math.floor(object) === object)
  3706. return object;
  3707. throw A.wrapException(A._TypeError__TypeError$forType(object, "int"));
  3708. },
  3709. _asIntS(object) {
  3710. if (typeof object == "number" && Math.floor(object) === object)
  3711. return object;
  3712. if (object == null)
  3713. return object;
  3714. throw A.wrapException(A._TypeError__TypeError$forType(object, "int"));
  3715. },
  3716. _asIntQ(object) {
  3717. if (typeof object == "number" && Math.floor(object) === object)
  3718. return object;
  3719. if (object == null)
  3720. return object;
  3721. throw A.wrapException(A._TypeError__TypeError$forType(object, "int?"));
  3722. },
  3723. _isNum(object) {
  3724. return typeof object == "number";
  3725. },
  3726. _asNum(object) {
  3727. if (typeof object == "number")
  3728. return object;
  3729. throw A.wrapException(A._TypeError__TypeError$forType(object, "num"));
  3730. },
  3731. _asNumS(object) {
  3732. if (typeof object == "number")
  3733. return object;
  3734. if (object == null)
  3735. return object;
  3736. throw A.wrapException(A._TypeError__TypeError$forType(object, "num"));
  3737. },
  3738. _asNumQ(object) {
  3739. if (typeof object == "number")
  3740. return object;
  3741. if (object == null)
  3742. return object;
  3743. throw A.wrapException(A._TypeError__TypeError$forType(object, "num?"));
  3744. },
  3745. _isString(object) {
  3746. return typeof object == "string";
  3747. },
  3748. _asString(object) {
  3749. if (typeof object == "string")
  3750. return object;
  3751. throw A.wrapException(A._TypeError__TypeError$forType(object, "String"));
  3752. },
  3753. _asStringS(object) {
  3754. if (typeof object == "string")
  3755. return object;
  3756. if (object == null)
  3757. return object;
  3758. throw A.wrapException(A._TypeError__TypeError$forType(object, "String"));
  3759. },
  3760. _asStringQ(object) {
  3761. if (typeof object == "string")
  3762. return object;
  3763. if (object == null)
  3764. return object;
  3765. throw A.wrapException(A._TypeError__TypeError$forType(object, "String?"));
  3766. },
  3767. _rtiArrayToString(array, genericContext) {
  3768. var s, sep, i;
  3769. for (s = "", sep = "", i = 0; i < array.length; ++i, sep = ", ")
  3770. s += sep + A._rtiToString(array[i], genericContext);
  3771. return s;
  3772. },
  3773. _recordRtiToString(recordType, genericContext) {
  3774. var fieldCount, names, namesIndex, s, comma, i,
  3775. partialShape = recordType._primary,
  3776. fields = recordType._rest;
  3777. if ("" === partialShape)
  3778. return "(" + A._rtiArrayToString(fields, genericContext) + ")";
  3779. fieldCount = fields.length;
  3780. names = partialShape.split(",");
  3781. namesIndex = names.length - fieldCount;
  3782. for (s = "(", comma = "", i = 0; i < fieldCount; ++i, comma = ", ") {
  3783. s += comma;
  3784. if (namesIndex === 0)
  3785. s += "{";
  3786. s += A._rtiToString(fields[i], genericContext);
  3787. if (namesIndex >= 0)
  3788. s += " " + names[namesIndex];
  3789. ++namesIndex;
  3790. }
  3791. return s + "})";
  3792. },
  3793. _functionRtiToString(functionType, genericContext, bounds) {
  3794. var boundsLength, outerContextLength, offset, i, t1, t2, typeParametersText, typeSep, boundRti, kind, t3, parameters, requiredPositional, requiredPositionalLength, optionalPositional, optionalPositionalLength, named, namedLength, returnTypeText, argumentsText, sep, _s2_ = ", ";
  3795. if (bounds != null) {
  3796. boundsLength = bounds.length;
  3797. if (genericContext == null) {
  3798. genericContext = A._setArrayType([], type$.JSArray_String);
  3799. outerContextLength = null;
  3800. } else
  3801. outerContextLength = genericContext.length;
  3802. offset = genericContext.length;
  3803. for (i = boundsLength; i > 0; --i)
  3804. genericContext.push("T" + (offset + i));
  3805. for (t1 = type$.nullable_Object, t2 = type$.legacy_Object, typeParametersText = "<", typeSep = "", i = 0; i < boundsLength; ++i, typeSep = _s2_) {
  3806. typeParametersText = B.JSString_methods.$add(typeParametersText + typeSep, genericContext[genericContext.length - 1 - i]);
  3807. boundRti = bounds[i];
  3808. kind = boundRti._kind;
  3809. if (!(kind === 2 || kind === 3 || kind === 4 || kind === 5 || boundRti === t1))
  3810. t3 = boundRti === t2;
  3811. else
  3812. t3 = true;
  3813. if (!t3)
  3814. typeParametersText += " extends " + A._rtiToString(boundRti, genericContext);
  3815. }
  3816. typeParametersText += ">";
  3817. } else {
  3818. typeParametersText = "";
  3819. outerContextLength = null;
  3820. }
  3821. t1 = functionType._primary;
  3822. parameters = functionType._rest;
  3823. requiredPositional = parameters._requiredPositional;
  3824. requiredPositionalLength = requiredPositional.length;
  3825. optionalPositional = parameters._optionalPositional;
  3826. optionalPositionalLength = optionalPositional.length;
  3827. named = parameters._named;
  3828. namedLength = named.length;
  3829. returnTypeText = A._rtiToString(t1, genericContext);
  3830. for (argumentsText = "", sep = "", i = 0; i < requiredPositionalLength; ++i, sep = _s2_)
  3831. argumentsText += sep + A._rtiToString(requiredPositional[i], genericContext);
  3832. if (optionalPositionalLength > 0) {
  3833. argumentsText += sep + "[";
  3834. for (sep = "", i = 0; i < optionalPositionalLength; ++i, sep = _s2_)
  3835. argumentsText += sep + A._rtiToString(optionalPositional[i], genericContext);
  3836. argumentsText += "]";
  3837. }
  3838. if (namedLength > 0) {
  3839. argumentsText += sep + "{";
  3840. for (sep = "", i = 0; i < namedLength; i += 3, sep = _s2_) {
  3841. argumentsText += sep;
  3842. if (named[i + 1])
  3843. argumentsText += "required ";
  3844. argumentsText += A._rtiToString(named[i + 2], genericContext) + " " + named[i];
  3845. }
  3846. argumentsText += "}";
  3847. }
  3848. if (outerContextLength != null) {
  3849. genericContext.toString;
  3850. genericContext.length = outerContextLength;
  3851. }
  3852. return typeParametersText + "(" + argumentsText + ") => " + returnTypeText;
  3853. },
  3854. _rtiToString(rti, genericContext) {
  3855. var questionArgument, s, argumentKind, $name, $arguments, t1,
  3856. kind = rti._kind;
  3857. if (kind === 5)
  3858. return "erased";
  3859. if (kind === 2)
  3860. return "dynamic";
  3861. if (kind === 3)
  3862. return "void";
  3863. if (kind === 1)
  3864. return "Never";
  3865. if (kind === 4)
  3866. return "any";
  3867. if (kind === 6)
  3868. return A._rtiToString(rti._primary, genericContext);
  3869. if (kind === 7) {
  3870. questionArgument = rti._primary;
  3871. s = A._rtiToString(questionArgument, genericContext);
  3872. argumentKind = questionArgument._kind;
  3873. return (argumentKind === 12 || argumentKind === 13 ? "(" + s + ")" : s) + "?";
  3874. }
  3875. if (kind === 8)
  3876. return "FutureOr<" + A._rtiToString(rti._primary, genericContext) + ">";
  3877. if (kind === 9) {
  3878. $name = A._unminifyOrTag(rti._primary);
  3879. $arguments = rti._rest;
  3880. return $arguments.length > 0 ? $name + ("<" + A._rtiArrayToString($arguments, genericContext) + ">") : $name;
  3881. }
  3882. if (kind === 11)
  3883. return A._recordRtiToString(rti, genericContext);
  3884. if (kind === 12)
  3885. return A._functionRtiToString(rti, genericContext, null);
  3886. if (kind === 13)
  3887. return A._functionRtiToString(rti._primary, genericContext, rti._rest);
  3888. if (kind === 14) {
  3889. t1 = rti._primary;
  3890. return genericContext[genericContext.length - 1 - t1];
  3891. }
  3892. return "?";
  3893. },
  3894. _unminifyOrTag(rawClassName) {
  3895. var preserved = init.mangledGlobalNames[rawClassName];
  3896. if (preserved != null)
  3897. return preserved;
  3898. return rawClassName;
  3899. },
  3900. _Universe_findRule(universe, targetType) {
  3901. var rule = universe.tR[targetType];
  3902. for (; typeof rule == "string";)
  3903. rule = universe.tR[rule];
  3904. return rule;
  3905. },
  3906. _Universe_findErasedType(universe, cls) {
  3907. var $length, erased, $arguments, i, $interface,
  3908. t1 = universe.eT,
  3909. probe = t1[cls];
  3910. if (probe == null)
  3911. return A._Universe_eval(universe, cls, false);
  3912. else if (typeof probe == "number") {
  3913. $length = probe;
  3914. erased = A._Universe__lookupTerminalRti(universe, 5, "#");
  3915. $arguments = A._Utils_newArrayOrEmpty($length);
  3916. for (i = 0; i < $length; ++i)
  3917. $arguments[i] = erased;
  3918. $interface = A._Universe__lookupInterfaceRti(universe, cls, $arguments);
  3919. t1[cls] = $interface;
  3920. return $interface;
  3921. } else
  3922. return probe;
  3923. },
  3924. _Universe_addRules(universe, rules) {
  3925. return A._Utils_objectAssign(universe.tR, rules);
  3926. },
  3927. _Universe_addErasedTypes(universe, types) {
  3928. return A._Utils_objectAssign(universe.eT, types);
  3929. },
  3930. _Universe_eval(universe, recipe, normalize) {
  3931. var rti,
  3932. t1 = universe.eC,
  3933. probe = t1.get(recipe);
  3934. if (probe != null)
  3935. return probe;
  3936. rti = A._Parser_parse(A._Parser_create(universe, null, recipe, normalize));
  3937. t1.set(recipe, rti);
  3938. return rti;
  3939. },
  3940. _Universe_evalInEnvironment(universe, environment, recipe) {
  3941. var probe, rti,
  3942. cache = environment._evalCache;
  3943. if (cache == null)
  3944. cache = environment._evalCache = new Map();
  3945. probe = cache.get(recipe);
  3946. if (probe != null)
  3947. return probe;
  3948. rti = A._Parser_parse(A._Parser_create(universe, environment, recipe, true));
  3949. cache.set(recipe, rti);
  3950. return rti;
  3951. },
  3952. _Universe_bind(universe, environment, argumentsRti) {
  3953. var argumentsRecipe, probe, rti,
  3954. cache = environment._bindCache;
  3955. if (cache == null)
  3956. cache = environment._bindCache = new Map();
  3957. argumentsRecipe = argumentsRti._canonicalRecipe;
  3958. probe = cache.get(argumentsRecipe);
  3959. if (probe != null)
  3960. return probe;
  3961. rti = A._Universe__lookupBindingRti(universe, environment, argumentsRti._kind === 10 ? argumentsRti._rest : [argumentsRti]);
  3962. cache.set(argumentsRecipe, rti);
  3963. return rti;
  3964. },
  3965. _Universe__installTypeTests(universe, rti) {
  3966. rti._as = A._installSpecializedAsCheck;
  3967. rti._is = A._installSpecializedIsTest;
  3968. return rti;
  3969. },
  3970. _Universe__lookupTerminalRti(universe, kind, key) {
  3971. var rti, t1,
  3972. probe = universe.eC.get(key);
  3973. if (probe != null)
  3974. return probe;
  3975. rti = new A.Rti(null, null);
  3976. rti._kind = kind;
  3977. rti._canonicalRecipe = key;
  3978. t1 = A._Universe__installTypeTests(universe, rti);
  3979. universe.eC.set(key, t1);
  3980. return t1;
  3981. },
  3982. _Universe__lookupStarRti(universe, baseType, normalize) {
  3983. var t1,
  3984. key = baseType._canonicalRecipe + "*",
  3985. probe = universe.eC.get(key);
  3986. if (probe != null)
  3987. return probe;
  3988. t1 = A._Universe__createStarRti(universe, baseType, key, normalize);
  3989. universe.eC.set(key, t1);
  3990. return t1;
  3991. },
  3992. _Universe__createStarRti(universe, baseType, key, normalize) {
  3993. var baseKind, t1, rti;
  3994. if (normalize) {
  3995. baseKind = baseType._kind;
  3996. if (!A.isSoundTopType(baseType))
  3997. t1 = baseType === type$.Null || baseType === type$.JSNull || baseKind === 7 || baseKind === 6;
  3998. else
  3999. t1 = true;
  4000. if (t1)
  4001. return baseType;
  4002. }
  4003. rti = new A.Rti(null, null);
  4004. rti._kind = 6;
  4005. rti._primary = baseType;
  4006. rti._canonicalRecipe = key;
  4007. return A._Universe__installTypeTests(universe, rti);
  4008. },
  4009. _Universe__lookupQuestionRti(universe, baseType, normalize) {
  4010. var t1,
  4011. key = baseType._canonicalRecipe + "?",
  4012. probe = universe.eC.get(key);
  4013. if (probe != null)
  4014. return probe;
  4015. t1 = A._Universe__createQuestionRti(universe, baseType, key, normalize);
  4016. universe.eC.set(key, t1);
  4017. return t1;
  4018. },
  4019. _Universe__createQuestionRti(universe, baseType, key, normalize) {
  4020. var baseKind, t1, starArgument, rti;
  4021. if (normalize) {
  4022. baseKind = baseType._kind;
  4023. if (!A.isSoundTopType(baseType))
  4024. if (!(baseType === type$.Null || baseType === type$.JSNull))
  4025. if (baseKind !== 7)
  4026. t1 = baseKind === 8 && A.isNullable(baseType._primary);
  4027. else
  4028. t1 = true;
  4029. else
  4030. t1 = true;
  4031. else
  4032. t1 = true;
  4033. if (t1)
  4034. return baseType;
  4035. else if (baseKind === 1 || baseType === type$.legacy_Never)
  4036. return type$.Null;
  4037. else if (baseKind === 6) {
  4038. starArgument = baseType._primary;
  4039. if (starArgument._kind === 8 && A.isNullable(starArgument._primary))
  4040. return starArgument;
  4041. else
  4042. return A.Rti__getQuestionFromStar(universe, baseType);
  4043. }
  4044. }
  4045. rti = new A.Rti(null, null);
  4046. rti._kind = 7;
  4047. rti._primary = baseType;
  4048. rti._canonicalRecipe = key;
  4049. return A._Universe__installTypeTests(universe, rti);
  4050. },
  4051. _Universe__lookupFutureOrRti(universe, baseType, normalize) {
  4052. var t1,
  4053. key = baseType._canonicalRecipe + "/",
  4054. probe = universe.eC.get(key);
  4055. if (probe != null)
  4056. return probe;
  4057. t1 = A._Universe__createFutureOrRti(universe, baseType, key, normalize);
  4058. universe.eC.set(key, t1);
  4059. return t1;
  4060. },
  4061. _Universe__createFutureOrRti(universe, baseType, key, normalize) {
  4062. var t1, rti;
  4063. if (normalize) {
  4064. t1 = baseType._kind;
  4065. if (A.isSoundTopType(baseType) || baseType === type$.Object || baseType === type$.legacy_Object)
  4066. return baseType;
  4067. else if (t1 === 1)
  4068. return A._Universe__lookupInterfaceRti(universe, "Future", [baseType]);
  4069. else if (baseType === type$.Null || baseType === type$.JSNull)
  4070. return type$.nullable_Future_Null;
  4071. }
  4072. rti = new A.Rti(null, null);
  4073. rti._kind = 8;
  4074. rti._primary = baseType;
  4075. rti._canonicalRecipe = key;
  4076. return A._Universe__installTypeTests(universe, rti);
  4077. },
  4078. _Universe__lookupGenericFunctionParameterRti(universe, index) {
  4079. var rti, t1,
  4080. key = "" + index + "^",
  4081. probe = universe.eC.get(key);
  4082. if (probe != null)
  4083. return probe;
  4084. rti = new A.Rti(null, null);
  4085. rti._kind = 14;
  4086. rti._primary = index;
  4087. rti._canonicalRecipe = key;
  4088. t1 = A._Universe__installTypeTests(universe, rti);
  4089. universe.eC.set(key, t1);
  4090. return t1;
  4091. },
  4092. _Universe__canonicalRecipeJoin($arguments) {
  4093. var s, sep, i,
  4094. $length = $arguments.length;
  4095. for (s = "", sep = "", i = 0; i < $length; ++i, sep = ",")
  4096. s += sep + $arguments[i]._canonicalRecipe;
  4097. return s;
  4098. },
  4099. _Universe__canonicalRecipeJoinNamed($arguments) {
  4100. var s, sep, i, t1, nameSep,
  4101. $length = $arguments.length;
  4102. for (s = "", sep = "", i = 0; i < $length; i += 3, sep = ",") {
  4103. t1 = $arguments[i];
  4104. nameSep = $arguments[i + 1] ? "!" : ":";
  4105. s += sep + t1 + nameSep + $arguments[i + 2]._canonicalRecipe;
  4106. }
  4107. return s;
  4108. },
  4109. _Universe__lookupInterfaceRti(universe, $name, $arguments) {
  4110. var probe, rti, t1,
  4111. s = $name;
  4112. if ($arguments.length > 0)
  4113. s += "<" + A._Universe__canonicalRecipeJoin($arguments) + ">";
  4114. probe = universe.eC.get(s);
  4115. if (probe != null)
  4116. return probe;
  4117. rti = new A.Rti(null, null);
  4118. rti._kind = 9;
  4119. rti._primary = $name;
  4120. rti._rest = $arguments;
  4121. if ($arguments.length > 0)
  4122. rti._precomputed1 = $arguments[0];
  4123. rti._canonicalRecipe = s;
  4124. t1 = A._Universe__installTypeTests(universe, rti);
  4125. universe.eC.set(s, t1);
  4126. return t1;
  4127. },
  4128. _Universe__lookupBindingRti(universe, base, $arguments) {
  4129. var newBase, newArguments, key, probe, rti, t1;
  4130. if (base._kind === 10) {
  4131. newBase = base._primary;
  4132. newArguments = base._rest.concat($arguments);
  4133. } else {
  4134. newArguments = $arguments;
  4135. newBase = base;
  4136. }
  4137. key = newBase._canonicalRecipe + (";<" + A._Universe__canonicalRecipeJoin(newArguments) + ">");
  4138. probe = universe.eC.get(key);
  4139. if (probe != null)
  4140. return probe;
  4141. rti = new A.Rti(null, null);
  4142. rti._kind = 10;
  4143. rti._primary = newBase;
  4144. rti._rest = newArguments;
  4145. rti._canonicalRecipe = key;
  4146. t1 = A._Universe__installTypeTests(universe, rti);
  4147. universe.eC.set(key, t1);
  4148. return t1;
  4149. },
  4150. _Universe__lookupRecordRti(universe, partialShapeTag, fields) {
  4151. var rti, t1,
  4152. key = "+" + (partialShapeTag + "(" + A._Universe__canonicalRecipeJoin(fields) + ")"),
  4153. probe = universe.eC.get(key);
  4154. if (probe != null)
  4155. return probe;
  4156. rti = new A.Rti(null, null);
  4157. rti._kind = 11;
  4158. rti._primary = partialShapeTag;
  4159. rti._rest = fields;
  4160. rti._canonicalRecipe = key;
  4161. t1 = A._Universe__installTypeTests(universe, rti);
  4162. universe.eC.set(key, t1);
  4163. return t1;
  4164. },
  4165. _Universe__lookupFunctionRti(universe, returnType, parameters) {
  4166. var sep, key, probe, rti, t1,
  4167. s = returnType._canonicalRecipe,
  4168. requiredPositional = parameters._requiredPositional,
  4169. requiredPositionalLength = requiredPositional.length,
  4170. optionalPositional = parameters._optionalPositional,
  4171. optionalPositionalLength = optionalPositional.length,
  4172. named = parameters._named,
  4173. namedLength = named.length,
  4174. recipe = "(" + A._Universe__canonicalRecipeJoin(requiredPositional);
  4175. if (optionalPositionalLength > 0) {
  4176. sep = requiredPositionalLength > 0 ? "," : "";
  4177. recipe += sep + "[" + A._Universe__canonicalRecipeJoin(optionalPositional) + "]";
  4178. }
  4179. if (namedLength > 0) {
  4180. sep = requiredPositionalLength > 0 ? "," : "";
  4181. recipe += sep + "{" + A._Universe__canonicalRecipeJoinNamed(named) + "}";
  4182. }
  4183. key = s + (recipe + ")");
  4184. probe = universe.eC.get(key);
  4185. if (probe != null)
  4186. return probe;
  4187. rti = new A.Rti(null, null);
  4188. rti._kind = 12;
  4189. rti._primary = returnType;
  4190. rti._rest = parameters;
  4191. rti._canonicalRecipe = key;
  4192. t1 = A._Universe__installTypeTests(universe, rti);
  4193. universe.eC.set(key, t1);
  4194. return t1;
  4195. },
  4196. _Universe__lookupGenericFunctionRti(universe, baseFunctionType, bounds, normalize) {
  4197. var t1,
  4198. key = baseFunctionType._canonicalRecipe + ("<" + A._Universe__canonicalRecipeJoin(bounds) + ">"),
  4199. probe = universe.eC.get(key);
  4200. if (probe != null)
  4201. return probe;
  4202. t1 = A._Universe__createGenericFunctionRti(universe, baseFunctionType, bounds, key, normalize);
  4203. universe.eC.set(key, t1);
  4204. return t1;
  4205. },
  4206. _Universe__createGenericFunctionRti(universe, baseFunctionType, bounds, key, normalize) {
  4207. var $length, typeArguments, count, i, bound, substitutedBase, substitutedBounds, rti;
  4208. if (normalize) {
  4209. $length = bounds.length;
  4210. typeArguments = A._Utils_newArrayOrEmpty($length);
  4211. for (count = 0, i = 0; i < $length; ++i) {
  4212. bound = bounds[i];
  4213. if (bound._kind === 1) {
  4214. typeArguments[i] = bound;
  4215. ++count;
  4216. }
  4217. }
  4218. if (count > 0) {
  4219. substitutedBase = A._substitute(universe, baseFunctionType, typeArguments, 0);
  4220. substitutedBounds = A._substituteArray(universe, bounds, typeArguments, 0);
  4221. return A._Universe__lookupGenericFunctionRti(universe, substitutedBase, substitutedBounds, bounds !== substitutedBounds);
  4222. }
  4223. }
  4224. rti = new A.Rti(null, null);
  4225. rti._kind = 13;
  4226. rti._primary = baseFunctionType;
  4227. rti._rest = bounds;
  4228. rti._canonicalRecipe = key;
  4229. return A._Universe__installTypeTests(universe, rti);
  4230. },
  4231. _Parser_create(universe, environment, recipe, normalize) {
  4232. return {u: universe, e: environment, r: recipe, s: [], p: 0, n: normalize};
  4233. },
  4234. _Parser_parse(parser) {
  4235. var t2, i, ch, t3, array, end, item,
  4236. source = parser.r,
  4237. t1 = parser.s;
  4238. for (t2 = source.length, i = 0; i < t2;) {
  4239. ch = source.charCodeAt(i);
  4240. if (ch >= 48 && ch <= 57)
  4241. i = A._Parser_handleDigit(i + 1, ch, source, t1);
  4242. else if ((((ch | 32) >>> 0) - 97 & 65535) < 26 || ch === 95 || ch === 36 || ch === 124)
  4243. i = A._Parser_handleIdentifier(parser, i, source, t1, false);
  4244. else if (ch === 46)
  4245. i = A._Parser_handleIdentifier(parser, i, source, t1, true);
  4246. else {
  4247. ++i;
  4248. switch (ch) {
  4249. case 44:
  4250. break;
  4251. case 58:
  4252. t1.push(false);
  4253. break;
  4254. case 33:
  4255. t1.push(true);
  4256. break;
  4257. case 59:
  4258. t1.push(A._Parser_toType(parser.u, parser.e, t1.pop()));
  4259. break;
  4260. case 94:
  4261. t1.push(A._Universe__lookupGenericFunctionParameterRti(parser.u, t1.pop()));
  4262. break;
  4263. case 35:
  4264. t1.push(A._Universe__lookupTerminalRti(parser.u, 5, "#"));
  4265. break;
  4266. case 64:
  4267. t1.push(A._Universe__lookupTerminalRti(parser.u, 2, "@"));
  4268. break;
  4269. case 126:
  4270. t1.push(A._Universe__lookupTerminalRti(parser.u, 3, "~"));
  4271. break;
  4272. case 60:
  4273. t1.push(parser.p);
  4274. parser.p = t1.length;
  4275. break;
  4276. case 62:
  4277. A._Parser_handleTypeArguments(parser, t1);
  4278. break;
  4279. case 38:
  4280. A._Parser_handleExtendedOperations(parser, t1);
  4281. break;
  4282. case 42:
  4283. t3 = parser.u;
  4284. t1.push(A._Universe__lookupStarRti(t3, A._Parser_toType(t3, parser.e, t1.pop()), parser.n));
  4285. break;
  4286. case 63:
  4287. t3 = parser.u;
  4288. t1.push(A._Universe__lookupQuestionRti(t3, A._Parser_toType(t3, parser.e, t1.pop()), parser.n));
  4289. break;
  4290. case 47:
  4291. t3 = parser.u;
  4292. t1.push(A._Universe__lookupFutureOrRti(t3, A._Parser_toType(t3, parser.e, t1.pop()), parser.n));
  4293. break;
  4294. case 40:
  4295. t1.push(-3);
  4296. t1.push(parser.p);
  4297. parser.p = t1.length;
  4298. break;
  4299. case 41:
  4300. A._Parser_handleArguments(parser, t1);
  4301. break;
  4302. case 91:
  4303. t1.push(parser.p);
  4304. parser.p = t1.length;
  4305. break;
  4306. case 93:
  4307. array = t1.splice(parser.p);
  4308. A._Parser_toTypes(parser.u, parser.e, array);
  4309. parser.p = t1.pop();
  4310. t1.push(array);
  4311. t1.push(-1);
  4312. break;
  4313. case 123:
  4314. t1.push(parser.p);
  4315. parser.p = t1.length;
  4316. break;
  4317. case 125:
  4318. array = t1.splice(parser.p);
  4319. A._Parser_toTypesNamed(parser.u, parser.e, array);
  4320. parser.p = t1.pop();
  4321. t1.push(array);
  4322. t1.push(-2);
  4323. break;
  4324. case 43:
  4325. end = source.indexOf("(", i);
  4326. t1.push(source.substring(i, end));
  4327. t1.push(-4);
  4328. t1.push(parser.p);
  4329. parser.p = t1.length;
  4330. i = end + 1;
  4331. break;
  4332. default:
  4333. throw "Bad character " + ch;
  4334. }
  4335. }
  4336. }
  4337. item = t1.pop();
  4338. return A._Parser_toType(parser.u, parser.e, item);
  4339. },
  4340. _Parser_handleDigit(i, digit, source, stack) {
  4341. var t1, ch,
  4342. value = digit - 48;
  4343. for (t1 = source.length; i < t1; ++i) {
  4344. ch = source.charCodeAt(i);
  4345. if (!(ch >= 48 && ch <= 57))
  4346. break;
  4347. value = value * 10 + (ch - 48);
  4348. }
  4349. stack.push(value);
  4350. return i;
  4351. },
  4352. _Parser_handleIdentifier(parser, start, source, stack, hasPeriod) {
  4353. var t1, ch, t2, string, environment, recipe,
  4354. i = start + 1;
  4355. for (t1 = source.length; i < t1; ++i) {
  4356. ch = source.charCodeAt(i);
  4357. if (ch === 46) {
  4358. if (hasPeriod)
  4359. break;
  4360. hasPeriod = true;
  4361. } else {
  4362. if (!((((ch | 32) >>> 0) - 97 & 65535) < 26 || ch === 95 || ch === 36 || ch === 124))
  4363. t2 = ch >= 48 && ch <= 57;
  4364. else
  4365. t2 = true;
  4366. if (!t2)
  4367. break;
  4368. }
  4369. }
  4370. string = source.substring(start, i);
  4371. if (hasPeriod) {
  4372. t1 = parser.u;
  4373. environment = parser.e;
  4374. if (environment._kind === 10)
  4375. environment = environment._primary;
  4376. recipe = A._Universe_findRule(t1, environment._primary)[string];
  4377. if (recipe == null)
  4378. A.throwExpression('No "' + string + '" in "' + A.Rti__getCanonicalRecipe(environment) + '"');
  4379. stack.push(A._Universe_evalInEnvironment(t1, environment, recipe));
  4380. } else
  4381. stack.push(string);
  4382. return i;
  4383. },
  4384. _Parser_handleTypeArguments(parser, stack) {
  4385. var base,
  4386. t1 = parser.u,
  4387. $arguments = A._Parser_collectArray(parser, stack),
  4388. head = stack.pop();
  4389. if (typeof head == "string")
  4390. stack.push(A._Universe__lookupInterfaceRti(t1, head, $arguments));
  4391. else {
  4392. base = A._Parser_toType(t1, parser.e, head);
  4393. switch (base._kind) {
  4394. case 12:
  4395. stack.push(A._Universe__lookupGenericFunctionRti(t1, base, $arguments, parser.n));
  4396. break;
  4397. default:
  4398. stack.push(A._Universe__lookupBindingRti(t1, base, $arguments));
  4399. break;
  4400. }
  4401. }
  4402. },
  4403. _Parser_handleArguments(parser, stack) {
  4404. var optionalPositional, named, requiredPositional, returnType, parameters, _null = null,
  4405. t1 = parser.u,
  4406. head = stack.pop();
  4407. if (typeof head == "number")
  4408. switch (head) {
  4409. case -1:
  4410. optionalPositional = stack.pop();
  4411. named = _null;
  4412. break;
  4413. case -2:
  4414. named = stack.pop();
  4415. optionalPositional = _null;
  4416. break;
  4417. default:
  4418. stack.push(head);
  4419. named = _null;
  4420. optionalPositional = named;
  4421. break;
  4422. }
  4423. else {
  4424. stack.push(head);
  4425. named = _null;
  4426. optionalPositional = named;
  4427. }
  4428. requiredPositional = A._Parser_collectArray(parser, stack);
  4429. head = stack.pop();
  4430. switch (head) {
  4431. case -3:
  4432. head = stack.pop();
  4433. if (optionalPositional == null)
  4434. optionalPositional = t1.sEA;
  4435. if (named == null)
  4436. named = t1.sEA;
  4437. returnType = A._Parser_toType(t1, parser.e, head);
  4438. parameters = new A._FunctionParameters();
  4439. parameters._requiredPositional = requiredPositional;
  4440. parameters._optionalPositional = optionalPositional;
  4441. parameters._named = named;
  4442. stack.push(A._Universe__lookupFunctionRti(t1, returnType, parameters));
  4443. return;
  4444. case -4:
  4445. stack.push(A._Universe__lookupRecordRti(t1, stack.pop(), requiredPositional));
  4446. return;
  4447. default:
  4448. throw A.wrapException(A.AssertionError$("Unexpected state under `()`: " + A.S(head)));
  4449. }
  4450. },
  4451. _Parser_handleExtendedOperations(parser, stack) {
  4452. var $top = stack.pop();
  4453. if (0 === $top) {
  4454. stack.push(A._Universe__lookupTerminalRti(parser.u, 1, "0&"));
  4455. return;
  4456. }
  4457. if (1 === $top) {
  4458. stack.push(A._Universe__lookupTerminalRti(parser.u, 4, "1&"));
  4459. return;
  4460. }
  4461. throw A.wrapException(A.AssertionError$("Unexpected extended operation " + A.S($top)));
  4462. },
  4463. _Parser_collectArray(parser, stack) {
  4464. var array = stack.splice(parser.p);
  4465. A._Parser_toTypes(parser.u, parser.e, array);
  4466. parser.p = stack.pop();
  4467. return array;
  4468. },
  4469. _Parser_toType(universe, environment, item) {
  4470. if (typeof item == "string")
  4471. return A._Universe__lookupInterfaceRti(universe, item, universe.sEA);
  4472. else if (typeof item == "number") {
  4473. environment.toString;
  4474. return A._Parser_indexToType(universe, environment, item);
  4475. } else
  4476. return item;
  4477. },
  4478. _Parser_toTypes(universe, environment, items) {
  4479. var i,
  4480. $length = items.length;
  4481. for (i = 0; i < $length; ++i)
  4482. items[i] = A._Parser_toType(universe, environment, items[i]);
  4483. },
  4484. _Parser_toTypesNamed(universe, environment, items) {
  4485. var i,
  4486. $length = items.length;
  4487. for (i = 2; i < $length; i += 3)
  4488. items[i] = A._Parser_toType(universe, environment, items[i]);
  4489. },
  4490. _Parser_indexToType(universe, environment, index) {
  4491. var typeArguments, len,
  4492. kind = environment._kind;
  4493. if (kind === 10) {
  4494. if (index === 0)
  4495. return environment._primary;
  4496. typeArguments = environment._rest;
  4497. len = typeArguments.length;
  4498. if (index <= len)
  4499. return typeArguments[index - 1];
  4500. index -= len;
  4501. environment = environment._primary;
  4502. kind = environment._kind;
  4503. } else if (index === 0)
  4504. return environment;
  4505. if (kind !== 9)
  4506. throw A.wrapException(A.AssertionError$("Indexed base must be an interface type"));
  4507. typeArguments = environment._rest;
  4508. if (index <= typeArguments.length)
  4509. return typeArguments[index - 1];
  4510. throw A.wrapException(A.AssertionError$("Bad index " + index + " for " + environment.toString$0(0)));
  4511. },
  4512. isSubtype(universe, s, t) {
  4513. var result,
  4514. sCache = s._isSubtypeCache;
  4515. if (sCache == null)
  4516. sCache = s._isSubtypeCache = new Map();
  4517. result = sCache.get(t);
  4518. if (result == null) {
  4519. result = A._isSubtype(universe, s, null, t, null, false) ? 1 : 0;
  4520. sCache.set(t, result);
  4521. }
  4522. if (0 === result)
  4523. return false;
  4524. if (1 === result)
  4525. return true;
  4526. return true;
  4527. },
  4528. _isSubtype(universe, s, sEnv, t, tEnv, isLegacy) {
  4529. var t1, sKind, leftTypeVariable, tKind, t2, sBounds, tBounds, sLength, i, sBound, tBound;
  4530. if (s === t)
  4531. return true;
  4532. if (!A.isSoundTopType(t))
  4533. t1 = t === type$.legacy_Object;
  4534. else
  4535. t1 = true;
  4536. if (t1)
  4537. return true;
  4538. sKind = s._kind;
  4539. if (sKind === 4)
  4540. return true;
  4541. if (A.isSoundTopType(s))
  4542. return false;
  4543. t1 = s._kind;
  4544. if (t1 === 1)
  4545. return true;
  4546. leftTypeVariable = sKind === 14;
  4547. if (leftTypeVariable)
  4548. if (A._isSubtype(universe, sEnv[s._primary], sEnv, t, tEnv, false))
  4549. return true;
  4550. tKind = t._kind;
  4551. t1 = s === type$.Null || s === type$.JSNull;
  4552. if (t1) {
  4553. if (tKind === 8)
  4554. return A._isSubtype(universe, s, sEnv, t._primary, tEnv, false);
  4555. return t === type$.Null || t === type$.JSNull || tKind === 7 || tKind === 6;
  4556. }
  4557. if (t === type$.Object) {
  4558. if (sKind === 8)
  4559. return A._isSubtype(universe, s._primary, sEnv, t, tEnv, false);
  4560. if (sKind === 6)
  4561. return A._isSubtype(universe, s._primary, sEnv, t, tEnv, false);
  4562. return sKind !== 7;
  4563. }
  4564. if (sKind === 6)
  4565. return A._isSubtype(universe, s._primary, sEnv, t, tEnv, false);
  4566. if (tKind === 6) {
  4567. t1 = A.Rti__getQuestionFromStar(universe, t);
  4568. return A._isSubtype(universe, s, sEnv, t1, tEnv, false);
  4569. }
  4570. if (sKind === 8) {
  4571. if (!A._isSubtype(universe, s._primary, sEnv, t, tEnv, false))
  4572. return false;
  4573. return A._isSubtype(universe, A.Rti__getFutureFromFutureOr(universe, s), sEnv, t, tEnv, false);
  4574. }
  4575. if (sKind === 7) {
  4576. t1 = A._isSubtype(universe, type$.Null, sEnv, t, tEnv, false);
  4577. return t1 && A._isSubtype(universe, s._primary, sEnv, t, tEnv, false);
  4578. }
  4579. if (tKind === 8) {
  4580. if (A._isSubtype(universe, s, sEnv, t._primary, tEnv, false))
  4581. return true;
  4582. return A._isSubtype(universe, s, sEnv, A.Rti__getFutureFromFutureOr(universe, t), tEnv, false);
  4583. }
  4584. if (tKind === 7) {
  4585. t1 = A._isSubtype(universe, s, sEnv, type$.Null, tEnv, false);
  4586. return t1 || A._isSubtype(universe, s, sEnv, t._primary, tEnv, false);
  4587. }
  4588. if (leftTypeVariable)
  4589. return false;
  4590. t1 = sKind !== 12;
  4591. if ((!t1 || sKind === 13) && t === type$.Function)
  4592. return true;
  4593. t2 = sKind === 11;
  4594. if (t2 && t === type$.Record)
  4595. return true;
  4596. if (tKind === 13) {
  4597. if (s === type$.JavaScriptFunction)
  4598. return true;
  4599. if (sKind !== 13)
  4600. return false;
  4601. sBounds = s._rest;
  4602. tBounds = t._rest;
  4603. sLength = sBounds.length;
  4604. if (sLength !== tBounds.length)
  4605. return false;
  4606. sEnv = sEnv == null ? sBounds : sBounds.concat(sEnv);
  4607. tEnv = tEnv == null ? tBounds : tBounds.concat(tEnv);
  4608. for (i = 0; i < sLength; ++i) {
  4609. sBound = sBounds[i];
  4610. tBound = tBounds[i];
  4611. if (!A._isSubtype(universe, sBound, sEnv, tBound, tEnv, false) || !A._isSubtype(universe, tBound, tEnv, sBound, sEnv, false))
  4612. return false;
  4613. }
  4614. return A._isFunctionSubtype(universe, s._primary, sEnv, t._primary, tEnv, false);
  4615. }
  4616. if (tKind === 12) {
  4617. if (s === type$.JavaScriptFunction)
  4618. return true;
  4619. if (t1)
  4620. return false;
  4621. return A._isFunctionSubtype(universe, s, sEnv, t, tEnv, false);
  4622. }
  4623. if (sKind === 9) {
  4624. if (tKind !== 9)
  4625. return false;
  4626. return A._isInterfaceSubtype(universe, s, sEnv, t, tEnv, false);
  4627. }
  4628. if (t2 && tKind === 11)
  4629. return A._isRecordSubtype(universe, s, sEnv, t, tEnv, false);
  4630. return false;
  4631. },
  4632. _isFunctionSubtype(universe, s, sEnv, t, tEnv, isLegacy) {
  4633. var sParameters, tParameters, sRequiredPositional, tRequiredPositional, sRequiredPositionalLength, tRequiredPositionalLength, requiredPositionalDelta, sOptionalPositional, tOptionalPositional, sOptionalPositionalLength, tOptionalPositionalLength, i, t1, sNamed, tNamed, sNamedLength, tNamedLength, sIndex, tIndex, tName, sName, sIsRequired;
  4634. if (!A._isSubtype(universe, s._primary, sEnv, t._primary, tEnv, false))
  4635. return false;
  4636. sParameters = s._rest;
  4637. tParameters = t._rest;
  4638. sRequiredPositional = sParameters._requiredPositional;
  4639. tRequiredPositional = tParameters._requiredPositional;
  4640. sRequiredPositionalLength = sRequiredPositional.length;
  4641. tRequiredPositionalLength = tRequiredPositional.length;
  4642. if (sRequiredPositionalLength > tRequiredPositionalLength)
  4643. return false;
  4644. requiredPositionalDelta = tRequiredPositionalLength - sRequiredPositionalLength;
  4645. sOptionalPositional = sParameters._optionalPositional;
  4646. tOptionalPositional = tParameters._optionalPositional;
  4647. sOptionalPositionalLength = sOptionalPositional.length;
  4648. tOptionalPositionalLength = tOptionalPositional.length;
  4649. if (sRequiredPositionalLength + sOptionalPositionalLength < tRequiredPositionalLength + tOptionalPositionalLength)
  4650. return false;
  4651. for (i = 0; i < sRequiredPositionalLength; ++i) {
  4652. t1 = sRequiredPositional[i];
  4653. if (!A._isSubtype(universe, tRequiredPositional[i], tEnv, t1, sEnv, false))
  4654. return false;
  4655. }
  4656. for (i = 0; i < requiredPositionalDelta; ++i) {
  4657. t1 = sOptionalPositional[i];
  4658. if (!A._isSubtype(universe, tRequiredPositional[sRequiredPositionalLength + i], tEnv, t1, sEnv, false))
  4659. return false;
  4660. }
  4661. for (i = 0; i < tOptionalPositionalLength; ++i) {
  4662. t1 = sOptionalPositional[requiredPositionalDelta + i];
  4663. if (!A._isSubtype(universe, tOptionalPositional[i], tEnv, t1, sEnv, false))
  4664. return false;
  4665. }
  4666. sNamed = sParameters._named;
  4667. tNamed = tParameters._named;
  4668. sNamedLength = sNamed.length;
  4669. tNamedLength = tNamed.length;
  4670. for (sIndex = 0, tIndex = 0; tIndex < tNamedLength; tIndex += 3) {
  4671. tName = tNamed[tIndex];
  4672. for (; true;) {
  4673. if (sIndex >= sNamedLength)
  4674. return false;
  4675. sName = sNamed[sIndex];
  4676. sIndex += 3;
  4677. if (tName < sName)
  4678. return false;
  4679. sIsRequired = sNamed[sIndex - 2];
  4680. if (sName < tName) {
  4681. if (sIsRequired)
  4682. return false;
  4683. continue;
  4684. }
  4685. t1 = tNamed[tIndex + 1];
  4686. if (sIsRequired && !t1)
  4687. return false;
  4688. t1 = sNamed[sIndex - 1];
  4689. if (!A._isSubtype(universe, tNamed[tIndex + 2], tEnv, t1, sEnv, false))
  4690. return false;
  4691. break;
  4692. }
  4693. }
  4694. for (; sIndex < sNamedLength;) {
  4695. if (sNamed[sIndex + 1])
  4696. return false;
  4697. sIndex += 3;
  4698. }
  4699. return true;
  4700. },
  4701. _isInterfaceSubtype(universe, s, sEnv, t, tEnv, isLegacy) {
  4702. var rule, recipes, $length, supertypeArgs, i,
  4703. sName = s._primary,
  4704. tName = t._primary;
  4705. for (; sName !== tName;) {
  4706. rule = universe.tR[sName];
  4707. if (rule == null)
  4708. return false;
  4709. if (typeof rule == "string") {
  4710. sName = rule;
  4711. continue;
  4712. }
  4713. recipes = rule[tName];
  4714. if (recipes == null)
  4715. return false;
  4716. $length = recipes.length;
  4717. supertypeArgs = $length > 0 ? new Array($length) : init.typeUniverse.sEA;
  4718. for (i = 0; i < $length; ++i)
  4719. supertypeArgs[i] = A._Universe_evalInEnvironment(universe, s, recipes[i]);
  4720. return A._areArgumentsSubtypes(universe, supertypeArgs, null, sEnv, t._rest, tEnv, false);
  4721. }
  4722. return A._areArgumentsSubtypes(universe, s._rest, null, sEnv, t._rest, tEnv, false);
  4723. },
  4724. _areArgumentsSubtypes(universe, sArgs, sVariances, sEnv, tArgs, tEnv, isLegacy) {
  4725. var i,
  4726. $length = sArgs.length;
  4727. for (i = 0; i < $length; ++i)
  4728. if (!A._isSubtype(universe, sArgs[i], sEnv, tArgs[i], tEnv, false))
  4729. return false;
  4730. return true;
  4731. },
  4732. _isRecordSubtype(universe, s, sEnv, t, tEnv, isLegacy) {
  4733. var i,
  4734. sFields = s._rest,
  4735. tFields = t._rest,
  4736. sCount = sFields.length;
  4737. if (sCount !== tFields.length)
  4738. return false;
  4739. if (s._primary !== t._primary)
  4740. return false;
  4741. for (i = 0; i < sCount; ++i)
  4742. if (!A._isSubtype(universe, sFields[i], sEnv, tFields[i], tEnv, false))
  4743. return false;
  4744. return true;
  4745. },
  4746. isNullable(t) {
  4747. var t1,
  4748. kind = t._kind;
  4749. if (!(t === type$.Null || t === type$.JSNull))
  4750. if (!A.isSoundTopType(t))
  4751. if (kind !== 7)
  4752. if (!(kind === 6 && A.isNullable(t._primary)))
  4753. t1 = kind === 8 && A.isNullable(t._primary);
  4754. else
  4755. t1 = true;
  4756. else
  4757. t1 = true;
  4758. else
  4759. t1 = true;
  4760. else
  4761. t1 = true;
  4762. return t1;
  4763. },
  4764. isDefinitelyTopType(t) {
  4765. var t1;
  4766. if (!A.isSoundTopType(t))
  4767. t1 = t === type$.legacy_Object;
  4768. else
  4769. t1 = true;
  4770. return t1;
  4771. },
  4772. isSoundTopType(t) {
  4773. var kind = t._kind;
  4774. return kind === 2 || kind === 3 || kind === 4 || kind === 5 || t === type$.nullable_Object;
  4775. },
  4776. _Utils_objectAssign(o, other) {
  4777. var i, key,
  4778. keys = Object.keys(other),
  4779. $length = keys.length;
  4780. for (i = 0; i < $length; ++i) {
  4781. key = keys[i];
  4782. o[key] = other[key];
  4783. }
  4784. },
  4785. _Utils_newArrayOrEmpty($length) {
  4786. return $length > 0 ? new Array($length) : init.typeUniverse.sEA;
  4787. },
  4788. Rti: function Rti(t0, t1) {
  4789. var _ = this;
  4790. _._as = t0;
  4791. _._is = t1;
  4792. _._cachedRuntimeType = _._specializedTestResource = _._isSubtypeCache = _._precomputed1 = null;
  4793. _._kind = 0;
  4794. _._canonicalRecipe = _._bindCache = _._evalCache = _._rest = _._primary = null;
  4795. },
  4796. _FunctionParameters: function _FunctionParameters() {
  4797. this._named = this._optionalPositional = this._requiredPositional = null;
  4798. },
  4799. _Type: function _Type(t0) {
  4800. this._rti = t0;
  4801. },
  4802. _Error: function _Error() {
  4803. },
  4804. _TypeError: function _TypeError(t0) {
  4805. this.__rti$_message = t0;
  4806. },
  4807. _AsyncRun__initializeScheduleImmediate() {
  4808. var div, span, t1 = {};
  4809. if (self.scheduleImmediate != null)
  4810. return A.async__AsyncRun__scheduleImmediateJsOverride$closure();
  4811. if (self.MutationObserver != null && self.document != null) {
  4812. div = self.document.createElement("div");
  4813. span = self.document.createElement("span");
  4814. t1.storedCallback = null;
  4815. new self.MutationObserver(A.convertDartClosureToJS(new A._AsyncRun__initializeScheduleImmediate_internalCallback(t1), 1)).observe(div, {childList: true});
  4816. return new A._AsyncRun__initializeScheduleImmediate_closure(t1, div, span);
  4817. } else if (self.setImmediate != null)
  4818. return A.async__AsyncRun__scheduleImmediateWithSetImmediate$closure();
  4819. return A.async__AsyncRun__scheduleImmediateWithTimer$closure();
  4820. },
  4821. _AsyncRun__scheduleImmediateJsOverride(callback) {
  4822. self.scheduleImmediate(A.convertDartClosureToJS(new A._AsyncRun__scheduleImmediateJsOverride_internalCallback(callback), 0));
  4823. },
  4824. _AsyncRun__scheduleImmediateWithSetImmediate(callback) {
  4825. self.setImmediate(A.convertDartClosureToJS(new A._AsyncRun__scheduleImmediateWithSetImmediate_internalCallback(callback), 0));
  4826. },
  4827. _AsyncRun__scheduleImmediateWithTimer(callback) {
  4828. A.Timer__createTimer(B.Duration_0, callback);
  4829. },
  4830. Timer__createTimer(duration, callback) {
  4831. var milliseconds = B.JSInt_methods._tdivFast$1(duration._duration, 1000);
  4832. return A._TimerImpl$(milliseconds < 0 ? 0 : milliseconds, callback);
  4833. },
  4834. _TimerImpl$(milliseconds, callback) {
  4835. var t1 = new A._TimerImpl(true);
  4836. t1._TimerImpl$2(milliseconds, callback);
  4837. return t1;
  4838. },
  4839. _TimerImpl$periodic(milliseconds, callback) {
  4840. var t1 = new A._TimerImpl(false);
  4841. t1._TimerImpl$periodic$2(milliseconds, callback);
  4842. return t1;
  4843. },
  4844. _makeAsyncAwaitCompleter($T) {
  4845. return new A._AsyncAwaitCompleter(new A._Future($.Zone__current, $T._eval$1("_Future<0>")), $T._eval$1("_AsyncAwaitCompleter<0>"));
  4846. },
  4847. _asyncStartSync(bodyFunction, completer) {
  4848. bodyFunction.call$2(0, null);
  4849. completer.isSync = true;
  4850. return completer._future;
  4851. },
  4852. _asyncAwait(object, bodyFunction) {
  4853. A._awaitOnObject(object, bodyFunction);
  4854. },
  4855. _asyncReturn(object, completer) {
  4856. completer.complete$1(object);
  4857. },
  4858. _asyncRethrow(object, completer) {
  4859. completer.completeError$2(A.unwrapException(object), A.getTraceFromException(object));
  4860. },
  4861. _awaitOnObject(object, bodyFunction) {
  4862. var t1, future,
  4863. thenCallback = new A._awaitOnObject_closure(bodyFunction),
  4864. errorCallback = new A._awaitOnObject_closure0(bodyFunction);
  4865. if (object instanceof A._Future)
  4866. object._thenAwait$1$2(thenCallback, errorCallback, type$.dynamic);
  4867. else {
  4868. t1 = type$.dynamic;
  4869. if (object instanceof A._Future)
  4870. object.then$1$2$onError(0, thenCallback, errorCallback, t1);
  4871. else {
  4872. future = new A._Future($.Zone__current, type$._Future_dynamic);
  4873. future._state = 8;
  4874. future._resultOrListeners = object;
  4875. future._thenAwait$1$2(thenCallback, errorCallback, t1);
  4876. }
  4877. }
  4878. },
  4879. _wrapJsFunctionForAsync($function) {
  4880. var $protected = function(fn, ERROR) {
  4881. return function(errorCode, result) {
  4882. while (true) {
  4883. try {
  4884. fn(errorCode, result);
  4885. break;
  4886. } catch (error) {
  4887. result = error;
  4888. errorCode = ERROR;
  4889. }
  4890. }
  4891. };
  4892. }($function, 1);
  4893. return $.Zone__current.registerBinaryCallback$3$1(new A._wrapJsFunctionForAsync_closure($protected), type$.void, type$.int, type$.dynamic);
  4894. },
  4895. _SyncStarIterator__terminatedBody(_1, _2, _3) {
  4896. return 0;
  4897. },
  4898. AsyncError$(error, stackTrace) {
  4899. var t1 = A.checkNotNullable(error, "error", type$.Object);
  4900. return new A.AsyncError(t1, stackTrace == null ? A.AsyncError_defaultStackTrace(error) : stackTrace);
  4901. },
  4902. AsyncError_defaultStackTrace(error) {
  4903. var stackTrace;
  4904. if (type$.Error._is(error)) {
  4905. stackTrace = error.get$stackTrace();
  4906. if (stackTrace != null)
  4907. return stackTrace;
  4908. }
  4909. return B._StringStackTrace_uwd;
  4910. },
  4911. Future_Future$value(value, $T) {
  4912. var t1;
  4913. $T._as(value);
  4914. t1 = new A._Future($.Zone__current, $T._eval$1("_Future<0>"));
  4915. t1._asyncComplete$1(value);
  4916. return t1;
  4917. },
  4918. Future_Future$error(error, stackTrace, $T) {
  4919. var t1, replacement;
  4920. A.checkNotNullable(error, "error", type$.Object);
  4921. t1 = $.Zone__current;
  4922. if (t1 !== B.C__RootZone) {
  4923. replacement = t1.errorCallback$2(error, stackTrace);
  4924. if (replacement != null) {
  4925. error = replacement.error;
  4926. stackTrace = replacement.stackTrace;
  4927. }
  4928. }
  4929. if (stackTrace == null)
  4930. stackTrace = A.AsyncError_defaultStackTrace(error);
  4931. t1 = new A._Future($.Zone__current, $T._eval$1("_Future<0>"));
  4932. t1._asyncCompleteError$2(error, stackTrace);
  4933. return t1;
  4934. },
  4935. Future_wait(futures, eagerError, $T) {
  4936. var handleError, future, pos, e, st, t1, t2, exception, _box_0 = {}, cleanUp = null,
  4937. _future = new A._Future($.Zone__current, $T._eval$1("_Future<List<0>>"));
  4938. _box_0.values = null;
  4939. _box_0.remaining = 0;
  4940. _box_0.stackTrace = _box_0.error = null;
  4941. handleError = new A.Future_wait_handleError(_box_0, cleanUp, eagerError, _future);
  4942. try {
  4943. for (t1 = J.get$iterator$ax(futures), t2 = type$.Null; t1.moveNext$0();) {
  4944. future = t1.get$current(t1);
  4945. pos = _box_0.remaining;
  4946. J.then$1$2$onError$x(future, new A.Future_wait_closure(_box_0, pos, _future, $T, cleanUp, eagerError), handleError, t2);
  4947. ++_box_0.remaining;
  4948. }
  4949. t1 = _box_0.remaining;
  4950. if (t1 === 0) {
  4951. t1 = _future;
  4952. t1._completeWithValue$1(A._setArrayType([], $T._eval$1("JSArray<0>")));
  4953. return t1;
  4954. }
  4955. _box_0.values = A.List_List$filled(t1, null, false, $T._eval$1("0?"));
  4956. } catch (exception) {
  4957. e = A.unwrapException(exception);
  4958. st = A.getTraceFromException(exception);
  4959. if (_box_0.remaining === 0 || eagerError)
  4960. return A.Future_Future$error(e, st, $T._eval$1("List<0>"));
  4961. else {
  4962. _box_0.error = e;
  4963. _box_0.stackTrace = st;
  4964. }
  4965. }
  4966. return _future;
  4967. },
  4968. _Future$zoneValue(value, _zone, $T) {
  4969. var t1 = new A._Future(_zone, $T._eval$1("_Future<0>"));
  4970. t1._state = 8;
  4971. t1._resultOrListeners = value;
  4972. return t1;
  4973. },
  4974. _Future$value(value, $T) {
  4975. var t1 = new A._Future($.Zone__current, $T._eval$1("_Future<0>"));
  4976. t1._state = 8;
  4977. t1._resultOrListeners = value;
  4978. return t1;
  4979. },
  4980. _Future__chainCoreFutureSync(source, target) {
  4981. var t1, listeners;
  4982. for (; t1 = source._state, (t1 & 4) !== 0;)
  4983. source = source._resultOrListeners;
  4984. t1 |= target._state & 1;
  4985. source._state = t1;
  4986. if ((t1 & 24) !== 0) {
  4987. listeners = target._removeListeners$0();
  4988. target._cloneResult$1(source);
  4989. A._Future__propagateToListeners(target, listeners);
  4990. } else {
  4991. listeners = target._resultOrListeners;
  4992. target._setChained$1(source);
  4993. source._prependListeners$1(listeners);
  4994. }
  4995. },
  4996. _Future__chainCoreFutureAsync(source, target) {
  4997. var t2, listeners, _box_0 = {},
  4998. t1 = _box_0.source = source;
  4999. for (; t2 = t1._state, (t2 & 4) !== 0;) {
  5000. t1 = t1._resultOrListeners;
  5001. _box_0.source = t1;
  5002. }
  5003. if ((t2 & 24) === 0) {
  5004. listeners = target._resultOrListeners;
  5005. target._setChained$1(t1);
  5006. _box_0.source._prependListeners$1(listeners);
  5007. return;
  5008. }
  5009. if ((t2 & 16) === 0 && target._resultOrListeners == null) {
  5010. target._cloneResult$1(t1);
  5011. return;
  5012. }
  5013. target._state ^= 2;
  5014. target._zone.scheduleMicrotask$1(new A._Future__chainCoreFutureAsync_closure(_box_0, target));
  5015. },
  5016. _Future__propagateToListeners(source, listeners) {
  5017. var _box_0, t2, t3, hasError, nextListener, nextListener0, sourceResult, t4, zone, oldZone, result, current, _box_1 = {},
  5018. t1 = _box_1.source = source;
  5019. for (; true;) {
  5020. _box_0 = {};
  5021. t2 = t1._state;
  5022. t3 = (t2 & 16) === 0;
  5023. hasError = !t3;
  5024. if (listeners == null) {
  5025. if (hasError && (t2 & 1) === 0) {
  5026. t2 = t1._resultOrListeners;
  5027. t1._zone.handleUncaughtError$2(t2.error, t2.stackTrace);
  5028. }
  5029. return;
  5030. }
  5031. _box_0.listener = listeners;
  5032. nextListener = listeners._nextListener;
  5033. for (t1 = listeners; nextListener != null; t1 = nextListener, nextListener = nextListener0) {
  5034. t1._nextListener = null;
  5035. A._Future__propagateToListeners(_box_1.source, t1);
  5036. _box_0.listener = nextListener;
  5037. nextListener0 = nextListener._nextListener;
  5038. }
  5039. t2 = _box_1.source;
  5040. sourceResult = t2._resultOrListeners;
  5041. _box_0.listenerHasError = hasError;
  5042. _box_0.listenerValueOrError = sourceResult;
  5043. if (t3) {
  5044. t4 = t1.state;
  5045. t4 = (t4 & 1) !== 0 || (t4 & 15) === 8;
  5046. } else
  5047. t4 = true;
  5048. if (t4) {
  5049. zone = t1.result._zone;
  5050. if (hasError) {
  5051. t1 = t2._zone;
  5052. t1 = !(t1 === zone || t1.get$errorZone() === zone.get$errorZone());
  5053. } else
  5054. t1 = false;
  5055. if (t1) {
  5056. t1 = _box_1.source;
  5057. t2 = t1._resultOrListeners;
  5058. t1._zone.handleUncaughtError$2(t2.error, t2.stackTrace);
  5059. return;
  5060. }
  5061. oldZone = $.Zone__current;
  5062. if (oldZone !== zone)
  5063. $.Zone__current = zone;
  5064. else
  5065. oldZone = null;
  5066. t1 = _box_0.listener.state;
  5067. if ((t1 & 15) === 8)
  5068. new A._Future__propagateToListeners_handleWhenCompleteCallback(_box_0, _box_1, hasError).call$0();
  5069. else if (t3) {
  5070. if ((t1 & 1) !== 0)
  5071. new A._Future__propagateToListeners_handleValueCallback(_box_0, sourceResult).call$0();
  5072. } else if ((t1 & 2) !== 0)
  5073. new A._Future__propagateToListeners_handleError(_box_1, _box_0).call$0();
  5074. if (oldZone != null)
  5075. $.Zone__current = oldZone;
  5076. t1 = _box_0.listenerValueOrError;
  5077. if (t1 instanceof A._Future) {
  5078. t2 = _box_0.listener.$ti;
  5079. t2 = t2._eval$1("Future<2>")._is(t1) || !t2._rest[1]._is(t1);
  5080. } else
  5081. t2 = false;
  5082. if (t2) {
  5083. result = _box_0.listener.result;
  5084. if ((t1._state & 24) !== 0) {
  5085. current = result._resultOrListeners;
  5086. result._resultOrListeners = null;
  5087. listeners = result._reverseListeners$1(current);
  5088. result._state = t1._state & 30 | result._state & 1;
  5089. result._resultOrListeners = t1._resultOrListeners;
  5090. _box_1.source = t1;
  5091. continue;
  5092. } else
  5093. A._Future__chainCoreFutureSync(t1, result);
  5094. return;
  5095. }
  5096. }
  5097. result = _box_0.listener.result;
  5098. current = result._resultOrListeners;
  5099. result._resultOrListeners = null;
  5100. listeners = result._reverseListeners$1(current);
  5101. t1 = _box_0.listenerHasError;
  5102. t2 = _box_0.listenerValueOrError;
  5103. if (!t1) {
  5104. result._state = 8;
  5105. result._resultOrListeners = t2;
  5106. } else {
  5107. result._state = result._state & 1 | 16;
  5108. result._resultOrListeners = t2;
  5109. }
  5110. _box_1.source = result;
  5111. t1 = result;
  5112. }
  5113. },
  5114. _registerErrorHandler(errorHandler, zone) {
  5115. if (type$.dynamic_Function_Object_StackTrace._is(errorHandler))
  5116. return zone.registerBinaryCallback$3$1(errorHandler, type$.dynamic, type$.Object, type$.StackTrace);
  5117. if (type$.dynamic_Function_Object._is(errorHandler))
  5118. return zone.registerUnaryCallback$2$1(errorHandler, type$.dynamic, type$.Object);
  5119. throw A.wrapException(A.ArgumentError$value(errorHandler, "onError", string$.Error_));
  5120. },
  5121. _microtaskLoop() {
  5122. var entry, next;
  5123. for (entry = $._nextCallback; entry != null; entry = $._nextCallback) {
  5124. $._lastPriorityCallback = null;
  5125. next = entry.next;
  5126. $._nextCallback = next;
  5127. if (next == null)
  5128. $._lastCallback = null;
  5129. entry.callback.call$0();
  5130. }
  5131. },
  5132. _startMicrotaskLoop() {
  5133. $._isInCallbackLoop = true;
  5134. try {
  5135. A._microtaskLoop();
  5136. } finally {
  5137. $._lastPriorityCallback = null;
  5138. $._isInCallbackLoop = false;
  5139. if ($._nextCallback != null)
  5140. $.$get$_AsyncRun__scheduleImmediateClosure().call$1(A.async___startMicrotaskLoop$closure());
  5141. }
  5142. },
  5143. _scheduleAsyncCallback(callback) {
  5144. var newEntry = new A._AsyncCallbackEntry(callback),
  5145. lastCallback = $._lastCallback;
  5146. if (lastCallback == null) {
  5147. $._nextCallback = $._lastCallback = newEntry;
  5148. if (!$._isInCallbackLoop)
  5149. $.$get$_AsyncRun__scheduleImmediateClosure().call$1(A.async___startMicrotaskLoop$closure());
  5150. } else
  5151. $._lastCallback = lastCallback.next = newEntry;
  5152. },
  5153. _schedulePriorityAsyncCallback(callback) {
  5154. var entry, lastPriorityCallback, next,
  5155. t1 = $._nextCallback;
  5156. if (t1 == null) {
  5157. A._scheduleAsyncCallback(callback);
  5158. $._lastPriorityCallback = $._lastCallback;
  5159. return;
  5160. }
  5161. entry = new A._AsyncCallbackEntry(callback);
  5162. lastPriorityCallback = $._lastPriorityCallback;
  5163. if (lastPriorityCallback == null) {
  5164. entry.next = t1;
  5165. $._nextCallback = $._lastPriorityCallback = entry;
  5166. } else {
  5167. next = lastPriorityCallback.next;
  5168. entry.next = next;
  5169. $._lastPriorityCallback = lastPriorityCallback.next = entry;
  5170. if (next == null)
  5171. $._lastCallback = entry;
  5172. }
  5173. },
  5174. scheduleMicrotask(callback) {
  5175. var t1, _null = null,
  5176. currentZone = $.Zone__current;
  5177. if (B.C__RootZone === currentZone) {
  5178. A._rootScheduleMicrotask(_null, _null, B.C__RootZone, callback);
  5179. return;
  5180. }
  5181. if (B.C__RootZone === currentZone.get$_scheduleMicrotask().zone)
  5182. t1 = B.C__RootZone.get$errorZone() === currentZone.get$errorZone();
  5183. else
  5184. t1 = false;
  5185. if (t1) {
  5186. A._rootScheduleMicrotask(_null, _null, currentZone, currentZone.registerCallback$1$1(callback, type$.void));
  5187. return;
  5188. }
  5189. t1 = $.Zone__current;
  5190. t1.scheduleMicrotask$1(t1.bindCallbackGuarded$1(callback));
  5191. },
  5192. Stream_Stream$fromFuture(future, $T) {
  5193. var _null = null,
  5194. t1 = $T._eval$1("_SyncStreamController<0>"),
  5195. controller = new A._SyncStreamController(_null, _null, _null, _null, t1);
  5196. future.then$1$2$onError(0, new A.Stream_Stream$fromFuture_closure(controller, $T), new A.Stream_Stream$fromFuture_closure0(controller), type$.Null);
  5197. return new A._ControllerStream(controller, t1._eval$1("_ControllerStream<1>"));
  5198. },
  5199. StreamIterator_StreamIterator(stream) {
  5200. return new A._StreamIterator(A.checkNotNullable(stream, "stream", type$.Object));
  5201. },
  5202. StreamController_StreamController(onCancel, onListen, onPause, onResume, sync, $T) {
  5203. 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>"));
  5204. },
  5205. _runGuarded(notificationHandler) {
  5206. var e, s, exception;
  5207. if (notificationHandler == null)
  5208. return;
  5209. try {
  5210. notificationHandler.call$0();
  5211. } catch (exception) {
  5212. e = A.unwrapException(exception);
  5213. s = A.getTraceFromException(exception);
  5214. $.Zone__current.handleUncaughtError$2(e, s);
  5215. }
  5216. },
  5217. _ControllerSubscription$(_controller, onData, onError, onDone, cancelOnError, $T) {
  5218. var t1 = $.Zone__current,
  5219. t2 = cancelOnError ? 1 : 0,
  5220. t3 = onError != null ? 32 : 0,
  5221. t4 = A._BufferingStreamSubscription__registerDataHandler(t1, onData, $T),
  5222. t5 = A._BufferingStreamSubscription__registerErrorHandler(t1, onError),
  5223. t6 = onDone == null ? A.async___nullDoneHandler$closure() : onDone;
  5224. return new A._ControllerSubscription(_controller, t4, t5, t1.registerCallback$1$1(t6, type$.void), t1, t2 | t3, $T._eval$1("_ControllerSubscription<0>"));
  5225. },
  5226. _AddStreamState_makeErrorHandler(controller) {
  5227. return new A._AddStreamState_makeErrorHandler_closure(controller);
  5228. },
  5229. _BufferingStreamSubscription__registerDataHandler(zone, handleData, $T) {
  5230. var t1 = handleData == null ? A.async___nullDataHandler$closure() : handleData;
  5231. return zone.registerUnaryCallback$2$1(t1, type$.void, $T);
  5232. },
  5233. _BufferingStreamSubscription__registerErrorHandler(zone, handleError) {
  5234. if (handleError == null)
  5235. handleError = A.async___nullErrorHandler$closure();
  5236. if (type$.void_Function_Object_StackTrace._is(handleError))
  5237. return zone.registerBinaryCallback$3$1(handleError, type$.dynamic, type$.Object, type$.StackTrace);
  5238. if (type$.void_Function_Object._is(handleError))
  5239. return zone.registerUnaryCallback$2$1(handleError, type$.dynamic, type$.Object);
  5240. throw A.wrapException(A.ArgumentError$("handleError callback must take either an Object (the error), or both an Object (the error) and a StackTrace.", null));
  5241. },
  5242. _nullDataHandler(value) {
  5243. },
  5244. _nullErrorHandler(error, stackTrace) {
  5245. $.Zone__current.handleUncaughtError$2(error, stackTrace);
  5246. },
  5247. _nullDoneHandler() {
  5248. },
  5249. Timer_Timer(duration, callback) {
  5250. var t1 = $.Zone__current;
  5251. if (t1 === B.C__RootZone)
  5252. return t1.createTimer$2(duration, callback);
  5253. return t1.createTimer$2(duration, t1.bindCallbackGuarded$1(callback));
  5254. },
  5255. _rootHandleUncaughtError($self, $parent, zone, error, stackTrace) {
  5256. A._rootHandleError(error, stackTrace);
  5257. },
  5258. _rootHandleError(error, stackTrace) {
  5259. A._schedulePriorityAsyncCallback(new A._rootHandleError_closure(error, stackTrace));
  5260. },
  5261. _rootRun($self, $parent, zone, f) {
  5262. var old,
  5263. t1 = $.Zone__current;
  5264. if (t1 === zone)
  5265. return f.call$0();
  5266. $.Zone__current = zone;
  5267. old = t1;
  5268. try {
  5269. t1 = f.call$0();
  5270. return t1;
  5271. } finally {
  5272. $.Zone__current = old;
  5273. }
  5274. },
  5275. _rootRunUnary($self, $parent, zone, f, arg) {
  5276. var old,
  5277. t1 = $.Zone__current;
  5278. if (t1 === zone)
  5279. return f.call$1(arg);
  5280. $.Zone__current = zone;
  5281. old = t1;
  5282. try {
  5283. t1 = f.call$1(arg);
  5284. return t1;
  5285. } finally {
  5286. $.Zone__current = old;
  5287. }
  5288. },
  5289. _rootRunBinary($self, $parent, zone, f, arg1, arg2) {
  5290. var old,
  5291. t1 = $.Zone__current;
  5292. if (t1 === zone)
  5293. return f.call$2(arg1, arg2);
  5294. $.Zone__current = zone;
  5295. old = t1;
  5296. try {
  5297. t1 = f.call$2(arg1, arg2);
  5298. return t1;
  5299. } finally {
  5300. $.Zone__current = old;
  5301. }
  5302. },
  5303. _rootRegisterCallback($self, $parent, zone, f) {
  5304. return f;
  5305. },
  5306. _rootRegisterUnaryCallback($self, $parent, zone, f) {
  5307. return f;
  5308. },
  5309. _rootRegisterBinaryCallback($self, $parent, zone, f) {
  5310. return f;
  5311. },
  5312. _rootErrorCallback($self, $parent, zone, error, stackTrace) {
  5313. return null;
  5314. },
  5315. _rootScheduleMicrotask($self, $parent, zone, f) {
  5316. var t1, t2;
  5317. if (B.C__RootZone !== zone) {
  5318. t1 = B.C__RootZone.get$errorZone();
  5319. t2 = zone.get$errorZone();
  5320. f = t1 !== t2 ? zone.bindCallbackGuarded$1(f) : zone.bindCallback$1$1(f, type$.void);
  5321. }
  5322. A._scheduleAsyncCallback(f);
  5323. },
  5324. _rootCreateTimer($self, $parent, zone, duration, callback) {
  5325. return A.Timer__createTimer(duration, B.C__RootZone !== zone ? zone.bindCallback$1$1(callback, type$.void) : callback);
  5326. },
  5327. _rootCreatePeriodicTimer($self, $parent, zone, duration, callback) {
  5328. var milliseconds;
  5329. if (B.C__RootZone !== zone)
  5330. callback = zone.bindUnaryCallback$2$1(callback, type$.void, type$.Timer);
  5331. milliseconds = B.JSInt_methods._tdivFast$1(duration._duration, 1000);
  5332. return A._TimerImpl$periodic(milliseconds < 0 ? 0 : milliseconds, callback);
  5333. },
  5334. _rootPrint($self, $parent, zone, line) {
  5335. A.printString(line);
  5336. },
  5337. _printToZone(line) {
  5338. $.Zone__current.print$1(line);
  5339. },
  5340. _rootFork($self, $parent, zone, specification, zoneValues) {
  5341. var valueMap, t1, handleUncaughtError;
  5342. $.printToZone = A.async___printToZone$closure();
  5343. if (specification == null)
  5344. specification = B._ZoneSpecification_48t;
  5345. if (zoneValues == null)
  5346. valueMap = zone.get$_async$_map();
  5347. else {
  5348. t1 = type$.nullable_Object;
  5349. valueMap = A.HashMap_HashMap$from(zoneValues, t1, t1);
  5350. }
  5351. 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);
  5352. handleUncaughtError = specification.handleUncaughtError;
  5353. if (handleUncaughtError != null)
  5354. t1._handleUncaughtError = new A._ZoneFunction(t1, handleUncaughtError);
  5355. return t1;
  5356. },
  5357. runZoned(body, zoneValues, $R) {
  5358. A.checkNotNullable(body, "body", $R._eval$1("0()"));
  5359. return A._runZoned(body, zoneValues, null, $R);
  5360. },
  5361. _runZoned(body, zoneValues, specification, $R) {
  5362. return $.Zone__current.fork$2$specification$zoneValues(specification, zoneValues).run$1$1(0, body, $R);
  5363. },
  5364. _AsyncRun__initializeScheduleImmediate_internalCallback: function _AsyncRun__initializeScheduleImmediate_internalCallback(t0) {
  5365. this._box_0 = t0;
  5366. },
  5367. _AsyncRun__initializeScheduleImmediate_closure: function _AsyncRun__initializeScheduleImmediate_closure(t0, t1, t2) {
  5368. this._box_0 = t0;
  5369. this.div = t1;
  5370. this.span = t2;
  5371. },
  5372. _AsyncRun__scheduleImmediateJsOverride_internalCallback: function _AsyncRun__scheduleImmediateJsOverride_internalCallback(t0) {
  5373. this.callback = t0;
  5374. },
  5375. _AsyncRun__scheduleImmediateWithSetImmediate_internalCallback: function _AsyncRun__scheduleImmediateWithSetImmediate_internalCallback(t0) {
  5376. this.callback = t0;
  5377. },
  5378. _TimerImpl: function _TimerImpl(t0) {
  5379. this._once = t0;
  5380. this._handle = null;
  5381. this._tick = 0;
  5382. },
  5383. _TimerImpl_internalCallback: function _TimerImpl_internalCallback(t0, t1) {
  5384. this.$this = t0;
  5385. this.callback = t1;
  5386. },
  5387. _TimerImpl$periodic_closure: function _TimerImpl$periodic_closure(t0, t1, t2, t3) {
  5388. var _ = this;
  5389. _.$this = t0;
  5390. _.milliseconds = t1;
  5391. _.start = t2;
  5392. _.callback = t3;
  5393. },
  5394. _AsyncAwaitCompleter: function _AsyncAwaitCompleter(t0, t1) {
  5395. this._future = t0;
  5396. this.isSync = false;
  5397. this.$ti = t1;
  5398. },
  5399. _awaitOnObject_closure: function _awaitOnObject_closure(t0) {
  5400. this.bodyFunction = t0;
  5401. },
  5402. _awaitOnObject_closure0: function _awaitOnObject_closure0(t0) {
  5403. this.bodyFunction = t0;
  5404. },
  5405. _wrapJsFunctionForAsync_closure: function _wrapJsFunctionForAsync_closure(t0) {
  5406. this.$protected = t0;
  5407. },
  5408. _SyncStarIterator: function _SyncStarIterator(t0) {
  5409. var _ = this;
  5410. _._body = t0;
  5411. _._suspendedBodies = _._nestedIterator = _._datum = _._async$_current = null;
  5412. },
  5413. _SyncStarIterable: function _SyncStarIterable(t0, t1) {
  5414. this._outerHelper = t0;
  5415. this.$ti = t1;
  5416. },
  5417. AsyncError: function AsyncError(t0, t1) {
  5418. this.error = t0;
  5419. this.stackTrace = t1;
  5420. },
  5421. Future_wait_handleError: function Future_wait_handleError(t0, t1, t2, t3) {
  5422. var _ = this;
  5423. _._box_0 = t0;
  5424. _.cleanUp = t1;
  5425. _.eagerError = t2;
  5426. _._future = t3;
  5427. },
  5428. Future_wait_closure: function Future_wait_closure(t0, t1, t2, t3, t4, t5) {
  5429. var _ = this;
  5430. _._box_0 = t0;
  5431. _.pos = t1;
  5432. _._future = t2;
  5433. _.T = t3;
  5434. _.cleanUp = t4;
  5435. _.eagerError = t5;
  5436. },
  5437. _Completer: function _Completer() {
  5438. },
  5439. _AsyncCompleter: function _AsyncCompleter(t0, t1) {
  5440. this.future = t0;
  5441. this.$ti = t1;
  5442. },
  5443. _SyncCompleter: function _SyncCompleter(t0, t1) {
  5444. this.future = t0;
  5445. this.$ti = t1;
  5446. },
  5447. _FutureListener: function _FutureListener(t0, t1, t2, t3, t4) {
  5448. var _ = this;
  5449. _._nextListener = null;
  5450. _.result = t0;
  5451. _.state = t1;
  5452. _.callback = t2;
  5453. _.errorCallback = t3;
  5454. _.$ti = t4;
  5455. },
  5456. _Future: function _Future(t0, t1) {
  5457. var _ = this;
  5458. _._state = 0;
  5459. _._zone = t0;
  5460. _._resultOrListeners = null;
  5461. _.$ti = t1;
  5462. },
  5463. _Future__addListener_closure: function _Future__addListener_closure(t0, t1) {
  5464. this.$this = t0;
  5465. this.listener = t1;
  5466. },
  5467. _Future__prependListeners_closure: function _Future__prependListeners_closure(t0, t1) {
  5468. this._box_0 = t0;
  5469. this.$this = t1;
  5470. },
  5471. _Future__chainForeignFuture_closure: function _Future__chainForeignFuture_closure(t0) {
  5472. this.$this = t0;
  5473. },
  5474. _Future__chainForeignFuture_closure0: function _Future__chainForeignFuture_closure0(t0) {
  5475. this.$this = t0;
  5476. },
  5477. _Future__chainForeignFuture_closure1: function _Future__chainForeignFuture_closure1(t0, t1, t2) {
  5478. this.$this = t0;
  5479. this.e = t1;
  5480. this.s = t2;
  5481. },
  5482. _Future__chainCoreFutureAsync_closure: function _Future__chainCoreFutureAsync_closure(t0, t1) {
  5483. this._box_0 = t0;
  5484. this.target = t1;
  5485. },
  5486. _Future__asyncCompleteWithValue_closure: function _Future__asyncCompleteWithValue_closure(t0, t1) {
  5487. this.$this = t0;
  5488. this.value = t1;
  5489. },
  5490. _Future__asyncCompleteError_closure: function _Future__asyncCompleteError_closure(t0, t1, t2) {
  5491. this.$this = t0;
  5492. this.error = t1;
  5493. this.stackTrace = t2;
  5494. },
  5495. _Future__propagateToListeners_handleWhenCompleteCallback: function _Future__propagateToListeners_handleWhenCompleteCallback(t0, t1, t2) {
  5496. this._box_0 = t0;
  5497. this._box_1 = t1;
  5498. this.hasError = t2;
  5499. },
  5500. _Future__propagateToListeners_handleWhenCompleteCallback_closure: function _Future__propagateToListeners_handleWhenCompleteCallback_closure(t0) {
  5501. this.originalSource = t0;
  5502. },
  5503. _Future__propagateToListeners_handleValueCallback: function _Future__propagateToListeners_handleValueCallback(t0, t1) {
  5504. this._box_0 = t0;
  5505. this.sourceResult = t1;
  5506. },
  5507. _Future__propagateToListeners_handleError: function _Future__propagateToListeners_handleError(t0, t1) {
  5508. this._box_1 = t0;
  5509. this._box_0 = t1;
  5510. },
  5511. _AsyncCallbackEntry: function _AsyncCallbackEntry(t0) {
  5512. this.callback = t0;
  5513. this.next = null;
  5514. },
  5515. Stream: function Stream() {
  5516. },
  5517. Stream_Stream$fromFuture_closure: function Stream_Stream$fromFuture_closure(t0, t1) {
  5518. this.controller = t0;
  5519. this.T = t1;
  5520. },
  5521. Stream_Stream$fromFuture_closure0: function Stream_Stream$fromFuture_closure0(t0) {
  5522. this.controller = t0;
  5523. },
  5524. Stream_length_closure: function Stream_length_closure(t0, t1) {
  5525. this._box_0 = t0;
  5526. this.$this = t1;
  5527. },
  5528. Stream_length_closure0: function Stream_length_closure0(t0, t1) {
  5529. this._box_0 = t0;
  5530. this.future = t1;
  5531. },
  5532. _StreamController: function _StreamController() {
  5533. },
  5534. _StreamController__subscribe_closure: function _StreamController__subscribe_closure(t0) {
  5535. this.$this = t0;
  5536. },
  5537. _StreamController__recordCancel_complete: function _StreamController__recordCancel_complete(t0) {
  5538. this.$this = t0;
  5539. },
  5540. _SyncStreamControllerDispatch: function _SyncStreamControllerDispatch() {
  5541. },
  5542. _AsyncStreamControllerDispatch: function _AsyncStreamControllerDispatch() {
  5543. },
  5544. _AsyncStreamController: function _AsyncStreamController(t0, t1, t2, t3, t4) {
  5545. var _ = this;
  5546. _._varData = null;
  5547. _._state = 0;
  5548. _._doneFuture = null;
  5549. _.onListen = t0;
  5550. _.onPause = t1;
  5551. _.onResume = t2;
  5552. _.onCancel = t3;
  5553. _.$ti = t4;
  5554. },
  5555. _SyncStreamController: function _SyncStreamController(t0, t1, t2, t3, t4) {
  5556. var _ = this;
  5557. _._varData = null;
  5558. _._state = 0;
  5559. _._doneFuture = null;
  5560. _.onListen = t0;
  5561. _.onPause = t1;
  5562. _.onResume = t2;
  5563. _.onCancel = t3;
  5564. _.$ti = t4;
  5565. },
  5566. _ControllerStream: function _ControllerStream(t0, t1) {
  5567. this._controller = t0;
  5568. this.$ti = t1;
  5569. },
  5570. _ControllerSubscription: function _ControllerSubscription(t0, t1, t2, t3, t4, t5, t6) {
  5571. var _ = this;
  5572. _._controller = t0;
  5573. _._onData = t1;
  5574. _._onError = t2;
  5575. _._onDone = t3;
  5576. _._zone = t4;
  5577. _._state = t5;
  5578. _._pending = _._cancelFuture = null;
  5579. _.$ti = t6;
  5580. },
  5581. _AddStreamState: function _AddStreamState() {
  5582. },
  5583. _AddStreamState_makeErrorHandler_closure: function _AddStreamState_makeErrorHandler_closure(t0) {
  5584. this.controller = t0;
  5585. },
  5586. _AddStreamState_cancel_closure: function _AddStreamState_cancel_closure(t0) {
  5587. this.$this = t0;
  5588. },
  5589. _StreamControllerAddStreamState: function _StreamControllerAddStreamState(t0, t1, t2) {
  5590. this._varData = t0;
  5591. this.addStreamFuture = t1;
  5592. this.addSubscription = t2;
  5593. },
  5594. _BufferingStreamSubscription: function _BufferingStreamSubscription() {
  5595. },
  5596. _BufferingStreamSubscription__sendError_sendError: function _BufferingStreamSubscription__sendError_sendError(t0, t1, t2) {
  5597. this.$this = t0;
  5598. this.error = t1;
  5599. this.stackTrace = t2;
  5600. },
  5601. _BufferingStreamSubscription__sendDone_sendDone: function _BufferingStreamSubscription__sendDone_sendDone(t0) {
  5602. this.$this = t0;
  5603. },
  5604. _StreamImpl: function _StreamImpl() {
  5605. },
  5606. _DelayedEvent: function _DelayedEvent() {
  5607. },
  5608. _DelayedData: function _DelayedData(t0) {
  5609. this.value = t0;
  5610. this.next = null;
  5611. },
  5612. _DelayedError: function _DelayedError(t0, t1) {
  5613. this.error = t0;
  5614. this.stackTrace = t1;
  5615. this.next = null;
  5616. },
  5617. _DelayedDone: function _DelayedDone() {
  5618. },
  5619. _PendingEvents: function _PendingEvents() {
  5620. this._state = 0;
  5621. this.lastPendingEvent = this.firstPendingEvent = null;
  5622. },
  5623. _PendingEvents_schedule_closure: function _PendingEvents_schedule_closure(t0, t1) {
  5624. this.$this = t0;
  5625. this.dispatch = t1;
  5626. },
  5627. _StreamIterator: function _StreamIterator(t0) {
  5628. this._subscription = null;
  5629. this._stateData = t0;
  5630. this._async$_hasValue = false;
  5631. },
  5632. _ForwardingStream: function _ForwardingStream() {
  5633. },
  5634. _ForwardingStreamSubscription: function _ForwardingStreamSubscription(t0, t1, t2, t3, t4, t5, t6) {
  5635. var _ = this;
  5636. _._stream = t0;
  5637. _._subscription = null;
  5638. _._onData = t1;
  5639. _._onError = t2;
  5640. _._onDone = t3;
  5641. _._zone = t4;
  5642. _._state = t5;
  5643. _._pending = _._cancelFuture = null;
  5644. _.$ti = t6;
  5645. },
  5646. _ExpandStream: function _ExpandStream(t0, t1, t2) {
  5647. this._expand = t0;
  5648. this._async$_source = t1;
  5649. this.$ti = t2;
  5650. },
  5651. _ZoneFunction: function _ZoneFunction(t0, t1) {
  5652. this.zone = t0;
  5653. this.$function = t1;
  5654. },
  5655. _ZoneSpecification: function _ZoneSpecification(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) {
  5656. var _ = this;
  5657. _.handleUncaughtError = t0;
  5658. _.run = t1;
  5659. _.runUnary = t2;
  5660. _.runBinary = t3;
  5661. _.registerCallback = t4;
  5662. _.registerUnaryCallback = t5;
  5663. _.registerBinaryCallback = t6;
  5664. _.errorCallback = t7;
  5665. _.scheduleMicrotask = t8;
  5666. _.createTimer = t9;
  5667. _.createPeriodicTimer = t10;
  5668. _.print = t11;
  5669. _.fork = t12;
  5670. },
  5671. _ZoneDelegate: function _ZoneDelegate(t0) {
  5672. this._delegationTarget = t0;
  5673. },
  5674. _Zone: function _Zone() {
  5675. },
  5676. _CustomZone: function _CustomZone(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
  5677. var _ = this;
  5678. _._run = t0;
  5679. _._runUnary = t1;
  5680. _._runBinary = t2;
  5681. _._registerCallback = t3;
  5682. _._registerUnaryCallback = t4;
  5683. _._registerBinaryCallback = t5;
  5684. _._errorCallback = t6;
  5685. _._scheduleMicrotask = t7;
  5686. _._createTimer = t8;
  5687. _._createPeriodicTimer = t9;
  5688. _._print = t10;
  5689. _._fork = t11;
  5690. _._handleUncaughtError = t12;
  5691. _._delegateCache = null;
  5692. _.parent = t13;
  5693. _._async$_map = t14;
  5694. },
  5695. _CustomZone_bindCallback_closure: function _CustomZone_bindCallback_closure(t0, t1, t2) {
  5696. this.$this = t0;
  5697. this.registered = t1;
  5698. this.R = t2;
  5699. },
  5700. _CustomZone_bindUnaryCallback_closure: function _CustomZone_bindUnaryCallback_closure(t0, t1, t2, t3) {
  5701. var _ = this;
  5702. _.$this = t0;
  5703. _.registered = t1;
  5704. _.T = t2;
  5705. _.R = t3;
  5706. },
  5707. _CustomZone_bindCallbackGuarded_closure: function _CustomZone_bindCallbackGuarded_closure(t0, t1) {
  5708. this.$this = t0;
  5709. this.registered = t1;
  5710. },
  5711. _rootHandleError_closure: function _rootHandleError_closure(t0, t1) {
  5712. this.error = t0;
  5713. this.stackTrace = t1;
  5714. },
  5715. _RootZone: function _RootZone() {
  5716. },
  5717. _RootZone_bindCallback_closure: function _RootZone_bindCallback_closure(t0, t1, t2) {
  5718. this.$this = t0;
  5719. this.f = t1;
  5720. this.R = t2;
  5721. },
  5722. _RootZone_bindUnaryCallback_closure: function _RootZone_bindUnaryCallback_closure(t0, t1, t2, t3) {
  5723. var _ = this;
  5724. _.$this = t0;
  5725. _.f = t1;
  5726. _.T = t2;
  5727. _.R = t3;
  5728. },
  5729. _RootZone_bindCallbackGuarded_closure: function _RootZone_bindCallbackGuarded_closure(t0, t1) {
  5730. this.$this = t0;
  5731. this.f = t1;
  5732. },
  5733. HashMap_HashMap($K, $V) {
  5734. return new A._HashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("_HashMap<1,2>"));
  5735. },
  5736. _HashMap__getTableEntry(table, key) {
  5737. var entry = table[key];
  5738. return entry === table ? null : entry;
  5739. },
  5740. _HashMap__setTableEntry(table, key, value) {
  5741. if (value == null)
  5742. table[key] = table;
  5743. else
  5744. table[key] = value;
  5745. },
  5746. _HashMap__newHashTable() {
  5747. var table = Object.create(null);
  5748. A._HashMap__setTableEntry(table, "<non-identifier-key>", table);
  5749. delete table["<non-identifier-key>"];
  5750. return table;
  5751. },
  5752. LinkedHashMap_LinkedHashMap(equals, hashCode, isValidKey, $K, $V) {
  5753. if (isValidKey == null)
  5754. if (hashCode == null) {
  5755. if (equals == null)
  5756. return new A.JsLinkedHashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("JsLinkedHashMap<1,2>"));
  5757. hashCode = A.collection___defaultHashCode$closure();
  5758. } else {
  5759. if (A.core__identityHashCode$closure() === hashCode && A.core__identical$closure() === equals)
  5760. return new A.JsIdentityLinkedHashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("JsIdentityLinkedHashMap<1,2>"));
  5761. if (equals == null)
  5762. equals = A.collection___defaultEquals$closure();
  5763. }
  5764. else {
  5765. if (hashCode == null)
  5766. hashCode = A.collection___defaultHashCode$closure();
  5767. if (equals == null)
  5768. equals = A.collection___defaultEquals$closure();
  5769. }
  5770. return A._LinkedCustomHashMap$(equals, hashCode, isValidKey, $K, $V);
  5771. },
  5772. LinkedHashMap_LinkedHashMap$_literal(keyValuePairs, $K, $V) {
  5773. return A.fillLiteralMap(keyValuePairs, new A.JsLinkedHashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("JsLinkedHashMap<1,2>")));
  5774. },
  5775. LinkedHashMap_LinkedHashMap$_empty($K, $V) {
  5776. return new A.JsLinkedHashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("JsLinkedHashMap<1,2>"));
  5777. },
  5778. _LinkedCustomHashMap$(_equals, _hashCode, validKey, $K, $V) {
  5779. var t1 = validKey != null ? validKey : new A._LinkedCustomHashMap_closure($K);
  5780. return new A._LinkedCustomHashMap(_equals, _hashCode, t1, $K._eval$1("@<0>")._bind$1($V)._eval$1("_LinkedCustomHashMap<1,2>"));
  5781. },
  5782. LinkedHashSet_LinkedHashSet($E) {
  5783. return new A._LinkedHashSet($E._eval$1("_LinkedHashSet<0>"));
  5784. },
  5785. LinkedHashSet_LinkedHashSet$_empty($E) {
  5786. return new A._LinkedHashSet($E._eval$1("_LinkedHashSet<0>"));
  5787. },
  5788. LinkedHashSet_LinkedHashSet$_literal(values, $E) {
  5789. return A.fillLiteralSet(values, new A._LinkedHashSet($E._eval$1("_LinkedHashSet<0>")));
  5790. },
  5791. _LinkedHashSet__newHashTable() {
  5792. var table = Object.create(null);
  5793. table["<non-identifier-key>"] = table;
  5794. delete table["<non-identifier-key>"];
  5795. return table;
  5796. },
  5797. _LinkedHashSetIterator$(_set, _modifications, $E) {
  5798. var t1 = new A._LinkedHashSetIterator(_set, _modifications, $E._eval$1("_LinkedHashSetIterator<0>"));
  5799. t1._cell = _set._first;
  5800. return t1;
  5801. },
  5802. UnmodifiableListView$(source, $E) {
  5803. return new A.UnmodifiableListView(source, $E._eval$1("UnmodifiableListView<0>"));
  5804. },
  5805. _defaultEquals(a, b) {
  5806. return J.$eq$(a, b);
  5807. },
  5808. _defaultHashCode(a) {
  5809. return J.get$hashCode$(a);
  5810. },
  5811. HashMap_HashMap$from(other, $K, $V) {
  5812. var result = A.HashMap_HashMap($K, $V);
  5813. other.forEach$1(0, new A.HashMap_HashMap$from_closure(result, $K, $V));
  5814. return result;
  5815. },
  5816. LinkedHashMap_LinkedHashMap$from(other, $K, $V) {
  5817. var result = A.LinkedHashMap_LinkedHashMap(null, null, null, $K, $V);
  5818. other.forEach$1(0, new A.LinkedHashMap_LinkedHashMap$from_closure(result, $K, $V));
  5819. return result;
  5820. },
  5821. LinkedHashMap_LinkedHashMap$of(other, $K, $V) {
  5822. var t1 = A.LinkedHashMap_LinkedHashMap(null, null, null, $K, $V);
  5823. t1.addAll$1(0, other);
  5824. return t1;
  5825. },
  5826. LinkedHashSet_LinkedHashSet$from(elements, $E) {
  5827. var t1, _i,
  5828. result = A.LinkedHashSet_LinkedHashSet($E);
  5829. for (t1 = elements.length, _i = 0; _i < elements.length; elements.length === t1 || (0, A.throwConcurrentModificationError)(elements), ++_i)
  5830. result.add$1(0, $E._as(elements[_i]));
  5831. return result;
  5832. },
  5833. LinkedHashSet_LinkedHashSet$of(elements, $E) {
  5834. var t1 = A.LinkedHashSet_LinkedHashSet($E);
  5835. t1.addAll$1(0, elements);
  5836. return t1;
  5837. },
  5838. ListBase__compareAny(a, b) {
  5839. var t1 = type$.Comparable_dynamic;
  5840. return J.compareTo$1$ns(t1._as(a), t1._as(b));
  5841. },
  5842. MapBase_mapToString(m) {
  5843. var result, t1 = {};
  5844. if (A.isToStringVisiting(m))
  5845. return "{...}";
  5846. result = new A.StringBuffer("");
  5847. try {
  5848. $.toStringVisiting.push(m);
  5849. result._contents += "{";
  5850. t1.first = true;
  5851. m.forEach$1(0, new A.MapBase_mapToString_closure(t1, result));
  5852. result._contents += "}";
  5853. } finally {
  5854. $.toStringVisiting.pop();
  5855. }
  5856. t1 = result._contents;
  5857. return t1.charCodeAt(0) == 0 ? t1 : t1;
  5858. },
  5859. MapBase__fillMapWithIterables(map, keys, values) {
  5860. var keyIterator = keys.get$iterator(keys),
  5861. valueIterator = values.get$iterator(values),
  5862. hasNextKey = keyIterator.moveNext$0(),
  5863. hasNextValue = valueIterator.moveNext$0();
  5864. while (true) {
  5865. if (!(hasNextKey && hasNextValue))
  5866. break;
  5867. map.$indexSet(0, keyIterator.get$current(keyIterator), valueIterator.get$current(valueIterator));
  5868. hasNextKey = keyIterator.moveNext$0();
  5869. hasNextValue = valueIterator.moveNext$0();
  5870. }
  5871. if (hasNextKey || hasNextValue)
  5872. throw A.wrapException(A.ArgumentError$("Iterables do not have same length.", null));
  5873. },
  5874. ListQueue$($E) {
  5875. return new A.ListQueue(A.List_List$filled(A.ListQueue__calculateCapacity(null), null, false, $E._eval$1("0?")), $E._eval$1("ListQueue<0>"));
  5876. },
  5877. ListQueue__calculateCapacity(initialCapacity) {
  5878. return 8;
  5879. },
  5880. ListQueue__nextPowerOf2(number) {
  5881. var nextNumber;
  5882. number = (number << 1 >>> 0) - 1;
  5883. for (; true; number = nextNumber) {
  5884. nextNumber = (number & number - 1) >>> 0;
  5885. if (nextNumber === 0)
  5886. return number;
  5887. }
  5888. },
  5889. _ListQueueIterator$(queue, $E) {
  5890. return new A._ListQueueIterator(queue, queue._tail, queue._modificationCount, queue._head, $E._eval$1("_ListQueueIterator<0>"));
  5891. },
  5892. _UnmodifiableSetMixin__throwUnmodifiable() {
  5893. throw A.wrapException(A.UnsupportedError$("Cannot change an unmodifiable set"));
  5894. },
  5895. _HashMap: function _HashMap(t0) {
  5896. var _ = this;
  5897. _._collection$_length = 0;
  5898. _._collection$_keys = _._collection$_rest = _._nums = _._strings = null;
  5899. _.$ti = t0;
  5900. },
  5901. _HashMap_values_closure: function _HashMap_values_closure(t0) {
  5902. this.$this = t0;
  5903. },
  5904. _HashMap_addAll_closure: function _HashMap_addAll_closure(t0) {
  5905. this.$this = t0;
  5906. },
  5907. _IdentityHashMap: function _IdentityHashMap(t0) {
  5908. var _ = this;
  5909. _._collection$_length = 0;
  5910. _._collection$_keys = _._collection$_rest = _._nums = _._strings = null;
  5911. _.$ti = t0;
  5912. },
  5913. _HashMapKeyIterable: function _HashMapKeyIterable(t0, t1) {
  5914. this._map = t0;
  5915. this.$ti = t1;
  5916. },
  5917. _HashMapKeyIterator: function _HashMapKeyIterator(t0, t1, t2) {
  5918. var _ = this;
  5919. _._map = t0;
  5920. _._collection$_keys = t1;
  5921. _._offset = 0;
  5922. _._collection$_current = null;
  5923. _.$ti = t2;
  5924. },
  5925. _LinkedCustomHashMap: function _LinkedCustomHashMap(t0, t1, t2, t3) {
  5926. var _ = this;
  5927. _._equals = t0;
  5928. _._hashCode = t1;
  5929. _._validKey = t2;
  5930. _.__js_helper$_length = 0;
  5931. _.__js_helper$_last = _.__js_helper$_first = _.__js_helper$_rest = _.__js_helper$_nums = _.__js_helper$_strings = null;
  5932. _.__js_helper$_modifications = 0;
  5933. _.$ti = t3;
  5934. },
  5935. _LinkedCustomHashMap_closure: function _LinkedCustomHashMap_closure(t0) {
  5936. this.K = t0;
  5937. },
  5938. _LinkedHashSet: function _LinkedHashSet(t0) {
  5939. var _ = this;
  5940. _._collection$_length = 0;
  5941. _._last = _._first = _._collection$_rest = _._nums = _._strings = null;
  5942. _._modifications = 0;
  5943. _.$ti = t0;
  5944. },
  5945. _LinkedIdentityHashSet: function _LinkedIdentityHashSet(t0) {
  5946. var _ = this;
  5947. _._collection$_length = 0;
  5948. _._last = _._first = _._collection$_rest = _._nums = _._strings = null;
  5949. _._modifications = 0;
  5950. _.$ti = t0;
  5951. },
  5952. _LinkedHashSetCell: function _LinkedHashSetCell(t0) {
  5953. this._element = t0;
  5954. this._previous = this._next = null;
  5955. },
  5956. _LinkedHashSetIterator: function _LinkedHashSetIterator(t0, t1, t2) {
  5957. var _ = this;
  5958. _._set = t0;
  5959. _._modifications = t1;
  5960. _._collection$_current = _._cell = null;
  5961. _.$ti = t2;
  5962. },
  5963. UnmodifiableListView: function UnmodifiableListView(t0, t1) {
  5964. this._collection$_source = t0;
  5965. this.$ti = t1;
  5966. },
  5967. HashMap_HashMap$from_closure: function HashMap_HashMap$from_closure(t0, t1, t2) {
  5968. this.result = t0;
  5969. this.K = t1;
  5970. this.V = t2;
  5971. },
  5972. LinkedHashMap_LinkedHashMap$from_closure: function LinkedHashMap_LinkedHashMap$from_closure(t0, t1, t2) {
  5973. this.result = t0;
  5974. this.K = t1;
  5975. this.V = t2;
  5976. },
  5977. ListBase: function ListBase() {
  5978. },
  5979. MapBase: function MapBase() {
  5980. },
  5981. MapBase_addAll_closure: function MapBase_addAll_closure(t0) {
  5982. this.$this = t0;
  5983. },
  5984. MapBase_entries_closure: function MapBase_entries_closure(t0) {
  5985. this.$this = t0;
  5986. },
  5987. MapBase_mapToString_closure: function MapBase_mapToString_closure(t0, t1) {
  5988. this._box_0 = t0;
  5989. this.result = t1;
  5990. },
  5991. UnmodifiableMapBase: function UnmodifiableMapBase() {
  5992. },
  5993. _MapBaseValueIterable: function _MapBaseValueIterable(t0, t1) {
  5994. this._map = t0;
  5995. this.$ti = t1;
  5996. },
  5997. _MapBaseValueIterator: function _MapBaseValueIterator(t0, t1, t2) {
  5998. var _ = this;
  5999. _._collection$_keys = t0;
  6000. _._map = t1;
  6001. _._collection$_current = null;
  6002. _.$ti = t2;
  6003. },
  6004. _UnmodifiableMapMixin: function _UnmodifiableMapMixin() {
  6005. },
  6006. MapView: function MapView() {
  6007. },
  6008. UnmodifiableMapView: function UnmodifiableMapView(t0, t1) {
  6009. this._map = t0;
  6010. this.$ti = t1;
  6011. },
  6012. ListQueue: function ListQueue(t0, t1) {
  6013. var _ = this;
  6014. _._table = t0;
  6015. _._modificationCount = _._tail = _._head = 0;
  6016. _.$ti = t1;
  6017. },
  6018. _ListQueueIterator: function _ListQueueIterator(t0, t1, t2, t3, t4) {
  6019. var _ = this;
  6020. _._queue = t0;
  6021. _._collection$_end = t1;
  6022. _._modificationCount = t2;
  6023. _._collection$_position = t3;
  6024. _._collection$_current = null;
  6025. _.$ti = t4;
  6026. },
  6027. SetBase: function SetBase() {
  6028. },
  6029. _SetBase: function _SetBase() {
  6030. },
  6031. _UnmodifiableSetMixin: function _UnmodifiableSetMixin() {
  6032. },
  6033. UnmodifiableSetView: function UnmodifiableSetView(t0, t1) {
  6034. this._collection$_source = t0;
  6035. this.$ti = t1;
  6036. },
  6037. _UnmodifiableMapView_MapView__UnmodifiableMapMixin: function _UnmodifiableMapView_MapView__UnmodifiableMapMixin() {
  6038. },
  6039. _UnmodifiableSetView_SetBase__UnmodifiableSetMixin: function _UnmodifiableSetView_SetBase__UnmodifiableSetMixin() {
  6040. },
  6041. _parseJson(source, reviver) {
  6042. var e, exception, t1, parsed = null;
  6043. try {
  6044. parsed = JSON.parse(source);
  6045. } catch (exception) {
  6046. e = A.unwrapException(exception);
  6047. t1 = A.FormatException$(String(e), null, null);
  6048. throw A.wrapException(t1);
  6049. }
  6050. t1 = A._convertJsonToDartLazy(parsed);
  6051. return t1;
  6052. },
  6053. _convertJsonToDartLazy(object) {
  6054. var i;
  6055. if (object == null)
  6056. return null;
  6057. if (typeof object != "object")
  6058. return object;
  6059. if (!Array.isArray(object))
  6060. return new A._JsonMap(object, Object.create(null));
  6061. for (i = 0; i < object.length; ++i)
  6062. object[i] = A._convertJsonToDartLazy(object[i]);
  6063. return object;
  6064. },
  6065. _Utf8Decoder__makeNativeUint8List(codeUnits, start, end) {
  6066. var bytes, t1, i, b,
  6067. $length = end - start;
  6068. if ($length <= 4096)
  6069. bytes = $.$get$_Utf8Decoder__reusableBuffer();
  6070. else
  6071. bytes = new Uint8Array($length);
  6072. for (t1 = J.getInterceptor$asx(codeUnits), i = 0; i < $length; ++i) {
  6073. b = t1.$index(codeUnits, start + i);
  6074. if ((b & 255) !== b)
  6075. b = 255;
  6076. bytes[i] = b;
  6077. }
  6078. return bytes;
  6079. },
  6080. _Utf8Decoder__convertInterceptedUint8List(allowMalformed, codeUnits, start, end) {
  6081. var decoder = allowMalformed ? $.$get$_Utf8Decoder__decoderNonfatal() : $.$get$_Utf8Decoder__decoder();
  6082. if (decoder == null)
  6083. return null;
  6084. if (0 === start && end === codeUnits.length)
  6085. return A._Utf8Decoder__useTextDecoder(decoder, codeUnits);
  6086. return A._Utf8Decoder__useTextDecoder(decoder, codeUnits.subarray(start, end));
  6087. },
  6088. _Utf8Decoder__useTextDecoder(decoder, codeUnits) {
  6089. var t1, exception;
  6090. try {
  6091. t1 = decoder.decode(codeUnits);
  6092. return t1;
  6093. } catch (exception) {
  6094. }
  6095. return null;
  6096. },
  6097. Base64Codec__checkPadding(source, sourceIndex, sourceEnd, firstPadding, paddingCount, $length) {
  6098. if (B.JSInt_methods.$mod($length, 4) !== 0)
  6099. throw A.wrapException(A.FormatException$("Invalid base64 padding, padded length must be multiple of four, is " + $length, source, sourceEnd));
  6100. if (firstPadding + paddingCount !== $length)
  6101. throw A.wrapException(A.FormatException$("Invalid base64 padding, '=' not at the end", source, sourceIndex));
  6102. if (paddingCount > 2)
  6103. throw A.wrapException(A.FormatException$("Invalid base64 padding, more than two '=' characters", source, sourceIndex));
  6104. },
  6105. _Base64Encoder_encodeChunk(alphabet, bytes, start, end, isLast, output, outputIndex, state) {
  6106. var t1, i, byteOr, byte, outputIndex0, outputIndex1,
  6107. bits = state >>> 2,
  6108. expectedChars = 3 - (state & 3);
  6109. for (t1 = J.getInterceptor$asx(bytes), i = start, byteOr = 0; i < end; ++i) {
  6110. byte = t1.$index(bytes, i);
  6111. byteOr = (byteOr | byte) >>> 0;
  6112. bits = (bits << 8 | byte) & 16777215;
  6113. --expectedChars;
  6114. if (expectedChars === 0) {
  6115. outputIndex0 = outputIndex + 1;
  6116. output[outputIndex] = alphabet.charCodeAt(bits >>> 18 & 63);
  6117. outputIndex = outputIndex0 + 1;
  6118. output[outputIndex0] = alphabet.charCodeAt(bits >>> 12 & 63);
  6119. outputIndex0 = outputIndex + 1;
  6120. output[outputIndex] = alphabet.charCodeAt(bits >>> 6 & 63);
  6121. outputIndex = outputIndex0 + 1;
  6122. output[outputIndex0] = alphabet.charCodeAt(bits & 63);
  6123. bits = 0;
  6124. expectedChars = 3;
  6125. }
  6126. }
  6127. if (byteOr >= 0 && byteOr <= 255) {
  6128. if (isLast && expectedChars < 3) {
  6129. outputIndex0 = outputIndex + 1;
  6130. outputIndex1 = outputIndex0 + 1;
  6131. if (3 - expectedChars === 1) {
  6132. output[outputIndex] = alphabet.charCodeAt(bits >>> 2 & 63);
  6133. output[outputIndex0] = alphabet.charCodeAt(bits << 4 & 63);
  6134. output[outputIndex1] = 61;
  6135. output[outputIndex1 + 1] = 61;
  6136. } else {
  6137. output[outputIndex] = alphabet.charCodeAt(bits >>> 10 & 63);
  6138. output[outputIndex0] = alphabet.charCodeAt(bits >>> 4 & 63);
  6139. output[outputIndex1] = alphabet.charCodeAt(bits << 2 & 63);
  6140. output[outputIndex1 + 1] = 61;
  6141. }
  6142. return 0;
  6143. }
  6144. return (bits << 2 | 3 - expectedChars) >>> 0;
  6145. }
  6146. for (i = start; i < end;) {
  6147. byte = t1.$index(bytes, i);
  6148. if (byte < 0 || byte > 255)
  6149. break;
  6150. ++i;
  6151. }
  6152. throw A.wrapException(A.ArgumentError$value(bytes, "Not a byte value at index " + i + ": 0x" + J.toRadixString$1$n(t1.$index(bytes, i), 16), null));
  6153. },
  6154. JsonUnsupportedObjectError$(unsupportedObject, cause, partialResult) {
  6155. return new A.JsonUnsupportedObjectError(unsupportedObject, cause);
  6156. },
  6157. _defaultToEncodable(object) {
  6158. return object.toJson$0();
  6159. },
  6160. _JsonStringStringifier$(_sink, _toEncodable) {
  6161. return new A._JsonStringStringifier(_sink, [], A.convert___defaultToEncodable$closure());
  6162. },
  6163. _JsonStringStringifier_stringify(object, toEncodable, indent) {
  6164. var t1,
  6165. output = new A.StringBuffer(""),
  6166. stringifier = A._JsonStringStringifier$(output, toEncodable);
  6167. stringifier.writeObject$1(object);
  6168. t1 = output._contents;
  6169. return t1.charCodeAt(0) == 0 ? t1 : t1;
  6170. },
  6171. _Utf8Decoder_errorDescription(state) {
  6172. switch (state) {
  6173. case 65:
  6174. return "Missing extension byte";
  6175. case 67:
  6176. return "Unexpected extension byte";
  6177. case 69:
  6178. return "Invalid UTF-8 byte";
  6179. case 71:
  6180. return "Overlong encoding";
  6181. case 73:
  6182. return "Out of unicode range";
  6183. case 75:
  6184. return "Encoded surrogate";
  6185. case 77:
  6186. return "Unfinished UTF-8 octet sequence";
  6187. default:
  6188. return "";
  6189. }
  6190. },
  6191. _JsonMap: function _JsonMap(t0, t1) {
  6192. this._original = t0;
  6193. this._processed = t1;
  6194. this._data = null;
  6195. },
  6196. _JsonMap_values_closure: function _JsonMap_values_closure(t0) {
  6197. this.$this = t0;
  6198. },
  6199. _JsonMap_addAll_closure: function _JsonMap_addAll_closure(t0) {
  6200. this.$this = t0;
  6201. },
  6202. _JsonMapKeyIterable: function _JsonMapKeyIterable(t0) {
  6203. this._convert$_parent = t0;
  6204. },
  6205. _Utf8Decoder__decoder_closure: function _Utf8Decoder__decoder_closure() {
  6206. },
  6207. _Utf8Decoder__decoderNonfatal_closure: function _Utf8Decoder__decoderNonfatal_closure() {
  6208. },
  6209. AsciiCodec: function AsciiCodec() {
  6210. },
  6211. _UnicodeSubsetEncoder: function _UnicodeSubsetEncoder() {
  6212. },
  6213. AsciiEncoder: function AsciiEncoder(t0) {
  6214. this._subsetMask = t0;
  6215. },
  6216. Base64Codec: function Base64Codec() {
  6217. },
  6218. Base64Encoder: function Base64Encoder() {
  6219. },
  6220. _Base64Encoder: function _Base64Encoder(t0) {
  6221. this._convert$_state = 0;
  6222. this._alphabet = t0;
  6223. },
  6224. _Base64EncoderSink: function _Base64EncoderSink() {
  6225. },
  6226. _Utf8Base64EncoderSink: function _Utf8Base64EncoderSink(t0, t1) {
  6227. this._sink = t0;
  6228. this._encoder = t1;
  6229. },
  6230. ByteConversionSink: function ByteConversionSink() {
  6231. },
  6232. Codec: function Codec() {
  6233. },
  6234. Converter: function Converter() {
  6235. },
  6236. Encoding: function Encoding() {
  6237. },
  6238. JsonUnsupportedObjectError: function JsonUnsupportedObjectError(t0, t1) {
  6239. this.unsupportedObject = t0;
  6240. this.cause = t1;
  6241. },
  6242. JsonCyclicError: function JsonCyclicError(t0, t1) {
  6243. this.unsupportedObject = t0;
  6244. this.cause = t1;
  6245. },
  6246. JsonCodec: function JsonCodec() {
  6247. },
  6248. JsonEncoder: function JsonEncoder(t0) {
  6249. this._toEncodable = t0;
  6250. },
  6251. JsonDecoder: function JsonDecoder(t0) {
  6252. this._reviver = t0;
  6253. },
  6254. _JsonStringifier: function _JsonStringifier() {
  6255. },
  6256. _JsonStringifier_writeMap_closure: function _JsonStringifier_writeMap_closure(t0, t1) {
  6257. this._box_0 = t0;
  6258. this.keyValueList = t1;
  6259. },
  6260. _JsonStringStringifier: function _JsonStringStringifier(t0, t1, t2) {
  6261. this._sink = t0;
  6262. this._seen = t1;
  6263. this._toEncodable = t2;
  6264. },
  6265. StringConversionSink: function StringConversionSink() {
  6266. },
  6267. _StringSinkConversionSink: function _StringSinkConversionSink(t0) {
  6268. this._stringSink = t0;
  6269. },
  6270. _StringCallbackSink: function _StringCallbackSink(t0, t1) {
  6271. this._convert$_callback = t0;
  6272. this._stringSink = t1;
  6273. },
  6274. _Utf8StringSinkAdapter: function _Utf8StringSinkAdapter(t0, t1, t2) {
  6275. this._decoder = t0;
  6276. this._sink = t1;
  6277. this._stringSink = t2;
  6278. },
  6279. Utf8Codec: function Utf8Codec() {
  6280. },
  6281. Utf8Encoder: function Utf8Encoder() {
  6282. },
  6283. _Utf8Encoder: function _Utf8Encoder(t0) {
  6284. this._bufferIndex = 0;
  6285. this._buffer = t0;
  6286. },
  6287. Utf8Decoder: function Utf8Decoder(t0) {
  6288. this._allowMalformed = t0;
  6289. },
  6290. _Utf8Decoder: function _Utf8Decoder(t0) {
  6291. this.allowMalformed = t0;
  6292. this._convert$_state = 16;
  6293. this._charOrIndex = 0;
  6294. },
  6295. identityHashCode(object) {
  6296. return A.objectHashCode(object);
  6297. },
  6298. Function_apply($function, positionalArguments) {
  6299. return A.Primitives_applyFunction($function, positionalArguments, null);
  6300. },
  6301. Expando$() {
  6302. return new A.Expando(new WeakMap());
  6303. },
  6304. Expando__checkType(object) {
  6305. if (A._isBool(object) || typeof object == "number" || typeof object == "string" || object instanceof A._Record)
  6306. A.Expando__badExpandoKey(object);
  6307. },
  6308. Expando__badExpandoKey(object) {
  6309. throw A.wrapException(A.ArgumentError$value(object, "object", "Expandos are not allowed on strings, numbers, bools, records or null"));
  6310. },
  6311. int_parse(source, radix) {
  6312. var value = A.Primitives_parseInt(source, radix);
  6313. if (value != null)
  6314. return value;
  6315. throw A.wrapException(A.FormatException$(source, null, null));
  6316. },
  6317. double_parse(source) {
  6318. var value = A.Primitives_parseDouble(source);
  6319. if (value != null)
  6320. return value;
  6321. throw A.wrapException(A.FormatException$("Invalid double", source, null));
  6322. },
  6323. Error__throw(error, stackTrace) {
  6324. error = A.wrapException(error);
  6325. error.stack = stackTrace.toString$0(0);
  6326. throw error;
  6327. throw A.wrapException("unreachable");
  6328. },
  6329. List_List$filled($length, fill, growable, $E) {
  6330. var i,
  6331. result = growable ? J.JSArray_JSArray$growable($length, $E) : J.JSArray_JSArray$fixed($length, $E);
  6332. if ($length !== 0 && fill != null)
  6333. for (i = 0; i < result.length; ++i)
  6334. result[i] = fill;
  6335. return result;
  6336. },
  6337. List_List$from(elements, growable, $E) {
  6338. var t1,
  6339. list = A._setArrayType([], $E._eval$1("JSArray<0>"));
  6340. for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();)
  6341. list.push(t1.get$current(t1));
  6342. if (growable)
  6343. return list;
  6344. return J.JSArray_markFixedList(list);
  6345. },
  6346. List_List$of(elements, growable, $E) {
  6347. var t1;
  6348. if (growable)
  6349. return A.List_List$_of(elements, $E);
  6350. t1 = J.JSArray_markFixedList(A.List_List$_of(elements, $E));
  6351. return t1;
  6352. },
  6353. List_List$_of(elements, $E) {
  6354. var list, t1;
  6355. if (Array.isArray(elements))
  6356. return A._setArrayType(elements.slice(0), $E._eval$1("JSArray<0>"));
  6357. list = A._setArrayType([], $E._eval$1("JSArray<0>"));
  6358. for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();)
  6359. list.push(t1.get$current(t1));
  6360. return list;
  6361. },
  6362. List_List$unmodifiable(elements, $E) {
  6363. return J.JSArray_markUnmodifiableList(A.List_List$from(elements, false, $E));
  6364. },
  6365. String_String$fromCharCodes(charCodes, start, end) {
  6366. var t1, t2, maxLength, array, len;
  6367. A.RangeError_checkNotNegative(start, "start");
  6368. t1 = end == null;
  6369. t2 = !t1;
  6370. if (t2) {
  6371. maxLength = end - start;
  6372. if (maxLength < 0)
  6373. throw A.wrapException(A.RangeError$range(end, start, null, "end", null));
  6374. if (maxLength === 0)
  6375. return "";
  6376. }
  6377. if (Array.isArray(charCodes)) {
  6378. array = charCodes;
  6379. len = array.length;
  6380. if (t1)
  6381. end = len;
  6382. return A.Primitives_stringFromCharCodes(start > 0 || end < len ? array.slice(start, end) : array);
  6383. }
  6384. if (type$.NativeUint8List._is(charCodes))
  6385. return A.String__stringFromUint8List(charCodes, start, end);
  6386. if (t2)
  6387. charCodes = J.take$1$ax(charCodes, end);
  6388. if (start > 0)
  6389. charCodes = J.skip$1$ax(charCodes, start);
  6390. return A.Primitives_stringFromCharCodes(A.List_List$of(charCodes, true, type$.int));
  6391. },
  6392. String_String$fromCharCode(charCode) {
  6393. return A.Primitives_stringFromCharCode(charCode);
  6394. },
  6395. String__stringFromUint8List(charCodes, start, endOrNull) {
  6396. var len = charCodes.length;
  6397. if (start >= len)
  6398. return "";
  6399. return A.Primitives_stringFromNativeUint8List(charCodes, start, endOrNull == null || endOrNull > len ? len : endOrNull);
  6400. },
  6401. RegExp_RegExp(source, multiLine) {
  6402. return new A.JSSyntaxRegExp(source, A.JSSyntaxRegExp_makeNative(source, multiLine, true, false, false, false));
  6403. },
  6404. identical(a, b) {
  6405. return a == null ? b == null : a === b;
  6406. },
  6407. StringBuffer__writeAll(string, objects, separator) {
  6408. var iterator = J.get$iterator$ax(objects);
  6409. if (!iterator.moveNext$0())
  6410. return string;
  6411. if (separator.length === 0) {
  6412. do
  6413. string += A.S(iterator.get$current(iterator));
  6414. while (iterator.moveNext$0());
  6415. } else {
  6416. string += A.S(iterator.get$current(iterator));
  6417. for (; iterator.moveNext$0();)
  6418. string = string + separator + A.S(iterator.get$current(iterator));
  6419. }
  6420. return string;
  6421. },
  6422. NoSuchMethodError_NoSuchMethodError$withInvocation(receiver, invocation) {
  6423. return new A.NoSuchMethodError(receiver, invocation.get$memberName(), invocation.get$positionalArguments(), invocation.get$namedArguments());
  6424. },
  6425. Uri_base() {
  6426. var cachedUri, uri,
  6427. current = A.Primitives_currentUri();
  6428. if (current == null)
  6429. throw A.wrapException(A.UnsupportedError$("'Uri.base' is not supported"));
  6430. cachedUri = $.Uri__cachedBaseUri;
  6431. if (cachedUri != null && current === $.Uri__cachedBaseString)
  6432. return cachedUri;
  6433. uri = A.Uri_parse(current);
  6434. $.Uri__cachedBaseUri = uri;
  6435. $.Uri__cachedBaseString = current;
  6436. return uri;
  6437. },
  6438. _Uri__uriEncode(canonicalTable, text, encoding, spaceToPlus) {
  6439. var t1, bytes, i, t2, byte,
  6440. _s16_ = "0123456789ABCDEF";
  6441. if (encoding === B.C_Utf8Codec) {
  6442. t1 = $.$get$_Uri__needsNoEncoding();
  6443. t1 = t1._nativeRegExp.test(text);
  6444. } else
  6445. t1 = false;
  6446. if (t1)
  6447. return text;
  6448. bytes = B.C_Utf8Encoder.convert$1(text);
  6449. for (t1 = bytes.length, i = 0, t2 = ""; i < t1; ++i) {
  6450. byte = bytes[i];
  6451. if (byte < 128 && (canonicalTable[byte >>> 4] & 1 << (byte & 15)) !== 0)
  6452. t2 += A.Primitives_stringFromCharCode(byte);
  6453. else
  6454. t2 = spaceToPlus && byte === 32 ? t2 + "+" : t2 + "%" + _s16_[byte >>> 4 & 15] + _s16_[byte & 15];
  6455. }
  6456. return t2.charCodeAt(0) == 0 ? t2 : t2;
  6457. },
  6458. StackTrace_current() {
  6459. return A.getTraceFromException(new Error());
  6460. },
  6461. DateTime__fourDigits(n) {
  6462. var absN = Math.abs(n),
  6463. sign = n < 0 ? "-" : "";
  6464. if (absN >= 1000)
  6465. return "" + n;
  6466. if (absN >= 100)
  6467. return sign + "0" + absN;
  6468. if (absN >= 10)
  6469. return sign + "00" + absN;
  6470. return sign + "000" + absN;
  6471. },
  6472. DateTime__threeDigits(n) {
  6473. if (n >= 100)
  6474. return "" + n;
  6475. if (n >= 10)
  6476. return "0" + n;
  6477. return "00" + n;
  6478. },
  6479. DateTime__twoDigits(n) {
  6480. if (n >= 10)
  6481. return "" + n;
  6482. return "0" + n;
  6483. },
  6484. Duration$(milliseconds) {
  6485. return new A.Duration(1000 * milliseconds);
  6486. },
  6487. Error_safeToString(object) {
  6488. if (typeof object == "number" || A._isBool(object) || object == null)
  6489. return J.toString$0$(object);
  6490. if (typeof object == "string")
  6491. return JSON.stringify(object);
  6492. return A.Primitives_safeToString(object);
  6493. },
  6494. Error_throwWithStackTrace(error, stackTrace) {
  6495. A.checkNotNullable(error, "error", type$.Object);
  6496. A.checkNotNullable(stackTrace, "stackTrace", type$.StackTrace);
  6497. A.Error__throw(error, stackTrace);
  6498. },
  6499. AssertionError$(message) {
  6500. return new A.AssertionError(message);
  6501. },
  6502. ArgumentError$(message, $name) {
  6503. return new A.ArgumentError(false, null, $name, message);
  6504. },
  6505. ArgumentError$value(value, $name, message) {
  6506. return new A.ArgumentError(true, value, $name, message);
  6507. },
  6508. ArgumentError_checkNotNull(argument, $name) {
  6509. return argument;
  6510. },
  6511. RangeError$(message) {
  6512. var _null = null;
  6513. return new A.RangeError(_null, _null, false, _null, _null, message);
  6514. },
  6515. RangeError$value(value, $name, message) {
  6516. return new A.RangeError(null, null, true, value, $name, message == null ? "Value not in range" : message);
  6517. },
  6518. RangeError$range(invalidValue, minValue, maxValue, $name, message) {
  6519. return new A.RangeError(minValue, maxValue, true, invalidValue, $name, message == null ? "Invalid value" : message);
  6520. },
  6521. RangeError_checkValueInInterval(value, minValue, maxValue, $name) {
  6522. if (value < minValue || value > maxValue)
  6523. throw A.wrapException(A.RangeError$range(value, minValue, maxValue, $name, null));
  6524. return value;
  6525. },
  6526. RangeError_checkValidRange(start, end, $length) {
  6527. if (0 > start || start > $length)
  6528. throw A.wrapException(A.RangeError$range(start, 0, $length, "start", null));
  6529. if (end != null) {
  6530. if (start > end || end > $length)
  6531. throw A.wrapException(A.RangeError$range(end, start, $length, "end", null));
  6532. return end;
  6533. }
  6534. return $length;
  6535. },
  6536. RangeError_checkNotNegative(value, $name) {
  6537. if (value < 0)
  6538. throw A.wrapException(A.RangeError$range(value, 0, null, $name, null));
  6539. return value;
  6540. },
  6541. IndexError$withLength(invalidValue, $length, indexable, message, $name) {
  6542. return new A.IndexError($length, true, invalidValue, $name, "Index out of range");
  6543. },
  6544. IndexError_check(index, $length, indexable, message, $name) {
  6545. if (0 > index || index >= $length)
  6546. throw A.wrapException(A.IndexError$withLength(index, $length, indexable, message, $name == null ? "index" : $name));
  6547. return index;
  6548. },
  6549. UnsupportedError$(message) {
  6550. return new A.UnsupportedError(message);
  6551. },
  6552. UnimplementedError$(message) {
  6553. return new A.UnimplementedError(message);
  6554. },
  6555. StateError$(message) {
  6556. return new A.StateError(message);
  6557. },
  6558. ConcurrentModificationError$(modifiedObject) {
  6559. return new A.ConcurrentModificationError(modifiedObject);
  6560. },
  6561. FormatException$(message, source, offset) {
  6562. return new A.FormatException(message, source, offset);
  6563. },
  6564. Iterable_Iterable$generate(count, generator, $E) {
  6565. if (count <= 0)
  6566. return new A.EmptyIterable($E._eval$1("EmptyIterable<0>"));
  6567. return new A._GeneratorIterable(count, generator, $E._eval$1("_GeneratorIterable<0>"));
  6568. },
  6569. Iterable_iterableToShortString(iterable, leftDelimiter, rightDelimiter) {
  6570. var parts, t1;
  6571. if (A.isToStringVisiting(iterable)) {
  6572. if (leftDelimiter === "(" && rightDelimiter === ")")
  6573. return "(...)";
  6574. return leftDelimiter + "..." + rightDelimiter;
  6575. }
  6576. parts = A._setArrayType([], type$.JSArray_String);
  6577. $.toStringVisiting.push(iterable);
  6578. try {
  6579. A._iterablePartsToStrings(iterable, parts);
  6580. } finally {
  6581. $.toStringVisiting.pop();
  6582. }
  6583. t1 = A.StringBuffer__writeAll(leftDelimiter, parts, ", ") + rightDelimiter;
  6584. return t1.charCodeAt(0) == 0 ? t1 : t1;
  6585. },
  6586. Iterable_iterableToFullString(iterable, leftDelimiter, rightDelimiter) {
  6587. var buffer, t1;
  6588. if (A.isToStringVisiting(iterable))
  6589. return leftDelimiter + "..." + rightDelimiter;
  6590. buffer = new A.StringBuffer(leftDelimiter);
  6591. $.toStringVisiting.push(iterable);
  6592. try {
  6593. t1 = buffer;
  6594. t1._contents = A.StringBuffer__writeAll(t1._contents, iterable, ", ");
  6595. } finally {
  6596. $.toStringVisiting.pop();
  6597. }
  6598. buffer._contents += rightDelimiter;
  6599. t1 = buffer._contents;
  6600. return t1.charCodeAt(0) == 0 ? t1 : t1;
  6601. },
  6602. _iterablePartsToStrings(iterable, parts) {
  6603. var next, ultimateString, penultimateString, penultimate, ultimate, ultimate0, elision,
  6604. it = iterable.get$iterator(iterable),
  6605. $length = 0, count = 0;
  6606. while (true) {
  6607. if (!($length < 80 || count < 3))
  6608. break;
  6609. if (!it.moveNext$0())
  6610. return;
  6611. next = A.S(it.get$current(it));
  6612. parts.push(next);
  6613. $length += next.length + 2;
  6614. ++count;
  6615. }
  6616. if (!it.moveNext$0()) {
  6617. if (count <= 5)
  6618. return;
  6619. ultimateString = parts.pop();
  6620. penultimateString = parts.pop();
  6621. } else {
  6622. penultimate = it.get$current(it);
  6623. ++count;
  6624. if (!it.moveNext$0()) {
  6625. if (count <= 4) {
  6626. parts.push(A.S(penultimate));
  6627. return;
  6628. }
  6629. ultimateString = A.S(penultimate);
  6630. penultimateString = parts.pop();
  6631. $length += ultimateString.length + 2;
  6632. } else {
  6633. ultimate = it.get$current(it);
  6634. ++count;
  6635. for (; it.moveNext$0(); penultimate = ultimate, ultimate = ultimate0) {
  6636. ultimate0 = it.get$current(it);
  6637. ++count;
  6638. if (count > 100) {
  6639. while (true) {
  6640. if (!($length > 75 && count > 3))
  6641. break;
  6642. $length -= parts.pop().length + 2;
  6643. --count;
  6644. }
  6645. parts.push("...");
  6646. return;
  6647. }
  6648. }
  6649. penultimateString = A.S(penultimate);
  6650. ultimateString = A.S(ultimate);
  6651. $length += ultimateString.length + penultimateString.length + 4;
  6652. }
  6653. }
  6654. if (count > parts.length + 2) {
  6655. $length += 5;
  6656. elision = "...";
  6657. } else
  6658. elision = null;
  6659. while (true) {
  6660. if (!($length > 80 && parts.length > 3))
  6661. break;
  6662. $length -= parts.pop().length + 2;
  6663. if (elision == null) {
  6664. $length += 5;
  6665. elision = "...";
  6666. }
  6667. }
  6668. if (elision != null)
  6669. parts.push(elision);
  6670. parts.push(penultimateString);
  6671. parts.push(ultimateString);
  6672. },
  6673. Map_castFrom(source, $K, $V, K2, V2) {
  6674. 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>"));
  6675. },
  6676. Object_hash(object1, object2, object3, object4) {
  6677. var t1;
  6678. if (B.C_SentinelValue === object3) {
  6679. t1 = J.get$hashCode$(object1);
  6680. object2 = J.get$hashCode$(object2);
  6681. return A.SystemHash_finish(A.SystemHash_combine(A.SystemHash_combine($.$get$_hashSeed(), t1), object2));
  6682. }
  6683. if (B.C_SentinelValue === object4) {
  6684. t1 = J.get$hashCode$(object1);
  6685. object2 = J.get$hashCode$(object2);
  6686. object3 = J.get$hashCode$(object3);
  6687. return A.SystemHash_finish(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine($.$get$_hashSeed(), t1), object2), object3));
  6688. }
  6689. t1 = J.get$hashCode$(object1);
  6690. object2 = J.get$hashCode$(object2);
  6691. object3 = J.get$hashCode$(object3);
  6692. object4 = J.get$hashCode$(object4);
  6693. object4 = A.SystemHash_finish(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine($.$get$_hashSeed(), t1), object2), object3), object4));
  6694. return object4;
  6695. },
  6696. Object_hashAll(objects) {
  6697. var t1, _i,
  6698. hash = $.$get$_hashSeed();
  6699. for (t1 = objects.length, _i = 0; _i < objects.length; objects.length === t1 || (0, A.throwConcurrentModificationError)(objects), ++_i)
  6700. hash = A.SystemHash_combine(hash, J.get$hashCode$(objects[_i]));
  6701. return A.SystemHash_finish(hash);
  6702. },
  6703. print(object) {
  6704. var line = A.S(object),
  6705. toZone = $.printToZone;
  6706. if (toZone == null)
  6707. A.printString(line);
  6708. else
  6709. toZone.call$1(line);
  6710. },
  6711. Set_Set$unmodifiable(elements, $E) {
  6712. return new A.UnmodifiableSetView(A.LinkedHashSet_LinkedHashSet$of(elements, $E), $E._eval$1("UnmodifiableSetView<0>"));
  6713. },
  6714. Set_castFrom(source, newSet, $S, $T) {
  6715. return new A.CastSet(source, newSet, $S._eval$1("@<0>")._bind$1($T)._eval$1("CastSet<1,2>"));
  6716. },
  6717. _combineSurrogatePair(start, end) {
  6718. return 65536 + ((start & 1023) << 10) + (end & 1023);
  6719. },
  6720. Uri_Uri$dataFromString($content, encoding, mimeType) {
  6721. var encodingName, t1,
  6722. buffer = new A.StringBuffer(""),
  6723. indices = A._setArrayType([-1], type$.JSArray_int);
  6724. if (encoding == null)
  6725. encodingName = null;
  6726. else
  6727. encodingName = "utf-8";
  6728. if (encoding == null)
  6729. encoding = B.C_AsciiCodec;
  6730. A.UriData__writeUri(mimeType, encodingName, null, buffer, indices);
  6731. indices.push(buffer._contents.length);
  6732. buffer._contents += ",";
  6733. A.UriData__uriEncodeBytes(B.List_42A, encoding.encode$1($content), buffer);
  6734. t1 = buffer._contents;
  6735. return new A.UriData(t1.charCodeAt(0) == 0 ? t1 : t1, indices, null).get$uri();
  6736. },
  6737. Uri_parse(uri) {
  6738. var delta, indices, schemeEnd, hostStart, portStart, pathStart, queryStart, fragmentStart, isSimple, scheme, t1, t2, schemeAuth, queryStart0, pathStart0, userInfoStart, userInfo, host, portNumber, port, path, query, _null = null,
  6739. end = uri.length;
  6740. if (end >= 5) {
  6741. delta = ((uri.charCodeAt(4) ^ 58) * 3 | uri.charCodeAt(0) ^ 100 | uri.charCodeAt(1) ^ 97 | uri.charCodeAt(2) ^ 116 | uri.charCodeAt(3) ^ 97) >>> 0;
  6742. if (delta === 0)
  6743. return A.UriData__parse(end < end ? B.JSString_methods.substring$2(uri, 0, end) : uri, 5, _null).get$uri();
  6744. else if (delta === 32)
  6745. return A.UriData__parse(B.JSString_methods.substring$2(uri, 5, end), 0, _null).get$uri();
  6746. }
  6747. indices = A.List_List$filled(8, 0, false, type$.int);
  6748. indices[0] = 0;
  6749. indices[1] = -1;
  6750. indices[2] = -1;
  6751. indices[7] = -1;
  6752. indices[3] = 0;
  6753. indices[4] = 0;
  6754. indices[5] = end;
  6755. indices[6] = end;
  6756. if (A._scan(uri, 0, end, 0, indices) >= 14)
  6757. indices[7] = end;
  6758. schemeEnd = indices[1];
  6759. if (schemeEnd >= 0)
  6760. if (A._scan(uri, 0, schemeEnd, 20, indices) === 20)
  6761. indices[7] = schemeEnd;
  6762. hostStart = indices[2] + 1;
  6763. portStart = indices[3];
  6764. pathStart = indices[4];
  6765. queryStart = indices[5];
  6766. fragmentStart = indices[6];
  6767. if (fragmentStart < queryStart)
  6768. queryStart = fragmentStart;
  6769. if (pathStart < hostStart)
  6770. pathStart = queryStart;
  6771. else if (pathStart <= schemeEnd)
  6772. pathStart = schemeEnd + 1;
  6773. if (portStart < hostStart)
  6774. portStart = pathStart;
  6775. isSimple = indices[7] < 0;
  6776. if (isSimple)
  6777. if (hostStart > schemeEnd + 3) {
  6778. scheme = _null;
  6779. isSimple = false;
  6780. } else {
  6781. t1 = portStart > 0;
  6782. if (t1 && portStart + 1 === pathStart) {
  6783. scheme = _null;
  6784. isSimple = false;
  6785. } else {
  6786. if (!B.JSString_methods.startsWith$2(uri, "\\", pathStart))
  6787. if (hostStart > 0)
  6788. t2 = B.JSString_methods.startsWith$2(uri, "\\", hostStart - 1) || B.JSString_methods.startsWith$2(uri, "\\", hostStart - 2);
  6789. else
  6790. t2 = false;
  6791. else
  6792. t2 = true;
  6793. if (t2) {
  6794. scheme = _null;
  6795. isSimple = false;
  6796. } else {
  6797. if (!(queryStart < end && queryStart === pathStart + 2 && B.JSString_methods.startsWith$2(uri, "..", pathStart)))
  6798. t2 = queryStart > pathStart + 2 && B.JSString_methods.startsWith$2(uri, "/..", queryStart - 3);
  6799. else
  6800. t2 = true;
  6801. if (t2)
  6802. scheme = _null;
  6803. else if (schemeEnd === 4)
  6804. if (B.JSString_methods.startsWith$2(uri, "file", 0)) {
  6805. if (hostStart <= 0) {
  6806. if (!B.JSString_methods.startsWith$2(uri, "/", pathStart)) {
  6807. schemeAuth = "file:///";
  6808. delta = 3;
  6809. } else {
  6810. schemeAuth = "file://";
  6811. delta = 2;
  6812. }
  6813. uri = schemeAuth + B.JSString_methods.substring$2(uri, pathStart, end);
  6814. schemeEnd -= 0;
  6815. t1 = delta - 0;
  6816. queryStart += t1;
  6817. fragmentStart += t1;
  6818. end = uri.length;
  6819. hostStart = 7;
  6820. portStart = 7;
  6821. pathStart = 7;
  6822. } else if (pathStart === queryStart) {
  6823. ++fragmentStart;
  6824. queryStart0 = queryStart + 1;
  6825. uri = B.JSString_methods.replaceRange$3(uri, pathStart, queryStart, "/");
  6826. ++end;
  6827. queryStart = queryStart0;
  6828. }
  6829. scheme = "file";
  6830. } else if (B.JSString_methods.startsWith$2(uri, "http", 0)) {
  6831. if (t1 && portStart + 3 === pathStart && B.JSString_methods.startsWith$2(uri, "80", portStart + 1)) {
  6832. fragmentStart -= 3;
  6833. pathStart0 = pathStart - 3;
  6834. queryStart -= 3;
  6835. uri = B.JSString_methods.replaceRange$3(uri, portStart, pathStart, "");
  6836. end -= 3;
  6837. pathStart = pathStart0;
  6838. }
  6839. scheme = "http";
  6840. } else
  6841. scheme = _null;
  6842. else if (schemeEnd === 5 && B.JSString_methods.startsWith$2(uri, "https", 0)) {
  6843. if (t1 && portStart + 4 === pathStart && B.JSString_methods.startsWith$2(uri, "443", portStart + 1)) {
  6844. fragmentStart -= 4;
  6845. pathStart0 = pathStart - 4;
  6846. queryStart -= 4;
  6847. uri = B.JSString_methods.replaceRange$3(uri, portStart, pathStart, "");
  6848. end -= 3;
  6849. pathStart = pathStart0;
  6850. }
  6851. scheme = "https";
  6852. } else
  6853. scheme = _null;
  6854. isSimple = !t2;
  6855. }
  6856. }
  6857. }
  6858. else
  6859. scheme = _null;
  6860. if (isSimple) {
  6861. if (end < uri.length) {
  6862. uri = B.JSString_methods.substring$2(uri, 0, end);
  6863. schemeEnd -= 0;
  6864. hostStart -= 0;
  6865. portStart -= 0;
  6866. pathStart -= 0;
  6867. queryStart -= 0;
  6868. fragmentStart -= 0;
  6869. }
  6870. return new A._SimpleUri(uri, schemeEnd, hostStart, portStart, pathStart, queryStart, fragmentStart, scheme);
  6871. }
  6872. if (scheme == null)
  6873. if (schemeEnd > 0)
  6874. scheme = A._Uri__makeScheme(uri, 0, schemeEnd);
  6875. else {
  6876. if (schemeEnd === 0)
  6877. A._Uri__fail(uri, 0, "Invalid empty scheme");
  6878. scheme = "";
  6879. }
  6880. if (hostStart > 0) {
  6881. userInfoStart = schemeEnd + 3;
  6882. userInfo = userInfoStart < hostStart ? A._Uri__makeUserInfo(uri, userInfoStart, hostStart - 1) : "";
  6883. host = A._Uri__makeHost(uri, hostStart, portStart, false);
  6884. t1 = portStart + 1;
  6885. if (t1 < pathStart) {
  6886. portNumber = A.Primitives_parseInt(B.JSString_methods.substring$2(uri, t1, pathStart), _null);
  6887. port = A._Uri__makePort(portNumber == null ? A.throwExpression(A.FormatException$("Invalid port", uri, t1)) : portNumber, scheme);
  6888. } else
  6889. port = _null;
  6890. } else {
  6891. port = _null;
  6892. host = port;
  6893. userInfo = "";
  6894. }
  6895. path = A._Uri__makePath(uri, pathStart, queryStart, _null, scheme, host != null);
  6896. query = queryStart < fragmentStart ? A._Uri__makeQuery(uri, queryStart + 1, fragmentStart, _null) : _null;
  6897. return A._Uri$_internal(scheme, userInfo, host, port, path, query, fragmentStart < end ? A._Uri__makeFragment(uri, fragmentStart + 1, end) : _null);
  6898. },
  6899. Uri_decodeComponent(encodedComponent) {
  6900. return A._Uri__uriDecode(encodedComponent, 0, encodedComponent.length, B.C_Utf8Codec, false);
  6901. },
  6902. Uri__parseIPv4Address(host, start, end) {
  6903. var i, partStart, partIndex, char, part, partIndex0,
  6904. _s43_ = "IPv4 address should contain exactly 4 parts",
  6905. _s37_ = "each part must be in the range 0..255",
  6906. error = new A.Uri__parseIPv4Address_error(host),
  6907. result = new Uint8Array(4);
  6908. for (i = start, partStart = i, partIndex = 0; i < end; ++i) {
  6909. char = host.charCodeAt(i);
  6910. if (char !== 46) {
  6911. if ((char ^ 48) > 9)
  6912. error.call$2("invalid character", i);
  6913. } else {
  6914. if (partIndex === 3)
  6915. error.call$2(_s43_, i);
  6916. part = A.int_parse(B.JSString_methods.substring$2(host, partStart, i), null);
  6917. if (part > 255)
  6918. error.call$2(_s37_, partStart);
  6919. partIndex0 = partIndex + 1;
  6920. result[partIndex] = part;
  6921. partStart = i + 1;
  6922. partIndex = partIndex0;
  6923. }
  6924. }
  6925. if (partIndex !== 3)
  6926. error.call$2(_s43_, end);
  6927. part = A.int_parse(B.JSString_methods.substring$2(host, partStart, end), null);
  6928. if (part > 255)
  6929. error.call$2(_s37_, partStart);
  6930. result[partIndex] = part;
  6931. return result;
  6932. },
  6933. Uri_parseIPv6Address(host, start, end) {
  6934. var parts, i, partStart, wildcardSeen, seenDot, char, atEnd, t1, last, bytes, wildCardLength, index, value, j, _null = null,
  6935. error = new A.Uri_parseIPv6Address_error(host),
  6936. parseHex = new A.Uri_parseIPv6Address_parseHex(error, host);
  6937. if (host.length < 2)
  6938. error.call$2("address is too short", _null);
  6939. parts = A._setArrayType([], type$.JSArray_int);
  6940. for (i = start, partStart = i, wildcardSeen = false, seenDot = false; i < end; ++i) {
  6941. char = host.charCodeAt(i);
  6942. if (char === 58) {
  6943. if (i === start) {
  6944. ++i;
  6945. if (host.charCodeAt(i) !== 58)
  6946. error.call$2("invalid start colon.", i);
  6947. partStart = i;
  6948. }
  6949. if (i === partStart) {
  6950. if (wildcardSeen)
  6951. error.call$2("only one wildcard `::` is allowed", i);
  6952. parts.push(-1);
  6953. wildcardSeen = true;
  6954. } else
  6955. parts.push(parseHex.call$2(partStart, i));
  6956. partStart = i + 1;
  6957. } else if (char === 46)
  6958. seenDot = true;
  6959. }
  6960. if (parts.length === 0)
  6961. error.call$2("too few parts", _null);
  6962. atEnd = partStart === end;
  6963. t1 = B.JSArray_methods.get$last(parts);
  6964. if (atEnd && t1 !== -1)
  6965. error.call$2("expected a part after last `:`", end);
  6966. if (!atEnd)
  6967. if (!seenDot)
  6968. parts.push(parseHex.call$2(partStart, end));
  6969. else {
  6970. last = A.Uri__parseIPv4Address(host, partStart, end);
  6971. parts.push((last[0] << 8 | last[1]) >>> 0);
  6972. parts.push((last[2] << 8 | last[3]) >>> 0);
  6973. }
  6974. if (wildcardSeen) {
  6975. if (parts.length > 7)
  6976. error.call$2("an address with a wildcard must have less than 7 parts", _null);
  6977. } else if (parts.length !== 8)
  6978. error.call$2("an address without a wildcard must contain exactly 8 parts", _null);
  6979. bytes = new Uint8Array(16);
  6980. for (t1 = parts.length, wildCardLength = 9 - t1, i = 0, index = 0; i < t1; ++i) {
  6981. value = parts[i];
  6982. if (value === -1)
  6983. for (j = 0; j < wildCardLength; ++j) {
  6984. bytes[index] = 0;
  6985. bytes[index + 1] = 0;
  6986. index += 2;
  6987. }
  6988. else {
  6989. bytes[index] = B.JSInt_methods._shrOtherPositive$1(value, 8);
  6990. bytes[index + 1] = value & 255;
  6991. index += 2;
  6992. }
  6993. }
  6994. return bytes;
  6995. },
  6996. _Uri$_internal(scheme, _userInfo, _host, _port, path, _query, _fragment) {
  6997. return new A._Uri(scheme, _userInfo, _host, _port, path, _query, _fragment);
  6998. },
  6999. _Uri__Uri(host, path, pathSegments, scheme) {
  7000. var userInfo, query, fragment, port, isFile, t1, hasAuthority, t2, _null = null;
  7001. scheme = scheme == null ? "" : A._Uri__makeScheme(scheme, 0, scheme.length);
  7002. userInfo = A._Uri__makeUserInfo(_null, 0, 0);
  7003. host = A._Uri__makeHost(host, 0, host == null ? 0 : host.length, false);
  7004. query = A._Uri__makeQuery(_null, 0, 0, _null);
  7005. fragment = A._Uri__makeFragment(_null, 0, 0);
  7006. port = A._Uri__makePort(_null, scheme);
  7007. isFile = scheme === "file";
  7008. if (host == null)
  7009. t1 = userInfo.length !== 0 || port != null || isFile;
  7010. else
  7011. t1 = false;
  7012. if (t1)
  7013. host = "";
  7014. t1 = host == null;
  7015. hasAuthority = !t1;
  7016. path = A._Uri__makePath(path, 0, path == null ? 0 : path.length, pathSegments, scheme, hasAuthority);
  7017. t2 = scheme.length === 0;
  7018. if (t2 && t1 && !B.JSString_methods.startsWith$1(path, "/"))
  7019. path = A._Uri__normalizeRelativePath(path, !t2 || hasAuthority);
  7020. else
  7021. path = A._Uri__removeDotSegments(path);
  7022. return A._Uri$_internal(scheme, userInfo, t1 && B.JSString_methods.startsWith$1(path, "//") ? "" : host, port, path, query, fragment);
  7023. },
  7024. _Uri__defaultPort(scheme) {
  7025. if (scheme === "http")
  7026. return 80;
  7027. if (scheme === "https")
  7028. return 443;
  7029. return 0;
  7030. },
  7031. _Uri__fail(uri, index, message) {
  7032. throw A.wrapException(A.FormatException$(message, uri, index));
  7033. },
  7034. _Uri__Uri$file(path, windows) {
  7035. return windows ? A._Uri__makeWindowsFileUrl(path, false) : A._Uri__makeFileUri(path, false);
  7036. },
  7037. _Uri__checkNonWindowsPathReservedCharacters(segments, argumentError) {
  7038. var t1, _i, segment, t2, t3;
  7039. for (t1 = segments.length, _i = 0; _i < t1; ++_i) {
  7040. segment = segments[_i];
  7041. t2 = J.getInterceptor$asx(segment);
  7042. t3 = t2.get$length(segment);
  7043. if (0 > t3)
  7044. A.throwExpression(A.RangeError$range(0, 0, t2.get$length(segment), null, null));
  7045. if (A.stringContainsUnchecked(segment, "/", 0)) {
  7046. t1 = A.UnsupportedError$("Illegal path character " + A.S(segment));
  7047. throw A.wrapException(t1);
  7048. }
  7049. }
  7050. },
  7051. _Uri__checkWindowsPathReservedCharacters(segments, argumentError, firstSegment) {
  7052. var t1, t2, t3, t4;
  7053. 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();) {
  7054. t3 = t1.__internal$_current;
  7055. if (t3 == null)
  7056. t3 = t2._as(t3);
  7057. t4 = A.RegExp_RegExp('["*/:<>?\\\\|]', false);
  7058. if (A.stringContainsUnchecked(t3, t4, 0))
  7059. if (argumentError)
  7060. throw A.wrapException(A.ArgumentError$("Illegal character in path", null));
  7061. else
  7062. throw A.wrapException(A.UnsupportedError$("Illegal character in path: " + t3));
  7063. }
  7064. },
  7065. _Uri__checkWindowsDriveLetter(charCode, argumentError) {
  7066. var t1,
  7067. _s21_ = "Illegal drive letter ";
  7068. if (!(65 <= charCode && charCode <= 90))
  7069. t1 = 97 <= charCode && charCode <= 122;
  7070. else
  7071. t1 = true;
  7072. if (t1)
  7073. return;
  7074. if (argumentError)
  7075. throw A.wrapException(A.ArgumentError$(_s21_ + A.String_String$fromCharCode(charCode), null));
  7076. else
  7077. throw A.wrapException(A.UnsupportedError$(_s21_ + A.String_String$fromCharCode(charCode)));
  7078. },
  7079. _Uri__makeFileUri(path, slashTerminated) {
  7080. var _null = null,
  7081. segments = A._setArrayType(path.split("/"), type$.JSArray_String);
  7082. if (B.JSString_methods.startsWith$1(path, "/"))
  7083. return A._Uri__Uri(_null, _null, segments, "file");
  7084. else
  7085. return A._Uri__Uri(_null, _null, segments, _null);
  7086. },
  7087. _Uri__makeWindowsFileUrl(path, slashTerminated) {
  7088. var t1, pathSegments, pathStart, hostPart, _s1_ = "\\", _null = null, _s4_ = "file";
  7089. if (B.JSString_methods.startsWith$1(path, "\\\\?\\"))
  7090. if (B.JSString_methods.startsWith$2(path, "UNC\\", 4))
  7091. path = B.JSString_methods.replaceRange$3(path, 0, 7, _s1_);
  7092. else {
  7093. path = B.JSString_methods.substring$1(path, 4);
  7094. if (path.length < 3 || path.charCodeAt(1) !== 58 || path.charCodeAt(2) !== 92)
  7095. throw A.wrapException(A.ArgumentError$value(path, "path", "Windows paths with \\\\?\\ prefix must be absolute"));
  7096. }
  7097. else
  7098. path = A.stringReplaceAllUnchecked(path, "/", _s1_);
  7099. t1 = path.length;
  7100. if (t1 > 1 && path.charCodeAt(1) === 58) {
  7101. A._Uri__checkWindowsDriveLetter(path.charCodeAt(0), true);
  7102. if (t1 === 2 || path.charCodeAt(2) !== 92)
  7103. throw A.wrapException(A.ArgumentError$value(path, "path", "Windows paths with drive letter must be absolute"));
  7104. pathSegments = A._setArrayType(path.split(_s1_), type$.JSArray_String);
  7105. A._Uri__checkWindowsPathReservedCharacters(pathSegments, true, 1);
  7106. return A._Uri__Uri(_null, _null, pathSegments, _s4_);
  7107. }
  7108. if (B.JSString_methods.startsWith$1(path, _s1_))
  7109. if (B.JSString_methods.startsWith$2(path, _s1_, 1)) {
  7110. pathStart = B.JSString_methods.indexOf$2(path, _s1_, 2);
  7111. t1 = pathStart < 0;
  7112. hostPart = t1 ? B.JSString_methods.substring$1(path, 2) : B.JSString_methods.substring$2(path, 2, pathStart);
  7113. pathSegments = A._setArrayType((t1 ? "" : B.JSString_methods.substring$1(path, pathStart + 1)).split(_s1_), type$.JSArray_String);
  7114. A._Uri__checkWindowsPathReservedCharacters(pathSegments, true, 0);
  7115. return A._Uri__Uri(hostPart, _null, pathSegments, _s4_);
  7116. } else {
  7117. pathSegments = A._setArrayType(path.split(_s1_), type$.JSArray_String);
  7118. A._Uri__checkWindowsPathReservedCharacters(pathSegments, true, 0);
  7119. return A._Uri__Uri(_null, _null, pathSegments, _s4_);
  7120. }
  7121. else {
  7122. pathSegments = A._setArrayType(path.split(_s1_), type$.JSArray_String);
  7123. A._Uri__checkWindowsPathReservedCharacters(pathSegments, true, 0);
  7124. return A._Uri__Uri(_null, _null, pathSegments, _null);
  7125. }
  7126. },
  7127. _Uri__makePort(port, scheme) {
  7128. if (port != null && port === A._Uri__defaultPort(scheme))
  7129. return null;
  7130. return port;
  7131. },
  7132. _Uri__makeHost(host, start, end, strictIPv6) {
  7133. var t1, t2, index, zoneIDstart, zoneID, i;
  7134. if (host == null)
  7135. return null;
  7136. if (start === end)
  7137. return "";
  7138. if (host.charCodeAt(start) === 91) {
  7139. t1 = end - 1;
  7140. if (host.charCodeAt(t1) !== 93)
  7141. A._Uri__fail(host, start, "Missing end `]` to match `[` in host");
  7142. t2 = start + 1;
  7143. index = A._Uri__checkZoneID(host, t2, t1);
  7144. if (index < t1) {
  7145. zoneIDstart = index + 1;
  7146. zoneID = A._Uri__normalizeZoneID(host, B.JSString_methods.startsWith$2(host, "25", zoneIDstart) ? index + 3 : zoneIDstart, t1, "%25");
  7147. } else
  7148. zoneID = "";
  7149. A.Uri_parseIPv6Address(host, t2, index);
  7150. return B.JSString_methods.substring$2(host, start, index).toLowerCase() + zoneID + "]";
  7151. }
  7152. for (i = start; i < end; ++i)
  7153. if (host.charCodeAt(i) === 58) {
  7154. index = B.JSString_methods.indexOf$2(host, "%", start);
  7155. index = index >= start && index < end ? index : end;
  7156. if (index < end) {
  7157. zoneIDstart = index + 1;
  7158. zoneID = A._Uri__normalizeZoneID(host, B.JSString_methods.startsWith$2(host, "25", zoneIDstart) ? index + 3 : zoneIDstart, end, "%25");
  7159. } else
  7160. zoneID = "";
  7161. A.Uri_parseIPv6Address(host, start, index);
  7162. return "[" + B.JSString_methods.substring$2(host, start, index) + zoneID + "]";
  7163. }
  7164. return A._Uri__normalizeRegName(host, start, end);
  7165. },
  7166. _Uri__checkZoneID(host, start, end) {
  7167. var index = B.JSString_methods.indexOf$2(host, "%", start);
  7168. return index >= start && index < end ? index : end;
  7169. },
  7170. _Uri__normalizeZoneID(host, start, end, prefix) {
  7171. var index, sectionStart, isNormalized, char, replacement, t1, t2, tail, sourceLength, slice,
  7172. buffer = prefix !== "" ? new A.StringBuffer(prefix) : null;
  7173. for (index = start, sectionStart = index, isNormalized = true; index < end;) {
  7174. char = host.charCodeAt(index);
  7175. if (char === 37) {
  7176. replacement = A._Uri__normalizeEscape(host, index, true);
  7177. t1 = replacement == null;
  7178. if (t1 && isNormalized) {
  7179. index += 3;
  7180. continue;
  7181. }
  7182. if (buffer == null)
  7183. buffer = new A.StringBuffer("");
  7184. t2 = buffer._contents += B.JSString_methods.substring$2(host, sectionStart, index);
  7185. if (t1)
  7186. replacement = B.JSString_methods.substring$2(host, index, index + 3);
  7187. else if (replacement === "%")
  7188. A._Uri__fail(host, index, "ZoneID should not contain % anymore");
  7189. buffer._contents = t2 + replacement;
  7190. index += 3;
  7191. sectionStart = index;
  7192. isNormalized = true;
  7193. } else if (char < 127 && (B.List_piR[char >>> 4] & 1 << (char & 15)) !== 0) {
  7194. if (isNormalized && 65 <= char && 90 >= char) {
  7195. if (buffer == null)
  7196. buffer = new A.StringBuffer("");
  7197. if (sectionStart < index) {
  7198. buffer._contents += B.JSString_methods.substring$2(host, sectionStart, index);
  7199. sectionStart = index;
  7200. }
  7201. isNormalized = false;
  7202. }
  7203. ++index;
  7204. } else {
  7205. if ((char & 64512) === 55296 && index + 1 < end) {
  7206. tail = host.charCodeAt(index + 1);
  7207. if ((tail & 64512) === 56320) {
  7208. char = (char & 1023) << 10 | tail & 1023 | 65536;
  7209. sourceLength = 2;
  7210. } else
  7211. sourceLength = 1;
  7212. } else
  7213. sourceLength = 1;
  7214. slice = B.JSString_methods.substring$2(host, sectionStart, index);
  7215. if (buffer == null) {
  7216. buffer = new A.StringBuffer("");
  7217. t1 = buffer;
  7218. } else
  7219. t1 = buffer;
  7220. t1._contents += slice;
  7221. t2 = A._Uri__escapeChar(char);
  7222. t1._contents += t2;
  7223. index += sourceLength;
  7224. sectionStart = index;
  7225. }
  7226. }
  7227. if (buffer == null)
  7228. return B.JSString_methods.substring$2(host, start, end);
  7229. if (sectionStart < end) {
  7230. slice = B.JSString_methods.substring$2(host, sectionStart, end);
  7231. buffer._contents += slice;
  7232. }
  7233. t1 = buffer._contents;
  7234. return t1.charCodeAt(0) == 0 ? t1 : t1;
  7235. },
  7236. _Uri__normalizeRegName(host, start, end) {
  7237. var index, sectionStart, buffer, isNormalized, char, replacement, t1, slice, t2, sourceLength, tail;
  7238. for (index = start, sectionStart = index, buffer = null, isNormalized = true; index < end;) {
  7239. char = host.charCodeAt(index);
  7240. if (char === 37) {
  7241. replacement = A._Uri__normalizeEscape(host, index, true);
  7242. t1 = replacement == null;
  7243. if (t1 && isNormalized) {
  7244. index += 3;
  7245. continue;
  7246. }
  7247. if (buffer == null)
  7248. buffer = new A.StringBuffer("");
  7249. slice = B.JSString_methods.substring$2(host, sectionStart, index);
  7250. if (!isNormalized)
  7251. slice = slice.toLowerCase();
  7252. t2 = buffer._contents += slice;
  7253. if (t1) {
  7254. replacement = B.JSString_methods.substring$2(host, index, index + 3);
  7255. sourceLength = 3;
  7256. } else if (replacement === "%") {
  7257. replacement = "%25";
  7258. sourceLength = 1;
  7259. } else
  7260. sourceLength = 3;
  7261. buffer._contents = t2 + replacement;
  7262. index += sourceLength;
  7263. sectionStart = index;
  7264. isNormalized = true;
  7265. } else if (char < 127 && (B.List_4AN[char >>> 4] & 1 << (char & 15)) !== 0) {
  7266. if (isNormalized && 65 <= char && 90 >= char) {
  7267. if (buffer == null)
  7268. buffer = new A.StringBuffer("");
  7269. if (sectionStart < index) {
  7270. buffer._contents += B.JSString_methods.substring$2(host, sectionStart, index);
  7271. sectionStart = index;
  7272. }
  7273. isNormalized = false;
  7274. }
  7275. ++index;
  7276. } else if (char <= 93 && (B.List_VOY[char >>> 4] & 1 << (char & 15)) !== 0)
  7277. A._Uri__fail(host, index, "Invalid character");
  7278. else {
  7279. if ((char & 64512) === 55296 && index + 1 < end) {
  7280. tail = host.charCodeAt(index + 1);
  7281. if ((tail & 64512) === 56320) {
  7282. char = (char & 1023) << 10 | tail & 1023 | 65536;
  7283. sourceLength = 2;
  7284. } else
  7285. sourceLength = 1;
  7286. } else
  7287. sourceLength = 1;
  7288. slice = B.JSString_methods.substring$2(host, sectionStart, index);
  7289. if (!isNormalized)
  7290. slice = slice.toLowerCase();
  7291. if (buffer == null) {
  7292. buffer = new A.StringBuffer("");
  7293. t1 = buffer;
  7294. } else
  7295. t1 = buffer;
  7296. t1._contents += slice;
  7297. t2 = A._Uri__escapeChar(char);
  7298. t1._contents += t2;
  7299. index += sourceLength;
  7300. sectionStart = index;
  7301. }
  7302. }
  7303. if (buffer == null)
  7304. return B.JSString_methods.substring$2(host, start, end);
  7305. if (sectionStart < end) {
  7306. slice = B.JSString_methods.substring$2(host, sectionStart, end);
  7307. if (!isNormalized)
  7308. slice = slice.toLowerCase();
  7309. buffer._contents += slice;
  7310. }
  7311. t1 = buffer._contents;
  7312. return t1.charCodeAt(0) == 0 ? t1 : t1;
  7313. },
  7314. _Uri__makeScheme(scheme, start, end) {
  7315. var i, containsUpperCase, codeUnit;
  7316. if (start === end)
  7317. return "";
  7318. if (!A._Uri__isAlphabeticCharacter(scheme.charCodeAt(start)))
  7319. A._Uri__fail(scheme, start, "Scheme not starting with alphabetic character");
  7320. for (i = start, containsUpperCase = false; i < end; ++i) {
  7321. codeUnit = scheme.charCodeAt(i);
  7322. if (!(codeUnit < 128 && (B.List_GVy[codeUnit >>> 4] & 1 << (codeUnit & 15)) !== 0))
  7323. A._Uri__fail(scheme, i, "Illegal scheme character");
  7324. if (65 <= codeUnit && codeUnit <= 90)
  7325. containsUpperCase = true;
  7326. }
  7327. scheme = B.JSString_methods.substring$2(scheme, start, end);
  7328. return A._Uri__canonicalizeScheme(containsUpperCase ? scheme.toLowerCase() : scheme);
  7329. },
  7330. _Uri__canonicalizeScheme(scheme) {
  7331. if (scheme === "http")
  7332. return "http";
  7333. if (scheme === "file")
  7334. return "file";
  7335. if (scheme === "https")
  7336. return "https";
  7337. if (scheme === "package")
  7338. return "package";
  7339. return scheme;
  7340. },
  7341. _Uri__makeUserInfo(userInfo, start, end) {
  7342. if (userInfo == null)
  7343. return "";
  7344. return A._Uri__normalizeOrSubstring(userInfo, start, end, B.List_2jN, false, false);
  7345. },
  7346. _Uri__makePath(path, start, end, pathSegments, scheme, hasAuthority) {
  7347. var result,
  7348. isFile = scheme === "file",
  7349. ensureLeadingSlash = isFile || hasAuthority;
  7350. if (path == null) {
  7351. if (pathSegments == null)
  7352. return isFile ? "/" : "";
  7353. result = new A.MappedListIterable(pathSegments, new A._Uri__makePath_closure(), A._arrayInstanceType(pathSegments)._eval$1("MappedListIterable<1,String>")).join$1(0, "/");
  7354. } else if (pathSegments != null)
  7355. throw A.wrapException(A.ArgumentError$("Both path and pathSegments specified", null));
  7356. else
  7357. result = A._Uri__normalizeOrSubstring(path, start, end, B.List_M2I, true, true);
  7358. if (result.length === 0) {
  7359. if (isFile)
  7360. return "/";
  7361. } else if (ensureLeadingSlash && !B.JSString_methods.startsWith$1(result, "/"))
  7362. result = "/" + result;
  7363. return A._Uri__normalizePath(result, scheme, hasAuthority);
  7364. },
  7365. _Uri__normalizePath(path, scheme, hasAuthority) {
  7366. var t1 = scheme.length === 0;
  7367. if (t1 && !hasAuthority && !B.JSString_methods.startsWith$1(path, "/") && !B.JSString_methods.startsWith$1(path, "\\"))
  7368. return A._Uri__normalizeRelativePath(path, !t1 || hasAuthority);
  7369. return A._Uri__removeDotSegments(path);
  7370. },
  7371. _Uri__makeQuery(query, start, end, queryParameters) {
  7372. if (query != null)
  7373. return A._Uri__normalizeOrSubstring(query, start, end, B.List_42A, true, false);
  7374. return null;
  7375. },
  7376. _Uri__makeFragment(fragment, start, end) {
  7377. if (fragment == null)
  7378. return null;
  7379. return A._Uri__normalizeOrSubstring(fragment, start, end, B.List_42A, true, false);
  7380. },
  7381. _Uri__normalizeEscape(source, index, lowerCase) {
  7382. var firstDigit, secondDigit, firstDigitValue, secondDigitValue, value,
  7383. t1 = index + 2;
  7384. if (t1 >= source.length)
  7385. return "%";
  7386. firstDigit = source.charCodeAt(index + 1);
  7387. secondDigit = source.charCodeAt(t1);
  7388. firstDigitValue = A.hexDigitValue(firstDigit);
  7389. secondDigitValue = A.hexDigitValue(secondDigit);
  7390. if (firstDigitValue < 0 || secondDigitValue < 0)
  7391. return "%";
  7392. value = firstDigitValue * 16 + secondDigitValue;
  7393. if (value < 127 && (B.List_piR[B.JSInt_methods._shrOtherPositive$1(value, 4)] & 1 << (value & 15)) !== 0)
  7394. return A.Primitives_stringFromCharCode(lowerCase && 65 <= value && 90 >= value ? (value | 32) >>> 0 : value);
  7395. if (firstDigit >= 97 || secondDigit >= 97)
  7396. return B.JSString_methods.substring$2(source, index, index + 3).toUpperCase();
  7397. return null;
  7398. },
  7399. _Uri__escapeChar(char) {
  7400. var codeUnits, flag, encodedBytes, index, byte,
  7401. _s16_ = "0123456789ABCDEF";
  7402. if (char < 128) {
  7403. codeUnits = new Uint8Array(3);
  7404. codeUnits[0] = 37;
  7405. codeUnits[1] = _s16_.charCodeAt(char >>> 4);
  7406. codeUnits[2] = _s16_.charCodeAt(char & 15);
  7407. } else {
  7408. if (char > 2047)
  7409. if (char > 65535) {
  7410. flag = 240;
  7411. encodedBytes = 4;
  7412. } else {
  7413. flag = 224;
  7414. encodedBytes = 3;
  7415. }
  7416. else {
  7417. flag = 192;
  7418. encodedBytes = 2;
  7419. }
  7420. codeUnits = new Uint8Array(3 * encodedBytes);
  7421. for (index = 0; --encodedBytes, encodedBytes >= 0; flag = 128) {
  7422. byte = B.JSInt_methods._shrReceiverPositive$1(char, 6 * encodedBytes) & 63 | flag;
  7423. codeUnits[index] = 37;
  7424. codeUnits[index + 1] = _s16_.charCodeAt(byte >>> 4);
  7425. codeUnits[index + 2] = _s16_.charCodeAt(byte & 15);
  7426. index += 3;
  7427. }
  7428. }
  7429. return A.String_String$fromCharCodes(codeUnits, 0, null);
  7430. },
  7431. _Uri__normalizeOrSubstring(component, start, end, charTable, escapeDelimiters, replaceBackslash) {
  7432. var t1 = A._Uri__normalize(component, start, end, charTable, escapeDelimiters, replaceBackslash);
  7433. return t1 == null ? B.JSString_methods.substring$2(component, start, end) : t1;
  7434. },
  7435. _Uri__normalize(component, start, end, charTable, escapeDelimiters, replaceBackslash) {
  7436. var t1, index, sectionStart, buffer, char, replacement, sourceLength, t2, tail, t3, _null = null;
  7437. for (t1 = !escapeDelimiters, index = start, sectionStart = index, buffer = _null; index < end;) {
  7438. char = component.charCodeAt(index);
  7439. if (char < 127 && (charTable[char >>> 4] & 1 << (char & 15)) !== 0)
  7440. ++index;
  7441. else {
  7442. if (char === 37) {
  7443. replacement = A._Uri__normalizeEscape(component, index, false);
  7444. if (replacement == null) {
  7445. index += 3;
  7446. continue;
  7447. }
  7448. if ("%" === replacement) {
  7449. replacement = "%25";
  7450. sourceLength = 1;
  7451. } else
  7452. sourceLength = 3;
  7453. } else if (char === 92 && replaceBackslash) {
  7454. replacement = "/";
  7455. sourceLength = 1;
  7456. } else if (t1 && char <= 93 && (B.List_VOY[char >>> 4] & 1 << (char & 15)) !== 0) {
  7457. A._Uri__fail(component, index, "Invalid character");
  7458. sourceLength = _null;
  7459. replacement = sourceLength;
  7460. } else {
  7461. if ((char & 64512) === 55296) {
  7462. t2 = index + 1;
  7463. if (t2 < end) {
  7464. tail = component.charCodeAt(t2);
  7465. if ((tail & 64512) === 56320) {
  7466. char = (char & 1023) << 10 | tail & 1023 | 65536;
  7467. sourceLength = 2;
  7468. } else
  7469. sourceLength = 1;
  7470. } else
  7471. sourceLength = 1;
  7472. } else
  7473. sourceLength = 1;
  7474. replacement = A._Uri__escapeChar(char);
  7475. }
  7476. if (buffer == null) {
  7477. buffer = new A.StringBuffer("");
  7478. t2 = buffer;
  7479. } else
  7480. t2 = buffer;
  7481. t3 = t2._contents += B.JSString_methods.substring$2(component, sectionStart, index);
  7482. t2._contents = t3 + A.S(replacement);
  7483. index += sourceLength;
  7484. sectionStart = index;
  7485. }
  7486. }
  7487. if (buffer == null)
  7488. return _null;
  7489. if (sectionStart < end) {
  7490. t1 = B.JSString_methods.substring$2(component, sectionStart, end);
  7491. buffer._contents += t1;
  7492. }
  7493. t1 = buffer._contents;
  7494. return t1.charCodeAt(0) == 0 ? t1 : t1;
  7495. },
  7496. _Uri__mayContainDotSegments(path) {
  7497. if (B.JSString_methods.startsWith$1(path, "."))
  7498. return true;
  7499. return B.JSString_methods.indexOf$1(path, "/.") !== -1;
  7500. },
  7501. _Uri__removeDotSegments(path) {
  7502. var output, t1, t2, appendSlash, _i, segment;
  7503. if (!A._Uri__mayContainDotSegments(path))
  7504. return path;
  7505. output = A._setArrayType([], type$.JSArray_String);
  7506. for (t1 = path.split("/"), t2 = t1.length, appendSlash = false, _i = 0; _i < t2; ++_i) {
  7507. segment = t1[_i];
  7508. if (J.$eq$(segment, "..")) {
  7509. if (output.length !== 0) {
  7510. output.pop();
  7511. if (output.length === 0)
  7512. output.push("");
  7513. }
  7514. appendSlash = true;
  7515. } else {
  7516. appendSlash = "." === segment;
  7517. if (!appendSlash)
  7518. output.push(segment);
  7519. }
  7520. }
  7521. if (appendSlash)
  7522. output.push("");
  7523. return B.JSArray_methods.join$1(output, "/");
  7524. },
  7525. _Uri__normalizeRelativePath(path, allowScheme) {
  7526. var output, t1, t2, appendSlash, _i, segment;
  7527. if (!A._Uri__mayContainDotSegments(path))
  7528. return !allowScheme ? A._Uri__escapeScheme(path) : path;
  7529. output = A._setArrayType([], type$.JSArray_String);
  7530. for (t1 = path.split("/"), t2 = t1.length, appendSlash = false, _i = 0; _i < t2; ++_i) {
  7531. segment = t1[_i];
  7532. if (".." === segment) {
  7533. appendSlash = output.length !== 0 && B.JSArray_methods.get$last(output) !== "..";
  7534. if (appendSlash)
  7535. output.pop();
  7536. else
  7537. output.push("..");
  7538. } else {
  7539. appendSlash = "." === segment;
  7540. if (!appendSlash)
  7541. output.push(segment);
  7542. }
  7543. }
  7544. t1 = output.length;
  7545. if (t1 !== 0)
  7546. t1 = t1 === 1 && output[0].length === 0;
  7547. else
  7548. t1 = true;
  7549. if (t1)
  7550. return "./";
  7551. if (appendSlash || B.JSArray_methods.get$last(output) === "..")
  7552. output.push("");
  7553. if (!allowScheme)
  7554. output[0] = A._Uri__escapeScheme(output[0]);
  7555. return B.JSArray_methods.join$1(output, "/");
  7556. },
  7557. _Uri__escapeScheme(path) {
  7558. var i, char,
  7559. t1 = path.length;
  7560. if (t1 >= 2 && A._Uri__isAlphabeticCharacter(path.charCodeAt(0)))
  7561. for (i = 1; i < t1; ++i) {
  7562. char = path.charCodeAt(i);
  7563. if (char === 58)
  7564. return B.JSString_methods.substring$2(path, 0, i) + "%3A" + B.JSString_methods.substring$1(path, i + 1);
  7565. if (char > 127 || (B.List_GVy[char >>> 4] & 1 << (char & 15)) === 0)
  7566. break;
  7567. }
  7568. return path;
  7569. },
  7570. _Uri__packageNameEnd(uri, path) {
  7571. if (uri.isScheme$1("package") && uri._host == null)
  7572. return A._skipPackageNameChars(path, 0, path.length);
  7573. return -1;
  7574. },
  7575. _Uri__toWindowsFilePath(uri) {
  7576. var t2, host,
  7577. segments = uri.get$pathSegments(),
  7578. t1 = segments.length,
  7579. hasDriveLetter = t1 > 0 && J.get$length$asx(segments[0]) === 2 && J.codeUnitAt$1$s(segments[0], 1) === 58;
  7580. if (hasDriveLetter) {
  7581. A._Uri__checkWindowsDriveLetter(J.codeUnitAt$1$s(segments[0], 0), false);
  7582. A._Uri__checkWindowsPathReservedCharacters(segments, false, 1);
  7583. } else
  7584. A._Uri__checkWindowsPathReservedCharacters(segments, false, 0);
  7585. t2 = uri.get$hasAbsolutePath() && !hasDriveLetter ? "" + "\\" : "";
  7586. if (uri.get$hasAuthority()) {
  7587. host = uri.get$host();
  7588. if (host.length !== 0)
  7589. t2 = t2 + "\\" + host + "\\";
  7590. }
  7591. t2 = A.StringBuffer__writeAll(t2, segments, "\\");
  7592. t1 = hasDriveLetter && t1 === 1 ? t2 + "\\" : t2;
  7593. return t1.charCodeAt(0) == 0 ? t1 : t1;
  7594. },
  7595. _Uri__hexCharPairToByte(s, pos) {
  7596. var byte, i, charCode;
  7597. for (byte = 0, i = 0; i < 2; ++i) {
  7598. charCode = s.charCodeAt(pos + i);
  7599. if (48 <= charCode && charCode <= 57)
  7600. byte = byte * 16 + charCode - 48;
  7601. else {
  7602. charCode |= 32;
  7603. if (97 <= charCode && charCode <= 102)
  7604. byte = byte * 16 + charCode - 87;
  7605. else
  7606. throw A.wrapException(A.ArgumentError$("Invalid URL encoding", null));
  7607. }
  7608. }
  7609. return byte;
  7610. },
  7611. _Uri__uriDecode(text, start, end, encoding, plusToSpace) {
  7612. var simple, codeUnit, t1, bytes,
  7613. i = start;
  7614. while (true) {
  7615. if (!(i < end)) {
  7616. simple = true;
  7617. break;
  7618. }
  7619. codeUnit = text.charCodeAt(i);
  7620. if (codeUnit <= 127)
  7621. t1 = codeUnit === 37;
  7622. else
  7623. t1 = true;
  7624. if (t1) {
  7625. simple = false;
  7626. break;
  7627. }
  7628. ++i;
  7629. }
  7630. if (simple)
  7631. if (B.C_Utf8Codec === encoding)
  7632. return B.JSString_methods.substring$2(text, start, end);
  7633. else
  7634. bytes = new A.CodeUnits(B.JSString_methods.substring$2(text, start, end));
  7635. else {
  7636. bytes = A._setArrayType([], type$.JSArray_int);
  7637. for (t1 = text.length, i = start; i < end; ++i) {
  7638. codeUnit = text.charCodeAt(i);
  7639. if (codeUnit > 127)
  7640. throw A.wrapException(A.ArgumentError$("Illegal percent encoding in URI", null));
  7641. if (codeUnit === 37) {
  7642. if (i + 3 > t1)
  7643. throw A.wrapException(A.ArgumentError$("Truncated URI", null));
  7644. bytes.push(A._Uri__hexCharPairToByte(text, i + 1));
  7645. i += 2;
  7646. } else
  7647. bytes.push(codeUnit);
  7648. }
  7649. }
  7650. return B.Utf8Decoder_false.convert$1(bytes);
  7651. },
  7652. _Uri__isAlphabeticCharacter(codeUnit) {
  7653. var lowerCase = codeUnit | 32;
  7654. return 97 <= lowerCase && lowerCase <= 122;
  7655. },
  7656. UriData__writeUri(mimeType, charsetName, parameters, buffer, indices) {
  7657. var t1, slashIndex;
  7658. if (mimeType != null)
  7659. t1 = 10 === mimeType.length && A._caseInsensitiveCompareStart("text/plain", mimeType, 0) >= 0;
  7660. else
  7661. t1 = true;
  7662. if (t1)
  7663. mimeType = "";
  7664. if (mimeType.length === 0 || mimeType === "application/octet-stream")
  7665. t1 = buffer._contents += mimeType;
  7666. else {
  7667. slashIndex = A.UriData__validateMimeType(mimeType);
  7668. if (slashIndex < 0)
  7669. throw A.wrapException(A.ArgumentError$value(mimeType, "mimeType", "Invalid MIME type"));
  7670. t1 = A._Uri__uriEncode(B.List_oyU, B.JSString_methods.substring$2(mimeType, 0, slashIndex), B.C_Utf8Codec, false);
  7671. t1 = buffer._contents += t1;
  7672. buffer._contents = t1 + "/";
  7673. t1 = A._Uri__uriEncode(B.List_oyU, B.JSString_methods.substring$1(mimeType, slashIndex + 1), B.C_Utf8Codec, false);
  7674. t1 = buffer._contents += t1;
  7675. }
  7676. if (charsetName != null) {
  7677. indices.push(t1.length);
  7678. indices.push(buffer._contents.length + 8);
  7679. buffer._contents += ";charset=";
  7680. t1 = A._Uri__uriEncode(B.List_oyU, charsetName, B.C_Utf8Codec, false);
  7681. buffer._contents += t1;
  7682. }
  7683. },
  7684. UriData__validateMimeType(mimeType) {
  7685. var t1, slashIndex, i;
  7686. for (t1 = mimeType.length, slashIndex = -1, i = 0; i < t1; ++i) {
  7687. if (mimeType.charCodeAt(i) !== 47)
  7688. continue;
  7689. if (slashIndex < 0) {
  7690. slashIndex = i;
  7691. continue;
  7692. }
  7693. return -1;
  7694. }
  7695. return slashIndex;
  7696. },
  7697. UriData__parse(text, start, sourceUri) {
  7698. var t1, i, slashIndex, char, equalsIndex, lastSeparator, t2, data,
  7699. _s17_ = "Invalid MIME type",
  7700. indices = A._setArrayType([start - 1], type$.JSArray_int);
  7701. for (t1 = text.length, i = start, slashIndex = -1, char = null; i < t1; ++i) {
  7702. char = text.charCodeAt(i);
  7703. if (char === 44 || char === 59)
  7704. break;
  7705. if (char === 47) {
  7706. if (slashIndex < 0) {
  7707. slashIndex = i;
  7708. continue;
  7709. }
  7710. throw A.wrapException(A.FormatException$(_s17_, text, i));
  7711. }
  7712. }
  7713. if (slashIndex < 0 && i > start)
  7714. throw A.wrapException(A.FormatException$(_s17_, text, i));
  7715. for (; char !== 44;) {
  7716. indices.push(i);
  7717. ++i;
  7718. for (equalsIndex = -1; i < t1; ++i) {
  7719. char = text.charCodeAt(i);
  7720. if (char === 61) {
  7721. if (equalsIndex < 0)
  7722. equalsIndex = i;
  7723. } else if (char === 59 || char === 44)
  7724. break;
  7725. }
  7726. if (equalsIndex >= 0)
  7727. indices.push(equalsIndex);
  7728. else {
  7729. lastSeparator = B.JSArray_methods.get$last(indices);
  7730. if (char !== 44 || i !== lastSeparator + 7 || !B.JSString_methods.startsWith$2(text, "base64", lastSeparator + 1))
  7731. throw A.wrapException(A.FormatException$("Expecting '='", text, i));
  7732. break;
  7733. }
  7734. }
  7735. indices.push(i);
  7736. t2 = i + 1;
  7737. if ((indices.length & 1) === 1)
  7738. text = B.C_Base64Codec.normalize$3(text, t2, t1);
  7739. else {
  7740. data = A._Uri__normalize(text, t2, t1, B.List_42A, true, false);
  7741. if (data != null)
  7742. text = B.JSString_methods.replaceRange$3(text, t2, t1, data);
  7743. }
  7744. return new A.UriData(text, indices, sourceUri);
  7745. },
  7746. UriData__uriEncodeBytes(canonicalTable, bytes, buffer) {
  7747. var t1, byteOr, i, byte, t2,
  7748. _s16_ = "0123456789ABCDEF";
  7749. for (t1 = bytes.length, byteOr = 0, i = 0; i < t1; ++i) {
  7750. byte = bytes[i];
  7751. byteOr |= byte;
  7752. if (byte < 128 && (canonicalTable[byte >>> 4] & 1 << (byte & 15)) !== 0) {
  7753. t2 = A.Primitives_stringFromCharCode(byte);
  7754. buffer._contents += t2;
  7755. } else {
  7756. t2 = A.Primitives_stringFromCharCode(37);
  7757. buffer._contents += t2;
  7758. t2 = A.Primitives_stringFromCharCode(_s16_.charCodeAt(byte >>> 4));
  7759. buffer._contents += t2;
  7760. t2 = A.Primitives_stringFromCharCode(_s16_.charCodeAt(byte & 15));
  7761. buffer._contents += t2;
  7762. }
  7763. }
  7764. if ((byteOr & 4294967040) !== 0)
  7765. for (i = 0; i < t1; ++i) {
  7766. byte = bytes[i];
  7767. if (byte > 255)
  7768. throw A.wrapException(A.ArgumentError$value(byte, "non-byte value", null));
  7769. }
  7770. },
  7771. _createTables() {
  7772. var _i, t1, t2, t3, b,
  7773. _s77_ = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-._~!$&'()*+,;=",
  7774. _s1_ = ".", _s1_0 = ":", _s1_1 = "/", _s1_2 = "\\", _s1_3 = "?", _s1_4 = "#", _s2_ = "/\\",
  7775. tables = J.JSArray_JSArray$allocateGrowable(22, type$.Uint8List);
  7776. for (_i = 0; _i < 22; ++_i)
  7777. tables[_i] = new Uint8Array(96);
  7778. t1 = new A._createTables_build(tables);
  7779. t2 = new A._createTables_setChars();
  7780. t3 = new A._createTables_setRange();
  7781. b = t1.call$2(0, 225);
  7782. t2.call$3(b, _s77_, 1);
  7783. t2.call$3(b, _s1_, 14);
  7784. t2.call$3(b, _s1_0, 34);
  7785. t2.call$3(b, _s1_1, 3);
  7786. t2.call$3(b, _s1_2, 227);
  7787. t2.call$3(b, _s1_3, 172);
  7788. t2.call$3(b, _s1_4, 205);
  7789. b = t1.call$2(14, 225);
  7790. t2.call$3(b, _s77_, 1);
  7791. t2.call$3(b, _s1_, 15);
  7792. t2.call$3(b, _s1_0, 34);
  7793. t2.call$3(b, _s2_, 234);
  7794. t2.call$3(b, _s1_3, 172);
  7795. t2.call$3(b, _s1_4, 205);
  7796. b = t1.call$2(15, 225);
  7797. t2.call$3(b, _s77_, 1);
  7798. t2.call$3(b, "%", 225);
  7799. t2.call$3(b, _s1_0, 34);
  7800. t2.call$3(b, _s1_1, 9);
  7801. t2.call$3(b, _s1_2, 233);
  7802. t2.call$3(b, _s1_3, 172);
  7803. t2.call$3(b, _s1_4, 205);
  7804. b = t1.call$2(1, 225);
  7805. t2.call$3(b, _s77_, 1);
  7806. t2.call$3(b, _s1_0, 34);
  7807. t2.call$3(b, _s1_1, 10);
  7808. t2.call$3(b, _s1_2, 234);
  7809. t2.call$3(b, _s1_3, 172);
  7810. t2.call$3(b, _s1_4, 205);
  7811. b = t1.call$2(2, 235);
  7812. t2.call$3(b, _s77_, 139);
  7813. t2.call$3(b, _s1_1, 131);
  7814. t2.call$3(b, _s1_2, 131);
  7815. t2.call$3(b, _s1_, 146);
  7816. t2.call$3(b, _s1_3, 172);
  7817. t2.call$3(b, _s1_4, 205);
  7818. b = t1.call$2(3, 235);
  7819. t2.call$3(b, _s77_, 11);
  7820. t2.call$3(b, _s1_1, 68);
  7821. t2.call$3(b, _s1_2, 68);
  7822. t2.call$3(b, _s1_, 18);
  7823. t2.call$3(b, _s1_3, 172);
  7824. t2.call$3(b, _s1_4, 205);
  7825. b = t1.call$2(4, 229);
  7826. t2.call$3(b, _s77_, 5);
  7827. t3.call$3(b, "AZ", 229);
  7828. t2.call$3(b, _s1_0, 102);
  7829. t2.call$3(b, "@", 68);
  7830. t2.call$3(b, "[", 232);
  7831. t2.call$3(b, _s1_1, 138);
  7832. t2.call$3(b, _s1_2, 138);
  7833. t2.call$3(b, _s1_3, 172);
  7834. t2.call$3(b, _s1_4, 205);
  7835. b = t1.call$2(5, 229);
  7836. t2.call$3(b, _s77_, 5);
  7837. t3.call$3(b, "AZ", 229);
  7838. t2.call$3(b, _s1_0, 102);
  7839. t2.call$3(b, "@", 68);
  7840. t2.call$3(b, _s1_1, 138);
  7841. t2.call$3(b, _s1_2, 138);
  7842. t2.call$3(b, _s1_3, 172);
  7843. t2.call$3(b, _s1_4, 205);
  7844. b = t1.call$2(6, 231);
  7845. t3.call$3(b, "19", 7);
  7846. t2.call$3(b, "@", 68);
  7847. t2.call$3(b, _s1_1, 138);
  7848. t2.call$3(b, _s1_2, 138);
  7849. t2.call$3(b, _s1_3, 172);
  7850. t2.call$3(b, _s1_4, 205);
  7851. b = t1.call$2(7, 231);
  7852. t3.call$3(b, "09", 7);
  7853. t2.call$3(b, "@", 68);
  7854. t2.call$3(b, _s1_1, 138);
  7855. t2.call$3(b, _s1_2, 138);
  7856. t2.call$3(b, _s1_3, 172);
  7857. t2.call$3(b, _s1_4, 205);
  7858. t2.call$3(t1.call$2(8, 8), "]", 5);
  7859. b = t1.call$2(9, 235);
  7860. t2.call$3(b, _s77_, 11);
  7861. t2.call$3(b, _s1_, 16);
  7862. t2.call$3(b, _s2_, 234);
  7863. t2.call$3(b, _s1_3, 172);
  7864. t2.call$3(b, _s1_4, 205);
  7865. b = t1.call$2(16, 235);
  7866. t2.call$3(b, _s77_, 11);
  7867. t2.call$3(b, _s1_, 17);
  7868. t2.call$3(b, _s2_, 234);
  7869. t2.call$3(b, _s1_3, 172);
  7870. t2.call$3(b, _s1_4, 205);
  7871. b = t1.call$2(17, 235);
  7872. t2.call$3(b, _s77_, 11);
  7873. t2.call$3(b, _s1_1, 9);
  7874. t2.call$3(b, _s1_2, 233);
  7875. t2.call$3(b, _s1_3, 172);
  7876. t2.call$3(b, _s1_4, 205);
  7877. b = t1.call$2(10, 235);
  7878. t2.call$3(b, _s77_, 11);
  7879. t2.call$3(b, _s1_, 18);
  7880. t2.call$3(b, _s1_1, 10);
  7881. t2.call$3(b, _s1_2, 234);
  7882. t2.call$3(b, _s1_3, 172);
  7883. t2.call$3(b, _s1_4, 205);
  7884. b = t1.call$2(18, 235);
  7885. t2.call$3(b, _s77_, 11);
  7886. t2.call$3(b, _s1_, 19);
  7887. t2.call$3(b, _s2_, 234);
  7888. t2.call$3(b, _s1_3, 172);
  7889. t2.call$3(b, _s1_4, 205);
  7890. b = t1.call$2(19, 235);
  7891. t2.call$3(b, _s77_, 11);
  7892. t2.call$3(b, _s2_, 234);
  7893. t2.call$3(b, _s1_3, 172);
  7894. t2.call$3(b, _s1_4, 205);
  7895. b = t1.call$2(11, 235);
  7896. t2.call$3(b, _s77_, 11);
  7897. t2.call$3(b, _s1_1, 10);
  7898. t2.call$3(b, _s1_2, 234);
  7899. t2.call$3(b, _s1_3, 172);
  7900. t2.call$3(b, _s1_4, 205);
  7901. b = t1.call$2(12, 236);
  7902. t2.call$3(b, _s77_, 12);
  7903. t2.call$3(b, _s1_3, 12);
  7904. t2.call$3(b, _s1_4, 205);
  7905. b = t1.call$2(13, 237);
  7906. t2.call$3(b, _s77_, 13);
  7907. t2.call$3(b, _s1_3, 13);
  7908. t3.call$3(t1.call$2(20, 245), "az", 21);
  7909. b = t1.call$2(21, 245);
  7910. t3.call$3(b, "az", 21);
  7911. t3.call$3(b, "09", 21);
  7912. t2.call$3(b, "+-.", 21);
  7913. return tables;
  7914. },
  7915. _scan(uri, start, end, state, indices) {
  7916. var i, table, char, transition,
  7917. tables = $.$get$_scannerTables();
  7918. for (i = start; i < end; ++i) {
  7919. table = tables[state];
  7920. char = uri.charCodeAt(i) ^ 96;
  7921. transition = table[char > 95 ? 31 : char];
  7922. state = transition & 31;
  7923. indices[transition >>> 5] = i;
  7924. }
  7925. return state;
  7926. },
  7927. _SimpleUri__packageNameEnd(uri) {
  7928. if (uri._schemeEnd === 7 && B.JSString_methods.startsWith$1(uri._uri, "package") && uri._hostStart <= 0)
  7929. return A._skipPackageNameChars(uri._uri, uri._pathStart, uri._queryStart);
  7930. return -1;
  7931. },
  7932. _skipPackageNameChars(source, start, end) {
  7933. var i, dots, char;
  7934. for (i = start, dots = 0; i < end; ++i) {
  7935. char = source.charCodeAt(i);
  7936. if (char === 47)
  7937. return dots !== 0 ? i : -1;
  7938. if (char === 37 || char === 58)
  7939. return -1;
  7940. dots |= char ^ 46;
  7941. }
  7942. return -1;
  7943. },
  7944. _caseInsensitiveCompareStart(prefix, string, start) {
  7945. var t1, result, i, stringChar, delta, lowerChar;
  7946. for (t1 = prefix.length, result = 0, i = 0; i < t1; ++i) {
  7947. stringChar = string.charCodeAt(start + i);
  7948. delta = prefix.charCodeAt(i) ^ stringChar;
  7949. if (delta !== 0) {
  7950. if (delta === 32) {
  7951. lowerChar = stringChar | delta;
  7952. if (97 <= lowerChar && lowerChar <= 122) {
  7953. result = 32;
  7954. continue;
  7955. }
  7956. }
  7957. return -1;
  7958. }
  7959. }
  7960. return result;
  7961. },
  7962. NoSuchMethodError_toString_closure: function NoSuchMethodError_toString_closure(t0, t1) {
  7963. this._box_0 = t0;
  7964. this.sb = t1;
  7965. },
  7966. DateTime: function DateTime(t0, t1) {
  7967. this._value = t0;
  7968. this.isUtc = t1;
  7969. },
  7970. Duration: function Duration(t0) {
  7971. this._duration = t0;
  7972. },
  7973. _Enum: function _Enum() {
  7974. },
  7975. Error: function Error() {
  7976. },
  7977. AssertionError: function AssertionError(t0) {
  7978. this.message = t0;
  7979. },
  7980. TypeError: function TypeError() {
  7981. },
  7982. ArgumentError: function ArgumentError(t0, t1, t2, t3) {
  7983. var _ = this;
  7984. _._hasValue = t0;
  7985. _.invalidValue = t1;
  7986. _.name = t2;
  7987. _.message = t3;
  7988. },
  7989. RangeError: function RangeError(t0, t1, t2, t3, t4, t5) {
  7990. var _ = this;
  7991. _.start = t0;
  7992. _.end = t1;
  7993. _._hasValue = t2;
  7994. _.invalidValue = t3;
  7995. _.name = t4;
  7996. _.message = t5;
  7997. },
  7998. IndexError: function IndexError(t0, t1, t2, t3, t4) {
  7999. var _ = this;
  8000. _.length = t0;
  8001. _._hasValue = t1;
  8002. _.invalidValue = t2;
  8003. _.name = t3;
  8004. _.message = t4;
  8005. },
  8006. NoSuchMethodError: function NoSuchMethodError(t0, t1, t2, t3) {
  8007. var _ = this;
  8008. _._core$_receiver = t0;
  8009. _._memberName = t1;
  8010. _._core$_arguments = t2;
  8011. _._namedArguments = t3;
  8012. },
  8013. UnsupportedError: function UnsupportedError(t0) {
  8014. this.message = t0;
  8015. },
  8016. UnimplementedError: function UnimplementedError(t0) {
  8017. this.message = t0;
  8018. },
  8019. StateError: function StateError(t0) {
  8020. this.message = t0;
  8021. },
  8022. ConcurrentModificationError: function ConcurrentModificationError(t0) {
  8023. this.modifiedObject = t0;
  8024. },
  8025. OutOfMemoryError: function OutOfMemoryError() {
  8026. },
  8027. StackOverflowError: function StackOverflowError() {
  8028. },
  8029. _Exception: function _Exception(t0) {
  8030. this.message = t0;
  8031. },
  8032. FormatException: function FormatException(t0, t1, t2) {
  8033. this.message = t0;
  8034. this.source = t1;
  8035. this.offset = t2;
  8036. },
  8037. Iterable: function Iterable() {
  8038. },
  8039. _GeneratorIterable: function _GeneratorIterable(t0, t1, t2) {
  8040. this.length = t0;
  8041. this._generator = t1;
  8042. this.$ti = t2;
  8043. },
  8044. MapEntry: function MapEntry(t0, t1, t2) {
  8045. this.key = t0;
  8046. this.value = t1;
  8047. this.$ti = t2;
  8048. },
  8049. Null: function Null() {
  8050. },
  8051. Object: function Object() {
  8052. },
  8053. _StringStackTrace: function _StringStackTrace(t0) {
  8054. this._stackTrace = t0;
  8055. },
  8056. Runes: function Runes(t0) {
  8057. this.string = t0;
  8058. },
  8059. RuneIterator: function RuneIterator(t0) {
  8060. var _ = this;
  8061. _.string = t0;
  8062. _._nextPosition = _._position = 0;
  8063. _._currentCodePoint = -1;
  8064. },
  8065. StringBuffer: function StringBuffer(t0) {
  8066. this._contents = t0;
  8067. },
  8068. Uri__parseIPv4Address_error: function Uri__parseIPv4Address_error(t0) {
  8069. this.host = t0;
  8070. },
  8071. Uri_parseIPv6Address_error: function Uri_parseIPv6Address_error(t0) {
  8072. this.host = t0;
  8073. },
  8074. Uri_parseIPv6Address_parseHex: function Uri_parseIPv6Address_parseHex(t0, t1) {
  8075. this.error = t0;
  8076. this.host = t1;
  8077. },
  8078. _Uri: function _Uri(t0, t1, t2, t3, t4, t5, t6) {
  8079. var _ = this;
  8080. _.scheme = t0;
  8081. _._userInfo = t1;
  8082. _._host = t2;
  8083. _._port = t3;
  8084. _.path = t4;
  8085. _._query = t5;
  8086. _._fragment = t6;
  8087. _.___Uri_hashCode_FI = _.___Uri_pathSegments_FI = _.___Uri__text_FI = $;
  8088. },
  8089. _Uri__makePath_closure: function _Uri__makePath_closure() {
  8090. },
  8091. UriData: function UriData(t0, t1, t2) {
  8092. this._text = t0;
  8093. this._separatorIndices = t1;
  8094. this._uriCache = t2;
  8095. },
  8096. _createTables_build: function _createTables_build(t0) {
  8097. this.tables = t0;
  8098. },
  8099. _createTables_setChars: function _createTables_setChars() {
  8100. },
  8101. _createTables_setRange: function _createTables_setRange() {
  8102. },
  8103. _SimpleUri: function _SimpleUri(t0, t1, t2, t3, t4, t5, t6, t7) {
  8104. var _ = this;
  8105. _._uri = t0;
  8106. _._schemeEnd = t1;
  8107. _._hostStart = t2;
  8108. _._portStart = t3;
  8109. _._pathStart = t4;
  8110. _._queryStart = t5;
  8111. _._fragmentStart = t6;
  8112. _._schemeCache = t7;
  8113. _._hashCodeCache = null;
  8114. },
  8115. _DataUri: function _DataUri(t0, t1, t2, t3, t4, t5, t6) {
  8116. var _ = this;
  8117. _.scheme = t0;
  8118. _._userInfo = t1;
  8119. _._host = t2;
  8120. _._port = t3;
  8121. _.path = t4;
  8122. _._query = t5;
  8123. _._fragment = t6;
  8124. _.___Uri_hashCode_FI = _.___Uri_pathSegments_FI = _.___Uri__text_FI = $;
  8125. },
  8126. Expando: function Expando(t0) {
  8127. this._jsWeakMap = t0;
  8128. },
  8129. _convertDartFunctionFast(f) {
  8130. var ret,
  8131. existing = f.$dart_jsFunction;
  8132. if (existing != null)
  8133. return existing;
  8134. ret = function(_call, f) {
  8135. return function() {
  8136. return _call(f, Array.prototype.slice.apply(arguments));
  8137. };
  8138. }(A._callDartFunctionFast, f);
  8139. ret[$.$get$DART_CLOSURE_PROPERTY_NAME()] = f;
  8140. f.$dart_jsFunction = ret;
  8141. return ret;
  8142. },
  8143. _convertDartFunctionFastCaptureThis(f) {
  8144. var ret,
  8145. existing = f._$dart_jsFunctionCaptureThis;
  8146. if (existing != null)
  8147. return existing;
  8148. ret = function(_call, f) {
  8149. return function() {
  8150. return _call(f, this, Array.prototype.slice.apply(arguments));
  8151. };
  8152. }(A._callDartFunctionFastCaptureThis, f);
  8153. ret[$.$get$DART_CLOSURE_PROPERTY_NAME()] = f;
  8154. f._$dart_jsFunctionCaptureThis = ret;
  8155. return ret;
  8156. },
  8157. _callDartFunctionFast(callback, $arguments) {
  8158. return A.Function_apply(callback, $arguments);
  8159. },
  8160. _callDartFunctionFastCaptureThis(callback, $self, $arguments) {
  8161. var t1 = [$self];
  8162. B.JSArray_methods.addAll$1(t1, $arguments);
  8163. return A.Function_apply(callback, t1);
  8164. },
  8165. allowInterop(f) {
  8166. if (typeof f == "function")
  8167. return f;
  8168. else
  8169. return A._convertDartFunctionFast(f);
  8170. },
  8171. allowInteropCaptureThis(f) {
  8172. if (typeof f == "function")
  8173. throw A.wrapException(A.ArgumentError$("Function is already a JS function so cannot capture this.", null));
  8174. else
  8175. return A._convertDartFunctionFastCaptureThis(f);
  8176. },
  8177. _noJsifyRequired(o) {
  8178. 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);
  8179. },
  8180. jsify(object) {
  8181. if (A._noJsifyRequired(object))
  8182. return object;
  8183. return new A.jsify__convert(new A._IdentityHashMap(type$._IdentityHashMap_of_nullable_Object_and_nullable_Object)).call$1(object);
  8184. },
  8185. callConstructor(constr, $arguments) {
  8186. var args, factoryFunction;
  8187. if ($arguments instanceof Array)
  8188. switch ($arguments.length) {
  8189. case 0:
  8190. return new constr();
  8191. case 1:
  8192. return new constr($arguments[0]);
  8193. case 2:
  8194. return new constr($arguments[0], $arguments[1]);
  8195. case 3:
  8196. return new constr($arguments[0], $arguments[1], $arguments[2]);
  8197. case 4:
  8198. return new constr($arguments[0], $arguments[1], $arguments[2], $arguments[3]);
  8199. }
  8200. args = [null];
  8201. B.JSArray_methods.addAll$1(args, $arguments);
  8202. factoryFunction = constr.bind.apply(constr, args);
  8203. String(factoryFunction);
  8204. return new factoryFunction();
  8205. },
  8206. promiseToFuture0(jsPromise, $T) {
  8207. var t1 = new A._Future($.Zone__current, $T._eval$1("_Future<0>")),
  8208. completer = new A._AsyncCompleter(t1, $T._eval$1("_AsyncCompleter<0>"));
  8209. jsPromise.then(A.convertDartClosureToJS(new A.promiseToFuture_closure1(completer), 1), A.convertDartClosureToJS(new A.promiseToFuture_closure2(completer), 1));
  8210. return t1;
  8211. },
  8212. jsify__convert: function jsify__convert(t0) {
  8213. this._convertedObjects = t0;
  8214. },
  8215. promiseToFuture_closure1: function promiseToFuture_closure1(t0) {
  8216. this.completer = t0;
  8217. },
  8218. promiseToFuture_closure2: function promiseToFuture_closure2(t0) {
  8219. this.completer = t0;
  8220. },
  8221. NullRejectionException: function NullRejectionException(t0) {
  8222. this.isUndefined = t0;
  8223. },
  8224. max(a, b) {
  8225. return Math.max(a, b);
  8226. },
  8227. pow(x, exponent) {
  8228. return Math.pow(x, exponent);
  8229. },
  8230. Random_Random() {
  8231. return B.C__JSRandom;
  8232. },
  8233. _JSRandom: function _JSRandom() {
  8234. },
  8235. ArgParser: function ArgParser(t0, t1, t2, t3, t4, t5, t6) {
  8236. var _ = this;
  8237. _._arg_parser$_options = t0;
  8238. _._aliases = t1;
  8239. _.options = t2;
  8240. _.commands = t3;
  8241. _._optionsAndSeparators = t4;
  8242. _.allowTrailingOptions = t5;
  8243. _.usageLineLength = t6;
  8244. },
  8245. ArgParser__addOption_closure: function ArgParser__addOption_closure(t0) {
  8246. this.$this = t0;
  8247. },
  8248. ArgParserException$(message, commands) {
  8249. return new A.ArgParserException(commands == null ? B.List_empty : A.List_List$unmodifiable(commands, type$.String), message, null, null);
  8250. },
  8251. ArgParserException: function ArgParserException(t0, t1, t2, t3) {
  8252. var _ = this;
  8253. _.commands = t0;
  8254. _.message = t1;
  8255. _.source = t2;
  8256. _.offset = t3;
  8257. },
  8258. ArgResults: function ArgResults(t0, t1, t2, t3) {
  8259. var _ = this;
  8260. _._parser = t0;
  8261. _._parsed = t1;
  8262. _.name = t2;
  8263. _.rest = t3;
  8264. },
  8265. Option: function Option(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) {
  8266. var _ = this;
  8267. _.name = t0;
  8268. _.abbr = t1;
  8269. _.help = t2;
  8270. _.valueHelp = t3;
  8271. _.allowed = t4;
  8272. _.allowedHelp = t5;
  8273. _.defaultsTo = t6;
  8274. _.negatable = t7;
  8275. _.callback = t8;
  8276. _.type = t9;
  8277. _.splitCommas = t10;
  8278. _.mandatory = t11;
  8279. _.hide = t12;
  8280. },
  8281. OptionType: function OptionType(t0) {
  8282. this.name = t0;
  8283. },
  8284. Parser$(_commandName, _grammar, _args, _parent, rest) {
  8285. var t1 = A._setArrayType([], type$.JSArray_String);
  8286. if (rest != null)
  8287. B.JSArray_methods.addAll$1(t1, rest);
  8288. return new A.Parser0(_commandName, _parent, _grammar, _args, t1, A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.dynamic));
  8289. },
  8290. _isLetterOrDigit(codeUnit) {
  8291. var t1;
  8292. if (!(codeUnit >= 65 && codeUnit <= 90))
  8293. if (!(codeUnit >= 97 && codeUnit <= 122))
  8294. t1 = codeUnit >= 48 && codeUnit <= 57;
  8295. else
  8296. t1 = true;
  8297. else
  8298. t1 = true;
  8299. return t1;
  8300. },
  8301. Parser0: function Parser0(t0, t1, t2, t3, t4, t5) {
  8302. var _ = this;
  8303. _._commandName = t0;
  8304. _._parser$_parent = t1;
  8305. _._grammar = t2;
  8306. _._args = t3;
  8307. _._parser$_rest = t4;
  8308. _._results = t5;
  8309. },
  8310. Parser_parse_closure: function Parser_parse_closure(t0) {
  8311. this.$this = t0;
  8312. },
  8313. Parser__setOption_closure: function Parser__setOption_closure() {
  8314. },
  8315. _Usage: function _Usage(t0, t1, t2) {
  8316. var _ = this;
  8317. _._usage$_optionsAndSeparators = t0;
  8318. _._usage$_buffer = t1;
  8319. _._currentColumn = 0;
  8320. _.___Usage__columnWidths_FI = $;
  8321. _._newlinesNeeded = 0;
  8322. _.lineLength = t2;
  8323. },
  8324. _Usage__writeOption_closure: function _Usage__writeOption_closure() {
  8325. },
  8326. _Usage__buildAllowedList_closure: function _Usage__buildAllowedList_closure(t0) {
  8327. this.option = t0;
  8328. },
  8329. FutureGroup: function FutureGroup(t0, t1, t2) {
  8330. var _ = this;
  8331. _._future_group$_pending = 0;
  8332. _._future_group$_closed = false;
  8333. _._future_group$_completer = t0;
  8334. _._future_group$_values = t1;
  8335. _.$ti = t2;
  8336. },
  8337. FutureGroup_add_closure: function FutureGroup_add_closure(t0, t1) {
  8338. this.$this = t0;
  8339. this.index = t1;
  8340. },
  8341. FutureGroup_add_closure0: function FutureGroup_add_closure0(t0) {
  8342. this.$this = t0;
  8343. },
  8344. ErrorResult: function ErrorResult(t0, t1) {
  8345. this.error = t0;
  8346. this.stackTrace = t1;
  8347. },
  8348. ValueResult: function ValueResult(t0, t1) {
  8349. this.value = t0;
  8350. this.$ti = t1;
  8351. },
  8352. StreamCompleter: function StreamCompleter(t0, t1) {
  8353. this._stream_completer$_stream = t0;
  8354. this.$ti = t1;
  8355. },
  8356. _CompleterStream: function _CompleterStream(t0) {
  8357. this._sourceStream = this._stream_completer$_controller = null;
  8358. this.$ti = t0;
  8359. },
  8360. StreamGroup: function StreamGroup(t0, t1, t2) {
  8361. var _ = this;
  8362. _.__StreamGroup__controller_A = $;
  8363. _._closed = false;
  8364. _._stream_group$_state = t0;
  8365. _._subscriptions = t1;
  8366. _.$ti = t2;
  8367. },
  8368. StreamGroup_add_closure: function StreamGroup_add_closure() {
  8369. },
  8370. StreamGroup_add_closure0: function StreamGroup_add_closure0(t0, t1) {
  8371. this.$this = t0;
  8372. this.stream = t1;
  8373. },
  8374. StreamGroup__onListen_closure: function StreamGroup__onListen_closure() {
  8375. },
  8376. StreamGroup__onCancel_closure: function StreamGroup__onCancel_closure(t0) {
  8377. this.$this = t0;
  8378. },
  8379. StreamGroup__listenToStream_closure: function StreamGroup__listenToStream_closure(t0, t1) {
  8380. this.$this = t0;
  8381. this.stream = t1;
  8382. },
  8383. _StreamGroupState: function _StreamGroupState(t0) {
  8384. this.name = t0;
  8385. },
  8386. StreamQueue: function StreamQueue(t0, t1, t2, t3) {
  8387. var _ = this;
  8388. _._stream_queue$_source = t0;
  8389. _._stream_queue$_subscription = null;
  8390. _._isDone = false;
  8391. _._eventsReceived = 0;
  8392. _._eventQueue = t1;
  8393. _._requestQueue = t2;
  8394. _.$ti = t3;
  8395. },
  8396. StreamQueue__ensureListening_closure: function StreamQueue__ensureListening_closure(t0) {
  8397. this.$this = t0;
  8398. },
  8399. StreamQueue__ensureListening_closure1: function StreamQueue__ensureListening_closure1(t0) {
  8400. this.$this = t0;
  8401. },
  8402. StreamQueue__ensureListening_closure0: function StreamQueue__ensureListening_closure0(t0) {
  8403. this.$this = t0;
  8404. },
  8405. _NextRequest: function _NextRequest(t0, t1) {
  8406. this._completer = t0;
  8407. this.$ti = t1;
  8408. },
  8409. isNodeJs() {
  8410. var t1 = self.process;
  8411. if (t1 == null)
  8412. t1 = null;
  8413. else {
  8414. t1 = J.get$release$x(t1);
  8415. t1 = t1 == null ? null : J.get$name$x(t1);
  8416. }
  8417. return J.$eq$(t1, "node");
  8418. },
  8419. isBrowser() {
  8420. return !A.isNodeJs() && self.document != null && typeof self.document.querySelector == "function";
  8421. },
  8422. wrapJSExceptions(callback) {
  8423. var error, error0, error1, error2, t1, exception;
  8424. if (!$.$get$_isStrictMode())
  8425. return callback.call$0();
  8426. try {
  8427. t1 = callback.call$0();
  8428. return t1;
  8429. } catch (exception) {
  8430. t1 = A.unwrapException(exception);
  8431. if (typeof t1 == "string") {
  8432. error = t1;
  8433. throw A.wrapException(error);
  8434. } else if (A._isBool(t1)) {
  8435. error0 = t1;
  8436. throw A.wrapException(error0);
  8437. } else if (typeof t1 == "number") {
  8438. error1 = t1;
  8439. throw A.wrapException(error1);
  8440. } else {
  8441. error2 = t1;
  8442. if (typeof error2 == "symbol" || typeof error2 == "bigint" || error2 == null)
  8443. throw A.wrapException(error2.toString());
  8444. throw exception;
  8445. }
  8446. }
  8447. },
  8448. _isStrictMode_closure: function _isStrictMode_closure() {
  8449. },
  8450. Repl: function Repl(t0, t1, t2, t3) {
  8451. var _ = this;
  8452. _.prompt = t0;
  8453. _.continuation = t1;
  8454. _.validator = t2;
  8455. _.__Repl__adapter_A = $;
  8456. _.history = t3;
  8457. },
  8458. alwaysValid_closure: function alwaysValid_closure() {
  8459. },
  8460. ReplAdapter: function ReplAdapter(t0) {
  8461. this.repl = t0;
  8462. this.rl = null;
  8463. },
  8464. ReplAdapter_runAsync_closure: function ReplAdapter_runAsync_closure(t0, t1, t2, t3) {
  8465. var _ = this;
  8466. _._box_0 = t0;
  8467. _.$this = t1;
  8468. _.rl = t2;
  8469. _.runController = t3;
  8470. },
  8471. ReplAdapter_runAsync__closure: function ReplAdapter_runAsync__closure(t0) {
  8472. this.lineController = t0;
  8473. },
  8474. Stdin: function Stdin() {
  8475. },
  8476. Stdout: function Stdout() {
  8477. },
  8478. ReadlineModule: function ReadlineModule() {
  8479. },
  8480. ReadlineOptions: function ReadlineOptions() {
  8481. },
  8482. ReadlineInterface: function ReadlineInterface() {
  8483. },
  8484. EmptyUnmodifiableSet: function EmptyUnmodifiableSet(t0) {
  8485. this.$ti = t0;
  8486. },
  8487. _EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin: function _EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin() {
  8488. },
  8489. DefaultEquality: function DefaultEquality() {
  8490. },
  8491. IterableEquality: function IterableEquality() {
  8492. },
  8493. ListEquality: function ListEquality() {
  8494. },
  8495. _MapEntry: function _MapEntry(t0, t1, t2) {
  8496. this.equality = t0;
  8497. this.key = t1;
  8498. this.value = t2;
  8499. },
  8500. MapEquality: function MapEquality(t0) {
  8501. this.$ti = t0;
  8502. },
  8503. QueueList$(initialCapacity, $E) {
  8504. 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>"));
  8505. },
  8506. QueueList_QueueList$from(source, $E) {
  8507. var $length, queue, t1;
  8508. if (type$.List_dynamic._is(source)) {
  8509. $length = J.get$length$asx(source);
  8510. queue = A.QueueList$($length + 1, $E);
  8511. J.setRange$4$ax(queue._queue_list$_table, 0, $length, source, 0);
  8512. queue._queue_list$_tail = $length;
  8513. return queue;
  8514. } else {
  8515. t1 = A.QueueList$(null, $E);
  8516. t1.addAll$1(0, source);
  8517. return t1;
  8518. }
  8519. },
  8520. QueueList__computeInitialCapacity(initialCapacity) {
  8521. if (initialCapacity == null || initialCapacity < 8)
  8522. return 8;
  8523. ++initialCapacity;
  8524. if ((initialCapacity & initialCapacity - 1) >>> 0 === 0)
  8525. return initialCapacity;
  8526. return A.QueueList__nextPowerOf2(initialCapacity);
  8527. },
  8528. QueueList__nextPowerOf2(number) {
  8529. var nextNumber;
  8530. number = (number << 1 >>> 0) - 1;
  8531. for (; true; number = nextNumber) {
  8532. nextNumber = (number & number - 1) >>> 0;
  8533. if (nextNumber === 0)
  8534. return number;
  8535. }
  8536. },
  8537. QueueList: function QueueList(t0, t1, t2, t3) {
  8538. var _ = this;
  8539. _._queue_list$_table = t0;
  8540. _._queue_list$_head = t1;
  8541. _._queue_list$_tail = t2;
  8542. _.$ti = t3;
  8543. },
  8544. _CastQueueList: function _CastQueueList(t0, t1, t2, t3, t4) {
  8545. var _ = this;
  8546. _._queue_list$_delegate = t0;
  8547. _._queue_list$_table = t1;
  8548. _._queue_list$_head = t2;
  8549. _._queue_list$_tail = t3;
  8550. _.$ti = t4;
  8551. },
  8552. _QueueList_Object_ListMixin: function _QueueList_Object_ListMixin() {
  8553. },
  8554. UnionSet: function UnionSet(t0, t1) {
  8555. this._sets = t0;
  8556. this.$ti = t1;
  8557. },
  8558. UnionSet__iterable_closure: function UnionSet__iterable_closure(t0) {
  8559. this.$this = t0;
  8560. },
  8561. UnionSet_contains_closure: function UnionSet_contains_closure(t0, t1) {
  8562. this.$this = t0;
  8563. this.element = t1;
  8564. },
  8565. _UnionSet_SetBase_UnmodifiableSetMixin: function _UnionSet_SetBase_UnmodifiableSetMixin() {
  8566. },
  8567. UnmodifiableSetMixin__throw() {
  8568. throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable Set"));
  8569. },
  8570. UnmodifiableSetView0: function UnmodifiableSetView0(t0, t1) {
  8571. this._base = t0;
  8572. this.$ti = t1;
  8573. },
  8574. UnmodifiableSetMixin: function UnmodifiableSetMixin() {
  8575. },
  8576. _UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin: function _UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin() {
  8577. },
  8578. _DelegatingIterableBase: function _DelegatingIterableBase() {
  8579. },
  8580. DelegatingSet: function DelegatingSet(t0, t1) {
  8581. this._base = t0;
  8582. this.$ti = t1;
  8583. },
  8584. MapKeySet: function MapKeySet(t0, t1) {
  8585. this._baseMap = t0;
  8586. this.$ti = t1;
  8587. },
  8588. MapKeySet_difference_closure: function MapKeySet_difference_closure(t0, t1) {
  8589. this.$this = t0;
  8590. this.other = t1;
  8591. },
  8592. _MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin: function _MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin() {
  8593. },
  8594. BufferModule: function BufferModule() {
  8595. },
  8596. BufferConstants: function BufferConstants() {
  8597. },
  8598. Buffer: function Buffer() {
  8599. },
  8600. ConsoleModule: function ConsoleModule() {
  8601. },
  8602. Console: function Console() {
  8603. },
  8604. EventEmitter: function EventEmitter() {
  8605. },
  8606. fs() {
  8607. var t1 = $._fs;
  8608. return t1 == null ? $._fs = self.fs : t1;
  8609. },
  8610. FS: function FS() {
  8611. },
  8612. FSConstants: function FSConstants() {
  8613. },
  8614. FSWatcher: function FSWatcher() {
  8615. },
  8616. ReadStream: function ReadStream() {
  8617. },
  8618. ReadStreamOptions: function ReadStreamOptions() {
  8619. },
  8620. WriteStream: function WriteStream() {
  8621. },
  8622. WriteStreamOptions: function WriteStreamOptions() {
  8623. },
  8624. FileOptions: function FileOptions() {
  8625. },
  8626. StatOptions: function StatOptions() {
  8627. },
  8628. MkdirOptions: function MkdirOptions() {
  8629. },
  8630. RmdirOptions: function RmdirOptions() {
  8631. },
  8632. WatchOptions: function WatchOptions() {
  8633. },
  8634. WatchFileOptions: function WatchFileOptions() {
  8635. },
  8636. Stats: function Stats() {
  8637. },
  8638. Promise: function Promise() {
  8639. },
  8640. Date: function Date() {
  8641. },
  8642. JsError: function JsError() {
  8643. },
  8644. Atomics: function Atomics() {
  8645. },
  8646. Modules: function Modules() {
  8647. },
  8648. Module: function Module() {
  8649. },
  8650. Net: function Net() {
  8651. },
  8652. Socket: function Socket() {
  8653. },
  8654. NetAddress: function NetAddress() {
  8655. },
  8656. NetServer: function NetServer() {
  8657. },
  8658. NodeJsError: function NodeJsError() {
  8659. },
  8660. JsAssertionError: function JsAssertionError() {
  8661. },
  8662. JsRangeError: function JsRangeError() {
  8663. },
  8664. JsReferenceError: function JsReferenceError() {
  8665. },
  8666. JsSyntaxError: function JsSyntaxError() {
  8667. },
  8668. JsTypeError: function JsTypeError() {
  8669. },
  8670. JsSystemError: function JsSystemError() {
  8671. },
  8672. Process: function Process() {
  8673. },
  8674. CPUUsage: function CPUUsage() {
  8675. },
  8676. Release: function Release() {
  8677. },
  8678. StreamModule: function StreamModule() {
  8679. },
  8680. Readable: function Readable() {
  8681. },
  8682. Writable: function Writable() {
  8683. },
  8684. Duplex: function Duplex() {
  8685. },
  8686. Transform: function Transform() {
  8687. },
  8688. WritableOptions: function WritableOptions() {
  8689. },
  8690. ReadableOptions: function ReadableOptions() {
  8691. },
  8692. Immediate: function Immediate() {
  8693. },
  8694. Timeout: function Timeout() {
  8695. },
  8696. TTY: function TTY() {
  8697. },
  8698. TTYReadStream: function TTYReadStream() {
  8699. },
  8700. TTYWriteStream: function TTYWriteStream() {
  8701. },
  8702. jsify0(dartObject) {
  8703. if (A._isBasicType(dartObject))
  8704. return dartObject;
  8705. return A.jsify(dartObject);
  8706. },
  8707. _isBasicType(value) {
  8708. return false;
  8709. },
  8710. promiseToFuture(promise, $T) {
  8711. var t1 = new A._Future($.Zone__current, $T._eval$1("_Future<0>")),
  8712. completer = new A._SyncCompleter(t1, $T._eval$1("_SyncCompleter<0>"));
  8713. J.then$2$x(promise, A.allowInterop(new A.promiseToFuture_closure(completer)), A.allowInterop(new A.promiseToFuture_closure0(completer)));
  8714. return t1;
  8715. },
  8716. futureToPromise(future, $T) {
  8717. return new self.Promise(A.allowInterop(new A.futureToPromise_closure(future, $T)));
  8718. },
  8719. Util: function Util() {
  8720. },
  8721. promiseToFuture_closure: function promiseToFuture_closure(t0) {
  8722. this.completer = t0;
  8723. },
  8724. promiseToFuture_closure0: function promiseToFuture_closure0(t0) {
  8725. this.completer = t0;
  8726. },
  8727. futureToPromise_closure: function futureToPromise_closure(t0, t1) {
  8728. this.future = t0;
  8729. this.T = t1;
  8730. },
  8731. futureToPromise__closure: function futureToPromise__closure(t0, t1) {
  8732. this.resolve = t0;
  8733. this.T = t1;
  8734. },
  8735. Context_Context(style) {
  8736. return new A.Context(style, ".");
  8737. },
  8738. _parseUri(uri) {
  8739. if (typeof uri == "string")
  8740. return A.Uri_parse(uri);
  8741. if (type$.Uri._is(uri))
  8742. return uri;
  8743. throw A.wrapException(A.ArgumentError$value(uri, "uri", "Value must be a String or a Uri"));
  8744. },
  8745. _validateArgList(method, args) {
  8746. var numArgs, i, numArgs0, message, t1, t2, t3, t4;
  8747. for (numArgs = args.length, i = 1; i < numArgs; ++i) {
  8748. if (args[i] == null || args[i - 1] != null)
  8749. continue;
  8750. for (; numArgs >= 1; numArgs = numArgs0) {
  8751. numArgs0 = numArgs - 1;
  8752. if (args[numArgs0] != null)
  8753. break;
  8754. }
  8755. message = new A.StringBuffer("");
  8756. t1 = "" + (method + "(");
  8757. message._contents = t1;
  8758. t2 = A._arrayInstanceType(args);
  8759. t3 = t2._eval$1("SubListIterable<1>");
  8760. t4 = new A.SubListIterable(args, 0, numArgs, t3);
  8761. t4.SubListIterable$3(args, 0, numArgs, t2._precomputed1);
  8762. t3 = t1 + new A.MappedListIterable(t4, new A._validateArgList_closure(), t3._eval$1("MappedListIterable<ListIterable.E,String>")).join$1(0, ", ");
  8763. message._contents = t3;
  8764. message._contents = t3 + ("): part " + (i - 1) + " was null, but part " + i + " was not.");
  8765. throw A.wrapException(A.ArgumentError$(message.toString$0(0), null));
  8766. }
  8767. },
  8768. Context: function Context(t0, t1) {
  8769. this.style = t0;
  8770. this._context$_current = t1;
  8771. },
  8772. Context_joinAll_closure: function Context_joinAll_closure() {
  8773. },
  8774. Context_split_closure: function Context_split_closure() {
  8775. },
  8776. _validateArgList_closure: function _validateArgList_closure() {
  8777. },
  8778. _PathDirection: function _PathDirection(t0) {
  8779. this.name = t0;
  8780. },
  8781. _PathRelation: function _PathRelation(t0) {
  8782. this.name = t0;
  8783. },
  8784. InternalStyle: function InternalStyle() {
  8785. },
  8786. ParsedPath_ParsedPath$parse(path, style) {
  8787. var t1, parts, separators, start, i,
  8788. root = style.getRoot$1(path),
  8789. isRootRelative = style.isRootRelative$1(path);
  8790. if (root != null)
  8791. path = B.JSString_methods.substring$1(path, root.length);
  8792. t1 = type$.JSArray_String;
  8793. parts = A._setArrayType([], t1);
  8794. separators = A._setArrayType([], t1);
  8795. t1 = path.length;
  8796. if (t1 !== 0 && style.isSeparator$1(path.charCodeAt(0))) {
  8797. separators.push(path[0]);
  8798. start = 1;
  8799. } else {
  8800. separators.push("");
  8801. start = 0;
  8802. }
  8803. for (i = start; i < t1; ++i)
  8804. if (style.isSeparator$1(path.charCodeAt(i))) {
  8805. parts.push(B.JSString_methods.substring$2(path, start, i));
  8806. separators.push(path[i]);
  8807. start = i + 1;
  8808. }
  8809. if (start < t1) {
  8810. parts.push(B.JSString_methods.substring$1(path, start));
  8811. separators.push("");
  8812. }
  8813. return new A.ParsedPath(style, root, isRootRelative, parts, separators);
  8814. },
  8815. ParsedPath: function ParsedPath(t0, t1, t2, t3, t4) {
  8816. var _ = this;
  8817. _.style = t0;
  8818. _.root = t1;
  8819. _.isRootRelative = t2;
  8820. _.parts = t3;
  8821. _.separators = t4;
  8822. },
  8823. ParsedPath__splitExtension_closure: function ParsedPath__splitExtension_closure() {
  8824. },
  8825. ParsedPath__splitExtension_closure0: function ParsedPath__splitExtension_closure0() {
  8826. },
  8827. PathException$(message) {
  8828. return new A.PathException(message);
  8829. },
  8830. PathException: function PathException(t0) {
  8831. this.message = t0;
  8832. },
  8833. PathMap__create(context, $V) {
  8834. var t1 = {};
  8835. t1.context = context;
  8836. t1.context = $.$get$context();
  8837. 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);
  8838. },
  8839. PathMap: function PathMap(t0, t1) {
  8840. this._map = t0;
  8841. this.$ti = t1;
  8842. },
  8843. PathMap__create_closure: function PathMap__create_closure(t0) {
  8844. this._box_0 = t0;
  8845. },
  8846. PathMap__create_closure0: function PathMap__create_closure0(t0) {
  8847. this._box_0 = t0;
  8848. },
  8849. PathMap__create_closure1: function PathMap__create_closure1() {
  8850. },
  8851. Style__getPlatformStyle() {
  8852. if (A.Uri_base().get$scheme() !== "file")
  8853. return $.$get$Style_url();
  8854. var t1 = A.Uri_base();
  8855. if (!B.JSString_methods.endsWith$1(t1.get$path(t1), "/"))
  8856. return $.$get$Style_url();
  8857. if (A._Uri__Uri(null, "a/b", null, null).toFilePath$0() === "a\\b")
  8858. return $.$get$Style_windows();
  8859. return $.$get$Style_posix();
  8860. },
  8861. Style: function Style() {
  8862. },
  8863. PosixStyle: function PosixStyle(t0, t1, t2) {
  8864. this.separatorPattern = t0;
  8865. this.needsSeparatorPattern = t1;
  8866. this.rootPattern = t2;
  8867. },
  8868. UrlStyle: function UrlStyle(t0, t1, t2, t3) {
  8869. var _ = this;
  8870. _.separatorPattern = t0;
  8871. _.needsSeparatorPattern = t1;
  8872. _.rootPattern = t2;
  8873. _.relativeRootPattern = t3;
  8874. },
  8875. WindowsStyle: function WindowsStyle(t0, t1, t2, t3) {
  8876. var _ = this;
  8877. _.separatorPattern = t0;
  8878. _.needsSeparatorPattern = t1;
  8879. _.rootPattern = t2;
  8880. _.relativeRootPattern = t3;
  8881. },
  8882. WindowsStyle_absolutePathToUri_closure: function WindowsStyle_absolutePathToUri_closure() {
  8883. },
  8884. Version$_(major, minor, patch, preRelease, build, _text) {
  8885. var t1 = preRelease == null ? A._setArrayType([], type$.JSArray_Object) : A.Version__splitParts(preRelease),
  8886. t2 = build == null ? A._setArrayType([], type$.JSArray_Object) : A.Version__splitParts(build);
  8887. if (major < 0)
  8888. A.throwExpression(A.ArgumentError$("Major version must be non-negative.", null));
  8889. if (minor < 0)
  8890. A.throwExpression(A.ArgumentError$("Minor version must be non-negative.", null));
  8891. if (patch < 0)
  8892. A.throwExpression(A.ArgumentError$("Patch version must be non-negative.", null));
  8893. return new A.Version(major, minor, patch, t1, t2, _text);
  8894. },
  8895. Version_Version(major, minor, patch, pre) {
  8896. var text = "" + major + "." + minor + "." + patch;
  8897. if (pre != null)
  8898. text += "-" + pre;
  8899. return A.Version$_(major, minor, patch, pre, null, text);
  8900. },
  8901. Version___parse_tearOff(text) {
  8902. return A.Version_Version$parse(text);
  8903. },
  8904. Version_Version$parse(text) {
  8905. var major, minor, patch, preRelease, build, t1, exception, _null = null,
  8906. _s17_ = 'Could not parse "',
  8907. match = $.$get$completeVersion().firstMatch$1(text);
  8908. if (match == null)
  8909. throw A.wrapException(A.FormatException$(_s17_ + text + '".', _null, _null));
  8910. try {
  8911. t1 = match._match[1];
  8912. t1.toString;
  8913. major = A.int_parse(t1, _null);
  8914. t1 = match._match[2];
  8915. t1.toString;
  8916. minor = A.int_parse(t1, _null);
  8917. t1 = match._match[3];
  8918. t1.toString;
  8919. patch = A.int_parse(t1, _null);
  8920. preRelease = match._match[5];
  8921. build = match._match[8];
  8922. t1 = A.Version$_(major, minor, patch, preRelease, build, text);
  8923. return t1;
  8924. } catch (exception) {
  8925. if (type$.FormatException._is(A.unwrapException(exception)))
  8926. throw A.wrapException(A.FormatException$(_s17_ + text + '".', _null, _null));
  8927. else
  8928. throw exception;
  8929. }
  8930. },
  8931. Version__splitParts(text) {
  8932. var t1 = type$.MappedListIterable_String_Object;
  8933. return A.List_List$of(new A.MappedListIterable(A._setArrayType(text.split("."), type$.JSArray_String), new A.Version__splitParts_closure(), t1), true, t1._eval$1("ListIterable.E"));
  8934. },
  8935. Version: function Version(t0, t1, t2, t3, t4, t5) {
  8936. var _ = this;
  8937. _.major = t0;
  8938. _.minor = t1;
  8939. _.patch = t2;
  8940. _.preRelease = t3;
  8941. _.build = t4;
  8942. _._version$_text = t5;
  8943. },
  8944. Version__splitParts_closure: function Version__splitParts_closure() {
  8945. },
  8946. VersionRange_VersionRange(includeMax, max) {
  8947. return new A.VersionRange(null, max, false, true);
  8948. },
  8949. VersionRange: function VersionRange(t0, t1, t2, t3) {
  8950. var _ = this;
  8951. _.min = t0;
  8952. _.max = t1;
  8953. _.includeMin = t2;
  8954. _.includeMax = t3;
  8955. },
  8956. CssMediaQuery_parseList(contents, interpolationMap, logger) {
  8957. var t1 = A.SpanScanner$(contents, null);
  8958. return new A.MediaQueryParser(t1, logger, interpolationMap).parse$0();
  8959. },
  8960. CssMediaQuery$type(type, conditions, modifier) {
  8961. return new A.CssMediaQuery(modifier, type, true, conditions == null ? B.List_empty : A.List_List$unmodifiable(conditions, type$.String));
  8962. },
  8963. CssMediaQuery$condition(conditions, conjunction) {
  8964. var t1 = A.List_List$unmodifiable(conditions, type$.String);
  8965. if (t1.length > 1 && conjunction == null)
  8966. A.throwExpression(A.ArgumentError$(string$.If_con, null));
  8967. return new A.CssMediaQuery(null, null, conjunction !== false, t1);
  8968. },
  8969. CssMediaQuery: function CssMediaQuery(t0, t1, t2, t3) {
  8970. var _ = this;
  8971. _.modifier = t0;
  8972. _.type = t1;
  8973. _.conjunction = t2;
  8974. _.conditions = t3;
  8975. },
  8976. _SingletonCssMediaQueryMergeResult: function _SingletonCssMediaQueryMergeResult(t0) {
  8977. this._name = t0;
  8978. },
  8979. MediaQuerySuccessfulMergeResult: function MediaQuerySuccessfulMergeResult(t0) {
  8980. this.query = t0;
  8981. },
  8982. ModifiableCssAtRule$($name, span, childless, value) {
  8983. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode);
  8984. return new A.ModifiableCssAtRule($name, value, childless, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode), t1);
  8985. },
  8986. ModifiableCssAtRule: function ModifiableCssAtRule(t0, t1, t2, t3, t4, t5) {
  8987. var _ = this;
  8988. _.name = t0;
  8989. _.value = t1;
  8990. _.isChildless = t2;
  8991. _.span = t3;
  8992. _.children = t4;
  8993. _._children = t5;
  8994. _._indexInParent = _._parent = null;
  8995. _.isGroupEnd = false;
  8996. },
  8997. ModifiableCssComment: function ModifiableCssComment(t0, t1) {
  8998. var _ = this;
  8999. _.text = t0;
  9000. _.span = t1;
  9001. _._indexInParent = _._parent = null;
  9002. _.isGroupEnd = false;
  9003. },
  9004. ModifiableCssDeclaration$($name, value, span, parsedAsCustomProperty, valueSpanForMap) {
  9005. var t2,
  9006. t1 = valueSpanForMap == null ? value.span : valueSpanForMap;
  9007. if (parsedAsCustomProperty)
  9008. if (!J.startsWith$1$s($name.value, "--"))
  9009. A.throwExpression(A.ArgumentError$(string$.parsed, null));
  9010. else {
  9011. t2 = value.value;
  9012. if (!(t2 instanceof A.SassString))
  9013. A.throwExpression(A.ArgumentError$(string$.If_par + value.toString$0(0) + "` of type " + A.getRuntimeTypeOfDartObject(t2).toString$0(0) + ").", null));
  9014. }
  9015. return new A.ModifiableCssDeclaration($name, value, parsedAsCustomProperty, t1, span);
  9016. },
  9017. ModifiableCssDeclaration: function ModifiableCssDeclaration(t0, t1, t2, t3, t4) {
  9018. var _ = this;
  9019. _.name = t0;
  9020. _.value = t1;
  9021. _.parsedAsCustomProperty = t2;
  9022. _.valueSpanForMap = t3;
  9023. _.span = t4;
  9024. _._indexInParent = _._parent = null;
  9025. _.isGroupEnd = false;
  9026. },
  9027. ModifiableCssImport: function ModifiableCssImport(t0, t1, t2) {
  9028. var _ = this;
  9029. _.url = t0;
  9030. _.modifiers = t1;
  9031. _.span = t2;
  9032. _._indexInParent = _._parent = null;
  9033. _.isGroupEnd = false;
  9034. },
  9035. ModifiableCssKeyframeBlock$(selector, span) {
  9036. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode);
  9037. return new A.ModifiableCssKeyframeBlock(selector, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode), t1);
  9038. },
  9039. ModifiableCssKeyframeBlock: function ModifiableCssKeyframeBlock(t0, t1, t2, t3) {
  9040. var _ = this;
  9041. _.selector = t0;
  9042. _.span = t1;
  9043. _.children = t2;
  9044. _._children = t3;
  9045. _._indexInParent = _._parent = null;
  9046. _.isGroupEnd = false;
  9047. },
  9048. ModifiableCssMediaRule$(queries, span) {
  9049. var t1 = A.List_List$unmodifiable(queries, type$.CssMediaQuery),
  9050. t2 = A._setArrayType([], type$.JSArray_ModifiableCssNode);
  9051. if (J.get$isEmpty$asx(queries))
  9052. A.throwExpression(A.ArgumentError$value(queries, "queries", "may not be empty."));
  9053. return new A.ModifiableCssMediaRule(t1, span, new A.UnmodifiableListView(t2, type$.UnmodifiableListView_ModifiableCssNode), t2);
  9054. },
  9055. ModifiableCssMediaRule: function ModifiableCssMediaRule(t0, t1, t2, t3) {
  9056. var _ = this;
  9057. _.queries = t0;
  9058. _.span = t1;
  9059. _.children = t2;
  9060. _._children = t3;
  9061. _._indexInParent = _._parent = null;
  9062. _.isGroupEnd = false;
  9063. },
  9064. ModifiableCssNode: function ModifiableCssNode() {
  9065. },
  9066. ModifiableCssNode_hasFollowingSibling_closure: function ModifiableCssNode_hasFollowingSibling_closure() {
  9067. },
  9068. ModifiableCssParentNode: function ModifiableCssParentNode() {
  9069. },
  9070. ModifiableCssStyleRule$(_selector, span, fromPlainCss, originalSelector) {
  9071. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode);
  9072. return new A.ModifiableCssStyleRule(_selector, originalSelector, span, fromPlainCss, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode), t1);
  9073. },
  9074. ModifiableCssStyleRule: function ModifiableCssStyleRule(t0, t1, t2, t3, t4, t5) {
  9075. var _ = this;
  9076. _._style_rule$_selector = t0;
  9077. _.originalSelector = t1;
  9078. _.span = t2;
  9079. _.fromPlainCss = t3;
  9080. _.children = t4;
  9081. _._children = t5;
  9082. _._indexInParent = _._parent = null;
  9083. _.isGroupEnd = false;
  9084. },
  9085. ModifiableCssStylesheet$(span) {
  9086. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode);
  9087. return new A.ModifiableCssStylesheet(span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode), t1);
  9088. },
  9089. ModifiableCssStylesheet: function ModifiableCssStylesheet(t0, t1, t2) {
  9090. var _ = this;
  9091. _.span = t0;
  9092. _.children = t1;
  9093. _._children = t2;
  9094. _._indexInParent = _._parent = null;
  9095. _.isGroupEnd = false;
  9096. },
  9097. ModifiableCssSupportsRule$(condition, span) {
  9098. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode);
  9099. return new A.ModifiableCssSupportsRule(condition, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode), t1);
  9100. },
  9101. ModifiableCssSupportsRule: function ModifiableCssSupportsRule(t0, t1, t2, t3) {
  9102. var _ = this;
  9103. _.condition = t0;
  9104. _.span = t1;
  9105. _.children = t2;
  9106. _._children = t3;
  9107. _._indexInParent = _._parent = null;
  9108. _.isGroupEnd = false;
  9109. },
  9110. CssNode: function CssNode() {
  9111. },
  9112. CssParentNode: function CssParentNode() {
  9113. },
  9114. _IsInvisibleVisitor: function _IsInvisibleVisitor(t0, t1) {
  9115. this.includeBogus = t0;
  9116. this.includeComments = t1;
  9117. },
  9118. __IsInvisibleVisitor_Object_EveryCssVisitor: function __IsInvisibleVisitor_Object_EveryCssVisitor() {
  9119. },
  9120. CssStylesheet: function CssStylesheet(t0, t1) {
  9121. this.children = t0;
  9122. this.span = t1;
  9123. },
  9124. CssValue: function CssValue(t0, t1, t2) {
  9125. this.value = t0;
  9126. this.span = t1;
  9127. this.$ti = t2;
  9128. },
  9129. _FakeAstNode: function _FakeAstNode(t0) {
  9130. this._callback = t0;
  9131. },
  9132. Argument: function Argument(t0, t1, t2) {
  9133. this.name = t0;
  9134. this.defaultValue = t1;
  9135. this.span = t2;
  9136. },
  9137. ArgumentDeclaration_ArgumentDeclaration$parse(contents, url) {
  9138. return A.ScssParser$(contents, null, url).parseArgumentDeclaration$0();
  9139. },
  9140. ArgumentDeclaration: function ArgumentDeclaration(t0, t1, t2) {
  9141. this.$arguments = t0;
  9142. this.restArgument = t1;
  9143. this.span = t2;
  9144. },
  9145. ArgumentDeclaration_verify_closure: function ArgumentDeclaration_verify_closure() {
  9146. },
  9147. ArgumentDeclaration_verify_closure0: function ArgumentDeclaration_verify_closure0() {
  9148. },
  9149. ArgumentInvocation$empty(span) {
  9150. return new A.ArgumentInvocation(B.List_empty9, B.Map_empty6, null, null, span);
  9151. },
  9152. ArgumentInvocation: function ArgumentInvocation(t0, t1, t2, t3, t4) {
  9153. var _ = this;
  9154. _.positional = t0;
  9155. _.named = t1;
  9156. _.rest = t2;
  9157. _.keywordRest = t3;
  9158. _.span = t4;
  9159. },
  9160. AtRootQuery: function AtRootQuery(t0, t1, t2, t3) {
  9161. var _ = this;
  9162. _.include = t0;
  9163. _.names = t1;
  9164. _._all = t2;
  9165. _._at_root_query$_rule = t3;
  9166. },
  9167. ConfiguredVariable: function ConfiguredVariable(t0, t1, t2, t3) {
  9168. var _ = this;
  9169. _.name = t0;
  9170. _.expression = t1;
  9171. _.isGuarded = t2;
  9172. _.span = t3;
  9173. },
  9174. _IsCalculationSafeVisitor: function _IsCalculationSafeVisitor() {
  9175. },
  9176. _IsCalculationSafeVisitor_visitListExpression_closure: function _IsCalculationSafeVisitor_visitListExpression_closure(t0) {
  9177. this.$this = t0;
  9178. },
  9179. BinaryOperationExpression: function BinaryOperationExpression(t0, t1, t2, t3) {
  9180. var _ = this;
  9181. _.operator = t0;
  9182. _.left = t1;
  9183. _.right = t2;
  9184. _.allowsSlash = t3;
  9185. },
  9186. BinaryOperator: function BinaryOperator(t0, t1, t2, t3, t4) {
  9187. var _ = this;
  9188. _.name = t0;
  9189. _.operator = t1;
  9190. _.precedence = t2;
  9191. _.isAssociative = t3;
  9192. _._name = t4;
  9193. },
  9194. BooleanExpression: function BooleanExpression(t0, t1) {
  9195. this.value = t0;
  9196. this.span = t1;
  9197. },
  9198. ColorExpression: function ColorExpression(t0, t1) {
  9199. this.value = t0;
  9200. this.span = t1;
  9201. },
  9202. FunctionExpression: function FunctionExpression(t0, t1, t2, t3, t4) {
  9203. var _ = this;
  9204. _.namespace = t0;
  9205. _.name = t1;
  9206. _.originalName = t2;
  9207. _.$arguments = t3;
  9208. _.span = t4;
  9209. },
  9210. IfExpression: function IfExpression(t0, t1) {
  9211. this.$arguments = t0;
  9212. this.span = t1;
  9213. },
  9214. InterpolatedFunctionExpression: function InterpolatedFunctionExpression(t0, t1, t2) {
  9215. this.name = t0;
  9216. this.$arguments = t1;
  9217. this.span = t2;
  9218. },
  9219. ListExpression: function ListExpression(t0, t1, t2, t3) {
  9220. var _ = this;
  9221. _.contents = t0;
  9222. _.separator = t1;
  9223. _.hasBrackets = t2;
  9224. _.span = t3;
  9225. },
  9226. ListExpression_toString_closure: function ListExpression_toString_closure(t0) {
  9227. this.$this = t0;
  9228. },
  9229. MapExpression: function MapExpression(t0, t1) {
  9230. this.pairs = t0;
  9231. this.span = t1;
  9232. },
  9233. NullExpression: function NullExpression(t0) {
  9234. this.span = t0;
  9235. },
  9236. NumberExpression: function NumberExpression(t0, t1, t2) {
  9237. this.value = t0;
  9238. this.unit = t1;
  9239. this.span = t2;
  9240. },
  9241. ParenthesizedExpression: function ParenthesizedExpression(t0, t1) {
  9242. this.expression = t0;
  9243. this.span = t1;
  9244. },
  9245. SelectorExpression: function SelectorExpression(t0) {
  9246. this.span = t0;
  9247. },
  9248. StringExpression_quoteText(text) {
  9249. var t1,
  9250. quote = A.StringExpression__bestQuote(A._setArrayType([text], type$.JSArray_String)),
  9251. buffer = new A.StringBuffer("");
  9252. buffer._contents = "" + A.Primitives_stringFromCharCode(quote);
  9253. A.StringExpression__quoteInnerText(text, quote, buffer, true);
  9254. t1 = A.Primitives_stringFromCharCode(quote);
  9255. t1 = buffer._contents += t1;
  9256. return t1.charCodeAt(0) == 0 ? t1 : t1;
  9257. },
  9258. StringExpression__quoteInnerText(text, quote, buffer, $static) {
  9259. var t1, t2, i, _1_0, _0_0, t3, t4, t0;
  9260. for (t1 = text.length, t2 = t1 - 1, i = 0; i < t1; ++i) {
  9261. _1_0 = text.charCodeAt(i);
  9262. if (_1_0 === 10 || _1_0 === 13 || _1_0 === 12) {
  9263. buffer.writeCharCode$1(92);
  9264. buffer.writeCharCode$1(97);
  9265. if (i !== t2) {
  9266. _0_0 = text.charCodeAt(i + 1);
  9267. if (!(_0_0 === 32 || _0_0 === 9 || _0_0 === 10 || _0_0 === 13 || _0_0 === 12))
  9268. if (!(_0_0 >= 48 && _0_0 <= 57))
  9269. if (!(_0_0 >= 97 && _0_0 <= 102))
  9270. t3 = _0_0 >= 65 && _0_0 <= 70;
  9271. else
  9272. t3 = true;
  9273. else
  9274. t3 = true;
  9275. else
  9276. t3 = true;
  9277. if (t3)
  9278. buffer.writeCharCode$1(32);
  9279. }
  9280. continue;
  9281. }
  9282. t3 = 92 === _1_0;
  9283. if (t3)
  9284. t4 = _1_0;
  9285. else
  9286. t4 = null;
  9287. if (!t3) {
  9288. t3 = _1_0 === quote;
  9289. if (t3)
  9290. t4 = _1_0;
  9291. t0 = t4;
  9292. t4 = t3;
  9293. t3 = t0;
  9294. if (!t4)
  9295. if (35 === _1_0)
  9296. if ($static)
  9297. if (i < t2) {
  9298. t4 = text.charCodeAt(i + 1) === 123;
  9299. if (t4)
  9300. t3 = _1_0;
  9301. } else
  9302. t4 = false;
  9303. else
  9304. t4 = false;
  9305. else
  9306. t4 = false;
  9307. else
  9308. t4 = true;
  9309. } else {
  9310. t3 = t4;
  9311. t4 = true;
  9312. }
  9313. if (t4) {
  9314. buffer.writeCharCode$1(92);
  9315. buffer.writeCharCode$1(t3);
  9316. continue;
  9317. }
  9318. buffer.writeCharCode$1(_1_0);
  9319. }
  9320. },
  9321. StringExpression__bestQuote(strings) {
  9322. var t1, t2, t3, containsDoubleQuote, t4, t5;
  9323. 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();)
  9324. for (t4 = new A.CodeUnits(t1.get$current(t1)), t4 = new A.ListIterator(t4, t4.get$length(0), t3); t4.moveNext$0();) {
  9325. t5 = t4.__internal$_current;
  9326. if (t5 == null)
  9327. t5 = t2._as(t5);
  9328. if (t5 === 39)
  9329. return 34;
  9330. if (t5 === 34)
  9331. containsDoubleQuote = true;
  9332. }
  9333. return containsDoubleQuote ? 39 : 34;
  9334. },
  9335. StringExpression: function StringExpression(t0, t1) {
  9336. this.text = t0;
  9337. this.hasQuotes = t1;
  9338. },
  9339. SupportsExpression: function SupportsExpression(t0) {
  9340. this.condition = t0;
  9341. },
  9342. UnaryOperationExpression: function UnaryOperationExpression(t0, t1, t2) {
  9343. this.operator = t0;
  9344. this.operand = t1;
  9345. this.span = t2;
  9346. },
  9347. UnaryOperator: function UnaryOperator(t0, t1, t2) {
  9348. this.name = t0;
  9349. this.operator = t1;
  9350. this._name = t2;
  9351. },
  9352. ValueExpression: function ValueExpression(t0, t1) {
  9353. this.value = t0;
  9354. this.span = t1;
  9355. },
  9356. VariableExpression: function VariableExpression(t0, t1, t2) {
  9357. this.namespace = t0;
  9358. this.name = t1;
  9359. this.span = t2;
  9360. },
  9361. DynamicImport: function DynamicImport(t0, t1) {
  9362. this.urlString = t0;
  9363. this.span = t1;
  9364. },
  9365. StaticImport: function StaticImport(t0, t1, t2) {
  9366. this.url = t0;
  9367. this.modifiers = t1;
  9368. this.span = t2;
  9369. },
  9370. Interpolation$(contents, span) {
  9371. var t1 = new A.Interpolation(A.List_List$unmodifiable(contents, type$.Object), span);
  9372. t1.Interpolation$2(contents, span);
  9373. return t1;
  9374. },
  9375. Interpolation: function Interpolation(t0, t1) {
  9376. this.contents = t0;
  9377. this.span = t1;
  9378. },
  9379. Interpolation_toString_closure: function Interpolation_toString_closure() {
  9380. },
  9381. AtRootRule$(children, span, query) {
  9382. var t1 = A.List_List$unmodifiable(children, type$.Statement),
  9383. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  9384. return new A.AtRootRule(query, span, t1, t2);
  9385. },
  9386. AtRootRule: function AtRootRule(t0, t1, t2, t3) {
  9387. var _ = this;
  9388. _.query = t0;
  9389. _.span = t1;
  9390. _.children = t2;
  9391. _.hasDeclarations = t3;
  9392. },
  9393. AtRule$($name, span, children, value) {
  9394. var t1 = children == null ? null : A.List_List$unmodifiable(children, type$.Statement),
  9395. t2 = t1 == null ? null : B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  9396. return new A.AtRule($name, value, span, t1, t2 === true);
  9397. },
  9398. AtRule: function AtRule(t0, t1, t2, t3, t4) {
  9399. var _ = this;
  9400. _.name = t0;
  9401. _.value = t1;
  9402. _.span = t2;
  9403. _.children = t3;
  9404. _.hasDeclarations = t4;
  9405. },
  9406. CallableDeclaration: function CallableDeclaration() {
  9407. },
  9408. ContentBlock$($arguments, children, span) {
  9409. var _s8_ = "@content",
  9410. t1 = A.stringReplaceAllUnchecked(_s8_, "_", "-"),
  9411. t2 = A.List_List$unmodifiable(children, type$.Statement),
  9412. t3 = B.JSArray_methods.any$1(t2, new A.ParentStatement_closure());
  9413. return new A.ContentBlock(t1, _s8_, $arguments, span, t2, t3);
  9414. },
  9415. ContentBlock: function ContentBlock(t0, t1, t2, t3, t4, t5) {
  9416. var _ = this;
  9417. _.name = t0;
  9418. _.originalName = t1;
  9419. _.$arguments = t2;
  9420. _.span = t3;
  9421. _.children = t4;
  9422. _.hasDeclarations = t5;
  9423. },
  9424. ContentRule: function ContentRule(t0, t1) {
  9425. this.$arguments = t0;
  9426. this.span = t1;
  9427. },
  9428. DebugRule: function DebugRule(t0, t1) {
  9429. this.expression = t0;
  9430. this.span = t1;
  9431. },
  9432. Declaration$($name, value, span) {
  9433. return new A.Declaration($name, value, span, null, false);
  9434. },
  9435. Declaration$nested($name, children, span, value) {
  9436. var t1 = A.List_List$unmodifiable(children, type$.Statement),
  9437. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  9438. return new A.Declaration($name, value, span, t1, t2);
  9439. },
  9440. Declaration: function Declaration(t0, t1, t2, t3, t4) {
  9441. var _ = this;
  9442. _.name = t0;
  9443. _.value = t1;
  9444. _.span = t2;
  9445. _.children = t3;
  9446. _.hasDeclarations = t4;
  9447. },
  9448. EachRule$(variables, list, children, span) {
  9449. var t1 = A.List_List$unmodifiable(variables, type$.String),
  9450. t2 = A.List_List$unmodifiable(children, type$.Statement),
  9451. t3 = B.JSArray_methods.any$1(t2, new A.ParentStatement_closure());
  9452. return new A.EachRule(t1, list, span, t2, t3);
  9453. },
  9454. EachRule: function EachRule(t0, t1, t2, t3, t4) {
  9455. var _ = this;
  9456. _.variables = t0;
  9457. _.list = t1;
  9458. _.span = t2;
  9459. _.children = t3;
  9460. _.hasDeclarations = t4;
  9461. },
  9462. EachRule_toString_closure: function EachRule_toString_closure() {
  9463. },
  9464. ErrorRule: function ErrorRule(t0, t1) {
  9465. this.expression = t0;
  9466. this.span = t1;
  9467. },
  9468. ExtendRule: function ExtendRule(t0, t1, t2) {
  9469. this.selector = t0;
  9470. this.isOptional = t1;
  9471. this.span = t2;
  9472. },
  9473. ForRule$(variable, from, to, children, span, exclusive) {
  9474. var t1 = A.List_List$unmodifiable(children, type$.Statement),
  9475. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  9476. return new A.ForRule(variable, from, to, exclusive, span, t1, t2);
  9477. },
  9478. ForRule: function ForRule(t0, t1, t2, t3, t4, t5, t6) {
  9479. var _ = this;
  9480. _.variable = t0;
  9481. _.from = t1;
  9482. _.to = t2;
  9483. _.isExclusive = t3;
  9484. _.span = t4;
  9485. _.children = t5;
  9486. _.hasDeclarations = t6;
  9487. },
  9488. ForwardRule: function ForwardRule(t0, t1, t2, t3, t4, t5, t6, t7) {
  9489. var _ = this;
  9490. _.url = t0;
  9491. _.shownMixinsAndFunctions = t1;
  9492. _.shownVariables = t2;
  9493. _.hiddenMixinsAndFunctions = t3;
  9494. _.hiddenVariables = t4;
  9495. _.prefix = t5;
  9496. _.configuration = t6;
  9497. _.span = t7;
  9498. },
  9499. FunctionRule$($name, $arguments, children, span, comment) {
  9500. var t1 = A.stringReplaceAllUnchecked($name, "_", "-"),
  9501. t2 = A.List_List$unmodifiable(children, type$.Statement),
  9502. t3 = B.JSArray_methods.any$1(t2, new A.ParentStatement_closure());
  9503. return new A.FunctionRule(t1, $name, $arguments, span, t2, t3);
  9504. },
  9505. FunctionRule: function FunctionRule(t0, t1, t2, t3, t4, t5) {
  9506. var _ = this;
  9507. _.name = t0;
  9508. _.originalName = t1;
  9509. _.$arguments = t2;
  9510. _.span = t3;
  9511. _.children = t4;
  9512. _.hasDeclarations = t5;
  9513. },
  9514. IfClause$(expression, children) {
  9515. var t1 = A.List_List$unmodifiable(children, type$.Statement);
  9516. return new A.IfClause(expression, t1, B.JSArray_methods.any$1(t1, new A.IfRuleClause$__closure()));
  9517. },
  9518. ElseClause$(children) {
  9519. var t1 = A.List_List$unmodifiable(children, type$.Statement);
  9520. return new A.ElseClause(t1, B.JSArray_methods.any$1(t1, new A.IfRuleClause$__closure()));
  9521. },
  9522. IfRule: function IfRule(t0, t1, t2) {
  9523. this.clauses = t0;
  9524. this.lastClause = t1;
  9525. this.span = t2;
  9526. },
  9527. IfRule_toString_closure: function IfRule_toString_closure() {
  9528. },
  9529. IfRuleClause: function IfRuleClause() {
  9530. },
  9531. IfRuleClause$__closure: function IfRuleClause$__closure() {
  9532. },
  9533. IfRuleClause$___closure: function IfRuleClause$___closure() {
  9534. },
  9535. IfClause: function IfClause(t0, t1, t2) {
  9536. this.expression = t0;
  9537. this.children = t1;
  9538. this.hasDeclarations = t2;
  9539. },
  9540. ElseClause: function ElseClause(t0, t1) {
  9541. this.children = t0;
  9542. this.hasDeclarations = t1;
  9543. },
  9544. ImportRule: function ImportRule(t0, t1) {
  9545. this.imports = t0;
  9546. this.span = t1;
  9547. },
  9548. IncludeRule: function IncludeRule(t0, t1, t2, t3, t4, t5) {
  9549. var _ = this;
  9550. _.namespace = t0;
  9551. _.name = t1;
  9552. _.originalName = t2;
  9553. _.$arguments = t3;
  9554. _.content = t4;
  9555. _.span = t5;
  9556. },
  9557. LoudComment: function LoudComment(t0) {
  9558. this.text = t0;
  9559. },
  9560. MediaRule$(query, children, span) {
  9561. var t1 = A.List_List$unmodifiable(children, type$.Statement),
  9562. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  9563. return new A.MediaRule(query, span, t1, t2);
  9564. },
  9565. MediaRule: function MediaRule(t0, t1, t2, t3) {
  9566. var _ = this;
  9567. _.query = t0;
  9568. _.span = t1;
  9569. _.children = t2;
  9570. _.hasDeclarations = t3;
  9571. },
  9572. MixinRule$($name, $arguments, children, span, comment) {
  9573. var t1 = A.stringReplaceAllUnchecked($name, "_", "-"),
  9574. t2 = A.List_List$unmodifiable(children, type$.Statement),
  9575. t3 = B.JSArray_methods.any$1(t2, new A.ParentStatement_closure());
  9576. return new A.MixinRule(t1, $name, $arguments, span, t2, t3);
  9577. },
  9578. MixinRule: function MixinRule(t0, t1, t2, t3, t4, t5) {
  9579. var _ = this;
  9580. _.__MixinRule_hasContent_FI = $;
  9581. _.name = t0;
  9582. _.originalName = t1;
  9583. _.$arguments = t2;
  9584. _.span = t3;
  9585. _.children = t4;
  9586. _.hasDeclarations = t5;
  9587. },
  9588. _HasContentVisitor: function _HasContentVisitor() {
  9589. },
  9590. __HasContentVisitor_Object_StatementSearchVisitor: function __HasContentVisitor_Object_StatementSearchVisitor() {
  9591. },
  9592. ParentStatement: function ParentStatement() {
  9593. },
  9594. ParentStatement_closure: function ParentStatement_closure() {
  9595. },
  9596. ParentStatement__closure: function ParentStatement__closure() {
  9597. },
  9598. ReturnRule: function ReturnRule(t0, t1) {
  9599. this.expression = t0;
  9600. this.span = t1;
  9601. },
  9602. SilentComment: function SilentComment(t0, t1) {
  9603. this.text = t0;
  9604. this.span = t1;
  9605. },
  9606. StyleRule$(selector, children, span) {
  9607. var t1 = A.List_List$unmodifiable(children, type$.Statement),
  9608. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  9609. return new A.StyleRule(selector, span, t1, t2);
  9610. },
  9611. StyleRule: function StyleRule(t0, t1, t2, t3) {
  9612. var _ = this;
  9613. _.selector = t0;
  9614. _.span = t1;
  9615. _.children = t2;
  9616. _.hasDeclarations = t3;
  9617. },
  9618. Stylesheet$(children, span) {
  9619. var t1 = A._setArrayType([], type$.JSArray_UseRule),
  9620. t2 = A._setArrayType([], type$.JSArray_ForwardRule),
  9621. t3 = A.List_List$unmodifiable(children, type$.Statement),
  9622. t4 = B.JSArray_methods.any$1(t3, new A.ParentStatement_closure());
  9623. t1 = new A.Stylesheet(span, false, t1, t2, t3, t4);
  9624. t1.Stylesheet$internal$3$plainCss(children, span, false);
  9625. return t1;
  9626. },
  9627. Stylesheet$internal(children, span, plainCss) {
  9628. var t1 = A._setArrayType([], type$.JSArray_UseRule),
  9629. t2 = A._setArrayType([], type$.JSArray_ForwardRule),
  9630. t3 = A.List_List$unmodifiable(children, type$.Statement),
  9631. t4 = B.JSArray_methods.any$1(t3, new A.ParentStatement_closure());
  9632. t1 = new A.Stylesheet(span, plainCss, t1, t2, t3, t4);
  9633. t1.Stylesheet$internal$3$plainCss(children, span, plainCss);
  9634. return t1;
  9635. },
  9636. Stylesheet_Stylesheet$parse(contents, syntax, logger, url) {
  9637. var error, stackTrace, url0, t1, exception, t2;
  9638. try {
  9639. switch (syntax) {
  9640. case B.Syntax_Sass_sass:
  9641. t1 = A.SpanScanner$(contents, url);
  9642. t1 = new A.SassParser(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.VariableDeclaration), t1, logger, null).parse$0();
  9643. return t1;
  9644. case B.Syntax_SCSS_scss:
  9645. t1 = A.ScssParser$(contents, logger, url).parse$0();
  9646. return t1;
  9647. case B.Syntax_CSS_css:
  9648. t1 = A.SpanScanner$(contents, url);
  9649. t1 = new A.CssParser(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.VariableDeclaration), t1, logger, null).parse$0();
  9650. return t1;
  9651. default:
  9652. t1 = A.ArgumentError$("Unknown syntax " + syntax.toString$0(0) + ".", null);
  9653. throw A.wrapException(t1);
  9654. }
  9655. } catch (exception) {
  9656. t1 = A.unwrapException(exception);
  9657. if (t1 instanceof A.SassException) {
  9658. error = t1;
  9659. stackTrace = A.getTraceFromException(exception);
  9660. t1 = error;
  9661. t2 = J.getInterceptor$z(t1);
  9662. t1 = A.SourceSpanException.prototype.get$span.call(t2, t1);
  9663. url0 = t1.get$sourceUrl(t1);
  9664. if (url0 == null || J.toString$0$(url0) === "stdin")
  9665. throw exception;
  9666. t1 = type$.Uri;
  9667. throw A.wrapException(A.throwWithTrace(error.withLoadedUrls$1(A.Set_Set$unmodifiable(A.LinkedHashSet_LinkedHashSet$_literal([url0], t1), t1)), error, stackTrace));
  9668. } else
  9669. throw exception;
  9670. }
  9671. },
  9672. Stylesheet: function Stylesheet(t0, t1, t2, t3, t4, t5) {
  9673. var _ = this;
  9674. _.span = t0;
  9675. _.plainCss = t1;
  9676. _._uses = t2;
  9677. _._forwards = t3;
  9678. _.children = t4;
  9679. _.hasDeclarations = t5;
  9680. },
  9681. SupportsRule$(condition, children, span) {
  9682. var t1 = A.List_List$unmodifiable(children, type$.Statement),
  9683. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  9684. return new A.SupportsRule(condition, span, t1, t2);
  9685. },
  9686. SupportsRule: function SupportsRule(t0, t1, t2, t3) {
  9687. var _ = this;
  9688. _.condition = t0;
  9689. _.span = t1;
  9690. _.children = t2;
  9691. _.hasDeclarations = t3;
  9692. },
  9693. UseRule: function UseRule(t0, t1, t2, t3) {
  9694. var _ = this;
  9695. _.url = t0;
  9696. _.namespace = t1;
  9697. _.configuration = t2;
  9698. _.span = t3;
  9699. },
  9700. VariableDeclaration$($name, expression, span, comment, global, guarded, namespace) {
  9701. if (namespace != null && global)
  9702. A.throwExpression(A.ArgumentError$(string$.Other_, null));
  9703. return new A.VariableDeclaration(namespace, $name, expression, guarded, global, span);
  9704. },
  9705. VariableDeclaration: function VariableDeclaration(t0, t1, t2, t3, t4, t5) {
  9706. var _ = this;
  9707. _.namespace = t0;
  9708. _.name = t1;
  9709. _.expression = t2;
  9710. _.isGuarded = t3;
  9711. _.isGlobal = t4;
  9712. _.span = t5;
  9713. },
  9714. WarnRule: function WarnRule(t0, t1) {
  9715. this.expression = t0;
  9716. this.span = t1;
  9717. },
  9718. WhileRule$(condition, children, span) {
  9719. var t1 = A.List_List$unmodifiable(children, type$.Statement),
  9720. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  9721. return new A.WhileRule(condition, span, t1, t2);
  9722. },
  9723. WhileRule: function WhileRule(t0, t1, t2, t3) {
  9724. var _ = this;
  9725. _.condition = t0;
  9726. _.span = t1;
  9727. _.children = t2;
  9728. _.hasDeclarations = t3;
  9729. },
  9730. SupportsAnything: function SupportsAnything(t0, t1) {
  9731. this.contents = t0;
  9732. this.span = t1;
  9733. },
  9734. SupportsDeclaration: function SupportsDeclaration(t0, t1, t2) {
  9735. this.name = t0;
  9736. this.value = t1;
  9737. this.span = t2;
  9738. },
  9739. SupportsFunction: function SupportsFunction(t0, t1, t2) {
  9740. this.name = t0;
  9741. this.$arguments = t1;
  9742. this.span = t2;
  9743. },
  9744. SupportsInterpolation: function SupportsInterpolation(t0, t1) {
  9745. this.expression = t0;
  9746. this.span = t1;
  9747. },
  9748. SupportsNegation: function SupportsNegation(t0, t1) {
  9749. this.condition = t0;
  9750. this.span = t1;
  9751. },
  9752. SupportsOperation$(left, right, operator, span) {
  9753. var lowerOperator = operator.toLowerCase();
  9754. if (lowerOperator !== "and" && lowerOperator !== "or")
  9755. A.throwExpression(A.ArgumentError$value(operator, "operator", 'may only be "and" or "or".'));
  9756. return new A.SupportsOperation(left, right, operator, span);
  9757. },
  9758. SupportsOperation: function SupportsOperation(t0, t1, t2, t3) {
  9759. var _ = this;
  9760. _.left = t0;
  9761. _.right = t1;
  9762. _.operator = t2;
  9763. _.span = t3;
  9764. },
  9765. Selector: function Selector() {
  9766. },
  9767. _IsInvisibleVisitor0: function _IsInvisibleVisitor0(t0) {
  9768. this.includeBogus = t0;
  9769. },
  9770. _IsBogusVisitor: function _IsBogusVisitor(t0) {
  9771. this.includeLeadingCombinator = t0;
  9772. },
  9773. _IsBogusVisitor_visitComplexSelector_closure: function _IsBogusVisitor_visitComplexSelector_closure(t0) {
  9774. this.$this = t0;
  9775. },
  9776. _IsUselessVisitor: function _IsUselessVisitor() {
  9777. },
  9778. _IsUselessVisitor_visitComplexSelector_closure: function _IsUselessVisitor_visitComplexSelector_closure(t0) {
  9779. this.$this = t0;
  9780. },
  9781. __IsBogusVisitor_Object_AnySelectorVisitor: function __IsBogusVisitor_Object_AnySelectorVisitor() {
  9782. },
  9783. __IsInvisibleVisitor_Object_AnySelectorVisitor: function __IsInvisibleVisitor_Object_AnySelectorVisitor() {
  9784. },
  9785. __IsUselessVisitor_Object_AnySelectorVisitor: function __IsUselessVisitor_Object_AnySelectorVisitor() {
  9786. },
  9787. AttributeSelector: function AttributeSelector(t0, t1, t2, t3, t4) {
  9788. var _ = this;
  9789. _.name = t0;
  9790. _.op = t1;
  9791. _.value = t2;
  9792. _.modifier = t3;
  9793. _.span = t4;
  9794. },
  9795. AttributeOperator: function AttributeOperator(t0, t1) {
  9796. this._attribute$_text = t0;
  9797. this._name = t1;
  9798. },
  9799. ClassSelector: function ClassSelector(t0, t1) {
  9800. this.name = t0;
  9801. this.span = t1;
  9802. },
  9803. Combinator: function Combinator(t0, t1) {
  9804. this._combinator$_text = t0;
  9805. this._name = t1;
  9806. },
  9807. ComplexSelector$(leadingCombinators, components, span, lineBreak) {
  9808. var t1 = A.List_List$unmodifiable(leadingCombinators, type$.CssValue_Combinator),
  9809. t2 = A.List_List$unmodifiable(components, type$.ComplexSelectorComponent);
  9810. if (t1.length === 0 && t2.length === 0)
  9811. A.throwExpression(A.ArgumentError$(string$.leadin, null));
  9812. return new A.ComplexSelector(t1, t2, lineBreak, span);
  9813. },
  9814. ComplexSelector: function ComplexSelector(t0, t1, t2, t3) {
  9815. var _ = this;
  9816. _.leadingCombinators = t0;
  9817. _.components = t1;
  9818. _.lineBreak = t2;
  9819. _.__ComplexSelector_specificity_FI = $;
  9820. _.span = t3;
  9821. },
  9822. ComplexSelector_specificity_closure: function ComplexSelector_specificity_closure() {
  9823. },
  9824. ComplexSelectorComponent: function ComplexSelectorComponent(t0, t1, t2) {
  9825. this.selector = t0;
  9826. this.combinators = t1;
  9827. this.span = t2;
  9828. },
  9829. ComplexSelectorComponent_toString_closure: function ComplexSelectorComponent_toString_closure() {
  9830. },
  9831. CompoundSelector$(components, span) {
  9832. var t1 = A.List_List$unmodifiable(components, type$.SimpleSelector);
  9833. if (t1.length === 0)
  9834. A.throwExpression(A.ArgumentError$("components may not be empty.", null));
  9835. return new A.CompoundSelector(t1, span);
  9836. },
  9837. CompoundSelector: function CompoundSelector(t0, t1) {
  9838. this.components = t0;
  9839. this.__CompoundSelector_specificity_FI = $;
  9840. this.span = t1;
  9841. },
  9842. CompoundSelector_specificity_closure: function CompoundSelector_specificity_closure() {
  9843. },
  9844. IDSelector: function IDSelector(t0, t1) {
  9845. this.name = t0;
  9846. this.span = t1;
  9847. },
  9848. IDSelector_unify_closure: function IDSelector_unify_closure(t0) {
  9849. this.$this = t0;
  9850. },
  9851. SelectorList$(components, span) {
  9852. var t1 = A.List_List$unmodifiable(components, type$.ComplexSelector);
  9853. if (t1.length === 0)
  9854. A.throwExpression(A.ArgumentError$("components may not be empty.", null));
  9855. return new A.SelectorList(t1, span);
  9856. },
  9857. SelectorList_SelectorList$parse(contents, allowParent, interpolationMap, logger, plainCss) {
  9858. return A.SelectorParser$(contents, allowParent, interpolationMap, logger, plainCss, null).parse$0();
  9859. },
  9860. SelectorList: function SelectorList(t0, t1) {
  9861. this.components = t0;
  9862. this.span = t1;
  9863. },
  9864. SelectorList_asSassList_closure: function SelectorList_asSassList_closure() {
  9865. },
  9866. SelectorList_nestWithin_closure: function SelectorList_nestWithin_closure(t0, t1, t2, t3) {
  9867. var _ = this;
  9868. _.$this = t0;
  9869. _.preserveParentSelectors = t1;
  9870. _.implicitParent = t2;
  9871. _.parent = t3;
  9872. },
  9873. SelectorList_nestWithin__closure: function SelectorList_nestWithin__closure(t0) {
  9874. this.complex = t0;
  9875. },
  9876. SelectorList_nestWithin__closure0: function SelectorList_nestWithin__closure0(t0) {
  9877. this.complex = t0;
  9878. },
  9879. SelectorList__nestWithinCompound_closure: function SelectorList__nestWithinCompound_closure() {
  9880. },
  9881. SelectorList__nestWithinCompound_closure0: function SelectorList__nestWithinCompound_closure0(t0) {
  9882. this.parent = t0;
  9883. },
  9884. SelectorList__nestWithinCompound_closure1: function SelectorList__nestWithinCompound_closure1(t0, t1, t2) {
  9885. this.parentSelector = t0;
  9886. this.resolvedSimples = t1;
  9887. this.component = t2;
  9888. },
  9889. SelectorList_withAdditionalCombinators_closure: function SelectorList_withAdditionalCombinators_closure(t0) {
  9890. this.combinators = t0;
  9891. },
  9892. _ParentSelectorVisitor: function _ParentSelectorVisitor() {
  9893. },
  9894. __ParentSelectorVisitor_Object_SelectorSearchVisitor: function __ParentSelectorVisitor_Object_SelectorSearchVisitor() {
  9895. },
  9896. ParentSelector: function ParentSelector(t0, t1) {
  9897. this.suffix = t0;
  9898. this.span = t1;
  9899. },
  9900. PlaceholderSelector: function PlaceholderSelector(t0, t1) {
  9901. this.name = t0;
  9902. this.span = t1;
  9903. },
  9904. PseudoSelector$($name, span, argument, element, selector) {
  9905. var t1 = !element,
  9906. t2 = t1 && !A.PseudoSelector__isFakePseudoElement($name);
  9907. return new A.PseudoSelector($name, A.unvendor($name), t2, t1, argument, selector, span);
  9908. },
  9909. PseudoSelector__isFakePseudoElement($name) {
  9910. switch ($name.charCodeAt(0)) {
  9911. case 97:
  9912. case 65:
  9913. return A.equalsIgnoreCase($name, "after");
  9914. case 98:
  9915. case 66:
  9916. return A.equalsIgnoreCase($name, "before");
  9917. case 102:
  9918. case 70:
  9919. return A.equalsIgnoreCase($name, "first-line") || A.equalsIgnoreCase($name, "first-letter");
  9920. default:
  9921. return false;
  9922. }
  9923. },
  9924. PseudoSelector: function PseudoSelector(t0, t1, t2, t3, t4, t5, t6) {
  9925. var _ = this;
  9926. _.name = t0;
  9927. _.normalizedName = t1;
  9928. _.isClass = t2;
  9929. _.isSyntacticClass = t3;
  9930. _.argument = t4;
  9931. _.selector = t5;
  9932. _.__PseudoSelector_specificity_FI = $;
  9933. _.span = t6;
  9934. },
  9935. PseudoSelector_specificity_closure: function PseudoSelector_specificity_closure(t0) {
  9936. this.$this = t0;
  9937. },
  9938. PseudoSelector_specificity__closure: function PseudoSelector_specificity__closure() {
  9939. },
  9940. PseudoSelector_specificity__closure0: function PseudoSelector_specificity__closure0() {
  9941. },
  9942. PseudoSelector_unify_closure: function PseudoSelector_unify_closure() {
  9943. },
  9944. QualifiedName: function QualifiedName(t0, t1) {
  9945. this.name = t0;
  9946. this.namespace = t1;
  9947. },
  9948. SimpleSelector: function SimpleSelector() {
  9949. },
  9950. SimpleSelector_isSuperselector_closure: function SimpleSelector_isSuperselector_closure(t0) {
  9951. this.$this = t0;
  9952. },
  9953. SimpleSelector_isSuperselector__closure: function SimpleSelector_isSuperselector__closure(t0) {
  9954. this.$this = t0;
  9955. },
  9956. TypeSelector: function TypeSelector(t0, t1) {
  9957. this.name = t0;
  9958. this.span = t1;
  9959. },
  9960. UniversalSelector: function UniversalSelector(t0, t1) {
  9961. this.namespace = t0;
  9962. this.span = t1;
  9963. },
  9964. compileAsync(path, charset, fatalDeprecations, futureDeprecations, importCache, logger, quietDeps, silenceDeprecations, sourceMap, style, syntax, verbose) {
  9965. var $async$goto = 0,
  9966. $async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult),
  9967. $async$returnValue, t3, t0, stylesheet, result, t1, t2;
  9968. var $async$compileAsync = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  9969. if ($async$errorCode === 1)
  9970. return A._asyncRethrow($async$result, $async$completer);
  9971. while (true)
  9972. switch ($async$goto) {
  9973. case 0:
  9974. // Function start
  9975. t1 = type$.Deprecation;
  9976. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  9977. t2.addAll$1(0, silenceDeprecations);
  9978. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  9979. t3.addAll$1(0, fatalDeprecations);
  9980. t1 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  9981. t1.addAll$1(0, futureDeprecations);
  9982. logger = A.DeprecationProcessingLogger$(logger, t3, t1, !verbose, t2);
  9983. t1 = syntax === A.Syntax_forPath(path);
  9984. $async$goto = t1 ? 3 : 5;
  9985. break;
  9986. case 3:
  9987. // then
  9988. t1 = $.$get$FilesystemImporter_cwd();
  9989. t2 = A.isNodeJs() ? self.process : null;
  9990. if (!J.$eq$(t2 == null ? null : J.get$platform$x(t2), "win32")) {
  9991. t2 = A.isNodeJs() ? self.process : null;
  9992. t2 = J.$eq$(t2 == null ? null : J.get$platform$x(t2), "darwin");
  9993. } else
  9994. t2 = true;
  9995. if (t2) {
  9996. t2 = $.$get$context();
  9997. t3 = A._realCasePath(A.absolute(t2.normalize$1(path), null, null, null, null, null, null, null, null, null, null, null, null, null, null));
  9998. t0 = t3;
  9999. t3 = t2;
  10000. t2 = t0;
  10001. } else {
  10002. t2 = $.$get$context();
  10003. t3 = t2.canonicalize$1(0, path);
  10004. t0 = t3;
  10005. t3 = t2;
  10006. t2 = t0;
  10007. }
  10008. $async$goto = 6;
  10009. return A._asyncAwait(importCache.importCanonical$3$originalUrl(t1, t3.toUri$1(t2), t3.toUri$1(path)), $async$compileAsync);
  10010. case 6:
  10011. // returning from await.
  10012. t3 = $async$result;
  10013. t3.toString;
  10014. stylesheet = t3;
  10015. // goto join
  10016. $async$goto = 4;
  10017. break;
  10018. case 5:
  10019. // else
  10020. t1 = A.readFile(path);
  10021. stylesheet = A.Stylesheet_Stylesheet$parse(t1, syntax, logger, $.$get$context().toUri$1(path));
  10022. case 4:
  10023. // join
  10024. $async$goto = 7;
  10025. return A._asyncAwait(A._compileStylesheet0(stylesheet, logger, importCache, null, $.$get$FilesystemImporter_cwd(), null, style, true, null, null, quietDeps, sourceMap, charset), $async$compileAsync);
  10026. case 7:
  10027. // returning from await.
  10028. result = $async$result;
  10029. logger.summarize$1$js(false);
  10030. $async$returnValue = result;
  10031. // goto return
  10032. $async$goto = 1;
  10033. break;
  10034. case 1:
  10035. // return
  10036. return A._asyncReturn($async$returnValue, $async$completer);
  10037. }
  10038. });
  10039. return A._asyncStartSync($async$compileAsync, $async$completer);
  10040. },
  10041. compileStringAsync(source, charset, fatalDeprecations, futureDeprecations, importCache, importer, logger, quietDeps, silenceDeprecations, sourceMap, style, syntax, verbose) {
  10042. var $async$goto = 0,
  10043. $async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult),
  10044. $async$returnValue, t3, stylesheet, result, t1, t2;
  10045. var $async$compileStringAsync = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  10046. if ($async$errorCode === 1)
  10047. return A._asyncRethrow($async$result, $async$completer);
  10048. while (true)
  10049. switch ($async$goto) {
  10050. case 0:
  10051. // Function start
  10052. t1 = type$.Deprecation;
  10053. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  10054. t2.addAll$1(0, silenceDeprecations);
  10055. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  10056. t3.addAll$1(0, fatalDeprecations);
  10057. t1 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  10058. t1.addAll$1(0, futureDeprecations);
  10059. logger = A.DeprecationProcessingLogger$(logger, t3, t1, !verbose, t2);
  10060. stylesheet = A.Stylesheet_Stylesheet$parse(source, syntax, logger, null);
  10061. $async$goto = 3;
  10062. return A._asyncAwait(A._compileStylesheet0(stylesheet, logger, importCache, null, importer, null, style, true, null, null, quietDeps, sourceMap, charset), $async$compileStringAsync);
  10063. case 3:
  10064. // returning from await.
  10065. result = $async$result;
  10066. logger.summarize$1$js(false);
  10067. $async$returnValue = result;
  10068. // goto return
  10069. $async$goto = 1;
  10070. break;
  10071. case 1:
  10072. // return
  10073. return A._asyncReturn($async$returnValue, $async$completer);
  10074. }
  10075. });
  10076. return A._asyncStartSync($async$compileStringAsync, $async$completer);
  10077. },
  10078. _compileStylesheet0(stylesheet, logger, importCache, nodeImporter, importer, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset) {
  10079. var $async$goto = 0,
  10080. $async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult),
  10081. $async$returnValue, serializeResult, resultSourceMap, $async$temp1;
  10082. var $async$_compileStylesheet0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  10083. if ($async$errorCode === 1)
  10084. return A._asyncRethrow($async$result, $async$completer);
  10085. while (true)
  10086. switch ($async$goto) {
  10087. case 0:
  10088. // Function start
  10089. $async$temp1 = A;
  10090. $async$goto = 3;
  10091. return A._asyncAwait(A._EvaluateVisitor$0(functions, importCache, logger, nodeImporter, quietDeps, sourceMap).run$2(0, importer, stylesheet), $async$_compileStylesheet0);
  10092. case 3:
  10093. // returning from await.
  10094. serializeResult = $async$temp1.serialize($async$result._1, charset, indentWidth, false, lineFeed, sourceMap, style, true);
  10095. resultSourceMap = serializeResult._1;
  10096. if (resultSourceMap != null)
  10097. A.mapInPlace(resultSourceMap.urls, new A._compileStylesheet_closure0(stylesheet, importCache));
  10098. $async$returnValue = new A.CompileResult(serializeResult);
  10099. // goto return
  10100. $async$goto = 1;
  10101. break;
  10102. case 1:
  10103. // return
  10104. return A._asyncReturn($async$returnValue, $async$completer);
  10105. }
  10106. });
  10107. return A._asyncStartSync($async$_compileStylesheet0, $async$completer);
  10108. },
  10109. _compileStylesheet_closure0: function _compileStylesheet_closure0(t0, t1) {
  10110. this.stylesheet = t0;
  10111. this.importCache = t1;
  10112. },
  10113. AsyncEnvironment$() {
  10114. var t1 = type$.String,
  10115. t2 = type$.Module_AsyncCallable,
  10116. t3 = type$.AstNode,
  10117. t4 = type$.int,
  10118. t5 = type$.AsyncCallable,
  10119. t6 = type$.JSArray_Map_String_AsyncCallable;
  10120. 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);
  10121. },
  10122. AsyncEnvironment$_(_modules, _namespaceNodes, _globalModules, _importedModules, _forwardedModules, _nestedForwardedModules, _allModules, _variables, _variableNodes, _functions, _mixins, _content) {
  10123. var t1 = type$.String,
  10124. t2 = type$.int;
  10125. 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);
  10126. },
  10127. _EnvironmentModule__EnvironmentModule0(environment, css, preModuleComments, extensionStore, forwarded) {
  10128. var t1, t2, t3, t4, t5, t6, module, result, t7;
  10129. if (forwarded == null)
  10130. forwarded = B.Set_empty2;
  10131. t1 = type$.dynamic;
  10132. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  10133. 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();) {
  10134. t6 = t4.get$current(t4);
  10135. module = t6._0;
  10136. result = A.List_List$from(t6._1, false, t5);
  10137. result.fixed$length = Array;
  10138. result.immutable$list = Array;
  10139. t1.$indexSet(0, module, result);
  10140. }
  10141. t1 = A.ConstantMap_ConstantMap$from(t1, t2, t3);
  10142. t2 = A._EnvironmentModule__makeModulesByVariable0(forwarded);
  10143. 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);
  10144. 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);
  10145. t5 = type$.Map_String_AsyncCallable;
  10146. t6 = type$.AsyncCallable;
  10147. 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);
  10148. 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);
  10149. 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());
  10150. 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()));
  10151. },
  10152. _EnvironmentModule__makeModulesByVariable0(forwarded) {
  10153. var modulesByVariable, t1, t2, t3, t4, t5;
  10154. if (forwarded.get$isEmpty(forwarded))
  10155. return B.Map_empty8;
  10156. modulesByVariable = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Module_AsyncCallable);
  10157. for (t1 = forwarded.get$iterator(forwarded); t1.moveNext$0();) {
  10158. t2 = t1.get$current(t1);
  10159. if (t2 instanceof A._EnvironmentModule0) {
  10160. for (t3 = t2._async_environment$_modulesByVariable, t3 = t3.get$values(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  10161. t4 = t3.get$current(t3);
  10162. t5 = t4.get$variables();
  10163. A.setAll(modulesByVariable, t5.get$keys(t5), t4);
  10164. }
  10165. A.setAll(modulesByVariable, J.get$keys$z(B.JSArray_methods.get$first(t2._async_environment$_environment._async_environment$_variables)), t2);
  10166. } else {
  10167. t3 = t2.get$variables();
  10168. A.setAll(modulesByVariable, t3.get$keys(t3), t2);
  10169. }
  10170. }
  10171. return modulesByVariable;
  10172. },
  10173. _EnvironmentModule__memberMap0(localMap, otherMaps, $V) {
  10174. var t1, t2, t3;
  10175. localMap = new A.PublicMemberMapView(localMap, $V._eval$1("PublicMemberMapView<0>"));
  10176. if (otherMaps.get$isEmpty(otherMaps))
  10177. return localMap;
  10178. t1 = A._setArrayType([], $V._eval$1("JSArray<Map<String,0>>"));
  10179. for (t2 = otherMaps.get$iterator(otherMaps); t2.moveNext$0();) {
  10180. t3 = t2.get$current(t2);
  10181. if (t3.get$isNotEmpty(t3))
  10182. t1.push(t3);
  10183. }
  10184. t1.push(localMap);
  10185. if (t1.length === 1)
  10186. return localMap;
  10187. return A.MergedMapView$(t1, type$.String, $V);
  10188. },
  10189. _EnvironmentModule$_0(_environment, css, preModuleComments, extensionStore, _modulesByVariable, variables, variableNodes, functions, mixins, transitivelyContainsCss, transitivelyContainsExtensions) {
  10190. return new A._EnvironmentModule0(_environment._async_environment$_allModules, variables, variableNodes, functions, mixins, extensionStore, css, preModuleComments, transitivelyContainsCss, transitivelyContainsExtensions, _environment, _modulesByVariable);
  10191. },
  10192. AsyncEnvironment: function AsyncEnvironment(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
  10193. var _ = this;
  10194. _._async_environment$_modules = t0;
  10195. _._async_environment$_namespaceNodes = t1;
  10196. _._async_environment$_globalModules = t2;
  10197. _._async_environment$_importedModules = t3;
  10198. _._async_environment$_forwardedModules = t4;
  10199. _._async_environment$_nestedForwardedModules = t5;
  10200. _._async_environment$_allModules = t6;
  10201. _._async_environment$_variables = t7;
  10202. _._async_environment$_variableNodes = t8;
  10203. _._async_environment$_variableIndices = t9;
  10204. _._async_environment$_functions = t10;
  10205. _._async_environment$_functionIndices = t11;
  10206. _._async_environment$_mixins = t12;
  10207. _._async_environment$_mixinIndices = t13;
  10208. _._async_environment$_content = t14;
  10209. _._async_environment$_inMixin = false;
  10210. _._async_environment$_inSemiGlobalScope = true;
  10211. _._async_environment$_lastVariableIndex = _._async_environment$_lastVariableName = null;
  10212. },
  10213. AsyncEnvironment__getVariableFromGlobalModule_closure: function AsyncEnvironment__getVariableFromGlobalModule_closure(t0) {
  10214. this.name = t0;
  10215. },
  10216. AsyncEnvironment_setVariable_closure: function AsyncEnvironment_setVariable_closure(t0, t1) {
  10217. this.$this = t0;
  10218. this.name = t1;
  10219. },
  10220. AsyncEnvironment_setVariable_closure0: function AsyncEnvironment_setVariable_closure0(t0) {
  10221. this.name = t0;
  10222. },
  10223. AsyncEnvironment_setVariable_closure1: function AsyncEnvironment_setVariable_closure1(t0, t1) {
  10224. this.$this = t0;
  10225. this.name = t1;
  10226. },
  10227. AsyncEnvironment__getFunctionFromGlobalModule_closure: function AsyncEnvironment__getFunctionFromGlobalModule_closure(t0) {
  10228. this.name = t0;
  10229. },
  10230. AsyncEnvironment__getMixinFromGlobalModule_closure: function AsyncEnvironment__getMixinFromGlobalModule_closure(t0) {
  10231. this.name = t0;
  10232. },
  10233. AsyncEnvironment_toModule_closure: function AsyncEnvironment_toModule_closure() {
  10234. },
  10235. AsyncEnvironment_toDummyModule_closure: function AsyncEnvironment_toDummyModule_closure() {
  10236. },
  10237. _EnvironmentModule0: function _EnvironmentModule0(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) {
  10238. var _ = this;
  10239. _.upstream = t0;
  10240. _.variables = t1;
  10241. _.variableNodes = t2;
  10242. _.functions = t3;
  10243. _.mixins = t4;
  10244. _.extensionStore = t5;
  10245. _.css = t6;
  10246. _.preModuleComments = t7;
  10247. _.transitivelyContainsCss = t8;
  10248. _.transitivelyContainsExtensions = t9;
  10249. _._async_environment$_environment = t10;
  10250. _._async_environment$_modulesByVariable = t11;
  10251. },
  10252. _EnvironmentModule__EnvironmentModule_closure5: function _EnvironmentModule__EnvironmentModule_closure5() {
  10253. },
  10254. _EnvironmentModule__EnvironmentModule_closure6: function _EnvironmentModule__EnvironmentModule_closure6() {
  10255. },
  10256. _EnvironmentModule__EnvironmentModule_closure7: function _EnvironmentModule__EnvironmentModule_closure7() {
  10257. },
  10258. _EnvironmentModule__EnvironmentModule_closure8: function _EnvironmentModule__EnvironmentModule_closure8() {
  10259. },
  10260. _EnvironmentModule__EnvironmentModule_closure9: function _EnvironmentModule__EnvironmentModule_closure9() {
  10261. },
  10262. _EnvironmentModule__EnvironmentModule_closure10: function _EnvironmentModule__EnvironmentModule_closure10() {
  10263. },
  10264. AsyncImportCache__toImporters(importers, loadPaths, packageConfig) {
  10265. var t1, t2, t3, t4, _i, path, _null = null,
  10266. sassPath = A.getEnvironmentVariable("SASS_PATH");
  10267. if (A.isBrowser()) {
  10268. t1 = A._setArrayType([], type$.JSArray_AsyncImporter_2);
  10269. B.JSArray_methods.addAll$1(t1, importers);
  10270. return t1;
  10271. }
  10272. t1 = A._setArrayType([], type$.JSArray_AsyncImporter_2);
  10273. B.JSArray_methods.addAll$1(t1, importers);
  10274. for (t2 = J.get$iterator$ax(loadPaths); t2.moveNext$0();) {
  10275. t3 = t2.get$current(t2);
  10276. 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));
  10277. }
  10278. if (sassPath != null) {
  10279. t2 = A.isNodeJs() ? self.process : _null;
  10280. t3 = sassPath.split(J.$eq$(t2 == null ? _null : J.get$platform$x(t2), "win32") ? ";" : ":");
  10281. t4 = t3.length;
  10282. _i = 0;
  10283. for (; _i < t4; ++_i) {
  10284. path = t3[_i];
  10285. 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));
  10286. }
  10287. }
  10288. return t1;
  10289. },
  10290. AsyncImportCache: function AsyncImportCache(t0, t1, t2, t3, t4, t5, t6) {
  10291. var _ = this;
  10292. _._async_import_cache$_importers = t0;
  10293. _._async_import_cache$_logger = t1;
  10294. _._async_import_cache$_canonicalizeCache = t2;
  10295. _._async_import_cache$_perImporterCanonicalizeCache = t3;
  10296. _._async_import_cache$_nonCanonicalRelativeUrls = t4;
  10297. _._async_import_cache$_importCache = t5;
  10298. _._async_import_cache$_resultsCache = t6;
  10299. },
  10300. AsyncImportCache_canonicalize_closure: function AsyncImportCache_canonicalize_closure(t0, t1, t2, t3, t4, t5, t6) {
  10301. var _ = this;
  10302. _.$this = t0;
  10303. _.baseImporter = t1;
  10304. _.resolvedUrl = t2;
  10305. _.baseUrl = t3;
  10306. _.forImport = t4;
  10307. _.key = t5;
  10308. _.url = t6;
  10309. },
  10310. AsyncImportCache__canonicalize_closure: function AsyncImportCache__canonicalize_closure(t0, t1) {
  10311. this.importer = t0;
  10312. this.url = t1;
  10313. },
  10314. AsyncImportCache_importCanonical_closure: function AsyncImportCache_importCanonical_closure(t0, t1, t2, t3, t4) {
  10315. var _ = this;
  10316. _.$this = t0;
  10317. _.importer = t1;
  10318. _.canonicalUrl = t2;
  10319. _.originalUrl = t3;
  10320. _.quiet = t4;
  10321. },
  10322. AsyncImportCache_humanize_closure: function AsyncImportCache_humanize_closure(t0) {
  10323. this.canonicalUrl = t0;
  10324. },
  10325. AsyncImportCache_humanize_closure0: function AsyncImportCache_humanize_closure0() {
  10326. },
  10327. AsyncImportCache_humanize_closure1: function AsyncImportCache_humanize_closure1() {
  10328. },
  10329. AsyncImportCache_humanize_closure2: function AsyncImportCache_humanize_closure2(t0) {
  10330. this.canonicalUrl = t0;
  10331. },
  10332. AsyncBuiltInCallable$mixin($name, $arguments, callback, acceptsContent, url) {
  10333. return new A.AsyncBuiltInCallable($name, A.ScssParser$("@mixin " + $name + "(" + $arguments + ") {", null, url).parseArgumentDeclaration$0(), new A.AsyncBuiltInCallable$mixin_closure(callback), false);
  10334. },
  10335. AsyncBuiltInCallable: function AsyncBuiltInCallable(t0, t1, t2, t3) {
  10336. var _ = this;
  10337. _.name = t0;
  10338. _._async_built_in$_arguments = t1;
  10339. _._async_built_in$_callback = t2;
  10340. _.acceptsContent = t3;
  10341. },
  10342. AsyncBuiltInCallable$mixin_closure: function AsyncBuiltInCallable$mixin_closure(t0) {
  10343. this.callback = t0;
  10344. },
  10345. BuiltInCallable$function($name, $arguments, callback, url) {
  10346. return new A.BuiltInCallable($name, A._setArrayType([new A._Record_2(A.ScssParser$("@function " + $name + "(" + $arguments + ") {", null, url).parseArgumentDeclaration$0(), callback)], type$.JSArray_Record_2_ArgumentDeclaration_and_Value_Function_List_Value), false);
  10347. },
  10348. BuiltInCallable$mixin($name, $arguments, callback, acceptsContent, url) {
  10349. return new A.BuiltInCallable($name, A._setArrayType([new A._Record_2(A.ScssParser$("@mixin " + $name + "(" + $arguments + ") {", null, url).parseArgumentDeclaration$0(), new A.BuiltInCallable$mixin_closure(callback))], type$.JSArray_Record_2_ArgumentDeclaration_and_Value_Function_List_Value), acceptsContent);
  10350. },
  10351. BuiltInCallable$overloadedFunction($name, overloads) {
  10352. var t2, t3, t4, t5, t6, args, callback,
  10353. t1 = A._setArrayType([], type$.JSArray_Record_2_ArgumentDeclaration_and_Value_Function_List_Value);
  10354. 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$.VariableDeclaration; t3.moveNext$0();) {
  10355. t6 = t3.get$current(t3);
  10356. args = t6._0;
  10357. callback = t6._1;
  10358. t6 = A.SpanScanner$(t4 + args + ") {", null);
  10359. t1.push(new A._Record_2(new A.ScssParser(A.LinkedHashMap_LinkedHashMap$_empty(t2, t5), t6, B.StderrLogger_false, null).parseArgumentDeclaration$0(), callback));
  10360. }
  10361. return new A.BuiltInCallable($name, t1, false);
  10362. },
  10363. BuiltInCallable: function BuiltInCallable(t0, t1, t2) {
  10364. this.name = t0;
  10365. this._overloads = t1;
  10366. this.acceptsContent = t2;
  10367. },
  10368. BuiltInCallable$mixin_closure: function BuiltInCallable$mixin_closure(t0) {
  10369. this.callback = t0;
  10370. },
  10371. PlainCssCallable: function PlainCssCallable(t0) {
  10372. this.name = t0;
  10373. },
  10374. UserDefinedCallable: function UserDefinedCallable(t0, t1, t2, t3) {
  10375. var _ = this;
  10376. _.declaration = t0;
  10377. _.environment = t1;
  10378. _.inDependency = t2;
  10379. _.$ti = t3;
  10380. },
  10381. _compileStylesheet(stylesheet, logger, importCache, nodeImporter, importer, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset) {
  10382. var serializeResult = A.serialize(A._EvaluateVisitor$(functions, importCache, logger, nodeImporter, quietDeps, sourceMap).run$2(0, importer, stylesheet)._1, charset, indentWidth, false, lineFeed, sourceMap, style, true),
  10383. resultSourceMap = serializeResult._1;
  10384. if (resultSourceMap != null)
  10385. A.mapInPlace(resultSourceMap.urls, new A._compileStylesheet_closure(stylesheet, importCache));
  10386. return new A.CompileResult(serializeResult);
  10387. },
  10388. _compileStylesheet_closure: function _compileStylesheet_closure(t0, t1) {
  10389. this.stylesheet = t0;
  10390. this.importCache = t1;
  10391. },
  10392. CompileResult: function CompileResult(t0) {
  10393. this._serialize = t0;
  10394. },
  10395. Configuration: function Configuration(t0, t1) {
  10396. this._configuration$_values = t0;
  10397. this.__originalConfiguration = t1;
  10398. },
  10399. ExplicitConfiguration: function ExplicitConfiguration(t0, t1, t2) {
  10400. this.nodeWithSpan = t0;
  10401. this._configuration$_values = t1;
  10402. this.__originalConfiguration = t2;
  10403. },
  10404. ConfiguredValue: function ConfiguredValue(t0, t1, t2) {
  10405. this.value = t0;
  10406. this.configurationSpan = t1;
  10407. this.assignmentNode = t2;
  10408. },
  10409. Deprecation_fromId(id) {
  10410. return A.IterableExtension_firstWhereOrNull(B.List_Zyt, new A.Deprecation_fromId_closure(id));
  10411. },
  10412. Deprecation_forVersion(version) {
  10413. var t2, _i, deprecation, $self, t3,
  10414. t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.Deprecation);
  10415. for (t2 = A.VersionRange_VersionRange(true, version).get$allows(), _i = 0; _i < 18; ++_i) {
  10416. deprecation = B.List_Zyt[_i];
  10417. $self = deprecation._deprecatedIn;
  10418. t3 = $self == null ? null : A.Version___parse_tearOff($self);
  10419. t3 = t3 == null ? null : t2.call$1(t3);
  10420. if (t3 == null ? false : t3)
  10421. t1.add$1(0, deprecation);
  10422. }
  10423. return t1;
  10424. },
  10425. Deprecation: function Deprecation(t0, t1, t2, t3) {
  10426. var _ = this;
  10427. _.id = t0;
  10428. _._deprecatedIn = t1;
  10429. _.isFuture = t2;
  10430. _._name = t3;
  10431. },
  10432. Deprecation_fromId_closure: function Deprecation_fromId_closure(t0) {
  10433. this.id = t0;
  10434. },
  10435. Environment$() {
  10436. var t1 = type$.String,
  10437. t2 = type$.Module_Callable,
  10438. t3 = type$.AstNode,
  10439. t4 = type$.int,
  10440. t5 = type$.Callable,
  10441. t6 = type$.JSArray_Map_String_Callable;
  10442. 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);
  10443. },
  10444. Environment$_(_modules, _namespaceNodes, _globalModules, _importedModules, _forwardedModules, _nestedForwardedModules, _allModules, _variables, _variableNodes, _functions, _mixins, _content) {
  10445. var t1 = type$.String,
  10446. t2 = type$.int;
  10447. 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);
  10448. },
  10449. _EnvironmentModule__EnvironmentModule(environment, css, preModuleComments, extensionStore, forwarded) {
  10450. var t1, t2, t3, t4, t5, t6, module, result, t7;
  10451. if (forwarded == null)
  10452. forwarded = B.Set_empty0;
  10453. t1 = type$.dynamic;
  10454. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  10455. 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();) {
  10456. t6 = t4.get$current(t4);
  10457. module = t6._0;
  10458. result = A.List_List$from(t6._1, false, t5);
  10459. result.fixed$length = Array;
  10460. result.immutable$list = Array;
  10461. t1.$indexSet(0, module, result);
  10462. }
  10463. t1 = A.ConstantMap_ConstantMap$from(t1, t2, t3);
  10464. t2 = A._EnvironmentModule__makeModulesByVariable(forwarded);
  10465. 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);
  10466. 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);
  10467. t5 = type$.Map_String_Callable;
  10468. t6 = type$.Callable;
  10469. t7 = A._EnvironmentModule__memberMap(B.JSArray_methods.get$first(environment._functions), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure1(), t5), t6);
  10470. t6 = A._EnvironmentModule__memberMap(B.JSArray_methods.get$first(environment._mixins), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure2(), t5), t6);
  10471. 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());
  10472. 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()));
  10473. },
  10474. _EnvironmentModule__makeModulesByVariable(forwarded) {
  10475. var modulesByVariable, t1, t2, t3, t4, t5;
  10476. if (forwarded.get$isEmpty(forwarded))
  10477. return B.Map_empty1;
  10478. modulesByVariable = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Module_Callable);
  10479. for (t1 = forwarded.get$iterator(forwarded); t1.moveNext$0();) {
  10480. t2 = t1.get$current(t1);
  10481. if (t2 instanceof A._EnvironmentModule) {
  10482. for (t3 = t2._modulesByVariable, t3 = t3.get$values(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  10483. t4 = t3.get$current(t3);
  10484. t5 = t4.get$variables();
  10485. A.setAll(modulesByVariable, t5.get$keys(t5), t4);
  10486. }
  10487. A.setAll(modulesByVariable, J.get$keys$z(B.JSArray_methods.get$first(t2._environment$_environment._variables)), t2);
  10488. } else {
  10489. t3 = t2.get$variables();
  10490. A.setAll(modulesByVariable, t3.get$keys(t3), t2);
  10491. }
  10492. }
  10493. return modulesByVariable;
  10494. },
  10495. _EnvironmentModule__memberMap(localMap, otherMaps, $V) {
  10496. var t1, t2, t3;
  10497. localMap = new A.PublicMemberMapView(localMap, $V._eval$1("PublicMemberMapView<0>"));
  10498. if (otherMaps.get$isEmpty(otherMaps))
  10499. return localMap;
  10500. t1 = A._setArrayType([], $V._eval$1("JSArray<Map<String,0>>"));
  10501. for (t2 = otherMaps.get$iterator(otherMaps); t2.moveNext$0();) {
  10502. t3 = t2.get$current(t2);
  10503. if (t3.get$isNotEmpty(t3))
  10504. t1.push(t3);
  10505. }
  10506. t1.push(localMap);
  10507. if (t1.length === 1)
  10508. return localMap;
  10509. return A.MergedMapView$(t1, type$.String, $V);
  10510. },
  10511. _EnvironmentModule$_(_environment, css, preModuleComments, extensionStore, _modulesByVariable, variables, variableNodes, functions, mixins, transitivelyContainsCss, transitivelyContainsExtensions) {
  10512. return new A._EnvironmentModule(_environment._allModules, variables, variableNodes, functions, mixins, extensionStore, css, preModuleComments, transitivelyContainsCss, transitivelyContainsExtensions, _environment, _modulesByVariable);
  10513. },
  10514. Environment: function Environment(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
  10515. var _ = this;
  10516. _._environment$_modules = t0;
  10517. _._namespaceNodes = t1;
  10518. _._globalModules = t2;
  10519. _._importedModules = t3;
  10520. _._forwardedModules = t4;
  10521. _._nestedForwardedModules = t5;
  10522. _._allModules = t6;
  10523. _._variables = t7;
  10524. _._variableNodes = t8;
  10525. _._variableIndices = t9;
  10526. _._functions = t10;
  10527. _._functionIndices = t11;
  10528. _._mixins = t12;
  10529. _._mixinIndices = t13;
  10530. _._content = t14;
  10531. _._inMixin = false;
  10532. _._inSemiGlobalScope = true;
  10533. _._lastVariableIndex = _._lastVariableName = null;
  10534. },
  10535. Environment__getVariableFromGlobalModule_closure: function Environment__getVariableFromGlobalModule_closure(t0) {
  10536. this.name = t0;
  10537. },
  10538. Environment_setVariable_closure: function Environment_setVariable_closure(t0, t1) {
  10539. this.$this = t0;
  10540. this.name = t1;
  10541. },
  10542. Environment_setVariable_closure0: function Environment_setVariable_closure0(t0) {
  10543. this.name = t0;
  10544. },
  10545. Environment_setVariable_closure1: function Environment_setVariable_closure1(t0, t1) {
  10546. this.$this = t0;
  10547. this.name = t1;
  10548. },
  10549. Environment__getFunctionFromGlobalModule_closure: function Environment__getFunctionFromGlobalModule_closure(t0) {
  10550. this.name = t0;
  10551. },
  10552. Environment__getMixinFromGlobalModule_closure: function Environment__getMixinFromGlobalModule_closure(t0) {
  10553. this.name = t0;
  10554. },
  10555. Environment_toModule_closure: function Environment_toModule_closure() {
  10556. },
  10557. Environment_toDummyModule_closure: function Environment_toDummyModule_closure() {
  10558. },
  10559. _EnvironmentModule: function _EnvironmentModule(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) {
  10560. var _ = this;
  10561. _.upstream = t0;
  10562. _.variables = t1;
  10563. _.variableNodes = t2;
  10564. _.functions = t3;
  10565. _.mixins = t4;
  10566. _.extensionStore = t5;
  10567. _.css = t6;
  10568. _.preModuleComments = t7;
  10569. _.transitivelyContainsCss = t8;
  10570. _.transitivelyContainsExtensions = t9;
  10571. _._environment$_environment = t10;
  10572. _._modulesByVariable = t11;
  10573. },
  10574. _EnvironmentModule__EnvironmentModule_closure: function _EnvironmentModule__EnvironmentModule_closure() {
  10575. },
  10576. _EnvironmentModule__EnvironmentModule_closure0: function _EnvironmentModule__EnvironmentModule_closure0() {
  10577. },
  10578. _EnvironmentModule__EnvironmentModule_closure1: function _EnvironmentModule__EnvironmentModule_closure1() {
  10579. },
  10580. _EnvironmentModule__EnvironmentModule_closure2: function _EnvironmentModule__EnvironmentModule_closure2() {
  10581. },
  10582. _EnvironmentModule__EnvironmentModule_closure3: function _EnvironmentModule__EnvironmentModule_closure3() {
  10583. },
  10584. _EnvironmentModule__EnvironmentModule_closure4: function _EnvironmentModule__EnvironmentModule_closure4() {
  10585. },
  10586. SassException$(message, span, loadedUrls) {
  10587. return new A.SassException(loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  10588. },
  10589. MultiSpanSassException$(message, span, primaryLabel, secondarySpans, loadedUrls) {
  10590. var t1 = A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String);
  10591. return new A.MultiSpanSassException(primaryLabel, t1, loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  10592. },
  10593. SassRuntimeException$(message, span, trace, loadedUrls) {
  10594. return new A.SassRuntimeException(trace, loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  10595. },
  10596. MultiSpanSassRuntimeException$(message, span, primaryLabel, secondarySpans, trace, loadedUrls) {
  10597. var t1 = A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String);
  10598. return new A.MultiSpanSassRuntimeException(trace, primaryLabel, t1, loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  10599. },
  10600. SassFormatException$(message, span, loadedUrls) {
  10601. return new A.SassFormatException(loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  10602. },
  10603. MultiSpanSassFormatException$(message, span, primaryLabel, secondarySpans, loadedUrls) {
  10604. var t1 = A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String);
  10605. return new A.MultiSpanSassFormatException(primaryLabel, t1, loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  10606. },
  10607. SassScriptException$(message, argumentName) {
  10608. return new A.SassScriptException(argumentName == null ? message : "$" + argumentName + ": " + message);
  10609. },
  10610. MultiSpanSassScriptException$(message, primaryLabel, secondarySpans) {
  10611. var t1 = A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String);
  10612. return new A.MultiSpanSassScriptException(primaryLabel, t1, message);
  10613. },
  10614. SassException: function SassException(t0, t1, t2) {
  10615. this.loadedUrls = t0;
  10616. this._span_exception$_message = t1;
  10617. this._span = t2;
  10618. },
  10619. MultiSpanSassException: function MultiSpanSassException(t0, t1, t2, t3, t4) {
  10620. var _ = this;
  10621. _.primaryLabel = t0;
  10622. _.secondarySpans = t1;
  10623. _.loadedUrls = t2;
  10624. _._span_exception$_message = t3;
  10625. _._span = t4;
  10626. },
  10627. SassRuntimeException: function SassRuntimeException(t0, t1, t2, t3) {
  10628. var _ = this;
  10629. _.trace = t0;
  10630. _.loadedUrls = t1;
  10631. _._span_exception$_message = t2;
  10632. _._span = t3;
  10633. },
  10634. MultiSpanSassRuntimeException: function MultiSpanSassRuntimeException(t0, t1, t2, t3, t4, t5) {
  10635. var _ = this;
  10636. _.trace = t0;
  10637. _.primaryLabel = t1;
  10638. _.secondarySpans = t2;
  10639. _.loadedUrls = t3;
  10640. _._span_exception$_message = t4;
  10641. _._span = t5;
  10642. },
  10643. SassFormatException: function SassFormatException(t0, t1, t2) {
  10644. this.loadedUrls = t0;
  10645. this._span_exception$_message = t1;
  10646. this._span = t2;
  10647. },
  10648. MultiSpanSassFormatException: function MultiSpanSassFormatException(t0, t1, t2, t3, t4) {
  10649. var _ = this;
  10650. _.primaryLabel = t0;
  10651. _.secondarySpans = t1;
  10652. _.loadedUrls = t2;
  10653. _._span_exception$_message = t3;
  10654. _._span = t4;
  10655. },
  10656. SassScriptException: function SassScriptException(t0) {
  10657. this.message = t0;
  10658. },
  10659. MultiSpanSassScriptException: function MultiSpanSassScriptException(t0, t1, t2) {
  10660. this.primaryLabel = t0;
  10661. this.secondarySpans = t1;
  10662. this.message = t2;
  10663. },
  10664. compileStylesheet(options, graph, source, destination, ifModified) {
  10665. return A.compileStylesheet$body(options, graph, source, destination, ifModified);
  10666. },
  10667. compileStylesheet$body(options, graph, source, destination, ifModified) {
  10668. var $async$goto = 0,
  10669. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Record_3_int_and_String_and_nullable_String),
  10670. $async$returnValue, $async$handler = 2, $async$currentError, error, stackTrace, message, error0, stackTrace0, path, message0, exception, t1, $async$exception;
  10671. var $async$compileStylesheet = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  10672. if ($async$errorCode === 1) {
  10673. $async$currentError = $async$result;
  10674. $async$goto = $async$handler;
  10675. }
  10676. while (true)
  10677. switch ($async$goto) {
  10678. case 0:
  10679. // Function start
  10680. $async$handler = 4;
  10681. $async$goto = 7;
  10682. return A._asyncAwait(A._compileStylesheetWithoutErrorHandling(options, graph, source, destination, ifModified), $async$compileStylesheet);
  10683. case 7:
  10684. // returning from await.
  10685. $async$handler = 2;
  10686. // goto after finally
  10687. $async$goto = 6;
  10688. break;
  10689. case 4:
  10690. // catch
  10691. $async$handler = 3;
  10692. $async$exception = $async$currentError;
  10693. t1 = A.unwrapException($async$exception);
  10694. if (t1 instanceof A.SassException) {
  10695. error = t1;
  10696. stackTrace = A.getTraceFromException($async$exception);
  10697. if (destination != null && !options.get$emitErrorCss())
  10698. A._tryDelete(destination);
  10699. message = J.toString$1$color$(error, options.get$color());
  10700. if (A._asBool(options._options.$index(0, "trace"))) {
  10701. t1 = A.getTrace(error);
  10702. if (t1 == null)
  10703. t1 = stackTrace;
  10704. } else
  10705. t1 = null;
  10706. $async$returnValue = A._getErrorWithStackTrace(65, message, t1);
  10707. // goto return
  10708. $async$goto = 1;
  10709. break;
  10710. } else if (t1 instanceof A.FileSystemException) {
  10711. error0 = t1;
  10712. stackTrace0 = A.getTraceFromException($async$exception);
  10713. path = error0.path;
  10714. message0 = path == null ? error0.message : "Error reading " + $.$get$context().relative$2$from(path, null) + ": " + error0.message + ".";
  10715. if (A._asBool(options._options.$index(0, "trace"))) {
  10716. t1 = A.getTrace(error0);
  10717. if (t1 == null)
  10718. t1 = stackTrace0;
  10719. } else
  10720. t1 = null;
  10721. $async$returnValue = A._getErrorWithStackTrace(66, message0, t1);
  10722. // goto return
  10723. $async$goto = 1;
  10724. break;
  10725. } else
  10726. throw $async$exception;
  10727. // goto after finally
  10728. $async$goto = 6;
  10729. break;
  10730. case 3:
  10731. // uncaught
  10732. // goto rethrow
  10733. $async$goto = 2;
  10734. break;
  10735. case 6:
  10736. // after finally
  10737. $async$returnValue = null;
  10738. // goto return
  10739. $async$goto = 1;
  10740. break;
  10741. case 1:
  10742. // return
  10743. return A._asyncReturn($async$returnValue, $async$completer);
  10744. case 2:
  10745. // rethrow
  10746. return A._asyncRethrow($async$currentError, $async$completer);
  10747. }
  10748. });
  10749. return A._asyncStartSync($async$compileStylesheet, $async$completer);
  10750. },
  10751. _compileStylesheetWithoutErrorHandling(options, graph, source, destination, ifModified) {
  10752. return A._compileStylesheetWithoutErrorHandling$body(options, graph, source, destination, ifModified);
  10753. },
  10754. _compileStylesheetWithoutErrorHandling$body(options, graph, source, destination, ifModified) {
  10755. var $async$goto = 0,
  10756. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  10757. $async$returnValue, $async$handler = 2, $async$currentError, syntax, result, importCache, error, t1, exception, t2, t3, t4, t5, t6, t7, t8, t9, t10, result0, t11, t12, t13, t14, logger, stylesheet, t0, css, buffer, sourceName, destinationName, nowStr, timestamp, importer, $async$exception;
  10758. var $async$_compileStylesheetWithoutErrorHandling = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  10759. if ($async$errorCode === 1) {
  10760. $async$currentError = $async$result;
  10761. $async$goto = $async$handler;
  10762. }
  10763. while (true)
  10764. switch ($async$goto) {
  10765. case 0:
  10766. // Function start
  10767. importer = $.$get$FilesystemImporter_cwd();
  10768. if (ifModified)
  10769. try {
  10770. if (source != null)
  10771. if (destination != null) {
  10772. t1 = A.absolute(source, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
  10773. t1 = !graph.modifiedSince$3($.$get$context().toUri$1(t1), A.modificationTime(destination), importer);
  10774. } else
  10775. t1 = false;
  10776. else
  10777. t1 = false;
  10778. if (t1) {
  10779. // goto return
  10780. $async$goto = 1;
  10781. break;
  10782. }
  10783. } catch (exception) {
  10784. if (!(A.unwrapException(exception) instanceof A.FileSystemException))
  10785. throw exception;
  10786. }
  10787. syntax = null;
  10788. if (A._asBoolQ(options._ifParsed$1("indented")) === true)
  10789. syntax = B.Syntax_Sass_sass;
  10790. else if (source != null)
  10791. syntax = A.Syntax_forPath(source);
  10792. else
  10793. syntax = B.Syntax_SCSS_scss;
  10794. result = null;
  10795. $async$handler = 4;
  10796. t1 = options._options;
  10797. $async$goto = A._asBool(t1.$index(0, "async")) ? 7 : 9;
  10798. break;
  10799. case 7:
  10800. // then
  10801. t2 = options.get$pkgImporters();
  10802. t3 = type$.List_String._as(t1.$index(0, "load-path"));
  10803. t4 = A._asBool(t1.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(options.get$color());
  10804. t5 = type$.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl;
  10805. t6 = type$.Record_3_AsyncImporter_and_Uri_and_bool_forImport;
  10806. t7 = type$.Uri;
  10807. t3 = A.AsyncImportCache__toImporters(t2, t3, null);
  10808. importCache = new A.AsyncImportCache(t3, t4, A.LinkedHashMap_LinkedHashMap$_empty(type$.Record_2_Uri_and_bool_forImport, t5), A.LinkedHashMap_LinkedHashMap$_empty(t6, t5), A.LinkedHashMap_LinkedHashMap$_empty(t6, t7), A.LinkedHashMap_LinkedHashMap$_empty(t7, type$.nullable_Stylesheet), A.LinkedHashMap_LinkedHashMap$_empty(t7, type$.ImporterResult));
  10809. $async$goto = source == null ? 10 : 12;
  10810. break;
  10811. case 10:
  10812. // then
  10813. $async$goto = 13;
  10814. return A._asyncAwait(A.readStdin(), $async$_compileStylesheetWithoutErrorHandling);
  10815. case 13:
  10816. // returning from await.
  10817. t2 = $async$result;
  10818. t3 = syntax;
  10819. t4 = A._asBool(t1.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(options.get$color());
  10820. t5 = $.$get$FilesystemImporter_cwd();
  10821. t6 = J.$eq$(t1.$index(0, "style"), "compressed") ? B.OutputStyle_1 : B.OutputStyle_0;
  10822. t7 = A._asBool(t1.$index(0, "quiet-deps"));
  10823. t8 = A._asBool(t1.$index(0, "verbose"));
  10824. t9 = options.get$emitSourceMap();
  10825. t1 = A._asBool(t1.$index(0, "charset"));
  10826. t10 = options.get$silenceDeprecations(0);
  10827. $async$goto = 14;
  10828. 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);
  10829. case 14:
  10830. // returning from await.
  10831. result0 = $async$result;
  10832. // goto join
  10833. $async$goto = 11;
  10834. break;
  10835. case 12:
  10836. // else
  10837. t2 = syntax;
  10838. t3 = A._asBool(t1.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(options.get$color());
  10839. t4 = J.$eq$(t1.$index(0, "style"), "compressed") ? B.OutputStyle_1 : B.OutputStyle_0;
  10840. t5 = A._asBool(t1.$index(0, "quiet-deps"));
  10841. t6 = A._asBool(t1.$index(0, "verbose"));
  10842. t7 = options.get$emitSourceMap();
  10843. t1 = A._asBool(t1.$index(0, "charset"));
  10844. t8 = options.get$silenceDeprecations(0);
  10845. $async$goto = 15;
  10846. 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);
  10847. case 15:
  10848. // returning from await.
  10849. result0 = $async$result;
  10850. case 11:
  10851. // join
  10852. result = result0;
  10853. // goto join
  10854. $async$goto = 8;
  10855. break;
  10856. case 9:
  10857. // else
  10858. $async$goto = source == null ? 16 : 18;
  10859. break;
  10860. case 16:
  10861. // then
  10862. $async$goto = 19;
  10863. return A._asyncAwait(A.readStdin(), $async$_compileStylesheetWithoutErrorHandling);
  10864. case 19:
  10865. // returning from await.
  10866. t2 = $async$result;
  10867. t3 = syntax;
  10868. t4 = A._asBool(t1.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(options.get$color());
  10869. t5 = $.$get$FilesystemImporter_cwd();
  10870. t6 = J.$eq$(t1.$index(0, "style"), "compressed") ? B.OutputStyle_1 : B.OutputStyle_0;
  10871. t7 = A._asBool(t1.$index(0, "quiet-deps"));
  10872. t8 = A._asBool(t1.$index(0, "verbose"));
  10873. t9 = options.get$emitSourceMap();
  10874. t1 = A._asBool(t1.$index(0, "charset"));
  10875. t10 = options.get$silenceDeprecations(0);
  10876. t11 = options.get$fatalDeprecations(0);
  10877. t12 = options.get$futureDeprecations(0);
  10878. t13 = type$.Deprecation;
  10879. t14 = A.LinkedHashSet_LinkedHashSet$_empty(t13);
  10880. t14.addAll$1(0, t10);
  10881. t10 = A.LinkedHashSet_LinkedHashSet$_empty(t13);
  10882. t10.addAll$1(0, t11);
  10883. t11 = A.LinkedHashSet_LinkedHashSet$_empty(t13);
  10884. t11.addAll$1(0, t12);
  10885. logger = A.DeprecationProcessingLogger$(t4, t10, t11, !t8, t14);
  10886. stylesheet = A.Stylesheet_Stylesheet$parse(t2, t3 == null ? B.Syntax_SCSS_scss : t3, logger, null);
  10887. result0 = A._compileStylesheet(stylesheet, logger, graph.importCache, null, t5, null, t6, true, null, null, t7, t9, t1);
  10888. logger.summarize$1$js(false);
  10889. // goto join
  10890. $async$goto = 17;
  10891. break;
  10892. case 18:
  10893. // else
  10894. t2 = syntax;
  10895. t3 = A._asBool(t1.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(options.get$color());
  10896. importCache = graph.importCache;
  10897. t4 = J.$eq$(t1.$index(0, "style"), "compressed") ? B.OutputStyle_1 : B.OutputStyle_0;
  10898. t5 = A._asBool(t1.$index(0, "quiet-deps"));
  10899. t6 = A._asBool(t1.$index(0, "verbose"));
  10900. t7 = options.get$emitSourceMap();
  10901. t1 = A._asBool(t1.$index(0, "charset"));
  10902. t8 = options.get$silenceDeprecations(0);
  10903. t9 = options.get$fatalDeprecations(0);
  10904. t10 = options.get$futureDeprecations(0);
  10905. t11 = type$.Deprecation;
  10906. t12 = A.LinkedHashSet_LinkedHashSet$_empty(t11);
  10907. t12.addAll$1(0, t8);
  10908. t8 = A.LinkedHashSet_LinkedHashSet$_empty(t11);
  10909. t8.addAll$1(0, t9);
  10910. t9 = A.LinkedHashSet_LinkedHashSet$_empty(t11);
  10911. t9.addAll$1(0, t10);
  10912. logger = A.DeprecationProcessingLogger$(t3, t8, t9, !t6, t12);
  10913. t3 = t2 == null || t2 === A.Syntax_forPath(source);
  10914. if (t3) {
  10915. t2 = $.$get$FilesystemImporter_cwd();
  10916. t3 = A.isNodeJs() ? self.process : null;
  10917. if (!J.$eq$(t3 == null ? null : J.get$platform$x(t3), "win32")) {
  10918. t3 = A.isNodeJs() ? self.process : null;
  10919. t3 = J.$eq$(t3 == null ? null : J.get$platform$x(t3), "darwin");
  10920. } else
  10921. t3 = true;
  10922. if (t3) {
  10923. t3 = $.$get$context();
  10924. t6 = A._realCasePath(A.absolute(t3.normalize$1(source), null, null, null, null, null, null, null, null, null, null, null, null, null, null));
  10925. t0 = t6;
  10926. t6 = t3;
  10927. t3 = t0;
  10928. } else {
  10929. t3 = $.$get$context();
  10930. t6 = t3.canonicalize$1(0, source);
  10931. t0 = t6;
  10932. t6 = t3;
  10933. t3 = t0;
  10934. }
  10935. t6 = importCache.importCanonical$3$originalUrl(t2, t6.toUri$1(t3), t6.toUri$1(source));
  10936. t6.toString;
  10937. stylesheet = t6;
  10938. } else {
  10939. t3 = A.readFile(source);
  10940. if (t2 == null)
  10941. t2 = A.Syntax_forPath(source);
  10942. stylesheet = A.Stylesheet_Stylesheet$parse(t3, t2, logger, $.$get$context().toUri$1(source));
  10943. }
  10944. result0 = A._compileStylesheet(stylesheet, logger, importCache, null, $.$get$FilesystemImporter_cwd(), null, t4, true, null, null, t5, t7, t1);
  10945. logger.summarize$1$js(false);
  10946. case 17:
  10947. // join
  10948. result = result0;
  10949. case 8:
  10950. // join
  10951. $async$handler = 2;
  10952. // goto after finally
  10953. $async$goto = 6;
  10954. break;
  10955. case 4:
  10956. // catch
  10957. $async$handler = 3;
  10958. $async$exception = $async$currentError;
  10959. t1 = A.unwrapException($async$exception);
  10960. if (t1 instanceof A.SassException) {
  10961. error = t1;
  10962. if (options.get$emitErrorCss())
  10963. if (destination == null)
  10964. A.print(error.toCssString$0());
  10965. else {
  10966. A.ensureDir($.$get$context().dirname$1(destination));
  10967. A.writeFile(destination, error.toCssString$0() + "\n");
  10968. }
  10969. throw $async$exception;
  10970. } else
  10971. throw $async$exception;
  10972. // goto after finally
  10973. $async$goto = 6;
  10974. break;
  10975. case 3:
  10976. // uncaught
  10977. // goto rethrow
  10978. $async$goto = 2;
  10979. break;
  10980. case 6:
  10981. // after finally
  10982. css = result._serialize._0 + A._writeSourceMap(options, result._serialize._1, destination);
  10983. if (destination == null) {
  10984. if (css.length !== 0)
  10985. A.print(css);
  10986. } else {
  10987. A.ensureDir($.$get$context().dirname$1(destination));
  10988. A.writeFile(destination, css + "\n");
  10989. }
  10990. t1 = options._options;
  10991. if (!A._asBool(t1.$index(0, "quiet")))
  10992. t1 = !A._asBool(t1.$index(0, "update")) && !A._asBool(t1.$index(0, "watch"));
  10993. else
  10994. t1 = true;
  10995. if (t1) {
  10996. // goto return
  10997. $async$goto = 1;
  10998. break;
  10999. }
  11000. buffer = new A.StringBuffer("");
  11001. if (source == null)
  11002. sourceName = "stdin";
  11003. else {
  11004. t1 = $.$get$context();
  11005. sourceName = t1.prettyUri$1(t1.toUri$1(source));
  11006. }
  11007. destination.toString;
  11008. t1 = $.$get$context();
  11009. destinationName = t1.prettyUri$1(t1.toUri$1(destination));
  11010. nowStr = new A.DateTime(Date.now(), false).toString$0(0);
  11011. timestamp = B.JSString_methods.substring$2(nowStr, 0, nowStr.length - 7);
  11012. t1 = options.get$color() ? buffer._contents = "" + "\x1b[90m" : "";
  11013. t1 = buffer._contents = t1 + ("[" + timestamp + "] ");
  11014. if (options.get$color())
  11015. t1 = buffer._contents = t1 + "\x1b[32m";
  11016. t1 += "Compiled " + sourceName + " to " + destinationName + ".";
  11017. buffer._contents = t1;
  11018. if (options.get$color())
  11019. buffer._contents = t1 + "\x1b[0m";
  11020. t1 = A.isNodeJs() ? self.process : null;
  11021. if (t1 != null) {
  11022. t1 = J.get$stdout$x(t1);
  11023. J.write$1$x(t1, buffer.toString$0(0) + "\n");
  11024. } else {
  11025. t1 = self.console;
  11026. J.log$1$x(t1, buffer);
  11027. }
  11028. case 1:
  11029. // return
  11030. return A._asyncReturn($async$returnValue, $async$completer);
  11031. case 2:
  11032. // rethrow
  11033. return A._asyncRethrow($async$currentError, $async$completer);
  11034. }
  11035. });
  11036. return A._asyncStartSync($async$_compileStylesheetWithoutErrorHandling, $async$completer);
  11037. },
  11038. _writeSourceMap(options, sourceMap, destination) {
  11039. var t1, sourceMapText, url, sourceMapPath, t2, escapedUrl;
  11040. if (sourceMap == null)
  11041. return "";
  11042. if (destination != null) {
  11043. t1 = $.$get$context();
  11044. sourceMap.targetUrl = t1.toUri$1(A.ParsedPath_ParsedPath$parse(destination, t1.style).get$basename()).toString$0(0);
  11045. }
  11046. A.mapInPlace(sourceMap.urls, new A._writeSourceMap_closure(options, destination));
  11047. t1 = options._options;
  11048. sourceMapText = B.C_JsonCodec.encode$2$toEncodable(sourceMap.toJson$1$includeSourceContents(A._asBool(t1.$index(0, "embed-sources"))), null);
  11049. if (A._asBool(t1.$index(0, "embed-source-map")))
  11050. url = A.Uri_Uri$dataFromString(sourceMapText, B.C_Utf8Codec, "application/json");
  11051. else {
  11052. destination.toString;
  11053. sourceMapPath = destination + ".map";
  11054. t2 = $.$get$context();
  11055. A.ensureDir(t2.dirname$1(sourceMapPath));
  11056. A.writeFile(sourceMapPath, sourceMapText);
  11057. url = t2.toUri$1(t2.relative$2$from(sourceMapPath, t2.dirname$1(destination)));
  11058. }
  11059. t2 = url.toString$0(0);
  11060. escapedUrl = A.stringReplaceAllUnchecked(t2, "*/", "%2A/");
  11061. t1 = (J.$eq$(t1.$index(0, "style"), "compressed") ? B.OutputStyle_1 : B.OutputStyle_0) === B.OutputStyle_1 ? "" : "\n\n";
  11062. return t1 + ("/*# sourceMappingURL=" + escapedUrl + " */");
  11063. },
  11064. _tryDelete(path) {
  11065. var exception;
  11066. try {
  11067. A.deleteFile(path);
  11068. } catch (exception) {
  11069. if (!(A.unwrapException(exception) instanceof A.FileSystemException))
  11070. throw exception;
  11071. }
  11072. },
  11073. _getErrorWithStackTrace(exitCode, error, stackTrace) {
  11074. 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);
  11075. },
  11076. _writeSourceMap_closure: function _writeSourceMap_closure(t0, t1) {
  11077. this.options = t0;
  11078. this.destination = t1;
  11079. },
  11080. ExecutableOptions__separator(text) {
  11081. var t1 = $.$get$ExecutableOptions__separatorBar(),
  11082. t2 = B.JSString_methods.$mul(t1, 3),
  11083. t3 = A.hasTerminal() ? "\x1b[1m" : "",
  11084. t4 = A.hasTerminal() ? "\x1b[0m" : "";
  11085. return t2 + " " + t3 + text + t4 + " " + B.JSString_methods.$mul(t1, 35 - text.length);
  11086. },
  11087. ExecutableOptions__fail(message) {
  11088. return A.throwExpression(A.UsageException$(message));
  11089. },
  11090. ExecutableOptions_ExecutableOptions$parse(args) {
  11091. var options, error, t1, t2, exception;
  11092. try {
  11093. t1 = $.$get$ExecutableOptions__parser();
  11094. t2 = A.ListQueue$(type$.String);
  11095. t2.addAll$1(0, args);
  11096. t2 = A.Parser$(null, t1, t2, null, null).parse$0();
  11097. if (t2.wasParsed$1("poll") && !A._asBool(t2.$index(0, "watch")))
  11098. A.ExecutableOptions__fail("--poll may not be passed without --watch.");
  11099. options = new A.ExecutableOptions(t2);
  11100. if (A._asBool(options._options.$index(0, "help")))
  11101. A.ExecutableOptions__fail("Compile Sass to CSS.");
  11102. return options;
  11103. } catch (exception) {
  11104. t1 = A.unwrapException(exception);
  11105. if (type$.FormatException._is(t1)) {
  11106. error = t1;
  11107. A.ExecutableOptions__fail(J.get$message$x(error));
  11108. } else
  11109. throw exception;
  11110. }
  11111. },
  11112. UsageException$(message) {
  11113. return new A.UsageException(message);
  11114. },
  11115. ExecutableOptions: function ExecutableOptions(t0) {
  11116. var _ = this;
  11117. _._options = t0;
  11118. _.__ExecutableOptions_interactive_FI = $;
  11119. _._sourcesToDestinations = null;
  11120. _.__ExecutableOptions__sourceDirectoriesToDestinations_F = $;
  11121. _._fatalDeprecations = null;
  11122. },
  11123. ExecutableOptions__parser_closure: function ExecutableOptions__parser_closure() {
  11124. },
  11125. ExecutableOptions_interactive_closure: function ExecutableOptions_interactive_closure(t0) {
  11126. this.$this = t0;
  11127. },
  11128. ExecutableOptions_emitErrorCss_closure: function ExecutableOptions_emitErrorCss_closure() {
  11129. },
  11130. ExecutableOptions_fatalDeprecations_closure: function ExecutableOptions_fatalDeprecations_closure(t0) {
  11131. this.$this = t0;
  11132. },
  11133. UsageException: function UsageException(t0) {
  11134. this.message = t0;
  11135. },
  11136. watch(options, graph) {
  11137. var $async$goto = 0,
  11138. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  11139. $async$returnValue, t1, t2, t3, t4, t5, t6, dirWatcher, sourcesToDestinations, t0;
  11140. var $async$watch = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  11141. if ($async$errorCode === 1)
  11142. return A._asyncRethrow($async$result, $async$completer);
  11143. while (true)
  11144. switch ($async$goto) {
  11145. case 0:
  11146. // Function start
  11147. options._ensureSources$0();
  11148. t1 = options.__ExecutableOptions__sourceDirectoriesToDestinations_F;
  11149. t1 === $ && A.throwUnnamedLateFieldNI();
  11150. t2 = type$.String;
  11151. t1 = t1.cast$2$0(0, t2, t2);
  11152. t1 = A.List_List$of(t1.get$keys(t1), true, t2);
  11153. for (options._ensureSources$0(), t3 = options._sourcesToDestinations.cast$2$0(0, t2, t2), t3 = J.get$iterator$ax(t3.get$keys(t3)); t3.moveNext$0();) {
  11154. t4 = t3.get$current(t3);
  11155. t1.push($.$get$context().dirname$1(t4));
  11156. }
  11157. t3 = options._options;
  11158. B.JSArray_methods.addAll$1(t1, type$.List_String._as(t3.$index(0, "load-path")));
  11159. t4 = A._asBool(t3.$index(0, "poll"));
  11160. t5 = type$.Stream_WatchEvent;
  11161. t6 = A.PathMap__create(null, t5);
  11162. t5 = new A.StreamGroup(B._StreamGroupState_dormant, A.LinkedHashMap_LinkedHashMap$_empty(t5, type$.nullable_StreamSubscription_WatchEvent), type$.StreamGroup_WatchEvent);
  11163. t5.__StreamGroup__controller_A = A.StreamController_StreamController(t5.get$_onCancel(), t5.get$_onListen(), t5.get$_onPause(), t5.get$_onResume(), true, type$.WatchEvent);
  11164. dirWatcher = new A.MultiDirWatcher(new A.PathMap(t6, type$.PathMap_Stream_WatchEvent), t5, t4);
  11165. $async$goto = 3;
  11166. 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);
  11167. case 3:
  11168. // returning from await.
  11169. options._ensureSources$0();
  11170. sourcesToDestinations = options._sourcesToDestinations.cast$2$0(0, t2, t2);
  11171. for (t1 = J.get$iterator$ax(sourcesToDestinations.get$keys(sourcesToDestinations)); t1.moveNext$0();) {
  11172. t2 = t1.get$current(t1);
  11173. t4 = $.$get$FilesystemImporter_cwd();
  11174. t5 = self.process;
  11175. if (t5 == null)
  11176. t5 = null;
  11177. else {
  11178. t5 = J.get$release$x(t5);
  11179. t5 = t5 == null ? null : J.get$name$x(t5);
  11180. }
  11181. t5 = J.$eq$(t5, "node") ? self.process : null;
  11182. if (!J.$eq$(t5 == null ? null : J.get$platform$x(t5), "win32")) {
  11183. t5 = self.process;
  11184. if (t5 == null)
  11185. t5 = null;
  11186. else {
  11187. t5 = J.get$release$x(t5);
  11188. t5 = t5 == null ? null : J.get$name$x(t5);
  11189. }
  11190. t5 = J.$eq$(t5, "node") ? self.process : null;
  11191. t5 = J.$eq$(t5 == null ? null : J.get$platform$x(t5), "darwin");
  11192. } else
  11193. t5 = true;
  11194. if (t5) {
  11195. t5 = $.$get$context();
  11196. t6 = A._realCasePath(t5.absolute$15(t5.normalize$1(t2), null, null, null, null, null, null, null, null, null, null, null, null, null, null));
  11197. t0 = t6;
  11198. t6 = t5;
  11199. t5 = t0;
  11200. } else {
  11201. t5 = $.$get$context();
  11202. t6 = t5.canonicalize$1(0, t2);
  11203. t0 = t6;
  11204. t6 = t5;
  11205. t5 = t0;
  11206. }
  11207. graph.addCanonical$4$recanonicalize(t4, t6.toUri$1(t5), t6.toUri$1(t2), false);
  11208. }
  11209. $async$goto = 4;
  11210. return A._asyncAwait(A.compileStylesheets(options, graph, sourcesToDestinations, true), $async$watch);
  11211. case 4:
  11212. // returning from await.
  11213. if (!$async$result && A._asBool(t3.$index(0, "stop-on-error"))) {
  11214. t1 = dirWatcher._group.__StreamGroup__controller_A;
  11215. t1 === $ && A.throwUnnamedLateFieldNI();
  11216. new A._ControllerStream(t1, A._instanceType(t1)._eval$1("_ControllerStream<1>")).listen$1(0, null).cancel$0();
  11217. // goto return
  11218. $async$goto = 1;
  11219. break;
  11220. }
  11221. A.print("Sass is watching for changes. Press Ctrl-C to stop.\n");
  11222. $async$goto = 5;
  11223. return A._asyncAwait(new A._Watcher(options, graph).watch$1(0, dirWatcher), $async$watch);
  11224. case 5:
  11225. // returning from await.
  11226. case 1:
  11227. // return
  11228. return A._asyncReturn($async$returnValue, $async$completer);
  11229. }
  11230. });
  11231. return A._asyncStartSync($async$watch, $async$completer);
  11232. },
  11233. watch_closure: function watch_closure(t0) {
  11234. this.dirWatcher = t0;
  11235. },
  11236. _Watcher: function _Watcher(t0, t1) {
  11237. this._watch$_options = t0;
  11238. this._graph = t1;
  11239. },
  11240. _Watcher__debounceEvents_closure: function _Watcher__debounceEvents_closure() {
  11241. },
  11242. EmptyExtensionStore: function EmptyExtensionStore() {
  11243. },
  11244. Extension: function Extension(t0, t1, t2, t3, t4) {
  11245. var _ = this;
  11246. _.extender = t0;
  11247. _.target = t1;
  11248. _.mediaContext = t2;
  11249. _.isOptional = t3;
  11250. _.span = t4;
  11251. },
  11252. Extender: function Extender(t0, t1) {
  11253. this.selector = t0;
  11254. this.isOriginal = t1;
  11255. this._extension = null;
  11256. },
  11257. ExtensionStore__extendOrReplace(selector, source, targets, mode, span) {
  11258. var t1, t2, t3, t4, t5, t6, t7, t8, _i, complex, compound, t9, t10, t11, _i0, simple, t12, _i1, t13, t14,
  11259. extender = A.ExtensionStore$_mode(mode);
  11260. if (!selector.accept$1(B._IsInvisibleVisitor_true))
  11261. extender._originals.addAll$1(0, selector.components);
  11262. 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) {
  11263. complex = t1[_i];
  11264. compound = complex.get$singleCompound();
  11265. if (compound == null)
  11266. throw A.wrapException(A.SassScriptException$("Can't extend complex selector " + A.S(complex) + ".", null));
  11267. t9 = A.LinkedHashMap_LinkedHashMap$_empty(t7, t8);
  11268. for (t10 = compound.components, t11 = t10.length, _i0 = 0; _i0 < t11; ++_i0) {
  11269. simple = t10[_i0];
  11270. t12 = A.LinkedHashMap_LinkedHashMap$_empty(t5, t6);
  11271. for (_i1 = 0; _i1 < t4; ++_i1) {
  11272. complex = t3[_i1];
  11273. complex.get$specificity();
  11274. t13 = new A.Extender(complex, false);
  11275. t14 = new A.Extension(t13, simple, null, true, span);
  11276. t13._extension = t14;
  11277. t12.$indexSet(0, complex, t14);
  11278. }
  11279. t9.$indexSet(0, simple, t12);
  11280. }
  11281. selector = extender._extendList$2(selector, t9);
  11282. }
  11283. return selector;
  11284. },
  11285. ExtensionStore$() {
  11286. var t1 = type$.SimpleSelector;
  11287. 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_normal);
  11288. },
  11289. ExtensionStore$_mode(_mode) {
  11290. var t1 = type$.SimpleSelector;
  11291. 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);
  11292. },
  11293. ExtensionStore: function ExtensionStore(t0, t1, t2, t3, t4, t5, t6) {
  11294. var _ = this;
  11295. _._selectors = t0;
  11296. _._extensions = t1;
  11297. _._extensionsByExtender = t2;
  11298. _._mediaContexts = t3;
  11299. _._sourceSpecificity = t4;
  11300. _._originals = t5;
  11301. _._mode = t6;
  11302. },
  11303. ExtensionStore_extensionsWhereTarget_closure: function ExtensionStore_extensionsWhereTarget_closure() {
  11304. },
  11305. ExtensionStore__registerSelector_closure: function ExtensionStore__registerSelector_closure() {
  11306. },
  11307. ExtensionStore_addExtension_closure: function ExtensionStore_addExtension_closure() {
  11308. },
  11309. ExtensionStore_addExtension_closure0: function ExtensionStore_addExtension_closure0() {
  11310. },
  11311. ExtensionStore_addExtension_closure1: function ExtensionStore_addExtension_closure1(t0) {
  11312. this.complex = t0;
  11313. },
  11314. ExtensionStore__extendExistingExtensions_closure: function ExtensionStore__extendExistingExtensions_closure() {
  11315. },
  11316. ExtensionStore__extendExistingExtensions_closure0: function ExtensionStore__extendExistingExtensions_closure0() {
  11317. },
  11318. ExtensionStore_addExtensions_closure: function ExtensionStore_addExtensions_closure() {
  11319. },
  11320. ExtensionStore__extendComplex_closure: function ExtensionStore__extendComplex_closure(t0, t1, t2) {
  11321. this._box_0 = t0;
  11322. this.$this = t1;
  11323. this.complex = t2;
  11324. },
  11325. ExtensionStore__extendComplex__closure: function ExtensionStore__extendComplex__closure(t0, t1, t2) {
  11326. this._box_0 = t0;
  11327. this.$this = t1;
  11328. this.complex = t2;
  11329. },
  11330. ExtensionStore__extendCompound_closure: function ExtensionStore__extendCompound_closure() {
  11331. },
  11332. ExtensionStore__extendCompound_closure0: function ExtensionStore__extendCompound_closure0() {
  11333. },
  11334. ExtensionStore__extendCompound_closure1: function ExtensionStore__extendCompound_closure1(t0) {
  11335. this.original = t0;
  11336. },
  11337. ExtensionStore__extendSimple_withoutPseudo: function ExtensionStore__extendSimple_withoutPseudo(t0, t1, t2) {
  11338. this.$this = t0;
  11339. this.extensions = t1;
  11340. this.targetsUsed = t2;
  11341. },
  11342. ExtensionStore__extendSimple_closure: function ExtensionStore__extendSimple_closure(t0, t1) {
  11343. this.$this = t0;
  11344. this.withoutPseudo = t1;
  11345. },
  11346. ExtensionStore__extendSimple_closure0: function ExtensionStore__extendSimple_closure0() {
  11347. },
  11348. ExtensionStore__extendPseudo_closure: function ExtensionStore__extendPseudo_closure() {
  11349. },
  11350. ExtensionStore__extendPseudo_closure0: function ExtensionStore__extendPseudo_closure0() {
  11351. },
  11352. ExtensionStore__extendPseudo_closure1: function ExtensionStore__extendPseudo_closure1() {
  11353. },
  11354. ExtensionStore__extendPseudo_closure2: function ExtensionStore__extendPseudo_closure2(t0) {
  11355. this.pseudo = t0;
  11356. },
  11357. ExtensionStore__extendPseudo_closure3: function ExtensionStore__extendPseudo_closure3(t0, t1) {
  11358. this.pseudo = t0;
  11359. this.selector = t1;
  11360. },
  11361. ExtensionStore__trim_closure: function ExtensionStore__trim_closure(t0, t1) {
  11362. this._box_0 = t0;
  11363. this.complex1 = t1;
  11364. },
  11365. ExtensionStore__trim_closure0: function ExtensionStore__trim_closure0(t0, t1) {
  11366. this._box_0 = t0;
  11367. this.complex1 = t1;
  11368. },
  11369. ExtensionStore_clone_closure: function ExtensionStore_clone_closure(t0, t1, t2, t3) {
  11370. var _ = this;
  11371. _.$this = t0;
  11372. _.newSelectors = t1;
  11373. _.oldToNewSelectors = t2;
  11374. _.newMediaContexts = t3;
  11375. },
  11376. unifyComplex(complexes, span) {
  11377. var t2, trailingCombinator, leadingCombinator, unifiedBase, t3, t4, _0_6_isSet, _0_6, t5, newLeadingCombinator, base, _1_1, newTrailingCombinator, _i, t6, t7, t8, _null = null,
  11378. t1 = J.getInterceptor$asx(complexes);
  11379. if (t1.get$length(complexes) === 1)
  11380. return complexes;
  11381. for (t2 = t1.get$iterator(complexes), trailingCombinator = _null, leadingCombinator = trailingCombinator, unifiedBase = leadingCombinator; t2.moveNext$0();) {
  11382. t3 = t2.get$current(t2);
  11383. if (t3.accept$1(B.C__IsUselessVisitor))
  11384. return _null;
  11385. t4 = t3.components;
  11386. _0_6_isSet = t4.length === 1;
  11387. if (_0_6_isSet) {
  11388. _0_6 = t3.leadingCombinators;
  11389. t5 = _0_6.length === 1;
  11390. } else {
  11391. _0_6 = _null;
  11392. t5 = false;
  11393. }
  11394. if (t5) {
  11395. newLeadingCombinator = (_0_6_isSet ? _0_6 : t3.leadingCombinators)[0];
  11396. if (leadingCombinator == null)
  11397. leadingCombinator = newLeadingCombinator;
  11398. else if (!(leadingCombinator.$ti._is(newLeadingCombinator) && J.$eq$(newLeadingCombinator.value, leadingCombinator.value)))
  11399. return _null;
  11400. }
  11401. base = B.JSArray_methods.get$last(t4);
  11402. _1_1 = base.combinators;
  11403. if (_1_1.length === 1) {
  11404. newTrailingCombinator = _1_1[0];
  11405. if (trailingCombinator != null)
  11406. t3 = !(trailingCombinator.$ti._is(newTrailingCombinator) && J.$eq$(newTrailingCombinator.value, trailingCombinator.value));
  11407. else
  11408. t3 = false;
  11409. if (t3)
  11410. return _null;
  11411. trailingCombinator = newTrailingCombinator;
  11412. }
  11413. if (unifiedBase == null)
  11414. unifiedBase = base.selector.components;
  11415. else
  11416. for (t3 = base.selector.components, t4 = t3.length, _i = 0; _i < t4; ++_i) {
  11417. unifiedBase = t3[_i].unify$1(unifiedBase);
  11418. if (unifiedBase == null)
  11419. return _null;
  11420. }
  11421. }
  11422. t2 = type$.JSArray_ComplexSelector;
  11423. t3 = A._setArrayType([], t2);
  11424. for (t4 = t1.get$iterator(complexes); t4.moveNext$0();) {
  11425. t5 = t4.get$current(t4);
  11426. t6 = t5.components;
  11427. t7 = t6.length;
  11428. if (t7 > 1) {
  11429. t8 = t5.leadingCombinators;
  11430. t3.push(A.ComplexSelector$(t8, B.JSArray_methods.take$1(t6, t7 - 1), t5.span, t5.lineBreak));
  11431. }
  11432. }
  11433. t4 = leadingCombinator == null ? B.List_empty1 : A._setArrayType([leadingCombinator], type$.JSArray_CssValue_Combinator);
  11434. unifiedBase.toString;
  11435. t5 = A.CompoundSelector$(unifiedBase, span);
  11436. t6 = trailingCombinator == null ? B.List_empty1 : A._setArrayType([trailingCombinator], type$.JSArray_CssValue_Combinator);
  11437. base = A.ComplexSelector$(t4, A._setArrayType([new A.ComplexSelectorComponent(t5, A.List_List$unmodifiable(t6, type$.CssValue_Combinator), span)], type$.JSArray_ComplexSelectorComponent), span, t1.any$1(complexes, new A.unifyComplex_closure()));
  11438. if (t3.length === 0)
  11439. t1 = A._setArrayType([base], t2);
  11440. else {
  11441. t1 = A.List_List$of(A.IterableExtension_get_exceptLast(t3), true, type$.ComplexSelector);
  11442. t1.push(B.JSArray_methods.get$last(t3).concatenate$2(base, span));
  11443. }
  11444. return A.weave(t1, span, false);
  11445. },
  11446. unifyCompound(compound1, compound2) {
  11447. var t1, t2, _i, unified,
  11448. result = compound2.components;
  11449. for (t1 = compound1.components, t2 = t1.length, _i = 0; _i < t2; ++_i, result = unified) {
  11450. unified = t1[_i].unify$1(result);
  11451. if (unified == null)
  11452. return null;
  11453. }
  11454. return A.CompoundSelector$(result, compound1.span);
  11455. },
  11456. unifyUniversalAndElement(selector1, selector2) {
  11457. var namespace, $name, t1,
  11458. _0_0 = A._namespaceAndName(selector1, "selector1"),
  11459. namespace1 = _0_0._0,
  11460. name1 = _0_0._1,
  11461. _1_0 = A._namespaceAndName(selector2, "selector2"),
  11462. namespace2 = _1_0._0,
  11463. name2 = _1_0._1;
  11464. if (namespace1 == namespace2 || namespace2 === "*")
  11465. namespace = namespace1;
  11466. else {
  11467. if (namespace1 !== "*")
  11468. return null;
  11469. namespace = namespace2;
  11470. }
  11471. if (name1 == name2 || name2 == null)
  11472. $name = name1;
  11473. else {
  11474. if (!(name1 == null || name1 === "*"))
  11475. return null;
  11476. $name = name2;
  11477. }
  11478. t1 = selector1.span;
  11479. return $name == null ? new A.UniversalSelector(namespace, t1) : new A.TypeSelector(new A.QualifiedName($name, namespace), t1);
  11480. },
  11481. _namespaceAndName(selector, $name) {
  11482. var t1, _0_4;
  11483. $label0$0: {
  11484. if (selector instanceof A.UniversalSelector) {
  11485. t1 = new A._Record_2(selector.namespace, null);
  11486. break $label0$0;
  11487. }
  11488. if (selector instanceof A.TypeSelector) {
  11489. _0_4 = selector.name;
  11490. t1 = new A._Record_2(_0_4.namespace, _0_4.name);
  11491. break $label0$0;
  11492. }
  11493. t1 = A.throwExpression(A.ArgumentError$value(selector, $name, string$.must_b));
  11494. }
  11495. return t1;
  11496. },
  11497. weave(complexes, span, forceLineBreak) {
  11498. var complex, t2, prefixes, t3, t4, t5, t6, i, t7, t8, _i, t9, t10, _i0, parentPrefix, t11, t12,
  11499. t1 = J.getInterceptor$asx(complexes);
  11500. if (t1.get$length(complexes) === 1) {
  11501. complex = t1.$index(complexes, 0);
  11502. if (!forceLineBreak || complex.lineBreak)
  11503. return complexes;
  11504. return A._setArrayType([A.ComplexSelector$(complex.leadingCombinators, complex.components, complex.span, true)], type$.JSArray_ComplexSelector);
  11505. }
  11506. t2 = type$.JSArray_ComplexSelector;
  11507. prefixes = A._setArrayType([t1.get$first(complexes)], t2);
  11508. 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();) {
  11509. t5 = t1.__internal$_current;
  11510. if (t5 == null)
  11511. t5 = t3._as(t5);
  11512. t6 = t5.components;
  11513. if (t6.length === 1) {
  11514. for (i = 0; i < prefixes.length; ++i)
  11515. prefixes[i] = prefixes[i].concatenate$3$forceLineBreak(t5, span, forceLineBreak);
  11516. continue;
  11517. }
  11518. t7 = A._setArrayType([], t2);
  11519. for (t8 = prefixes.length, _i = 0; _i < prefixes.length; prefixes.length === t8 || (0, A.throwConcurrentModificationError)(prefixes), ++_i) {
  11520. t9 = A._weaveParents(prefixes[_i], t5, span);
  11521. if (t9 == null)
  11522. t9 = B.List_empty2;
  11523. t10 = t9.length;
  11524. _i0 = 0;
  11525. for (; _i0 < t9.length; t9.length === t10 || (0, A.throwConcurrentModificationError)(t9), ++_i0) {
  11526. parentPrefix = t9[_i0];
  11527. t11 = B.JSArray_methods.get$last(t6);
  11528. t12 = A.List_List$of(parentPrefix.components, true, t4);
  11529. t12.push(t11);
  11530. t11 = parentPrefix.lineBreak || forceLineBreak;
  11531. t7.push(A.ComplexSelector$(parentPrefix.leadingCombinators, t12, span, t11));
  11532. }
  11533. }
  11534. prefixes = t7;
  11535. }
  11536. return prefixes;
  11537. },
  11538. _weaveParents(prefix, base, span) {
  11539. var t1, queue1, queue2, trailingCombinators, _0_1, _0_3, _0_3_isSet, rootish1, t2, rootish2, _0_30, rootish, t3, rootish_case_0, t0, rootish_case_1, groups1, groups2, lcs, choices, t4, _i, group, t5, t6, t7, _i0, chunk, t8, t9, _null = null,
  11540. leadingCombinators = A._mergeLeadingCombinators(prefix.leadingCombinators, base.leadingCombinators);
  11541. if (leadingCombinators == null)
  11542. return _null;
  11543. t1 = type$.ComplexSelectorComponent;
  11544. queue1 = A.QueueList_QueueList$from(prefix.components, t1);
  11545. queue2 = A.QueueList_QueueList$from(A.IterableExtension_get_exceptLast(base.components), t1);
  11546. trailingCombinators = A._mergeTrailingCombinators(queue1, queue2, span, _null);
  11547. if (trailingCombinators == null)
  11548. return _null;
  11549. $label0$0: {
  11550. _0_1 = A._firstIfRootish(queue1);
  11551. _0_3 = A._firstIfRootish(queue2);
  11552. _0_3_isSet = _0_1 != null;
  11553. if (_0_3_isSet) {
  11554. rootish1 = _0_1 == null ? t1._as(_0_1) : _0_1;
  11555. t2 = _0_3 != null;
  11556. if (t2)
  11557. rootish2 = _0_3 == null ? t1._as(_0_3) : _0_3;
  11558. else
  11559. rootish2 = _null;
  11560. _0_30 = _0_3;
  11561. } else {
  11562. rootish2 = _null;
  11563. rootish1 = rootish2;
  11564. _0_30 = rootish1;
  11565. t2 = false;
  11566. }
  11567. if (t2) {
  11568. rootish = A.unifyCompound(rootish1.selector, rootish2.selector);
  11569. if (rootish == null)
  11570. return _null;
  11571. t1 = rootish1.combinators;
  11572. t2 = rootish1.span;
  11573. t3 = type$.CssValue_Combinator;
  11574. queue1.addFirst$1(new A.ComplexSelectorComponent(rootish, A.List_List$unmodifiable(t1, t3), t2));
  11575. queue2.addFirst$1(new A.ComplexSelectorComponent(rootish, A.List_List$unmodifiable(rootish2.combinators, t3), t2));
  11576. break $label0$0;
  11577. }
  11578. if (_0_1 != null) {
  11579. rootish_case_0 = _0_1;
  11580. if (_0_3_isSet)
  11581. t2 = _0_30;
  11582. else {
  11583. t2 = _0_3;
  11584. _0_30 = t2;
  11585. _0_3_isSet = true;
  11586. }
  11587. t2 = t2 == null;
  11588. t3 = t2 ? rootish_case_0 : _null;
  11589. t0 = t3;
  11590. t3 = t2;
  11591. t2 = t0;
  11592. } else {
  11593. t2 = _null;
  11594. t3 = false;
  11595. }
  11596. if (!t3)
  11597. if (_0_1 == null) {
  11598. if (_0_3_isSet)
  11599. t3 = _0_30;
  11600. else {
  11601. t3 = _0_3;
  11602. _0_30 = t3;
  11603. _0_3_isSet = true;
  11604. }
  11605. t3 = t3 != null;
  11606. if (t3) {
  11607. rootish_case_1 = _0_3_isSet ? _0_30 : _0_3;
  11608. if (rootish_case_1 == null)
  11609. rootish_case_1 = t1._as(rootish_case_1);
  11610. t1 = rootish_case_1;
  11611. } else
  11612. t1 = t2;
  11613. t2 = t3;
  11614. } else {
  11615. t1 = t2;
  11616. t2 = false;
  11617. }
  11618. else {
  11619. t1 = t2;
  11620. t2 = true;
  11621. }
  11622. if (t2) {
  11623. queue1.addFirst$1(t1);
  11624. queue2.addFirst$1(t1);
  11625. }
  11626. }
  11627. groups1 = A._groupSelectors(queue1);
  11628. groups2 = A._groupSelectors(queue2);
  11629. t1 = type$.List_ComplexSelectorComponent;
  11630. lcs = A.longestCommonSubsequence(groups2, groups1, new A._weaveParents_closure(span), t1);
  11631. choices = A._setArrayType([], type$.JSArray_List_Iterable_ComplexSelectorComponent);
  11632. 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) {
  11633. group = lcs[_i];
  11634. t5 = A._setArrayType([], t3);
  11635. 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) {
  11636. chunk = t6[_i0];
  11637. t8 = A._setArrayType([], t4);
  11638. for (t9 = B.JSArray_methods.get$iterator(chunk); t9.moveNext$0();)
  11639. B.JSArray_methods.addAll$1(t8, t9.get$current(0));
  11640. t5.push(t8);
  11641. }
  11642. choices.push(t5);
  11643. choices.push(A._setArrayType([group], t3));
  11644. groups1.removeFirst$0();
  11645. groups2.removeFirst$0();
  11646. }
  11647. t2 = A._setArrayType([], t3);
  11648. 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) {
  11649. chunk = t1[_i];
  11650. t5 = A._setArrayType([], t4);
  11651. for (t6 = B.JSArray_methods.get$iterator(chunk); t6.moveNext$0();)
  11652. B.JSArray_methods.addAll$1(t5, t6.get$current(0));
  11653. t2.push(t5);
  11654. }
  11655. choices.push(t2);
  11656. B.JSArray_methods.addAll$1(choices, trailingCombinators);
  11657. t1 = A._setArrayType([], type$.JSArray_ComplexSelector);
  11658. 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();) {
  11659. t6 = t2.get$current(t2);
  11660. t7 = A._setArrayType([], t4);
  11661. for (t6 = J.get$iterator$ax(t6); t6.moveNext$0();)
  11662. B.JSArray_methods.addAll$1(t7, t6.get$current(t6));
  11663. t1.push(A.ComplexSelector$(leadingCombinators, t7, span, !t3 || t5));
  11664. }
  11665. return t1;
  11666. },
  11667. _firstIfRootish(queue) {
  11668. var first, t1, t2, _i, simple, t3;
  11669. if (queue.get$length(0) >= 1) {
  11670. first = queue.$index(0, 0);
  11671. for (t1 = first.selector.components, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  11672. simple = t1[_i];
  11673. if (simple instanceof A.PseudoSelector)
  11674. if (simple.isClass)
  11675. t3 = $._rootishPseudoClasses.contains$1(0, simple.normalizedName);
  11676. else
  11677. t3 = false;
  11678. else
  11679. t3 = false;
  11680. if (t3) {
  11681. queue.removeFirst$0();
  11682. return first;
  11683. }
  11684. }
  11685. }
  11686. return null;
  11687. },
  11688. _mergeLeadingCombinators(combinators1, combinators2) {
  11689. var _0_4, t1, _0_7_isSet, _0_7, t2, _0_11_isSet, _0_11, _0_4_isSet, combinators, _null = null;
  11690. $label0$0: {
  11691. _0_4 = combinators2;
  11692. t1 = type$.List_CssValue_Combinator;
  11693. _0_7_isSet = t1._is(combinators1);
  11694. if (_0_7_isSet) {
  11695. _0_7 = combinators1.length;
  11696. t2 = _0_7;
  11697. t2 = t2 > 1;
  11698. } else {
  11699. _0_7 = _null;
  11700. t2 = false;
  11701. }
  11702. if (!t2) {
  11703. t2 = _0_4;
  11704. _0_11_isSet = t1._is(t2);
  11705. if (_0_11_isSet) {
  11706. t2 = _0_4;
  11707. _0_11 = (t2 == null ? t1._as(t2) : t2).length;
  11708. t2 = _0_11;
  11709. _0_4_isSet = true;
  11710. t2 = t2 > 1;
  11711. } else {
  11712. _0_11 = _null;
  11713. _0_4_isSet = true;
  11714. t2 = false;
  11715. }
  11716. } else {
  11717. _0_11 = _null;
  11718. _0_4_isSet = true;
  11719. _0_11_isSet = false;
  11720. t2 = true;
  11721. }
  11722. if (t2) {
  11723. t1 = _null;
  11724. break $label0$0;
  11725. }
  11726. if (t1._is(combinators1)) {
  11727. if (_0_7_isSet)
  11728. t2 = _0_7;
  11729. else {
  11730. _0_7 = combinators1.length;
  11731. t2 = _0_7;
  11732. }
  11733. t2 = t2 <= 0;
  11734. if (t2)
  11735. if (_0_4_isSet)
  11736. combinators = _0_4;
  11737. else {
  11738. combinators = combinators2;
  11739. _0_4 = combinators;
  11740. _0_4_isSet = true;
  11741. }
  11742. else
  11743. combinators = _null;
  11744. } else {
  11745. combinators = _null;
  11746. t2 = false;
  11747. }
  11748. if (!t2) {
  11749. if (_0_4_isSet)
  11750. t2 = _0_4;
  11751. else {
  11752. t2 = combinators2;
  11753. _0_4 = t2;
  11754. _0_4_isSet = true;
  11755. }
  11756. if (t1._is(t2)) {
  11757. if (_0_11_isSet)
  11758. t1 = _0_11;
  11759. else {
  11760. t2 = _0_4_isSet ? _0_4 : combinators2;
  11761. _0_11 = (t2 == null ? t1._as(t2) : t2).length;
  11762. t1 = _0_11;
  11763. }
  11764. t1 = t1 <= 0;
  11765. } else
  11766. t1 = false;
  11767. combinators = combinators1;
  11768. } else
  11769. t1 = true;
  11770. if (t1) {
  11771. t1 = combinators;
  11772. break $label0$0;
  11773. }
  11774. t1 = B.C_ListEquality.equals$2(0, combinators1, combinators2) ? combinators1 : _null;
  11775. break $label0$0;
  11776. }
  11777. return t1;
  11778. },
  11779. _mergeTrailingCombinators(components1, components2, span, result) {
  11780. var _0_1, t1, _1_1, t2, t3, _4_1, _4_3, _4_4_isSet, _4_4, _4_5, component1, component2, t4, t5, choices, _2_0, _4_4_isSet0, _4_9, _4_6_isSet, _4_6, _4_7, nextComponents, followingComponents, _4_7_isSet, _4_10_isSet, _4_10, _4_5_isSet, next, following, _3_0, siblingComponents_case_0, t0, siblingComponents_case_1, combinator1, combinator2, unified, combinator_case_0, combinatorComponents_case_0, descendantComponents_case_0, t6, combinator_case_1, descendantComponents_case_1, combinatorComponents_case_1, _null = null;
  11781. if (result == null)
  11782. result = A.QueueList$(_null, type$.List_List_ComplexSelectorComponent);
  11783. $label0$0: {
  11784. _0_1 = components1.get$length(0);
  11785. if (_0_1 >= 1) {
  11786. t1 = components1.$index(0, _0_1 - 1).combinators;
  11787. break $label0$0;
  11788. }
  11789. t1 = B.List_empty1;
  11790. break $label0$0;
  11791. }
  11792. $label1$1: {
  11793. _1_1 = components2.get$length(0);
  11794. if (_1_1 >= 1) {
  11795. t2 = components2.$index(0, _1_1 - 1).combinators;
  11796. break $label1$1;
  11797. }
  11798. t2 = B.List_empty1;
  11799. break $label1$1;
  11800. }
  11801. t3 = t1.length;
  11802. if (t3 === 0 && t2.length === 0)
  11803. return result;
  11804. if (t3 > 1 || t2.length > 1)
  11805. return _null;
  11806. $label2$2: {
  11807. t3 = A.IterableExtension_get_firstOrNull(t1);
  11808. t3 = t3 == null ? _null : t3.value;
  11809. t2 = A.IterableExtension_get_firstOrNull(t2);
  11810. t2 = [t3, t2 == null ? _null : t2.value, components1, components2];
  11811. _4_1 = t2[0];
  11812. _4_3 = B.Combinator_y18 === _4_1;
  11813. _4_4_isSet = _4_3;
  11814. if (_4_4_isSet) {
  11815. _4_4 = t2[1];
  11816. _4_5 = B.Combinator_y18 === _4_4;
  11817. t3 = _4_5;
  11818. } else {
  11819. _4_4 = _null;
  11820. _4_5 = _4_4;
  11821. t3 = false;
  11822. }
  11823. if (t3) {
  11824. component1 = components1.removeLast$0(0);
  11825. component2 = components2.removeLast$0(0);
  11826. t2 = component1.selector;
  11827. t3 = component2.selector;
  11828. if (A.compoundIsSuperselector(t2, t3, _null))
  11829. result.addFirst$1(A._setArrayType([A._setArrayType([component2], type$.JSArray_ComplexSelectorComponent)], type$.JSArray_List_ComplexSelectorComponent));
  11830. else {
  11831. t4 = type$.JSArray_ComplexSelectorComponent;
  11832. t5 = type$.JSArray_List_ComplexSelectorComponent;
  11833. if (A.compoundIsSuperselector(t3, t2, _null))
  11834. result.addFirst$1(A._setArrayType([A._setArrayType([component1], t4)], t5));
  11835. else {
  11836. choices = A._setArrayType([A._setArrayType([component1, component2], t4), A._setArrayType([component2, component1], t4)], t5);
  11837. _2_0 = A.unifyCompound(t2, t3);
  11838. if (_2_0 != null)
  11839. 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));
  11840. result.addFirst$1(choices);
  11841. }
  11842. }
  11843. break $label2$2;
  11844. }
  11845. if (_4_3) {
  11846. if (_4_4_isSet) {
  11847. t3 = _4_4;
  11848. _4_4_isSet0 = _4_4_isSet;
  11849. } else {
  11850. _4_4 = t2[1];
  11851. t3 = _4_4;
  11852. _4_4_isSet0 = true;
  11853. }
  11854. _4_9 = B.Combinator_gRV === t3;
  11855. _4_6_isSet = _4_9;
  11856. if (_4_6_isSet) {
  11857. _4_6 = t2[2];
  11858. _4_7 = t2[3];
  11859. nextComponents = _4_7;
  11860. followingComponents = _4_6;
  11861. } else {
  11862. nextComponents = _null;
  11863. followingComponents = nextComponents;
  11864. _4_7 = followingComponents;
  11865. _4_6 = _4_7;
  11866. }
  11867. t3 = _4_6_isSet;
  11868. _4_7_isSet = t3;
  11869. } else {
  11870. nextComponents = _null;
  11871. followingComponents = nextComponents;
  11872. _4_7 = followingComponents;
  11873. _4_6 = _4_7;
  11874. _4_9 = _4_6;
  11875. _4_4_isSet0 = _4_4_isSet;
  11876. _4_6_isSet = false;
  11877. _4_7_isSet = false;
  11878. t3 = false;
  11879. }
  11880. _4_10_isSet = !t3;
  11881. if (_4_10_isSet) {
  11882. _4_10 = B.Combinator_gRV === _4_1;
  11883. t3 = _4_10;
  11884. if (t3) {
  11885. if (_4_4_isSet) {
  11886. t3 = _4_5;
  11887. _4_5_isSet = _4_4_isSet;
  11888. _4_4_isSet = _4_4_isSet0;
  11889. } else {
  11890. if (_4_4_isSet0) {
  11891. t3 = _4_4;
  11892. _4_4_isSet = _4_4_isSet0;
  11893. } else {
  11894. _4_4 = t2[1];
  11895. t3 = _4_4;
  11896. _4_4_isSet = true;
  11897. }
  11898. _4_5 = B.Combinator_y18 === t3;
  11899. t3 = _4_5;
  11900. _4_5_isSet = true;
  11901. }
  11902. if (t3) {
  11903. if (_4_6_isSet)
  11904. nextComponents = _4_6;
  11905. else {
  11906. _4_6 = t2[2];
  11907. nextComponents = _4_6;
  11908. _4_6_isSet = true;
  11909. }
  11910. if (_4_7_isSet)
  11911. followingComponents = _4_7;
  11912. else {
  11913. _4_7 = t2[3];
  11914. followingComponents = _4_7;
  11915. _4_7_isSet = true;
  11916. }
  11917. }
  11918. } else {
  11919. _4_5_isSet = _4_4_isSet;
  11920. _4_4_isSet = _4_4_isSet0;
  11921. t3 = false;
  11922. }
  11923. } else {
  11924. _4_10 = _null;
  11925. _4_5_isSet = _4_4_isSet;
  11926. _4_4_isSet = _4_4_isSet0;
  11927. t3 = true;
  11928. }
  11929. if (t3) {
  11930. next = nextComponents.removeLast$0(0);
  11931. following = followingComponents.removeLast$0(0);
  11932. t1 = following.selector;
  11933. t2 = next.selector;
  11934. t3 = type$.JSArray_ComplexSelectorComponent;
  11935. t4 = type$.JSArray_List_ComplexSelectorComponent;
  11936. if (A.compoundIsSuperselector(t1, t2, _null))
  11937. result.addFirst$1(A._setArrayType([A._setArrayType([next], t3)], t4));
  11938. else {
  11939. t4 = A._setArrayType([A._setArrayType([following, next], t3)], t4);
  11940. _3_0 = A.unifyCompound(t1, t2);
  11941. if (_3_0 != null)
  11942. t4.push(A._setArrayType([new A.ComplexSelectorComponent(_3_0, A.List_List$unmodifiable(next.combinators, type$.CssValue_Combinator), span)], t3));
  11943. result.addFirst$1(t4);
  11944. }
  11945. break $label2$2;
  11946. }
  11947. if (B.Combinator_8I8 === _4_1) {
  11948. if (_4_3)
  11949. t3 = _4_9;
  11950. else {
  11951. if (_4_4_isSet)
  11952. t3 = _4_4;
  11953. else {
  11954. _4_4 = t2[1];
  11955. t3 = _4_4;
  11956. _4_4_isSet = true;
  11957. }
  11958. _4_9 = B.Combinator_gRV === t3;
  11959. t3 = _4_9;
  11960. }
  11961. if (!t3)
  11962. if (_4_5_isSet)
  11963. t3 = _4_5;
  11964. else {
  11965. if (_4_4_isSet)
  11966. t3 = _4_4;
  11967. else {
  11968. _4_4 = t2[1];
  11969. t3 = _4_4;
  11970. _4_4_isSet = true;
  11971. }
  11972. _4_5 = B.Combinator_y18 === t3;
  11973. t3 = _4_5;
  11974. }
  11975. else
  11976. t3 = true;
  11977. if (t3) {
  11978. if (_4_7_isSet)
  11979. siblingComponents_case_0 = _4_7;
  11980. else {
  11981. _4_7 = t2[3];
  11982. siblingComponents_case_0 = _4_7;
  11983. _4_7_isSet = true;
  11984. }
  11985. t4 = siblingComponents_case_0;
  11986. } else
  11987. t4 = _null;
  11988. t0 = t4;
  11989. t4 = t3;
  11990. t3 = t0;
  11991. } else {
  11992. t3 = _null;
  11993. t4 = false;
  11994. }
  11995. if (!t4) {
  11996. if (_4_10_isSet)
  11997. t4 = _4_10;
  11998. else {
  11999. _4_10 = B.Combinator_gRV === _4_1;
  12000. t4 = _4_10;
  12001. }
  12002. if (!t4)
  12003. t4 = _4_3;
  12004. else
  12005. t4 = true;
  12006. if (t4) {
  12007. if (_4_4_isSet)
  12008. t4 = _4_4;
  12009. else {
  12010. _4_4 = t2[1];
  12011. t4 = _4_4;
  12012. _4_4_isSet = true;
  12013. }
  12014. t4 = B.Combinator_8I8 === t4;
  12015. if (t4) {
  12016. if (_4_6_isSet)
  12017. siblingComponents_case_1 = _4_6;
  12018. else {
  12019. _4_6 = t2[2];
  12020. siblingComponents_case_1 = _4_6;
  12021. _4_6_isSet = true;
  12022. }
  12023. t3 = siblingComponents_case_1;
  12024. }
  12025. } else
  12026. t4 = false;
  12027. } else
  12028. t4 = true;
  12029. if (t4) {
  12030. result.addFirst$1(A._setArrayType([A._setArrayType([t3.removeLast$0(0)], type$.JSArray_ComplexSelectorComponent)], type$.JSArray_List_ComplexSelectorComponent));
  12031. break $label2$2;
  12032. }
  12033. t3 = _4_1 == null;
  12034. t4 = !t3;
  12035. if (t4) {
  12036. combinator1 = _4_1;
  12037. if (_4_4_isSet)
  12038. t5 = _4_4;
  12039. else {
  12040. _4_4 = t2[1];
  12041. t5 = _4_4;
  12042. _4_4_isSet = true;
  12043. }
  12044. if (t5 != null) {
  12045. if (_4_4_isSet)
  12046. combinator2 = _4_4;
  12047. else {
  12048. _4_4 = t2[1];
  12049. combinator2 = _4_4;
  12050. _4_4_isSet = true;
  12051. }
  12052. t5 = combinator1 === (combinator2 == null ? type$.Combinator._as(combinator2) : combinator2);
  12053. } else
  12054. t5 = false;
  12055. } else
  12056. t5 = false;
  12057. if (t5) {
  12058. unified = A.unifyCompound(components1.removeLast$0(0).selector, components2.removeLast$0(0).selector);
  12059. if (unified == null)
  12060. return _null;
  12061. 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));
  12062. break $label2$2;
  12063. }
  12064. if (t4) {
  12065. combinator_case_0 = _4_1;
  12066. if (_4_4_isSet)
  12067. t1 = _4_4;
  12068. else {
  12069. _4_4 = t2[1];
  12070. t1 = _4_4;
  12071. _4_4_isSet = true;
  12072. }
  12073. t1 = t1 == null;
  12074. if (t1) {
  12075. if (_4_6_isSet)
  12076. combinatorComponents_case_0 = _4_6;
  12077. else {
  12078. _4_6 = t2[2];
  12079. combinatorComponents_case_0 = _4_6;
  12080. _4_6_isSet = true;
  12081. }
  12082. if (_4_7_isSet)
  12083. descendantComponents_case_0 = _4_7;
  12084. else {
  12085. _4_7 = t2[3];
  12086. descendantComponents_case_0 = _4_7;
  12087. _4_7_isSet = true;
  12088. }
  12089. t4 = descendantComponents_case_0;
  12090. t6 = t4;
  12091. t4 = combinator_case_0;
  12092. t5 = combinatorComponents_case_0;
  12093. } else {
  12094. t6 = _null;
  12095. t5 = t6;
  12096. t4 = t5;
  12097. }
  12098. t0 = t6;
  12099. t6 = t1;
  12100. t1 = t4;
  12101. t4 = t5;
  12102. t5 = t0;
  12103. } else {
  12104. t5 = _null;
  12105. t4 = t5;
  12106. t1 = t4;
  12107. t6 = false;
  12108. }
  12109. if (!t6)
  12110. if (t3) {
  12111. if (_4_4_isSet)
  12112. t3 = _4_4;
  12113. else {
  12114. _4_4 = t2[1];
  12115. t3 = _4_4;
  12116. _4_4_isSet = true;
  12117. }
  12118. t3 = t3 != null;
  12119. if (t3) {
  12120. combinator_case_1 = _4_4_isSet ? _4_4 : t2[1];
  12121. if (combinator_case_1 == null)
  12122. combinator_case_1 = type$.Combinator._as(combinator_case_1);
  12123. descendantComponents_case_1 = _4_6_isSet ? _4_6 : t2[2];
  12124. combinatorComponents_case_1 = _4_7_isSet ? _4_7 : t2[3];
  12125. t1 = combinatorComponents_case_1;
  12126. t2 = descendantComponents_case_1;
  12127. t4 = t2;
  12128. t2 = t1;
  12129. t1 = combinator_case_1;
  12130. } else {
  12131. t2 = t4;
  12132. t4 = t5;
  12133. }
  12134. t0 = t4;
  12135. t4 = t3;
  12136. t3 = t0;
  12137. } else {
  12138. t3 = t5;
  12139. t2 = t4;
  12140. t4 = false;
  12141. }
  12142. else {
  12143. t3 = t5;
  12144. t2 = t4;
  12145. t4 = true;
  12146. }
  12147. if (t4) {
  12148. if (t1 === B.Combinator_8I8) {
  12149. t1 = A.IterableExtension_get_lastOrNull(t3);
  12150. t1 = t1 == null ? _null : A.compoundIsSuperselector(t1.selector, t2.get$last(t2).selector, _null);
  12151. t1 = t1 === true;
  12152. } else
  12153. t1 = false;
  12154. if (t1)
  12155. t3.removeLast$0(0);
  12156. result.addFirst$1(A._setArrayType([A._setArrayType([t2.removeLast$0(0)], type$.JSArray_ComplexSelectorComponent)], type$.JSArray_List_ComplexSelectorComponent));
  12157. break $label2$2;
  12158. }
  12159. return _null;
  12160. }
  12161. return A._mergeTrailingCombinators(components1, components2, span, result);
  12162. },
  12163. _mustUnify(complex1, complex2) {
  12164. var t2, t3, t4,
  12165. t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.SimpleSelector);
  12166. for (t2 = J.get$iterator$ax(complex1); t2.moveNext$0();)
  12167. 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();)
  12168. t1.add$1(0, t3.get$current(0));
  12169. if (t1._collection$_length === 0)
  12170. return false;
  12171. return J.any$1$ax(complex2, new A._mustUnify_closure(t1));
  12172. },
  12173. _isUnique(simple) {
  12174. var t1;
  12175. if (!(simple instanceof A.IDSelector))
  12176. t1 = simple instanceof A.PseudoSelector && !simple.isClass;
  12177. else
  12178. t1 = true;
  12179. return t1;
  12180. },
  12181. _chunks(queue1, queue2, done, $T) {
  12182. var chunk2, _0_4, _0_5_isSet, _0_1, _0_7, _0_5, chunk, _0_5_isSet0, t2, _null = null,
  12183. t1 = $T._eval$1("JSArray<0>"),
  12184. chunk1 = A._setArrayType([], t1);
  12185. for (; !done.call$1(queue1);)
  12186. chunk1.push(queue1.removeFirst$0());
  12187. chunk2 = A._setArrayType([], t1);
  12188. for (; !done.call$1(queue2);)
  12189. chunk2.push(queue2.removeFirst$0());
  12190. $label0$0: {
  12191. _0_4 = chunk1.length <= 0;
  12192. _0_5_isSet = _0_4;
  12193. _0_1 = chunk1;
  12194. if (_0_5_isSet) {
  12195. _0_7 = chunk2.length <= 0;
  12196. t1 = _0_7;
  12197. _0_5 = chunk2;
  12198. } else {
  12199. _0_5 = _null;
  12200. _0_7 = _0_5;
  12201. t1 = false;
  12202. }
  12203. if (t1) {
  12204. t1 = A._setArrayType([], $T._eval$1("JSArray<List<0>>"));
  12205. break $label0$0;
  12206. }
  12207. if (_0_4)
  12208. if (_0_5_isSet) {
  12209. chunk = _0_5;
  12210. _0_5_isSet0 = _0_5_isSet;
  12211. } else {
  12212. chunk = chunk2;
  12213. _0_5 = chunk;
  12214. _0_5_isSet0 = true;
  12215. }
  12216. else {
  12217. chunk = _null;
  12218. _0_5_isSet0 = _0_5_isSet;
  12219. }
  12220. if (!_0_4) {
  12221. if (_0_5_isSet)
  12222. t1 = _0_7;
  12223. else {
  12224. _0_7 = (_0_5_isSet0 ? _0_5 : chunk2).length <= 0;
  12225. t1 = _0_7;
  12226. }
  12227. chunk = _0_1;
  12228. } else
  12229. t1 = true;
  12230. if (t1) {
  12231. t1 = A._setArrayType([chunk], $T._eval$1("JSArray<List<0>>"));
  12232. break $label0$0;
  12233. }
  12234. t1 = A.List_List$of(chunk1, true, $T);
  12235. B.JSArray_methods.addAll$1(t1, chunk2);
  12236. t2 = A.List_List$of(chunk2, true, $T);
  12237. B.JSArray_methods.addAll$1(t2, chunk1);
  12238. t2 = A._setArrayType([t1, t2], $T._eval$1("JSArray<List<0>>"));
  12239. t1 = t2;
  12240. break $label0$0;
  12241. }
  12242. return t1;
  12243. },
  12244. paths(choices, $T) {
  12245. 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));
  12246. },
  12247. _groupSelectors(complex) {
  12248. var t2, t3, t4,
  12249. groups = A.QueueList$(null, type$.List_ComplexSelectorComponent),
  12250. t1 = type$.JSArray_ComplexSelectorComponent,
  12251. group = A._setArrayType([], t1);
  12252. 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();) {
  12253. t4 = t3.__internal$_current;
  12254. if (t4 == null)
  12255. t4 = t2._as(t4);
  12256. group.push(t4);
  12257. if (t4.combinators.length === 0) {
  12258. groups._queue_list$_add$1(group);
  12259. group = A._setArrayType([], t1);
  12260. }
  12261. }
  12262. if (group.length !== 0)
  12263. groups._queue_list$_add$1(group);
  12264. return groups;
  12265. },
  12266. listIsSuperselector(list1, list2) {
  12267. return B.JSArray_methods.every$1(list2, new A.listIsSuperselector_closure(list1));
  12268. },
  12269. _complexIsParentSuperselector(complex1, complex2) {
  12270. var t1, base, t2;
  12271. if (J.get$length$asx(complex1) > J.get$length$asx(complex2))
  12272. return false;
  12273. t1 = $.$get$bogusSpan();
  12274. base = new A.ComplexSelectorComponent(A.CompoundSelector$(A._setArrayType([new A.PlaceholderSelector("<temp>", t1)], type$.JSArray_SimpleSelector), t1), A.List_List$unmodifiable(B.List_empty1, type$.CssValue_Combinator), t1);
  12275. t1 = type$.ComplexSelectorComponent;
  12276. t2 = A.List_List$of(complex1, true, t1);
  12277. t2.push(base);
  12278. t1 = A.List_List$of(complex2, true, t1);
  12279. t1.push(base);
  12280. return A.complexIsSuperselector(t2, t1);
  12281. },
  12282. complexIsSuperselector(complex1, complex2) {
  12283. var t1, t2, t3, i1, i2, previousCombinator, remaining1, t4, remaining2, component1, t5, parents, endOfSubselector, component2, combinator1;
  12284. if (B.JSArray_methods.get$last(complex1).combinators.length !== 0)
  12285. return false;
  12286. if (B.JSArray_methods.get$last(complex2).combinators.length !== 0)
  12287. return false;
  12288. for (t1 = type$.JSArray_ComplexSelectorComponent, t2 = A._arrayInstanceType(complex2), t3 = t2._precomputed1, t2 = t2._eval$1("SubListIterable<1>"), i1 = 0, i2 = 0, previousCombinator = null; true; previousCombinator = combinator1) {
  12289. remaining1 = complex1.length - i1;
  12290. t4 = complex2.length;
  12291. remaining2 = t4 - i2;
  12292. if (remaining1 === 0 || remaining2 === 0)
  12293. return false;
  12294. if (remaining1 > remaining2)
  12295. return false;
  12296. component1 = complex1[i1];
  12297. t5 = component1.combinators;
  12298. if (t5.length > 1)
  12299. return false;
  12300. if (remaining1 === 1) {
  12301. parents = B.JSArray_methods.sublist$2(complex2, i2, t4 - 1);
  12302. if (B.JSArray_methods.any$1(parents, new A.complexIsSuperselector_closure()))
  12303. return false;
  12304. return A.compoundIsSuperselector(component1.selector, B.JSArray_methods.get$last(complex2).selector, parents);
  12305. }
  12306. for (t4 = component1.selector, endOfSubselector = i2, parents = null; true;) {
  12307. component2 = complex2[endOfSubselector];
  12308. if (component2.combinators.length > 1)
  12309. return false;
  12310. if (A.compoundIsSuperselector(t4, component2.selector, parents))
  12311. break;
  12312. ++endOfSubselector;
  12313. if (endOfSubselector === complex2.length - 1)
  12314. return false;
  12315. if (parents == null)
  12316. parents = A._setArrayType([], t1);
  12317. parents.push(component2);
  12318. }
  12319. if (!A._compatibleWithPreviousCombinator(previousCombinator, parents == null ? B.List_empty0 : parents))
  12320. return false;
  12321. component2 = complex2[endOfSubselector];
  12322. combinator1 = A.IterableExtension_get_firstOrNull(t5);
  12323. if (!A._isSupercombinator(combinator1, A.IterableExtension_get_firstOrNull(component2.combinators)))
  12324. return false;
  12325. ++i1;
  12326. i2 = endOfSubselector + 1;
  12327. if (complex1.length - i1 === 1) {
  12328. t4 = combinator1 == null;
  12329. if (J.$eq$(t4 ? null : combinator1.value, B.Combinator_y18)) {
  12330. t4 = complex2.length - 1;
  12331. t5 = new A.SubListIterable(complex2, 0, t4, t2);
  12332. t5.SubListIterable$3(complex2, 0, t4, t3);
  12333. if (!t5.skip$1(0, i2).every$1(0, new A.complexIsSuperselector_closure0(combinator1)))
  12334. return false;
  12335. } else if (!t4)
  12336. if (complex2.length - i2 > 1)
  12337. return false;
  12338. }
  12339. }
  12340. },
  12341. _compatibleWithPreviousCombinator(previous, parents) {
  12342. if (parents.length === 0)
  12343. return true;
  12344. if (previous == null)
  12345. return true;
  12346. if (previous.value !== B.Combinator_y18)
  12347. return false;
  12348. return B.JSArray_methods.every$1(parents, new A._compatibleWithPreviousCombinator_closure());
  12349. },
  12350. _isSupercombinator(combinator1, combinator2) {
  12351. var t1, t2;
  12352. if (!J.$eq$(combinator1, combinator2)) {
  12353. t1 = combinator1 == null;
  12354. if (t1)
  12355. t2 = J.$eq$(combinator2 == null ? null : combinator2.value, B.Combinator_8I8);
  12356. else
  12357. t2 = false;
  12358. if (!t2)
  12359. if (J.$eq$(t1 ? null : combinator1.value, B.Combinator_y18))
  12360. t1 = J.$eq$(combinator2 == null ? null : combinator2.value, B.Combinator_gRV);
  12361. else
  12362. t1 = false;
  12363. else
  12364. t1 = true;
  12365. } else
  12366. t1 = true;
  12367. return t1;
  12368. },
  12369. compoundIsSuperselector(compound1, compound2, parents) {
  12370. var t2, pseudo1, index1, t3, pseudo2, index2, _0_50, t4, t5, _i, simple1, _null = null,
  12371. _0_1 = A._findPseudoElementIndexed(compound1),
  12372. _0_5 = A._findPseudoElementIndexed(compound2),
  12373. t1 = type$.Record_2_nullable_Object_and_nullable_Object,
  12374. _0_5_isSet = t1._is(_0_1);
  12375. if (_0_5_isSet) {
  12376. t2 = _0_1 == null;
  12377. pseudo1 = (t2 ? t1._as(_0_1) : _0_1)._0;
  12378. index1 = (t2 ? t1._as(_0_1) : _0_1)._1;
  12379. t2 = t1._is(_0_5);
  12380. if (t2) {
  12381. t3 = _0_5 == null;
  12382. pseudo2 = (t3 ? t1._as(_0_5) : _0_5)._0;
  12383. index2 = (t3 ? t1._as(_0_5) : _0_5)._1;
  12384. } else {
  12385. index2 = _null;
  12386. pseudo2 = index2;
  12387. }
  12388. t1 = t2;
  12389. _0_50 = _0_5;
  12390. } else {
  12391. index2 = _null;
  12392. pseudo2 = index2;
  12393. index1 = pseudo2;
  12394. pseudo1 = index1;
  12395. _0_50 = pseudo1;
  12396. t1 = false;
  12397. }
  12398. if (t1) {
  12399. if (pseudo1.isSuperselector$1(pseudo2)) {
  12400. t1 = compound1.components;
  12401. t2 = type$.int;
  12402. t3 = A._arrayInstanceType(t1)._precomputed1;
  12403. t4 = compound2.components;
  12404. t5 = A._arrayInstanceType(t4)._precomputed1;
  12405. 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);
  12406. } else
  12407. t1 = false;
  12408. return t1;
  12409. }
  12410. if (_0_1 == null)
  12411. t1 = (_0_5_isSet ? _0_50 : _0_5) != null;
  12412. else
  12413. t1 = true;
  12414. if (t1)
  12415. return false;
  12416. for (t1 = compound1.components, t2 = t1.length, t3 = compound2.components, _i = 0; _i < t2; ++_i) {
  12417. simple1 = t1[_i];
  12418. if (simple1 instanceof A.PseudoSelector)
  12419. t4 = simple1.selector != null;
  12420. else
  12421. t4 = false;
  12422. if (t4) {
  12423. if (!A._selectorPseudoIsSuperselector(simple1, compound2, parents))
  12424. return false;
  12425. } else if (!B.JSArray_methods.any$1(t3, simple1.get$isSuperselector()))
  12426. return false;
  12427. }
  12428. return true;
  12429. },
  12430. _findPseudoElementIndexed(compound) {
  12431. var t1, t2, i, simple;
  12432. for (t1 = compound.components, t2 = t1.length, i = 0; i < t2; ++i) {
  12433. simple = t1[i];
  12434. if (simple instanceof A.PseudoSelector && !simple.isClass)
  12435. return new A._Record_2(simple, i);
  12436. }
  12437. return null;
  12438. },
  12439. _compoundComponentsIsSuperselector(compound1, compound2, parents) {
  12440. var t1;
  12441. if (compound1.get$length(0) === 0)
  12442. return true;
  12443. if (compound2.get$length(0) === 0)
  12444. compound2 = A._setArrayType([new A.UniversalSelector("*", $.$get$bogusSpan())], type$.JSArray_SimpleSelector);
  12445. t1 = $.$get$bogusSpan();
  12446. return A.compoundIsSuperselector(A.CompoundSelector$(compound1, t1), A.CompoundSelector$(compound2, t1), parents);
  12447. },
  12448. _selectorPseudoIsSuperselector(pseudo1, compound2, parents) {
  12449. var selector1 = pseudo1.selector;
  12450. if (selector1 == null)
  12451. throw A.wrapException(A.ArgumentError$("Selector " + pseudo1.toString$0(0) + " must have a selector argument.", null));
  12452. switch (pseudo1.normalizedName) {
  12453. case "is":
  12454. case "matches":
  12455. case "any":
  12456. case "where":
  12457. 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));
  12458. case "has":
  12459. case "host":
  12460. case "host-context":
  12461. return A._selectorPseudoArgs(compound2, pseudo1.name, true).any$1(0, new A._selectorPseudoIsSuperselector_closure1(selector1));
  12462. case "slotted":
  12463. return A._selectorPseudoArgs(compound2, pseudo1.name, false).any$1(0, new A._selectorPseudoIsSuperselector_closure2(selector1));
  12464. case "not":
  12465. return B.JSArray_methods.every$1(selector1.components, new A._selectorPseudoIsSuperselector_closure3(compound2, pseudo1));
  12466. case "current":
  12467. return A._selectorPseudoArgs(compound2, pseudo1.name, true).any$1(0, new A._selectorPseudoIsSuperselector_closure4(selector1));
  12468. case "nth-child":
  12469. case "nth-last-child":
  12470. return B.JSArray_methods.any$1(compound2.components, new A._selectorPseudoIsSuperselector_closure5(pseudo1, selector1));
  12471. default:
  12472. throw A.wrapException("unreachable");
  12473. }
  12474. },
  12475. _selectorPseudoArgs(compound, $name, isClass) {
  12476. var t1 = type$.WhereTypeIterable_PseudoSelector;
  12477. return A.IterableNullableExtension_whereNotNull(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$.SelectorList);
  12478. },
  12479. unifyComplex_closure: function unifyComplex_closure() {
  12480. },
  12481. _weaveParents_closure: function _weaveParents_closure(t0) {
  12482. this.span = t0;
  12483. },
  12484. _weaveParents_closure0: function _weaveParents_closure0(t0) {
  12485. this.group = t0;
  12486. },
  12487. _weaveParents_closure1: function _weaveParents_closure1() {
  12488. },
  12489. _weaveParents_closure2: function _weaveParents_closure2() {
  12490. },
  12491. _mustUnify_closure: function _mustUnify_closure(t0) {
  12492. this.uniqueSelectors = t0;
  12493. },
  12494. _mustUnify__closure: function _mustUnify__closure(t0) {
  12495. this.uniqueSelectors = t0;
  12496. },
  12497. paths_closure: function paths_closure(t0) {
  12498. this.T = t0;
  12499. },
  12500. paths__closure: function paths__closure(t0, t1) {
  12501. this.paths = t0;
  12502. this.T = t1;
  12503. },
  12504. paths___closure: function paths___closure(t0, t1) {
  12505. this.option = t0;
  12506. this.T = t1;
  12507. },
  12508. listIsSuperselector_closure: function listIsSuperselector_closure(t0) {
  12509. this.list1 = t0;
  12510. },
  12511. listIsSuperselector__closure: function listIsSuperselector__closure(t0) {
  12512. this.complex1 = t0;
  12513. },
  12514. complexIsSuperselector_closure: function complexIsSuperselector_closure() {
  12515. },
  12516. complexIsSuperselector_closure0: function complexIsSuperselector_closure0(t0) {
  12517. this.combinator1 = t0;
  12518. },
  12519. _compatibleWithPreviousCombinator_closure: function _compatibleWithPreviousCombinator_closure() {
  12520. },
  12521. _selectorPseudoIsSuperselector_closure: function _selectorPseudoIsSuperselector_closure(t0) {
  12522. this.selector1 = t0;
  12523. },
  12524. _selectorPseudoIsSuperselector_closure0: function _selectorPseudoIsSuperselector_closure0(t0, t1) {
  12525. this.parents = t0;
  12526. this.compound2 = t1;
  12527. },
  12528. _selectorPseudoIsSuperselector_closure1: function _selectorPseudoIsSuperselector_closure1(t0) {
  12529. this.selector1 = t0;
  12530. },
  12531. _selectorPseudoIsSuperselector_closure2: function _selectorPseudoIsSuperselector_closure2(t0) {
  12532. this.selector1 = t0;
  12533. },
  12534. _selectorPseudoIsSuperselector_closure3: function _selectorPseudoIsSuperselector_closure3(t0, t1) {
  12535. this.compound2 = t0;
  12536. this.pseudo1 = t1;
  12537. },
  12538. _selectorPseudoIsSuperselector__closure: function _selectorPseudoIsSuperselector__closure(t0, t1) {
  12539. this.complex = t0;
  12540. this.pseudo1 = t1;
  12541. },
  12542. _selectorPseudoIsSuperselector___closure: function _selectorPseudoIsSuperselector___closure(t0) {
  12543. this.simple2 = t0;
  12544. },
  12545. _selectorPseudoIsSuperselector___closure0: function _selectorPseudoIsSuperselector___closure0(t0) {
  12546. this.simple2 = t0;
  12547. },
  12548. _selectorPseudoIsSuperselector_closure4: function _selectorPseudoIsSuperselector_closure4(t0) {
  12549. this.selector1 = t0;
  12550. },
  12551. _selectorPseudoIsSuperselector_closure5: function _selectorPseudoIsSuperselector_closure5(t0, t1) {
  12552. this.pseudo1 = t0;
  12553. this.selector1 = t1;
  12554. },
  12555. _selectorPseudoArgs_closure: function _selectorPseudoArgs_closure(t0, t1) {
  12556. this.isClass = t0;
  12557. this.name = t1;
  12558. },
  12559. _selectorPseudoArgs_closure0: function _selectorPseudoArgs_closure0() {
  12560. },
  12561. MergedExtension_merge(left, right) {
  12562. var t2, t3, t4,
  12563. t1 = left.extender.selector;
  12564. if (!t1.$eq(0, right.extender.selector) || !left.target.$eq(0, right.target))
  12565. throw A.wrapException(A.ArgumentError$(left.toString$0(0) + " and " + right.toString$0(0) + " aren't the same extension.", null));
  12566. t2 = left.mediaContext;
  12567. t3 = t2 == null;
  12568. if (!t3) {
  12569. t4 = right.mediaContext;
  12570. t4 = t4 != null && !B.C_ListEquality.equals$2(0, t2, t4);
  12571. } else
  12572. t4 = false;
  12573. if (t4)
  12574. throw A.wrapException(A.SassException$("From " + left.span.message$1(0, "") + string$.x0aYou_m, right.span, null));
  12575. if (right.isOptional && right.mediaContext == null)
  12576. return left;
  12577. if (left.isOptional && t3)
  12578. return right;
  12579. if (t3)
  12580. t2 = right.mediaContext;
  12581. t1.get$specificity();
  12582. t1 = new A.Extender(t1, false);
  12583. return t1._extension = new A.MergedExtension(left, right, t1, left.target, t2, true, left.span);
  12584. },
  12585. MergedExtension: function MergedExtension(t0, t1, t2, t3, t4, t5, t6) {
  12586. var _ = this;
  12587. _.left = t0;
  12588. _.right = t1;
  12589. _.extender = t2;
  12590. _.target = t3;
  12591. _.mediaContext = t4;
  12592. _.isOptional = t5;
  12593. _.span = t6;
  12594. },
  12595. ExtendMode: function ExtendMode(t0, t1) {
  12596. this.name = t0;
  12597. this._name = t1;
  12598. },
  12599. globalFunctions_closure: function globalFunctions_closure() {
  12600. },
  12601. _updateComponents($arguments, adjust, change, scale) {
  12602. var keywords, alpha, red, green, blue, hue, saturation, lightness, whiteness, blackness, hasRgb, hasSL, hasWB, t2, t3, t4, t5, _null = null,
  12603. t1 = J.getInterceptor$asx($arguments),
  12604. color = t1.$index($arguments, 0).assertColor$1("color"),
  12605. argumentList = type$.SassArgumentList._as(t1.$index($arguments, 1));
  12606. if (argumentList._list$_contents.length !== 0)
  12607. throw A.wrapException(A.SassScriptException$(string$.Only_op, _null));
  12608. argumentList._wereKeywordsAccessed = true;
  12609. keywords = A.LinkedHashMap_LinkedHashMap$of(argumentList._keywords, type$.String, type$.Value);
  12610. t1 = new A._updateComponents_getParam(keywords, scale, change);
  12611. alpha = t1.call$3$checkUnitless("alpha", 1, true);
  12612. red = t1.call$2("red", 255);
  12613. green = t1.call$2("green", 255);
  12614. blue = t1.call$2("blue", 255);
  12615. hue = scale ? _null : A.NullableExtension_andThen(keywords.remove$1(0, "hue"), new A._updateComponents_closure());
  12616. saturation = t1.call$3$checkPercent("saturation", 100, true);
  12617. lightness = t1.call$3$checkPercent("lightness", 100, true);
  12618. whiteness = t1.call$3$assertPercent("whiteness", 100, true);
  12619. blackness = t1.call$3$assertPercent("blackness", 100, true);
  12620. t1 = keywords.__js_helper$_length;
  12621. if (t1 !== 0)
  12622. throw A.wrapException(A.SassScriptException$("No " + A.pluralize("argument", t1, _null) + " named " + A.toSentence(keywords.get$keys(0).map$1$1(0, new A._updateComponents_closure0(), type$.Object), "or") + ".", _null));
  12623. hasRgb = red != null || green != null || blue != null;
  12624. hasSL = saturation != null || lightness != null;
  12625. hasWB = whiteness != null || blackness != null;
  12626. if (hasRgb)
  12627. t1 = hasSL || hasWB || hue != null;
  12628. else
  12629. t1 = false;
  12630. if (t1)
  12631. throw A.wrapException(A.SassScriptException$(string$.RGB_pa + (hasWB ? "HWB" : "HSL") + " parameters.", _null));
  12632. if (hasSL && hasWB)
  12633. throw A.wrapException(A.SassScriptException$(string$.HSL_pa, _null));
  12634. t1 = new A._updateComponents_updateValue(change, adjust);
  12635. t2 = new A._updateComponents_updateRgb(t1);
  12636. if (hasRgb) {
  12637. t3 = t2.call$2(color.get$red(0), red);
  12638. t4 = t2.call$2(color.get$green(0), green);
  12639. t2 = t2.call$2(color.get$blue(0), blue);
  12640. return color.changeRgb$4$alpha$blue$green$red(t1.call$3(color._alpha, alpha, 1), t2, t4, t3);
  12641. } else if (hasWB) {
  12642. if (change)
  12643. t2 = hue;
  12644. else {
  12645. t2 = color.get$hue(0);
  12646. t2 += hue == null ? 0 : hue;
  12647. }
  12648. t3 = t1.call$3(color.get$whiteness(0), whiteness, 100);
  12649. t4 = t1.call$3(color.get$blackness(0), blackness, 100);
  12650. t5 = color._alpha;
  12651. t1 = t1.call$3(t5, alpha, 1);
  12652. if (t2 == null)
  12653. t2 = color.get$hue(0);
  12654. if (t3 == null)
  12655. t3 = color.get$whiteness(0);
  12656. if (t4 == null)
  12657. t4 = color.get$blackness(0);
  12658. return A.SassColor_SassColor$hwb(t2, t3, t4, t1 == null ? t5 : t1);
  12659. } else {
  12660. t2 = hue == null;
  12661. if (!t2 || hasSL) {
  12662. if (change)
  12663. t2 = hue;
  12664. else {
  12665. t3 = color.get$hue(0);
  12666. t3 += t2 ? 0 : hue;
  12667. t2 = t3;
  12668. }
  12669. t3 = t1.call$3(color.get$saturation(0), saturation, 100);
  12670. t4 = t1.call$3(color.get$lightness(0), lightness, 100);
  12671. return color.changeHsl$4$alpha$hue$lightness$saturation(t1.call$3(color._alpha, alpha, 1), t2, t4, t3);
  12672. } else if (alpha != null)
  12673. return color.changeAlpha$1(t1.call$3(color._alpha, alpha, 1));
  12674. else
  12675. return color;
  12676. }
  12677. },
  12678. _functionString($name, $arguments) {
  12679. return new A.SassString($name + "(" + J.map$1$1$ax($arguments, new A._functionString_closure(), type$.String).join$1(0, ", ") + ")", false);
  12680. },
  12681. _removedColorFunction($name, argument, negative) {
  12682. return A.BuiltInCallable$function($name, "$color, $amount", new A._removedColorFunction_closure($name, argument, negative), "sass:color");
  12683. },
  12684. _rgb($name, $arguments) {
  12685. var t2, red, green, blue, t3, t4,
  12686. t1 = J.getInterceptor$asx($arguments),
  12687. alpha = t1.get$length($arguments) > 3 ? t1.$index($arguments, 3) : null;
  12688. if (!t1.$index($arguments, 0).get$isSpecialNumber())
  12689. if (!t1.$index($arguments, 1).get$isSpecialNumber())
  12690. if (!t1.$index($arguments, 2).get$isSpecialNumber()) {
  12691. t2 = alpha == null ? null : alpha.get$isSpecialNumber();
  12692. t2 = t2 === true;
  12693. } else
  12694. t2 = true;
  12695. else
  12696. t2 = true;
  12697. else
  12698. t2 = true;
  12699. if (t2)
  12700. return A._functionString($name, $arguments);
  12701. red = t1.$index($arguments, 0).assertNumber$1("red");
  12702. green = t1.$index($arguments, 1).assertNumber$1("green");
  12703. blue = t1.$index($arguments, 2).assertNumber$1("blue");
  12704. t1 = A.fuzzyRound(A._percentageOrUnitless(red, 255, "red"));
  12705. t2 = A.fuzzyRound(A._percentageOrUnitless(green, 255, "green"));
  12706. t3 = A.fuzzyRound(A._percentageOrUnitless(blue, 255, "blue"));
  12707. t4 = A.NullableExtension_andThen(alpha, new A._rgb_closure());
  12708. return A.SassColor$rgbInternal(t1, t2, t3, t4 == null ? 1 : t4, B._ColorFormatEnum_rgbFunction);
  12709. },
  12710. _rgbTwoArg($name, $arguments) {
  12711. var t2, color,
  12712. t1 = J.getInterceptor$asx($arguments);
  12713. if (!t1.$index($arguments, 0).get$isVar())
  12714. t2 = !(t1.$index($arguments, 0) instanceof A.SassColor) && t1.$index($arguments, 1).get$isVar();
  12715. else
  12716. t2 = true;
  12717. if (t2)
  12718. return A._functionString($name, $arguments);
  12719. else if (t1.$index($arguments, 1).get$isSpecialNumber()) {
  12720. color = t1.$index($arguments, 0).assertColor$1("color");
  12721. return new A.SassString($name + "(" + color.get$red(0) + ", " + color.get$green(0) + ", " + color.get$blue(0) + ", " + A.serializeValue(t1.$index($arguments, 1), false, true) + ")", false);
  12722. }
  12723. return t1.$index($arguments, 0).assertColor$1("color").changeAlpha$1(A._percentageOrUnitless(t1.$index($arguments, 1).assertNumber$1("alpha"), 1, "alpha"));
  12724. },
  12725. _hsl($name, $arguments) {
  12726. var t2, hue, saturation, lightness, t3,
  12727. _s10_ = "saturation",
  12728. _s9_ = "lightness",
  12729. t1 = J.getInterceptor$asx($arguments),
  12730. alpha = t1.get$length($arguments) > 3 ? t1.$index($arguments, 3) : null;
  12731. if (!t1.$index($arguments, 0).get$isSpecialNumber())
  12732. if (!t1.$index($arguments, 1).get$isSpecialNumber())
  12733. if (!t1.$index($arguments, 2).get$isSpecialNumber()) {
  12734. t2 = alpha == null ? null : alpha.get$isSpecialNumber();
  12735. t2 = t2 === true;
  12736. } else
  12737. t2 = true;
  12738. else
  12739. t2 = true;
  12740. else
  12741. t2 = true;
  12742. if (t2)
  12743. return A._functionString($name, $arguments);
  12744. hue = A._angleValue(t1.$index($arguments, 0), "hue");
  12745. saturation = t1.$index($arguments, 1).assertNumber$1(_s10_);
  12746. lightness = t1.$index($arguments, 2).assertNumber$1(_s9_);
  12747. A._checkPercent(saturation, _s10_);
  12748. A._checkPercent(lightness, _s9_);
  12749. t1 = B.JSNumber_methods.clamp$2(saturation._number$_value, 0, 100);
  12750. t2 = B.JSNumber_methods.clamp$2(lightness._number$_value, 0, 100);
  12751. t3 = A.NullableExtension_andThen(alpha, new A._hsl_closure());
  12752. return A.SassColor$hslInternal(hue, t1, t2, t3 == null ? 1 : t3, B._ColorFormatEnum_hslFunction);
  12753. },
  12754. _angleValue(angleValue, $name) {
  12755. var angle = angleValue.assertNumber$1($name);
  12756. if (angle.compatibleWithUnit$1("deg"))
  12757. return angle.coerceValueToUnit$1("deg");
  12758. 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_2jN);
  12759. return angle._number$_value;
  12760. },
  12761. _checkPercent(number, $name) {
  12762. if (number.hasUnit$1("%"))
  12763. return;
  12764. A.warnForDeprecation("$" + $name + ": Passing a number without unit % (" + number.toString$0(0) + string$.x29x20is_d + number.unitSuggestion$2($name, "%") + string$.x0a_Morex3a, B.Deprecation_2jN);
  12765. },
  12766. _hwb($arguments) {
  12767. var t2, t3,
  12768. _s9_ = "whiteness",
  12769. _s9_0 = "blackness",
  12770. t1 = J.getInterceptor$asx($arguments),
  12771. alpha = t1.get$length($arguments) > 3 ? t1.$index($arguments, 3) : null,
  12772. hue = A._angleValue(t1.$index($arguments, 0), "hue"),
  12773. whiteness = t1.$index($arguments, 1).assertNumber$1(_s9_),
  12774. blackness = t1.$index($arguments, 2).assertNumber$1(_s9_0);
  12775. whiteness.assertUnit$2("%", _s9_);
  12776. blackness.assertUnit$2("%", _s9_0);
  12777. t1 = whiteness.valueInRange$3(0, 100, _s9_);
  12778. t2 = blackness.valueInRange$3(0, 100, _s9_0);
  12779. t3 = A.NullableExtension_andThen(alpha, new A._hwb_closure());
  12780. return A.SassColor_SassColor$hwb(hue, t1, t2, t3 == null ? 1 : t3);
  12781. },
  12782. _parseChannels($name, argumentNames, channels) {
  12783. var list, t1, channels0, alphaFromSlashList, isCommaSeparated, isBracketed, buffer, _0_4, _1_0, _1_2_isSet, _1_2, t2, _null = null,
  12784. _s17_ = "$channels must be";
  12785. if (channels.get$isVar())
  12786. return A._functionString($name, A._setArrayType([channels], type$.JSArray_Value));
  12787. if (channels.get$separator(channels) === B.ListSeparator_cQA) {
  12788. list = channels.get$asList();
  12789. t1 = list.length;
  12790. if (t1 !== 2)
  12791. throw A.wrapException(A.SassScriptException$(string$.Only_2 + t1 + " " + A.pluralize("was", t1, "were") + " passed.", _null));
  12792. channels0 = list[0];
  12793. alphaFromSlashList = list[1];
  12794. if (!alphaFromSlashList.get$isSpecialNumber())
  12795. alphaFromSlashList.assertNumber$1("alpha");
  12796. if (list[0].get$isVar())
  12797. return A._functionString($name, A._setArrayType([channels], type$.JSArray_Value));
  12798. } else {
  12799. alphaFromSlashList = _null;
  12800. channels0 = channels;
  12801. }
  12802. isCommaSeparated = channels0.get$separator(channels0) === B.ListSeparator_ECn;
  12803. isBracketed = channels0.get$hasBrackets();
  12804. if (isCommaSeparated || isBracketed) {
  12805. buffer = new A.StringBuffer(_s17_);
  12806. if (isBracketed) {
  12807. t1 = _s17_ + " an unbracketed";
  12808. buffer._contents = t1;
  12809. } else
  12810. t1 = _s17_;
  12811. if (isCommaSeparated) {
  12812. t1 += isBracketed ? "," : " a";
  12813. buffer._contents = t1;
  12814. t1 = buffer._contents = t1 + " space-separated";
  12815. }
  12816. buffer._contents = t1 + " list.";
  12817. throw A.wrapException(A.SassScriptException$(buffer.toString$0(0), _null));
  12818. }
  12819. list = channels0.get$asList();
  12820. if (list.length >= 2) {
  12821. _0_4 = list[0];
  12822. t1 = _0_4;
  12823. if (t1 instanceof A.SassString) {
  12824. type$.SassString._as(_0_4);
  12825. t1 = !_0_4._hasQuotes && A.equalsIgnoreCase(_0_4._string$_text, "from");
  12826. } else
  12827. t1 = false;
  12828. } else
  12829. t1 = false;
  12830. if (t1)
  12831. return A._functionString($name, A._setArrayType([channels], type$.JSArray_Value));
  12832. t1 = list.length;
  12833. if (t1 > 3)
  12834. throw A.wrapException(A.SassScriptException$("Only 3 elements allowed, but " + t1 + " were passed.", _null));
  12835. else if (t1 < 3) {
  12836. if (!B.JSArray_methods.any$1(list, new A._parseChannels_closure()))
  12837. if (list.length !== 0) {
  12838. t1 = B.JSArray_methods.get$last(list);
  12839. if (t1 instanceof A.SassString)
  12840. if (t1._hasQuotes) {
  12841. t1 = t1._string$_text;
  12842. t1 = A.startsWithIgnoreCase(t1, "var(") && B.JSString_methods.contains$1(t1, "/");
  12843. } else
  12844. t1 = false;
  12845. else
  12846. t1 = false;
  12847. } else
  12848. t1 = false;
  12849. else
  12850. t1 = true;
  12851. if (t1)
  12852. return A._functionString($name, A._setArrayType([channels], type$.JSArray_Value));
  12853. else
  12854. throw A.wrapException(A.SassScriptException$("Missing element " + argumentNames[list.length] + ".", _null));
  12855. }
  12856. if (alphaFromSlashList != null) {
  12857. t1 = A.List_List$of(list, true, type$.Value);
  12858. t1.push(alphaFromSlashList);
  12859. return t1;
  12860. }
  12861. _1_0 = list[2];
  12862. $label0$0: {
  12863. _1_2_isSet = _1_0 instanceof A.SassNumber;
  12864. if (_1_2_isSet) {
  12865. _1_2 = _1_0.asSlash;
  12866. t1 = type$.Record_2_nullable_Object_and_nullable_Object._is(_1_2);
  12867. } else {
  12868. _1_2 = _null;
  12869. t1 = false;
  12870. }
  12871. if (t1) {
  12872. if (_1_2_isSet)
  12873. t1 = _1_2;
  12874. else {
  12875. _1_2 = _1_0.asSlash;
  12876. t1 = _1_2;
  12877. _1_2_isSet = true;
  12878. }
  12879. if (t1 == null)
  12880. t1 = type$.Record_2_nullable_Object_and_nullable_Object._as(t1);
  12881. t2 = _1_2_isSet ? _1_2 : _1_0.asSlash;
  12882. if (t2 == null)
  12883. t2 = type$.Record_2_nullable_Object_and_nullable_Object._as(t2);
  12884. t2 = A._setArrayType([list[0], list[1], t1._0, t2._1], type$.JSArray_Value);
  12885. t1 = t2;
  12886. break $label0$0;
  12887. }
  12888. if (_1_0 instanceof A.SassString)
  12889. if (!_1_0._hasQuotes)
  12890. t1 = B.JSString_methods.contains$1(_1_0._string$_text, "/");
  12891. else
  12892. t1 = false;
  12893. else
  12894. t1 = false;
  12895. if (t1) {
  12896. t1 = A._functionString($name, A._setArrayType([channels0], type$.JSArray_Value));
  12897. break $label0$0;
  12898. }
  12899. t1 = list;
  12900. break $label0$0;
  12901. }
  12902. return t1;
  12903. },
  12904. _percentageOrUnitless(number, max, $name) {
  12905. var value;
  12906. if (!number.get$hasUnits())
  12907. value = number._number$_value;
  12908. else if (number.hasUnit$1("%"))
  12909. value = max * number._number$_value / 100;
  12910. else
  12911. throw A.wrapException(A.SassScriptException$("$" + $name + ": Expected " + number.toString$0(0) + ' to have unit "%" or no units.', null));
  12912. return B.JSNumber_methods.clamp$2(value, 0, max);
  12913. },
  12914. _mixColors(color1, color2, weight) {
  12915. var weightScale, normalizedWeight, t1, t2, alphaDistance, t3, weight1, weight2;
  12916. A._checkPercent(weight, "weight");
  12917. weightScale = weight.valueInRange$3(0, 100, "weight") / 100;
  12918. normalizedWeight = weightScale * 2 - 1;
  12919. t1 = color1._alpha;
  12920. t2 = color2._alpha;
  12921. alphaDistance = t1 - t2;
  12922. t3 = normalizedWeight * alphaDistance;
  12923. weight1 = ((t3 === -1 ? normalizedWeight : (normalizedWeight + alphaDistance) / (1 + t3)) + 1) / 2;
  12924. weight2 = 1 - weight1;
  12925. return A.SassColor$rgb(A.fuzzyRound(color1.get$red(0) * weight1 + color2.get$red(0) * weight2), A.fuzzyRound(color1.get$green(0) * weight1 + color2.get$green(0) * weight2), A.fuzzyRound(color1.get$blue(0) * weight1 + color2.get$blue(0) * weight2), t1 * weightScale + t2 * (1 - weightScale));
  12926. },
  12927. _opacify($arguments) {
  12928. var t1 = J.getInterceptor$asx($arguments),
  12929. color = t1.$index($arguments, 0).assertColor$1("color");
  12930. return color.changeAlpha$1(B.JSNumber_methods.clamp$2(color._alpha + t1.$index($arguments, 1).assertNumber$1("amount").valueInRangeWithUnit$4(0, 1, "amount", ""), 0, 1));
  12931. },
  12932. _transparentize($arguments) {
  12933. var t1 = J.getInterceptor$asx($arguments),
  12934. color = t1.$index($arguments, 0).assertColor$1("color");
  12935. return color.changeAlpha$1(B.JSNumber_methods.clamp$2(color._alpha - t1.$index($arguments, 1).assertNumber$1("amount").valueInRangeWithUnit$4(0, 1, "amount", ""), 0, 1));
  12936. },
  12937. _function4($name, $arguments, callback) {
  12938. return A.BuiltInCallable$function($name, $arguments, callback, "sass:color");
  12939. },
  12940. global_closure0: function global_closure0() {
  12941. },
  12942. global_closure1: function global_closure1() {
  12943. },
  12944. global_closure2: function global_closure2() {
  12945. },
  12946. global_closure3: function global_closure3() {
  12947. },
  12948. global_closure4: function global_closure4() {
  12949. },
  12950. global_closure5: function global_closure5() {
  12951. },
  12952. global_closure6: function global_closure6() {
  12953. },
  12954. global_closure7: function global_closure7() {
  12955. },
  12956. global_closure8: function global_closure8() {
  12957. },
  12958. global_closure9: function global_closure9() {
  12959. },
  12960. global_closure10: function global_closure10() {
  12961. },
  12962. global_closure11: function global_closure11() {
  12963. },
  12964. global_closure12: function global_closure12() {
  12965. },
  12966. global_closure13: function global_closure13() {
  12967. },
  12968. global_closure14: function global_closure14() {
  12969. },
  12970. global_closure15: function global_closure15() {
  12971. },
  12972. global_closure16: function global_closure16() {
  12973. },
  12974. global_closure17: function global_closure17() {
  12975. },
  12976. global_closure18: function global_closure18() {
  12977. },
  12978. global_closure19: function global_closure19() {
  12979. },
  12980. global_closure20: function global_closure20() {
  12981. },
  12982. global_closure21: function global_closure21() {
  12983. },
  12984. global_closure22: function global_closure22() {
  12985. },
  12986. global_closure23: function global_closure23() {
  12987. },
  12988. global_closure24: function global_closure24() {
  12989. },
  12990. global_closure25: function global_closure25() {
  12991. },
  12992. global__closure: function global__closure() {
  12993. },
  12994. global_closure26: function global_closure26() {
  12995. },
  12996. module_closure1: function module_closure1() {
  12997. },
  12998. module_closure2: function module_closure2() {
  12999. },
  13000. module_closure3: function module_closure3() {
  13001. },
  13002. module_closure4: function module_closure4() {
  13003. },
  13004. module_closure5: function module_closure5() {
  13005. },
  13006. module_closure6: function module_closure6() {
  13007. },
  13008. module_closure7: function module_closure7() {
  13009. },
  13010. module_closure8: function module_closure8() {
  13011. },
  13012. module__closure1: function module__closure1() {
  13013. },
  13014. module_closure9: function module_closure9() {
  13015. },
  13016. _red_closure: function _red_closure() {
  13017. },
  13018. _green_closure: function _green_closure() {
  13019. },
  13020. _blue_closure: function _blue_closure() {
  13021. },
  13022. _mix_closure: function _mix_closure() {
  13023. },
  13024. _hue_closure: function _hue_closure() {
  13025. },
  13026. _saturation_closure: function _saturation_closure() {
  13027. },
  13028. _lightness_closure: function _lightness_closure() {
  13029. },
  13030. _complement_closure: function _complement_closure() {
  13031. },
  13032. _adjust_closure: function _adjust_closure() {
  13033. },
  13034. _scale_closure: function _scale_closure() {
  13035. },
  13036. _change_closure: function _change_closure() {
  13037. },
  13038. _ieHexStr_closure: function _ieHexStr_closure() {
  13039. },
  13040. _ieHexStr_closure_hexString: function _ieHexStr_closure_hexString() {
  13041. },
  13042. _updateComponents_getParam: function _updateComponents_getParam(t0, t1, t2) {
  13043. this.keywords = t0;
  13044. this.scale = t1;
  13045. this.change = t2;
  13046. },
  13047. _updateComponents_closure: function _updateComponents_closure() {
  13048. },
  13049. _updateComponents_closure0: function _updateComponents_closure0() {
  13050. },
  13051. _updateComponents_updateValue: function _updateComponents_updateValue(t0, t1) {
  13052. this.change = t0;
  13053. this.adjust = t1;
  13054. },
  13055. _updateComponents_updateRgb: function _updateComponents_updateRgb(t0) {
  13056. this.updateValue = t0;
  13057. },
  13058. _functionString_closure: function _functionString_closure() {
  13059. },
  13060. _removedColorFunction_closure: function _removedColorFunction_closure(t0, t1, t2) {
  13061. this.name = t0;
  13062. this.argument = t1;
  13063. this.negative = t2;
  13064. },
  13065. _rgb_closure: function _rgb_closure() {
  13066. },
  13067. _hsl_closure: function _hsl_closure() {
  13068. },
  13069. _hwb_closure: function _hwb_closure() {
  13070. },
  13071. _parseChannels_closure: function _parseChannels_closure() {
  13072. },
  13073. _function3($name, $arguments, callback) {
  13074. return A.BuiltInCallable$function($name, $arguments, callback, "sass:list");
  13075. },
  13076. _length_closure0: function _length_closure0() {
  13077. },
  13078. _nth_closure: function _nth_closure() {
  13079. },
  13080. _setNth_closure: function _setNth_closure() {
  13081. },
  13082. _join_closure: function _join_closure() {
  13083. },
  13084. _append_closure0: function _append_closure0() {
  13085. },
  13086. _zip_closure: function _zip_closure() {
  13087. },
  13088. _zip__closure: function _zip__closure() {
  13089. },
  13090. _zip__closure0: function _zip__closure0(t0) {
  13091. this._box_0 = t0;
  13092. },
  13093. _zip__closure1: function _zip__closure1(t0) {
  13094. this._box_0 = t0;
  13095. },
  13096. _index_closure0: function _index_closure0() {
  13097. },
  13098. _separator_closure: function _separator_closure() {
  13099. },
  13100. _isBracketed_closure: function _isBracketed_closure() {
  13101. },
  13102. _slash_closure: function _slash_closure() {
  13103. },
  13104. _modify(map, keys, modify, addNesting) {
  13105. var keyIterator = J.get$iterator$ax(keys);
  13106. return keyIterator.moveNext$0() ? new A._modify_modifyNestedMap(keyIterator, modify, addNesting).call$1(map) : modify.call$1(map);
  13107. },
  13108. _deepMergeImpl(map1, map2) {
  13109. var t2, t3, result, t4, key, value, _1_1, _1_3, _1_3_isSet, resultMap, _1_30, valueMap, merged, _null = null,
  13110. t1 = map1._map$_contents;
  13111. if (t1.get$isEmpty(t1))
  13112. return map2;
  13113. t2 = map2._map$_contents;
  13114. if (t2.get$isEmpty(t2))
  13115. return map1;
  13116. t3 = type$.Value;
  13117. result = A.LinkedHashMap_LinkedHashMap$of(t1, t3, t3);
  13118. for (t1 = A.MapExtensions_get_pairs(t2, t3, t3), t1 = t1.get$iterator(t1), t2 = type$.SassMap; t1.moveNext$0();) {
  13119. t4 = t1.get$current(t1);
  13120. key = t4._0;
  13121. value = t4._1;
  13122. t4 = result.$index(0, key);
  13123. _1_1 = t4 == null ? _null : t4.tryMap$0();
  13124. _1_3 = value.tryMap$0();
  13125. _1_3_isSet = _1_1 != null;
  13126. if (_1_3_isSet) {
  13127. resultMap = _1_1 == null ? t2._as(_1_1) : _1_1;
  13128. t4 = _1_3 != null;
  13129. _1_30 = _1_3;
  13130. } else {
  13131. resultMap = _null;
  13132. _1_30 = resultMap;
  13133. t4 = false;
  13134. }
  13135. if (t4) {
  13136. valueMap = _1_3_isSet ? _1_30 : _1_3;
  13137. merged = A._deepMergeImpl(resultMap, valueMap == null ? t2._as(valueMap) : valueMap);
  13138. if (merged === resultMap)
  13139. continue;
  13140. result.$indexSet(0, key, merged);
  13141. } else
  13142. result.$indexSet(0, key, value);
  13143. }
  13144. return new A.SassMap(A.ConstantMap_ConstantMap$from(result, t3, t3));
  13145. },
  13146. _function2($name, $arguments, callback) {
  13147. return A.BuiltInCallable$function($name, $arguments, callback, "sass:map");
  13148. },
  13149. _get_closure: function _get_closure() {
  13150. },
  13151. _set_closure: function _set_closure() {
  13152. },
  13153. _set__closure0: function _set__closure0(t0) {
  13154. this.$arguments = t0;
  13155. },
  13156. _set_closure0: function _set_closure0() {
  13157. },
  13158. _set__closure: function _set__closure(t0) {
  13159. this._box_0 = t0;
  13160. },
  13161. _merge_closure: function _merge_closure() {
  13162. },
  13163. _merge_closure0: function _merge_closure0() {
  13164. },
  13165. _merge__closure: function _merge__closure(t0) {
  13166. this.map2 = t0;
  13167. },
  13168. _deepMerge_closure: function _deepMerge_closure() {
  13169. },
  13170. _deepRemove_closure: function _deepRemove_closure() {
  13171. },
  13172. _deepRemove__closure: function _deepRemove__closure(t0) {
  13173. this.keys = t0;
  13174. },
  13175. _remove_closure: function _remove_closure() {
  13176. },
  13177. _remove_closure0: function _remove_closure0() {
  13178. },
  13179. _keys_closure: function _keys_closure() {
  13180. },
  13181. _values_closure: function _values_closure() {
  13182. },
  13183. _hasKey_closure: function _hasKey_closure() {
  13184. },
  13185. _modify_modifyNestedMap: function _modify_modifyNestedMap(t0, t1, t2) {
  13186. this.keyIterator = t0;
  13187. this.modify = t1;
  13188. this.addNesting = t2;
  13189. },
  13190. _singleArgumentMathFunc($name, mathFunc) {
  13191. return A.BuiltInCallable$function($name, "$number", new A._singleArgumentMathFunc_closure(mathFunc), "sass:math");
  13192. },
  13193. _numberFunction($name, transform) {
  13194. return A.BuiltInCallable$function($name, "$number", new A._numberFunction_closure(transform), "sass:math");
  13195. },
  13196. _function1($name, $arguments, callback) {
  13197. return A.BuiltInCallable$function($name, $arguments, callback, "sass:math");
  13198. },
  13199. global_closure: function global_closure() {
  13200. },
  13201. module_closure0: function module_closure0() {
  13202. },
  13203. _ceil_closure: function _ceil_closure() {
  13204. },
  13205. _clamp_closure: function _clamp_closure() {
  13206. },
  13207. _floor_closure: function _floor_closure() {
  13208. },
  13209. _max_closure: function _max_closure() {
  13210. },
  13211. _min_closure: function _min_closure() {
  13212. },
  13213. _round_closure: function _round_closure() {
  13214. },
  13215. _hypot_closure: function _hypot_closure() {
  13216. },
  13217. _hypot__closure: function _hypot__closure() {
  13218. },
  13219. _log_closure: function _log_closure() {
  13220. },
  13221. _pow_closure: function _pow_closure() {
  13222. },
  13223. _atan2_closure: function _atan2_closure() {
  13224. },
  13225. _compatible_closure: function _compatible_closure() {
  13226. },
  13227. _isUnitless_closure: function _isUnitless_closure() {
  13228. },
  13229. _unit_closure: function _unit_closure() {
  13230. },
  13231. _percentage_closure: function _percentage_closure() {
  13232. },
  13233. _randomFunction_closure: function _randomFunction_closure() {
  13234. },
  13235. _div_closure: function _div_closure() {
  13236. },
  13237. _singleArgumentMathFunc_closure: function _singleArgumentMathFunc_closure(t0) {
  13238. this.mathFunc = t0;
  13239. },
  13240. _numberFunction_closure: function _numberFunction_closure(t0) {
  13241. this.transform = t0;
  13242. },
  13243. _function5($name, $arguments, callback) {
  13244. return A.BuiltInCallable$function($name, $arguments, callback, "sass:meta");
  13245. },
  13246. global_closure27: function global_closure27() {
  13247. },
  13248. global_closure28: function global_closure28() {
  13249. },
  13250. global_closure29: function global_closure29() {
  13251. },
  13252. global_closure30: function global_closure30() {
  13253. },
  13254. local_closure: function local_closure() {
  13255. },
  13256. local_closure0: function local_closure0() {
  13257. },
  13258. local__closure: function local__closure() {
  13259. },
  13260. local_closure1: function local_closure1() {
  13261. },
  13262. _prependParent(compound) {
  13263. var _0_3, _0_4, _0_4_isSet, rest, _null = null,
  13264. t1 = A.EvaluationContext_currentOrNull(),
  13265. span = (t1 == null ? A.throwExpression(A.StateError$(string$.No_Sass)) : t1).get$currentCallableSpan(),
  13266. _0_0 = compound.components;
  13267. $label0$0: {
  13268. _0_3 = _0_0.length >= 1;
  13269. if (_0_3) {
  13270. _0_4 = _0_0[0];
  13271. t1 = _0_4;
  13272. t1 = t1 instanceof A.UniversalSelector;
  13273. } else {
  13274. _0_4 = _null;
  13275. t1 = false;
  13276. }
  13277. if (t1) {
  13278. t1 = _null;
  13279. break $label0$0;
  13280. }
  13281. if (_0_3) {
  13282. t1 = _0_4;
  13283. if (t1 instanceof A.TypeSelector) {
  13284. t1 = _0_4;
  13285. t1 = type$.TypeSelector._as(t1).name.namespace != null;
  13286. _0_4_isSet = true;
  13287. } else {
  13288. _0_4_isSet = true;
  13289. t1 = false;
  13290. }
  13291. } else {
  13292. _0_4_isSet = _0_3;
  13293. t1 = false;
  13294. }
  13295. if (t1) {
  13296. t1 = _null;
  13297. break $label0$0;
  13298. }
  13299. if (_0_3) {
  13300. if (_0_4_isSet)
  13301. t1 = _0_4;
  13302. else {
  13303. _0_4 = _0_0[0];
  13304. t1 = _0_4;
  13305. _0_4_isSet = true;
  13306. }
  13307. t1 = t1 instanceof A.TypeSelector;
  13308. } else
  13309. t1 = false;
  13310. if (t1) {
  13311. t1 = _0_4_isSet ? _0_4 : _0_0[0];
  13312. type$.TypeSelector._as(t1);
  13313. rest = B.JSArray_methods.sublist$1(_0_0, 1);
  13314. t1 = A._setArrayType([new A.ParentSelector(t1.name.name, span)], type$.JSArray_SimpleSelector);
  13315. B.JSArray_methods.addAll$1(t1, rest);
  13316. t1 = A.CompoundSelector$(t1, span);
  13317. break $label0$0;
  13318. }
  13319. t1 = A._setArrayType([new A.ParentSelector(_null, span)], type$.JSArray_SimpleSelector);
  13320. B.JSArray_methods.addAll$1(t1, _0_0);
  13321. t1 = A.CompoundSelector$(t1, span);
  13322. break $label0$0;
  13323. }
  13324. return t1;
  13325. },
  13326. _function0($name, $arguments, callback) {
  13327. return A.BuiltInCallable$function($name, $arguments, callback, "sass:selector");
  13328. },
  13329. _nest_closure: function _nest_closure() {
  13330. },
  13331. _nest__closure: function _nest__closure(t0) {
  13332. this._box_0 = t0;
  13333. },
  13334. _nest__closure0: function _nest__closure0() {
  13335. },
  13336. _append_closure: function _append_closure() {
  13337. },
  13338. _append__closure: function _append__closure() {
  13339. },
  13340. _append__closure0: function _append__closure0(t0) {
  13341. this.span = t0;
  13342. },
  13343. _append___closure: function _append___closure(t0, t1) {
  13344. this.parent = t0;
  13345. this.span = t1;
  13346. },
  13347. _extend_closure: function _extend_closure() {
  13348. },
  13349. _replace_closure: function _replace_closure() {
  13350. },
  13351. _unify_closure: function _unify_closure() {
  13352. },
  13353. _isSuperselector_closure: function _isSuperselector_closure() {
  13354. },
  13355. _simpleSelectors_closure: function _simpleSelectors_closure() {
  13356. },
  13357. _simpleSelectors__closure: function _simpleSelectors__closure() {
  13358. },
  13359. _parse_closure: function _parse_closure() {
  13360. },
  13361. _codepointForIndex(index, lengthInCodepoints, allowNegative) {
  13362. var result;
  13363. if (index === 0)
  13364. return 0;
  13365. if (index > 0)
  13366. return Math.min(index - 1, lengthInCodepoints);
  13367. result = lengthInCodepoints + index;
  13368. if (result < 0 && !allowNegative)
  13369. return 0;
  13370. return result;
  13371. },
  13372. _function($name, $arguments, callback) {
  13373. return A.BuiltInCallable$function($name, $arguments, callback, "sass:string");
  13374. },
  13375. module_closure: function module_closure() {
  13376. },
  13377. module__closure: function module__closure(t0) {
  13378. this.string = t0;
  13379. },
  13380. module__closure0: function module__closure0(t0) {
  13381. this.string = t0;
  13382. },
  13383. _unquote_closure: function _unquote_closure() {
  13384. },
  13385. _quote_closure: function _quote_closure() {
  13386. },
  13387. _length_closure: function _length_closure() {
  13388. },
  13389. _insert_closure: function _insert_closure() {
  13390. },
  13391. _index_closure: function _index_closure() {
  13392. },
  13393. _slice_closure: function _slice_closure() {
  13394. },
  13395. _toUpperCase_closure: function _toUpperCase_closure() {
  13396. },
  13397. _toLowerCase_closure: function _toLowerCase_closure() {
  13398. },
  13399. _uniqueId_closure: function _uniqueId_closure() {
  13400. },
  13401. ImportCache$(importers, loadPaths, logger) {
  13402. var t1 = type$.nullable_Record_3_Importer_and_Uri_and_Uri_originalUrl,
  13403. t2 = type$.Record_3_Importer_and_Uri_and_bool_forImport,
  13404. t3 = type$.Uri,
  13405. t4 = A.ImportCache__toImporters(importers, loadPaths, null);
  13406. return new A.ImportCache(t4, logger, 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));
  13407. },
  13408. ImportCache__toImporters(importers, loadPaths, packageConfig) {
  13409. var t1, t2, t3, t4, _i, path, _null = null,
  13410. sassPath = A.getEnvironmentVariable("SASS_PATH");
  13411. if (A.isBrowser()) {
  13412. t1 = A._setArrayType([], type$.JSArray_Importer);
  13413. B.JSArray_methods.addAll$1(t1, importers);
  13414. return t1;
  13415. }
  13416. t1 = A._setArrayType([], type$.JSArray_Importer);
  13417. B.JSArray_methods.addAll$1(t1, importers);
  13418. for (t2 = J.get$iterator$ax(loadPaths); t2.moveNext$0();) {
  13419. t3 = t2.get$current(t2);
  13420. 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));
  13421. }
  13422. if (sassPath != null) {
  13423. t2 = A.isNodeJs() ? self.process : _null;
  13424. t3 = sassPath.split(J.$eq$(t2 == null ? _null : J.get$platform$x(t2), "win32") ? ";" : ":");
  13425. t4 = t3.length;
  13426. _i = 0;
  13427. for (; _i < t4; ++_i) {
  13428. path = t3[_i];
  13429. 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));
  13430. }
  13431. }
  13432. return t1;
  13433. },
  13434. ImportCache: function ImportCache(t0, t1, t2, t3, t4, t5, t6) {
  13435. var _ = this;
  13436. _._importers = t0;
  13437. _._logger = t1;
  13438. _._canonicalizeCache = t2;
  13439. _._perImporterCanonicalizeCache = t3;
  13440. _._nonCanonicalRelativeUrls = t4;
  13441. _._importCache = t5;
  13442. _._resultsCache = t6;
  13443. },
  13444. ImportCache_canonicalize_closure: function ImportCache_canonicalize_closure(t0, t1, t2, t3, t4, t5, t6) {
  13445. var _ = this;
  13446. _.$this = t0;
  13447. _.baseImporter = t1;
  13448. _.resolvedUrl = t2;
  13449. _.baseUrl = t3;
  13450. _.forImport = t4;
  13451. _.key = t5;
  13452. _.url = t6;
  13453. },
  13454. ImportCache__canonicalize_closure: function ImportCache__canonicalize_closure(t0, t1) {
  13455. this.importer = t0;
  13456. this.url = t1;
  13457. },
  13458. ImportCache_importCanonical_closure: function ImportCache_importCanonical_closure(t0, t1, t2, t3, t4) {
  13459. var _ = this;
  13460. _.$this = t0;
  13461. _.importer = t1;
  13462. _.canonicalUrl = t2;
  13463. _.originalUrl = t3;
  13464. _.quiet = t4;
  13465. },
  13466. ImportCache_humanize_closure: function ImportCache_humanize_closure(t0) {
  13467. this.canonicalUrl = t0;
  13468. },
  13469. ImportCache_humanize_closure0: function ImportCache_humanize_closure0() {
  13470. },
  13471. ImportCache_humanize_closure1: function ImportCache_humanize_closure1() {
  13472. },
  13473. ImportCache_humanize_closure2: function ImportCache_humanize_closure2(t0) {
  13474. this.canonicalUrl = t0;
  13475. },
  13476. ImportCache_clearCanonicalize_closure: function ImportCache_clearCanonicalize_closure(t0, t1) {
  13477. this.$this = t0;
  13478. this.url = t1;
  13479. },
  13480. Importer: function Importer() {
  13481. },
  13482. AsyncImporter: function AsyncImporter() {
  13483. },
  13484. CanonicalizeContext: function CanonicalizeContext(t0, t1) {
  13485. this._fromImport = t0;
  13486. this._containingUrl = t1;
  13487. this._wasContainingUrlAccessed = false;
  13488. },
  13489. FilesystemImporter: function FilesystemImporter(t0, t1) {
  13490. this._loadPath = t0;
  13491. this._loadPathDeprecated = t1;
  13492. },
  13493. FilesystemImporter_canonicalize_closure: function FilesystemImporter_canonicalize_closure() {
  13494. },
  13495. NoOpImporter: function NoOpImporter() {
  13496. },
  13497. NodePackageImporter: function NodePackageImporter() {
  13498. this.__NodePackageImporter__entryPointDirectory_F = $;
  13499. },
  13500. NodePackageImporter__nodePackageExportsResolve_closure: function NodePackageImporter__nodePackageExportsResolve_closure() {
  13501. },
  13502. NodePackageImporter__nodePackageExportsResolve_closure0: function NodePackageImporter__nodePackageExportsResolve_closure0() {
  13503. },
  13504. NodePackageImporter__nodePackageExportsResolve_closure1: function NodePackageImporter__nodePackageExportsResolve_closure1() {
  13505. },
  13506. NodePackageImporter__nodePackageExportsResolve_closure2: function NodePackageImporter__nodePackageExportsResolve_closure2(t0, t1, t2) {
  13507. this.$this = t0;
  13508. this.exports = t1;
  13509. this.packageRoot = t2;
  13510. },
  13511. NodePackageImporter__nodePackageExportsResolve__closure: function NodePackageImporter__nodePackageExportsResolve__closure(t0, t1, t2) {
  13512. this.$this = t0;
  13513. this.variant = t1;
  13514. this.packageRoot = t2;
  13515. },
  13516. NodePackageImporter__nodePackageExportsResolve__closure0: function NodePackageImporter__nodePackageExportsResolve__closure0() {
  13517. },
  13518. NodePackageImporter__getMainExport_closure: function NodePackageImporter__getMainExport_closure() {
  13519. },
  13520. ImporterResult: function ImporterResult(t0, t1, t2) {
  13521. this.contents = t0;
  13522. this._sourceMapUrl = t1;
  13523. this.syntax = t2;
  13524. },
  13525. fromImport() {
  13526. var t1 = type$.nullable_CanonicalizeContext._as($.Zone__current.$index(0, B.Symbol__canonicalizeContext));
  13527. t1 = t1 == null ? null : t1._fromImport;
  13528. return t1 === true;
  13529. },
  13530. canonicalizeContext() {
  13531. var t1,
  13532. _0_0 = $.Zone__current.$index(0, B.Symbol__canonicalizeContext);
  13533. $label0$0: {
  13534. if (_0_0 == null)
  13535. A.throwExpression(A.StateError$(string$.canoni));
  13536. if (_0_0 instanceof A.CanonicalizeContext) {
  13537. t1 = _0_0;
  13538. break $label0$0;
  13539. }
  13540. t1 = A.throwExpression(A.StateError$(string$.Unexpe + A.S(_0_0) + "."));
  13541. }
  13542. return t1;
  13543. },
  13544. resolveImportPath(path) {
  13545. var t1,
  13546. extension = A.ParsedPath_ParsedPath$parse(path, $.$get$context().style)._splitExtension$1(1)[1];
  13547. if (extension === ".sass" || extension === ".scss" || extension === ".css") {
  13548. t1 = A.fromImport() ? new A.resolveImportPath_closure(path, extension).call$0() : null;
  13549. return t1 == null ? A._exactlyOne(A._tryPath(path)) : t1;
  13550. }
  13551. t1 = A.fromImport() ? new A.resolveImportPath_closure0(path).call$0() : null;
  13552. if (t1 == null)
  13553. t1 = A._exactlyOne(A._tryPathWithExtensions(path));
  13554. return t1 == null ? A._tryPathAsDirectory(path) : t1;
  13555. },
  13556. _tryPathWithExtensions(path) {
  13557. var result = A._tryPath(path + ".sass");
  13558. B.JSArray_methods.addAll$1(result, A._tryPath(path + ".scss"));
  13559. return result.length !== 0 ? result : A._tryPath(path + ".css");
  13560. },
  13561. _tryPath(path) {
  13562. var t1 = $.$get$context(),
  13563. partial = A.join(t1.dirname$1(path), "_" + A.ParsedPath_ParsedPath$parse(path, t1.style).get$basename(), null);
  13564. t1 = A._setArrayType([], type$.JSArray_String);
  13565. if (A.fileExists(partial))
  13566. t1.push(partial);
  13567. if (A.fileExists(path))
  13568. t1.push(path);
  13569. return t1;
  13570. },
  13571. _tryPathAsDirectory(path) {
  13572. var t1;
  13573. if (!A.dirExists(path))
  13574. return null;
  13575. t1 = A.fromImport() ? new A._tryPathAsDirectory_closure(path).call$0() : null;
  13576. return t1 == null ? A._exactlyOne(A._tryPathWithExtensions(A.join(path, "index", null))) : t1;
  13577. },
  13578. _exactlyOne(paths) {
  13579. var _0_1, t1, path;
  13580. $label0$0: {
  13581. _0_1 = paths.length;
  13582. if (_0_1 <= 0) {
  13583. t1 = null;
  13584. break $label0$0;
  13585. }
  13586. if (_0_1 === 1) {
  13587. path = paths[0];
  13588. t1 = path;
  13589. break $label0$0;
  13590. }
  13591. t1 = A.throwExpression(string$.It_s_n + B.JSArray_methods.map$1$1(paths, new A._exactlyOne_closure(), type$.String).join$1(0, "\n"));
  13592. }
  13593. return t1;
  13594. },
  13595. resolveImportPath_closure: function resolveImportPath_closure(t0, t1) {
  13596. this.path = t0;
  13597. this.extension = t1;
  13598. },
  13599. resolveImportPath_closure0: function resolveImportPath_closure0(t0) {
  13600. this.path = t0;
  13601. },
  13602. _tryPathAsDirectory_closure: function _tryPathAsDirectory_closure(t0) {
  13603. this.path = t0;
  13604. },
  13605. _exactlyOne_closure: function _exactlyOne_closure() {
  13606. },
  13607. InterpolationBuffer: function InterpolationBuffer(t0, t1) {
  13608. this._interpolation_buffer$_text = t0;
  13609. this._interpolation_buffer$_contents = t1;
  13610. },
  13611. InterpolationMap$(_interpolation, targetLocations) {
  13612. var t1 = A.List_List$unmodifiable(targetLocations, type$.SourceLocation),
  13613. t2 = _interpolation.contents.length,
  13614. expectedLocations = Math.max(0, t2 - 1);
  13615. if (t1.length !== expectedLocations)
  13616. A.throwExpression(A.ArgumentError$("InterpolationMap must have " + A.S(expectedLocations) + string$.x20targe + t2 + " components.", null));
  13617. return new A.InterpolationMap(_interpolation, t1);
  13618. },
  13619. InterpolationMap: function InterpolationMap(t0, t1) {
  13620. this._interpolation = t0;
  13621. this._targetLocations = t1;
  13622. },
  13623. InterpolationMap_mapException_closure: function InterpolationMap_mapException_closure() {
  13624. },
  13625. _realCasePath(path) {
  13626. var prefix, _null = null,
  13627. t1 = A.isNodeJs() ? self.process : _null;
  13628. if (!J.$eq$(t1 == null ? _null : J.get$platform$x(t1), "win32")) {
  13629. t1 = A.isNodeJs() ? self.process : _null;
  13630. t1 = J.$eq$(t1 == null ? _null : J.get$platform$x(t1), "darwin");
  13631. } else
  13632. t1 = true;
  13633. if (!t1)
  13634. return path;
  13635. t1 = A.isNodeJs() ? self.process : _null;
  13636. if (J.$eq$(t1 == null ? _null : J.get$platform$x(t1), "win32")) {
  13637. prefix = B.JSString_methods.substring$2(path, 0, $.$get$context().style.rootLength$1(path));
  13638. t1 = prefix.length;
  13639. if (t1 !== 0 && A.CharacterExtension_get_isAlphabetic(prefix.charCodeAt(0)))
  13640. path = prefix.toUpperCase() + B.JSString_methods.substring$1(path, t1);
  13641. }
  13642. return new A._realCasePath_helper().call$1(path);
  13643. },
  13644. _realCasePath_helper: function _realCasePath_helper() {
  13645. },
  13646. _realCasePath_helper_closure: function _realCasePath_helper_closure(t0, t1, t2) {
  13647. this.helper = t0;
  13648. this.dirname = t1;
  13649. this.path = t2;
  13650. },
  13651. _realCasePath_helper__closure: function _realCasePath_helper__closure(t0) {
  13652. this.basename = t0;
  13653. },
  13654. printError(message) {
  13655. var t1 = A.isNodeJs() ? self.process : null;
  13656. if (t1 != null) {
  13657. t1 = J.get$stderr$x(t1);
  13658. J.write$1$x(t1, A.S(message == null ? "" : message) + "\n");
  13659. } else {
  13660. t1 = self.console;
  13661. J.error$1$x(t1, message == null ? "" : message);
  13662. }
  13663. },
  13664. readFile(path) {
  13665. var contents, sourceFile, t1, i;
  13666. if (!A.isNodeJs())
  13667. throw A.wrapException(A.UnsupportedError$("readFile() is only supported on Node.js"));
  13668. contents = A._asString(A._readFile(path, "utf8"));
  13669. if (!B.JSString_methods.contains$1(contents, "\ufffd"))
  13670. return contents;
  13671. sourceFile = A.SourceFile$fromString(contents, $.$get$context().toUri$1(path));
  13672. for (t1 = contents.length, i = 0; i < t1; ++i) {
  13673. if (contents.charCodeAt(i) !== 65533)
  13674. continue;
  13675. throw A.wrapException(A.SassException$("Invalid UTF-8.", A.FileLocation$_(sourceFile, i).pointSpan$0(), null));
  13676. }
  13677. return contents;
  13678. },
  13679. _readFile(path, encoding) {
  13680. return A._systemErrorToFileSystemException(new A._readFile_closure(path, encoding));
  13681. },
  13682. writeFile(path, contents) {
  13683. if (!A.isNodeJs())
  13684. throw A.wrapException(A.UnsupportedError$("writeFile() is only supported on Node.js"));
  13685. return A._systemErrorToFileSystemException(new A.writeFile_closure(path, contents));
  13686. },
  13687. deleteFile(path) {
  13688. if (!A.isNodeJs())
  13689. throw A.wrapException(A.UnsupportedError$("deleteFile() is only supported on Node.js"));
  13690. return A._systemErrorToFileSystemException(new A.deleteFile_closure(path));
  13691. },
  13692. readStdin() {
  13693. return A.readStdin$body();
  13694. },
  13695. readStdin$body() {
  13696. var $async$goto = 0,
  13697. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  13698. $async$returnValue, t3, completer, sink, t1, t2;
  13699. var $async$readStdin = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  13700. if ($async$errorCode === 1)
  13701. return A._asyncRethrow($async$result, $async$completer);
  13702. while (true)
  13703. switch ($async$goto) {
  13704. case 0:
  13705. // Function start
  13706. t1 = {};
  13707. t2 = A.isNodeJs() ? self.process : null;
  13708. if (t2 == null)
  13709. throw A.wrapException(A.UnsupportedError$("readStdin() is only supported on Node.js"));
  13710. t3 = new A._Future($.Zone__current, type$._Future_String);
  13711. completer = new A._AsyncCompleter(t3, type$._AsyncCompleter_String);
  13712. t1.contents = null;
  13713. sink = new A._StringCallbackSink(new A.readStdin_closure(t1, completer), new A.StringBuffer("")).asUtf8Sink$1(false);
  13714. t1 = J.getInterceptor$x(t2);
  13715. J.on$2$x(t1.get$stdin(t2), "data", A.allowInterop(new A.readStdin_closure0(sink)));
  13716. J.on$2$x(t1.get$stdin(t2), "end", A.allowInterop(new A.readStdin_closure1(sink)));
  13717. J.on$2$x(t1.get$stdin(t2), "error", A.allowInterop(new A.readStdin_closure2(completer)));
  13718. $async$returnValue = t3;
  13719. // goto return
  13720. $async$goto = 1;
  13721. break;
  13722. case 1:
  13723. // return
  13724. return A._asyncReturn($async$returnValue, $async$completer);
  13725. }
  13726. });
  13727. return A._asyncStartSync($async$readStdin, $async$completer);
  13728. },
  13729. fileExists(path) {
  13730. if (!A.isNodeJs())
  13731. throw A.wrapException(A.UnsupportedError$(string$.fileEx));
  13732. return A._systemErrorToFileSystemException(new A.fileExists_closure(path));
  13733. },
  13734. dirExists(path) {
  13735. if (!A.isNodeJs())
  13736. throw A.wrapException(A.UnsupportedError$("dirExists() is only supported on Node.js"));
  13737. return A._systemErrorToFileSystemException(new A.dirExists_closure(path));
  13738. },
  13739. ensureDir(path) {
  13740. if (!A.isNodeJs())
  13741. throw A.wrapException(A.UnsupportedError$("ensureDir() is only supported on Node.js"));
  13742. return A._systemErrorToFileSystemException(new A.ensureDir_closure(path));
  13743. },
  13744. listDir(path, recursive) {
  13745. if (!A.isNodeJs())
  13746. throw A.wrapException(A.UnsupportedError$("listDir() is only supported on Node.js"));
  13747. return A._systemErrorToFileSystemException(new A.listDir_closure(recursive, path));
  13748. },
  13749. modificationTime(path) {
  13750. if (!A.isNodeJs())
  13751. throw A.wrapException(A.UnsupportedError$("modificationTime() is only supported on Node.js"));
  13752. return A._systemErrorToFileSystemException(new A.modificationTime_closure(path));
  13753. },
  13754. getEnvironmentVariable($name) {
  13755. var t1 = A.isNodeJs() ? self.process : null,
  13756. env = t1 == null ? null : J.get$env$x(t1);
  13757. if (env == null)
  13758. t1 = null;
  13759. else
  13760. t1 = A._asStringQ(env[$name]);
  13761. return t1;
  13762. },
  13763. _systemErrorToFileSystemException(callback) {
  13764. var error, t1, exception, t2;
  13765. try {
  13766. t1 = callback.call$0();
  13767. return t1;
  13768. } catch (exception) {
  13769. error = A.unwrapException(exception);
  13770. if (!type$.JsSystemError._is(error))
  13771. throw exception;
  13772. t1 = error;
  13773. t2 = J.getInterceptor$x(t1);
  13774. 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)));
  13775. }
  13776. },
  13777. hasTerminal() {
  13778. var t1 = A.isNodeJs() ? self.process : null;
  13779. return J.$eq$(t1 == null ? null : J.get$isTTY$x(J.get$stdout$x(t1)), true);
  13780. },
  13781. isWindows() {
  13782. var t1 = A.isNodeJs() ? self.process : null;
  13783. return J.$eq$(t1 == null ? null : J.get$platform$x(t1), "win32");
  13784. },
  13785. watchDir(path, poll) {
  13786. var watcher, t2, t3, t1 = {};
  13787. if (!A.isNodeJs())
  13788. throw A.wrapException(A.UnsupportedError$("watchDir() is only supported on Node.js"));
  13789. watcher = J.watch$2$x(self.chokidar, path, {disableGlobbing: true, usePolling: poll});
  13790. t1.controller = null;
  13791. t2 = J.getInterceptor$x(watcher);
  13792. t2.on$2(watcher, "add", A.allowInterop(new A.watchDir_closure(t1)));
  13793. t2.on$2(watcher, "change", A.allowInterop(new A.watchDir_closure0(t1)));
  13794. t2.on$2(watcher, "unlink", A.allowInterop(new A.watchDir_closure1(t1)));
  13795. t2.on$2(watcher, "error", A.allowInterop(new A.watchDir_closure2(t1)));
  13796. t3 = new A._Future($.Zone__current, type$._Future_Stream_WatchEvent);
  13797. t2.on$2(watcher, "ready", A.allowInterop(new A.watchDir_closure3(t1, watcher, new A._AsyncCompleter(t3, type$._AsyncCompleter_Stream_WatchEvent))));
  13798. return t3;
  13799. },
  13800. FileSystemException: function FileSystemException(t0, t1) {
  13801. this.message = t0;
  13802. this.path = t1;
  13803. },
  13804. _readFile_closure: function _readFile_closure(t0, t1) {
  13805. this.path = t0;
  13806. this.encoding = t1;
  13807. },
  13808. writeFile_closure: function writeFile_closure(t0, t1) {
  13809. this.path = t0;
  13810. this.contents = t1;
  13811. },
  13812. deleteFile_closure: function deleteFile_closure(t0) {
  13813. this.path = t0;
  13814. },
  13815. readStdin_closure: function readStdin_closure(t0, t1) {
  13816. this._box_0 = t0;
  13817. this.completer = t1;
  13818. },
  13819. readStdin_closure0: function readStdin_closure0(t0) {
  13820. this.sink = t0;
  13821. },
  13822. readStdin_closure1: function readStdin_closure1(t0) {
  13823. this.sink = t0;
  13824. },
  13825. readStdin_closure2: function readStdin_closure2(t0) {
  13826. this.completer = t0;
  13827. },
  13828. fileExists_closure: function fileExists_closure(t0) {
  13829. this.path = t0;
  13830. },
  13831. dirExists_closure: function dirExists_closure(t0) {
  13832. this.path = t0;
  13833. },
  13834. ensureDir_closure: function ensureDir_closure(t0) {
  13835. this.path = t0;
  13836. },
  13837. listDir_closure: function listDir_closure(t0, t1) {
  13838. this.recursive = t0;
  13839. this.path = t1;
  13840. },
  13841. listDir__closure: function listDir__closure(t0) {
  13842. this.path = t0;
  13843. },
  13844. listDir__closure0: function listDir__closure0() {
  13845. },
  13846. listDir_closure_list: function listDir_closure_list() {
  13847. },
  13848. listDir__list_closure: function listDir__list_closure(t0, t1) {
  13849. this.parent = t0;
  13850. this.list = t1;
  13851. },
  13852. modificationTime_closure: function modificationTime_closure(t0) {
  13853. this.path = t0;
  13854. },
  13855. watchDir_closure: function watchDir_closure(t0) {
  13856. this._box_0 = t0;
  13857. },
  13858. watchDir_closure0: function watchDir_closure0(t0) {
  13859. this._box_0 = t0;
  13860. },
  13861. watchDir_closure1: function watchDir_closure1(t0) {
  13862. this._box_0 = t0;
  13863. },
  13864. watchDir_closure2: function watchDir_closure2(t0) {
  13865. this._box_0 = t0;
  13866. },
  13867. watchDir_closure3: function watchDir_closure3(t0, t1, t2) {
  13868. this._box_0 = t0;
  13869. this.watcher = t1;
  13870. this.completer = t2;
  13871. },
  13872. watchDir__closure: function watchDir__closure(t0) {
  13873. this.watcher = t0;
  13874. },
  13875. JSArray0: function JSArray0() {
  13876. },
  13877. Chokidar: function Chokidar() {
  13878. },
  13879. ChokidarOptions: function ChokidarOptions() {
  13880. },
  13881. ChokidarWatcher: function ChokidarWatcher() {
  13882. },
  13883. JSFunction: function JSFunction() {
  13884. },
  13885. ImmutableList: function ImmutableList() {
  13886. },
  13887. ImmutableMap: function ImmutableMap() {
  13888. },
  13889. NodeImporterResult: function NodeImporterResult() {
  13890. },
  13891. RenderContext: function RenderContext() {
  13892. },
  13893. RenderContextOptions: function RenderContextOptions() {
  13894. },
  13895. RenderContextResult: function RenderContextResult() {
  13896. },
  13897. RenderContextResultStats: function RenderContextResultStats() {
  13898. },
  13899. JSModule: function JSModule() {
  13900. },
  13901. JSModuleRequire: function JSModuleRequire() {
  13902. },
  13903. JSClass: function JSClass() {
  13904. },
  13905. JSUrl: function JSUrl() {
  13906. },
  13907. jsThrow0(error) {
  13908. return type$.Never._as($.$get$_jsThrow0().call$1(error));
  13909. },
  13910. _PropertyDescriptor: function _PropertyDescriptor() {
  13911. },
  13912. _RequireMain: function _RequireMain() {
  13913. },
  13914. WarnForDeprecation_warnForDeprecation(_this, deprecation, message, span, trace) {
  13915. if (deprecation.isFuture && !(_this instanceof A.DeprecationProcessingLogger))
  13916. return;
  13917. if (_this instanceof A.DeprecationProcessingLogger)
  13918. _this.internalWarn$4$deprecation$span$trace(message, deprecation, span, trace);
  13919. else
  13920. _this.warn$4$deprecation$span$trace(0, message, true, span, trace);
  13921. },
  13922. LoggerWithDeprecationType0: function LoggerWithDeprecationType0() {
  13923. },
  13924. _QuietLogger: function _QuietLogger() {
  13925. },
  13926. DeprecationProcessingLogger$(_inner, fatalDeprecations, futureDeprecations, limitRepetition, silenceDeprecations) {
  13927. var t1 = new A.DeprecationProcessingLogger(A.LinkedHashMap_LinkedHashMap$_empty(type$.Deprecation, type$.int), _inner, silenceDeprecations, fatalDeprecations, futureDeprecations, limitRepetition);
  13928. t1.DeprecationProcessingLogger$5$fatalDeprecations$futureDeprecations$limitRepetition$silenceDeprecations(_inner, fatalDeprecations, futureDeprecations, limitRepetition, silenceDeprecations);
  13929. return t1;
  13930. },
  13931. DeprecationProcessingLogger: function DeprecationProcessingLogger(t0, t1, t2, t3, t4, t5) {
  13932. var _ = this;
  13933. _._warningCounts = t0;
  13934. _._inner = t1;
  13935. _.silenceDeprecations = t2;
  13936. _.fatalDeprecations = t3;
  13937. _.futureDeprecations = t4;
  13938. _.limitRepetition = t5;
  13939. },
  13940. DeprecationProcessingLogger_summarize_closure: function DeprecationProcessingLogger_summarize_closure() {
  13941. },
  13942. DeprecationProcessingLogger_summarize_closure0: function DeprecationProcessingLogger_summarize_closure0() {
  13943. },
  13944. StderrLogger: function StderrLogger(t0) {
  13945. this.color = t0;
  13946. },
  13947. TrackingLogger: function TrackingLogger(t0) {
  13948. this._tracking$_logger = t0;
  13949. this._emittedDebug = this._emittedWarning = false;
  13950. },
  13951. BuiltInModule$($name, functions, mixins, variables, $T) {
  13952. var t1 = A._Uri__Uri(null, $name, null, "sass"),
  13953. t2 = A.BuiltInModule__callableMap(functions, $T),
  13954. t3 = A.BuiltInModule__callableMap(mixins, $T),
  13955. t4 = variables == null ? B.Map_empty5 : new A.UnmodifiableMapView(variables, type$.UnmodifiableMapView_String_Value);
  13956. return new A.BuiltInModule(t1, t2, t3, t4, $T._eval$1("BuiltInModule<0>"));
  13957. },
  13958. BuiltInModule__callableMap(callables, $T) {
  13959. var t2, _i, callable,
  13960. t1 = type$.String;
  13961. if (callables == null)
  13962. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, $T);
  13963. else {
  13964. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, $T);
  13965. for (t2 = callables.length, _i = 0; _i < callables.length; callables.length === t2 || (0, A.throwConcurrentModificationError)(callables), ++_i) {
  13966. callable = callables[_i];
  13967. t1.$indexSet(0, J.get$name$x(callable), callable);
  13968. }
  13969. t1 = new A.UnmodifiableMapView(t1, type$.$env_1_1_String._bind$1($T)._eval$1("UnmodifiableMapView<1,2>"));
  13970. }
  13971. return new A.UnmodifiableMapView(t1, type$.$env_1_1_String._bind$1($T)._eval$1("UnmodifiableMapView<1,2>"));
  13972. },
  13973. BuiltInModule: function BuiltInModule(t0, t1, t2, t3, t4) {
  13974. var _ = this;
  13975. _.url = t0;
  13976. _.functions = t1;
  13977. _.mixins = t2;
  13978. _.variables = t3;
  13979. _.$ti = t4;
  13980. },
  13981. ForwardedModuleView_ifNecessary(inner, rule, $T) {
  13982. var t1;
  13983. if (rule.prefix == null)
  13984. if (rule.shownMixinsAndFunctions == null)
  13985. if (rule.shownVariables == null) {
  13986. t1 = rule.hiddenMixinsAndFunctions;
  13987. t1 = t1 == null ? null : t1._base.get$isEmpty(0);
  13988. if (t1 === true) {
  13989. t1 = rule.hiddenVariables;
  13990. t1 = t1 == null ? null : t1._base.get$isEmpty(0);
  13991. t1 = t1 === true;
  13992. } else
  13993. t1 = false;
  13994. } else
  13995. t1 = false;
  13996. else
  13997. t1 = false;
  13998. else
  13999. t1 = false;
  14000. if (t1)
  14001. return inner;
  14002. else
  14003. return A.ForwardedModuleView$(inner, rule, $T);
  14004. },
  14005. ForwardedModuleView$(_inner, _rule, $T) {
  14006. var t1 = _rule.prefix,
  14007. t2 = _rule.shownVariables,
  14008. t3 = _rule.hiddenVariables,
  14009. t4 = _rule.shownMixinsAndFunctions,
  14010. t5 = _rule.hiddenMixinsAndFunctions;
  14011. 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>"));
  14012. },
  14013. ForwardedModuleView__forwardedMap(map, prefix, safelist, blocklist, $V) {
  14014. var t2,
  14015. t1 = prefix == null;
  14016. if (t1)
  14017. if (safelist == null)
  14018. t2 = blocklist == null || blocklist._base.get$isEmpty(0);
  14019. else
  14020. t2 = false;
  14021. else
  14022. t2 = false;
  14023. if (t2)
  14024. return map;
  14025. if (!t1)
  14026. map = new A.PrefixedMapView(map, prefix, $V._eval$1("PrefixedMapView<0>"));
  14027. if (safelist != null)
  14028. 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>"));
  14029. else if (blocklist != null && blocklist._base.get$isNotEmpty(0))
  14030. map = A.LimitedMapView$blocklist(map, blocklist, type$.String, $V);
  14031. return map;
  14032. },
  14033. ForwardedModuleView: function ForwardedModuleView(t0, t1, t2, t3, t4, t5, t6) {
  14034. var _ = this;
  14035. _._forwarded_view$_inner = t0;
  14036. _._rule = t1;
  14037. _.variables = t2;
  14038. _.variableNodes = t3;
  14039. _.functions = t4;
  14040. _.mixins = t5;
  14041. _.$ti = t6;
  14042. },
  14043. ShadowedModuleView_ifNecessary(inner, functions, mixins, variables, $T) {
  14044. 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;
  14045. },
  14046. ShadowedModuleView__shadowedMap(map, blocklist, $V) {
  14047. var t1 = A.ShadowedModuleView__needsBlocklist(map, blocklist);
  14048. return !t1 ? map : A.LimitedMapView$blocklist(map, blocklist, type$.String, $V);
  14049. },
  14050. ShadowedModuleView__needsBlocklist(map, blocklist) {
  14051. return map.get$isNotEmpty(map) && blocklist.any$1(0, map.get$containsKey());
  14052. },
  14053. ShadowedModuleView: function ShadowedModuleView(t0, t1, t2, t3, t4, t5) {
  14054. var _ = this;
  14055. _._shadowed_view$_inner = t0;
  14056. _.variables = t1;
  14057. _.variableNodes = t2;
  14058. _.functions = t3;
  14059. _.mixins = t4;
  14060. _.$ti = t5;
  14061. },
  14062. AtRootQueryParser$(contents, logger, url) {
  14063. var t1 = A.SpanScanner$(contents, url);
  14064. return new A.AtRootQueryParser(t1, logger, null);
  14065. },
  14066. AtRootQueryParser: function AtRootQueryParser(t0, t1, t2) {
  14067. this.scanner = t0;
  14068. this.logger = t1;
  14069. this._interpolationMap = t2;
  14070. },
  14071. AtRootQueryParser_parse_closure: function AtRootQueryParser_parse_closure(t0) {
  14072. this.$this = t0;
  14073. },
  14074. _disallowedFunctionNames_closure: function _disallowedFunctionNames_closure() {
  14075. },
  14076. CssParser: function CssParser(t0, t1, t2, t3) {
  14077. var _ = this;
  14078. _._isUseAllowed = true;
  14079. _._inExpression = _._inParentheses = _._inStyleRule = _._stylesheet$_inUnknownAtRule = _._inControlDirective = _._inContentBlock = _._stylesheet$_inMixin = false;
  14080. _._globalVariables = t0;
  14081. _.lastSilentComment = null;
  14082. _.scanner = t1;
  14083. _.logger = t2;
  14084. _._interpolationMap = t3;
  14085. },
  14086. KeyframeSelectorParser$(contents, interpolationMap, logger) {
  14087. var t1 = A.SpanScanner$(contents, null);
  14088. return new A.KeyframeSelectorParser(t1, logger, interpolationMap);
  14089. },
  14090. KeyframeSelectorParser: function KeyframeSelectorParser(t0, t1, t2) {
  14091. this.scanner = t0;
  14092. this.logger = t1;
  14093. this._interpolationMap = t2;
  14094. },
  14095. KeyframeSelectorParser_parse_closure: function KeyframeSelectorParser_parse_closure(t0) {
  14096. this.$this = t0;
  14097. },
  14098. MediaQueryParser: function MediaQueryParser(t0, t1, t2) {
  14099. this.scanner = t0;
  14100. this.logger = t1;
  14101. this._interpolationMap = t2;
  14102. },
  14103. MediaQueryParser_parse_closure: function MediaQueryParser_parse_closure(t0) {
  14104. this.$this = t0;
  14105. },
  14106. Parser_isIdentifier(text) {
  14107. var t1, t2, exception, logger = null;
  14108. try {
  14109. t1 = logger;
  14110. t2 = A.SpanScanner$(text, null);
  14111. new A.Parser(t2, t1 == null ? B.StderrLogger_false : t1, null)._parseIdentifier$0();
  14112. return true;
  14113. } catch (exception) {
  14114. if (type$.SassFormatException._is(A.unwrapException(exception)))
  14115. return false;
  14116. else
  14117. throw exception;
  14118. }
  14119. },
  14120. Parser: function Parser(t0, t1, t2) {
  14121. this.scanner = t0;
  14122. this.logger = t1;
  14123. this._interpolationMap = t2;
  14124. },
  14125. Parser__parseIdentifier_closure: function Parser__parseIdentifier_closure(t0) {
  14126. this.$this = t0;
  14127. },
  14128. Parser_escape_closure: function Parser_escape_closure() {
  14129. },
  14130. Parser_scanIdentChar_matches: function Parser_scanIdentChar_matches(t0, t1) {
  14131. this.caseSensitive = t0;
  14132. this.char = t1;
  14133. },
  14134. Parser_spanFrom_closure: function Parser_spanFrom_closure(t0, t1) {
  14135. this.$this = t0;
  14136. this.span = t1;
  14137. },
  14138. SassParser: function SassParser(t0, t1, t2, t3) {
  14139. var _ = this;
  14140. _._currentIndentation = 0;
  14141. _._spaces = _._nextIndentationEnd = _._nextIndentation = null;
  14142. _._isUseAllowed = true;
  14143. _._inExpression = _._inParentheses = _._inStyleRule = _._stylesheet$_inUnknownAtRule = _._inControlDirective = _._inContentBlock = _._stylesheet$_inMixin = false;
  14144. _._globalVariables = t0;
  14145. _.lastSilentComment = null;
  14146. _.scanner = t1;
  14147. _.logger = t2;
  14148. _._interpolationMap = t3;
  14149. },
  14150. SassParser_styleRuleSelector_closure: function SassParser_styleRuleSelector_closure() {
  14151. },
  14152. SassParser_children_closure: function SassParser_children_closure(t0, t1, t2) {
  14153. this.$this = t0;
  14154. this.child = t1;
  14155. this.children = t2;
  14156. },
  14157. SassParser__peekIndentation_closure: function SassParser__peekIndentation_closure() {
  14158. },
  14159. SassParser__peekIndentation_closure0: function SassParser__peekIndentation_closure0() {
  14160. },
  14161. ScssParser$(contents, logger, url) {
  14162. var t1 = A.SpanScanner$(contents, url),
  14163. t2 = logger == null ? B.StderrLogger_false : logger;
  14164. return new A.ScssParser(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.VariableDeclaration), t1, t2, null);
  14165. },
  14166. ScssParser: function ScssParser(t0, t1, t2, t3) {
  14167. var _ = this;
  14168. _._isUseAllowed = true;
  14169. _._inExpression = _._inParentheses = _._inStyleRule = _._stylesheet$_inUnknownAtRule = _._inControlDirective = _._inContentBlock = _._stylesheet$_inMixin = false;
  14170. _._globalVariables = t0;
  14171. _.lastSilentComment = null;
  14172. _.scanner = t1;
  14173. _.logger = t2;
  14174. _._interpolationMap = t3;
  14175. },
  14176. SelectorParser$(contents, allowParent, interpolationMap, logger, plainCss, url) {
  14177. var t1 = A.SpanScanner$(contents, url);
  14178. return new A.SelectorParser(allowParent, plainCss, t1, logger == null ? B.StderrLogger_false : logger, interpolationMap);
  14179. },
  14180. SelectorParser: function SelectorParser(t0, t1, t2, t3, t4) {
  14181. var _ = this;
  14182. _._allowParent = t0;
  14183. _._plainCss = t1;
  14184. _.scanner = t2;
  14185. _.logger = t3;
  14186. _._interpolationMap = t4;
  14187. },
  14188. SelectorParser_parse_closure: function SelectorParser_parse_closure(t0) {
  14189. this.$this = t0;
  14190. },
  14191. SelectorParser_parseCompoundSelector_closure: function SelectorParser_parseCompoundSelector_closure(t0) {
  14192. this.$this = t0;
  14193. },
  14194. StylesheetParser: function StylesheetParser() {
  14195. },
  14196. StylesheetParser_parse_closure: function StylesheetParser_parse_closure(t0) {
  14197. this.$this = t0;
  14198. },
  14199. StylesheetParser_parse__closure: function StylesheetParser_parse__closure(t0) {
  14200. this.$this = t0;
  14201. },
  14202. StylesheetParser_parse__closure0: function StylesheetParser_parse__closure0() {
  14203. },
  14204. StylesheetParser_parseArgumentDeclaration_closure: function StylesheetParser_parseArgumentDeclaration_closure(t0) {
  14205. this.$this = t0;
  14206. },
  14207. StylesheetParser_parseVariableDeclaration_closure: function StylesheetParser_parseVariableDeclaration_closure(t0) {
  14208. this.$this = t0;
  14209. },
  14210. StylesheetParser_parseUseRule_closure: function StylesheetParser_parseUseRule_closure(t0) {
  14211. this.$this = t0;
  14212. },
  14213. StylesheetParser__parseSingleProduction_closure: function StylesheetParser__parseSingleProduction_closure(t0, t1, t2) {
  14214. this.$this = t0;
  14215. this.production = t1;
  14216. this.T = t2;
  14217. },
  14218. StylesheetParser__statement_closure: function StylesheetParser__statement_closure(t0) {
  14219. this.$this = t0;
  14220. },
  14221. StylesheetParser_variableDeclarationWithoutNamespace_closure: function StylesheetParser_variableDeclarationWithoutNamespace_closure(t0, t1) {
  14222. this.$this = t0;
  14223. this.start = t1;
  14224. },
  14225. StylesheetParser_variableDeclarationWithoutNamespace_closure0: function StylesheetParser_variableDeclarationWithoutNamespace_closure0(t0) {
  14226. this.declaration = t0;
  14227. },
  14228. StylesheetParser__styleRule_closure: function StylesheetParser__styleRule_closure(t0, t1, t2, t3) {
  14229. var _ = this;
  14230. _._box_0 = t0;
  14231. _.$this = t1;
  14232. _.wasInStyleRule = t2;
  14233. _.start = t3;
  14234. },
  14235. StylesheetParser__tryDeclarationChildren_closure: function StylesheetParser__tryDeclarationChildren_closure(t0, t1) {
  14236. this.name = t0;
  14237. this.value = t1;
  14238. },
  14239. StylesheetParser__atRootRule_closure: function StylesheetParser__atRootRule_closure(t0) {
  14240. this.query = t0;
  14241. },
  14242. StylesheetParser__atRootRule_closure0: function StylesheetParser__atRootRule_closure0() {
  14243. },
  14244. StylesheetParser__eachRule_closure: function StylesheetParser__eachRule_closure(t0, t1, t2, t3) {
  14245. var _ = this;
  14246. _.$this = t0;
  14247. _.wasInControlDirective = t1;
  14248. _.variables = t2;
  14249. _.list = t3;
  14250. },
  14251. StylesheetParser__functionRule_closure: function StylesheetParser__functionRule_closure(t0, t1, t2) {
  14252. this.name = t0;
  14253. this.$arguments = t1;
  14254. this.precedingComment = t2;
  14255. },
  14256. StylesheetParser__forRule_closure: function StylesheetParser__forRule_closure(t0, t1) {
  14257. this._box_0 = t0;
  14258. this.$this = t1;
  14259. },
  14260. StylesheetParser__forRule_closure0: function StylesheetParser__forRule_closure0(t0, t1, t2, t3, t4, t5) {
  14261. var _ = this;
  14262. _._box_0 = t0;
  14263. _.$this = t1;
  14264. _.wasInControlDirective = t2;
  14265. _.variable = t3;
  14266. _.from = t4;
  14267. _.to = t5;
  14268. },
  14269. StylesheetParser__memberList_closure: function StylesheetParser__memberList_closure(t0, t1, t2) {
  14270. this.$this = t0;
  14271. this.variables = t1;
  14272. this.identifiers = t2;
  14273. },
  14274. StylesheetParser__includeRule_closure: function StylesheetParser__includeRule_closure(t0) {
  14275. this.contentArguments_ = t0;
  14276. },
  14277. StylesheetParser_mediaRule_closure: function StylesheetParser_mediaRule_closure(t0) {
  14278. this.query = t0;
  14279. },
  14280. StylesheetParser__mixinRule_closure: function StylesheetParser__mixinRule_closure(t0, t1, t2, t3) {
  14281. var _ = this;
  14282. _.$this = t0;
  14283. _.name = t1;
  14284. _.$arguments = t2;
  14285. _.precedingComment = t3;
  14286. },
  14287. StylesheetParser_mozDocumentRule_closure: function StylesheetParser_mozDocumentRule_closure(t0, t1, t2, t3) {
  14288. var _ = this;
  14289. _._box_0 = t0;
  14290. _.$this = t1;
  14291. _.name = t2;
  14292. _.value = t3;
  14293. },
  14294. StylesheetParser_supportsRule_closure: function StylesheetParser_supportsRule_closure(t0) {
  14295. this.condition = t0;
  14296. },
  14297. StylesheetParser__whileRule_closure: function StylesheetParser__whileRule_closure(t0, t1, t2) {
  14298. this.$this = t0;
  14299. this.wasInControlDirective = t1;
  14300. this.condition = t2;
  14301. },
  14302. StylesheetParser_unknownAtRule_closure: function StylesheetParser_unknownAtRule_closure(t0, t1) {
  14303. this._box_0 = t0;
  14304. this.name = t1;
  14305. },
  14306. StylesheetParser__expression_resetState: function StylesheetParser__expression_resetState(t0, t1, t2) {
  14307. this._box_0 = t0;
  14308. this.$this = t1;
  14309. this.start = t2;
  14310. },
  14311. StylesheetParser__expression_resolveOneOperation: function StylesheetParser__expression_resolveOneOperation(t0, t1) {
  14312. this._box_0 = t0;
  14313. this.$this = t1;
  14314. },
  14315. StylesheetParser__expression_resolveOperations: function StylesheetParser__expression_resolveOperations(t0, t1) {
  14316. this._box_0 = t0;
  14317. this.resolveOneOperation = t1;
  14318. },
  14319. StylesheetParser__expression_addSingleExpression: function StylesheetParser__expression_addSingleExpression(t0, t1, t2, t3) {
  14320. var _ = this;
  14321. _._box_0 = t0;
  14322. _.$this = t1;
  14323. _.resetState = t2;
  14324. _.resolveOperations = t3;
  14325. },
  14326. StylesheetParser__expression_addOperator: function StylesheetParser__expression_addOperator(t0, t1, t2) {
  14327. this._box_0 = t0;
  14328. this.$this = t1;
  14329. this.resolveOneOperation = t2;
  14330. },
  14331. StylesheetParser__expression_resolveSpaceExpressions: function StylesheetParser__expression_resolveSpaceExpressions(t0, t1, t2) {
  14332. this._box_0 = t0;
  14333. this.$this = t1;
  14334. this.resolveOperations = t2;
  14335. },
  14336. StylesheetParser_expressionUntilComma_closure: function StylesheetParser_expressionUntilComma_closure(t0) {
  14337. this.$this = t0;
  14338. },
  14339. StylesheetParser__isHexColor_closure: function StylesheetParser__isHexColor_closure() {
  14340. },
  14341. StylesheetParser__unicodeRange_closure: function StylesheetParser__unicodeRange_closure() {
  14342. },
  14343. StylesheetParser__unicodeRange_closure0: function StylesheetParser__unicodeRange_closure0() {
  14344. },
  14345. StylesheetParser_namespacedExpression_closure: function StylesheetParser_namespacedExpression_closure(t0, t1) {
  14346. this.$this = t0;
  14347. this.start = t1;
  14348. },
  14349. StylesheetParser_trySpecialFunction_closure: function StylesheetParser_trySpecialFunction_closure() {
  14350. },
  14351. StylesheetParser__expressionUntilComparison_closure: function StylesheetParser__expressionUntilComparison_closure(t0) {
  14352. this.$this = t0;
  14353. },
  14354. StylesheetParser__publicIdentifier_closure: function StylesheetParser__publicIdentifier_closure(t0, t1) {
  14355. this.$this = t0;
  14356. this.start = t1;
  14357. },
  14358. StylesheetNode$_(_stylesheet, importer, canonicalUrl, allUpstream) {
  14359. var t1 = new A.StylesheetNode(_stylesheet, importer, canonicalUrl, allUpstream._1, allUpstream._0, A.LinkedHashSet_LinkedHashSet$_empty(type$.StylesheetNode));
  14360. t1.StylesheetNode$_$4(_stylesheet, importer, canonicalUrl, allUpstream);
  14361. return t1;
  14362. },
  14363. StylesheetGraph: function StylesheetGraph(t0, t1, t2) {
  14364. this._nodes = t0;
  14365. this.importCache = t1;
  14366. this._transitiveModificationTimes = t2;
  14367. },
  14368. StylesheetGraph_modifiedSince_transitiveModificationTime: function StylesheetGraph_modifiedSince_transitiveModificationTime(t0) {
  14369. this.$this = t0;
  14370. },
  14371. StylesheetGraph_modifiedSince_transitiveModificationTime_closure: function StylesheetGraph_modifiedSince_transitiveModificationTime_closure(t0, t1) {
  14372. this.node = t0;
  14373. this.transitiveModificationTime = t1;
  14374. },
  14375. StylesheetGraph__add_closure: function StylesheetGraph__add_closure(t0, t1, t2, t3) {
  14376. var _ = this;
  14377. _.$this = t0;
  14378. _.url = t1;
  14379. _.baseImporter = t2;
  14380. _.baseUrl = t3;
  14381. },
  14382. StylesheetGraph_addCanonical_closure: function StylesheetGraph_addCanonical_closure(t0, t1, t2, t3) {
  14383. var _ = this;
  14384. _.$this = t0;
  14385. _.importer = t1;
  14386. _.canonicalUrl = t2;
  14387. _.originalUrl = t3;
  14388. },
  14389. StylesheetGraph_reload_closure: function StylesheetGraph_reload_closure(t0, t1, t2) {
  14390. this.$this = t0;
  14391. this.node = t1;
  14392. this.canonicalUrl = t2;
  14393. },
  14394. StylesheetGraph__nodeFor_closure: function StylesheetGraph__nodeFor_closure(t0, t1, t2, t3, t4) {
  14395. var _ = this;
  14396. _.$this = t0;
  14397. _.url = t1;
  14398. _.baseImporter = t2;
  14399. _.baseUrl = t3;
  14400. _.forImport = t4;
  14401. },
  14402. StylesheetGraph__nodeFor_closure0: function StylesheetGraph__nodeFor_closure0(t0, t1) {
  14403. this._box_0 = t0;
  14404. this.$this = t1;
  14405. },
  14406. StylesheetNode: function StylesheetNode(t0, t1, t2, t3, t4, t5) {
  14407. var _ = this;
  14408. _._stylesheet = t0;
  14409. _.importer = t1;
  14410. _.canonicalUrl = t2;
  14411. _._upstream = t3;
  14412. _._upstreamImports = t4;
  14413. _._downstream = t5;
  14414. },
  14415. Syntax_forPath(path) {
  14416. var t1,
  14417. _0_0 = A.ParsedPath_ParsedPath$parse(path, $.$get$context().style)._splitExtension$1(1)[1];
  14418. $label0$0: {
  14419. if (".sass" === _0_0) {
  14420. t1 = B.Syntax_Sass_sass;
  14421. break $label0$0;
  14422. }
  14423. if (".css" === _0_0) {
  14424. t1 = B.Syntax_CSS_css;
  14425. break $label0$0;
  14426. }
  14427. t1 = B.Syntax_SCSS_scss;
  14428. break $label0$0;
  14429. }
  14430. return t1;
  14431. },
  14432. Syntax: function Syntax(t0, t1) {
  14433. this._syntax$_name = t0;
  14434. this._name = t1;
  14435. },
  14436. Box: function Box(t0, t1) {
  14437. this._box$_inner = t0;
  14438. this.$ti = t1;
  14439. },
  14440. ModifiableBox: function ModifiableBox(t0, t1) {
  14441. this.value = t0;
  14442. this.$ti = t1;
  14443. },
  14444. LazyFileSpan: function LazyFileSpan(t0) {
  14445. this._builder = t0;
  14446. this._lazy_file_span$_span = null;
  14447. },
  14448. LimitedMapView$blocklist(_map, blocklist, $K, $V) {
  14449. var t2, key,
  14450. t1 = A.LinkedHashSet_LinkedHashSet$_empty($K);
  14451. for (t2 = J.get$iterator$ax(_map.get$keys(_map)); t2.moveNext$0();) {
  14452. key = t2.get$current(t2);
  14453. if (!blocklist.contains$1(0, key))
  14454. t1.add$1(0, key);
  14455. }
  14456. return new A.LimitedMapView(_map, t1, $K._eval$1("@<0>")._bind$1($V)._eval$1("LimitedMapView<1,2>"));
  14457. },
  14458. LimitedMapView: function LimitedMapView(t0, t1, t2) {
  14459. this._limited_map_view$_map = t0;
  14460. this._limited_map_view$_keys = t1;
  14461. this.$ti = t2;
  14462. },
  14463. MapExtensions_get_pairs(_this, $K, $V) {
  14464. return _this.get$entries(_this).map$1$1(0, new A.MapExtensions_get_pairs_closure($K, $V), $K._eval$1("@<0>")._bind$1($V)._eval$1("+(1,2)"));
  14465. },
  14466. MapExtensions_get_pairs_closure: function MapExtensions_get_pairs_closure(t0, t1) {
  14467. this.K = t0;
  14468. this.V = t1;
  14469. },
  14470. MergedMapView$(maps, $K, $V) {
  14471. var t1 = $K._eval$1("@<0>")._bind$1($V);
  14472. t1 = new A.MergedMapView(A.LinkedHashMap_LinkedHashMap$_empty($K, t1._eval$1("Map<1,2>")), t1._eval$1("MergedMapView<1,2>"));
  14473. t1.MergedMapView$1(maps, $K, $V);
  14474. return t1;
  14475. },
  14476. MergedMapView: function MergedMapView(t0, t1) {
  14477. this._mapsByKey = t0;
  14478. this.$ti = t1;
  14479. },
  14480. MultiDirWatcher: function MultiDirWatcher(t0, t1, t2) {
  14481. this._watchers = t0;
  14482. this._group = t1;
  14483. this._poll = t2;
  14484. },
  14485. MultiSpan: function MultiSpan(t0, t1, t2) {
  14486. this._multi_span$_primary = t0;
  14487. this.primaryLabel = t1;
  14488. this.secondarySpans = t2;
  14489. },
  14490. NoSourceMapBuffer: function NoSourceMapBuffer(t0) {
  14491. this._no_source_map_buffer$_buffer = t0;
  14492. },
  14493. PrefixedMapView: function PrefixedMapView(t0, t1, t2) {
  14494. this._prefixed_map_view$_map = t0;
  14495. this._prefix = t1;
  14496. this.$ti = t2;
  14497. },
  14498. _PrefixedKeys: function _PrefixedKeys(t0) {
  14499. this._view = t0;
  14500. },
  14501. _PrefixedKeys_iterator_closure: function _PrefixedKeys_iterator_closure(t0) {
  14502. this.$this = t0;
  14503. },
  14504. PublicMemberMapView: function PublicMemberMapView(t0, t1) {
  14505. this._public_member_map_view$_inner = t0;
  14506. this.$ti = t1;
  14507. },
  14508. SourceMapBuffer: function SourceMapBuffer(t0, t1) {
  14509. var _ = this;
  14510. _._source_map_buffer$_buffer = t0;
  14511. _._entries = t1;
  14512. _._column = _._line = 0;
  14513. _._inSpan = false;
  14514. },
  14515. SourceMapBuffer_buildSourceMap_closure: function SourceMapBuffer_buildSourceMap_closure(t0, t1) {
  14516. this._box_0 = t0;
  14517. this.prefixLength = t1;
  14518. },
  14519. UnprefixedMapView: function UnprefixedMapView(t0, t1, t2) {
  14520. this._unprefixed_map_view$_map = t0;
  14521. this._unprefixed_map_view$_prefix = t1;
  14522. this.$ti = t2;
  14523. },
  14524. _UnprefixedKeys: function _UnprefixedKeys(t0) {
  14525. this._unprefixed_map_view$_view = t0;
  14526. },
  14527. _UnprefixedKeys_iterator_closure: function _UnprefixedKeys_iterator_closure(t0) {
  14528. this.$this = t0;
  14529. },
  14530. _UnprefixedKeys_iterator_closure0: function _UnprefixedKeys_iterator_closure0(t0) {
  14531. this.$this = t0;
  14532. },
  14533. toSentence(iter, conjunction) {
  14534. if (iter.get$length(iter) === 1)
  14535. return J.toString$0$(iter.get$first(iter));
  14536. return A.IterableExtension_get_exceptLast(iter).join$1(0, ", ") + (" " + conjunction + " " + A.S(iter.get$last(iter)));
  14537. },
  14538. indent(string, indentation) {
  14539. 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");
  14540. },
  14541. pluralize($name, number, plural) {
  14542. if (number === 1)
  14543. return $name;
  14544. if (plural != null)
  14545. return plural;
  14546. return $name + "s";
  14547. },
  14548. trimAscii(string, excludeEscape) {
  14549. var t1,
  14550. start = A._firstNonWhitespace(string);
  14551. if (start == null)
  14552. t1 = "";
  14553. else {
  14554. t1 = A._lastNonWhitespace(string, true);
  14555. t1.toString;
  14556. t1 = B.JSString_methods.substring$2(string, start, t1 + 1);
  14557. }
  14558. return t1;
  14559. },
  14560. trimAsciiRight(string, excludeEscape) {
  14561. var end = A._lastNonWhitespace(string, excludeEscape);
  14562. return end == null ? "" : B.JSString_methods.substring$2(string, 0, end + 1);
  14563. },
  14564. _firstNonWhitespace(string) {
  14565. var t1, i, t2;
  14566. for (t1 = string.length, i = 0; i < t1; ++i) {
  14567. t2 = string.charCodeAt(i);
  14568. if (!(t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12))
  14569. return i;
  14570. }
  14571. return null;
  14572. },
  14573. _lastNonWhitespace(string, excludeEscape) {
  14574. var i, i0, codeUnit;
  14575. for (i = string.length - 1, i0 = i; i0 >= 0; --i0) {
  14576. codeUnit = string.charCodeAt(i0);
  14577. if (!(codeUnit === 32 || codeUnit === 9 || codeUnit === 10 || codeUnit === 13 || codeUnit === 12))
  14578. if (excludeEscape && i0 !== 0 && i0 !== i && codeUnit === 92)
  14579. return i0 + 1;
  14580. else
  14581. return i0;
  14582. }
  14583. return null;
  14584. },
  14585. isPublic(member) {
  14586. var start = member.charCodeAt(0);
  14587. return start !== 45 && start !== 95;
  14588. },
  14589. flattenVertically(iterable, $T) {
  14590. var result,
  14591. t1 = iterable.$ti._eval$1("@<ListIterable.E>")._bind$1($T._eval$1("QueueList<0>"))._eval$1("MappedListIterable<1,2>"),
  14592. queues = A.List_List$of(new A.MappedListIterable(iterable, new A.flattenVertically_closure($T), t1), true, t1._eval$1("ListIterable.E"));
  14593. if (queues.length === 1)
  14594. return B.JSArray_methods.get$first(queues);
  14595. result = A._setArrayType([], $T._eval$1("JSArray<0>"));
  14596. for (; queues.length !== 0;) {
  14597. if (!!queues.fixed$length)
  14598. A.throwExpression(A.UnsupportedError$("removeWhere"));
  14599. B.JSArray_methods._removeWhere$2(queues, new A.flattenVertically_closure0(result, $T), true);
  14600. }
  14601. return result;
  14602. },
  14603. codepointIndexToCodeUnitIndex(string, codepointIndex) {
  14604. var codeUnitIndex, i, codeUnitIndex0;
  14605. for (codeUnitIndex = 0, i = 0; i < codepointIndex; ++i) {
  14606. codeUnitIndex0 = codeUnitIndex + 1;
  14607. codeUnitIndex = string.charCodeAt(codeUnitIndex) >>> 10 === 54 ? codeUnitIndex0 + 1 : codeUnitIndex0;
  14608. }
  14609. return codeUnitIndex;
  14610. },
  14611. codeUnitIndexToCodepointIndex(string, codeUnitIndex) {
  14612. var codepointIndex, i;
  14613. for (codepointIndex = 0, i = 0; i < codeUnitIndex; i = (string.charCodeAt(i) >>> 10 === 54 ? i + 1 : i) + 1)
  14614. ++codepointIndex;
  14615. return codepointIndex;
  14616. },
  14617. frameForSpan(span, member, url) {
  14618. var t2, t3,
  14619. t1 = url == null ? span.get$sourceUrl(span) : url;
  14620. if (t1 == null)
  14621. t1 = $.$get$_noSourceUrl();
  14622. t2 = span.get$start(span);
  14623. t2 = t2.file.getLine$1(t2.offset);
  14624. t3 = span.get$start(span);
  14625. return new A.Frame(t1, t2 + 1, t3.file.getColumn$1(t3.offset) + 1, member);
  14626. },
  14627. declarationName(span) {
  14628. var text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(span.file._decodedChars, span._file$_start, span._end), 0, null);
  14629. return A.trimAsciiRight(B.JSString_methods.substring$2(text, 0, B.JSString_methods.indexOf$1(text, ":")), false);
  14630. },
  14631. unvendor($name) {
  14632. var i,
  14633. t1 = $name.length;
  14634. if (t1 < 2)
  14635. return $name;
  14636. if ($name.charCodeAt(0) !== 45)
  14637. return $name;
  14638. if ($name.charCodeAt(1) === 45)
  14639. return $name;
  14640. for (i = 2; i < t1; ++i)
  14641. if ($name.charCodeAt(i) === 45)
  14642. return B.JSString_methods.substring$1($name, i + 1);
  14643. return $name;
  14644. },
  14645. equalsIgnoreCase(string1, string2) {
  14646. var t1, i;
  14647. if (string1 === string2)
  14648. return true;
  14649. if (string1 == null)
  14650. return false;
  14651. t1 = string1.length;
  14652. if (t1 !== string2.length)
  14653. return false;
  14654. for (i = 0; i < t1; ++i)
  14655. if (!A.characterEqualsIgnoreCase(string1.charCodeAt(i), string2.charCodeAt(i)))
  14656. return false;
  14657. return true;
  14658. },
  14659. startsWithIgnoreCase(string, prefix) {
  14660. var i,
  14661. t1 = prefix.length;
  14662. if (string.length < t1)
  14663. return false;
  14664. for (i = 0; i < t1; ++i)
  14665. if (!A.characterEqualsIgnoreCase(string.charCodeAt(i), prefix.charCodeAt(i)))
  14666. return false;
  14667. return true;
  14668. },
  14669. mapInPlace(list, $function) {
  14670. var i;
  14671. for (i = 0; i < list.length; ++i)
  14672. list[i] = $function.call$1(list[i]);
  14673. },
  14674. longestCommonSubsequence(list1, list2, select, $T) {
  14675. var t1, _i, selections, i, i0, j, selection, j0,
  14676. _length = list1.get$length(0) + 1,
  14677. lengths = J.JSArray_JSArray$allocateFixed(_length, type$.List_int);
  14678. for (t1 = type$.int, _i = 0; _i < _length; ++_i)
  14679. 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);
  14680. _length = list1.get$length(0);
  14681. selections = J.JSArray_JSArray$allocateFixed(_length, $T._eval$1("List<0?>"));
  14682. for (t1 = $T._eval$1("0?"), _i = 0; _i < _length; ++_i)
  14683. 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);
  14684. for (i = 0; i < (list1._queue_list$_tail - list1._queue_list$_head & J.get$length$asx(list1._queue_list$_table) - 1) >>> 0; i = i0)
  14685. 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) {
  14686. selection = select.call$2(list1.$index(0, i), list2.$index(0, j));
  14687. selections[i][j] = selection;
  14688. t1 = lengths[i0];
  14689. j0 = j + 1;
  14690. t1[j0] = selection == null ? Math.max(t1[j], lengths[i][j0]) : lengths[i][j] + 1;
  14691. }
  14692. return new A.longestCommonSubsequence_backtrack(selections, lengths, $T).call$2(list1.get$length(0) - 1, list2.get$length(0) - 1);
  14693. },
  14694. removeFirstWhere(list, test, orElse) {
  14695. var i;
  14696. for (i = 0; i < list.length; ++i) {
  14697. if (!test.call$1(list[i]))
  14698. continue;
  14699. B.JSArray_methods.removeAt$1(list, i);
  14700. return;
  14701. }
  14702. orElse.call$0();
  14703. },
  14704. mapAddAll2(destination, source, K1, K2, $V) {
  14705. source.forEach$1(0, new A.mapAddAll2_closure(destination, K1, K2, $V));
  14706. },
  14707. setAll(map, keys, value) {
  14708. var t1;
  14709. for (t1 = J.get$iterator$ax(keys); t1.moveNext$0();)
  14710. map.$indexSet(0, t1.get$current(t1), value);
  14711. },
  14712. rotateSlice(list, start, end) {
  14713. var i, next,
  14714. element = list.$index(0, end - 1);
  14715. for (i = start; i < end; ++i, element = next) {
  14716. next = list.$index(0, i);
  14717. list.$indexSet(0, i, element);
  14718. }
  14719. },
  14720. mapAsync(iterable, callback, $E, $F) {
  14721. return A.mapAsync$body(iterable, callback, $E, $F, $F._eval$1("Iterable<0>"));
  14722. },
  14723. mapAsync$body(iterable, callback, $E, $F, $async$type) {
  14724. var $async$goto = 0,
  14725. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  14726. $async$returnValue, t2, _i, t1, $async$temp1;
  14727. var $async$mapAsync = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  14728. if ($async$errorCode === 1)
  14729. return A._asyncRethrow($async$result, $async$completer);
  14730. while (true)
  14731. switch ($async$goto) {
  14732. case 0:
  14733. // Function start
  14734. t1 = A._setArrayType([], $F._eval$1("JSArray<0>"));
  14735. t2 = iterable.length, _i = 0;
  14736. case 3:
  14737. // for condition
  14738. if (!(_i < t2)) {
  14739. // goto after for
  14740. $async$goto = 5;
  14741. break;
  14742. }
  14743. $async$temp1 = t1;
  14744. $async$goto = 6;
  14745. return A._asyncAwait(callback.call$1(iterable[_i]), $async$mapAsync);
  14746. case 6:
  14747. // returning from await.
  14748. $async$temp1.push($async$result);
  14749. case 4:
  14750. // for update
  14751. ++_i;
  14752. // goto for condition
  14753. $async$goto = 3;
  14754. break;
  14755. case 5:
  14756. // after for
  14757. $async$returnValue = t1;
  14758. // goto return
  14759. $async$goto = 1;
  14760. break;
  14761. case 1:
  14762. // return
  14763. return A._asyncReturn($async$returnValue, $async$completer);
  14764. }
  14765. });
  14766. return A._asyncStartSync($async$mapAsync, $async$completer);
  14767. },
  14768. putIfAbsentAsync(map, key, ifAbsent, $K, $V) {
  14769. return A.putIfAbsentAsync$body(map, key, ifAbsent, $K, $V, $V);
  14770. },
  14771. putIfAbsentAsync$body(map, key, ifAbsent, $K, $V, $async$type) {
  14772. var $async$goto = 0,
  14773. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  14774. $async$returnValue, t1, value;
  14775. var $async$putIfAbsentAsync = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  14776. if ($async$errorCode === 1)
  14777. return A._asyncRethrow($async$result, $async$completer);
  14778. while (true)
  14779. switch ($async$goto) {
  14780. case 0:
  14781. // Function start
  14782. if (map.containsKey$1(key)) {
  14783. t1 = map.$index(0, key);
  14784. $async$returnValue = t1 == null ? $V._as(t1) : t1;
  14785. // goto return
  14786. $async$goto = 1;
  14787. break;
  14788. }
  14789. $async$goto = 3;
  14790. return A._asyncAwait(ifAbsent.call$0(), $async$putIfAbsentAsync);
  14791. case 3:
  14792. // returning from await.
  14793. value = $async$result;
  14794. map.$indexSet(0, key, value);
  14795. $async$returnValue = value;
  14796. // goto return
  14797. $async$goto = 1;
  14798. break;
  14799. case 1:
  14800. // return
  14801. return A._asyncReturn($async$returnValue, $async$completer);
  14802. }
  14803. });
  14804. return A._asyncStartSync($async$putIfAbsentAsync, $async$completer);
  14805. },
  14806. copyMapOfMap(map, K1, K2, $V) {
  14807. var t3, key, child,
  14808. t1 = K2._eval$1("@<0>")._bind$1($V)._eval$1("Map<1,2>"),
  14809. t2 = A.LinkedHashMap_LinkedHashMap$_empty(K1, t1);
  14810. for (t1 = A.MapExtensions_get_pairs(map, K1, t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  14811. t3 = t1.get$current(t1);
  14812. key = t3._0;
  14813. child = t3._1;
  14814. t3 = A.LinkedHashMap_LinkedHashMap(null, null, null, K2, $V);
  14815. t3.addAll$1(0, child);
  14816. t2.$indexSet(0, key, t3);
  14817. }
  14818. return t2;
  14819. },
  14820. copyMapOfList(map, $K, $E) {
  14821. var t3,
  14822. t1 = $E._eval$1("List<0>"),
  14823. t2 = A.LinkedHashMap_LinkedHashMap$_empty($K, t1);
  14824. for (t1 = A.MapExtensions_get_pairs(map, $K, t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  14825. t3 = t1.get$current(t1);
  14826. t2.$indexSet(0, t3._0, J.toList$0$ax(t3._1));
  14827. }
  14828. return t2;
  14829. },
  14830. consumeEscapedCharacter(scanner) {
  14831. var _1_0, value, i, next, t1;
  14832. scanner.expectChar$1(92);
  14833. _1_0 = scanner.peekChar$0();
  14834. if (_1_0 == null)
  14835. return 65533;
  14836. if (_1_0 === 10 || _1_0 === 13 || _1_0 === 12)
  14837. scanner.error$1(0, "Expected escape sequence.");
  14838. if (A.CharacterExtension_get_isHex(_1_0)) {
  14839. for (value = 0, i = 0; i < 6; ++i) {
  14840. next = scanner.peekChar$0();
  14841. if (next != null) {
  14842. if (!(next >= 48 && next <= 57))
  14843. if (!(next >= 97 && next <= 102))
  14844. t1 = next >= 65 && next <= 70;
  14845. else
  14846. t1 = true;
  14847. else
  14848. t1 = true;
  14849. t1 = !t1;
  14850. } else
  14851. t1 = true;
  14852. if (t1)
  14853. break;
  14854. value = (value << 4 >>> 0) + A.asHex(scanner.readChar$0());
  14855. }
  14856. t1 = scanner.peekChar$0();
  14857. if (t1 === 32 || t1 === 9 || t1 === 10 || t1 === 13 || t1 === 12)
  14858. scanner.readChar$0();
  14859. $label0$1: {
  14860. if (0 !== value)
  14861. t1 = value >= 55296 && value <= 57343 || value >= 1114111;
  14862. else
  14863. t1 = true;
  14864. if (t1) {
  14865. t1 = 65533;
  14866. break $label0$1;
  14867. }
  14868. t1 = value;
  14869. break $label0$1;
  14870. }
  14871. return t1;
  14872. }
  14873. return scanner.readChar$0();
  14874. },
  14875. throwWithTrace(error, originalError, trace) {
  14876. var t1 = A.getTrace(originalError);
  14877. A.attachTrace(error, t1 == null ? trace : t1);
  14878. throw A.wrapException(error);
  14879. },
  14880. attachTrace(error, trace) {
  14881. var t1;
  14882. if (trace.toString$0(0).length === 0)
  14883. return;
  14884. t1 = $.$get$_traces();
  14885. A.Expando__checkType(error);
  14886. if (t1._jsWeakMap.get(error) == null)
  14887. t1.$indexSet(0, error, trace);
  14888. },
  14889. getTrace(error) {
  14890. var t1;
  14891. if (typeof error == "string" || typeof error == "number" || A._isBool(error))
  14892. t1 = null;
  14893. else {
  14894. t1 = $.$get$_traces();
  14895. A.Expando__checkType(error);
  14896. t1 = t1._jsWeakMap.get(error);
  14897. }
  14898. return t1;
  14899. },
  14900. indent_closure: function indent_closure(t0) {
  14901. this.indentation = t0;
  14902. },
  14903. flattenVertically_closure: function flattenVertically_closure(t0) {
  14904. this.T = t0;
  14905. },
  14906. flattenVertically_closure0: function flattenVertically_closure0(t0, t1) {
  14907. this.result = t0;
  14908. this.T = t1;
  14909. },
  14910. longestCommonSubsequence_backtrack: function longestCommonSubsequence_backtrack(t0, t1, t2) {
  14911. this.selections = t0;
  14912. this.lengths = t1;
  14913. this.T = t2;
  14914. },
  14915. mapAddAll2_closure: function mapAddAll2_closure(t0, t1, t2, t3) {
  14916. var _ = this;
  14917. _.destination = t0;
  14918. _.K1 = t1;
  14919. _.K2 = t2;
  14920. _.V = t3;
  14921. },
  14922. SassApiValue_assertSelector(_this, allowParent, $name) {
  14923. var error, stackTrace, t1, exception,
  14924. string = _this._selectorString$1($name);
  14925. try {
  14926. t1 = A.SelectorList_SelectorList$parse(string, allowParent, null, null, false);
  14927. return t1;
  14928. } catch (exception) {
  14929. t1 = A.unwrapException(exception);
  14930. if (type$.SassFormatException._is(t1)) {
  14931. error = t1;
  14932. stackTrace = A.getTraceFromException(exception);
  14933. t1 = B.JSString_methods.replaceFirst$2(J.toString$0$(error), "Error: ", "");
  14934. A.throwWithTrace(new A.SassScriptException($name == null ? t1 : "$" + $name + ": " + t1), error, stackTrace);
  14935. } else
  14936. throw exception;
  14937. }
  14938. },
  14939. SassApiValue_assertCompoundSelector(_this, $name) {
  14940. var error, stackTrace, t1, exception,
  14941. allowParent = false,
  14942. string = _this._selectorString$1($name);
  14943. try {
  14944. t1 = A.SelectorParser$(string, allowParent, null, null, false, null).parseCompoundSelector$0();
  14945. return t1;
  14946. } catch (exception) {
  14947. t1 = A.unwrapException(exception);
  14948. if (type$.SassFormatException._is(t1)) {
  14949. error = t1;
  14950. stackTrace = A.getTraceFromException(exception);
  14951. t1 = B.JSString_methods.replaceFirst$2(J.toString$0$(error), "Error: ", "");
  14952. A.throwWithTrace(new A.SassScriptException("$" + $name + ": " + t1), error, stackTrace);
  14953. } else
  14954. throw exception;
  14955. }
  14956. },
  14957. Value: function Value() {
  14958. },
  14959. SassArgumentList$(contents, keywords, separator) {
  14960. var t1 = type$.Value;
  14961. t1 = new A.SassArgumentList(A.ConstantMap_ConstantMap$from(keywords, type$.String, t1), A.List_List$unmodifiable(contents, t1), separator, false);
  14962. t1.SassList$3$brackets(contents, separator, false);
  14963. return t1;
  14964. },
  14965. SassArgumentList: function SassArgumentList(t0, t1, t2, t3) {
  14966. var _ = this;
  14967. _._keywords = t0;
  14968. _._wereKeywordsAccessed = false;
  14969. _._list$_contents = t1;
  14970. _._separator = t2;
  14971. _._hasBrackets = t3;
  14972. },
  14973. SassBoolean: function SassBoolean(t0) {
  14974. this.value = t0;
  14975. },
  14976. SassCalculation_calc(argument) {
  14977. var t1,
  14978. _0_0 = A.SassCalculation__simplify(argument);
  14979. $label0$0: {
  14980. if (_0_0 instanceof A.SassNumber) {
  14981. t1 = _0_0;
  14982. break $label0$0;
  14983. }
  14984. if (_0_0 instanceof A.SassCalculation) {
  14985. t1 = _0_0;
  14986. break $label0$0;
  14987. }
  14988. t1 = new A.SassCalculation("calc", A.List_List$unmodifiable([_0_0], type$.Object));
  14989. break $label0$0;
  14990. }
  14991. return t1;
  14992. },
  14993. SassCalculation_min($arguments) {
  14994. var minimum, _i, arg, t2,
  14995. args = A.List_List$unmodifiable(new A.MappedListIterable($arguments, A.calculation_SassCalculation__simplify$closure(), A._arrayInstanceType($arguments)._eval$1("MappedListIterable<1,@>")), type$.Object),
  14996. t1 = args.length;
  14997. if (t1 === 0)
  14998. throw A.wrapException(A.ArgumentError$("min() must have at least one argument.", null));
  14999. for (minimum = null, _i = 0; _i < t1; ++_i) {
  15000. arg = args[_i];
  15001. if (arg instanceof A.SassNumber)
  15002. t2 = minimum != null && !minimum.isComparableTo$1(arg);
  15003. else
  15004. t2 = true;
  15005. if (t2) {
  15006. minimum = null;
  15007. break;
  15008. } else if (minimum == null || minimum.greaterThan$1(arg).value)
  15009. minimum = arg;
  15010. }
  15011. if (minimum != null)
  15012. return minimum;
  15013. A.SassCalculation__verifyCompatibleNumbers(args);
  15014. return new A.SassCalculation("min", args);
  15015. },
  15016. SassCalculation_max($arguments) {
  15017. var maximum, _i, arg, t2,
  15018. args = A.List_List$unmodifiable(new A.MappedListIterable($arguments, A.calculation_SassCalculation__simplify$closure(), A._arrayInstanceType($arguments)._eval$1("MappedListIterable<1,@>")), type$.Object),
  15019. t1 = args.length;
  15020. if (t1 === 0)
  15021. throw A.wrapException(A.ArgumentError$("max() must have at least one argument.", null));
  15022. for (maximum = null, _i = 0; _i < t1; ++_i) {
  15023. arg = args[_i];
  15024. if (arg instanceof A.SassNumber)
  15025. t2 = maximum != null && !maximum.isComparableTo$1(arg);
  15026. else
  15027. t2 = true;
  15028. if (t2) {
  15029. maximum = null;
  15030. break;
  15031. } else if (maximum == null || maximum.lessThan$1(arg).value)
  15032. maximum = arg;
  15033. }
  15034. if (maximum != null)
  15035. return maximum;
  15036. A.SassCalculation__verifyCompatibleNumbers(args);
  15037. return new A.SassCalculation("max", args);
  15038. },
  15039. SassCalculation_hypot($arguments) {
  15040. var first, subtotal, i, number, value, t2, t3,
  15041. args = A.List_List$unmodifiable(new A.MappedListIterable($arguments, A.calculation_SassCalculation__simplify$closure(), A._arrayInstanceType($arguments)._eval$1("MappedListIterable<1,@>")), type$.Object),
  15042. t1 = args.length;
  15043. if (t1 === 0)
  15044. throw A.wrapException(A.ArgumentError$("hypot() must have at least one argument.", null));
  15045. A.SassCalculation__verifyCompatibleNumbers(args);
  15046. first = B.JSArray_methods.get$first(args);
  15047. if (!(first instanceof A.SassNumber) || first.hasUnit$1("%"))
  15048. return new A.SassCalculation("hypot", args);
  15049. for (subtotal = 0, i = 0; i < t1;) {
  15050. number = args[i];
  15051. if (!(number instanceof A.SassNumber) || !number.hasCompatibleUnits$1(first))
  15052. return new A.SassCalculation("hypot", args);
  15053. ++i;
  15054. value = number.convertValueToMatch$3(first, "numbers[" + i + "]", "numbers[1]");
  15055. subtotal += value * value;
  15056. }
  15057. t1 = Math.sqrt(subtotal);
  15058. t2 = J.getInterceptor$x(first);
  15059. t3 = t2.get$numeratorUnits(first);
  15060. return A.SassNumber_SassNumber$withUnits(t1, t2.get$denominatorUnits(first), t3);
  15061. },
  15062. SassCalculation_abs(argument) {
  15063. argument = A.SassCalculation__simplify(argument);
  15064. if (!(argument instanceof A.SassNumber))
  15065. return new A.SassCalculation("abs", A._setArrayType([argument], type$.JSArray_Object));
  15066. if (argument.hasUnit$1("%"))
  15067. A.warnForDeprecation(string$.Passinp + argument.toString$0(0) + ")\nTo emit a CSS abs() now: abs(#{" + argument.toString$0(0) + string$.x7d__Mor, B.Deprecation_GFc);
  15068. return A.SassNumber_SassNumber(Math.abs(argument._number$_value), null).coerceToMatch$1(argument);
  15069. },
  15070. SassCalculation_exp(argument) {
  15071. argument = A.SassCalculation__simplify(argument);
  15072. if (!(argument instanceof A.SassNumber))
  15073. return new A.SassCalculation("exp", A._setArrayType([argument], type$.JSArray_Object));
  15074. argument.assertNoUnits$0();
  15075. return A.pow0(A.SassNumber_SassNumber(2.718281828459045, null), argument);
  15076. },
  15077. SassCalculation_sign(argument) {
  15078. var t1, _0_2, t2, arg;
  15079. argument = A.SassCalculation__simplify(argument);
  15080. $label0$0: {
  15081. t1 = argument instanceof A.SassNumber;
  15082. if (t1) {
  15083. _0_2 = argument._number$_value;
  15084. if (!isNaN(_0_2))
  15085. t2 = 0 === _0_2;
  15086. else
  15087. t2 = true;
  15088. } else
  15089. t2 = false;
  15090. if (t2) {
  15091. t1 = argument;
  15092. break $label0$0;
  15093. }
  15094. if (t1) {
  15095. t1 = !argument.hasUnit$1("%");
  15096. arg = argument;
  15097. } else {
  15098. arg = null;
  15099. t1 = false;
  15100. }
  15101. if (t1) {
  15102. t1 = A.SassNumber_SassNumber(J.get$sign$in(arg._number$_value), null).coerceToMatch$1(argument);
  15103. break $label0$0;
  15104. }
  15105. t1 = new A.SassCalculation("sign", A._setArrayType([argument], type$.JSArray_Object));
  15106. break $label0$0;
  15107. }
  15108. return t1;
  15109. },
  15110. SassCalculation_clamp(min, value, max) {
  15111. var t1, args;
  15112. if (value == null && max != null)
  15113. throw A.wrapException(A.ArgumentError$("If value is null, max must also be null.", null));
  15114. min = A.SassCalculation__simplify(min);
  15115. value = A.NullableExtension_andThen(value, A.calculation_SassCalculation__simplify$closure());
  15116. max = A.NullableExtension_andThen(max, A.calculation_SassCalculation__simplify$closure());
  15117. if (min instanceof A.SassNumber && value instanceof A.SassNumber && max instanceof A.SassNumber && min.hasCompatibleUnits$1(value) && min.hasCompatibleUnits$1(max)) {
  15118. if (value.lessThanOrEquals$1(min).value)
  15119. return min;
  15120. if (value.greaterThanOrEquals$1(max).value)
  15121. return max;
  15122. return value;
  15123. }
  15124. t1 = [min];
  15125. if (value != null)
  15126. t1.push(value);
  15127. if (max != null)
  15128. t1.push(max);
  15129. args = A.List_List$unmodifiable(t1, type$.Object);
  15130. A.SassCalculation__verifyCompatibleNumbers(args);
  15131. A.SassCalculation__verifyLength(args, 3);
  15132. return new A.SassCalculation("clamp", args);
  15133. },
  15134. SassCalculation_pow(base, exponent) {
  15135. var t1 = A._setArrayType([base], type$.JSArray_Object);
  15136. if (exponent != null)
  15137. t1.push(exponent);
  15138. A.SassCalculation__verifyLength(t1, 2);
  15139. base = A.SassCalculation__simplify(base);
  15140. exponent = A.NullableExtension_andThen(exponent, A.calculation_SassCalculation__simplify$closure());
  15141. if (!(base instanceof A.SassNumber) || !(exponent instanceof A.SassNumber))
  15142. return new A.SassCalculation("pow", t1);
  15143. base.assertNoUnits$0();
  15144. exponent.assertNoUnits$0();
  15145. return A.pow0(base, exponent);
  15146. },
  15147. SassCalculation_log(number, base) {
  15148. var t1, t2;
  15149. number = A.SassCalculation__simplify(number);
  15150. base = A.NullableExtension_andThen(base, A.calculation_SassCalculation__simplify$closure());
  15151. t1 = A._setArrayType([number], type$.JSArray_Object);
  15152. t2 = base != null;
  15153. if (t2)
  15154. t1.push(base);
  15155. if (number instanceof A.SassNumber)
  15156. t2 = t2 && !(base instanceof A.SassNumber);
  15157. else
  15158. t2 = true;
  15159. if (t2)
  15160. return new A.SassCalculation("log", t1);
  15161. number.assertNoUnits$0();
  15162. if (base instanceof A.SassNumber) {
  15163. base.assertNoUnits$0();
  15164. return A.log(number, base);
  15165. }
  15166. return A.log(number, null);
  15167. },
  15168. SassCalculation_atan2(y, x) {
  15169. var t1;
  15170. y = A.SassCalculation__simplify(y);
  15171. x = A.NullableExtension_andThen(x, A.calculation_SassCalculation__simplify$closure());
  15172. t1 = A._setArrayType([y], type$.JSArray_Object);
  15173. if (x != null)
  15174. t1.push(x);
  15175. A.SassCalculation__verifyLength(t1, 2);
  15176. A.SassCalculation__verifyCompatibleNumbers(t1);
  15177. if (!(y instanceof A.SassNumber) || !(x instanceof A.SassNumber) || y.hasUnit$1("%") || x.hasUnit$1("%") || !y.hasCompatibleUnits$1(x))
  15178. return new A.SassCalculation("atan2", t1);
  15179. 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));
  15180. },
  15181. SassCalculation_rem(dividend, modulus) {
  15182. var t1, result;
  15183. dividend = A.SassCalculation__simplify(dividend);
  15184. modulus = A.NullableExtension_andThen(modulus, A.calculation_SassCalculation__simplify$closure());
  15185. t1 = A._setArrayType([dividend], type$.JSArray_Object);
  15186. if (modulus != null)
  15187. t1.push(modulus);
  15188. A.SassCalculation__verifyLength(t1, 2);
  15189. A.SassCalculation__verifyCompatibleNumbers(t1);
  15190. if (!(dividend instanceof A.SassNumber) || !(modulus instanceof A.SassNumber) || !dividend.hasCompatibleUnits$1(modulus))
  15191. return new A.SassCalculation("rem", t1);
  15192. result = dividend.modulo$1(modulus);
  15193. t1 = modulus._number$_value;
  15194. if (A.DoubleWithSignedZero_get_signIncludingZero(t1) !== A.DoubleWithSignedZero_get_signIncludingZero(dividend._number$_value)) {
  15195. if (t1 == 1 / 0 || t1 == -1 / 0)
  15196. return dividend;
  15197. if (result._number$_value === 0)
  15198. return result.unaryMinus$0();
  15199. return result.minus$1(modulus);
  15200. }
  15201. return result;
  15202. },
  15203. SassCalculation_mod(dividend, modulus) {
  15204. var t1;
  15205. dividend = A.SassCalculation__simplify(dividend);
  15206. modulus = A.NullableExtension_andThen(modulus, A.calculation_SassCalculation__simplify$closure());
  15207. t1 = A._setArrayType([dividend], type$.JSArray_Object);
  15208. if (modulus != null)
  15209. t1.push(modulus);
  15210. A.SassCalculation__verifyLength(t1, 2);
  15211. A.SassCalculation__verifyCompatibleNumbers(t1);
  15212. if (!(dividend instanceof A.SassNumber) || !(modulus instanceof A.SassNumber) || !dividend.hasCompatibleUnits$1(modulus))
  15213. return new A.SassCalculation("mod", t1);
  15214. return dividend.modulo$1(modulus);
  15215. },
  15216. SassCalculation_round(strategyOrNumber, numberOrStep, step) {
  15217. var _0_4, _0_5_isSet, _0_20, _0_6, t1, _0_50, _0_6_isSet, number, t2, _0_2_isSet, _0_10_isSet, _0_8, _0_12_isSet, _0_12, _0_14_isSet, _0_14, _0_16_isSet, _0_16, t3, strategy, _0_8_isSet, t4, rest, _null = null, _s5_ = "round",
  15218. _0_1 = A.SassCalculation__simplify(strategyOrNumber),
  15219. _0_2 = A.NullableExtension_andThen(numberOrStep, A.calculation_SassCalculation__simplify$closure()),
  15220. _0_5 = A.NullableExtension_andThen(step, A.calculation_SassCalculation__simplify$closure()),
  15221. _0_10 = _0_1,
  15222. _0_4_isSet = _0_1 instanceof A.SassNumber;
  15223. if (_0_4_isSet) {
  15224. type$.SassNumber._as(_0_10);
  15225. _0_4 = _0_2 == null;
  15226. _0_5_isSet = _0_4;
  15227. _0_20 = _0_2;
  15228. if (_0_5_isSet) {
  15229. _0_6 = _0_5 == null;
  15230. t1 = _0_6;
  15231. _0_50 = _0_5;
  15232. } else {
  15233. _0_50 = _null;
  15234. _0_6 = _0_50;
  15235. t1 = false;
  15236. }
  15237. _0_6_isSet = _0_5_isSet;
  15238. number = _0_10;
  15239. _0_1 = number;
  15240. } else {
  15241. number = _null;
  15242. _0_50 = number;
  15243. _0_6 = _0_50;
  15244. _0_20 = _0_6;
  15245. _0_4 = _0_20;
  15246. _0_1 = _0_10;
  15247. _0_6_isSet = false;
  15248. _0_5_isSet = false;
  15249. t1 = false;
  15250. }
  15251. if (t1) {
  15252. t1 = B.JSNumber_methods.round$0(number._number$_value);
  15253. t2 = number.get$numeratorUnits(number);
  15254. return A.SassNumber_SassNumber$withUnits(t1, number.get$denominatorUnits(number), t2);
  15255. }
  15256. if (_0_1 instanceof A.SassNumber) {
  15257. if (_0_4_isSet) {
  15258. t1 = _0_20;
  15259. _0_2_isSet = _0_4_isSet;
  15260. } else {
  15261. t1 = _0_2;
  15262. _0_20 = t1;
  15263. _0_2_isSet = true;
  15264. }
  15265. if (t1 instanceof A.SassNumber) {
  15266. if (_0_2_isSet)
  15267. t1 = _0_20;
  15268. else {
  15269. t1 = _0_2;
  15270. _0_20 = t1;
  15271. _0_2_isSet = true;
  15272. }
  15273. type$.SassNumber._as(t1);
  15274. if (_0_6_isSet)
  15275. t2 = _0_6;
  15276. else {
  15277. if (_0_5_isSet)
  15278. t2 = _0_50;
  15279. else {
  15280. t2 = _0_5;
  15281. _0_50 = t2;
  15282. _0_5_isSet = true;
  15283. }
  15284. _0_6 = t2 == null;
  15285. t2 = _0_6;
  15286. _0_6_isSet = true;
  15287. }
  15288. t2 = t2 && !_0_1.hasCompatibleUnits$1(t1);
  15289. step = t1;
  15290. t1 = t2;
  15291. } else {
  15292. step = _null;
  15293. t1 = false;
  15294. }
  15295. number = _0_1;
  15296. } else {
  15297. step = _null;
  15298. number = step;
  15299. _0_2_isSet = _0_4_isSet;
  15300. t1 = false;
  15301. }
  15302. if (t1) {
  15303. t1 = type$.JSArray_Object;
  15304. A.SassCalculation__verifyCompatibleNumbers(A._setArrayType([number, step], t1));
  15305. return new A.SassCalculation(_s5_, A._setArrayType([number, step], t1));
  15306. }
  15307. if (_0_1 instanceof A.SassNumber) {
  15308. if (_0_2_isSet)
  15309. t1 = _0_20;
  15310. else {
  15311. t1 = _0_2;
  15312. _0_20 = t1;
  15313. _0_2_isSet = true;
  15314. }
  15315. if (t1 instanceof A.SassNumber) {
  15316. if (_0_2_isSet)
  15317. t1 = _0_20;
  15318. else {
  15319. t1 = _0_2;
  15320. _0_20 = t1;
  15321. _0_2_isSet = true;
  15322. }
  15323. type$.SassNumber._as(t1);
  15324. if (_0_6_isSet)
  15325. t2 = _0_6;
  15326. else {
  15327. if (_0_5_isSet)
  15328. t2 = _0_50;
  15329. else {
  15330. t2 = _0_5;
  15331. _0_50 = t2;
  15332. _0_5_isSet = true;
  15333. }
  15334. _0_6 = t2 == null;
  15335. t2 = _0_6;
  15336. _0_6_isSet = true;
  15337. }
  15338. step = t1;
  15339. t1 = t2;
  15340. } else {
  15341. step = _null;
  15342. t1 = false;
  15343. }
  15344. number = _0_1;
  15345. } else {
  15346. step = _null;
  15347. number = step;
  15348. t1 = false;
  15349. }
  15350. if (t1) {
  15351. A.SassCalculation__verifyCompatibleNumbers(A._setArrayType([number, step], type$.JSArray_Object));
  15352. return A.SassCalculation__roundWithStep("nearest", number, step);
  15353. }
  15354. _0_10_isSet = _0_1 instanceof A.SassString;
  15355. if (_0_10_isSet) {
  15356. _0_8 = _0_1._string$_text;
  15357. t1 = _0_8;
  15358. _0_10 = "nearest" === t1;
  15359. t1 = _0_10;
  15360. _0_12_isSet = !t1;
  15361. if (_0_12_isSet) {
  15362. _0_12 = "up" === _0_8;
  15363. t1 = _0_12;
  15364. _0_14_isSet = !t1;
  15365. if (_0_14_isSet) {
  15366. _0_14 = "down" === _0_8;
  15367. t1 = _0_14;
  15368. _0_16_isSet = !t1;
  15369. if (_0_16_isSet) {
  15370. _0_16 = "to-zero" === _0_8;
  15371. t1 = _0_16;
  15372. } else {
  15373. _0_16 = _null;
  15374. t1 = true;
  15375. }
  15376. } else {
  15377. _0_16 = _null;
  15378. _0_14 = _0_16;
  15379. _0_16_isSet = false;
  15380. t1 = true;
  15381. }
  15382. } else {
  15383. _0_16 = _null;
  15384. _0_14 = _0_16;
  15385. _0_12 = _0_14;
  15386. _0_14_isSet = false;
  15387. _0_16_isSet = false;
  15388. t1 = true;
  15389. }
  15390. if (t1) {
  15391. if (_0_2_isSet)
  15392. t1 = _0_20;
  15393. else {
  15394. t1 = _0_2;
  15395. _0_20 = t1;
  15396. _0_2_isSet = true;
  15397. }
  15398. if (t1 instanceof A.SassNumber) {
  15399. if (_0_2_isSet)
  15400. t1 = _0_20;
  15401. else {
  15402. t1 = _0_2;
  15403. _0_20 = t1;
  15404. _0_2_isSet = true;
  15405. }
  15406. t2 = type$.SassNumber;
  15407. t2._as(t1);
  15408. if (_0_5_isSet)
  15409. t3 = _0_50;
  15410. else {
  15411. t3 = _0_5;
  15412. _0_50 = t3;
  15413. _0_5_isSet = true;
  15414. }
  15415. if (t3 instanceof A.SassNumber) {
  15416. if (_0_5_isSet)
  15417. t3 = _0_50;
  15418. else {
  15419. t3 = _0_5;
  15420. _0_50 = t3;
  15421. _0_5_isSet = true;
  15422. }
  15423. t2._as(t3);
  15424. t2 = !t1.hasCompatibleUnits$1(t3);
  15425. step = t3;
  15426. } else {
  15427. step = _null;
  15428. t2 = false;
  15429. }
  15430. number = t1;
  15431. t1 = t2;
  15432. } else {
  15433. step = _null;
  15434. number = step;
  15435. t1 = false;
  15436. }
  15437. strategy = _0_1;
  15438. } else {
  15439. step = _null;
  15440. number = step;
  15441. strategy = number;
  15442. t1 = false;
  15443. }
  15444. } else {
  15445. step = _null;
  15446. number = step;
  15447. strategy = number;
  15448. _0_16 = strategy;
  15449. _0_14 = _0_16;
  15450. _0_12 = _0_14;
  15451. _0_8 = _0_12;
  15452. _0_10 = _0_8;
  15453. _0_12_isSet = false;
  15454. _0_14_isSet = false;
  15455. _0_16_isSet = false;
  15456. t1 = false;
  15457. }
  15458. if (t1) {
  15459. t1 = type$.JSArray_Object;
  15460. A.SassCalculation__verifyCompatibleNumbers(A._setArrayType([number, step], t1));
  15461. return new A.SassCalculation(_s5_, A._setArrayType([strategy, number, step], t1));
  15462. }
  15463. if (_0_1 instanceof A.SassString) {
  15464. if (_0_10_isSet) {
  15465. t1 = _0_10;
  15466. _0_8_isSet = _0_10_isSet;
  15467. } else {
  15468. _0_8 = _0_1._string$_text;
  15469. t1 = _0_8;
  15470. _0_10 = "nearest" === t1;
  15471. t1 = _0_10;
  15472. _0_10_isSet = true;
  15473. _0_8_isSet = true;
  15474. }
  15475. if (!t1) {
  15476. if (_0_12_isSet)
  15477. t1 = _0_12;
  15478. else {
  15479. if (_0_8_isSet)
  15480. t1 = _0_8;
  15481. else {
  15482. _0_8 = _0_1._string$_text;
  15483. t1 = _0_8;
  15484. _0_8_isSet = true;
  15485. }
  15486. _0_12 = "up" === t1;
  15487. t1 = _0_12;
  15488. _0_12_isSet = true;
  15489. }
  15490. if (!t1) {
  15491. if (_0_14_isSet)
  15492. t1 = _0_14;
  15493. else {
  15494. if (_0_8_isSet)
  15495. t1 = _0_8;
  15496. else {
  15497. _0_8 = _0_1._string$_text;
  15498. t1 = _0_8;
  15499. _0_8_isSet = true;
  15500. }
  15501. _0_14 = "down" === t1;
  15502. t1 = _0_14;
  15503. _0_14_isSet = true;
  15504. }
  15505. if (!t1)
  15506. if (_0_16_isSet)
  15507. t1 = _0_16;
  15508. else {
  15509. if (_0_8_isSet)
  15510. t1 = _0_8;
  15511. else {
  15512. _0_8 = _0_1._string$_text;
  15513. t1 = _0_8;
  15514. _0_8_isSet = true;
  15515. }
  15516. _0_16 = "to-zero" === t1;
  15517. t1 = _0_16;
  15518. _0_16_isSet = true;
  15519. }
  15520. else
  15521. t1 = true;
  15522. } else
  15523. t1 = true;
  15524. } else
  15525. t1 = true;
  15526. if (t1) {
  15527. if (_0_2_isSet)
  15528. t1 = _0_20;
  15529. else {
  15530. t1 = _0_2;
  15531. _0_20 = t1;
  15532. _0_2_isSet = true;
  15533. }
  15534. if (t1 instanceof A.SassNumber) {
  15535. if (_0_2_isSet)
  15536. t1 = _0_20;
  15537. else {
  15538. t1 = _0_2;
  15539. _0_20 = t1;
  15540. _0_2_isSet = true;
  15541. }
  15542. t2 = type$.SassNumber;
  15543. t2._as(t1);
  15544. if (_0_5_isSet)
  15545. t3 = _0_50;
  15546. else {
  15547. t3 = _0_5;
  15548. _0_50 = t3;
  15549. _0_5_isSet = true;
  15550. }
  15551. t3 = t3 instanceof A.SassNumber;
  15552. if (t3) {
  15553. if (_0_5_isSet)
  15554. t4 = _0_50;
  15555. else {
  15556. t4 = _0_5;
  15557. _0_50 = t4;
  15558. _0_5_isSet = true;
  15559. }
  15560. t2._as(t4);
  15561. step = t4;
  15562. } else
  15563. step = _null;
  15564. t2 = t3;
  15565. number = t1;
  15566. t1 = t2;
  15567. } else {
  15568. step = _null;
  15569. number = step;
  15570. t1 = false;
  15571. }
  15572. strategy = _0_1;
  15573. } else {
  15574. step = _null;
  15575. number = step;
  15576. strategy = number;
  15577. t1 = false;
  15578. }
  15579. } else {
  15580. step = _null;
  15581. number = step;
  15582. strategy = number;
  15583. _0_8_isSet = _0_10_isSet;
  15584. t1 = false;
  15585. }
  15586. if (t1) {
  15587. A.SassCalculation__verifyCompatibleNumbers(A._setArrayType([number, step], type$.JSArray_Object));
  15588. return A.SassCalculation__roundWithStep(strategy._string$_text, number, step);
  15589. }
  15590. if (_0_1 instanceof A.SassString) {
  15591. if (_0_10_isSet)
  15592. t1 = _0_10;
  15593. else {
  15594. if (_0_8_isSet)
  15595. t1 = _0_8;
  15596. else {
  15597. _0_8 = _0_1._string$_text;
  15598. t1 = _0_8;
  15599. _0_8_isSet = true;
  15600. }
  15601. _0_10 = "nearest" === t1;
  15602. t1 = _0_10;
  15603. _0_10_isSet = true;
  15604. }
  15605. if (!t1) {
  15606. if (_0_12_isSet)
  15607. t1 = _0_12;
  15608. else {
  15609. if (_0_8_isSet)
  15610. t1 = _0_8;
  15611. else {
  15612. _0_8 = _0_1._string$_text;
  15613. t1 = _0_8;
  15614. _0_8_isSet = true;
  15615. }
  15616. _0_12 = "up" === t1;
  15617. t1 = _0_12;
  15618. _0_12_isSet = true;
  15619. }
  15620. if (!t1) {
  15621. if (_0_14_isSet)
  15622. t1 = _0_14;
  15623. else {
  15624. if (_0_8_isSet)
  15625. t1 = _0_8;
  15626. else {
  15627. _0_8 = _0_1._string$_text;
  15628. t1 = _0_8;
  15629. _0_8_isSet = true;
  15630. }
  15631. _0_14 = "down" === t1;
  15632. t1 = _0_14;
  15633. _0_14_isSet = true;
  15634. }
  15635. if (!t1)
  15636. if (_0_16_isSet)
  15637. t1 = _0_16;
  15638. else {
  15639. if (_0_8_isSet)
  15640. t1 = _0_8;
  15641. else {
  15642. _0_8 = _0_1._string$_text;
  15643. t1 = _0_8;
  15644. _0_8_isSet = true;
  15645. }
  15646. _0_16 = "to-zero" === t1;
  15647. t1 = _0_16;
  15648. _0_16_isSet = true;
  15649. }
  15650. else
  15651. t1 = true;
  15652. } else
  15653. t1 = true;
  15654. } else
  15655. t1 = true;
  15656. if (t1) {
  15657. if (_0_2_isSet)
  15658. t1 = _0_20;
  15659. else {
  15660. t1 = _0_2;
  15661. _0_20 = t1;
  15662. _0_2_isSet = true;
  15663. }
  15664. if (t1 instanceof A.SassString) {
  15665. if (_0_2_isSet)
  15666. t1 = _0_20;
  15667. else {
  15668. t1 = _0_2;
  15669. _0_20 = t1;
  15670. _0_2_isSet = true;
  15671. }
  15672. type$.SassString._as(t1);
  15673. if (_0_6_isSet)
  15674. t2 = _0_6;
  15675. else {
  15676. if (_0_5_isSet)
  15677. t2 = _0_50;
  15678. else {
  15679. t2 = _0_5;
  15680. _0_50 = t2;
  15681. _0_5_isSet = true;
  15682. }
  15683. _0_6 = t2 == null;
  15684. t2 = _0_6;
  15685. _0_6_isSet = true;
  15686. }
  15687. rest = t1;
  15688. t1 = t2;
  15689. } else {
  15690. rest = _null;
  15691. t1 = false;
  15692. }
  15693. strategy = _0_1;
  15694. } else {
  15695. rest = _null;
  15696. strategy = rest;
  15697. t1 = false;
  15698. }
  15699. } else {
  15700. rest = _null;
  15701. strategy = rest;
  15702. t1 = false;
  15703. }
  15704. if (t1)
  15705. return new A.SassCalculation(_s5_, A._setArrayType([strategy, rest], type$.JSArray_Object));
  15706. if (_0_1 instanceof A.SassString) {
  15707. if (_0_10_isSet)
  15708. t1 = _0_10;
  15709. else {
  15710. if (_0_8_isSet)
  15711. t1 = _0_8;
  15712. else {
  15713. _0_8 = _0_1._string$_text;
  15714. t1 = _0_8;
  15715. _0_8_isSet = true;
  15716. }
  15717. _0_10 = "nearest" === t1;
  15718. t1 = _0_10;
  15719. _0_10_isSet = true;
  15720. }
  15721. if (!t1) {
  15722. if (_0_12_isSet)
  15723. t1 = _0_12;
  15724. else {
  15725. if (_0_8_isSet)
  15726. t1 = _0_8;
  15727. else {
  15728. _0_8 = _0_1._string$_text;
  15729. t1 = _0_8;
  15730. _0_8_isSet = true;
  15731. }
  15732. _0_12 = "up" === t1;
  15733. t1 = _0_12;
  15734. _0_12_isSet = true;
  15735. }
  15736. if (!t1) {
  15737. if (_0_14_isSet)
  15738. t1 = _0_14;
  15739. else {
  15740. if (_0_8_isSet)
  15741. t1 = _0_8;
  15742. else {
  15743. _0_8 = _0_1._string$_text;
  15744. t1 = _0_8;
  15745. _0_8_isSet = true;
  15746. }
  15747. _0_14 = "down" === t1;
  15748. t1 = _0_14;
  15749. _0_14_isSet = true;
  15750. }
  15751. if (!t1)
  15752. if (_0_16_isSet)
  15753. t1 = _0_16;
  15754. else {
  15755. if (_0_8_isSet)
  15756. t1 = _0_8;
  15757. else {
  15758. _0_8 = _0_1._string$_text;
  15759. t1 = _0_8;
  15760. _0_8_isSet = true;
  15761. }
  15762. _0_16 = "to-zero" === t1;
  15763. t1 = _0_16;
  15764. _0_16_isSet = true;
  15765. }
  15766. else
  15767. t1 = true;
  15768. } else
  15769. t1 = true;
  15770. } else
  15771. t1 = true;
  15772. if (t1) {
  15773. if (_0_2_isSet)
  15774. t1 = _0_20;
  15775. else {
  15776. t1 = _0_2;
  15777. _0_20 = t1;
  15778. _0_2_isSet = true;
  15779. }
  15780. if (t1 != null)
  15781. if (_0_6_isSet)
  15782. t1 = _0_6;
  15783. else {
  15784. if (_0_5_isSet)
  15785. t1 = _0_50;
  15786. else {
  15787. t1 = _0_5;
  15788. _0_50 = t1;
  15789. _0_5_isSet = true;
  15790. }
  15791. _0_6 = t1 == null;
  15792. t1 = _0_6;
  15793. _0_6_isSet = true;
  15794. }
  15795. else
  15796. t1 = false;
  15797. } else
  15798. t1 = false;
  15799. } else
  15800. t1 = false;
  15801. if (t1)
  15802. throw A.wrapException(A.SassScriptException$(string$.If_str, _null));
  15803. if (_0_1 instanceof A.SassString) {
  15804. if (_0_10_isSet)
  15805. t1 = _0_10;
  15806. else {
  15807. if (_0_8_isSet)
  15808. t1 = _0_8;
  15809. else {
  15810. _0_8 = _0_1._string$_text;
  15811. t1 = _0_8;
  15812. _0_8_isSet = true;
  15813. }
  15814. _0_10 = "nearest" === t1;
  15815. t1 = _0_10;
  15816. _0_10_isSet = true;
  15817. }
  15818. if (!t1) {
  15819. if (_0_12_isSet)
  15820. t1 = _0_12;
  15821. else {
  15822. if (_0_8_isSet)
  15823. t1 = _0_8;
  15824. else {
  15825. _0_8 = _0_1._string$_text;
  15826. t1 = _0_8;
  15827. _0_8_isSet = true;
  15828. }
  15829. _0_12 = "up" === t1;
  15830. t1 = _0_12;
  15831. _0_12_isSet = true;
  15832. }
  15833. if (!t1) {
  15834. if (_0_14_isSet)
  15835. t1 = _0_14;
  15836. else {
  15837. if (_0_8_isSet)
  15838. t1 = _0_8;
  15839. else {
  15840. _0_8 = _0_1._string$_text;
  15841. t1 = _0_8;
  15842. _0_8_isSet = true;
  15843. }
  15844. _0_14 = "down" === t1;
  15845. t1 = _0_14;
  15846. _0_14_isSet = true;
  15847. }
  15848. if (!t1)
  15849. if (_0_16_isSet)
  15850. t1 = _0_16;
  15851. else {
  15852. if (_0_8_isSet)
  15853. t1 = _0_8;
  15854. else {
  15855. _0_8 = _0_1._string$_text;
  15856. t1 = _0_8;
  15857. _0_8_isSet = true;
  15858. }
  15859. _0_16 = "to-zero" === t1;
  15860. t1 = _0_16;
  15861. _0_16_isSet = true;
  15862. }
  15863. else
  15864. t1 = true;
  15865. } else
  15866. t1 = true;
  15867. } else
  15868. t1 = true;
  15869. if (t1) {
  15870. if (_0_4_isSet)
  15871. t1 = _0_4;
  15872. else {
  15873. if (_0_2_isSet)
  15874. t1 = _0_20;
  15875. else {
  15876. t1 = _0_2;
  15877. _0_20 = t1;
  15878. _0_2_isSet = true;
  15879. }
  15880. _0_4 = t1 == null;
  15881. t1 = _0_4;
  15882. _0_4_isSet = true;
  15883. }
  15884. if (t1)
  15885. if (_0_6_isSet)
  15886. t1 = _0_6;
  15887. else {
  15888. if (_0_5_isSet)
  15889. t1 = _0_50;
  15890. else {
  15891. t1 = _0_5;
  15892. _0_50 = t1;
  15893. _0_5_isSet = true;
  15894. }
  15895. _0_6 = t1 == null;
  15896. t1 = _0_6;
  15897. _0_6_isSet = true;
  15898. }
  15899. else
  15900. t1 = false;
  15901. } else
  15902. t1 = false;
  15903. } else
  15904. t1 = false;
  15905. if (t1)
  15906. throw A.wrapException(A.SassScriptException$(string$.Number, _null));
  15907. if (_0_1 instanceof A.SassString) {
  15908. if (_0_4_isSet)
  15909. t1 = _0_4;
  15910. else {
  15911. if (_0_2_isSet)
  15912. t1 = _0_20;
  15913. else {
  15914. t1 = _0_2;
  15915. _0_20 = t1;
  15916. _0_2_isSet = true;
  15917. }
  15918. _0_4 = t1 == null;
  15919. t1 = _0_4;
  15920. _0_4_isSet = true;
  15921. }
  15922. if (t1)
  15923. if (_0_6_isSet)
  15924. t1 = _0_6;
  15925. else {
  15926. if (_0_5_isSet)
  15927. t1 = _0_50;
  15928. else {
  15929. t1 = _0_5;
  15930. _0_50 = t1;
  15931. _0_5_isSet = true;
  15932. }
  15933. _0_6 = t1 == null;
  15934. t1 = _0_6;
  15935. _0_6_isSet = true;
  15936. }
  15937. else
  15938. t1 = false;
  15939. rest = _0_1;
  15940. } else {
  15941. rest = _null;
  15942. t1 = false;
  15943. }
  15944. if (t1)
  15945. return new A.SassCalculation(_s5_, A._setArrayType([rest], type$.JSArray_Object));
  15946. if (_0_4_isSet)
  15947. t1 = _0_4;
  15948. else {
  15949. if (_0_2_isSet)
  15950. t1 = _0_20;
  15951. else {
  15952. t1 = _0_2;
  15953. _0_20 = t1;
  15954. _0_2_isSet = true;
  15955. }
  15956. _0_4 = t1 == null;
  15957. t1 = _0_4;
  15958. }
  15959. if (t1)
  15960. if (_0_6_isSet)
  15961. t1 = _0_6;
  15962. else {
  15963. if (_0_5_isSet)
  15964. t1 = _0_50;
  15965. else {
  15966. t1 = _0_5;
  15967. _0_50 = t1;
  15968. _0_5_isSet = true;
  15969. }
  15970. _0_6 = t1 == null;
  15971. t1 = _0_6;
  15972. _0_6_isSet = true;
  15973. }
  15974. else
  15975. t1 = false;
  15976. if (t1)
  15977. throw A.wrapException(A.SassScriptException$("Single argument " + A.S(_0_1) + " expected to be simplifiable.", _null));
  15978. if (_0_2_isSet)
  15979. t1 = _0_20;
  15980. else {
  15981. t1 = _0_2;
  15982. _0_20 = t1;
  15983. _0_2_isSet = true;
  15984. }
  15985. if (t1 != null) {
  15986. if (_0_2_isSet)
  15987. step = _0_20;
  15988. else {
  15989. step = _0_2;
  15990. _0_20 = step;
  15991. _0_2_isSet = true;
  15992. }
  15993. if (step == null)
  15994. step = type$.Object._as(step);
  15995. if (_0_6_isSet)
  15996. t1 = _0_6;
  15997. else {
  15998. if (_0_5_isSet)
  15999. t1 = _0_50;
  16000. else {
  16001. t1 = _0_5;
  16002. _0_50 = t1;
  16003. _0_5_isSet = true;
  16004. }
  16005. _0_6 = t1 == null;
  16006. t1 = _0_6;
  16007. }
  16008. } else {
  16009. step = _null;
  16010. t1 = false;
  16011. }
  16012. if (t1)
  16013. return new A.SassCalculation(_s5_, A._setArrayType([_0_1, step], type$.JSArray_Object));
  16014. if (_0_1 instanceof A.SassString) {
  16015. if (_0_10_isSet)
  16016. t1 = _0_10;
  16017. else {
  16018. if (_0_8_isSet)
  16019. t1 = _0_8;
  16020. else {
  16021. _0_8 = _0_1._string$_text;
  16022. t1 = _0_8;
  16023. _0_8_isSet = true;
  16024. }
  16025. _0_10 = "nearest" === t1;
  16026. t1 = _0_10;
  16027. }
  16028. if (!t1) {
  16029. if (_0_12_isSet)
  16030. t1 = _0_12;
  16031. else {
  16032. if (_0_8_isSet)
  16033. t1 = _0_8;
  16034. else {
  16035. _0_8 = _0_1._string$_text;
  16036. t1 = _0_8;
  16037. _0_8_isSet = true;
  16038. }
  16039. _0_12 = "up" === t1;
  16040. t1 = _0_12;
  16041. }
  16042. if (!t1) {
  16043. if (_0_14_isSet)
  16044. t1 = _0_14;
  16045. else {
  16046. if (_0_8_isSet)
  16047. t1 = _0_8;
  16048. else {
  16049. _0_8 = _0_1._string$_text;
  16050. t1 = _0_8;
  16051. _0_8_isSet = true;
  16052. }
  16053. _0_14 = "down" === t1;
  16054. t1 = _0_14;
  16055. }
  16056. if (!t1)
  16057. if (_0_16_isSet)
  16058. t1 = _0_16;
  16059. else {
  16060. if (_0_8_isSet)
  16061. t1 = _0_8;
  16062. else {
  16063. _0_8 = _0_1._string$_text;
  16064. t1 = _0_8;
  16065. }
  16066. _0_16 = "to-zero" === t1;
  16067. t1 = _0_16;
  16068. }
  16069. else
  16070. t1 = true;
  16071. } else
  16072. t1 = true;
  16073. } else
  16074. t1 = true;
  16075. } else
  16076. t1 = false;
  16077. if (!t1)
  16078. if (_0_1 instanceof A.SassString)
  16079. t1 = _0_1.get$isVar();
  16080. else
  16081. t1 = false;
  16082. else
  16083. t1 = true;
  16084. if (t1) {
  16085. type$.SassString._as(_0_1);
  16086. if (_0_2_isSet)
  16087. t1 = _0_20;
  16088. else {
  16089. t1 = _0_2;
  16090. _0_20 = t1;
  16091. _0_2_isSet = true;
  16092. }
  16093. if (t1 != null) {
  16094. if (_0_2_isSet)
  16095. number = _0_20;
  16096. else {
  16097. number = _0_2;
  16098. _0_20 = number;
  16099. _0_2_isSet = true;
  16100. }
  16101. if (number == null)
  16102. number = type$.Object._as(number);
  16103. if (_0_5_isSet)
  16104. t1 = _0_50;
  16105. else {
  16106. t1 = _0_5;
  16107. _0_50 = t1;
  16108. _0_5_isSet = true;
  16109. }
  16110. t1 = t1 != null;
  16111. if (t1) {
  16112. if (_0_5_isSet)
  16113. step = _0_50;
  16114. else {
  16115. step = _0_5;
  16116. _0_50 = step;
  16117. _0_5_isSet = true;
  16118. }
  16119. if (step == null)
  16120. step = type$.Object._as(step);
  16121. } else
  16122. step = _null;
  16123. } else {
  16124. step = _null;
  16125. number = step;
  16126. t1 = false;
  16127. }
  16128. strategy = _0_1;
  16129. } else {
  16130. step = _null;
  16131. number = step;
  16132. strategy = number;
  16133. t1 = false;
  16134. }
  16135. if (t1)
  16136. return new A.SassCalculation(_s5_, A._setArrayType([strategy, number, step], type$.JSArray_Object));
  16137. if ((_0_2_isSet ? _0_20 : _0_2) != null)
  16138. t1 = (_0_5_isSet ? _0_50 : _0_5) != null;
  16139. else
  16140. t1 = false;
  16141. if (t1)
  16142. throw A.wrapException(A.SassScriptException$(A.S(strategyOrNumber) + string$.x20must_b, _null));
  16143. t1 = A.SassScriptException$("Invalid parameters.", _null);
  16144. throw A.wrapException(t1);
  16145. },
  16146. SassCalculation_operateInternal(operator, left, right, inLegacySassFunction, simplify) {
  16147. var t1;
  16148. if (!simplify)
  16149. return new A.CalculationOperation(operator, left, right);
  16150. left = A.SassCalculation__simplify(left);
  16151. right = A.SassCalculation__simplify(right);
  16152. if (B.CalculationOperator_g2q === operator || B.CalculationOperator_CxF === operator) {
  16153. if (left instanceof A.SassNumber)
  16154. if (right instanceof A.SassNumber)
  16155. t1 = inLegacySassFunction ? left.isComparableTo$1(right) : left.hasCompatibleUnits$1(right);
  16156. else
  16157. t1 = false;
  16158. else
  16159. t1 = false;
  16160. if (t1)
  16161. return operator === B.CalculationOperator_g2q ? left.plus$1(right) : left.minus$1(right);
  16162. A.SassCalculation__verifyCompatibleNumbers(A._setArrayType([left, right], type$.JSArray_Object));
  16163. if (right instanceof A.SassNumber) {
  16164. t1 = right._number$_value;
  16165. t1 = t1 < 0 && !A.fuzzyEquals(t1, 0);
  16166. } else
  16167. t1 = false;
  16168. if (t1) {
  16169. right = right.times$1(A.SassNumber_SassNumber(-1, null));
  16170. operator = operator === B.CalculationOperator_g2q ? B.CalculationOperator_CxF : B.CalculationOperator_g2q;
  16171. }
  16172. return new A.CalculationOperation(operator, left, right);
  16173. } else if (left instanceof A.SassNumber && right instanceof A.SassNumber)
  16174. return operator === B.CalculationOperator_171 ? left.times$1(right) : left.dividedBy$1(right);
  16175. else
  16176. return new A.CalculationOperation(operator, left, right);
  16177. },
  16178. SassCalculation__roundWithStep(strategy, number, step) {
  16179. var _0_2, t1, _0_6, _0_8_isSet, _0_8, _0_9_isSet, _0_9, _0_11, _0_13, stepWithNumberUnit, t2, _null = null;
  16180. if (!A.LinkedHashSet_LinkedHashSet$_literal(["nearest", "up", "down", "to-zero"], type$.String).contains$1(0, strategy))
  16181. throw A.wrapException(A.ArgumentError$(strategy + string$.x20must_b, _null));
  16182. _0_2 = number._number$_value;
  16183. if (_0_2 == 1 / 0 || _0_2 == -1 / 0) {
  16184. t1 = step._number$_value;
  16185. t1 = t1 == 1 / 0 || t1 == -1 / 0;
  16186. } else
  16187. t1 = false;
  16188. if (!t1) {
  16189. t1 = step._number$_value;
  16190. t1 = t1 === 0 || isNaN(_0_2) || isNaN(t1);
  16191. } else
  16192. t1 = true;
  16193. if (t1) {
  16194. t1 = number.get$numeratorUnits(number);
  16195. return A.SassNumber_SassNumber$withUnits(0 / 0, number.get$denominatorUnits(number), t1);
  16196. }
  16197. if (_0_2 == 1 / 0 || _0_2 == -1 / 0)
  16198. return number;
  16199. t1 = step._number$_value;
  16200. if (t1 == 1 / 0 || t1 == -1 / 0) {
  16201. $label0$0: {
  16202. if (0 === _0_2) {
  16203. t1 = number;
  16204. break $label0$0;
  16205. }
  16206. _0_6 = "nearest" === strategy;
  16207. t1 = _0_6;
  16208. _0_8_isSet = !t1;
  16209. if (_0_8_isSet) {
  16210. _0_8 = "to-zero" === strategy;
  16211. _0_9_isSet = _0_8;
  16212. } else {
  16213. _0_8 = _null;
  16214. _0_9_isSet = true;
  16215. }
  16216. if (_0_9_isSet) {
  16217. _0_9 = _0_2 > 0;
  16218. t1 = _0_9;
  16219. } else {
  16220. _0_9 = _null;
  16221. t1 = false;
  16222. }
  16223. if (t1) {
  16224. t1 = number.get$numeratorUnits(number);
  16225. t1 = A.SassNumber_SassNumber$withUnits(0, number.get$denominatorUnits(number), t1);
  16226. break $label0$0;
  16227. }
  16228. if (!_0_6)
  16229. if (_0_8_isSet)
  16230. t1 = _0_8;
  16231. else {
  16232. _0_8 = "to-zero" === strategy;
  16233. t1 = _0_8;
  16234. }
  16235. else
  16236. t1 = true;
  16237. if (t1) {
  16238. t1 = number.get$numeratorUnits(number);
  16239. t1 = A.SassNumber_SassNumber$withUnits(-0.0, number.get$denominatorUnits(number), t1);
  16240. break $label0$0;
  16241. }
  16242. _0_11 = "up" === strategy;
  16243. t1 = _0_11;
  16244. if (t1)
  16245. if (_0_9_isSet)
  16246. t1 = _0_9;
  16247. else {
  16248. _0_9 = _0_2 > 0;
  16249. t1 = _0_9;
  16250. }
  16251. else
  16252. t1 = false;
  16253. if (t1) {
  16254. t1 = number.get$numeratorUnits(number);
  16255. t1 = A.SassNumber_SassNumber$withUnits(1 / 0, number.get$denominatorUnits(number), t1);
  16256. break $label0$0;
  16257. }
  16258. if (_0_11) {
  16259. t1 = number.get$numeratorUnits(number);
  16260. t1 = A.SassNumber_SassNumber$withUnits(-0.0, number.get$denominatorUnits(number), t1);
  16261. break $label0$0;
  16262. }
  16263. _0_13 = "down" === strategy;
  16264. t1 = _0_13;
  16265. if (t1)
  16266. t1 = _0_2 < 0;
  16267. else
  16268. t1 = false;
  16269. if (t1) {
  16270. t1 = number.get$numeratorUnits(number);
  16271. t1 = A.SassNumber_SassNumber$withUnits(-1 / 0, number.get$denominatorUnits(number), t1);
  16272. break $label0$0;
  16273. }
  16274. if (_0_13) {
  16275. t1 = number.get$numeratorUnits(number);
  16276. t1 = A.SassNumber_SassNumber$withUnits(0, number.get$denominatorUnits(number), t1);
  16277. break $label0$0;
  16278. }
  16279. t1 = A.throwExpression(A.UnsupportedError$("Invalid argument: " + strategy + "."));
  16280. }
  16281. return t1;
  16282. }
  16283. stepWithNumberUnit = step.convertValueToMatch$1(number);
  16284. $label1$1: {
  16285. if ("nearest" === strategy) {
  16286. t1 = B.JSNumber_methods.round$0(_0_2 / stepWithNumberUnit);
  16287. t2 = number.get$numeratorUnits(number);
  16288. t2 = A.SassNumber_SassNumber$withUnits(t1 * stepWithNumberUnit, number.get$denominatorUnits(number), t2);
  16289. t1 = t2;
  16290. break $label1$1;
  16291. }
  16292. if ("up" === strategy) {
  16293. t2 = _0_2 / stepWithNumberUnit;
  16294. t1 = t1 < 0 ? B.JSNumber_methods.floor$0(t2) : B.JSNumber_methods.ceil$0(t2);
  16295. t2 = number.get$numeratorUnits(number);
  16296. t2 = A.SassNumber_SassNumber$withUnits(t1 * stepWithNumberUnit, number.get$denominatorUnits(number), t2);
  16297. t1 = t2;
  16298. break $label1$1;
  16299. }
  16300. if ("down" === strategy) {
  16301. t2 = _0_2 / stepWithNumberUnit;
  16302. t1 = t1 < 0 ? B.JSNumber_methods.ceil$0(t2) : B.JSNumber_methods.floor$0(t2);
  16303. t2 = number.get$numeratorUnits(number);
  16304. t2 = A.SassNumber_SassNumber$withUnits(t1 * stepWithNumberUnit, number.get$denominatorUnits(number), t2);
  16305. t1 = t2;
  16306. break $label1$1;
  16307. }
  16308. if ("to-zero" === strategy) {
  16309. t1 = _0_2 / stepWithNumberUnit;
  16310. if (_0_2 < 0) {
  16311. t1 = B.JSNumber_methods.ceil$0(t1);
  16312. t2 = number.get$numeratorUnits(number);
  16313. t2 = A.SassNumber_SassNumber$withUnits(t1 * stepWithNumberUnit, number.get$denominatorUnits(number), t2);
  16314. t1 = t2;
  16315. } else {
  16316. t1 = B.JSNumber_methods.floor$0(t1);
  16317. t2 = number.get$numeratorUnits(number);
  16318. t2 = A.SassNumber_SassNumber$withUnits(t1 * stepWithNumberUnit, number.get$denominatorUnits(number), t2);
  16319. t1 = t2;
  16320. }
  16321. break $label1$1;
  16322. }
  16323. t1 = number.get$numeratorUnits(number);
  16324. t1 = A.SassNumber_SassNumber$withUnits(0 / 0, number.get$denominatorUnits(number), t1);
  16325. break $label1$1;
  16326. }
  16327. return t1;
  16328. },
  16329. SassCalculation__simplify(arg) {
  16330. var t1, _0_11_isSet, _0_11, _0_12, _0_15, _0_16_isSet, _0_16, text, _0_12_isSet, _0_15_isSet, value, _null = null,
  16331. _s32_ = " can't be used in a calculation.";
  16332. $label0$0: {
  16333. if (arg instanceof A.SassNumber || arg instanceof A.CalculationOperation) {
  16334. t1 = arg;
  16335. break $label0$0;
  16336. }
  16337. t1 = arg instanceof A.SassString;
  16338. if (t1 && !arg._hasQuotes) {
  16339. t1 = arg;
  16340. break $label0$0;
  16341. }
  16342. if (t1)
  16343. A.throwExpression(A.SassScriptException$("Quoted string " + arg.toString$0(0) + _s32_, _null));
  16344. _0_11_isSet = arg instanceof A.SassCalculation;
  16345. if (_0_11_isSet) {
  16346. _0_11 = "calc" === arg.name;
  16347. if (_0_11) {
  16348. _0_12 = arg.$arguments;
  16349. _0_15 = _0_12.length === 1;
  16350. _0_16_isSet = _0_15;
  16351. if (_0_16_isSet) {
  16352. _0_16 = _0_12[0];
  16353. t1 = _0_16;
  16354. if (t1 instanceof A.SassString) {
  16355. type$.SassString._as(_0_16);
  16356. if (!_0_16._hasQuotes) {
  16357. text = _0_16._string$_text;
  16358. t1 = A.SassCalculation__needsParentheses(text);
  16359. } else {
  16360. text = _null;
  16361. t1 = false;
  16362. }
  16363. } else {
  16364. text = _null;
  16365. t1 = false;
  16366. }
  16367. } else {
  16368. text = _null;
  16369. _0_16 = text;
  16370. t1 = false;
  16371. }
  16372. } else {
  16373. text = _null;
  16374. _0_16 = text;
  16375. _0_12 = _0_16;
  16376. _0_15 = _0_12;
  16377. _0_16_isSet = false;
  16378. t1 = false;
  16379. }
  16380. _0_12_isSet = _0_11;
  16381. _0_15_isSet = _0_12_isSet;
  16382. } else {
  16383. text = _null;
  16384. _0_16 = text;
  16385. _0_12 = _0_16;
  16386. _0_15 = _0_12;
  16387. _0_11 = _0_15;
  16388. _0_15_isSet = false;
  16389. _0_12_isSet = false;
  16390. _0_16_isSet = false;
  16391. t1 = false;
  16392. }
  16393. if (t1) {
  16394. t1 = new A.SassString("(" + A.S(text) + ")", false);
  16395. break $label0$0;
  16396. }
  16397. if (_0_11_isSet)
  16398. if (_0_11)
  16399. if (_0_15_isSet)
  16400. t1 = _0_15;
  16401. else {
  16402. if (_0_12_isSet)
  16403. t1 = _0_12;
  16404. else {
  16405. _0_12 = arg.$arguments;
  16406. t1 = _0_12;
  16407. _0_12_isSet = true;
  16408. }
  16409. _0_15 = t1.length === 1;
  16410. t1 = _0_15;
  16411. }
  16412. else
  16413. t1 = false;
  16414. else
  16415. t1 = false;
  16416. if (t1) {
  16417. if (_0_16_isSet)
  16418. value = _0_16;
  16419. else {
  16420. _0_16 = (_0_12_isSet ? _0_12 : arg.$arguments)[0];
  16421. value = _0_16;
  16422. }
  16423. t1 = value;
  16424. break $label0$0;
  16425. }
  16426. if (_0_11_isSet) {
  16427. t1 = arg;
  16428. break $label0$0;
  16429. }
  16430. if (arg instanceof A.Value)
  16431. A.throwExpression(A.SassScriptException$("Value " + arg.toString$0(0) + _s32_, _null));
  16432. t1 = A.throwExpression(A.ArgumentError$("Unexpected calculation argument " + A.S(arg) + ".", _null));
  16433. }
  16434. return t1;
  16435. },
  16436. SassCalculation__needsParentheses(text) {
  16437. var t1, couldBeVar, second, third, fourth, i, t2,
  16438. first = text.charCodeAt(0);
  16439. if (first === 32 || first === 9 || first === 10 || first === 13 || first === 12 || first === 47 || first === 42)
  16440. return true;
  16441. t1 = text.length;
  16442. couldBeVar = t1 >= 4 && A.characterEqualsIgnoreCase(first, 118);
  16443. if (t1 < 2)
  16444. return false;
  16445. second = text.charCodeAt(1);
  16446. if (second === 32 || second === 9 || second === 10 || second === 13 || second === 12 || second === 47 || second === 42)
  16447. return true;
  16448. couldBeVar = couldBeVar && A.characterEqualsIgnoreCase(second, 97);
  16449. if (t1 < 3)
  16450. return false;
  16451. third = text.charCodeAt(2);
  16452. if (third === 32 || third === 9 || third === 10 || third === 13 || third === 12 || third === 47 || third === 42)
  16453. return true;
  16454. couldBeVar = couldBeVar && A.characterEqualsIgnoreCase(third, 114);
  16455. if (t1 < 4)
  16456. return false;
  16457. fourth = text.charCodeAt(3);
  16458. if (couldBeVar && fourth === 40)
  16459. return true;
  16460. if (fourth === 32 || fourth === 9 || fourth === 10 || fourth === 13 || fourth === 12 || fourth === 47 || fourth === 42)
  16461. return true;
  16462. for (i = 4; i < t1; ++i) {
  16463. t2 = text.charCodeAt(i);
  16464. if (t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12 || t2 === 47 || t2 === 42)
  16465. return true;
  16466. }
  16467. return false;
  16468. },
  16469. SassCalculation__verifyCompatibleNumbers(args) {
  16470. var t1, _i, t2, arg, i, number1, j, number2;
  16471. for (t1 = args.length, _i = 0; t2 = args.length, _i < t2; args.length === t1 || (0, A.throwConcurrentModificationError)(args), ++_i) {
  16472. arg = args[_i];
  16473. if (arg instanceof A.SassNumber && arg.get$hasComplexUnits())
  16474. throw A.wrapException(A.SassScriptException$("Number " + A.S(arg) + " isn't compatible with CSS calculations.", null));
  16475. }
  16476. for (t1 = t2, i = 0; i < t1 - 1; ++i) {
  16477. number1 = args[i];
  16478. if (!(number1 instanceof A.SassNumber))
  16479. continue;
  16480. for (j = i + 1; t1 = args.length, j < t1; ++j) {
  16481. number2 = args[j];
  16482. if (!(number2 instanceof A.SassNumber))
  16483. continue;
  16484. if (number1.hasPossiblyCompatibleUnits$1(number2))
  16485. continue;
  16486. throw A.wrapException(A.SassScriptException$(number1.toString$0(0) + " and " + number2.toString$0(0) + " are incompatible.", null));
  16487. }
  16488. }
  16489. },
  16490. SassCalculation__verifyLength(args, expectedLength) {
  16491. var t1;
  16492. if (args.length === expectedLength)
  16493. return;
  16494. if (B.JSArray_methods.any$1(args, new A.SassCalculation__verifyLength_closure()))
  16495. return;
  16496. t1 = args.length;
  16497. throw A.wrapException(A.SassScriptException$("" + expectedLength + " arguments required, but only " + t1 + " " + A.pluralize("was", t1, "were") + " passed.", null));
  16498. },
  16499. SassCalculation__singleArgument($name, argument, mathFunc, forbidUnits) {
  16500. argument = A.SassCalculation__simplify(argument);
  16501. if (!(argument instanceof A.SassNumber))
  16502. return new A.SassCalculation($name, A._setArrayType([argument], type$.JSArray_Object));
  16503. if (forbidUnits)
  16504. argument.assertNoUnits$0();
  16505. return mathFunc.call$1(argument);
  16506. },
  16507. SassCalculation: function SassCalculation(t0, t1) {
  16508. this.name = t0;
  16509. this.$arguments = t1;
  16510. },
  16511. SassCalculation__verifyLength_closure: function SassCalculation__verifyLength_closure() {
  16512. },
  16513. CalculationOperation: function CalculationOperation(t0, t1, t2) {
  16514. this._operator = t0;
  16515. this._left = t1;
  16516. this._right = t2;
  16517. },
  16518. CalculationOperator: function CalculationOperator(t0, t1, t2, t3) {
  16519. var _ = this;
  16520. _.name = t0;
  16521. _.operator = t1;
  16522. _.precedence = t2;
  16523. _._name = t3;
  16524. },
  16525. SassColor$rgb(red, green, blue, alpha) {
  16526. var _null = null,
  16527. t1 = new A.SassColor(red, green, blue, _null, _null, _null, A.fuzzyAssertRange(A.SassColor__handleNullAlpha(alpha), 0, 1, "alpha"), _null);
  16528. A.RangeError_checkValueInInterval(t1.get$red(0), 0, 255, "red");
  16529. A.RangeError_checkValueInInterval(t1.get$green(0), 0, 255, "green");
  16530. A.RangeError_checkValueInInterval(t1.get$blue(0), 0, 255, "blue");
  16531. return t1;
  16532. },
  16533. SassColor$rgbInternal(_red, _green, _blue, alpha, format) {
  16534. var t1 = new A.SassColor(_red, _green, _blue, null, null, null, A.fuzzyAssertRange(alpha, 0, 1, "alpha"), format);
  16535. A.RangeError_checkValueInInterval(t1.get$red(0), 0, 255, "red");
  16536. A.RangeError_checkValueInInterval(t1.get$green(0), 0, 255, "green");
  16537. A.RangeError_checkValueInInterval(t1.get$blue(0), 0, 255, "blue");
  16538. return t1;
  16539. },
  16540. SassColor$hslInternal(hue, saturation, lightness, alpha, format) {
  16541. return new A.SassColor(null, null, null, B.JSNumber_methods.$mod(hue, 360), A.fuzzyAssertRange(saturation, 0, 100, "saturation"), A.fuzzyAssertRange(lightness, 0, 100, "lightness"), A.fuzzyAssertRange(alpha, 0, 1, "alpha"), format);
  16542. },
  16543. SassColor_SassColor$hwb(hue, whiteness, blackness, alpha) {
  16544. var t2, t1 = {},
  16545. scaledHue = B.JSNumber_methods.$mod(hue, 360) / 360,
  16546. scaledWhiteness = t1.scaledWhiteness = A.fuzzyAssertRange(whiteness, 0, 100, "whiteness") / 100,
  16547. scaledBlackness = A.fuzzyAssertRange(blackness, 0, 100, "blackness") / 100,
  16548. sum = scaledWhiteness + scaledBlackness;
  16549. if (sum > 1) {
  16550. t2 = t1.scaledWhiteness = scaledWhiteness / sum;
  16551. scaledBlackness /= sum;
  16552. } else
  16553. t2 = scaledWhiteness;
  16554. t2 = new A.SassColor_SassColor$hwb_toRgb(t1, 1 - t2 - scaledBlackness);
  16555. return A.SassColor$rgb(t2.call$1(scaledHue + 0.3333333333333333), t2.call$1(scaledHue), t2.call$1(scaledHue - 0.3333333333333333), alpha);
  16556. },
  16557. SassColor__handleNullAlpha(alpha) {
  16558. return alpha;
  16559. },
  16560. SassColor__hueToRgb(m1, m2, hue) {
  16561. var t1;
  16562. if (hue < 0)
  16563. ++hue;
  16564. if (hue > 1)
  16565. --hue;
  16566. $label0$0: {
  16567. if (hue < 0.16666666666666666) {
  16568. t1 = m1 + (m2 - m1) * hue * 6;
  16569. break $label0$0;
  16570. }
  16571. if (hue < 0.5) {
  16572. t1 = m2;
  16573. break $label0$0;
  16574. }
  16575. if (hue < 0.6666666666666666) {
  16576. t1 = m1 + (m2 - m1) * (0.6666666666666666 - hue) * 6;
  16577. break $label0$0;
  16578. }
  16579. t1 = m1;
  16580. break $label0$0;
  16581. }
  16582. return t1;
  16583. },
  16584. SassColor: function SassColor(t0, t1, t2, t3, t4, t5, t6, t7) {
  16585. var _ = this;
  16586. _._red = t0;
  16587. _._green = t1;
  16588. _._blue = t2;
  16589. _._hue = t3;
  16590. _._saturation = t4;
  16591. _._lightness = t5;
  16592. _._alpha = t6;
  16593. _.format = t7;
  16594. },
  16595. SassColor_SassColor$hwb_toRgb: function SassColor_SassColor$hwb_toRgb(t0, t1) {
  16596. this._box_0 = t0;
  16597. this.factor = t1;
  16598. },
  16599. _ColorFormatEnum: function _ColorFormatEnum(t0) {
  16600. this._color$_name = t0;
  16601. },
  16602. SpanColorFormat: function SpanColorFormat(t0) {
  16603. this._color$_span = t0;
  16604. },
  16605. SassFunction: function SassFunction(t0) {
  16606. this.callable = t0;
  16607. },
  16608. SassList$(contents, _separator, brackets) {
  16609. var t1 = new A.SassList(A.List_List$unmodifiable(contents, type$.Value), _separator, brackets);
  16610. t1.SassList$3$brackets(contents, _separator, brackets);
  16611. return t1;
  16612. },
  16613. SassList: function SassList(t0, t1, t2) {
  16614. this._list$_contents = t0;
  16615. this._separator = t1;
  16616. this._hasBrackets = t2;
  16617. },
  16618. SassList_isBlank_closure: function SassList_isBlank_closure() {
  16619. },
  16620. ListSeparator: function ListSeparator(t0, t1, t2) {
  16621. this._list$_name = t0;
  16622. this.separator = t1;
  16623. this._name = t2;
  16624. },
  16625. SassMap: function SassMap(t0) {
  16626. this._map$_contents = t0;
  16627. },
  16628. SassMixin: function SassMixin(t0) {
  16629. this.callable = t0;
  16630. },
  16631. _SassNull: function _SassNull() {
  16632. },
  16633. conversionFactor(unit1, unit2) {
  16634. var _0_0;
  16635. if (unit1 === unit2)
  16636. return 1;
  16637. _0_0 = B.Map_gQqJO.$index(0, unit1);
  16638. if (_0_0 != null)
  16639. return _0_0.$index(0, unit2);
  16640. return null;
  16641. },
  16642. SassNumber_SassNumber(value, unit) {
  16643. return unit == null ? new A.UnitlessSassNumber(value, null) : new A.SingleUnitSassNumber(unit, value, null);
  16644. },
  16645. SassNumber_SassNumber$withUnits(value, denominatorUnits, numeratorUnits) {
  16646. var _0_4, t1, _0_6, _0_8_isSet, _0_8, _0_10_isSet, _0_10, _0_7, t2, _0_4_isSet, unit, _0_7_isSet, numerators, t3, denominators, unsimplifiedDenominators, valueDouble, _i, denominator, simplifiedAway, i, factor, _1_2, _1_7_isSet, _1_7, _null = null,
  16647. _0_6_isSet = !false;
  16648. if (_0_6_isSet) {
  16649. _0_4 = (numeratorUnits === null ? type$.List_String._as(numeratorUnits) : numeratorUnits).length;
  16650. t1 = _0_4;
  16651. _0_6 = t1 <= 0;
  16652. _0_8_isSet = _0_6;
  16653. } else {
  16654. _0_4 = _null;
  16655. _0_6 = _0_4;
  16656. _0_8_isSet = true;
  16657. }
  16658. if (_0_8_isSet) {
  16659. _0_8 = denominatorUnits == null;
  16660. t1 = _0_8;
  16661. _0_10_isSet = !t1;
  16662. if (_0_10_isSet) {
  16663. _0_10 = (denominatorUnits == null ? type$.List_String._as(denominatorUnits) : denominatorUnits).length <= 0;
  16664. t1 = _0_10;
  16665. } else {
  16666. _0_10 = _null;
  16667. t1 = true;
  16668. }
  16669. _0_7 = denominatorUnits;
  16670. } else {
  16671. _0_10 = _null;
  16672. _0_7 = _0_10;
  16673. _0_8 = _0_7;
  16674. _0_10_isSet = false;
  16675. t1 = false;
  16676. }
  16677. if (t1)
  16678. return new A.UnitlessSassNumber(value, _null);
  16679. t1 = type$.List_String;
  16680. if (t1._is(numeratorUnits)) {
  16681. if (_0_6_isSet) {
  16682. t2 = _0_4;
  16683. _0_4_isSet = _0_6_isSet;
  16684. } else {
  16685. _0_4 = numeratorUnits.length;
  16686. t2 = _0_4;
  16687. _0_4_isSet = true;
  16688. }
  16689. if (t2 === 1) {
  16690. unit = numeratorUnits[0];
  16691. if (_0_8_isSet) {
  16692. t2 = _0_8;
  16693. _0_7_isSet = _0_8_isSet;
  16694. } else {
  16695. _0_8 = denominatorUnits == null;
  16696. t2 = _0_8;
  16697. _0_7 = denominatorUnits;
  16698. _0_8_isSet = true;
  16699. _0_7_isSet = true;
  16700. }
  16701. if (!t2)
  16702. if (_0_10_isSet)
  16703. t2 = _0_10;
  16704. else {
  16705. if (_0_7_isSet)
  16706. t2 = _0_7;
  16707. else {
  16708. t2 = denominatorUnits;
  16709. _0_7 = t2;
  16710. _0_7_isSet = true;
  16711. }
  16712. _0_10 = (t2 == null ? t1._as(t2) : t2).length <= 0;
  16713. t2 = _0_10;
  16714. _0_10_isSet = true;
  16715. }
  16716. else
  16717. t2 = true;
  16718. } else {
  16719. unit = _null;
  16720. _0_7_isSet = _0_8_isSet;
  16721. t2 = false;
  16722. }
  16723. } else {
  16724. unit = _null;
  16725. _0_7_isSet = _0_8_isSet;
  16726. _0_4_isSet = _0_6_isSet;
  16727. t2 = false;
  16728. }
  16729. if (t2)
  16730. return new A.SingleUnitSassNumber(unit, value, _null);
  16731. t2 = numeratorUnits === null;
  16732. if (!t2) {
  16733. numerators = numeratorUnits;
  16734. if (_0_8_isSet)
  16735. t3 = _0_8;
  16736. else {
  16737. if (_0_7_isSet)
  16738. t3 = _0_7;
  16739. else {
  16740. t3 = denominatorUnits;
  16741. _0_7 = t3;
  16742. _0_7_isSet = true;
  16743. }
  16744. _0_8 = t3 == null;
  16745. t3 = _0_8;
  16746. }
  16747. if (!t3)
  16748. if (_0_10_isSet)
  16749. t3 = _0_10;
  16750. else {
  16751. if (_0_7_isSet)
  16752. t3 = _0_7;
  16753. else {
  16754. t3 = denominatorUnits;
  16755. _0_7 = t3;
  16756. _0_7_isSet = true;
  16757. }
  16758. _0_10 = (t3 == null ? t1._as(t3) : t3).length <= 0;
  16759. t3 = _0_10;
  16760. }
  16761. else
  16762. t3 = true;
  16763. } else {
  16764. numerators = _null;
  16765. t3 = false;
  16766. }
  16767. if (t3)
  16768. return new A.ComplexSassNumber(A.List_List$unmodifiable(numerators, type$.String), B.List_empty, value, _null);
  16769. if (!false)
  16770. if (_0_6_isSet)
  16771. t2 = _0_6;
  16772. else {
  16773. if (_0_4_isSet)
  16774. t2 = _0_4;
  16775. else {
  16776. _0_4 = (t2 ? t1._as(numeratorUnits) : numeratorUnits).length;
  16777. t2 = _0_4;
  16778. }
  16779. _0_6 = t2 <= 0;
  16780. t2 = _0_6;
  16781. }
  16782. else
  16783. t2 = true;
  16784. if (t2) {
  16785. if (_0_7_isSet)
  16786. t2 = _0_7;
  16787. else {
  16788. t2 = denominatorUnits;
  16789. _0_7 = t2;
  16790. _0_7_isSet = true;
  16791. }
  16792. t2 = t2 != null;
  16793. if (t2) {
  16794. denominators = _0_7_isSet ? _0_7 : denominatorUnits;
  16795. if (denominators == null)
  16796. denominators = t1._as(denominators);
  16797. } else
  16798. denominators = _null;
  16799. t1 = t2;
  16800. } else {
  16801. denominators = _null;
  16802. t1 = false;
  16803. }
  16804. if (t1)
  16805. return new A.ComplexSassNumber(B.List_empty, A.List_List$unmodifiable(denominators, type$.String), value, _null);
  16806. numerators = A._setArrayType(numeratorUnits.slice(0), A._arrayInstanceType(numeratorUnits));
  16807. unsimplifiedDenominators = A._setArrayType(denominatorUnits.slice(0), A.instanceType(denominatorUnits));
  16808. denominators = A._setArrayType([], type$.JSArray_String);
  16809. for (t1 = unsimplifiedDenominators.length, valueDouble = value, _i = 0; _i < unsimplifiedDenominators.length; unsimplifiedDenominators.length === t1 || (0, A.throwConcurrentModificationError)(unsimplifiedDenominators), ++_i) {
  16810. denominator = unsimplifiedDenominators[_i];
  16811. i = 0;
  16812. while (true) {
  16813. if (!(i < numerators.length)) {
  16814. simplifiedAway = false;
  16815. break;
  16816. }
  16817. c$0: {
  16818. factor = A.conversionFactor(denominator, numerators[i]);
  16819. if (factor == null)
  16820. break c$0;
  16821. valueDouble *= factor;
  16822. B.JSArray_methods.removeAt$1(numerators, i);
  16823. simplifiedAway = true;
  16824. break;
  16825. }
  16826. ++i;
  16827. }
  16828. if (!simplifiedAway)
  16829. denominators.push(denominator);
  16830. }
  16831. $label0$1: {
  16832. _1_2 = numerators.length;
  16833. t1 = _1_2;
  16834. _1_7_isSet = t1 <= 0;
  16835. if (_1_7_isSet) {
  16836. _1_7 = denominators.length <= 0;
  16837. t1 = _1_7;
  16838. } else {
  16839. _1_7 = _null;
  16840. t1 = false;
  16841. }
  16842. if (t1) {
  16843. t1 = new A.UnitlessSassNumber(valueDouble, _null);
  16844. break $label0$1;
  16845. }
  16846. if (_1_2 === 1) {
  16847. unit = numerators[0];
  16848. t1 = _1_7_isSet ? _1_7 : denominators.length <= 0;
  16849. } else {
  16850. unit = _null;
  16851. t1 = false;
  16852. }
  16853. if (t1) {
  16854. t1 = new A.SingleUnitSassNumber(unit, valueDouble, _null);
  16855. break $label0$1;
  16856. }
  16857. t1 = type$.String;
  16858. t1 = new A.ComplexSassNumber(A.List_List$unmodifiable(numerators, t1), A.List_List$unmodifiable(denominators, t1), valueDouble, _null);
  16859. break $label0$1;
  16860. }
  16861. return t1;
  16862. },
  16863. SassNumber: function SassNumber() {
  16864. },
  16865. SassNumber__coerceOrConvertValue_compatibilityException: function SassNumber__coerceOrConvertValue_compatibilityException(t0, t1, t2, t3, t4, t5, t6) {
  16866. var _ = this;
  16867. _.$this = t0;
  16868. _.other = t1;
  16869. _.otherName = t2;
  16870. _.otherHasUnits = t3;
  16871. _.name = t4;
  16872. _.newNumerators = t5;
  16873. _.newDenominators = t6;
  16874. },
  16875. SassNumber__coerceOrConvertValue_closure: function SassNumber__coerceOrConvertValue_closure(t0, t1) {
  16876. this._box_0 = t0;
  16877. this.newNumerator = t1;
  16878. },
  16879. SassNumber__coerceOrConvertValue_closure0: function SassNumber__coerceOrConvertValue_closure0(t0) {
  16880. this.compatibilityException = t0;
  16881. },
  16882. SassNumber__coerceOrConvertValue_closure1: function SassNumber__coerceOrConvertValue_closure1(t0, t1) {
  16883. this._box_0 = t0;
  16884. this.newDenominator = t1;
  16885. },
  16886. SassNumber__coerceOrConvertValue_closure2: function SassNumber__coerceOrConvertValue_closure2(t0) {
  16887. this.compatibilityException = t0;
  16888. },
  16889. SassNumber_plus_closure: function SassNumber_plus_closure() {
  16890. },
  16891. SassNumber_minus_closure: function SassNumber_minus_closure() {
  16892. },
  16893. SassNumber_multiplyUnits_closure: function SassNumber_multiplyUnits_closure(t0, t1) {
  16894. this._box_0 = t0;
  16895. this.numerator = t1;
  16896. },
  16897. SassNumber_multiplyUnits_closure0: function SassNumber_multiplyUnits_closure0(t0, t1) {
  16898. this.newNumerators = t0;
  16899. this.numerator = t1;
  16900. },
  16901. SassNumber_multiplyUnits_closure1: function SassNumber_multiplyUnits_closure1(t0, t1) {
  16902. this._box_0 = t0;
  16903. this.numerator = t1;
  16904. },
  16905. SassNumber_multiplyUnits_closure2: function SassNumber_multiplyUnits_closure2(t0, t1) {
  16906. this.newNumerators = t0;
  16907. this.numerator = t1;
  16908. },
  16909. SassNumber__areAnyConvertible_closure: function SassNumber__areAnyConvertible_closure(t0) {
  16910. this.units2 = t0;
  16911. },
  16912. SassNumber__canonicalizeUnitList_closure: function SassNumber__canonicalizeUnitList_closure() {
  16913. },
  16914. SassNumber__canonicalMultiplier_closure: function SassNumber__canonicalMultiplier_closure(t0) {
  16915. this.$this = t0;
  16916. },
  16917. SassNumber_unitSuggestion_closure: function SassNumber_unitSuggestion_closure() {
  16918. },
  16919. SassNumber_unitSuggestion_closure0: function SassNumber_unitSuggestion_closure0() {
  16920. },
  16921. ComplexSassNumber: function ComplexSassNumber(t0, t1, t2, t3) {
  16922. var _ = this;
  16923. _._numeratorUnits = t0;
  16924. _._denominatorUnits = t1;
  16925. _._number$_value = t2;
  16926. _.hashCache = null;
  16927. _.asSlash = t3;
  16928. },
  16929. SingleUnitSassNumber: function SingleUnitSassNumber(t0, t1, t2) {
  16930. var _ = this;
  16931. _._unit = t0;
  16932. _._number$_value = t1;
  16933. _.hashCache = null;
  16934. _.asSlash = t2;
  16935. },
  16936. SingleUnitSassNumber__coerceToUnit_closure: function SingleUnitSassNumber__coerceToUnit_closure(t0, t1) {
  16937. this.$this = t0;
  16938. this.unit = t1;
  16939. },
  16940. SingleUnitSassNumber__coerceValueToUnit_closure: function SingleUnitSassNumber__coerceValueToUnit_closure(t0) {
  16941. this.$this = t0;
  16942. },
  16943. SingleUnitSassNumber_multiplyUnits_closure: function SingleUnitSassNumber_multiplyUnits_closure(t0, t1) {
  16944. this._box_0 = t0;
  16945. this.$this = t1;
  16946. },
  16947. SingleUnitSassNumber_multiplyUnits_closure0: function SingleUnitSassNumber_multiplyUnits_closure0(t0, t1) {
  16948. this._box_0 = t0;
  16949. this.$this = t1;
  16950. },
  16951. UnitlessSassNumber: function UnitlessSassNumber(t0, t1) {
  16952. this._number$_value = t0;
  16953. this.hashCache = null;
  16954. this.asSlash = t1;
  16955. },
  16956. SassString$(_text, quotes) {
  16957. return new A.SassString(_text, quotes);
  16958. },
  16959. SassString: function SassString(t0, t1) {
  16960. var _ = this;
  16961. _._string$_text = t0;
  16962. _._hasQuotes = t1;
  16963. _.__SassString__sassLength_FI = $;
  16964. _._hashCache = null;
  16965. },
  16966. AnySelectorVisitor: function AnySelectorVisitor() {
  16967. },
  16968. AnySelectorVisitor_visitComplexSelector_closure: function AnySelectorVisitor_visitComplexSelector_closure(t0) {
  16969. this.$this = t0;
  16970. },
  16971. AnySelectorVisitor_visitCompoundSelector_closure: function AnySelectorVisitor_visitCompoundSelector_closure(t0) {
  16972. this.$this = t0;
  16973. },
  16974. _EvaluateVisitor$0(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
  16975. var t1 = type$.Uri,
  16976. t2 = type$.Module_AsyncCallable,
  16977. t3 = A._setArrayType([], type$.JSArray_Record_2_String_and_AstNode);
  16978. 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, A.AsyncEnvironment$(), A.LinkedHashSet_LinkedHashSet$_empty(t1), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.nullable_AstNode), t3, B.Configuration_Map_empty_null);
  16979. t1._EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap0(functions, importCache, logger, nodeImporter, quietDeps, sourceMap);
  16980. return t1;
  16981. },
  16982. _EvaluateVisitor0: function _EvaluateVisitor0(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15) {
  16983. var _ = this;
  16984. _._async_evaluate$_importCache = t0;
  16985. _._async_evaluate$_nodeImporter = t1;
  16986. _._async_evaluate$_builtInFunctions = t2;
  16987. _._async_evaluate$_builtInModules = t3;
  16988. _._async_evaluate$_modules = t4;
  16989. _._async_evaluate$_moduleConfigurations = t5;
  16990. _._async_evaluate$_moduleNodes = t6;
  16991. _._async_evaluate$_logger = t7;
  16992. _._async_evaluate$_warningsEmitted = t8;
  16993. _._async_evaluate$_quietDeps = t9;
  16994. _._async_evaluate$_sourceMap = t10;
  16995. _._async_evaluate$_environment = t11;
  16996. _._async_evaluate$_declarationName = _._async_evaluate$__parent = _._async_evaluate$_mediaQuerySources = _._async_evaluate$_mediaQueries = _._async_evaluate$_styleRuleIgnoringAtRoot = null;
  16997. _._async_evaluate$_member = "root stylesheet";
  16998. _._async_evaluate$_importSpan = _._async_evaluate$_callableNode = _._async_evaluate$_currentCallable = null;
  16999. _._async_evaluate$_inSupportsDeclaration = _._async_evaluate$_inKeyframes = _._async_evaluate$_atRootExcludingStyleRule = _._async_evaluate$_inUnknownAtRule = _._async_evaluate$_inFunction = false;
  17000. _._async_evaluate$_loadedUrls = t12;
  17001. _._async_evaluate$_activeModules = t13;
  17002. _._async_evaluate$_stack = t14;
  17003. _._async_evaluate$_importer = null;
  17004. _._async_evaluate$_inDependency = false;
  17005. _._async_evaluate$__extensionStore = _._async_evaluate$_preModuleComments = _._async_evaluate$_outOfOrderImports = _._async_evaluate$__endOfImports = _._async_evaluate$__root = _._async_evaluate$__stylesheet = null;
  17006. _._async_evaluate$_configuration = t15;
  17007. },
  17008. _EvaluateVisitor_closure12: function _EvaluateVisitor_closure12(t0) {
  17009. this.$this = t0;
  17010. },
  17011. _EvaluateVisitor_closure13: function _EvaluateVisitor_closure13(t0) {
  17012. this.$this = t0;
  17013. },
  17014. _EvaluateVisitor_closure14: function _EvaluateVisitor_closure14(t0) {
  17015. this.$this = t0;
  17016. },
  17017. _EvaluateVisitor_closure15: function _EvaluateVisitor_closure15(t0) {
  17018. this.$this = t0;
  17019. },
  17020. _EvaluateVisitor_closure16: function _EvaluateVisitor_closure16(t0) {
  17021. this.$this = t0;
  17022. },
  17023. _EvaluateVisitor_closure17: function _EvaluateVisitor_closure17(t0) {
  17024. this.$this = t0;
  17025. },
  17026. _EvaluateVisitor_closure18: function _EvaluateVisitor_closure18(t0) {
  17027. this.$this = t0;
  17028. },
  17029. _EvaluateVisitor_closure19: function _EvaluateVisitor_closure19(t0) {
  17030. this.$this = t0;
  17031. },
  17032. _EvaluateVisitor_closure20: function _EvaluateVisitor_closure20(t0) {
  17033. this.$this = t0;
  17034. },
  17035. _EvaluateVisitor__closure6: function _EvaluateVisitor__closure6(t0, t1, t2) {
  17036. this.$this = t0;
  17037. this.name = t1;
  17038. this.module = t2;
  17039. },
  17040. _EvaluateVisitor_closure21: function _EvaluateVisitor_closure21(t0) {
  17041. this.$this = t0;
  17042. },
  17043. _EvaluateVisitor__closure5: function _EvaluateVisitor__closure5(t0, t1, t2) {
  17044. this.$this = t0;
  17045. this.name = t1;
  17046. this.module = t2;
  17047. },
  17048. _EvaluateVisitor_closure22: function _EvaluateVisitor_closure22(t0) {
  17049. this.$this = t0;
  17050. },
  17051. _EvaluateVisitor_closure23: function _EvaluateVisitor_closure23(t0) {
  17052. this.$this = t0;
  17053. },
  17054. _EvaluateVisitor__closure3: function _EvaluateVisitor__closure3(t0, t1, t2) {
  17055. this.values = t0;
  17056. this.span = t1;
  17057. this.callableNode = t2;
  17058. },
  17059. _EvaluateVisitor__closure4: function _EvaluateVisitor__closure4(t0) {
  17060. this.$this = t0;
  17061. },
  17062. _EvaluateVisitor_closure24: function _EvaluateVisitor_closure24(t0) {
  17063. this.$this = t0;
  17064. },
  17065. _EvaluateVisitor_run_closure0: function _EvaluateVisitor_run_closure0(t0, t1, t2) {
  17066. this.$this = t0;
  17067. this.node = t1;
  17068. this.importer = t2;
  17069. },
  17070. _EvaluateVisitor_run__closure0: function _EvaluateVisitor_run__closure0(t0, t1, t2) {
  17071. this.$this = t0;
  17072. this.importer = t1;
  17073. this.node = t2;
  17074. },
  17075. _EvaluateVisitor__loadModule_closure1: function _EvaluateVisitor__loadModule_closure1(t0, t1) {
  17076. this._box_1 = t0;
  17077. this.callback = t1;
  17078. },
  17079. _EvaluateVisitor__loadModule_closure2: function _EvaluateVisitor__loadModule_closure2(t0, t1, t2, t3, t4, t5, t6) {
  17080. var _ = this;
  17081. _.$this = t0;
  17082. _.url = t1;
  17083. _.nodeWithSpan = t2;
  17084. _.baseUrl = t3;
  17085. _.namesInErrors = t4;
  17086. _.configuration = t5;
  17087. _.callback = t6;
  17088. },
  17089. _EvaluateVisitor__loadModule__closure1: function _EvaluateVisitor__loadModule__closure1(t0, t1) {
  17090. this.$this = t0;
  17091. this.message = t1;
  17092. },
  17093. _EvaluateVisitor__loadModule__closure2: function _EvaluateVisitor__loadModule__closure2(t0, t1, t2) {
  17094. this._box_0 = t0;
  17095. this.callback = t1;
  17096. this.firstLoad = t2;
  17097. },
  17098. _EvaluateVisitor__execute_closure0: function _EvaluateVisitor__execute_closure0(t0, t1, t2, t3, t4, t5, t6) {
  17099. var _ = this;
  17100. _.$this = t0;
  17101. _.importer = t1;
  17102. _.stylesheet = t2;
  17103. _.extensionStore = t3;
  17104. _.configuration = t4;
  17105. _.css = t5;
  17106. _.preModuleComments = t6;
  17107. },
  17108. _EvaluateVisitor__combineCss_closure1: function _EvaluateVisitor__combineCss_closure1() {
  17109. },
  17110. _EvaluateVisitor__combineCss_closure2: function _EvaluateVisitor__combineCss_closure2(t0) {
  17111. this.selectors = t0;
  17112. },
  17113. _EvaluateVisitor__combineCss_visitModule0: function _EvaluateVisitor__combineCss_visitModule0(t0, t1, t2, t3, t4, t5) {
  17114. var _ = this;
  17115. _.$this = t0;
  17116. _.seen = t1;
  17117. _.clone = t2;
  17118. _.css = t3;
  17119. _.imports = t4;
  17120. _.sorted = t5;
  17121. },
  17122. _EvaluateVisitor__extendModules_closure1: function _EvaluateVisitor__extendModules_closure1(t0) {
  17123. this.originalSelectors = t0;
  17124. },
  17125. _EvaluateVisitor__extendModules_closure2: function _EvaluateVisitor__extendModules_closure2() {
  17126. },
  17127. _EvaluateVisitor_visitAtRootRule_closure1: function _EvaluateVisitor_visitAtRootRule_closure1(t0, t1) {
  17128. this.$this = t0;
  17129. this.node = t1;
  17130. },
  17131. _EvaluateVisitor_visitAtRootRule_closure2: function _EvaluateVisitor_visitAtRootRule_closure2(t0, t1) {
  17132. this.$this = t0;
  17133. this.node = t1;
  17134. },
  17135. _EvaluateVisitor__scopeForAtRoot_closure5: function _EvaluateVisitor__scopeForAtRoot_closure5(t0, t1, t2) {
  17136. this.$this = t0;
  17137. this.newParent = t1;
  17138. this.node = t2;
  17139. },
  17140. _EvaluateVisitor__scopeForAtRoot_closure6: function _EvaluateVisitor__scopeForAtRoot_closure6(t0, t1) {
  17141. this.$this = t0;
  17142. this.innerScope = t1;
  17143. },
  17144. _EvaluateVisitor__scopeForAtRoot_closure7: function _EvaluateVisitor__scopeForAtRoot_closure7(t0, t1) {
  17145. this.$this = t0;
  17146. this.innerScope = t1;
  17147. },
  17148. _EvaluateVisitor__scopeForAtRoot__closure0: function _EvaluateVisitor__scopeForAtRoot__closure0(t0, t1) {
  17149. this.innerScope = t0;
  17150. this.callback = t1;
  17151. },
  17152. _EvaluateVisitor__scopeForAtRoot_closure8: function _EvaluateVisitor__scopeForAtRoot_closure8(t0, t1) {
  17153. this.$this = t0;
  17154. this.innerScope = t1;
  17155. },
  17156. _EvaluateVisitor__scopeForAtRoot_closure9: function _EvaluateVisitor__scopeForAtRoot_closure9() {
  17157. },
  17158. _EvaluateVisitor__scopeForAtRoot_closure10: function _EvaluateVisitor__scopeForAtRoot_closure10(t0, t1) {
  17159. this.$this = t0;
  17160. this.innerScope = t1;
  17161. },
  17162. _EvaluateVisitor_visitContentRule_closure0: function _EvaluateVisitor_visitContentRule_closure0(t0, t1) {
  17163. this.$this = t0;
  17164. this.content = t1;
  17165. },
  17166. _EvaluateVisitor_visitDeclaration_closure0: function _EvaluateVisitor_visitDeclaration_closure0(t0, t1) {
  17167. this._box_0 = t0;
  17168. this.$this = t1;
  17169. },
  17170. _EvaluateVisitor_visitEachRule_closure2: function _EvaluateVisitor_visitEachRule_closure2(t0, t1, t2) {
  17171. this._box_0 = t0;
  17172. this.$this = t1;
  17173. this.nodeWithSpan = t2;
  17174. },
  17175. _EvaluateVisitor_visitEachRule_closure3: function _EvaluateVisitor_visitEachRule_closure3(t0, t1, t2) {
  17176. this._box_0 = t0;
  17177. this.$this = t1;
  17178. this.nodeWithSpan = t2;
  17179. },
  17180. _EvaluateVisitor_visitEachRule_closure4: function _EvaluateVisitor_visitEachRule_closure4(t0, t1, t2, t3) {
  17181. var _ = this;
  17182. _.$this = t0;
  17183. _.list = t1;
  17184. _.setVariables = t2;
  17185. _.node = t3;
  17186. },
  17187. _EvaluateVisitor_visitEachRule__closure0: function _EvaluateVisitor_visitEachRule__closure0(t0, t1, t2) {
  17188. this.$this = t0;
  17189. this.setVariables = t1;
  17190. this.node = t2;
  17191. },
  17192. _EvaluateVisitor_visitEachRule___closure0: function _EvaluateVisitor_visitEachRule___closure0(t0) {
  17193. this.$this = t0;
  17194. },
  17195. _EvaluateVisitor_visitAtRule_closure2: function _EvaluateVisitor_visitAtRule_closure2(t0) {
  17196. this.$this = t0;
  17197. },
  17198. _EvaluateVisitor_visitAtRule_closure3: function _EvaluateVisitor_visitAtRule_closure3(t0, t1, t2) {
  17199. this.$this = t0;
  17200. this.name = t1;
  17201. this.children = t2;
  17202. },
  17203. _EvaluateVisitor_visitAtRule__closure0: function _EvaluateVisitor_visitAtRule__closure0(t0, t1) {
  17204. this.$this = t0;
  17205. this.children = t1;
  17206. },
  17207. _EvaluateVisitor_visitAtRule_closure4: function _EvaluateVisitor_visitAtRule_closure4() {
  17208. },
  17209. _EvaluateVisitor_visitForRule_closure4: function _EvaluateVisitor_visitForRule_closure4(t0, t1) {
  17210. this.$this = t0;
  17211. this.node = t1;
  17212. },
  17213. _EvaluateVisitor_visitForRule_closure5: function _EvaluateVisitor_visitForRule_closure5(t0, t1) {
  17214. this.$this = t0;
  17215. this.node = t1;
  17216. },
  17217. _EvaluateVisitor_visitForRule_closure6: function _EvaluateVisitor_visitForRule_closure6(t0) {
  17218. this.fromNumber = t0;
  17219. },
  17220. _EvaluateVisitor_visitForRule_closure7: function _EvaluateVisitor_visitForRule_closure7(t0, t1) {
  17221. this.toNumber = t0;
  17222. this.fromNumber = t1;
  17223. },
  17224. _EvaluateVisitor_visitForRule_closure8: function _EvaluateVisitor_visitForRule_closure8(t0, t1, t2, t3, t4, t5) {
  17225. var _ = this;
  17226. _._box_0 = t0;
  17227. _.$this = t1;
  17228. _.node = t2;
  17229. _.from = t3;
  17230. _.direction = t4;
  17231. _.fromNumber = t5;
  17232. },
  17233. _EvaluateVisitor_visitForRule__closure0: function _EvaluateVisitor_visitForRule__closure0(t0) {
  17234. this.$this = t0;
  17235. },
  17236. _EvaluateVisitor_visitForwardRule_closure1: function _EvaluateVisitor_visitForwardRule_closure1(t0, t1) {
  17237. this.$this = t0;
  17238. this.node = t1;
  17239. },
  17240. _EvaluateVisitor_visitForwardRule_closure2: function _EvaluateVisitor_visitForwardRule_closure2(t0, t1) {
  17241. this.$this = t0;
  17242. this.node = t1;
  17243. },
  17244. _EvaluateVisitor__registerCommentsForModule_closure0: function _EvaluateVisitor__registerCommentsForModule_closure0() {
  17245. },
  17246. _EvaluateVisitor_visitIfRule_closure0: function _EvaluateVisitor_visitIfRule_closure0(t0) {
  17247. this.$this = t0;
  17248. },
  17249. _EvaluateVisitor_visitIfRule__closure0: function _EvaluateVisitor_visitIfRule__closure0(t0, t1) {
  17250. this.$this = t0;
  17251. this.clause = t1;
  17252. },
  17253. _EvaluateVisitor_visitIfRule___closure0: function _EvaluateVisitor_visitIfRule___closure0(t0) {
  17254. this.$this = t0;
  17255. },
  17256. _EvaluateVisitor__visitDynamicImport_closure0: function _EvaluateVisitor__visitDynamicImport_closure0(t0, t1) {
  17257. this.$this = t0;
  17258. this.$import = t1;
  17259. },
  17260. _EvaluateVisitor__visitDynamicImport__closure3: function _EvaluateVisitor__visitDynamicImport__closure3(t0) {
  17261. this.$this = t0;
  17262. },
  17263. _EvaluateVisitor__visitDynamicImport__closure4: function _EvaluateVisitor__visitDynamicImport__closure4() {
  17264. },
  17265. _EvaluateVisitor__visitDynamicImport__closure5: function _EvaluateVisitor__visitDynamicImport__closure5() {
  17266. },
  17267. _EvaluateVisitor__visitDynamicImport__closure6: function _EvaluateVisitor__visitDynamicImport__closure6(t0, t1, t2, t3, t4) {
  17268. var _ = this;
  17269. _._box_0 = t0;
  17270. _.$this = t1;
  17271. _.loadsUserDefinedModules = t2;
  17272. _.environment = t3;
  17273. _.children = t4;
  17274. },
  17275. _EvaluateVisitor__applyMixin_closure1: function _EvaluateVisitor__applyMixin_closure1(t0, t1, t2, t3) {
  17276. var _ = this;
  17277. _.$this = t0;
  17278. _.$arguments = t1;
  17279. _.mixin = t2;
  17280. _.nodeWithSpanWithoutContent = t3;
  17281. },
  17282. _EvaluateVisitor__applyMixin__closure2: function _EvaluateVisitor__applyMixin__closure2(t0, t1, t2, t3) {
  17283. var _ = this;
  17284. _.$this = t0;
  17285. _.$arguments = t1;
  17286. _.mixin = t2;
  17287. _.nodeWithSpanWithoutContent = t3;
  17288. },
  17289. _EvaluateVisitor__applyMixin_closure2: function _EvaluateVisitor__applyMixin_closure2(t0, t1, t2, t3) {
  17290. var _ = this;
  17291. _.$this = t0;
  17292. _.contentCallable = t1;
  17293. _.mixin = t2;
  17294. _.nodeWithSpanWithoutContent = t3;
  17295. },
  17296. _EvaluateVisitor__applyMixin__closure1: function _EvaluateVisitor__applyMixin__closure1(t0, t1, t2) {
  17297. this.$this = t0;
  17298. this.mixin = t1;
  17299. this.nodeWithSpanWithoutContent = t2;
  17300. },
  17301. _EvaluateVisitor__applyMixin___closure0: function _EvaluateVisitor__applyMixin___closure0(t0, t1, t2) {
  17302. this.$this = t0;
  17303. this.mixin = t1;
  17304. this.nodeWithSpanWithoutContent = t2;
  17305. },
  17306. _EvaluateVisitor__applyMixin____closure0: function _EvaluateVisitor__applyMixin____closure0(t0, t1) {
  17307. this.$this = t0;
  17308. this.statement = t1;
  17309. },
  17310. _EvaluateVisitor_visitIncludeRule_closure2: function _EvaluateVisitor_visitIncludeRule_closure2(t0, t1) {
  17311. this.$this = t0;
  17312. this.node = t1;
  17313. },
  17314. _EvaluateVisitor_visitIncludeRule_closure3: function _EvaluateVisitor_visitIncludeRule_closure3(t0) {
  17315. this.$this = t0;
  17316. },
  17317. _EvaluateVisitor_visitIncludeRule_closure4: function _EvaluateVisitor_visitIncludeRule_closure4(t0) {
  17318. this.node = t0;
  17319. },
  17320. _EvaluateVisitor_visitMediaRule_closure2: function _EvaluateVisitor_visitMediaRule_closure2(t0, t1) {
  17321. this.$this = t0;
  17322. this.queries = t1;
  17323. },
  17324. _EvaluateVisitor_visitMediaRule_closure3: function _EvaluateVisitor_visitMediaRule_closure3(t0, t1, t2, t3, t4) {
  17325. var _ = this;
  17326. _.$this = t0;
  17327. _.mergedQueries = t1;
  17328. _.queries = t2;
  17329. _.mergedSources = t3;
  17330. _.node = t4;
  17331. },
  17332. _EvaluateVisitor_visitMediaRule__closure0: function _EvaluateVisitor_visitMediaRule__closure0(t0, t1) {
  17333. this.$this = t0;
  17334. this.node = t1;
  17335. },
  17336. _EvaluateVisitor_visitMediaRule___closure0: function _EvaluateVisitor_visitMediaRule___closure0(t0, t1) {
  17337. this.$this = t0;
  17338. this.node = t1;
  17339. },
  17340. _EvaluateVisitor_visitMediaRule_closure4: function _EvaluateVisitor_visitMediaRule_closure4(t0) {
  17341. this.mergedSources = t0;
  17342. },
  17343. _EvaluateVisitor_visitStyleRule_closure4: function _EvaluateVisitor_visitStyleRule_closure4(t0, t1) {
  17344. this.$this = t0;
  17345. this.node = t1;
  17346. },
  17347. _EvaluateVisitor_visitStyleRule_closure5: function _EvaluateVisitor_visitStyleRule_closure5() {
  17348. },
  17349. _EvaluateVisitor_visitStyleRule_closure7: function _EvaluateVisitor_visitStyleRule_closure7(t0, t1, t2) {
  17350. this.$this = t0;
  17351. this.rule = t1;
  17352. this.node = t2;
  17353. },
  17354. _EvaluateVisitor_visitStyleRule__closure0: function _EvaluateVisitor_visitStyleRule__closure0(t0, t1) {
  17355. this.$this = t0;
  17356. this.node = t1;
  17357. },
  17358. _EvaluateVisitor_visitStyleRule_closure6: function _EvaluateVisitor_visitStyleRule_closure6() {
  17359. },
  17360. _EvaluateVisitor_visitStyleRule_closure8: function _EvaluateVisitor_visitStyleRule_closure8() {
  17361. },
  17362. _EvaluateVisitor_visitSupportsRule_closure1: function _EvaluateVisitor_visitSupportsRule_closure1(t0, t1) {
  17363. this.$this = t0;
  17364. this.node = t1;
  17365. },
  17366. _EvaluateVisitor_visitSupportsRule__closure0: function _EvaluateVisitor_visitSupportsRule__closure0(t0, t1) {
  17367. this.$this = t0;
  17368. this.node = t1;
  17369. },
  17370. _EvaluateVisitor_visitSupportsRule_closure2: function _EvaluateVisitor_visitSupportsRule_closure2() {
  17371. },
  17372. _EvaluateVisitor__visitSupportsCondition_closure0: function _EvaluateVisitor__visitSupportsCondition_closure0(t0, t1) {
  17373. this._box_0 = t0;
  17374. this.$this = t1;
  17375. },
  17376. _EvaluateVisitor_visitVariableDeclaration_closure2: function _EvaluateVisitor_visitVariableDeclaration_closure2(t0, t1, t2) {
  17377. this._box_0 = t0;
  17378. this.$this = t1;
  17379. this.node = t2;
  17380. },
  17381. _EvaluateVisitor_visitVariableDeclaration_closure3: function _EvaluateVisitor_visitVariableDeclaration_closure3(t0, t1) {
  17382. this.$this = t0;
  17383. this.node = t1;
  17384. },
  17385. _EvaluateVisitor_visitVariableDeclaration_closure4: function _EvaluateVisitor_visitVariableDeclaration_closure4(t0, t1, t2) {
  17386. this.$this = t0;
  17387. this.node = t1;
  17388. this.value = t2;
  17389. },
  17390. _EvaluateVisitor_visitUseRule_closure0: function _EvaluateVisitor_visitUseRule_closure0(t0, t1) {
  17391. this.$this = t0;
  17392. this.node = t1;
  17393. },
  17394. _EvaluateVisitor_visitWarnRule_closure0: function _EvaluateVisitor_visitWarnRule_closure0(t0, t1) {
  17395. this.$this = t0;
  17396. this.node = t1;
  17397. },
  17398. _EvaluateVisitor_visitWhileRule_closure0: function _EvaluateVisitor_visitWhileRule_closure0(t0, t1) {
  17399. this.$this = t0;
  17400. this.node = t1;
  17401. },
  17402. _EvaluateVisitor_visitWhileRule__closure0: function _EvaluateVisitor_visitWhileRule__closure0(t0) {
  17403. this.$this = t0;
  17404. },
  17405. _EvaluateVisitor_visitBinaryOperationExpression_closure0: function _EvaluateVisitor_visitBinaryOperationExpression_closure0(t0, t1) {
  17406. this.$this = t0;
  17407. this.node = t1;
  17408. },
  17409. _EvaluateVisitor__slash_recommendation0: function _EvaluateVisitor__slash_recommendation0() {
  17410. },
  17411. _EvaluateVisitor_visitVariableExpression_closure0: function _EvaluateVisitor_visitVariableExpression_closure0(t0, t1) {
  17412. this.$this = t0;
  17413. this.node = t1;
  17414. },
  17415. _EvaluateVisitor_visitUnaryOperationExpression_closure0: function _EvaluateVisitor_visitUnaryOperationExpression_closure0(t0, t1) {
  17416. this.node = t0;
  17417. this.operand = t1;
  17418. },
  17419. _EvaluateVisitor_visitListExpression_closure0: function _EvaluateVisitor_visitListExpression_closure0(t0) {
  17420. this.$this = t0;
  17421. },
  17422. _EvaluateVisitor_visitFunctionExpression_closure2: function _EvaluateVisitor_visitFunctionExpression_closure2(t0, t1) {
  17423. this.$this = t0;
  17424. this.node = t1;
  17425. },
  17426. _EvaluateVisitor_visitFunctionExpression_closure3: function _EvaluateVisitor_visitFunctionExpression_closure3() {
  17427. },
  17428. _EvaluateVisitor_visitFunctionExpression_closure4: function _EvaluateVisitor_visitFunctionExpression_closure4(t0, t1, t2) {
  17429. this._box_0 = t0;
  17430. this.$this = t1;
  17431. this.node = t2;
  17432. },
  17433. _EvaluateVisitor__checkCalculationArguments_check0: function _EvaluateVisitor__checkCalculationArguments_check0(t0, t1) {
  17434. this.$this = t0;
  17435. this.node = t1;
  17436. },
  17437. _EvaluateVisitor__visitCalculationExpression_closure0: function _EvaluateVisitor__visitCalculationExpression_closure0(t0, t1, t2, t3) {
  17438. var _ = this;
  17439. _._box_0 = t0;
  17440. _.$this = t1;
  17441. _.node = t2;
  17442. _.inLegacySassFunction = t3;
  17443. },
  17444. _EvaluateVisitor_visitInterpolatedFunctionExpression_closure0: function _EvaluateVisitor_visitInterpolatedFunctionExpression_closure0(t0, t1, t2) {
  17445. this.$this = t0;
  17446. this.node = t1;
  17447. this.$function = t2;
  17448. },
  17449. _EvaluateVisitor__runUserDefinedCallable_closure0: function _EvaluateVisitor__runUserDefinedCallable_closure0(t0, t1, t2, t3, t4, t5) {
  17450. var _ = this;
  17451. _.$this = t0;
  17452. _.callable = t1;
  17453. _.evaluated = t2;
  17454. _.nodeWithSpan = t3;
  17455. _.run = t4;
  17456. _.V = t5;
  17457. },
  17458. _EvaluateVisitor__runUserDefinedCallable__closure0: function _EvaluateVisitor__runUserDefinedCallable__closure0(t0, t1, t2, t3, t4, t5) {
  17459. var _ = this;
  17460. _.$this = t0;
  17461. _.evaluated = t1;
  17462. _.callable = t2;
  17463. _.nodeWithSpan = t3;
  17464. _.run = t4;
  17465. _.V = t5;
  17466. },
  17467. _EvaluateVisitor__runUserDefinedCallable___closure0: function _EvaluateVisitor__runUserDefinedCallable___closure0(t0, t1, t2, t3, t4, t5) {
  17468. var _ = this;
  17469. _.$this = t0;
  17470. _.evaluated = t1;
  17471. _.callable = t2;
  17472. _.nodeWithSpan = t3;
  17473. _.run = t4;
  17474. _.V = t5;
  17475. },
  17476. _EvaluateVisitor__runUserDefinedCallable____closure0: function _EvaluateVisitor__runUserDefinedCallable____closure0() {
  17477. },
  17478. _EvaluateVisitor__runFunctionCallable_closure0: function _EvaluateVisitor__runFunctionCallable_closure0(t0, t1) {
  17479. this.$this = t0;
  17480. this.callable = t1;
  17481. },
  17482. _EvaluateVisitor__runBuiltInCallable_closure2: function _EvaluateVisitor__runBuiltInCallable_closure2(t0, t1, t2) {
  17483. this._box_0 = t0;
  17484. this.evaluated = t1;
  17485. this.namedSet = t2;
  17486. },
  17487. _EvaluateVisitor__runBuiltInCallable_closure3: function _EvaluateVisitor__runBuiltInCallable_closure3(t0, t1) {
  17488. this._box_0 = t0;
  17489. this.evaluated = t1;
  17490. },
  17491. _EvaluateVisitor__runBuiltInCallable_closure4: function _EvaluateVisitor__runBuiltInCallable_closure4() {
  17492. },
  17493. _EvaluateVisitor__evaluateArguments_closure3: function _EvaluateVisitor__evaluateArguments_closure3() {
  17494. },
  17495. _EvaluateVisitor__evaluateArguments_closure4: function _EvaluateVisitor__evaluateArguments_closure4(t0, t1) {
  17496. this.$this = t0;
  17497. this.restNodeForSpan = t1;
  17498. },
  17499. _EvaluateVisitor__evaluateArguments_closure5: function _EvaluateVisitor__evaluateArguments_closure5(t0, t1, t2, t3) {
  17500. var _ = this;
  17501. _.$this = t0;
  17502. _.named = t1;
  17503. _.restNodeForSpan = t2;
  17504. _.namedNodes = t3;
  17505. },
  17506. _EvaluateVisitor__evaluateArguments_closure6: function _EvaluateVisitor__evaluateArguments_closure6() {
  17507. },
  17508. _EvaluateVisitor__evaluateMacroArguments_closure3: function _EvaluateVisitor__evaluateMacroArguments_closure3(t0) {
  17509. this.restArgs = t0;
  17510. },
  17511. _EvaluateVisitor__evaluateMacroArguments_closure4: function _EvaluateVisitor__evaluateMacroArguments_closure4(t0, t1, t2) {
  17512. this.$this = t0;
  17513. this.restNodeForSpan = t1;
  17514. this.restArgs = t2;
  17515. },
  17516. _EvaluateVisitor__evaluateMacroArguments_closure5: function _EvaluateVisitor__evaluateMacroArguments_closure5(t0, t1, t2, t3) {
  17517. var _ = this;
  17518. _.$this = t0;
  17519. _.named = t1;
  17520. _.restNodeForSpan = t2;
  17521. _.restArgs = t3;
  17522. },
  17523. _EvaluateVisitor__evaluateMacroArguments_closure6: function _EvaluateVisitor__evaluateMacroArguments_closure6(t0, t1, t2) {
  17524. this.$this = t0;
  17525. this.keywordRestNodeForSpan = t1;
  17526. this.keywordRestArgs = t2;
  17527. },
  17528. _EvaluateVisitor__addRestMap_closure0: function _EvaluateVisitor__addRestMap_closure0(t0, t1, t2, t3, t4, t5) {
  17529. var _ = this;
  17530. _.$this = t0;
  17531. _.values = t1;
  17532. _.convert = t2;
  17533. _.expressionNode = t3;
  17534. _.map = t4;
  17535. _.nodeWithSpan = t5;
  17536. },
  17537. _EvaluateVisitor__verifyArguments_closure0: function _EvaluateVisitor__verifyArguments_closure0(t0, t1, t2) {
  17538. this.$arguments = t0;
  17539. this.positional = t1;
  17540. this.named = t2;
  17541. },
  17542. _EvaluateVisitor_visitCssAtRule_closure1: function _EvaluateVisitor_visitCssAtRule_closure1(t0, t1) {
  17543. this.$this = t0;
  17544. this.node = t1;
  17545. },
  17546. _EvaluateVisitor_visitCssAtRule_closure2: function _EvaluateVisitor_visitCssAtRule_closure2() {
  17547. },
  17548. _EvaluateVisitor_visitCssKeyframeBlock_closure1: function _EvaluateVisitor_visitCssKeyframeBlock_closure1(t0, t1) {
  17549. this.$this = t0;
  17550. this.node = t1;
  17551. },
  17552. _EvaluateVisitor_visitCssKeyframeBlock_closure2: function _EvaluateVisitor_visitCssKeyframeBlock_closure2() {
  17553. },
  17554. _EvaluateVisitor_visitCssMediaRule_closure2: function _EvaluateVisitor_visitCssMediaRule_closure2(t0, t1) {
  17555. this.$this = t0;
  17556. this.node = t1;
  17557. },
  17558. _EvaluateVisitor_visitCssMediaRule_closure3: function _EvaluateVisitor_visitCssMediaRule_closure3(t0, t1, t2, t3) {
  17559. var _ = this;
  17560. _.$this = t0;
  17561. _.mergedQueries = t1;
  17562. _.node = t2;
  17563. _.mergedSources = t3;
  17564. },
  17565. _EvaluateVisitor_visitCssMediaRule__closure0: function _EvaluateVisitor_visitCssMediaRule__closure0(t0, t1) {
  17566. this.$this = t0;
  17567. this.node = t1;
  17568. },
  17569. _EvaluateVisitor_visitCssMediaRule___closure0: function _EvaluateVisitor_visitCssMediaRule___closure0(t0, t1) {
  17570. this.$this = t0;
  17571. this.node = t1;
  17572. },
  17573. _EvaluateVisitor_visitCssMediaRule_closure4: function _EvaluateVisitor_visitCssMediaRule_closure4(t0) {
  17574. this.mergedSources = t0;
  17575. },
  17576. _EvaluateVisitor_visitCssStyleRule_closure2: function _EvaluateVisitor_visitCssStyleRule_closure2(t0, t1, t2) {
  17577. this.$this = t0;
  17578. this.rule = t1;
  17579. this.node = t2;
  17580. },
  17581. _EvaluateVisitor_visitCssStyleRule__closure0: function _EvaluateVisitor_visitCssStyleRule__closure0(t0, t1) {
  17582. this.$this = t0;
  17583. this.node = t1;
  17584. },
  17585. _EvaluateVisitor_visitCssStyleRule_closure1: function _EvaluateVisitor_visitCssStyleRule_closure1() {
  17586. },
  17587. _EvaluateVisitor_visitCssSupportsRule_closure1: function _EvaluateVisitor_visitCssSupportsRule_closure1(t0, t1) {
  17588. this.$this = t0;
  17589. this.node = t1;
  17590. },
  17591. _EvaluateVisitor_visitCssSupportsRule__closure0: function _EvaluateVisitor_visitCssSupportsRule__closure0(t0, t1) {
  17592. this.$this = t0;
  17593. this.node = t1;
  17594. },
  17595. _EvaluateVisitor_visitCssSupportsRule_closure2: function _EvaluateVisitor_visitCssSupportsRule_closure2() {
  17596. },
  17597. _EvaluateVisitor__performInterpolationHelper_closure0: function _EvaluateVisitor__performInterpolationHelper_closure0(t0) {
  17598. this.interpolation = t0;
  17599. },
  17600. _EvaluateVisitor__serialize_closure0: function _EvaluateVisitor__serialize_closure0(t0, t1) {
  17601. this.value = t0;
  17602. this.quote = t1;
  17603. },
  17604. _EvaluateVisitor__expressionNode_closure0: function _EvaluateVisitor__expressionNode_closure0(t0, t1) {
  17605. this.$this = t0;
  17606. this.expression = t1;
  17607. },
  17608. _EvaluateVisitor__withoutSlash_recommendation0: function _EvaluateVisitor__withoutSlash_recommendation0() {
  17609. },
  17610. _EvaluateVisitor__stackFrame_closure0: function _EvaluateVisitor__stackFrame_closure0(t0) {
  17611. this.$this = t0;
  17612. },
  17613. _ImportedCssVisitor0: function _ImportedCssVisitor0(t0) {
  17614. this._async_evaluate$_visitor = t0;
  17615. },
  17616. _ImportedCssVisitor_visitCssAtRule_closure0: function _ImportedCssVisitor_visitCssAtRule_closure0() {
  17617. },
  17618. _ImportedCssVisitor_visitCssMediaRule_closure0: function _ImportedCssVisitor_visitCssMediaRule_closure0(t0) {
  17619. this.hasBeenMerged = t0;
  17620. },
  17621. _ImportedCssVisitor_visitCssStyleRule_closure0: function _ImportedCssVisitor_visitCssStyleRule_closure0() {
  17622. },
  17623. _ImportedCssVisitor_visitCssSupportsRule_closure0: function _ImportedCssVisitor_visitCssSupportsRule_closure0() {
  17624. },
  17625. _EvaluationContext0: function _EvaluationContext0(t0, t1) {
  17626. this._async_evaluate$_visitor = t0;
  17627. this._async_evaluate$_defaultWarnNodeWithSpan = t1;
  17628. },
  17629. cloneCssStylesheet(stylesheet, extensionStore) {
  17630. var _0_0 = extensionStore.clone$0();
  17631. return new A._Record_2(new A._CloneCssVisitor(_0_0._1)._visitChildren$2(A.ModifiableCssStylesheet$(stylesheet.get$span(stylesheet)), stylesheet), _0_0._0);
  17632. },
  17633. _CloneCssVisitor: function _CloneCssVisitor(t0) {
  17634. this._oldToNewSelectors = t0;
  17635. },
  17636. _EvaluateVisitor$(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
  17637. var t1 = type$.Uri,
  17638. t2 = type$.Module_Callable,
  17639. t3 = A._setArrayType([], type$.JSArray_Record_2_String_and_AstNode);
  17640. 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, A.Environment$(), A.LinkedHashSet_LinkedHashSet$_empty(t1), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.nullable_AstNode), t3, B.Configuration_Map_empty_null);
  17641. t1._EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap(functions, importCache, logger, nodeImporter, quietDeps, sourceMap);
  17642. return t1;
  17643. },
  17644. Evaluator: function Evaluator(t0, t1) {
  17645. this._visitor = t0;
  17646. this._importer = t1;
  17647. },
  17648. _EvaluateVisitor: function _EvaluateVisitor(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15) {
  17649. var _ = this;
  17650. _._evaluate$_importCache = t0;
  17651. _._evaluate$_nodeImporter = t1;
  17652. _._builtInFunctions = t2;
  17653. _._builtInModules = t3;
  17654. _._modules = t4;
  17655. _._moduleConfigurations = t5;
  17656. _._moduleNodes = t6;
  17657. _._evaluate$_logger = t7;
  17658. _._warningsEmitted = t8;
  17659. _._quietDeps = t9;
  17660. _._sourceMap = t10;
  17661. _._environment = t11;
  17662. _._declarationName = _.__parent = _._mediaQuerySources = _._mediaQueries = _._styleRuleIgnoringAtRoot = null;
  17663. _._member = "root stylesheet";
  17664. _._importSpan = _._callableNode = _._currentCallable = null;
  17665. _._inSupportsDeclaration = _._inKeyframes = _._atRootExcludingStyleRule = _._inUnknownAtRule = _._inFunction = false;
  17666. _._loadedUrls = t12;
  17667. _._activeModules = t13;
  17668. _._stack = t14;
  17669. _._importer = null;
  17670. _._inDependency = false;
  17671. _.__extensionStore = _._preModuleComments = _._outOfOrderImports = _.__endOfImports = _.__root = _.__stylesheet = null;
  17672. _._configuration = t15;
  17673. },
  17674. _EvaluateVisitor_closure: function _EvaluateVisitor_closure(t0) {
  17675. this.$this = t0;
  17676. },
  17677. _EvaluateVisitor_closure0: function _EvaluateVisitor_closure0(t0) {
  17678. this.$this = t0;
  17679. },
  17680. _EvaluateVisitor_closure1: function _EvaluateVisitor_closure1(t0) {
  17681. this.$this = t0;
  17682. },
  17683. _EvaluateVisitor_closure2: function _EvaluateVisitor_closure2(t0) {
  17684. this.$this = t0;
  17685. },
  17686. _EvaluateVisitor_closure3: function _EvaluateVisitor_closure3(t0) {
  17687. this.$this = t0;
  17688. },
  17689. _EvaluateVisitor_closure4: function _EvaluateVisitor_closure4(t0) {
  17690. this.$this = t0;
  17691. },
  17692. _EvaluateVisitor_closure5: function _EvaluateVisitor_closure5(t0) {
  17693. this.$this = t0;
  17694. },
  17695. _EvaluateVisitor_closure6: function _EvaluateVisitor_closure6(t0) {
  17696. this.$this = t0;
  17697. },
  17698. _EvaluateVisitor_closure7: function _EvaluateVisitor_closure7(t0) {
  17699. this.$this = t0;
  17700. },
  17701. _EvaluateVisitor__closure2: function _EvaluateVisitor__closure2(t0, t1, t2) {
  17702. this.$this = t0;
  17703. this.name = t1;
  17704. this.module = t2;
  17705. },
  17706. _EvaluateVisitor_closure8: function _EvaluateVisitor_closure8(t0) {
  17707. this.$this = t0;
  17708. },
  17709. _EvaluateVisitor__closure1: function _EvaluateVisitor__closure1(t0, t1, t2) {
  17710. this.$this = t0;
  17711. this.name = t1;
  17712. this.module = t2;
  17713. },
  17714. _EvaluateVisitor_closure9: function _EvaluateVisitor_closure9(t0) {
  17715. this.$this = t0;
  17716. },
  17717. _EvaluateVisitor_closure10: function _EvaluateVisitor_closure10(t0) {
  17718. this.$this = t0;
  17719. },
  17720. _EvaluateVisitor__closure: function _EvaluateVisitor__closure(t0, t1, t2) {
  17721. this.values = t0;
  17722. this.span = t1;
  17723. this.callableNode = t2;
  17724. },
  17725. _EvaluateVisitor__closure0: function _EvaluateVisitor__closure0(t0) {
  17726. this.$this = t0;
  17727. },
  17728. _EvaluateVisitor_closure11: function _EvaluateVisitor_closure11(t0) {
  17729. this.$this = t0;
  17730. },
  17731. _EvaluateVisitor_run_closure: function _EvaluateVisitor_run_closure(t0, t1, t2) {
  17732. this.$this = t0;
  17733. this.node = t1;
  17734. this.importer = t2;
  17735. },
  17736. _EvaluateVisitor_run__closure: function _EvaluateVisitor_run__closure(t0, t1, t2) {
  17737. this.$this = t0;
  17738. this.importer = t1;
  17739. this.node = t2;
  17740. },
  17741. _EvaluateVisitor_runExpression_closure: function _EvaluateVisitor_runExpression_closure(t0, t1, t2) {
  17742. this.$this = t0;
  17743. this.importer = t1;
  17744. this.expression = t2;
  17745. },
  17746. _EvaluateVisitor_runExpression__closure: function _EvaluateVisitor_runExpression__closure(t0, t1) {
  17747. this.$this = t0;
  17748. this.expression = t1;
  17749. },
  17750. _EvaluateVisitor_runExpression___closure: function _EvaluateVisitor_runExpression___closure(t0, t1) {
  17751. this.$this = t0;
  17752. this.expression = t1;
  17753. },
  17754. _EvaluateVisitor_runStatement_closure: function _EvaluateVisitor_runStatement_closure(t0, t1, t2) {
  17755. this.$this = t0;
  17756. this.importer = t1;
  17757. this.statement = t2;
  17758. },
  17759. _EvaluateVisitor_runStatement__closure: function _EvaluateVisitor_runStatement__closure(t0, t1) {
  17760. this.$this = t0;
  17761. this.statement = t1;
  17762. },
  17763. _EvaluateVisitor_runStatement___closure: function _EvaluateVisitor_runStatement___closure(t0, t1) {
  17764. this.$this = t0;
  17765. this.statement = t1;
  17766. },
  17767. _EvaluateVisitor__loadModule_closure: function _EvaluateVisitor__loadModule_closure(t0, t1) {
  17768. this._box_1 = t0;
  17769. this.callback = t1;
  17770. },
  17771. _EvaluateVisitor__loadModule_closure0: function _EvaluateVisitor__loadModule_closure0(t0, t1, t2, t3, t4, t5, t6) {
  17772. var _ = this;
  17773. _.$this = t0;
  17774. _.url = t1;
  17775. _.nodeWithSpan = t2;
  17776. _.baseUrl = t3;
  17777. _.namesInErrors = t4;
  17778. _.configuration = t5;
  17779. _.callback = t6;
  17780. },
  17781. _EvaluateVisitor__loadModule__closure: function _EvaluateVisitor__loadModule__closure(t0, t1) {
  17782. this.$this = t0;
  17783. this.message = t1;
  17784. },
  17785. _EvaluateVisitor__loadModule__closure0: function _EvaluateVisitor__loadModule__closure0(t0, t1, t2) {
  17786. this._box_0 = t0;
  17787. this.callback = t1;
  17788. this.firstLoad = t2;
  17789. },
  17790. _EvaluateVisitor__execute_closure: function _EvaluateVisitor__execute_closure(t0, t1, t2, t3, t4, t5, t6) {
  17791. var _ = this;
  17792. _.$this = t0;
  17793. _.importer = t1;
  17794. _.stylesheet = t2;
  17795. _.extensionStore = t3;
  17796. _.configuration = t4;
  17797. _.css = t5;
  17798. _.preModuleComments = t6;
  17799. },
  17800. _EvaluateVisitor__combineCss_closure: function _EvaluateVisitor__combineCss_closure() {
  17801. },
  17802. _EvaluateVisitor__combineCss_closure0: function _EvaluateVisitor__combineCss_closure0(t0) {
  17803. this.selectors = t0;
  17804. },
  17805. _EvaluateVisitor__combineCss_visitModule: function _EvaluateVisitor__combineCss_visitModule(t0, t1, t2, t3, t4, t5) {
  17806. var _ = this;
  17807. _.$this = t0;
  17808. _.seen = t1;
  17809. _.clone = t2;
  17810. _.css = t3;
  17811. _.imports = t4;
  17812. _.sorted = t5;
  17813. },
  17814. _EvaluateVisitor__extendModules_closure: function _EvaluateVisitor__extendModules_closure(t0) {
  17815. this.originalSelectors = t0;
  17816. },
  17817. _EvaluateVisitor__extendModules_closure0: function _EvaluateVisitor__extendModules_closure0() {
  17818. },
  17819. _EvaluateVisitor_visitAtRootRule_closure: function _EvaluateVisitor_visitAtRootRule_closure(t0, t1) {
  17820. this.$this = t0;
  17821. this.node = t1;
  17822. },
  17823. _EvaluateVisitor_visitAtRootRule_closure0: function _EvaluateVisitor_visitAtRootRule_closure0(t0, t1) {
  17824. this.$this = t0;
  17825. this.node = t1;
  17826. },
  17827. _EvaluateVisitor__scopeForAtRoot_closure: function _EvaluateVisitor__scopeForAtRoot_closure(t0, t1, t2) {
  17828. this.$this = t0;
  17829. this.newParent = t1;
  17830. this.node = t2;
  17831. },
  17832. _EvaluateVisitor__scopeForAtRoot_closure0: function _EvaluateVisitor__scopeForAtRoot_closure0(t0, t1) {
  17833. this.$this = t0;
  17834. this.innerScope = t1;
  17835. },
  17836. _EvaluateVisitor__scopeForAtRoot_closure1: function _EvaluateVisitor__scopeForAtRoot_closure1(t0, t1) {
  17837. this.$this = t0;
  17838. this.innerScope = t1;
  17839. },
  17840. _EvaluateVisitor__scopeForAtRoot__closure: function _EvaluateVisitor__scopeForAtRoot__closure(t0, t1) {
  17841. this.innerScope = t0;
  17842. this.callback = t1;
  17843. },
  17844. _EvaluateVisitor__scopeForAtRoot_closure2: function _EvaluateVisitor__scopeForAtRoot_closure2(t0, t1) {
  17845. this.$this = t0;
  17846. this.innerScope = t1;
  17847. },
  17848. _EvaluateVisitor__scopeForAtRoot_closure3: function _EvaluateVisitor__scopeForAtRoot_closure3() {
  17849. },
  17850. _EvaluateVisitor__scopeForAtRoot_closure4: function _EvaluateVisitor__scopeForAtRoot_closure4(t0, t1) {
  17851. this.$this = t0;
  17852. this.innerScope = t1;
  17853. },
  17854. _EvaluateVisitor_visitContentRule_closure: function _EvaluateVisitor_visitContentRule_closure(t0, t1) {
  17855. this.$this = t0;
  17856. this.content = t1;
  17857. },
  17858. _EvaluateVisitor_visitDeclaration_closure: function _EvaluateVisitor_visitDeclaration_closure(t0, t1) {
  17859. this._box_0 = t0;
  17860. this.$this = t1;
  17861. },
  17862. _EvaluateVisitor_visitEachRule_closure: function _EvaluateVisitor_visitEachRule_closure(t0, t1, t2) {
  17863. this._box_0 = t0;
  17864. this.$this = t1;
  17865. this.nodeWithSpan = t2;
  17866. },
  17867. _EvaluateVisitor_visitEachRule_closure0: function _EvaluateVisitor_visitEachRule_closure0(t0, t1, t2) {
  17868. this._box_0 = t0;
  17869. this.$this = t1;
  17870. this.nodeWithSpan = t2;
  17871. },
  17872. _EvaluateVisitor_visitEachRule_closure1: function _EvaluateVisitor_visitEachRule_closure1(t0, t1, t2, t3) {
  17873. var _ = this;
  17874. _.$this = t0;
  17875. _.list = t1;
  17876. _.setVariables = t2;
  17877. _.node = t3;
  17878. },
  17879. _EvaluateVisitor_visitEachRule__closure: function _EvaluateVisitor_visitEachRule__closure(t0, t1, t2) {
  17880. this.$this = t0;
  17881. this.setVariables = t1;
  17882. this.node = t2;
  17883. },
  17884. _EvaluateVisitor_visitEachRule___closure: function _EvaluateVisitor_visitEachRule___closure(t0) {
  17885. this.$this = t0;
  17886. },
  17887. _EvaluateVisitor_visitAtRule_closure: function _EvaluateVisitor_visitAtRule_closure(t0) {
  17888. this.$this = t0;
  17889. },
  17890. _EvaluateVisitor_visitAtRule_closure0: function _EvaluateVisitor_visitAtRule_closure0(t0, t1, t2) {
  17891. this.$this = t0;
  17892. this.name = t1;
  17893. this.children = t2;
  17894. },
  17895. _EvaluateVisitor_visitAtRule__closure: function _EvaluateVisitor_visitAtRule__closure(t0, t1) {
  17896. this.$this = t0;
  17897. this.children = t1;
  17898. },
  17899. _EvaluateVisitor_visitAtRule_closure1: function _EvaluateVisitor_visitAtRule_closure1() {
  17900. },
  17901. _EvaluateVisitor_visitForRule_closure: function _EvaluateVisitor_visitForRule_closure(t0, t1) {
  17902. this.$this = t0;
  17903. this.node = t1;
  17904. },
  17905. _EvaluateVisitor_visitForRule_closure0: function _EvaluateVisitor_visitForRule_closure0(t0, t1) {
  17906. this.$this = t0;
  17907. this.node = t1;
  17908. },
  17909. _EvaluateVisitor_visitForRule_closure1: function _EvaluateVisitor_visitForRule_closure1(t0) {
  17910. this.fromNumber = t0;
  17911. },
  17912. _EvaluateVisitor_visitForRule_closure2: function _EvaluateVisitor_visitForRule_closure2(t0, t1) {
  17913. this.toNumber = t0;
  17914. this.fromNumber = t1;
  17915. },
  17916. _EvaluateVisitor_visitForRule_closure3: function _EvaluateVisitor_visitForRule_closure3(t0, t1, t2, t3, t4, t5) {
  17917. var _ = this;
  17918. _._box_0 = t0;
  17919. _.$this = t1;
  17920. _.node = t2;
  17921. _.from = t3;
  17922. _.direction = t4;
  17923. _.fromNumber = t5;
  17924. },
  17925. _EvaluateVisitor_visitForRule__closure: function _EvaluateVisitor_visitForRule__closure(t0) {
  17926. this.$this = t0;
  17927. },
  17928. _EvaluateVisitor_visitForwardRule_closure: function _EvaluateVisitor_visitForwardRule_closure(t0, t1) {
  17929. this.$this = t0;
  17930. this.node = t1;
  17931. },
  17932. _EvaluateVisitor_visitForwardRule_closure0: function _EvaluateVisitor_visitForwardRule_closure0(t0, t1) {
  17933. this.$this = t0;
  17934. this.node = t1;
  17935. },
  17936. _EvaluateVisitor__registerCommentsForModule_closure: function _EvaluateVisitor__registerCommentsForModule_closure() {
  17937. },
  17938. _EvaluateVisitor_visitIfRule_closure: function _EvaluateVisitor_visitIfRule_closure(t0) {
  17939. this.$this = t0;
  17940. },
  17941. _EvaluateVisitor_visitIfRule__closure: function _EvaluateVisitor_visitIfRule__closure(t0, t1) {
  17942. this.$this = t0;
  17943. this.clause = t1;
  17944. },
  17945. _EvaluateVisitor_visitIfRule___closure: function _EvaluateVisitor_visitIfRule___closure(t0) {
  17946. this.$this = t0;
  17947. },
  17948. _EvaluateVisitor__visitDynamicImport_closure: function _EvaluateVisitor__visitDynamicImport_closure(t0, t1) {
  17949. this.$this = t0;
  17950. this.$import = t1;
  17951. },
  17952. _EvaluateVisitor__visitDynamicImport__closure: function _EvaluateVisitor__visitDynamicImport__closure(t0) {
  17953. this.$this = t0;
  17954. },
  17955. _EvaluateVisitor__visitDynamicImport__closure0: function _EvaluateVisitor__visitDynamicImport__closure0() {
  17956. },
  17957. _EvaluateVisitor__visitDynamicImport__closure1: function _EvaluateVisitor__visitDynamicImport__closure1() {
  17958. },
  17959. _EvaluateVisitor__visitDynamicImport__closure2: function _EvaluateVisitor__visitDynamicImport__closure2(t0, t1, t2, t3, t4) {
  17960. var _ = this;
  17961. _._box_0 = t0;
  17962. _.$this = t1;
  17963. _.loadsUserDefinedModules = t2;
  17964. _.environment = t3;
  17965. _.children = t4;
  17966. },
  17967. _EvaluateVisitor__applyMixin_closure: function _EvaluateVisitor__applyMixin_closure(t0, t1, t2, t3) {
  17968. var _ = this;
  17969. _.$this = t0;
  17970. _.$arguments = t1;
  17971. _.mixin = t2;
  17972. _.nodeWithSpanWithoutContent = t3;
  17973. },
  17974. _EvaluateVisitor__applyMixin__closure0: function _EvaluateVisitor__applyMixin__closure0(t0, t1, t2, t3) {
  17975. var _ = this;
  17976. _.$this = t0;
  17977. _.$arguments = t1;
  17978. _.mixin = t2;
  17979. _.nodeWithSpanWithoutContent = t3;
  17980. },
  17981. _EvaluateVisitor__applyMixin_closure0: function _EvaluateVisitor__applyMixin_closure0(t0, t1, t2, t3) {
  17982. var _ = this;
  17983. _.$this = t0;
  17984. _.contentCallable = t1;
  17985. _.mixin = t2;
  17986. _.nodeWithSpanWithoutContent = t3;
  17987. },
  17988. _EvaluateVisitor__applyMixin__closure: function _EvaluateVisitor__applyMixin__closure(t0, t1, t2) {
  17989. this.$this = t0;
  17990. this.mixin = t1;
  17991. this.nodeWithSpanWithoutContent = t2;
  17992. },
  17993. _EvaluateVisitor__applyMixin___closure: function _EvaluateVisitor__applyMixin___closure(t0, t1, t2) {
  17994. this.$this = t0;
  17995. this.mixin = t1;
  17996. this.nodeWithSpanWithoutContent = t2;
  17997. },
  17998. _EvaluateVisitor__applyMixin____closure: function _EvaluateVisitor__applyMixin____closure(t0, t1) {
  17999. this.$this = t0;
  18000. this.statement = t1;
  18001. },
  18002. _EvaluateVisitor_visitIncludeRule_closure: function _EvaluateVisitor_visitIncludeRule_closure(t0, t1) {
  18003. this.$this = t0;
  18004. this.node = t1;
  18005. },
  18006. _EvaluateVisitor_visitIncludeRule_closure0: function _EvaluateVisitor_visitIncludeRule_closure0(t0) {
  18007. this.$this = t0;
  18008. },
  18009. _EvaluateVisitor_visitIncludeRule_closure1: function _EvaluateVisitor_visitIncludeRule_closure1(t0) {
  18010. this.node = t0;
  18011. },
  18012. _EvaluateVisitor_visitMediaRule_closure: function _EvaluateVisitor_visitMediaRule_closure(t0, t1) {
  18013. this.$this = t0;
  18014. this.queries = t1;
  18015. },
  18016. _EvaluateVisitor_visitMediaRule_closure0: function _EvaluateVisitor_visitMediaRule_closure0(t0, t1, t2, t3, t4) {
  18017. var _ = this;
  18018. _.$this = t0;
  18019. _.mergedQueries = t1;
  18020. _.queries = t2;
  18021. _.mergedSources = t3;
  18022. _.node = t4;
  18023. },
  18024. _EvaluateVisitor_visitMediaRule__closure: function _EvaluateVisitor_visitMediaRule__closure(t0, t1) {
  18025. this.$this = t0;
  18026. this.node = t1;
  18027. },
  18028. _EvaluateVisitor_visitMediaRule___closure: function _EvaluateVisitor_visitMediaRule___closure(t0, t1) {
  18029. this.$this = t0;
  18030. this.node = t1;
  18031. },
  18032. _EvaluateVisitor_visitMediaRule_closure1: function _EvaluateVisitor_visitMediaRule_closure1(t0) {
  18033. this.mergedSources = t0;
  18034. },
  18035. _EvaluateVisitor_visitStyleRule_closure: function _EvaluateVisitor_visitStyleRule_closure(t0, t1) {
  18036. this.$this = t0;
  18037. this.node = t1;
  18038. },
  18039. _EvaluateVisitor_visitStyleRule_closure0: function _EvaluateVisitor_visitStyleRule_closure0() {
  18040. },
  18041. _EvaluateVisitor_visitStyleRule_closure2: function _EvaluateVisitor_visitStyleRule_closure2(t0, t1, t2) {
  18042. this.$this = t0;
  18043. this.rule = t1;
  18044. this.node = t2;
  18045. },
  18046. _EvaluateVisitor_visitStyleRule__closure: function _EvaluateVisitor_visitStyleRule__closure(t0, t1) {
  18047. this.$this = t0;
  18048. this.node = t1;
  18049. },
  18050. _EvaluateVisitor_visitStyleRule_closure1: function _EvaluateVisitor_visitStyleRule_closure1() {
  18051. },
  18052. _EvaluateVisitor_visitStyleRule_closure3: function _EvaluateVisitor_visitStyleRule_closure3() {
  18053. },
  18054. _EvaluateVisitor_visitSupportsRule_closure: function _EvaluateVisitor_visitSupportsRule_closure(t0, t1) {
  18055. this.$this = t0;
  18056. this.node = t1;
  18057. },
  18058. _EvaluateVisitor_visitSupportsRule__closure: function _EvaluateVisitor_visitSupportsRule__closure(t0, t1) {
  18059. this.$this = t0;
  18060. this.node = t1;
  18061. },
  18062. _EvaluateVisitor_visitSupportsRule_closure0: function _EvaluateVisitor_visitSupportsRule_closure0() {
  18063. },
  18064. _EvaluateVisitor__visitSupportsCondition_closure: function _EvaluateVisitor__visitSupportsCondition_closure(t0, t1) {
  18065. this._box_0 = t0;
  18066. this.$this = t1;
  18067. },
  18068. _EvaluateVisitor_visitVariableDeclaration_closure: function _EvaluateVisitor_visitVariableDeclaration_closure(t0, t1, t2) {
  18069. this._box_0 = t0;
  18070. this.$this = t1;
  18071. this.node = t2;
  18072. },
  18073. _EvaluateVisitor_visitVariableDeclaration_closure0: function _EvaluateVisitor_visitVariableDeclaration_closure0(t0, t1) {
  18074. this.$this = t0;
  18075. this.node = t1;
  18076. },
  18077. _EvaluateVisitor_visitVariableDeclaration_closure1: function _EvaluateVisitor_visitVariableDeclaration_closure1(t0, t1, t2) {
  18078. this.$this = t0;
  18079. this.node = t1;
  18080. this.value = t2;
  18081. },
  18082. _EvaluateVisitor_visitUseRule_closure: function _EvaluateVisitor_visitUseRule_closure(t0, t1) {
  18083. this.$this = t0;
  18084. this.node = t1;
  18085. },
  18086. _EvaluateVisitor_visitWarnRule_closure: function _EvaluateVisitor_visitWarnRule_closure(t0, t1) {
  18087. this.$this = t0;
  18088. this.node = t1;
  18089. },
  18090. _EvaluateVisitor_visitWhileRule_closure: function _EvaluateVisitor_visitWhileRule_closure(t0, t1) {
  18091. this.$this = t0;
  18092. this.node = t1;
  18093. },
  18094. _EvaluateVisitor_visitWhileRule__closure: function _EvaluateVisitor_visitWhileRule__closure(t0) {
  18095. this.$this = t0;
  18096. },
  18097. _EvaluateVisitor_visitBinaryOperationExpression_closure: function _EvaluateVisitor_visitBinaryOperationExpression_closure(t0, t1) {
  18098. this.$this = t0;
  18099. this.node = t1;
  18100. },
  18101. _EvaluateVisitor__slash_recommendation: function _EvaluateVisitor__slash_recommendation() {
  18102. },
  18103. _EvaluateVisitor_visitVariableExpression_closure: function _EvaluateVisitor_visitVariableExpression_closure(t0, t1) {
  18104. this.$this = t0;
  18105. this.node = t1;
  18106. },
  18107. _EvaluateVisitor_visitUnaryOperationExpression_closure: function _EvaluateVisitor_visitUnaryOperationExpression_closure(t0, t1) {
  18108. this.node = t0;
  18109. this.operand = t1;
  18110. },
  18111. _EvaluateVisitor_visitListExpression_closure: function _EvaluateVisitor_visitListExpression_closure(t0) {
  18112. this.$this = t0;
  18113. },
  18114. _EvaluateVisitor_visitFunctionExpression_closure: function _EvaluateVisitor_visitFunctionExpression_closure(t0, t1) {
  18115. this.$this = t0;
  18116. this.node = t1;
  18117. },
  18118. _EvaluateVisitor_visitFunctionExpression_closure0: function _EvaluateVisitor_visitFunctionExpression_closure0() {
  18119. },
  18120. _EvaluateVisitor_visitFunctionExpression_closure1: function _EvaluateVisitor_visitFunctionExpression_closure1(t0, t1, t2) {
  18121. this._box_0 = t0;
  18122. this.$this = t1;
  18123. this.node = t2;
  18124. },
  18125. _EvaluateVisitor__checkCalculationArguments_check: function _EvaluateVisitor__checkCalculationArguments_check(t0, t1) {
  18126. this.$this = t0;
  18127. this.node = t1;
  18128. },
  18129. _EvaluateVisitor__visitCalculationExpression_closure: function _EvaluateVisitor__visitCalculationExpression_closure(t0, t1, t2, t3) {
  18130. var _ = this;
  18131. _._box_0 = t0;
  18132. _.$this = t1;
  18133. _.node = t2;
  18134. _.inLegacySassFunction = t3;
  18135. },
  18136. _EvaluateVisitor_visitInterpolatedFunctionExpression_closure: function _EvaluateVisitor_visitInterpolatedFunctionExpression_closure(t0, t1, t2) {
  18137. this.$this = t0;
  18138. this.node = t1;
  18139. this.$function = t2;
  18140. },
  18141. _EvaluateVisitor__runUserDefinedCallable_closure: function _EvaluateVisitor__runUserDefinedCallable_closure(t0, t1, t2, t3, t4, t5) {
  18142. var _ = this;
  18143. _.$this = t0;
  18144. _.callable = t1;
  18145. _.evaluated = t2;
  18146. _.nodeWithSpan = t3;
  18147. _.run = t4;
  18148. _.V = t5;
  18149. },
  18150. _EvaluateVisitor__runUserDefinedCallable__closure: function _EvaluateVisitor__runUserDefinedCallable__closure(t0, t1, t2, t3, t4, t5) {
  18151. var _ = this;
  18152. _.$this = t0;
  18153. _.evaluated = t1;
  18154. _.callable = t2;
  18155. _.nodeWithSpan = t3;
  18156. _.run = t4;
  18157. _.V = t5;
  18158. },
  18159. _EvaluateVisitor__runUserDefinedCallable___closure: function _EvaluateVisitor__runUserDefinedCallable___closure(t0, t1, t2, t3, t4, t5) {
  18160. var _ = this;
  18161. _.$this = t0;
  18162. _.evaluated = t1;
  18163. _.callable = t2;
  18164. _.nodeWithSpan = t3;
  18165. _.run = t4;
  18166. _.V = t5;
  18167. },
  18168. _EvaluateVisitor__runUserDefinedCallable____closure: function _EvaluateVisitor__runUserDefinedCallable____closure() {
  18169. },
  18170. _EvaluateVisitor__runFunctionCallable_closure: function _EvaluateVisitor__runFunctionCallable_closure(t0, t1) {
  18171. this.$this = t0;
  18172. this.callable = t1;
  18173. },
  18174. _EvaluateVisitor__runBuiltInCallable_closure: function _EvaluateVisitor__runBuiltInCallable_closure(t0, t1, t2) {
  18175. this._box_0 = t0;
  18176. this.evaluated = t1;
  18177. this.namedSet = t2;
  18178. },
  18179. _EvaluateVisitor__runBuiltInCallable_closure0: function _EvaluateVisitor__runBuiltInCallable_closure0(t0, t1) {
  18180. this._box_0 = t0;
  18181. this.evaluated = t1;
  18182. },
  18183. _EvaluateVisitor__runBuiltInCallable_closure1: function _EvaluateVisitor__runBuiltInCallable_closure1() {
  18184. },
  18185. _EvaluateVisitor__evaluateArguments_closure: function _EvaluateVisitor__evaluateArguments_closure() {
  18186. },
  18187. _EvaluateVisitor__evaluateArguments_closure0: function _EvaluateVisitor__evaluateArguments_closure0(t0, t1) {
  18188. this.$this = t0;
  18189. this.restNodeForSpan = t1;
  18190. },
  18191. _EvaluateVisitor__evaluateArguments_closure1: function _EvaluateVisitor__evaluateArguments_closure1(t0, t1, t2, t3) {
  18192. var _ = this;
  18193. _.$this = t0;
  18194. _.named = t1;
  18195. _.restNodeForSpan = t2;
  18196. _.namedNodes = t3;
  18197. },
  18198. _EvaluateVisitor__evaluateArguments_closure2: function _EvaluateVisitor__evaluateArguments_closure2() {
  18199. },
  18200. _EvaluateVisitor__evaluateMacroArguments_closure: function _EvaluateVisitor__evaluateMacroArguments_closure(t0) {
  18201. this.restArgs = t0;
  18202. },
  18203. _EvaluateVisitor__evaluateMacroArguments_closure0: function _EvaluateVisitor__evaluateMacroArguments_closure0(t0, t1, t2) {
  18204. this.$this = t0;
  18205. this.restNodeForSpan = t1;
  18206. this.restArgs = t2;
  18207. },
  18208. _EvaluateVisitor__evaluateMacroArguments_closure1: function _EvaluateVisitor__evaluateMacroArguments_closure1(t0, t1, t2, t3) {
  18209. var _ = this;
  18210. _.$this = t0;
  18211. _.named = t1;
  18212. _.restNodeForSpan = t2;
  18213. _.restArgs = t3;
  18214. },
  18215. _EvaluateVisitor__evaluateMacroArguments_closure2: function _EvaluateVisitor__evaluateMacroArguments_closure2(t0, t1, t2) {
  18216. this.$this = t0;
  18217. this.keywordRestNodeForSpan = t1;
  18218. this.keywordRestArgs = t2;
  18219. },
  18220. _EvaluateVisitor__addRestMap_closure: function _EvaluateVisitor__addRestMap_closure(t0, t1, t2, t3, t4, t5) {
  18221. var _ = this;
  18222. _.$this = t0;
  18223. _.values = t1;
  18224. _.convert = t2;
  18225. _.expressionNode = t3;
  18226. _.map = t4;
  18227. _.nodeWithSpan = t5;
  18228. },
  18229. _EvaluateVisitor__verifyArguments_closure: function _EvaluateVisitor__verifyArguments_closure(t0, t1, t2) {
  18230. this.$arguments = t0;
  18231. this.positional = t1;
  18232. this.named = t2;
  18233. },
  18234. _EvaluateVisitor_visitCssAtRule_closure: function _EvaluateVisitor_visitCssAtRule_closure(t0, t1) {
  18235. this.$this = t0;
  18236. this.node = t1;
  18237. },
  18238. _EvaluateVisitor_visitCssAtRule_closure0: function _EvaluateVisitor_visitCssAtRule_closure0() {
  18239. },
  18240. _EvaluateVisitor_visitCssKeyframeBlock_closure: function _EvaluateVisitor_visitCssKeyframeBlock_closure(t0, t1) {
  18241. this.$this = t0;
  18242. this.node = t1;
  18243. },
  18244. _EvaluateVisitor_visitCssKeyframeBlock_closure0: function _EvaluateVisitor_visitCssKeyframeBlock_closure0() {
  18245. },
  18246. _EvaluateVisitor_visitCssMediaRule_closure: function _EvaluateVisitor_visitCssMediaRule_closure(t0, t1) {
  18247. this.$this = t0;
  18248. this.node = t1;
  18249. },
  18250. _EvaluateVisitor_visitCssMediaRule_closure0: function _EvaluateVisitor_visitCssMediaRule_closure0(t0, t1, t2, t3) {
  18251. var _ = this;
  18252. _.$this = t0;
  18253. _.mergedQueries = t1;
  18254. _.node = t2;
  18255. _.mergedSources = t3;
  18256. },
  18257. _EvaluateVisitor_visitCssMediaRule__closure: function _EvaluateVisitor_visitCssMediaRule__closure(t0, t1) {
  18258. this.$this = t0;
  18259. this.node = t1;
  18260. },
  18261. _EvaluateVisitor_visitCssMediaRule___closure: function _EvaluateVisitor_visitCssMediaRule___closure(t0, t1) {
  18262. this.$this = t0;
  18263. this.node = t1;
  18264. },
  18265. _EvaluateVisitor_visitCssMediaRule_closure1: function _EvaluateVisitor_visitCssMediaRule_closure1(t0) {
  18266. this.mergedSources = t0;
  18267. },
  18268. _EvaluateVisitor_visitCssStyleRule_closure0: function _EvaluateVisitor_visitCssStyleRule_closure0(t0, t1, t2) {
  18269. this.$this = t0;
  18270. this.rule = t1;
  18271. this.node = t2;
  18272. },
  18273. _EvaluateVisitor_visitCssStyleRule__closure: function _EvaluateVisitor_visitCssStyleRule__closure(t0, t1) {
  18274. this.$this = t0;
  18275. this.node = t1;
  18276. },
  18277. _EvaluateVisitor_visitCssStyleRule_closure: function _EvaluateVisitor_visitCssStyleRule_closure() {
  18278. },
  18279. _EvaluateVisitor_visitCssSupportsRule_closure: function _EvaluateVisitor_visitCssSupportsRule_closure(t0, t1) {
  18280. this.$this = t0;
  18281. this.node = t1;
  18282. },
  18283. _EvaluateVisitor_visitCssSupportsRule__closure: function _EvaluateVisitor_visitCssSupportsRule__closure(t0, t1) {
  18284. this.$this = t0;
  18285. this.node = t1;
  18286. },
  18287. _EvaluateVisitor_visitCssSupportsRule_closure0: function _EvaluateVisitor_visitCssSupportsRule_closure0() {
  18288. },
  18289. _EvaluateVisitor__performInterpolationHelper_closure: function _EvaluateVisitor__performInterpolationHelper_closure(t0) {
  18290. this.interpolation = t0;
  18291. },
  18292. _EvaluateVisitor__serialize_closure: function _EvaluateVisitor__serialize_closure(t0, t1) {
  18293. this.value = t0;
  18294. this.quote = t1;
  18295. },
  18296. _EvaluateVisitor__expressionNode_closure: function _EvaluateVisitor__expressionNode_closure(t0, t1) {
  18297. this.$this = t0;
  18298. this.expression = t1;
  18299. },
  18300. _EvaluateVisitor__withoutSlash_recommendation: function _EvaluateVisitor__withoutSlash_recommendation() {
  18301. },
  18302. _EvaluateVisitor__stackFrame_closure: function _EvaluateVisitor__stackFrame_closure(t0) {
  18303. this.$this = t0;
  18304. },
  18305. _ImportedCssVisitor: function _ImportedCssVisitor(t0) {
  18306. this._visitor = t0;
  18307. },
  18308. _ImportedCssVisitor_visitCssAtRule_closure: function _ImportedCssVisitor_visitCssAtRule_closure() {
  18309. },
  18310. _ImportedCssVisitor_visitCssMediaRule_closure: function _ImportedCssVisitor_visitCssMediaRule_closure(t0) {
  18311. this.hasBeenMerged = t0;
  18312. },
  18313. _ImportedCssVisitor_visitCssStyleRule_closure: function _ImportedCssVisitor_visitCssStyleRule_closure() {
  18314. },
  18315. _ImportedCssVisitor_visitCssSupportsRule_closure: function _ImportedCssVisitor_visitCssSupportsRule_closure() {
  18316. },
  18317. _EvaluationContext: function _EvaluationContext(t0, t1) {
  18318. this._visitor = t0;
  18319. this._defaultWarnNodeWithSpan = t1;
  18320. },
  18321. EveryCssVisitor: function EveryCssVisitor() {
  18322. },
  18323. EveryCssVisitor_visitCssAtRule_closure: function EveryCssVisitor_visitCssAtRule_closure(t0) {
  18324. this.$this = t0;
  18325. },
  18326. EveryCssVisitor_visitCssKeyframeBlock_closure: function EveryCssVisitor_visitCssKeyframeBlock_closure(t0) {
  18327. this.$this = t0;
  18328. },
  18329. EveryCssVisitor_visitCssMediaRule_closure: function EveryCssVisitor_visitCssMediaRule_closure(t0) {
  18330. this.$this = t0;
  18331. },
  18332. EveryCssVisitor_visitCssStyleRule_closure: function EveryCssVisitor_visitCssStyleRule_closure(t0) {
  18333. this.$this = t0;
  18334. },
  18335. EveryCssVisitor_visitCssStylesheet_closure: function EveryCssVisitor_visitCssStylesheet_closure(t0) {
  18336. this.$this = t0;
  18337. },
  18338. EveryCssVisitor_visitCssSupportsRule_closure: function EveryCssVisitor_visitCssSupportsRule_closure(t0) {
  18339. this.$this = t0;
  18340. },
  18341. expressionToCalc(expression) {
  18342. var t4,
  18343. t1 = A._setArrayType([B.C__MakeExpressionCalculationSafe.visitBinaryOperationExpression$1(expression)], type$.JSArray_Expression),
  18344. t2 = expression.get$span(0),
  18345. t3 = type$.Expression;
  18346. t1 = A.List_List$unmodifiable(t1, t3);
  18347. t3 = A.ConstantMap_ConstantMap$from(B.Map_empty6, type$.String, t3);
  18348. t4 = expression.get$span(0);
  18349. return new A.FunctionExpression(null, A.stringReplaceAllUnchecked("calc", "_", "-"), "calc", new A.ArgumentInvocation(t1, t3, null, null, t2), t4);
  18350. },
  18351. _MakeExpressionCalculationSafe: function _MakeExpressionCalculationSafe() {
  18352. },
  18353. __MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor: function __MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor() {
  18354. },
  18355. _FindDependenciesVisitor: function _FindDependenciesVisitor(t0, t1, t2, t3, t4) {
  18356. var _ = this;
  18357. _._find_dependencies$_uses = t0;
  18358. _._find_dependencies$_forwards = t1;
  18359. _._metaLoadCss = t2;
  18360. _._imports = t3;
  18361. _._metaNamespaces = t4;
  18362. },
  18363. DependencyReport: function DependencyReport(t0, t1, t2, t3) {
  18364. var _ = this;
  18365. _.uses = t0;
  18366. _.forwards = t1;
  18367. _.metaLoadCss = t2;
  18368. _.imports = t3;
  18369. },
  18370. __FindDependenciesVisitor_Object_RecursiveStatementVisitor: function __FindDependenciesVisitor_Object_RecursiveStatementVisitor() {
  18371. },
  18372. RecursiveStatementVisitor: function RecursiveStatementVisitor() {
  18373. },
  18374. ReplaceExpressionVisitor: function ReplaceExpressionVisitor() {
  18375. },
  18376. ReplaceExpressionVisitor_visitListExpression_closure: function ReplaceExpressionVisitor_visitListExpression_closure(t0) {
  18377. this.$this = t0;
  18378. },
  18379. ReplaceExpressionVisitor_visitArgumentInvocation_closure: function ReplaceExpressionVisitor_visitArgumentInvocation_closure(t0) {
  18380. this.$this = t0;
  18381. },
  18382. ReplaceExpressionVisitor_visitInterpolation_closure: function ReplaceExpressionVisitor_visitInterpolation_closure(t0) {
  18383. this.$this = t0;
  18384. },
  18385. SelectorSearchVisitor: function SelectorSearchVisitor() {
  18386. },
  18387. SelectorSearchVisitor_visitComplexSelector_closure: function SelectorSearchVisitor_visitComplexSelector_closure(t0) {
  18388. this.$this = t0;
  18389. },
  18390. SelectorSearchVisitor_visitCompoundSelector_closure: function SelectorSearchVisitor_visitCompoundSelector_closure(t0) {
  18391. this.$this = t0;
  18392. },
  18393. serialize(node, charset, indentWidth, inspect, lineFeed, sourceMap, style, useSpaces) {
  18394. var t1, css, t2, prefix,
  18395. visitor = A._SerializeVisitor$(2, inspect, lineFeed, true, sourceMap, style, true);
  18396. node.accept$1(visitor);
  18397. t1 = visitor._serialize$_buffer;
  18398. css = t1.toString$0(0);
  18399. if (charset) {
  18400. t2 = new A.CodeUnits(css);
  18401. t2 = t2.any$1(t2, new A.serialize_closure());
  18402. } else
  18403. t2 = false;
  18404. if (t2)
  18405. prefix = style === B.OutputStyle_1 ? "\ufeff" : '@charset "UTF-8";\n';
  18406. else
  18407. prefix = "";
  18408. t1 = sourceMap ? t1.buildSourceMap$1$prefix(prefix) : null;
  18409. return new A._Record_2_sourceMap(prefix + css, t1);
  18410. },
  18411. serializeValue(value, inspect, quote) {
  18412. var visitor = A._SerializeVisitor$(null, inspect, null, quote, false, null, true);
  18413. value.accept$1(visitor);
  18414. return visitor._serialize$_buffer.toString$0(0);
  18415. },
  18416. serializeSelector(selector, inspect) {
  18417. var visitor = A._SerializeVisitor$(null, true, null, true, false, null, true);
  18418. selector.accept$1(visitor);
  18419. return visitor._serialize$_buffer.toString$0(0);
  18420. },
  18421. _SerializeVisitor$(indentWidth, inspect, lineFeed, quote, sourceMap, style, useSpaces) {
  18422. var t1 = sourceMap ? new A.SourceMapBuffer(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Entry)) : new A.NoSourceMapBuffer(new A.StringBuffer("")),
  18423. t2 = style == null ? B.OutputStyle_0 : style,
  18424. t3 = indentWidth == null ? 2 : indentWidth;
  18425. A.RangeError_checkValueInInterval(t3, 0, 10, "indentWidth");
  18426. return new A._SerializeVisitor(t1, t2, inspect, quote, 32, t3, B.LineFeed_lf);
  18427. },
  18428. serialize_closure: function serialize_closure() {
  18429. },
  18430. _SerializeVisitor: function _SerializeVisitor(t0, t1, t2, t3, t4, t5, t6) {
  18431. var _ = this;
  18432. _._serialize$_buffer = t0;
  18433. _._indentation = 0;
  18434. _._style = t1;
  18435. _._inspect = t2;
  18436. _._quote = t3;
  18437. _._indentCharacter = t4;
  18438. _._indentWidth = t5;
  18439. _._serialize$_lineFeed = t6;
  18440. },
  18441. _SerializeVisitor_visitCssComment_closure: function _SerializeVisitor_visitCssComment_closure(t0, t1) {
  18442. this.$this = t0;
  18443. this.node = t1;
  18444. },
  18445. _SerializeVisitor_visitCssAtRule_closure: function _SerializeVisitor_visitCssAtRule_closure(t0, t1) {
  18446. this.$this = t0;
  18447. this.node = t1;
  18448. },
  18449. _SerializeVisitor_visitCssMediaRule_closure: function _SerializeVisitor_visitCssMediaRule_closure(t0, t1) {
  18450. this.$this = t0;
  18451. this.node = t1;
  18452. },
  18453. _SerializeVisitor_visitCssImport_closure: function _SerializeVisitor_visitCssImport_closure(t0, t1) {
  18454. this.$this = t0;
  18455. this.node = t1;
  18456. },
  18457. _SerializeVisitor_visitCssImport__closure: function _SerializeVisitor_visitCssImport__closure(t0, t1) {
  18458. this.$this = t0;
  18459. this.node = t1;
  18460. },
  18461. _SerializeVisitor_visitCssKeyframeBlock_closure: function _SerializeVisitor_visitCssKeyframeBlock_closure(t0, t1) {
  18462. this.$this = t0;
  18463. this.node = t1;
  18464. },
  18465. _SerializeVisitor_visitCssStyleRule_closure: function _SerializeVisitor_visitCssStyleRule_closure(t0, t1) {
  18466. this.$this = t0;
  18467. this.node = t1;
  18468. },
  18469. _SerializeVisitor_visitCssSupportsRule_closure: function _SerializeVisitor_visitCssSupportsRule_closure(t0, t1) {
  18470. this.$this = t0;
  18471. this.node = t1;
  18472. },
  18473. _SerializeVisitor_visitCssDeclaration_closure: function _SerializeVisitor_visitCssDeclaration_closure(t0, t1) {
  18474. this.$this = t0;
  18475. this.node = t1;
  18476. },
  18477. _SerializeVisitor_visitCssDeclaration_closure0: function _SerializeVisitor_visitCssDeclaration_closure0(t0, t1) {
  18478. this.$this = t0;
  18479. this.node = t1;
  18480. },
  18481. _SerializeVisitor_visitList_closure: function _SerializeVisitor_visitList_closure() {
  18482. },
  18483. _SerializeVisitor_visitList_closure0: function _SerializeVisitor_visitList_closure0(t0, t1) {
  18484. this.$this = t0;
  18485. this.value = t1;
  18486. },
  18487. _SerializeVisitor_visitList_closure1: function _SerializeVisitor_visitList_closure1(t0) {
  18488. this.$this = t0;
  18489. },
  18490. _SerializeVisitor_visitMap_closure: function _SerializeVisitor_visitMap_closure(t0) {
  18491. this.$this = t0;
  18492. },
  18493. _SerializeVisitor_visitSelectorList_closure: function _SerializeVisitor_visitSelectorList_closure() {
  18494. },
  18495. _SerializeVisitor__write_closure: function _SerializeVisitor__write_closure(t0, t1) {
  18496. this.$this = t0;
  18497. this.value = t1;
  18498. },
  18499. _SerializeVisitor__visitChildren_closure: function _SerializeVisitor__visitChildren_closure(t0, t1) {
  18500. this.$this = t0;
  18501. this.child = t1;
  18502. },
  18503. _SerializeVisitor__visitChildren_closure0: function _SerializeVisitor__visitChildren_closure0(t0, t1) {
  18504. this.$this = t0;
  18505. this.child = t1;
  18506. },
  18507. OutputStyle: function OutputStyle(t0) {
  18508. this._name = t0;
  18509. },
  18510. LineFeed: function LineFeed(t0) {
  18511. this._name = t0;
  18512. },
  18513. StatementSearchVisitor: function StatementSearchVisitor() {
  18514. },
  18515. StatementSearchVisitor_visitIfRule_closure: function StatementSearchVisitor_visitIfRule_closure(t0) {
  18516. this.$this = t0;
  18517. },
  18518. StatementSearchVisitor_visitIfRule__closure0: function StatementSearchVisitor_visitIfRule__closure0(t0) {
  18519. this.$this = t0;
  18520. },
  18521. StatementSearchVisitor_visitIfRule_closure0: function StatementSearchVisitor_visitIfRule_closure0(t0) {
  18522. this.$this = t0;
  18523. },
  18524. StatementSearchVisitor_visitIfRule__closure: function StatementSearchVisitor_visitIfRule__closure(t0) {
  18525. this.$this = t0;
  18526. },
  18527. StatementSearchVisitor_visitChildren_closure: function StatementSearchVisitor_visitChildren_closure(t0) {
  18528. this.$this = t0;
  18529. },
  18530. Entry: function Entry(t0, t1, t2) {
  18531. this.source = t0;
  18532. this.target = t1;
  18533. this.identifierName = t2;
  18534. },
  18535. SingleMapping_SingleMapping$fromEntries(entries) {
  18536. var lines, t1, t2, urls, names, files, targetEntries, t3, lineNum, _i, sourceEntry, t4, t5, sourceUrl, t6, urlId,
  18537. sourceEntries = J.toList$0$ax(entries);
  18538. B.JSArray_methods.sort$0(sourceEntries);
  18539. lines = A._setArrayType([], type$.JSArray_TargetLineEntry);
  18540. t1 = type$.String;
  18541. t2 = type$.int;
  18542. urls = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  18543. names = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  18544. files = A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.SourceFile);
  18545. targetEntries = A._Cell$();
  18546. for (t2 = sourceEntries.length, t3 = type$.JSArray_TargetEntry, lineNum = null, _i = 0; _i < sourceEntries.length; sourceEntries.length === t2 || (0, A.throwConcurrentModificationError)(sourceEntries), ++_i) {
  18547. sourceEntry = sourceEntries[_i];
  18548. if (lineNum == null || sourceEntry.target.line > lineNum) {
  18549. lineNum = sourceEntry.target.line;
  18550. t4 = A._setArrayType([], t3);
  18551. targetEntries.__late_helper$_value = t4;
  18552. lines.push(new A.TargetLineEntry(lineNum, t4));
  18553. }
  18554. t4 = sourceEntry.source;
  18555. t5 = t4.file;
  18556. sourceUrl = t5.url;
  18557. t6 = sourceUrl == null ? "" : sourceUrl.toString$0(0);
  18558. urlId = urls.putIfAbsent$2(t6, new A.SingleMapping_SingleMapping$fromEntries_closure(urls));
  18559. files.putIfAbsent$2(urlId, new A.SingleMapping_SingleMapping$fromEntries_closure0(sourceEntry));
  18560. t6 = targetEntries.__late_helper$_value;
  18561. if (t6 === targetEntries)
  18562. A.throwExpression(A.LateError$localNI(""));
  18563. t4 = t4.offset;
  18564. J.add$1$ax(t6, new A.TargetEntry(sourceEntry.target.column, urlId, t5.getLine$1(t4), t5.getColumn$1(t4), null));
  18565. }
  18566. t2 = urls.get$values(0);
  18567. t2 = A.MappedIterable_MappedIterable(t2, new A.SingleMapping_SingleMapping$fromEntries_closure1(files), A._instanceType(t2)._eval$1("Iterable.E"), type$.nullable_SourceFile);
  18568. t2 = A.List_List$of(t2, true, A._instanceType(t2)._eval$1("Iterable.E"));
  18569. t3 = urls.$ti._eval$1("LinkedHashMapKeyIterable<1>");
  18570. t4 = names.$ti._eval$1("LinkedHashMapKeyIterable<1>");
  18571. return new A.SingleMapping(A.List_List$of(new A.LinkedHashMapKeyIterable(urls, t3), true, t3._eval$1("Iterable.E")), A.List_List$of(new A.LinkedHashMapKeyIterable(names, t4), true, t4._eval$1("Iterable.E")), t2, lines, null, A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.dynamic));
  18572. },
  18573. Mapping: function Mapping() {
  18574. },
  18575. SingleMapping: function SingleMapping(t0, t1, t2, t3, t4, t5) {
  18576. var _ = this;
  18577. _.urls = t0;
  18578. _.names = t1;
  18579. _.files = t2;
  18580. _.lines = t3;
  18581. _.targetUrl = t4;
  18582. _.sourceRoot = null;
  18583. _.extensions = t5;
  18584. },
  18585. SingleMapping_SingleMapping$fromEntries_closure: function SingleMapping_SingleMapping$fromEntries_closure(t0) {
  18586. this.urls = t0;
  18587. },
  18588. SingleMapping_SingleMapping$fromEntries_closure0: function SingleMapping_SingleMapping$fromEntries_closure0(t0) {
  18589. this.sourceEntry = t0;
  18590. },
  18591. SingleMapping_SingleMapping$fromEntries_closure1: function SingleMapping_SingleMapping$fromEntries_closure1(t0) {
  18592. this.files = t0;
  18593. },
  18594. SingleMapping_toJson_closure: function SingleMapping_toJson_closure() {
  18595. },
  18596. SingleMapping_toJson_closure0: function SingleMapping_toJson_closure0(t0) {
  18597. this.result = t0;
  18598. },
  18599. TargetLineEntry: function TargetLineEntry(t0, t1) {
  18600. this.line = t0;
  18601. this.entries = t1;
  18602. },
  18603. TargetEntry: function TargetEntry(t0, t1, t2, t3, t4) {
  18604. var _ = this;
  18605. _.column = t0;
  18606. _.sourceUrlId = t1;
  18607. _.sourceLine = t2;
  18608. _.sourceColumn = t3;
  18609. _.sourceNameId = t4;
  18610. },
  18611. SourceFile$fromString(text, url) {
  18612. var t1 = new A.CodeUnits(text),
  18613. t2 = A._setArrayType([0], type$.JSArray_int),
  18614. t3 = typeof url == "string" ? A.Uri_parse(url) : type$.nullable_Uri._as(url);
  18615. t2 = new A.SourceFile(t3, t2, new Uint32Array(A._ensureNativeList(t1.toList$0(t1))));
  18616. t2.SourceFile$decoded$2$url(t1, url);
  18617. return t2;
  18618. },
  18619. SourceFile$decoded(decodedChars, url) {
  18620. var t1 = A._setArrayType([0], type$.JSArray_int),
  18621. t2 = typeof url == "string" ? A.Uri_parse(url) : type$.nullable_Uri._as(url);
  18622. t1 = new A.SourceFile(t2, t1, new Uint32Array(A._ensureNativeList(J.toList$0$ax(decodedChars))));
  18623. t1.SourceFile$decoded$2$url(decodedChars, url);
  18624. return t1;
  18625. },
  18626. FileLocation$_(file, offset) {
  18627. if (offset < 0)
  18628. A.throwExpression(A.RangeError$("Offset may not be negative, was " + offset + "."));
  18629. else if (offset > file._decodedChars.length)
  18630. A.throwExpression(A.RangeError$("Offset " + offset + string$.x20must_n + file.get$length(0) + "."));
  18631. return new A.FileLocation(file, offset);
  18632. },
  18633. _FileSpan$(file, _start, _end) {
  18634. if (_end < _start)
  18635. A.throwExpression(A.ArgumentError$("End " + _end + " must come after start " + _start + ".", null));
  18636. else if (_end > file._decodedChars.length)
  18637. A.throwExpression(A.RangeError$("End " + _end + string$.x20must_n + file.get$length(0) + "."));
  18638. else if (_start < 0)
  18639. A.throwExpression(A.RangeError$("Start may not be negative, was " + _start + "."));
  18640. return new A._FileSpan(file, _start, _end);
  18641. },
  18642. FileSpanExtension_subspan(_this, start, end) {
  18643. var t1, startOffset, t2;
  18644. A.RangeError_checkValidRange(start, end, _this.get$length(_this));
  18645. if (start === 0)
  18646. t1 = end == null || end === _this.get$length(_this);
  18647. else
  18648. t1 = false;
  18649. if (t1)
  18650. return _this;
  18651. startOffset = _this.get$start(_this).offset;
  18652. t1 = _this.get$file(_this);
  18653. t2 = end == null ? _this.get$end(_this).offset : startOffset + end;
  18654. return t1.span$2(0, startOffset + start, t2);
  18655. },
  18656. SourceFile: function SourceFile(t0, t1, t2) {
  18657. var _ = this;
  18658. _.url = t0;
  18659. _._lineStarts = t1;
  18660. _._decodedChars = t2;
  18661. _._cachedLine = null;
  18662. },
  18663. FileLocation: function FileLocation(t0, t1) {
  18664. this.file = t0;
  18665. this.offset = t1;
  18666. },
  18667. _FileSpan: function _FileSpan(t0, t1, t2) {
  18668. this.file = t0;
  18669. this._file$_start = t1;
  18670. this._end = t2;
  18671. },
  18672. Highlighter$(span, color) {
  18673. var t1 = A.Highlighter__collateLines(A._setArrayType([A._Highlight$(span, null, true)], type$.JSArray__Highlight)),
  18674. t2 = new A.Highlighter_closure(color).call$0(),
  18675. t3 = B.JSInt_methods.toString$0(B.JSArray_methods.get$last(t1).number + 1),
  18676. t4 = A.Highlighter__contiguous(t1) ? 0 : 3,
  18677. t5 = A._arrayInstanceType(t1);
  18678. 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(""));
  18679. },
  18680. Highlighter$multiple(primarySpan, primaryLabel, secondarySpans, color, primaryColor, secondaryColor) {
  18681. var t2, t3, t4, t5, t6,
  18682. t1 = A._setArrayType([A._Highlight$(primarySpan, primaryLabel, true)], type$.JSArray__Highlight);
  18683. for (t2 = secondarySpans.get$entries(secondarySpans), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
  18684. t3 = t2.get$current(t2);
  18685. t1.push(A._Highlight$(t3.key, t3.value, false));
  18686. }
  18687. t1 = A.Highlighter__collateLines(t1);
  18688. if (color)
  18689. t2 = primaryColor == null ? "\x1b[31m" : primaryColor;
  18690. else
  18691. t2 = null;
  18692. if (color)
  18693. t3 = "\x1b[34m";
  18694. else
  18695. t3 = null;
  18696. t4 = B.JSInt_methods.toString$0(B.JSArray_methods.get$last(t1).number + 1);
  18697. t5 = A.Highlighter__contiguous(t1) ? 0 : 3;
  18698. t6 = A._arrayInstanceType(t1);
  18699. 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(""));
  18700. },
  18701. Highlighter__contiguous(lines) {
  18702. var i, thisLine, nextLine;
  18703. for (i = 0; i < lines.length - 1;) {
  18704. thisLine = lines[i];
  18705. ++i;
  18706. nextLine = lines[i];
  18707. if (thisLine.number + 1 !== nextLine.number && J.$eq$(thisLine.url, nextLine.url))
  18708. return false;
  18709. }
  18710. return true;
  18711. },
  18712. Highlighter__collateLines(highlights) {
  18713. var t1, t2, t3,
  18714. highlightsByUrl = A.groupBy(highlights, new A.Highlighter__collateLines_closure(), type$._Highlight, type$.Object);
  18715. for (t1 = highlightsByUrl.get$values(0), t2 = A._instanceType(t1), t2 = t2._eval$1("@<1>")._bind$1(t2._rest[1]), t1 = new A.MappedIterator(J.get$iterator$ax(t1.__internal$_iterable), t1._f, t2._eval$1("MappedIterator<1,2>")), t2 = t2._rest[1]; t1.moveNext$0();) {
  18716. t3 = t1.__internal$_current;
  18717. if (t3 == null)
  18718. t3 = t2._as(t3);
  18719. J.sort$1$ax(t3, new A.Highlighter__collateLines_closure0());
  18720. }
  18721. t1 = highlightsByUrl.get$entries(0);
  18722. t2 = A._instanceType(t1)._eval$1("ExpandIterable<Iterable.E,_Line>");
  18723. return A.List_List$of(new A.ExpandIterable(t1, new A.Highlighter__collateLines_closure1(), t2), true, t2._eval$1("Iterable.E"));
  18724. },
  18725. _Highlight$(span, label, primary) {
  18726. var t2,
  18727. t1 = new A._Highlight_closure(span).call$0();
  18728. if (label == null)
  18729. t2 = null;
  18730. else
  18731. t2 = A.stringReplaceAllUnchecked(label, "\r\n", "\n");
  18732. return new A._Highlight(t1, primary, t2);
  18733. },
  18734. _Highlight__normalizeNewlines(span) {
  18735. var endOffset, t1, i, t2, t3, t4,
  18736. text = span.get$text();
  18737. if (!B.JSString_methods.contains$1(text, "\r\n"))
  18738. return span;
  18739. endOffset = span.get$end(span).get$offset();
  18740. for (t1 = text.length - 1, i = 0; i < t1; ++i)
  18741. if (text.charCodeAt(i) === 13 && text.charCodeAt(i + 1) === 10)
  18742. --endOffset;
  18743. t1 = span.get$start(span);
  18744. t2 = span.get$sourceUrl(span);
  18745. t3 = span.get$end(span).get$line();
  18746. t2 = A.SourceLocation$(endOffset, span.get$end(span).get$column(), t3, t2);
  18747. t3 = A.stringReplaceAllUnchecked(text, "\r\n", "\n");
  18748. t4 = span.get$context(span);
  18749. return A.SourceSpanWithContext$(t1, t2, t3, A.stringReplaceAllUnchecked(t4, "\r\n", "\n"));
  18750. },
  18751. _Highlight__normalizeTrailingNewline(span) {
  18752. var context, text, start, end, t1, t2, t3;
  18753. if (!B.JSString_methods.endsWith$1(span.get$context(span), "\n"))
  18754. return span;
  18755. if (B.JSString_methods.endsWith$1(span.get$text(), "\n\n"))
  18756. return span;
  18757. context = B.JSString_methods.substring$2(span.get$context(span), 0, span.get$context(span).length - 1);
  18758. text = span.get$text();
  18759. start = span.get$start(span);
  18760. end = span.get$end(span);
  18761. if (B.JSString_methods.endsWith$1(span.get$text(), "\n")) {
  18762. t1 = A.findLineStart(span.get$context(span), span.get$text(), span.get$start(span).get$column());
  18763. t1.toString;
  18764. t1 = t1 + span.get$start(span).get$column() + span.get$length(span) === span.get$context(span).length;
  18765. } else
  18766. t1 = false;
  18767. if (t1) {
  18768. text = B.JSString_methods.substring$2(span.get$text(), 0, span.get$text().length - 1);
  18769. if (text.length === 0)
  18770. end = start;
  18771. else {
  18772. t1 = span.get$end(span).get$offset();
  18773. t2 = span.get$sourceUrl(span);
  18774. t3 = span.get$end(span).get$line();
  18775. end = A.SourceLocation$(t1 - 1, A._Highlight__lastLineLength(context), t3 - 1, t2);
  18776. start = span.get$start(span).get$offset() === span.get$end(span).get$offset() ? end : span.get$start(span);
  18777. }
  18778. }
  18779. return A.SourceSpanWithContext$(start, end, text, context);
  18780. },
  18781. _Highlight__normalizeEndOfLine(span) {
  18782. var text, t1, t2, t3, t4;
  18783. if (span.get$end(span).get$column() !== 0)
  18784. return span;
  18785. if (span.get$end(span).get$line() === span.get$start(span).get$line())
  18786. return span;
  18787. text = B.JSString_methods.substring$2(span.get$text(), 0, span.get$text().length - 1);
  18788. t1 = span.get$start(span);
  18789. t2 = span.get$end(span).get$offset();
  18790. t3 = span.get$sourceUrl(span);
  18791. t4 = span.get$end(span).get$line();
  18792. t3 = A.SourceLocation$(t2 - 1, text.length - B.JSString_methods.lastIndexOf$1(text, "\n") - 1, t4 - 1, t3);
  18793. 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));
  18794. },
  18795. _Highlight__lastLineLength(text) {
  18796. var t1 = text.length;
  18797. if (t1 === 0)
  18798. return 0;
  18799. else if (text.charCodeAt(t1 - 1) === 10)
  18800. return t1 === 1 ? 0 : t1 - B.JSString_methods.lastIndexOf$2(text, "\n", t1 - 2) - 1;
  18801. else
  18802. return t1 - B.JSString_methods.lastIndexOf$1(text, "\n") - 1;
  18803. },
  18804. Highlighter: function Highlighter(t0, t1, t2, t3, t4, t5, t6) {
  18805. var _ = this;
  18806. _._lines = t0;
  18807. _._primaryColor = t1;
  18808. _._secondaryColor = t2;
  18809. _._paddingBeforeSidebar = t3;
  18810. _._maxMultilineSpans = t4;
  18811. _._multipleFiles = t5;
  18812. _._highlighter$_buffer = t6;
  18813. },
  18814. Highlighter_closure: function Highlighter_closure(t0) {
  18815. this.color = t0;
  18816. },
  18817. Highlighter$__closure: function Highlighter$__closure() {
  18818. },
  18819. Highlighter$___closure: function Highlighter$___closure() {
  18820. },
  18821. Highlighter$__closure0: function Highlighter$__closure0() {
  18822. },
  18823. Highlighter__collateLines_closure: function Highlighter__collateLines_closure() {
  18824. },
  18825. Highlighter__collateLines_closure0: function Highlighter__collateLines_closure0() {
  18826. },
  18827. Highlighter__collateLines_closure1: function Highlighter__collateLines_closure1() {
  18828. },
  18829. Highlighter__collateLines__closure: function Highlighter__collateLines__closure(t0) {
  18830. this.line = t0;
  18831. },
  18832. Highlighter_highlight_closure: function Highlighter_highlight_closure() {
  18833. },
  18834. Highlighter__writeFileStart_closure: function Highlighter__writeFileStart_closure(t0) {
  18835. this.$this = t0;
  18836. },
  18837. Highlighter__writeMultilineHighlights_closure: function Highlighter__writeMultilineHighlights_closure(t0, t1, t2) {
  18838. this.$this = t0;
  18839. this.startLine = t1;
  18840. this.line = t2;
  18841. },
  18842. Highlighter__writeMultilineHighlights_closure0: function Highlighter__writeMultilineHighlights_closure0(t0, t1) {
  18843. this.$this = t0;
  18844. this.highlight = t1;
  18845. },
  18846. Highlighter__writeMultilineHighlights_closure1: function Highlighter__writeMultilineHighlights_closure1(t0) {
  18847. this.$this = t0;
  18848. },
  18849. Highlighter__writeMultilineHighlights_closure2: function Highlighter__writeMultilineHighlights_closure2(t0, t1, t2, t3, t4, t5, t6) {
  18850. var _ = this;
  18851. _._box_0 = t0;
  18852. _.$this = t1;
  18853. _.current = t2;
  18854. _.startLine = t3;
  18855. _.line = t4;
  18856. _.highlight = t5;
  18857. _.endLine = t6;
  18858. },
  18859. Highlighter__writeMultilineHighlights__closure: function Highlighter__writeMultilineHighlights__closure(t0, t1) {
  18860. this._box_0 = t0;
  18861. this.$this = t1;
  18862. },
  18863. Highlighter__writeMultilineHighlights__closure0: function Highlighter__writeMultilineHighlights__closure0(t0, t1) {
  18864. this.$this = t0;
  18865. this.vertical = t1;
  18866. },
  18867. Highlighter__writeHighlightedText_closure: function Highlighter__writeHighlightedText_closure(t0, t1, t2, t3) {
  18868. var _ = this;
  18869. _.$this = t0;
  18870. _.text = t1;
  18871. _.startColumn = t2;
  18872. _.endColumn = t3;
  18873. },
  18874. Highlighter__writeIndicator_closure: function Highlighter__writeIndicator_closure(t0, t1, t2) {
  18875. this.$this = t0;
  18876. this.line = t1;
  18877. this.highlight = t2;
  18878. },
  18879. Highlighter__writeIndicator_closure0: function Highlighter__writeIndicator_closure0(t0, t1, t2) {
  18880. this.$this = t0;
  18881. this.line = t1;
  18882. this.highlight = t2;
  18883. },
  18884. Highlighter__writeIndicator_closure1: function Highlighter__writeIndicator_closure1(t0, t1, t2, t3) {
  18885. var _ = this;
  18886. _.$this = t0;
  18887. _.coversWholeLine = t1;
  18888. _.line = t2;
  18889. _.highlight = t3;
  18890. },
  18891. Highlighter__writeLabel_closure: function Highlighter__writeLabel_closure(t0, t1) {
  18892. this.$this = t0;
  18893. this.lines = t1;
  18894. },
  18895. Highlighter__writeLabel_closure0: function Highlighter__writeLabel_closure0(t0, t1) {
  18896. this.$this = t0;
  18897. this.text = t1;
  18898. },
  18899. Highlighter__writeSidebar_closure: function Highlighter__writeSidebar_closure(t0, t1, t2) {
  18900. this._box_0 = t0;
  18901. this.$this = t1;
  18902. this.end = t2;
  18903. },
  18904. _Highlight: function _Highlight(t0, t1, t2) {
  18905. this.span = t0;
  18906. this.isPrimary = t1;
  18907. this.label = t2;
  18908. },
  18909. _Highlight_closure: function _Highlight_closure(t0) {
  18910. this.span = t0;
  18911. },
  18912. _Line: function _Line(t0, t1, t2, t3) {
  18913. var _ = this;
  18914. _.text = t0;
  18915. _.number = t1;
  18916. _.url = t2;
  18917. _.highlights = t3;
  18918. },
  18919. SourceLocation$(offset, column, line, sourceUrl) {
  18920. var t1 = line == null,
  18921. t2 = t1 ? 0 : line,
  18922. t3 = column == null,
  18923. t4 = t3 ? offset : column;
  18924. if (offset < 0)
  18925. A.throwExpression(A.RangeError$("Offset may not be negative, was " + offset + "."));
  18926. else if (!t1 && line < 0)
  18927. A.throwExpression(A.RangeError$("Line may not be negative, was " + A.S(line) + "."));
  18928. else if (!t3 && column < 0)
  18929. A.throwExpression(A.RangeError$("Column may not be negative, was " + A.S(column) + "."));
  18930. return new A.SourceLocation(sourceUrl, offset, t2, t4);
  18931. },
  18932. SourceLocation: function SourceLocation(t0, t1, t2, t3) {
  18933. var _ = this;
  18934. _.sourceUrl = t0;
  18935. _.offset = t1;
  18936. _.line = t2;
  18937. _.column = t3;
  18938. },
  18939. SourceLocationMixin: function SourceLocationMixin() {
  18940. },
  18941. SourceSpanExtension_messageMultiple(_this, message, label, secondarySpans, color, primaryColor, secondaryColor) {
  18942. var t2, t3,
  18943. t1 = _this.get$start(_this);
  18944. t1 = t1.file.getLine$1(t1.offset);
  18945. t2 = _this.get$start(_this);
  18946. t2 = "" + ("line " + (t1 + 1) + ", column " + (t2.file.getColumn$1(t2.offset) + 1));
  18947. if (_this.get$sourceUrl(_this) != null) {
  18948. t1 = _this.get$sourceUrl(_this);
  18949. t3 = $.$get$context();
  18950. t1.toString;
  18951. t1 = t2 + (" of " + t3.prettyUri$1(t1));
  18952. } else
  18953. t1 = t2;
  18954. t1 = t1 + (": " + message + "\n") + A.Highlighter$multiple(_this, label, secondarySpans, color, primaryColor, secondaryColor).highlight$0();
  18955. return t1.charCodeAt(0) == 0 ? t1 : t1;
  18956. },
  18957. SourceSpanBase: function SourceSpanBase() {
  18958. },
  18959. SourceSpanException: function SourceSpanException() {
  18960. },
  18961. SourceSpanFormatException: function SourceSpanFormatException(t0, t1, t2) {
  18962. this.source = t0;
  18963. this._span_exception$_message = t1;
  18964. this._span = t2;
  18965. },
  18966. MultiSourceSpanException: function MultiSourceSpanException() {
  18967. },
  18968. MultiSourceSpanFormatException: function MultiSourceSpanFormatException(t0, t1, t2, t3, t4) {
  18969. var _ = this;
  18970. _.source = t0;
  18971. _.primaryLabel = t1;
  18972. _.secondarySpans = t2;
  18973. _._span_exception$_message = t3;
  18974. _._span = t4;
  18975. },
  18976. SourceSpanMixin: function SourceSpanMixin() {
  18977. },
  18978. SourceSpanWithContext$(start, end, text, _context) {
  18979. var t1 = new A.SourceSpanWithContext(_context, start, end, text);
  18980. t1.SourceSpanBase$3(start, end, text);
  18981. if (!B.JSString_methods.contains$1(_context, text))
  18982. A.throwExpression(A.ArgumentError$('The context line "' + _context + '" must contain "' + text + '".', null));
  18983. if (A.findLineStart(_context, text, start.get$column()) == null)
  18984. A.throwExpression(A.ArgumentError$('The span text "' + text + '" must start at column ' + (start.get$column() + 1) + ' in a line within "' + _context + '".', null));
  18985. return t1;
  18986. },
  18987. SourceSpanWithContext: function SourceSpanWithContext(t0, t1, t2, t3) {
  18988. var _ = this;
  18989. _._context = t0;
  18990. _.start = t1;
  18991. _.end = t2;
  18992. _.text = t3;
  18993. },
  18994. Chain_Chain$parse(chain) {
  18995. var t1, t2,
  18996. _s51_ = string$.x3d_____;
  18997. if (chain.length === 0)
  18998. return new A.Chain(A.List_List$unmodifiable(A._setArrayType([], type$.JSArray_Trace), type$.Trace));
  18999. t1 = $.$get$vmChainGap();
  19000. if (B.JSString_methods.contains$1(chain, t1)) {
  19001. t1 = B.JSString_methods.split$1(chain, t1);
  19002. t2 = A._arrayInstanceType(t1);
  19003. 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));
  19004. }
  19005. if (!B.JSString_methods.contains$1(chain, _s51_))
  19006. return new A.Chain(A.List_List$unmodifiable(A._setArrayType([A.Trace_Trace$parse(chain)], type$.JSArray_Trace), type$.Trace));
  19007. 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));
  19008. },
  19009. Chain: function Chain(t0) {
  19010. this.traces = t0;
  19011. },
  19012. Chain_Chain$parse_closure: function Chain_Chain$parse_closure() {
  19013. },
  19014. Chain_toTrace_closure: function Chain_toTrace_closure() {
  19015. },
  19016. Chain_toString_closure0: function Chain_toString_closure0() {
  19017. },
  19018. Chain_toString__closure0: function Chain_toString__closure0() {
  19019. },
  19020. Chain_toString_closure: function Chain_toString_closure(t0) {
  19021. this.longest = t0;
  19022. },
  19023. Chain_toString__closure: function Chain_toString__closure(t0) {
  19024. this.longest = t0;
  19025. },
  19026. Frame___parseVM_tearOff(frame) {
  19027. return A.Frame_Frame$parseVM(frame);
  19028. },
  19029. Frame_Frame$parseVM(frame) {
  19030. return A.Frame__catchFormatException(frame, new A.Frame_Frame$parseVM_closure(frame));
  19031. },
  19032. Frame___parseV8_tearOff(frame) {
  19033. return A.Frame_Frame$parseV8(frame);
  19034. },
  19035. Frame_Frame$parseV8(frame) {
  19036. return A.Frame__catchFormatException(frame, new A.Frame_Frame$parseV8_closure(frame));
  19037. },
  19038. Frame_Frame$_parseFirefoxEval(frame) {
  19039. return A.Frame__catchFormatException(frame, new A.Frame_Frame$_parseFirefoxEval_closure(frame));
  19040. },
  19041. Frame___parseFirefox_tearOff(frame) {
  19042. return A.Frame_Frame$parseFirefox(frame);
  19043. },
  19044. Frame_Frame$parseFirefox(frame) {
  19045. return A.Frame__catchFormatException(frame, new A.Frame_Frame$parseFirefox_closure(frame));
  19046. },
  19047. Frame___parseFriendly_tearOff(frame) {
  19048. return A.Frame_Frame$parseFriendly(frame);
  19049. },
  19050. Frame_Frame$parseFriendly(frame) {
  19051. return A.Frame__catchFormatException(frame, new A.Frame_Frame$parseFriendly_closure(frame));
  19052. },
  19053. Frame__uriOrPathToUri(uriOrPath) {
  19054. if (B.JSString_methods.contains$1(uriOrPath, $.$get$Frame__uriRegExp()))
  19055. return A.Uri_parse(uriOrPath);
  19056. else if (B.JSString_methods.contains$1(uriOrPath, $.$get$Frame__windowsRegExp()))
  19057. return A._Uri__Uri$file(uriOrPath, true);
  19058. else if (B.JSString_methods.startsWith$1(uriOrPath, "/"))
  19059. return A._Uri__Uri$file(uriOrPath, false);
  19060. if (B.JSString_methods.contains$1(uriOrPath, "\\"))
  19061. return $.$get$windows().toUri$1(uriOrPath);
  19062. return A.Uri_parse(uriOrPath);
  19063. },
  19064. Frame__catchFormatException(text, body) {
  19065. var t1, exception;
  19066. try {
  19067. t1 = body.call$0();
  19068. return t1;
  19069. } catch (exception) {
  19070. if (type$.FormatException._is(A.unwrapException(exception)))
  19071. return new A.UnparsedFrame(A._Uri__Uri(null, "unparsed", null, null), text);
  19072. else
  19073. throw exception;
  19074. }
  19075. },
  19076. Frame: function Frame(t0, t1, t2, t3) {
  19077. var _ = this;
  19078. _.uri = t0;
  19079. _.line = t1;
  19080. _.column = t2;
  19081. _.member = t3;
  19082. },
  19083. Frame_Frame$parseVM_closure: function Frame_Frame$parseVM_closure(t0) {
  19084. this.frame = t0;
  19085. },
  19086. Frame_Frame$parseV8_closure: function Frame_Frame$parseV8_closure(t0) {
  19087. this.frame = t0;
  19088. },
  19089. Frame_Frame$parseV8_closure_parseLocation: function Frame_Frame$parseV8_closure_parseLocation(t0) {
  19090. this.frame = t0;
  19091. },
  19092. Frame_Frame$_parseFirefoxEval_closure: function Frame_Frame$_parseFirefoxEval_closure(t0) {
  19093. this.frame = t0;
  19094. },
  19095. Frame_Frame$parseFirefox_closure: function Frame_Frame$parseFirefox_closure(t0) {
  19096. this.frame = t0;
  19097. },
  19098. Frame_Frame$parseFriendly_closure: function Frame_Frame$parseFriendly_closure(t0) {
  19099. this.frame = t0;
  19100. },
  19101. LazyTrace: function LazyTrace(t0) {
  19102. this._thunk = t0;
  19103. this.__LazyTrace__trace_FI = $;
  19104. },
  19105. LazyTrace_terse_closure: function LazyTrace_terse_closure(t0) {
  19106. this.$this = t0;
  19107. },
  19108. Trace_Trace$from(trace) {
  19109. if (type$.Trace._is(trace))
  19110. return trace;
  19111. if (trace instanceof A.Chain)
  19112. return trace.toTrace$0();
  19113. return new A.LazyTrace(new A.Trace_Trace$from_closure(trace));
  19114. },
  19115. Trace_Trace$parse(trace) {
  19116. var error, t1, exception;
  19117. try {
  19118. if (trace.length === 0) {
  19119. t1 = A.Trace$(A._setArrayType([], type$.JSArray_Frame), null);
  19120. return t1;
  19121. }
  19122. if (B.JSString_methods.contains$1(trace, $.$get$_v8Trace())) {
  19123. t1 = A.Trace$parseV8(trace);
  19124. return t1;
  19125. }
  19126. if (B.JSString_methods.contains$1(trace, "\tat ")) {
  19127. t1 = A.Trace$parseJSCore(trace);
  19128. return t1;
  19129. }
  19130. if (B.JSString_methods.contains$1(trace, $.$get$_firefoxSafariTrace()) || B.JSString_methods.contains$1(trace, $.$get$_firefoxEvalTrace())) {
  19131. t1 = A.Trace$parseFirefox(trace);
  19132. return t1;
  19133. }
  19134. if (B.JSString_methods.contains$1(trace, string$.x3d_____)) {
  19135. t1 = A.Chain_Chain$parse(trace).toTrace$0();
  19136. return t1;
  19137. }
  19138. if (B.JSString_methods.contains$1(trace, $.$get$_friendlyTrace())) {
  19139. t1 = A.Trace$parseFriendly(trace);
  19140. return t1;
  19141. }
  19142. t1 = A.Trace$parseVM(trace);
  19143. return t1;
  19144. } catch (exception) {
  19145. t1 = A.unwrapException(exception);
  19146. if (type$.FormatException._is(t1)) {
  19147. error = t1;
  19148. throw A.wrapException(A.FormatException$(J.get$message$x(error) + "\nStack trace:\n" + trace, null, null));
  19149. } else
  19150. throw exception;
  19151. }
  19152. },
  19153. Trace___parseVM_tearOff(trace) {
  19154. return A.Trace$parseVM(trace);
  19155. },
  19156. Trace$parseVM(trace) {
  19157. var t1 = A.List_List$unmodifiable(A.Trace__parseVM(trace), type$.Frame);
  19158. return new A.Trace(t1, new A._StringStackTrace(trace));
  19159. },
  19160. Trace__parseVM(trace) {
  19161. var $frames,
  19162. t1 = B.JSString_methods.trim$0(trace),
  19163. t2 = $.$get$vmChainGap(),
  19164. t3 = type$.WhereIterable_String,
  19165. lines = new A.WhereIterable(A._setArrayType(A.stringReplaceAllUnchecked(t1, t2, "").split("\n"), type$.JSArray_String), new A.Trace__parseVM_closure(), t3);
  19166. if (!lines.get$iterator(0).moveNext$0())
  19167. return A._setArrayType([], type$.JSArray_Frame);
  19168. t1 = A.TakeIterable_TakeIterable(lines, lines.get$length(0) - 1, t3._eval$1("Iterable.E"));
  19169. t1 = A.MappedIterable_MappedIterable(t1, A.frame_Frame___parseVM_tearOff$closure(), A._instanceType(t1)._eval$1("Iterable.E"), type$.Frame);
  19170. $frames = A.List_List$of(t1, true, A._instanceType(t1)._eval$1("Iterable.E"));
  19171. if (!J.endsWith$1$s(lines.get$last(0), ".da"))
  19172. B.JSArray_methods.add$1($frames, A.Frame_Frame$parseVM(lines.get$last(0)));
  19173. return $frames;
  19174. },
  19175. Trace$parseV8(trace) {
  19176. 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()),
  19177. t2 = type$.Frame;
  19178. t2 = A.List_List$unmodifiable(A.MappedIterable_MappedIterable(t1, A.frame_Frame___parseV8_tearOff$closure(), t1.$ti._eval$1("Iterable.E"), t2), t2);
  19179. return new A.Trace(t2, new A._StringStackTrace(trace));
  19180. },
  19181. Trace$parseJSCore(trace) {
  19182. 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);
  19183. return new A.Trace(t1, new A._StringStackTrace(trace));
  19184. },
  19185. Trace$parseFirefox(trace) {
  19186. 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);
  19187. return new A.Trace(t1, new A._StringStackTrace(trace));
  19188. },
  19189. Trace___parseFriendly_tearOff(trace) {
  19190. return A.Trace$parseFriendly(trace);
  19191. },
  19192. Trace$parseFriendly(trace) {
  19193. 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);
  19194. t1 = A.List_List$unmodifiable(t1, type$.Frame);
  19195. return new A.Trace(t1, new A._StringStackTrace(trace));
  19196. },
  19197. Trace$($frames, original) {
  19198. var t1 = A.List_List$unmodifiable($frames, type$.Frame);
  19199. return new A.Trace(t1, new A._StringStackTrace(original == null ? "" : original));
  19200. },
  19201. Trace: function Trace(t0, t1) {
  19202. this.frames = t0;
  19203. this.original = t1;
  19204. },
  19205. Trace_Trace$from_closure: function Trace_Trace$from_closure(t0) {
  19206. this.trace = t0;
  19207. },
  19208. Trace__parseVM_closure: function Trace__parseVM_closure() {
  19209. },
  19210. Trace$parseV8_closure: function Trace$parseV8_closure() {
  19211. },
  19212. Trace$parseJSCore_closure: function Trace$parseJSCore_closure() {
  19213. },
  19214. Trace$parseFirefox_closure: function Trace$parseFirefox_closure() {
  19215. },
  19216. Trace$parseFriendly_closure: function Trace$parseFriendly_closure() {
  19217. },
  19218. Trace_terse_closure: function Trace_terse_closure() {
  19219. },
  19220. Trace_foldFrames_closure: function Trace_foldFrames_closure(t0) {
  19221. this.oldPredicate = t0;
  19222. },
  19223. Trace_foldFrames_closure0: function Trace_foldFrames_closure0(t0) {
  19224. this._box_0 = t0;
  19225. },
  19226. Trace_toString_closure0: function Trace_toString_closure0() {
  19227. },
  19228. Trace_toString_closure: function Trace_toString_closure(t0) {
  19229. this.longest = t0;
  19230. },
  19231. UnparsedFrame: function UnparsedFrame(t0, t1) {
  19232. this.uri = t0;
  19233. this.member = t1;
  19234. },
  19235. TransformByHandlers_transformByHandlers(_this, onData, onDone, $S, $T) {
  19236. var _null = null, t1 = {},
  19237. controller = A.StreamController_StreamController(_null, _null, _null, _null, true, $T);
  19238. t1.subscription = null;
  19239. controller.onListen = new A.TransformByHandlers_transformByHandlers_closure(t1, _this, onData, controller, A.instantiate1(A.from_handlers__TransformByHandlers__defaultHandleError$closure(), $T), onDone, $S);
  19240. return controller.get$stream();
  19241. },
  19242. TransformByHandlers__defaultHandleError(error, stackTrace, sink) {
  19243. sink.addError$2(error, stackTrace);
  19244. },
  19245. TransformByHandlers_transformByHandlers_closure: function TransformByHandlers_transformByHandlers_closure(t0, t1, t2, t3, t4, t5, t6) {
  19246. var _ = this;
  19247. _._box_1 = t0;
  19248. _._this = t1;
  19249. _.handleData = t2;
  19250. _.controller = t3;
  19251. _.handleError = t4;
  19252. _.handleDone = t5;
  19253. _.S = t6;
  19254. },
  19255. TransformByHandlers_transformByHandlers__closure: function TransformByHandlers_transformByHandlers__closure(t0, t1, t2) {
  19256. this.handleData = t0;
  19257. this.controller = t1;
  19258. this.S = t2;
  19259. },
  19260. TransformByHandlers_transformByHandlers__closure1: function TransformByHandlers_transformByHandlers__closure1(t0, t1) {
  19261. this.handleError = t0;
  19262. this.controller = t1;
  19263. },
  19264. TransformByHandlers_transformByHandlers__closure0: function TransformByHandlers_transformByHandlers__closure0(t0, t1, t2) {
  19265. this._box_0 = t0;
  19266. this.handleDone = t1;
  19267. this.controller = t2;
  19268. },
  19269. TransformByHandlers_transformByHandlers__closure2: function TransformByHandlers_transformByHandlers__closure2(t0, t1) {
  19270. this._box_1 = t0;
  19271. this._box_0 = t1;
  19272. },
  19273. RateLimit__debounceAggregate(_this, duration, collect, leading, trailing, $T, $S) {
  19274. var t1 = {};
  19275. t1.soFar = t1.timer = null;
  19276. t1.emittedLatestAsLeading = t1.shouldClose = t1.hasPending = false;
  19277. 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);
  19278. },
  19279. _collect($event, soFar, $T) {
  19280. var t1 = soFar == null ? A._setArrayType([], $T._eval$1("JSArray<0>")) : soFar;
  19281. J.add$1$ax(t1, $event);
  19282. return t1;
  19283. },
  19284. RateLimit__debounceAggregate_closure: function RateLimit__debounceAggregate_closure(t0, t1, t2, t3, t4, t5, t6) {
  19285. var _ = this;
  19286. _._box_0 = t0;
  19287. _.S = t1;
  19288. _.collect = t2;
  19289. _.leading = t3;
  19290. _.duration = t4;
  19291. _.trailing = t5;
  19292. _.T = t6;
  19293. },
  19294. RateLimit__debounceAggregate_closure_emit: function RateLimit__debounceAggregate_closure_emit(t0, t1, t2) {
  19295. this._box_0 = t0;
  19296. this.sink = t1;
  19297. this.S = t2;
  19298. },
  19299. RateLimit__debounceAggregate__closure: function RateLimit__debounceAggregate__closure(t0, t1, t2, t3) {
  19300. var _ = this;
  19301. _._box_0 = t0;
  19302. _.trailing = t1;
  19303. _.emit = t2;
  19304. _.sink = t3;
  19305. },
  19306. RateLimit__debounceAggregate_closure0: function RateLimit__debounceAggregate_closure0(t0, t1, t2) {
  19307. this._box_0 = t0;
  19308. this.trailing = t1;
  19309. this.S = t2;
  19310. },
  19311. StringScannerException$(message, span, source) {
  19312. return new A.StringScannerException(source, message, span);
  19313. },
  19314. StringScannerException: function StringScannerException(t0, t1, t2) {
  19315. this.source = t0;
  19316. this._span_exception$_message = t1;
  19317. this._span = t2;
  19318. },
  19319. LineScanner$(string) {
  19320. return new A.LineScanner(null, string);
  19321. },
  19322. LineScanner: function LineScanner(t0, t1) {
  19323. var _ = this;
  19324. _._line_scanner$_column = _._line_scanner$_line = 0;
  19325. _.sourceUrl = t0;
  19326. _.string = t1;
  19327. _._string_scanner$_position = 0;
  19328. _._lastMatchPosition = _._lastMatch = null;
  19329. },
  19330. SpanScanner$(string, sourceUrl) {
  19331. var t2,
  19332. t1 = A.SourceFile$fromString(string, sourceUrl);
  19333. if (sourceUrl == null)
  19334. t2 = null;
  19335. else
  19336. t2 = typeof sourceUrl == "string" ? A.Uri_parse(sourceUrl) : type$.Uri._as(sourceUrl);
  19337. return new A.SpanScanner(t1, t2, string);
  19338. },
  19339. SpanScanner: function SpanScanner(t0, t1, t2) {
  19340. var _ = this;
  19341. _._sourceFile = t0;
  19342. _.sourceUrl = t1;
  19343. _.string = t2;
  19344. _._string_scanner$_position = 0;
  19345. _._lastMatchPosition = _._lastMatch = null;
  19346. },
  19347. _SpanScannerState: function _SpanScannerState(t0, t1) {
  19348. this._scanner = t0;
  19349. this.position = t1;
  19350. },
  19351. StringScanner$(string, position, sourceUrl) {
  19352. var t1;
  19353. if (sourceUrl == null)
  19354. t1 = null;
  19355. else
  19356. t1 = typeof sourceUrl == "string" ? A.Uri_parse(sourceUrl) : type$.Uri._as(sourceUrl);
  19357. return new A.StringScanner(t1, string);
  19358. },
  19359. StringScanner: function StringScanner(t0, t1) {
  19360. var _ = this;
  19361. _.sourceUrl = t0;
  19362. _.string = t1;
  19363. _._string_scanner$_position = 0;
  19364. _._lastMatchPosition = _._lastMatch = null;
  19365. },
  19366. AsciiGlyphSet: function AsciiGlyphSet() {
  19367. },
  19368. UnicodeGlyphSet: function UnicodeGlyphSet() {
  19369. },
  19370. WatchEvent: function WatchEvent(t0, t1) {
  19371. this.type = t0;
  19372. this.path = t1;
  19373. },
  19374. ChangeType: function ChangeType(t0) {
  19375. this._watch_event$_name = t0;
  19376. },
  19377. AnySelectorVisitor0: function AnySelectorVisitor0() {
  19378. },
  19379. AnySelectorVisitor_visitComplexSelector_closure0: function AnySelectorVisitor_visitComplexSelector_closure0(t0) {
  19380. this.$this = t0;
  19381. },
  19382. AnySelectorVisitor_visitCompoundSelector_closure0: function AnySelectorVisitor_visitCompoundSelector_closure0(t0) {
  19383. this.$this = t0;
  19384. },
  19385. SupportsAnything0: function SupportsAnything0(t0, t1) {
  19386. this.contents = t0;
  19387. this.span = t1;
  19388. },
  19389. Argument0: function Argument0(t0, t1, t2) {
  19390. this.name = t0;
  19391. this.defaultValue = t1;
  19392. this.span = t2;
  19393. },
  19394. ArgumentDeclaration_ArgumentDeclaration$parse0(contents, url) {
  19395. return A.ScssParser$0(contents, null, url).parseArgumentDeclaration$0();
  19396. },
  19397. ArgumentDeclaration0: function ArgumentDeclaration0(t0, t1, t2) {
  19398. this.$arguments = t0;
  19399. this.restArgument = t1;
  19400. this.span = t2;
  19401. },
  19402. ArgumentDeclaration_verify_closure1: function ArgumentDeclaration_verify_closure1() {
  19403. },
  19404. ArgumentDeclaration_verify_closure2: function ArgumentDeclaration_verify_closure2() {
  19405. },
  19406. ArgumentInvocation$empty0(span) {
  19407. return new A.ArgumentInvocation0(B.List_empty20, B.Map_empty14, null, null, span);
  19408. },
  19409. ArgumentInvocation0: function ArgumentInvocation0(t0, t1, t2, t3, t4) {
  19410. var _ = this;
  19411. _.positional = t0;
  19412. _.named = t1;
  19413. _.rest = t2;
  19414. _.keywordRest = t3;
  19415. _.span = t4;
  19416. },
  19417. argumentListClass_closure: function argumentListClass_closure() {
  19418. },
  19419. argumentListClass__closure: function argumentListClass__closure() {
  19420. },
  19421. argumentListClass__closure0: function argumentListClass__closure0() {
  19422. },
  19423. SassArgumentList$0(contents, keywords, separator) {
  19424. var t1 = type$.Value_2;
  19425. t1 = new A.SassArgumentList0(A.ConstantMap_ConstantMap$from(keywords, type$.String, t1), A.List_List$unmodifiable(contents, t1), separator, false);
  19426. t1.SassList$3$brackets0(contents, separator, false);
  19427. return t1;
  19428. },
  19429. SassArgumentList0: function SassArgumentList0(t0, t1, t2, t3) {
  19430. var _ = this;
  19431. _._argument_list$_keywords = t0;
  19432. _._argument_list$_wereKeywordsAccessed = false;
  19433. _._list1$_contents = t1;
  19434. _._list1$_separator = t2;
  19435. _._list1$_hasBrackets = t3;
  19436. },
  19437. JSArray1: function JSArray1() {
  19438. },
  19439. AsyncImporter0: function AsyncImporter0() {
  19440. },
  19441. JSToDartAsyncImporter: function JSToDartAsyncImporter(t0, t1, t2) {
  19442. this._async0$_canonicalize = t0;
  19443. this._load = t1;
  19444. this._nonCanonicalSchemes = t2;
  19445. },
  19446. JSToDartAsyncImporter_canonicalize_closure: function JSToDartAsyncImporter_canonicalize_closure(t0, t1) {
  19447. this.$this = t0;
  19448. this.url = t1;
  19449. },
  19450. JSToDartAsyncImporter_load_closure: function JSToDartAsyncImporter_load_closure(t0, t1) {
  19451. this.$this = t0;
  19452. this.url = t1;
  19453. },
  19454. AsyncBuiltInCallable$mixin0($name, $arguments, callback, acceptsContent, url) {
  19455. return new A.AsyncBuiltInCallable0($name, A.ScssParser$0("@mixin " + $name + "(" + $arguments + ") {", null, url).parseArgumentDeclaration$0(), new A.AsyncBuiltInCallable$mixin_closure0(callback), false);
  19456. },
  19457. AsyncBuiltInCallable0: function AsyncBuiltInCallable0(t0, t1, t2, t3) {
  19458. var _ = this;
  19459. _.name = t0;
  19460. _._async_built_in0$_arguments = t1;
  19461. _._async_built_in0$_callback = t2;
  19462. _.acceptsContent = t3;
  19463. },
  19464. AsyncBuiltInCallable$mixin_closure0: function AsyncBuiltInCallable$mixin_closure0(t0) {
  19465. this.callback = t0;
  19466. },
  19467. compileAsync0(path, charset, fatalDeprecations, functions, futureDeprecations, importCache, indentWidth, lineFeed, logger, nodeImporter, quietDeps, silenceDeprecations, sourceMap, style, syntax, useSpaces, verbose) {
  19468. var $async$goto = 0,
  19469. $async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult_2),
  19470. $async$returnValue, t3, t4, t0, stylesheet, result, t1, t2;
  19471. var $async$compileAsync0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  19472. if ($async$errorCode === 1)
  19473. return A._asyncRethrow($async$result, $async$completer);
  19474. while (true)
  19475. switch ($async$goto) {
  19476. case 0:
  19477. // Function start
  19478. t1 = type$.Deprecation_3;
  19479. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  19480. if (silenceDeprecations != null)
  19481. t2.addAll$1(0, silenceDeprecations);
  19482. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  19483. if (fatalDeprecations != null)
  19484. t3.addAll$1(0, fatalDeprecations);
  19485. t1 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  19486. if (futureDeprecations != null)
  19487. t1.addAll$1(0, futureDeprecations);
  19488. logger = A.DeprecationProcessingLogger$0(logger, t3, t1, !verbose, t2);
  19489. t1 = nodeImporter == null;
  19490. if (t1)
  19491. t2 = syntax == null || syntax === A.Syntax_forPath0(path);
  19492. else
  19493. t2 = false;
  19494. $async$goto = t2 ? 3 : 5;
  19495. break;
  19496. case 3:
  19497. // then
  19498. if (importCache == null)
  19499. importCache = A.AsyncImportCache$none(logger);
  19500. t2 = $.$get$FilesystemImporter_cwd0();
  19501. t3 = A.isNodeJs() ? self.process : null;
  19502. if (!J.$eq$(t3 == null ? null : J.get$platform$x(t3), "win32")) {
  19503. t3 = A.isNodeJs() ? self.process : null;
  19504. t3 = J.$eq$(t3 == null ? null : J.get$platform$x(t3), "darwin");
  19505. } else
  19506. t3 = true;
  19507. if (t3) {
  19508. t3 = $.$get$context();
  19509. t4 = A._realCasePath0(A.absolute(t3.normalize$1(path), null, null, null, null, null, null, null, null, null, null, null, null, null, null));
  19510. t0 = t4;
  19511. t4 = t3;
  19512. t3 = t0;
  19513. } else {
  19514. t3 = $.$get$context();
  19515. t4 = t3.canonicalize$1(0, path);
  19516. t0 = t4;
  19517. t4 = t3;
  19518. t3 = t0;
  19519. }
  19520. $async$goto = 6;
  19521. return A._asyncAwait(importCache.importCanonical$3$originalUrl(t2, t4.toUri$1(t3), t4.toUri$1(path)), $async$compileAsync0);
  19522. case 6:
  19523. // returning from await.
  19524. t4 = $async$result;
  19525. t4.toString;
  19526. stylesheet = t4;
  19527. // goto join
  19528. $async$goto = 4;
  19529. break;
  19530. case 5:
  19531. // else
  19532. t2 = A.readFile0(path);
  19533. t3 = syntax == null ? A.Syntax_forPath0(path) : syntax;
  19534. stylesheet = A.Stylesheet_Stylesheet$parse0(t2, t3, logger, $.$get$context().toUri$1(path));
  19535. case 4:
  19536. // join
  19537. $async$goto = 7;
  19538. return A._asyncAwait(A._compileStylesheet2(stylesheet, logger, importCache, nodeImporter, $.$get$FilesystemImporter_cwd0(), functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset), $async$compileAsync0);
  19539. case 7:
  19540. // returning from await.
  19541. result = $async$result;
  19542. logger.summarize$1$js(!t1);
  19543. $async$returnValue = result;
  19544. // goto return
  19545. $async$goto = 1;
  19546. break;
  19547. case 1:
  19548. // return
  19549. return A._asyncReturn($async$returnValue, $async$completer);
  19550. }
  19551. });
  19552. return A._asyncStartSync($async$compileAsync0, $async$completer);
  19553. },
  19554. compileStringAsync0(source, charset, fatalDeprecations, functions, futureDeprecations, importCache, importer, indentWidth, lineFeed, logger, nodeImporter, quietDeps, silenceDeprecations, sourceMap, style, syntax, url, useSpaces, verbose) {
  19555. var $async$goto = 0,
  19556. $async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult_2),
  19557. $async$returnValue, t3, stylesheet, result, t1, t2;
  19558. var $async$compileStringAsync0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  19559. if ($async$errorCode === 1)
  19560. return A._asyncRethrow($async$result, $async$completer);
  19561. while (true)
  19562. switch ($async$goto) {
  19563. case 0:
  19564. // Function start
  19565. t1 = type$.Deprecation_3;
  19566. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  19567. if (silenceDeprecations != null)
  19568. t2.addAll$1(0, silenceDeprecations);
  19569. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  19570. if (fatalDeprecations != null)
  19571. t3.addAll$1(0, fatalDeprecations);
  19572. t1 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  19573. if (futureDeprecations != null)
  19574. t1.addAll$1(0, futureDeprecations);
  19575. logger = A.DeprecationProcessingLogger$0(logger, t3, t1, !verbose, t2);
  19576. stylesheet = A.Stylesheet_Stylesheet$parse0(source, syntax == null ? B.Syntax_SCSS_scss0 : syntax, logger, url);
  19577. if (importer == null)
  19578. t1 = A.isBrowser() ? new A.NoOpImporter0() : $.$get$FilesystemImporter_cwd0();
  19579. else
  19580. t1 = importer;
  19581. $async$goto = 3;
  19582. return A._asyncAwait(A._compileStylesheet2(stylesheet, logger, importCache, nodeImporter, t1, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset), $async$compileStringAsync0);
  19583. case 3:
  19584. // returning from await.
  19585. result = $async$result;
  19586. logger.summarize$1$js(nodeImporter != null);
  19587. $async$returnValue = result;
  19588. // goto return
  19589. $async$goto = 1;
  19590. break;
  19591. case 1:
  19592. // return
  19593. return A._asyncReturn($async$returnValue, $async$completer);
  19594. }
  19595. });
  19596. return A._asyncStartSync($async$compileStringAsync0, $async$completer);
  19597. },
  19598. _compileStylesheet2(stylesheet, logger, importCache, nodeImporter, importer, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset) {
  19599. var $async$goto = 0,
  19600. $async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult_2),
  19601. $async$returnValue, evaluateResult, serializeResult, resultSourceMap;
  19602. var $async$_compileStylesheet2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  19603. if ($async$errorCode === 1)
  19604. return A._asyncRethrow($async$result, $async$completer);
  19605. while (true)
  19606. switch ($async$goto) {
  19607. case 0:
  19608. // Function start
  19609. $async$goto = 3;
  19610. return A._asyncAwait(A._EvaluateVisitor$2(functions, importCache, logger, nodeImporter, quietDeps, sourceMap).run$2(0, importer, stylesheet), $async$_compileStylesheet2);
  19611. case 3:
  19612. // returning from await.
  19613. evaluateResult = $async$result;
  19614. serializeResult = A.serialize0(evaluateResult._1, charset, indentWidth, false, lineFeed, sourceMap, style, useSpaces);
  19615. resultSourceMap = serializeResult._1;
  19616. if (resultSourceMap != null && importCache != null)
  19617. A.mapInPlace0(resultSourceMap.urls, new A._compileStylesheet_closure2(stylesheet, importCache));
  19618. $async$returnValue = new A.CompileResult0(evaluateResult, serializeResult);
  19619. // goto return
  19620. $async$goto = 1;
  19621. break;
  19622. case 1:
  19623. // return
  19624. return A._asyncReturn($async$returnValue, $async$completer);
  19625. }
  19626. });
  19627. return A._asyncStartSync($async$_compileStylesheet2, $async$completer);
  19628. },
  19629. _compileStylesheet_closure2: function _compileStylesheet_closure2(t0, t1) {
  19630. this.stylesheet = t0;
  19631. this.importCache = t1;
  19632. },
  19633. AsyncEnvironment$0() {
  19634. var t1 = type$.String,
  19635. t2 = type$.Module_AsyncCallable_2,
  19636. t3 = type$.AstNode_2,
  19637. t4 = type$.int,
  19638. t5 = type$.AsyncCallable_2,
  19639. t6 = type$.JSArray_Map_String_AsyncCallable_2;
  19640. 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);
  19641. },
  19642. AsyncEnvironment$_0(_modules, _namespaceNodes, _globalModules, _importedModules, _forwardedModules, _nestedForwardedModules, _allModules, _variables, _variableNodes, _functions, _mixins, _content) {
  19643. var t1 = type$.String,
  19644. t2 = type$.int;
  19645. 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);
  19646. },
  19647. _EnvironmentModule__EnvironmentModule2(environment, css, preModuleComments, extensionStore, forwarded) {
  19648. var t1, t2, t3, t4, t5, t6, module, result, t7;
  19649. if (forwarded == null)
  19650. forwarded = B.Set_empty6;
  19651. t1 = type$.dynamic;
  19652. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  19653. 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();) {
  19654. t6 = t4.get$current(t4);
  19655. module = t6._0;
  19656. result = A.List_List$from(t6._1, false, t5);
  19657. result.fixed$length = Array;
  19658. result.immutable$list = Array;
  19659. t1.$indexSet(0, module, result);
  19660. }
  19661. t1 = A.ConstantMap_ConstantMap$from(t1, t2, t3);
  19662. t2 = A._EnvironmentModule__makeModulesByVariable2(forwarded);
  19663. 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);
  19664. 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);
  19665. t5 = type$.Map_String_AsyncCallable_2;
  19666. t6 = type$.AsyncCallable_2;
  19667. 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);
  19668. 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);
  19669. 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());
  19670. 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()));
  19671. },
  19672. _EnvironmentModule__makeModulesByVariable2(forwarded) {
  19673. var modulesByVariable, t1, t2, t3, t4, t5;
  19674. if (forwarded.get$isEmpty(forwarded))
  19675. return B.Map_empty16;
  19676. modulesByVariable = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Module_AsyncCallable_2);
  19677. for (t1 = forwarded.get$iterator(forwarded); t1.moveNext$0();) {
  19678. t2 = t1.get$current(t1);
  19679. if (t2 instanceof A._EnvironmentModule2) {
  19680. for (t3 = t2._async_environment0$_modulesByVariable, t3 = t3.get$values(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  19681. t4 = t3.get$current(t3);
  19682. t5 = t4.get$variables();
  19683. A.setAll0(modulesByVariable, t5.get$keys(t5), t4);
  19684. }
  19685. A.setAll0(modulesByVariable, J.get$keys$z(B.JSArray_methods.get$first(t2._async_environment0$_environment._async_environment0$_variables)), t2);
  19686. } else {
  19687. t3 = t2.get$variables();
  19688. A.setAll0(modulesByVariable, t3.get$keys(t3), t2);
  19689. }
  19690. }
  19691. return modulesByVariable;
  19692. },
  19693. _EnvironmentModule__memberMap2(localMap, otherMaps, $V) {
  19694. var t1, t2, t3;
  19695. localMap = new A.PublicMemberMapView0(localMap, $V._eval$1("PublicMemberMapView0<0>"));
  19696. if (otherMaps.get$isEmpty(otherMaps))
  19697. return localMap;
  19698. t1 = A._setArrayType([], $V._eval$1("JSArray<Map<String,0>>"));
  19699. for (t2 = otherMaps.get$iterator(otherMaps); t2.moveNext$0();) {
  19700. t3 = t2.get$current(t2);
  19701. if (t3.get$isNotEmpty(t3))
  19702. t1.push(t3);
  19703. }
  19704. t1.push(localMap);
  19705. if (t1.length === 1)
  19706. return localMap;
  19707. return A.MergedMapView$0(t1, type$.String, $V);
  19708. },
  19709. _EnvironmentModule$_2(_environment, css, preModuleComments, extensionStore, _modulesByVariable, variables, variableNodes, functions, mixins, transitivelyContainsCss, transitivelyContainsExtensions) {
  19710. return new A._EnvironmentModule2(_environment._async_environment0$_allModules, variables, variableNodes, functions, mixins, extensionStore, css, preModuleComments, transitivelyContainsCss, transitivelyContainsExtensions, _environment, _modulesByVariable);
  19711. },
  19712. AsyncEnvironment0: function AsyncEnvironment0(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
  19713. var _ = this;
  19714. _._async_environment0$_modules = t0;
  19715. _._async_environment0$_namespaceNodes = t1;
  19716. _._async_environment0$_globalModules = t2;
  19717. _._async_environment0$_importedModules = t3;
  19718. _._async_environment0$_forwardedModules = t4;
  19719. _._async_environment0$_nestedForwardedModules = t5;
  19720. _._async_environment0$_allModules = t6;
  19721. _._async_environment0$_variables = t7;
  19722. _._async_environment0$_variableNodes = t8;
  19723. _._async_environment0$_variableIndices = t9;
  19724. _._async_environment0$_functions = t10;
  19725. _._async_environment0$_functionIndices = t11;
  19726. _._async_environment0$_mixins = t12;
  19727. _._async_environment0$_mixinIndices = t13;
  19728. _._async_environment0$_content = t14;
  19729. _._async_environment0$_inMixin = false;
  19730. _._async_environment0$_inSemiGlobalScope = true;
  19731. _._async_environment0$_lastVariableIndex = _._async_environment0$_lastVariableName = null;
  19732. },
  19733. AsyncEnvironment__getVariableFromGlobalModule_closure0: function AsyncEnvironment__getVariableFromGlobalModule_closure0(t0) {
  19734. this.name = t0;
  19735. },
  19736. AsyncEnvironment_setVariable_closure2: function AsyncEnvironment_setVariable_closure2(t0, t1) {
  19737. this.$this = t0;
  19738. this.name = t1;
  19739. },
  19740. AsyncEnvironment_setVariable_closure3: function AsyncEnvironment_setVariable_closure3(t0) {
  19741. this.name = t0;
  19742. },
  19743. AsyncEnvironment_setVariable_closure4: function AsyncEnvironment_setVariable_closure4(t0, t1) {
  19744. this.$this = t0;
  19745. this.name = t1;
  19746. },
  19747. AsyncEnvironment__getFunctionFromGlobalModule_closure0: function AsyncEnvironment__getFunctionFromGlobalModule_closure0(t0) {
  19748. this.name = t0;
  19749. },
  19750. AsyncEnvironment__getMixinFromGlobalModule_closure0: function AsyncEnvironment__getMixinFromGlobalModule_closure0(t0) {
  19751. this.name = t0;
  19752. },
  19753. AsyncEnvironment_toModule_closure0: function AsyncEnvironment_toModule_closure0() {
  19754. },
  19755. AsyncEnvironment_toDummyModule_closure0: function AsyncEnvironment_toDummyModule_closure0() {
  19756. },
  19757. _EnvironmentModule2: function _EnvironmentModule2(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) {
  19758. var _ = this;
  19759. _.upstream = t0;
  19760. _.variables = t1;
  19761. _.variableNodes = t2;
  19762. _.functions = t3;
  19763. _.mixins = t4;
  19764. _.extensionStore = t5;
  19765. _.css = t6;
  19766. _.preModuleComments = t7;
  19767. _.transitivelyContainsCss = t8;
  19768. _.transitivelyContainsExtensions = t9;
  19769. _._async_environment0$_environment = t10;
  19770. _._async_environment0$_modulesByVariable = t11;
  19771. },
  19772. _EnvironmentModule__EnvironmentModule_closure17: function _EnvironmentModule__EnvironmentModule_closure17() {
  19773. },
  19774. _EnvironmentModule__EnvironmentModule_closure18: function _EnvironmentModule__EnvironmentModule_closure18() {
  19775. },
  19776. _EnvironmentModule__EnvironmentModule_closure19: function _EnvironmentModule__EnvironmentModule_closure19() {
  19777. },
  19778. _EnvironmentModule__EnvironmentModule_closure20: function _EnvironmentModule__EnvironmentModule_closure20() {
  19779. },
  19780. _EnvironmentModule__EnvironmentModule_closure21: function _EnvironmentModule__EnvironmentModule_closure21() {
  19781. },
  19782. _EnvironmentModule__EnvironmentModule_closure22: function _EnvironmentModule__EnvironmentModule_closure22() {
  19783. },
  19784. _EvaluateVisitor$2(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
  19785. var t4,
  19786. t1 = type$.Uri,
  19787. t2 = type$.Module_AsyncCallable_2,
  19788. t3 = A._setArrayType([], type$.JSArray_Record_2_String_and_AstNode_2);
  19789. if (importCache == null)
  19790. t4 = nodeImporter == null ? A.AsyncImportCache$none(logger) : null;
  19791. else
  19792. t4 = importCache;
  19793. 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, A.AsyncEnvironment$0(), A.LinkedHashSet_LinkedHashSet$_empty(t1), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.nullable_AstNode_2), t3, B.Configuration_Map_empty_null0);
  19794. t1._EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap2(functions, importCache, logger, nodeImporter, quietDeps, sourceMap);
  19795. return t1;
  19796. },
  19797. _EvaluateVisitor2: function _EvaluateVisitor2(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15) {
  19798. var _ = this;
  19799. _._async_evaluate0$_importCache = t0;
  19800. _._async_evaluate0$_nodeImporter = t1;
  19801. _._async_evaluate0$_builtInFunctions = t2;
  19802. _._async_evaluate0$_builtInModules = t3;
  19803. _._async_evaluate0$_modules = t4;
  19804. _._async_evaluate0$_moduleConfigurations = t5;
  19805. _._async_evaluate0$_moduleNodes = t6;
  19806. _._async_evaluate0$_logger = t7;
  19807. _._async_evaluate0$_warningsEmitted = t8;
  19808. _._async_evaluate0$_quietDeps = t9;
  19809. _._async_evaluate0$_sourceMap = t10;
  19810. _._async_evaluate0$_environment = t11;
  19811. _._async_evaluate0$_declarationName = _._async_evaluate0$__parent = _._async_evaluate0$_mediaQuerySources = _._async_evaluate0$_mediaQueries = _._async_evaluate0$_styleRuleIgnoringAtRoot = null;
  19812. _._async_evaluate0$_member = "root stylesheet";
  19813. _._async_evaluate0$_importSpan = _._async_evaluate0$_callableNode = _._async_evaluate0$_currentCallable = null;
  19814. _._async_evaluate0$_inSupportsDeclaration = _._async_evaluate0$_inKeyframes = _._async_evaluate0$_atRootExcludingStyleRule = _._async_evaluate0$_inUnknownAtRule = _._async_evaluate0$_inFunction = false;
  19815. _._async_evaluate0$_loadedUrls = t12;
  19816. _._async_evaluate0$_activeModules = t13;
  19817. _._async_evaluate0$_stack = t14;
  19818. _._async_evaluate0$_importer = null;
  19819. _._async_evaluate0$_inDependency = false;
  19820. _._async_evaluate0$__extensionStore = _._async_evaluate0$_preModuleComments = _._async_evaluate0$_outOfOrderImports = _._async_evaluate0$__endOfImports = _._async_evaluate0$__root = _._async_evaluate0$__stylesheet = null;
  19821. _._async_evaluate0$_configuration = t15;
  19822. },
  19823. _EvaluateVisitor_closure38: function _EvaluateVisitor_closure38(t0) {
  19824. this.$this = t0;
  19825. },
  19826. _EvaluateVisitor_closure39: function _EvaluateVisitor_closure39(t0) {
  19827. this.$this = t0;
  19828. },
  19829. _EvaluateVisitor_closure40: function _EvaluateVisitor_closure40(t0) {
  19830. this.$this = t0;
  19831. },
  19832. _EvaluateVisitor_closure41: function _EvaluateVisitor_closure41(t0) {
  19833. this.$this = t0;
  19834. },
  19835. _EvaluateVisitor_closure42: function _EvaluateVisitor_closure42(t0) {
  19836. this.$this = t0;
  19837. },
  19838. _EvaluateVisitor_closure43: function _EvaluateVisitor_closure43(t0) {
  19839. this.$this = t0;
  19840. },
  19841. _EvaluateVisitor_closure44: function _EvaluateVisitor_closure44(t0) {
  19842. this.$this = t0;
  19843. },
  19844. _EvaluateVisitor_closure45: function _EvaluateVisitor_closure45(t0) {
  19845. this.$this = t0;
  19846. },
  19847. _EvaluateVisitor_closure46: function _EvaluateVisitor_closure46(t0) {
  19848. this.$this = t0;
  19849. },
  19850. _EvaluateVisitor__closure14: function _EvaluateVisitor__closure14(t0, t1, t2) {
  19851. this.$this = t0;
  19852. this.name = t1;
  19853. this.module = t2;
  19854. },
  19855. _EvaluateVisitor_closure47: function _EvaluateVisitor_closure47(t0) {
  19856. this.$this = t0;
  19857. },
  19858. _EvaluateVisitor__closure13: function _EvaluateVisitor__closure13(t0, t1, t2) {
  19859. this.$this = t0;
  19860. this.name = t1;
  19861. this.module = t2;
  19862. },
  19863. _EvaluateVisitor_closure48: function _EvaluateVisitor_closure48(t0) {
  19864. this.$this = t0;
  19865. },
  19866. _EvaluateVisitor_closure49: function _EvaluateVisitor_closure49(t0) {
  19867. this.$this = t0;
  19868. },
  19869. _EvaluateVisitor__closure11: function _EvaluateVisitor__closure11(t0, t1, t2) {
  19870. this.values = t0;
  19871. this.span = t1;
  19872. this.callableNode = t2;
  19873. },
  19874. _EvaluateVisitor__closure12: function _EvaluateVisitor__closure12(t0) {
  19875. this.$this = t0;
  19876. },
  19877. _EvaluateVisitor_closure50: function _EvaluateVisitor_closure50(t0) {
  19878. this.$this = t0;
  19879. },
  19880. _EvaluateVisitor_run_closure2: function _EvaluateVisitor_run_closure2(t0, t1, t2) {
  19881. this.$this = t0;
  19882. this.node = t1;
  19883. this.importer = t2;
  19884. },
  19885. _EvaluateVisitor_run__closure2: function _EvaluateVisitor_run__closure2(t0, t1, t2) {
  19886. this.$this = t0;
  19887. this.importer = t1;
  19888. this.node = t2;
  19889. },
  19890. _EvaluateVisitor__loadModule_closure5: function _EvaluateVisitor__loadModule_closure5(t0, t1) {
  19891. this._box_1 = t0;
  19892. this.callback = t1;
  19893. },
  19894. _EvaluateVisitor__loadModule_closure6: function _EvaluateVisitor__loadModule_closure6(t0, t1, t2, t3, t4, t5, t6) {
  19895. var _ = this;
  19896. _.$this = t0;
  19897. _.url = t1;
  19898. _.nodeWithSpan = t2;
  19899. _.baseUrl = t3;
  19900. _.namesInErrors = t4;
  19901. _.configuration = t5;
  19902. _.callback = t6;
  19903. },
  19904. _EvaluateVisitor__loadModule__closure5: function _EvaluateVisitor__loadModule__closure5(t0, t1) {
  19905. this.$this = t0;
  19906. this.message = t1;
  19907. },
  19908. _EvaluateVisitor__loadModule__closure6: function _EvaluateVisitor__loadModule__closure6(t0, t1, t2) {
  19909. this._box_0 = t0;
  19910. this.callback = t1;
  19911. this.firstLoad = t2;
  19912. },
  19913. _EvaluateVisitor__execute_closure2: function _EvaluateVisitor__execute_closure2(t0, t1, t2, t3, t4, t5, t6) {
  19914. var _ = this;
  19915. _.$this = t0;
  19916. _.importer = t1;
  19917. _.stylesheet = t2;
  19918. _.extensionStore = t3;
  19919. _.configuration = t4;
  19920. _.css = t5;
  19921. _.preModuleComments = t6;
  19922. },
  19923. _EvaluateVisitor__combineCss_closure5: function _EvaluateVisitor__combineCss_closure5() {
  19924. },
  19925. _EvaluateVisitor__combineCss_closure6: function _EvaluateVisitor__combineCss_closure6(t0) {
  19926. this.selectors = t0;
  19927. },
  19928. _EvaluateVisitor__combineCss_visitModule2: function _EvaluateVisitor__combineCss_visitModule2(t0, t1, t2, t3, t4, t5) {
  19929. var _ = this;
  19930. _.$this = t0;
  19931. _.seen = t1;
  19932. _.clone = t2;
  19933. _.css = t3;
  19934. _.imports = t4;
  19935. _.sorted = t5;
  19936. },
  19937. _EvaluateVisitor__extendModules_closure5: function _EvaluateVisitor__extendModules_closure5(t0) {
  19938. this.originalSelectors = t0;
  19939. },
  19940. _EvaluateVisitor__extendModules_closure6: function _EvaluateVisitor__extendModules_closure6() {
  19941. },
  19942. _EvaluateVisitor_visitAtRootRule_closure5: function _EvaluateVisitor_visitAtRootRule_closure5(t0, t1) {
  19943. this.$this = t0;
  19944. this.node = t1;
  19945. },
  19946. _EvaluateVisitor_visitAtRootRule_closure6: function _EvaluateVisitor_visitAtRootRule_closure6(t0, t1) {
  19947. this.$this = t0;
  19948. this.node = t1;
  19949. },
  19950. _EvaluateVisitor__scopeForAtRoot_closure17: function _EvaluateVisitor__scopeForAtRoot_closure17(t0, t1, t2) {
  19951. this.$this = t0;
  19952. this.newParent = t1;
  19953. this.node = t2;
  19954. },
  19955. _EvaluateVisitor__scopeForAtRoot_closure18: function _EvaluateVisitor__scopeForAtRoot_closure18(t0, t1) {
  19956. this.$this = t0;
  19957. this.innerScope = t1;
  19958. },
  19959. _EvaluateVisitor__scopeForAtRoot_closure19: function _EvaluateVisitor__scopeForAtRoot_closure19(t0, t1) {
  19960. this.$this = t0;
  19961. this.innerScope = t1;
  19962. },
  19963. _EvaluateVisitor__scopeForAtRoot__closure2: function _EvaluateVisitor__scopeForAtRoot__closure2(t0, t1) {
  19964. this.innerScope = t0;
  19965. this.callback = t1;
  19966. },
  19967. _EvaluateVisitor__scopeForAtRoot_closure20: function _EvaluateVisitor__scopeForAtRoot_closure20(t0, t1) {
  19968. this.$this = t0;
  19969. this.innerScope = t1;
  19970. },
  19971. _EvaluateVisitor__scopeForAtRoot_closure21: function _EvaluateVisitor__scopeForAtRoot_closure21() {
  19972. },
  19973. _EvaluateVisitor__scopeForAtRoot_closure22: function _EvaluateVisitor__scopeForAtRoot_closure22(t0, t1) {
  19974. this.$this = t0;
  19975. this.innerScope = t1;
  19976. },
  19977. _EvaluateVisitor_visitContentRule_closure2: function _EvaluateVisitor_visitContentRule_closure2(t0, t1) {
  19978. this.$this = t0;
  19979. this.content = t1;
  19980. },
  19981. _EvaluateVisitor_visitDeclaration_closure2: function _EvaluateVisitor_visitDeclaration_closure2(t0, t1) {
  19982. this._box_0 = t0;
  19983. this.$this = t1;
  19984. },
  19985. _EvaluateVisitor_visitEachRule_closure8: function _EvaluateVisitor_visitEachRule_closure8(t0, t1, t2) {
  19986. this._box_0 = t0;
  19987. this.$this = t1;
  19988. this.nodeWithSpan = t2;
  19989. },
  19990. _EvaluateVisitor_visitEachRule_closure9: function _EvaluateVisitor_visitEachRule_closure9(t0, t1, t2) {
  19991. this._box_0 = t0;
  19992. this.$this = t1;
  19993. this.nodeWithSpan = t2;
  19994. },
  19995. _EvaluateVisitor_visitEachRule_closure10: function _EvaluateVisitor_visitEachRule_closure10(t0, t1, t2, t3) {
  19996. var _ = this;
  19997. _.$this = t0;
  19998. _.list = t1;
  19999. _.setVariables = t2;
  20000. _.node = t3;
  20001. },
  20002. _EvaluateVisitor_visitEachRule__closure2: function _EvaluateVisitor_visitEachRule__closure2(t0, t1, t2) {
  20003. this.$this = t0;
  20004. this.setVariables = t1;
  20005. this.node = t2;
  20006. },
  20007. _EvaluateVisitor_visitEachRule___closure2: function _EvaluateVisitor_visitEachRule___closure2(t0) {
  20008. this.$this = t0;
  20009. },
  20010. _EvaluateVisitor_visitAtRule_closure8: function _EvaluateVisitor_visitAtRule_closure8(t0) {
  20011. this.$this = t0;
  20012. },
  20013. _EvaluateVisitor_visitAtRule_closure9: function _EvaluateVisitor_visitAtRule_closure9(t0, t1, t2) {
  20014. this.$this = t0;
  20015. this.name = t1;
  20016. this.children = t2;
  20017. },
  20018. _EvaluateVisitor_visitAtRule__closure2: function _EvaluateVisitor_visitAtRule__closure2(t0, t1) {
  20019. this.$this = t0;
  20020. this.children = t1;
  20021. },
  20022. _EvaluateVisitor_visitAtRule_closure10: function _EvaluateVisitor_visitAtRule_closure10() {
  20023. },
  20024. _EvaluateVisitor_visitForRule_closure14: function _EvaluateVisitor_visitForRule_closure14(t0, t1) {
  20025. this.$this = t0;
  20026. this.node = t1;
  20027. },
  20028. _EvaluateVisitor_visitForRule_closure15: function _EvaluateVisitor_visitForRule_closure15(t0, t1) {
  20029. this.$this = t0;
  20030. this.node = t1;
  20031. },
  20032. _EvaluateVisitor_visitForRule_closure16: function _EvaluateVisitor_visitForRule_closure16(t0) {
  20033. this.fromNumber = t0;
  20034. },
  20035. _EvaluateVisitor_visitForRule_closure17: function _EvaluateVisitor_visitForRule_closure17(t0, t1) {
  20036. this.toNumber = t0;
  20037. this.fromNumber = t1;
  20038. },
  20039. _EvaluateVisitor_visitForRule_closure18: function _EvaluateVisitor_visitForRule_closure18(t0, t1, t2, t3, t4, t5) {
  20040. var _ = this;
  20041. _._box_0 = t0;
  20042. _.$this = t1;
  20043. _.node = t2;
  20044. _.from = t3;
  20045. _.direction = t4;
  20046. _.fromNumber = t5;
  20047. },
  20048. _EvaluateVisitor_visitForRule__closure2: function _EvaluateVisitor_visitForRule__closure2(t0) {
  20049. this.$this = t0;
  20050. },
  20051. _EvaluateVisitor_visitForwardRule_closure5: function _EvaluateVisitor_visitForwardRule_closure5(t0, t1) {
  20052. this.$this = t0;
  20053. this.node = t1;
  20054. },
  20055. _EvaluateVisitor_visitForwardRule_closure6: function _EvaluateVisitor_visitForwardRule_closure6(t0, t1) {
  20056. this.$this = t0;
  20057. this.node = t1;
  20058. },
  20059. _EvaluateVisitor__registerCommentsForModule_closure2: function _EvaluateVisitor__registerCommentsForModule_closure2() {
  20060. },
  20061. _EvaluateVisitor_visitIfRule_closure2: function _EvaluateVisitor_visitIfRule_closure2(t0) {
  20062. this.$this = t0;
  20063. },
  20064. _EvaluateVisitor_visitIfRule__closure2: function _EvaluateVisitor_visitIfRule__closure2(t0, t1) {
  20065. this.$this = t0;
  20066. this.clause = t1;
  20067. },
  20068. _EvaluateVisitor_visitIfRule___closure2: function _EvaluateVisitor_visitIfRule___closure2(t0) {
  20069. this.$this = t0;
  20070. },
  20071. _EvaluateVisitor__visitDynamicImport_closure2: function _EvaluateVisitor__visitDynamicImport_closure2(t0, t1) {
  20072. this.$this = t0;
  20073. this.$import = t1;
  20074. },
  20075. _EvaluateVisitor__visitDynamicImport__closure11: function _EvaluateVisitor__visitDynamicImport__closure11(t0) {
  20076. this.$this = t0;
  20077. },
  20078. _EvaluateVisitor__visitDynamicImport__closure12: function _EvaluateVisitor__visitDynamicImport__closure12() {
  20079. },
  20080. _EvaluateVisitor__visitDynamicImport__closure13: function _EvaluateVisitor__visitDynamicImport__closure13() {
  20081. },
  20082. _EvaluateVisitor__visitDynamicImport__closure14: function _EvaluateVisitor__visitDynamicImport__closure14(t0, t1, t2, t3, t4) {
  20083. var _ = this;
  20084. _._box_0 = t0;
  20085. _.$this = t1;
  20086. _.loadsUserDefinedModules = t2;
  20087. _.environment = t3;
  20088. _.children = t4;
  20089. },
  20090. _EvaluateVisitor__applyMixin_closure5: function _EvaluateVisitor__applyMixin_closure5(t0, t1, t2, t3) {
  20091. var _ = this;
  20092. _.$this = t0;
  20093. _.$arguments = t1;
  20094. _.mixin = t2;
  20095. _.nodeWithSpanWithoutContent = t3;
  20096. },
  20097. _EvaluateVisitor__applyMixin__closure6: function _EvaluateVisitor__applyMixin__closure6(t0, t1, t2, t3) {
  20098. var _ = this;
  20099. _.$this = t0;
  20100. _.$arguments = t1;
  20101. _.mixin = t2;
  20102. _.nodeWithSpanWithoutContent = t3;
  20103. },
  20104. _EvaluateVisitor__applyMixin_closure6: function _EvaluateVisitor__applyMixin_closure6(t0, t1, t2, t3) {
  20105. var _ = this;
  20106. _.$this = t0;
  20107. _.contentCallable = t1;
  20108. _.mixin = t2;
  20109. _.nodeWithSpanWithoutContent = t3;
  20110. },
  20111. _EvaluateVisitor__applyMixin__closure5: function _EvaluateVisitor__applyMixin__closure5(t0, t1, t2) {
  20112. this.$this = t0;
  20113. this.mixin = t1;
  20114. this.nodeWithSpanWithoutContent = t2;
  20115. },
  20116. _EvaluateVisitor__applyMixin___closure2: function _EvaluateVisitor__applyMixin___closure2(t0, t1, t2) {
  20117. this.$this = t0;
  20118. this.mixin = t1;
  20119. this.nodeWithSpanWithoutContent = t2;
  20120. },
  20121. _EvaluateVisitor__applyMixin____closure2: function _EvaluateVisitor__applyMixin____closure2(t0, t1) {
  20122. this.$this = t0;
  20123. this.statement = t1;
  20124. },
  20125. _EvaluateVisitor_visitIncludeRule_closure8: function _EvaluateVisitor_visitIncludeRule_closure8(t0, t1) {
  20126. this.$this = t0;
  20127. this.node = t1;
  20128. },
  20129. _EvaluateVisitor_visitIncludeRule_closure9: function _EvaluateVisitor_visitIncludeRule_closure9(t0) {
  20130. this.$this = t0;
  20131. },
  20132. _EvaluateVisitor_visitIncludeRule_closure10: function _EvaluateVisitor_visitIncludeRule_closure10(t0) {
  20133. this.node = t0;
  20134. },
  20135. _EvaluateVisitor_visitMediaRule_closure8: function _EvaluateVisitor_visitMediaRule_closure8(t0, t1) {
  20136. this.$this = t0;
  20137. this.queries = t1;
  20138. },
  20139. _EvaluateVisitor_visitMediaRule_closure9: function _EvaluateVisitor_visitMediaRule_closure9(t0, t1, t2, t3, t4) {
  20140. var _ = this;
  20141. _.$this = t0;
  20142. _.mergedQueries = t1;
  20143. _.queries = t2;
  20144. _.mergedSources = t3;
  20145. _.node = t4;
  20146. },
  20147. _EvaluateVisitor_visitMediaRule__closure2: function _EvaluateVisitor_visitMediaRule__closure2(t0, t1) {
  20148. this.$this = t0;
  20149. this.node = t1;
  20150. },
  20151. _EvaluateVisitor_visitMediaRule___closure2: function _EvaluateVisitor_visitMediaRule___closure2(t0, t1) {
  20152. this.$this = t0;
  20153. this.node = t1;
  20154. },
  20155. _EvaluateVisitor_visitMediaRule_closure10: function _EvaluateVisitor_visitMediaRule_closure10(t0) {
  20156. this.mergedSources = t0;
  20157. },
  20158. _EvaluateVisitor_visitStyleRule_closure14: function _EvaluateVisitor_visitStyleRule_closure14(t0, t1) {
  20159. this.$this = t0;
  20160. this.node = t1;
  20161. },
  20162. _EvaluateVisitor_visitStyleRule_closure15: function _EvaluateVisitor_visitStyleRule_closure15() {
  20163. },
  20164. _EvaluateVisitor_visitStyleRule_closure17: function _EvaluateVisitor_visitStyleRule_closure17(t0, t1, t2) {
  20165. this.$this = t0;
  20166. this.rule = t1;
  20167. this.node = t2;
  20168. },
  20169. _EvaluateVisitor_visitStyleRule__closure2: function _EvaluateVisitor_visitStyleRule__closure2(t0, t1) {
  20170. this.$this = t0;
  20171. this.node = t1;
  20172. },
  20173. _EvaluateVisitor_visitStyleRule_closure16: function _EvaluateVisitor_visitStyleRule_closure16() {
  20174. },
  20175. _EvaluateVisitor_visitStyleRule_closure18: function _EvaluateVisitor_visitStyleRule_closure18() {
  20176. },
  20177. _EvaluateVisitor_visitSupportsRule_closure5: function _EvaluateVisitor_visitSupportsRule_closure5(t0, t1) {
  20178. this.$this = t0;
  20179. this.node = t1;
  20180. },
  20181. _EvaluateVisitor_visitSupportsRule__closure2: function _EvaluateVisitor_visitSupportsRule__closure2(t0, t1) {
  20182. this.$this = t0;
  20183. this.node = t1;
  20184. },
  20185. _EvaluateVisitor_visitSupportsRule_closure6: function _EvaluateVisitor_visitSupportsRule_closure6() {
  20186. },
  20187. _EvaluateVisitor__visitSupportsCondition_closure2: function _EvaluateVisitor__visitSupportsCondition_closure2(t0, t1) {
  20188. this._box_0 = t0;
  20189. this.$this = t1;
  20190. },
  20191. _EvaluateVisitor_visitVariableDeclaration_closure8: function _EvaluateVisitor_visitVariableDeclaration_closure8(t0, t1, t2) {
  20192. this._box_0 = t0;
  20193. this.$this = t1;
  20194. this.node = t2;
  20195. },
  20196. _EvaluateVisitor_visitVariableDeclaration_closure9: function _EvaluateVisitor_visitVariableDeclaration_closure9(t0, t1) {
  20197. this.$this = t0;
  20198. this.node = t1;
  20199. },
  20200. _EvaluateVisitor_visitVariableDeclaration_closure10: function _EvaluateVisitor_visitVariableDeclaration_closure10(t0, t1, t2) {
  20201. this.$this = t0;
  20202. this.node = t1;
  20203. this.value = t2;
  20204. },
  20205. _EvaluateVisitor_visitUseRule_closure2: function _EvaluateVisitor_visitUseRule_closure2(t0, t1) {
  20206. this.$this = t0;
  20207. this.node = t1;
  20208. },
  20209. _EvaluateVisitor_visitWarnRule_closure2: function _EvaluateVisitor_visitWarnRule_closure2(t0, t1) {
  20210. this.$this = t0;
  20211. this.node = t1;
  20212. },
  20213. _EvaluateVisitor_visitWhileRule_closure2: function _EvaluateVisitor_visitWhileRule_closure2(t0, t1) {
  20214. this.$this = t0;
  20215. this.node = t1;
  20216. },
  20217. _EvaluateVisitor_visitWhileRule__closure2: function _EvaluateVisitor_visitWhileRule__closure2(t0) {
  20218. this.$this = t0;
  20219. },
  20220. _EvaluateVisitor_visitBinaryOperationExpression_closure2: function _EvaluateVisitor_visitBinaryOperationExpression_closure2(t0, t1) {
  20221. this.$this = t0;
  20222. this.node = t1;
  20223. },
  20224. _EvaluateVisitor__slash_recommendation2: function _EvaluateVisitor__slash_recommendation2() {
  20225. },
  20226. _EvaluateVisitor_visitVariableExpression_closure2: function _EvaluateVisitor_visitVariableExpression_closure2(t0, t1) {
  20227. this.$this = t0;
  20228. this.node = t1;
  20229. },
  20230. _EvaluateVisitor_visitUnaryOperationExpression_closure2: function _EvaluateVisitor_visitUnaryOperationExpression_closure2(t0, t1) {
  20231. this.node = t0;
  20232. this.operand = t1;
  20233. },
  20234. _EvaluateVisitor_visitListExpression_closure2: function _EvaluateVisitor_visitListExpression_closure2(t0) {
  20235. this.$this = t0;
  20236. },
  20237. _EvaluateVisitor_visitFunctionExpression_closure8: function _EvaluateVisitor_visitFunctionExpression_closure8(t0, t1) {
  20238. this.$this = t0;
  20239. this.node = t1;
  20240. },
  20241. _EvaluateVisitor_visitFunctionExpression_closure9: function _EvaluateVisitor_visitFunctionExpression_closure9() {
  20242. },
  20243. _EvaluateVisitor_visitFunctionExpression_closure10: function _EvaluateVisitor_visitFunctionExpression_closure10(t0, t1, t2) {
  20244. this._box_0 = t0;
  20245. this.$this = t1;
  20246. this.node = t2;
  20247. },
  20248. _EvaluateVisitor__checkCalculationArguments_check2: function _EvaluateVisitor__checkCalculationArguments_check2(t0, t1) {
  20249. this.$this = t0;
  20250. this.node = t1;
  20251. },
  20252. _EvaluateVisitor__visitCalculationExpression_closure2: function _EvaluateVisitor__visitCalculationExpression_closure2(t0, t1, t2, t3) {
  20253. var _ = this;
  20254. _._box_0 = t0;
  20255. _.$this = t1;
  20256. _.node = t2;
  20257. _.inLegacySassFunction = t3;
  20258. },
  20259. _EvaluateVisitor_visitInterpolatedFunctionExpression_closure2: function _EvaluateVisitor_visitInterpolatedFunctionExpression_closure2(t0, t1, t2) {
  20260. this.$this = t0;
  20261. this.node = t1;
  20262. this.$function = t2;
  20263. },
  20264. _EvaluateVisitor__runUserDefinedCallable_closure2: function _EvaluateVisitor__runUserDefinedCallable_closure2(t0, t1, t2, t3, t4, t5) {
  20265. var _ = this;
  20266. _.$this = t0;
  20267. _.callable = t1;
  20268. _.evaluated = t2;
  20269. _.nodeWithSpan = t3;
  20270. _.run = t4;
  20271. _.V = t5;
  20272. },
  20273. _EvaluateVisitor__runUserDefinedCallable__closure2: function _EvaluateVisitor__runUserDefinedCallable__closure2(t0, t1, t2, t3, t4, t5) {
  20274. var _ = this;
  20275. _.$this = t0;
  20276. _.evaluated = t1;
  20277. _.callable = t2;
  20278. _.nodeWithSpan = t3;
  20279. _.run = t4;
  20280. _.V = t5;
  20281. },
  20282. _EvaluateVisitor__runUserDefinedCallable___closure2: function _EvaluateVisitor__runUserDefinedCallable___closure2(t0, t1, t2, t3, t4, t5) {
  20283. var _ = this;
  20284. _.$this = t0;
  20285. _.evaluated = t1;
  20286. _.callable = t2;
  20287. _.nodeWithSpan = t3;
  20288. _.run = t4;
  20289. _.V = t5;
  20290. },
  20291. _EvaluateVisitor__runUserDefinedCallable____closure2: function _EvaluateVisitor__runUserDefinedCallable____closure2() {
  20292. },
  20293. _EvaluateVisitor__runFunctionCallable_closure2: function _EvaluateVisitor__runFunctionCallable_closure2(t0, t1) {
  20294. this.$this = t0;
  20295. this.callable = t1;
  20296. },
  20297. _EvaluateVisitor__runBuiltInCallable_closure8: function _EvaluateVisitor__runBuiltInCallable_closure8(t0, t1, t2) {
  20298. this._box_0 = t0;
  20299. this.evaluated = t1;
  20300. this.namedSet = t2;
  20301. },
  20302. _EvaluateVisitor__runBuiltInCallable_closure9: function _EvaluateVisitor__runBuiltInCallable_closure9(t0, t1) {
  20303. this._box_0 = t0;
  20304. this.evaluated = t1;
  20305. },
  20306. _EvaluateVisitor__runBuiltInCallable_closure10: function _EvaluateVisitor__runBuiltInCallable_closure10() {
  20307. },
  20308. _EvaluateVisitor__evaluateArguments_closure11: function _EvaluateVisitor__evaluateArguments_closure11() {
  20309. },
  20310. _EvaluateVisitor__evaluateArguments_closure12: function _EvaluateVisitor__evaluateArguments_closure12(t0, t1) {
  20311. this.$this = t0;
  20312. this.restNodeForSpan = t1;
  20313. },
  20314. _EvaluateVisitor__evaluateArguments_closure13: function _EvaluateVisitor__evaluateArguments_closure13(t0, t1, t2, t3) {
  20315. var _ = this;
  20316. _.$this = t0;
  20317. _.named = t1;
  20318. _.restNodeForSpan = t2;
  20319. _.namedNodes = t3;
  20320. },
  20321. _EvaluateVisitor__evaluateArguments_closure14: function _EvaluateVisitor__evaluateArguments_closure14() {
  20322. },
  20323. _EvaluateVisitor__evaluateMacroArguments_closure11: function _EvaluateVisitor__evaluateMacroArguments_closure11(t0) {
  20324. this.restArgs = t0;
  20325. },
  20326. _EvaluateVisitor__evaluateMacroArguments_closure12: function _EvaluateVisitor__evaluateMacroArguments_closure12(t0, t1, t2) {
  20327. this.$this = t0;
  20328. this.restNodeForSpan = t1;
  20329. this.restArgs = t2;
  20330. },
  20331. _EvaluateVisitor__evaluateMacroArguments_closure13: function _EvaluateVisitor__evaluateMacroArguments_closure13(t0, t1, t2, t3) {
  20332. var _ = this;
  20333. _.$this = t0;
  20334. _.named = t1;
  20335. _.restNodeForSpan = t2;
  20336. _.restArgs = t3;
  20337. },
  20338. _EvaluateVisitor__evaluateMacroArguments_closure14: function _EvaluateVisitor__evaluateMacroArguments_closure14(t0, t1, t2) {
  20339. this.$this = t0;
  20340. this.keywordRestNodeForSpan = t1;
  20341. this.keywordRestArgs = t2;
  20342. },
  20343. _EvaluateVisitor__addRestMap_closure2: function _EvaluateVisitor__addRestMap_closure2(t0, t1, t2, t3, t4, t5) {
  20344. var _ = this;
  20345. _.$this = t0;
  20346. _.values = t1;
  20347. _.convert = t2;
  20348. _.expressionNode = t3;
  20349. _.map = t4;
  20350. _.nodeWithSpan = t5;
  20351. },
  20352. _EvaluateVisitor__verifyArguments_closure2: function _EvaluateVisitor__verifyArguments_closure2(t0, t1, t2) {
  20353. this.$arguments = t0;
  20354. this.positional = t1;
  20355. this.named = t2;
  20356. },
  20357. _EvaluateVisitor_visitCssAtRule_closure5: function _EvaluateVisitor_visitCssAtRule_closure5(t0, t1) {
  20358. this.$this = t0;
  20359. this.node = t1;
  20360. },
  20361. _EvaluateVisitor_visitCssAtRule_closure6: function _EvaluateVisitor_visitCssAtRule_closure6() {
  20362. },
  20363. _EvaluateVisitor_visitCssKeyframeBlock_closure5: function _EvaluateVisitor_visitCssKeyframeBlock_closure5(t0, t1) {
  20364. this.$this = t0;
  20365. this.node = t1;
  20366. },
  20367. _EvaluateVisitor_visitCssKeyframeBlock_closure6: function _EvaluateVisitor_visitCssKeyframeBlock_closure6() {
  20368. },
  20369. _EvaluateVisitor_visitCssMediaRule_closure8: function _EvaluateVisitor_visitCssMediaRule_closure8(t0, t1) {
  20370. this.$this = t0;
  20371. this.node = t1;
  20372. },
  20373. _EvaluateVisitor_visitCssMediaRule_closure9: function _EvaluateVisitor_visitCssMediaRule_closure9(t0, t1, t2, t3) {
  20374. var _ = this;
  20375. _.$this = t0;
  20376. _.mergedQueries = t1;
  20377. _.node = t2;
  20378. _.mergedSources = t3;
  20379. },
  20380. _EvaluateVisitor_visitCssMediaRule__closure2: function _EvaluateVisitor_visitCssMediaRule__closure2(t0, t1) {
  20381. this.$this = t0;
  20382. this.node = t1;
  20383. },
  20384. _EvaluateVisitor_visitCssMediaRule___closure2: function _EvaluateVisitor_visitCssMediaRule___closure2(t0, t1) {
  20385. this.$this = t0;
  20386. this.node = t1;
  20387. },
  20388. _EvaluateVisitor_visitCssMediaRule_closure10: function _EvaluateVisitor_visitCssMediaRule_closure10(t0) {
  20389. this.mergedSources = t0;
  20390. },
  20391. _EvaluateVisitor_visitCssStyleRule_closure6: function _EvaluateVisitor_visitCssStyleRule_closure6(t0, t1, t2) {
  20392. this.$this = t0;
  20393. this.rule = t1;
  20394. this.node = t2;
  20395. },
  20396. _EvaluateVisitor_visitCssStyleRule__closure2: function _EvaluateVisitor_visitCssStyleRule__closure2(t0, t1) {
  20397. this.$this = t0;
  20398. this.node = t1;
  20399. },
  20400. _EvaluateVisitor_visitCssStyleRule_closure5: function _EvaluateVisitor_visitCssStyleRule_closure5() {
  20401. },
  20402. _EvaluateVisitor_visitCssSupportsRule_closure5: function _EvaluateVisitor_visitCssSupportsRule_closure5(t0, t1) {
  20403. this.$this = t0;
  20404. this.node = t1;
  20405. },
  20406. _EvaluateVisitor_visitCssSupportsRule__closure2: function _EvaluateVisitor_visitCssSupportsRule__closure2(t0, t1) {
  20407. this.$this = t0;
  20408. this.node = t1;
  20409. },
  20410. _EvaluateVisitor_visitCssSupportsRule_closure6: function _EvaluateVisitor_visitCssSupportsRule_closure6() {
  20411. },
  20412. _EvaluateVisitor__performInterpolationHelper_closure2: function _EvaluateVisitor__performInterpolationHelper_closure2(t0) {
  20413. this.interpolation = t0;
  20414. },
  20415. _EvaluateVisitor__serialize_closure2: function _EvaluateVisitor__serialize_closure2(t0, t1) {
  20416. this.value = t0;
  20417. this.quote = t1;
  20418. },
  20419. _EvaluateVisitor__expressionNode_closure2: function _EvaluateVisitor__expressionNode_closure2(t0, t1) {
  20420. this.$this = t0;
  20421. this.expression = t1;
  20422. },
  20423. _EvaluateVisitor__withoutSlash_recommendation2: function _EvaluateVisitor__withoutSlash_recommendation2() {
  20424. },
  20425. _EvaluateVisitor__stackFrame_closure2: function _EvaluateVisitor__stackFrame_closure2(t0) {
  20426. this.$this = t0;
  20427. },
  20428. _ImportedCssVisitor2: function _ImportedCssVisitor2(t0) {
  20429. this._async_evaluate0$_visitor = t0;
  20430. },
  20431. _ImportedCssVisitor_visitCssAtRule_closure2: function _ImportedCssVisitor_visitCssAtRule_closure2() {
  20432. },
  20433. _ImportedCssVisitor_visitCssMediaRule_closure2: function _ImportedCssVisitor_visitCssMediaRule_closure2(t0) {
  20434. this.hasBeenMerged = t0;
  20435. },
  20436. _ImportedCssVisitor_visitCssStyleRule_closure2: function _ImportedCssVisitor_visitCssStyleRule_closure2() {
  20437. },
  20438. _ImportedCssVisitor_visitCssSupportsRule_closure2: function _ImportedCssVisitor_visitCssSupportsRule_closure2() {
  20439. },
  20440. _EvaluationContext2: function _EvaluationContext2(t0, t1) {
  20441. this._async_evaluate0$_visitor = t0;
  20442. this._async_evaluate0$_defaultWarnNodeWithSpan = t1;
  20443. },
  20444. JSToDartAsyncFileImporter: function JSToDartAsyncFileImporter(t0) {
  20445. this._findFileUrl = t0;
  20446. },
  20447. JSToDartAsyncFileImporter_canonicalize_closure: function JSToDartAsyncFileImporter_canonicalize_closure(t0, t1) {
  20448. this.$this = t0;
  20449. this.url = t1;
  20450. },
  20451. AsyncImportCache$(importers, loadPaths, logger, packageConfig) {
  20452. var t1 = type$.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2,
  20453. t2 = type$.Record_3_AsyncImporter_and_Uri_and_bool_forImport_2,
  20454. t3 = type$.Uri,
  20455. t4 = A.AsyncImportCache__toImporters0(importers, loadPaths, packageConfig);
  20456. return new A.AsyncImportCache0(t4, logger, 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));
  20457. },
  20458. AsyncImportCache$none(logger) {
  20459. var t1 = type$.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2,
  20460. t2 = type$.Record_3_AsyncImporter_and_Uri_and_bool_forImport_2,
  20461. t3 = type$.Uri;
  20462. return new A.AsyncImportCache0(B.List_empty25, logger, 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));
  20463. },
  20464. AsyncImportCache__toImporters0(importers, loadPaths, packageConfig) {
  20465. var t1, t2, t3, t4, _i, path, _null = null,
  20466. sassPath = A.getEnvironmentVariable0("SASS_PATH");
  20467. if (A.isBrowser()) {
  20468. t1 = A._setArrayType([], type$.JSArray_AsyncImporter);
  20469. if (importers != null)
  20470. B.JSArray_methods.addAll$1(t1, importers);
  20471. return t1;
  20472. }
  20473. t1 = A._setArrayType([], type$.JSArray_AsyncImporter);
  20474. if (importers != null)
  20475. B.JSArray_methods.addAll$1(t1, importers);
  20476. if (loadPaths != null)
  20477. for (t2 = J.get$iterator$ax(loadPaths); t2.moveNext$0();) {
  20478. t3 = t2.get$current(t2);
  20479. 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));
  20480. }
  20481. if (sassPath != null) {
  20482. t2 = A.isNodeJs() ? self.process : _null;
  20483. t3 = sassPath.split(J.$eq$(t2 == null ? _null : J.get$platform$x(t2), "win32") ? ";" : ":");
  20484. t4 = t3.length;
  20485. _i = 0;
  20486. for (; _i < t4; ++_i) {
  20487. path = t3[_i];
  20488. 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));
  20489. }
  20490. }
  20491. return t1;
  20492. },
  20493. AsyncImportCache0: function AsyncImportCache0(t0, t1, t2, t3, t4, t5, t6) {
  20494. var _ = this;
  20495. _._async_import_cache0$_importers = t0;
  20496. _._async_import_cache0$_logger = t1;
  20497. _._async_import_cache0$_canonicalizeCache = t2;
  20498. _._async_import_cache0$_perImporterCanonicalizeCache = t3;
  20499. _._async_import_cache0$_nonCanonicalRelativeUrls = t4;
  20500. _._async_import_cache0$_importCache = t5;
  20501. _._async_import_cache0$_resultsCache = t6;
  20502. },
  20503. AsyncImportCache_canonicalize_closure0: function AsyncImportCache_canonicalize_closure0(t0, t1, t2, t3, t4, t5, t6) {
  20504. var _ = this;
  20505. _.$this = t0;
  20506. _.baseImporter = t1;
  20507. _.resolvedUrl = t2;
  20508. _.baseUrl = t3;
  20509. _.forImport = t4;
  20510. _.key = t5;
  20511. _.url = t6;
  20512. },
  20513. AsyncImportCache__canonicalize_closure0: function AsyncImportCache__canonicalize_closure0(t0, t1) {
  20514. this.importer = t0;
  20515. this.url = t1;
  20516. },
  20517. AsyncImportCache_importCanonical_closure0: function AsyncImportCache_importCanonical_closure0(t0, t1, t2, t3, t4) {
  20518. var _ = this;
  20519. _.$this = t0;
  20520. _.importer = t1;
  20521. _.canonicalUrl = t2;
  20522. _.originalUrl = t3;
  20523. _.quiet = t4;
  20524. },
  20525. AsyncImportCache_humanize_closure3: function AsyncImportCache_humanize_closure3(t0) {
  20526. this.canonicalUrl = t0;
  20527. },
  20528. AsyncImportCache_humanize_closure4: function AsyncImportCache_humanize_closure4() {
  20529. },
  20530. AsyncImportCache_humanize_closure5: function AsyncImportCache_humanize_closure5() {
  20531. },
  20532. AsyncImportCache_humanize_closure6: function AsyncImportCache_humanize_closure6(t0) {
  20533. this.canonicalUrl = t0;
  20534. },
  20535. AtRootQueryParser$0(contents, logger, url) {
  20536. var t1 = A.SpanScanner$(contents, url);
  20537. return new A.AtRootQueryParser0(t1, logger, null);
  20538. },
  20539. AtRootQueryParser0: function AtRootQueryParser0(t0, t1, t2) {
  20540. this.scanner = t0;
  20541. this.logger = t1;
  20542. this._parser0$_interpolationMap = t2;
  20543. },
  20544. AtRootQueryParser_parse_closure0: function AtRootQueryParser_parse_closure0(t0) {
  20545. this.$this = t0;
  20546. },
  20547. AtRootQuery0: function AtRootQuery0(t0, t1, t2, t3) {
  20548. var _ = this;
  20549. _.include = t0;
  20550. _.names = t1;
  20551. _._at_root_query0$_all = t2;
  20552. _._at_root_query0$_rule = t3;
  20553. },
  20554. AtRootRule$0(children, span, query) {
  20555. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  20556. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  20557. return new A.AtRootRule0(query, span, t1, t2);
  20558. },
  20559. AtRootRule0: function AtRootRule0(t0, t1, t2, t3) {
  20560. var _ = this;
  20561. _.query = t0;
  20562. _.span = t1;
  20563. _.children = t2;
  20564. _.hasDeclarations = t3;
  20565. },
  20566. ModifiableCssAtRule$0($name, span, childless, value) {
  20567. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  20568. return new A.ModifiableCssAtRule0($name, value, childless, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode_2), t1);
  20569. },
  20570. ModifiableCssAtRule0: function ModifiableCssAtRule0(t0, t1, t2, t3, t4, t5) {
  20571. var _ = this;
  20572. _.name = t0;
  20573. _.value = t1;
  20574. _.isChildless = t2;
  20575. _.span = t3;
  20576. _.children = t4;
  20577. _._node$_children = t5;
  20578. _._node$_indexInParent = _._node$_parent = null;
  20579. _.isGroupEnd = false;
  20580. },
  20581. AtRule$0($name, span, children, value) {
  20582. var t1 = children == null ? null : A.List_List$unmodifiable(children, type$.Statement_2),
  20583. t2 = t1 == null ? null : B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  20584. return new A.AtRule0($name, value, span, t1, t2 === true);
  20585. },
  20586. AtRule0: function AtRule0(t0, t1, t2, t3, t4) {
  20587. var _ = this;
  20588. _.name = t0;
  20589. _.value = t1;
  20590. _.span = t2;
  20591. _.children = t3;
  20592. _.hasDeclarations = t4;
  20593. },
  20594. AttributeSelector0: function AttributeSelector0(t0, t1, t2, t3, t4) {
  20595. var _ = this;
  20596. _.name = t0;
  20597. _.op = t1;
  20598. _.value = t2;
  20599. _.modifier = t3;
  20600. _.span = t4;
  20601. },
  20602. AttributeOperator0: function AttributeOperator0(t0, t1) {
  20603. this._attribute0$_text = t0;
  20604. this._name = t1;
  20605. },
  20606. BinaryOperationExpression0: function BinaryOperationExpression0(t0, t1, t2, t3) {
  20607. var _ = this;
  20608. _.operator = t0;
  20609. _.left = t1;
  20610. _.right = t2;
  20611. _.allowsSlash = t3;
  20612. },
  20613. BinaryOperator0: function BinaryOperator0(t0, t1, t2, t3, t4) {
  20614. var _ = this;
  20615. _.name = t0;
  20616. _.operator = t1;
  20617. _.precedence = t2;
  20618. _.isAssociative = t3;
  20619. _._name = t4;
  20620. },
  20621. BooleanExpression0: function BooleanExpression0(t0, t1) {
  20622. this.value = t0;
  20623. this.span = t1;
  20624. },
  20625. booleanClass_closure: function booleanClass_closure() {
  20626. },
  20627. booleanClass__closure: function booleanClass__closure() {
  20628. },
  20629. legacyBooleanClass_closure: function legacyBooleanClass_closure() {
  20630. },
  20631. legacyBooleanClass__closure: function legacyBooleanClass__closure() {
  20632. },
  20633. legacyBooleanClass__closure0: function legacyBooleanClass__closure0() {
  20634. },
  20635. SassBoolean0: function SassBoolean0(t0) {
  20636. this.value = t0;
  20637. },
  20638. Box0: function Box0(t0, t1) {
  20639. this._box0$_inner = t0;
  20640. this.$ti = t1;
  20641. },
  20642. ModifiableBox0: function ModifiableBox0(t0, t1) {
  20643. this.value = t0;
  20644. this.$ti = t1;
  20645. },
  20646. BuiltInCallable$function0($name, $arguments, callback, url) {
  20647. return new A.BuiltInCallable0($name, A._setArrayType([new A._Record_2(A.ScssParser$0("@function " + $name + "(" + $arguments + ") {", null, url).parseArgumentDeclaration$0(), callback)], type$.JSArray_Record_2_ArgumentDeclaration_and_Value_Function_List_Value_2), false);
  20648. },
  20649. BuiltInCallable$mixin0($name, $arguments, callback, acceptsContent, url) {
  20650. return new A.BuiltInCallable0($name, A._setArrayType([new A._Record_2(A.ScssParser$0("@mixin " + $name + "(" + $arguments + ") {", null, url).parseArgumentDeclaration$0(), new A.BuiltInCallable$mixin_closure0(callback))], type$.JSArray_Record_2_ArgumentDeclaration_and_Value_Function_List_Value_2), acceptsContent);
  20651. },
  20652. BuiltInCallable$overloadedFunction0($name, overloads) {
  20653. var t2, t3, t4, t5, t6, args, callback,
  20654. t1 = A._setArrayType([], type$.JSArray_Record_2_ArgumentDeclaration_and_Value_Function_List_Value_2);
  20655. 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$.VariableDeclaration_2; t3.moveNext$0();) {
  20656. t6 = t3.get$current(t3);
  20657. args = t6._0;
  20658. callback = t6._1;
  20659. t6 = A.SpanScanner$(t4 + args + ") {", null);
  20660. t1.push(new A._Record_2(new A.ScssParser0(A.LinkedHashMap_LinkedHashMap$_empty(t2, t5), t6, B.StderrLogger_false0, null).parseArgumentDeclaration$0(), callback));
  20661. }
  20662. return new A.BuiltInCallable0($name, t1, false);
  20663. },
  20664. BuiltInCallable0: function BuiltInCallable0(t0, t1, t2) {
  20665. this.name = t0;
  20666. this._built_in$_overloads = t1;
  20667. this.acceptsContent = t2;
  20668. },
  20669. BuiltInCallable$mixin_closure0: function BuiltInCallable$mixin_closure0(t0) {
  20670. this.callback = t0;
  20671. },
  20672. BuiltInModule$0($name, functions, mixins, variables, $T) {
  20673. var t1 = A._Uri__Uri(null, $name, null, "sass"),
  20674. t2 = A.BuiltInModule__callableMap0(functions, $T),
  20675. t3 = A.BuiltInModule__callableMap0(mixins, $T),
  20676. t4 = variables == null ? B.Map_empty13 : new A.UnmodifiableMapView(variables, type$.UnmodifiableMapView_String_Value_2);
  20677. return new A.BuiltInModule0(t1, t2, t3, t4, $T._eval$1("BuiltInModule0<0>"));
  20678. },
  20679. BuiltInModule__callableMap0(callables, $T) {
  20680. var t2, _i, callable,
  20681. t1 = type$.String;
  20682. if (callables == null)
  20683. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, $T);
  20684. else {
  20685. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, $T);
  20686. for (t2 = callables.length, _i = 0; _i < callables.length; callables.length === t2 || (0, A.throwConcurrentModificationError)(callables), ++_i) {
  20687. callable = callables[_i];
  20688. t1.$indexSet(0, J.get$name$x(callable), callable);
  20689. }
  20690. t1 = new A.UnmodifiableMapView(t1, type$.$env_1_1_String._bind$1($T)._eval$1("UnmodifiableMapView<1,2>"));
  20691. }
  20692. return new A.UnmodifiableMapView(t1, type$.$env_1_1_String._bind$1($T)._eval$1("UnmodifiableMapView<1,2>"));
  20693. },
  20694. BuiltInModule0: function BuiltInModule0(t0, t1, t2, t3, t4) {
  20695. var _ = this;
  20696. _.url = t0;
  20697. _.functions = t1;
  20698. _.mixins = t2;
  20699. _.variables = t3;
  20700. _.$ti = t4;
  20701. },
  20702. _assertCalculationValue(arg) {
  20703. var t1;
  20704. $label0$0: {
  20705. if (!(arg instanceof A.SassNumber0))
  20706. t1 = arg instanceof A.SassString0 && !arg._string0$_hasQuotes || arg instanceof A.SassCalculation0 || arg instanceof A.CalculationOperation0 || arg instanceof A.CalculationInterpolation;
  20707. else
  20708. t1 = true;
  20709. if (t1) {
  20710. t1 = null;
  20711. break $label0$0;
  20712. }
  20713. t1 = A.jsThrow0(new self.Error("Argument `" + A.S(arg) + "` must be one of SassNumber, unquoted SassString, SassCalculation, CalculationOperation, CalculationInterpolation"));
  20714. }
  20715. return t1;
  20716. },
  20717. _isValidClampArg(arg) {
  20718. var t1;
  20719. $label0$0: {
  20720. if (!(arg instanceof A.CalculationInterpolation))
  20721. t1 = arg instanceof A.SassString0 && !arg._string0$_hasQuotes;
  20722. else
  20723. t1 = true;
  20724. if (t1)
  20725. break $label0$0;
  20726. break $label0$0;
  20727. }
  20728. return t1;
  20729. },
  20730. calculationClass_closure: function calculationClass_closure() {
  20731. },
  20732. calculationClass__closure: function calculationClass__closure() {
  20733. },
  20734. calculationClass__closure0: function calculationClass__closure0() {
  20735. },
  20736. calculationClass__closure1: function calculationClass__closure1() {
  20737. },
  20738. calculationClass__closure2: function calculationClass__closure2() {
  20739. },
  20740. calculationClass__closure3: function calculationClass__closure3() {
  20741. },
  20742. calculationClass__closure4: function calculationClass__closure4() {
  20743. },
  20744. calculationClass__closure5: function calculationClass__closure5() {
  20745. },
  20746. calculationOperationClass_closure: function calculationOperationClass_closure() {
  20747. },
  20748. calculationOperationClass__closure: function calculationOperationClass__closure() {
  20749. },
  20750. calculationOperationClass___closure: function calculationOperationClass___closure(t0) {
  20751. this.strOperator = t0;
  20752. },
  20753. calculationOperationClass__closure0: function calculationOperationClass__closure0() {
  20754. },
  20755. calculationOperationClass__closure1: function calculationOperationClass__closure1() {
  20756. },
  20757. calculationOperationClass__closure2: function calculationOperationClass__closure2() {
  20758. },
  20759. calculationOperationClass__closure3: function calculationOperationClass__closure3() {
  20760. },
  20761. calculationOperationClass__closure4: function calculationOperationClass__closure4() {
  20762. },
  20763. calculationInterpolationClass_closure: function calculationInterpolationClass_closure() {
  20764. },
  20765. calculationInterpolationClass__closure: function calculationInterpolationClass__closure() {
  20766. },
  20767. calculationInterpolationClass__closure0: function calculationInterpolationClass__closure0() {
  20768. },
  20769. calculationInterpolationClass__closure1: function calculationInterpolationClass__closure1() {
  20770. },
  20771. calculationInterpolationClass__closure2: function calculationInterpolationClass__closure2() {
  20772. },
  20773. SassCalculation_calc0(argument) {
  20774. var t1,
  20775. _0_0 = A.SassCalculation__simplify0(argument);
  20776. $label0$0: {
  20777. if (_0_0 instanceof A.SassNumber0) {
  20778. t1 = _0_0;
  20779. break $label0$0;
  20780. }
  20781. if (_0_0 instanceof A.SassCalculation0) {
  20782. t1 = _0_0;
  20783. break $label0$0;
  20784. }
  20785. t1 = new A.SassCalculation0("calc", A.List_List$unmodifiable([_0_0], type$.Object));
  20786. break $label0$0;
  20787. }
  20788. return t1;
  20789. },
  20790. SassCalculation_min0($arguments) {
  20791. var minimum, _i, arg, t2,
  20792. args = A.List_List$unmodifiable(new A.MappedListIterable($arguments, A.calculation0_SassCalculation__simplify$closure(), A._arrayInstanceType($arguments)._eval$1("MappedListIterable<1,@>")), type$.Object),
  20793. t1 = args.length;
  20794. if (t1 === 0)
  20795. throw A.wrapException(A.ArgumentError$("min() must have at least one argument.", null));
  20796. for (minimum = null, _i = 0; _i < t1; ++_i) {
  20797. arg = args[_i];
  20798. if (arg instanceof A.SassNumber0)
  20799. t2 = minimum != null && !minimum.isComparableTo$1(arg);
  20800. else
  20801. t2 = true;
  20802. if (t2) {
  20803. minimum = null;
  20804. break;
  20805. } else if (minimum == null || minimum.greaterThan$1(arg).value)
  20806. minimum = arg;
  20807. }
  20808. if (minimum != null)
  20809. return minimum;
  20810. A.SassCalculation__verifyCompatibleNumbers0(args);
  20811. return new A.SassCalculation0("min", args);
  20812. },
  20813. SassCalculation_max0($arguments) {
  20814. var maximum, _i, arg, t2,
  20815. args = A.List_List$unmodifiable(new A.MappedListIterable($arguments, A.calculation0_SassCalculation__simplify$closure(), A._arrayInstanceType($arguments)._eval$1("MappedListIterable<1,@>")), type$.Object),
  20816. t1 = args.length;
  20817. if (t1 === 0)
  20818. throw A.wrapException(A.ArgumentError$("max() must have at least one argument.", null));
  20819. for (maximum = null, _i = 0; _i < t1; ++_i) {
  20820. arg = args[_i];
  20821. if (arg instanceof A.SassNumber0)
  20822. t2 = maximum != null && !maximum.isComparableTo$1(arg);
  20823. else
  20824. t2 = true;
  20825. if (t2) {
  20826. maximum = null;
  20827. break;
  20828. } else if (maximum == null || maximum.lessThan$1(arg).value)
  20829. maximum = arg;
  20830. }
  20831. if (maximum != null)
  20832. return maximum;
  20833. A.SassCalculation__verifyCompatibleNumbers0(args);
  20834. return new A.SassCalculation0("max", args);
  20835. },
  20836. SassCalculation_hypot0($arguments) {
  20837. var first, subtotal, i, number, value, t2, t3,
  20838. args = A.List_List$unmodifiable(new A.MappedListIterable($arguments, A.calculation0_SassCalculation__simplify$closure(), A._arrayInstanceType($arguments)._eval$1("MappedListIterable<1,@>")), type$.Object),
  20839. t1 = args.length;
  20840. if (t1 === 0)
  20841. throw A.wrapException(A.ArgumentError$("hypot() must have at least one argument.", null));
  20842. A.SassCalculation__verifyCompatibleNumbers0(args);
  20843. first = B.JSArray_methods.get$first(args);
  20844. if (!(first instanceof A.SassNumber0) || first.hasUnit$1("%"))
  20845. return new A.SassCalculation0("hypot", args);
  20846. for (subtotal = 0, i = 0; i < t1;) {
  20847. number = args[i];
  20848. if (!(number instanceof A.SassNumber0) || !number.hasCompatibleUnits$1(first))
  20849. return new A.SassCalculation0("hypot", args);
  20850. ++i;
  20851. value = number.convertValueToMatch$3(first, "numbers[" + i + "]", "numbers[1]");
  20852. subtotal += value * value;
  20853. }
  20854. t1 = Math.sqrt(subtotal);
  20855. t2 = J.getInterceptor$x(first);
  20856. t3 = t2.get$numeratorUnits(first);
  20857. return A.SassNumber_SassNumber$withUnits0(t1, t2.get$denominatorUnits(first), t3);
  20858. },
  20859. SassCalculation_abs0(argument) {
  20860. argument = A.SassCalculation__simplify0(argument);
  20861. if (!(argument instanceof A.SassNumber0))
  20862. return new A.SassCalculation0("abs", A._setArrayType([argument], type$.JSArray_Object));
  20863. if (argument.hasUnit$1("%"))
  20864. A.warnForDeprecation0(string$.Passinp + argument.toString$0(0) + ")\nTo emit a CSS abs() now: abs(#{" + argument.toString$0(0) + string$.x7d__Mor, B.Deprecation_jYb);
  20865. return A.SassNumber_SassNumber0(Math.abs(argument._number1$_value), null).coerceToMatch$1(argument);
  20866. },
  20867. SassCalculation_exp0(argument) {
  20868. argument = A.SassCalculation__simplify0(argument);
  20869. if (!(argument instanceof A.SassNumber0))
  20870. return new A.SassCalculation0("exp", A._setArrayType([argument], type$.JSArray_Object));
  20871. argument.assertNoUnits$0();
  20872. return A.pow1(A.SassNumber_SassNumber0(2.718281828459045, null), argument);
  20873. },
  20874. SassCalculation_sign0(argument) {
  20875. var t1, _0_2, t2, arg;
  20876. argument = A.SassCalculation__simplify0(argument);
  20877. $label0$0: {
  20878. t1 = argument instanceof A.SassNumber0;
  20879. if (t1) {
  20880. _0_2 = argument._number1$_value;
  20881. if (!isNaN(_0_2))
  20882. t2 = 0 === _0_2;
  20883. else
  20884. t2 = true;
  20885. } else
  20886. t2 = false;
  20887. if (t2) {
  20888. t1 = argument;
  20889. break $label0$0;
  20890. }
  20891. if (t1) {
  20892. t1 = !argument.hasUnit$1("%");
  20893. arg = argument;
  20894. } else {
  20895. arg = null;
  20896. t1 = false;
  20897. }
  20898. if (t1) {
  20899. t1 = A.SassNumber_SassNumber0(J.get$sign$in(arg._number1$_value), null).coerceToMatch$1(argument);
  20900. break $label0$0;
  20901. }
  20902. t1 = new A.SassCalculation0("sign", A._setArrayType([argument], type$.JSArray_Object));
  20903. break $label0$0;
  20904. }
  20905. return t1;
  20906. },
  20907. SassCalculation_clamp0(min, value, max) {
  20908. var t1, args;
  20909. if (value == null && max != null)
  20910. throw A.wrapException(A.ArgumentError$("If value is null, max must also be null.", null));
  20911. min = A.SassCalculation__simplify0(min);
  20912. value = A.NullableExtension_andThen0(value, A.calculation0_SassCalculation__simplify$closure());
  20913. max = A.NullableExtension_andThen0(max, A.calculation0_SassCalculation__simplify$closure());
  20914. if (min instanceof A.SassNumber0 && value instanceof A.SassNumber0 && max instanceof A.SassNumber0 && min.hasCompatibleUnits$1(value) && min.hasCompatibleUnits$1(max)) {
  20915. if (value.lessThanOrEquals$1(min).value)
  20916. return min;
  20917. if (value.greaterThanOrEquals$1(max).value)
  20918. return max;
  20919. return value;
  20920. }
  20921. t1 = [min];
  20922. if (value != null)
  20923. t1.push(value);
  20924. if (max != null)
  20925. t1.push(max);
  20926. args = A.List_List$unmodifiable(t1, type$.Object);
  20927. A.SassCalculation__verifyCompatibleNumbers0(args);
  20928. A.SassCalculation__verifyLength0(args, 3);
  20929. return new A.SassCalculation0("clamp", args);
  20930. },
  20931. SassCalculation_pow0(base, exponent) {
  20932. var t1 = A._setArrayType([base], type$.JSArray_Object);
  20933. if (exponent != null)
  20934. t1.push(exponent);
  20935. A.SassCalculation__verifyLength0(t1, 2);
  20936. base = A.SassCalculation__simplify0(base);
  20937. exponent = A.NullableExtension_andThen0(exponent, A.calculation0_SassCalculation__simplify$closure());
  20938. if (!(base instanceof A.SassNumber0) || !(exponent instanceof A.SassNumber0))
  20939. return new A.SassCalculation0("pow", t1);
  20940. base.assertNoUnits$0();
  20941. exponent.assertNoUnits$0();
  20942. return A.pow1(base, exponent);
  20943. },
  20944. SassCalculation_log0(number, base) {
  20945. var t1, t2;
  20946. number = A.SassCalculation__simplify0(number);
  20947. base = A.NullableExtension_andThen0(base, A.calculation0_SassCalculation__simplify$closure());
  20948. t1 = A._setArrayType([number], type$.JSArray_Object);
  20949. t2 = base != null;
  20950. if (t2)
  20951. t1.push(base);
  20952. if (number instanceof A.SassNumber0)
  20953. t2 = t2 && !(base instanceof A.SassNumber0);
  20954. else
  20955. t2 = true;
  20956. if (t2)
  20957. return new A.SassCalculation0("log", t1);
  20958. number.assertNoUnits$0();
  20959. if (base instanceof A.SassNumber0) {
  20960. base.assertNoUnits$0();
  20961. return A.log0(number, base);
  20962. }
  20963. return A.log0(number, null);
  20964. },
  20965. SassCalculation_atan20(y, x) {
  20966. var t1;
  20967. y = A.SassCalculation__simplify0(y);
  20968. x = A.NullableExtension_andThen0(x, A.calculation0_SassCalculation__simplify$closure());
  20969. t1 = A._setArrayType([y], type$.JSArray_Object);
  20970. if (x != null)
  20971. t1.push(x);
  20972. A.SassCalculation__verifyLength0(t1, 2);
  20973. A.SassCalculation__verifyCompatibleNumbers0(t1);
  20974. if (!(y instanceof A.SassNumber0) || !(x instanceof A.SassNumber0) || y.hasUnit$1("%") || x.hasUnit$1("%") || !y.hasCompatibleUnits$1(x))
  20975. return new A.SassCalculation0("atan2", t1);
  20976. 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));
  20977. },
  20978. SassCalculation_rem0(dividend, modulus) {
  20979. var t1, result;
  20980. dividend = A.SassCalculation__simplify0(dividend);
  20981. modulus = A.NullableExtension_andThen0(modulus, A.calculation0_SassCalculation__simplify$closure());
  20982. t1 = A._setArrayType([dividend], type$.JSArray_Object);
  20983. if (modulus != null)
  20984. t1.push(modulus);
  20985. A.SassCalculation__verifyLength0(t1, 2);
  20986. A.SassCalculation__verifyCompatibleNumbers0(t1);
  20987. if (!(dividend instanceof A.SassNumber0) || !(modulus instanceof A.SassNumber0) || !dividend.hasCompatibleUnits$1(modulus))
  20988. return new A.SassCalculation0("rem", t1);
  20989. result = dividend.modulo$1(modulus);
  20990. t1 = modulus._number1$_value;
  20991. if (A.DoubleWithSignedZero_get_signIncludingZero0(t1) !== A.DoubleWithSignedZero_get_signIncludingZero0(dividend._number1$_value)) {
  20992. if (t1 == 1 / 0 || t1 == -1 / 0)
  20993. return dividend;
  20994. if (result._number1$_value === 0)
  20995. return result.unaryMinus$0();
  20996. return result.minus$1(modulus);
  20997. }
  20998. return result;
  20999. },
  21000. SassCalculation_mod0(dividend, modulus) {
  21001. var t1;
  21002. dividend = A.SassCalculation__simplify0(dividend);
  21003. modulus = A.NullableExtension_andThen0(modulus, A.calculation0_SassCalculation__simplify$closure());
  21004. t1 = A._setArrayType([dividend], type$.JSArray_Object);
  21005. if (modulus != null)
  21006. t1.push(modulus);
  21007. A.SassCalculation__verifyLength0(t1, 2);
  21008. A.SassCalculation__verifyCompatibleNumbers0(t1);
  21009. if (!(dividend instanceof A.SassNumber0) || !(modulus instanceof A.SassNumber0) || !dividend.hasCompatibleUnits$1(modulus))
  21010. return new A.SassCalculation0("mod", t1);
  21011. return dividend.modulo$1(modulus);
  21012. },
  21013. SassCalculation_round0(strategyOrNumber, numberOrStep, step) {
  21014. var _0_4, _0_5_isSet, _0_20, _0_6, t1, _0_50, _0_6_isSet, number, t2, _0_2_isSet, _0_10_isSet, _0_8, _0_12_isSet, _0_12, _0_14_isSet, _0_14, _0_16_isSet, _0_16, t3, strategy, _0_8_isSet, t4, rest, _null = null, _s5_ = "round",
  21015. _0_1 = A.SassCalculation__simplify0(strategyOrNumber),
  21016. _0_2 = A.NullableExtension_andThen0(numberOrStep, A.calculation0_SassCalculation__simplify$closure()),
  21017. _0_5 = A.NullableExtension_andThen0(step, A.calculation0_SassCalculation__simplify$closure()),
  21018. _0_10 = _0_1,
  21019. _0_4_isSet = _0_1 instanceof A.SassNumber0;
  21020. if (_0_4_isSet) {
  21021. type$.SassNumber_2._as(_0_10);
  21022. _0_4 = _0_2 == null;
  21023. _0_5_isSet = _0_4;
  21024. _0_20 = _0_2;
  21025. if (_0_5_isSet) {
  21026. _0_6 = _0_5 == null;
  21027. t1 = _0_6;
  21028. _0_50 = _0_5;
  21029. } else {
  21030. _0_50 = _null;
  21031. _0_6 = _0_50;
  21032. t1 = false;
  21033. }
  21034. _0_6_isSet = _0_5_isSet;
  21035. number = _0_10;
  21036. _0_1 = number;
  21037. } else {
  21038. number = _null;
  21039. _0_50 = number;
  21040. _0_6 = _0_50;
  21041. _0_20 = _0_6;
  21042. _0_4 = _0_20;
  21043. _0_1 = _0_10;
  21044. _0_6_isSet = false;
  21045. _0_5_isSet = false;
  21046. t1 = false;
  21047. }
  21048. if (t1) {
  21049. t1 = B.JSNumber_methods.round$0(number._number1$_value);
  21050. t2 = number.get$numeratorUnits(number);
  21051. return A.SassNumber_SassNumber$withUnits0(t1, number.get$denominatorUnits(number), t2);
  21052. }
  21053. if (_0_1 instanceof A.SassNumber0) {
  21054. if (_0_4_isSet) {
  21055. t1 = _0_20;
  21056. _0_2_isSet = _0_4_isSet;
  21057. } else {
  21058. t1 = _0_2;
  21059. _0_20 = t1;
  21060. _0_2_isSet = true;
  21061. }
  21062. if (t1 instanceof A.SassNumber0) {
  21063. if (_0_2_isSet)
  21064. t1 = _0_20;
  21065. else {
  21066. t1 = _0_2;
  21067. _0_20 = t1;
  21068. _0_2_isSet = true;
  21069. }
  21070. type$.SassNumber_2._as(t1);
  21071. if (_0_6_isSet)
  21072. t2 = _0_6;
  21073. else {
  21074. if (_0_5_isSet)
  21075. t2 = _0_50;
  21076. else {
  21077. t2 = _0_5;
  21078. _0_50 = t2;
  21079. _0_5_isSet = true;
  21080. }
  21081. _0_6 = t2 == null;
  21082. t2 = _0_6;
  21083. _0_6_isSet = true;
  21084. }
  21085. t2 = t2 && !_0_1.hasCompatibleUnits$1(t1);
  21086. step = t1;
  21087. t1 = t2;
  21088. } else {
  21089. step = _null;
  21090. t1 = false;
  21091. }
  21092. number = _0_1;
  21093. } else {
  21094. step = _null;
  21095. number = step;
  21096. _0_2_isSet = _0_4_isSet;
  21097. t1 = false;
  21098. }
  21099. if (t1) {
  21100. t1 = type$.JSArray_Object;
  21101. A.SassCalculation__verifyCompatibleNumbers0(A._setArrayType([number, step], t1));
  21102. return new A.SassCalculation0(_s5_, A._setArrayType([number, step], t1));
  21103. }
  21104. if (_0_1 instanceof A.SassNumber0) {
  21105. if (_0_2_isSet)
  21106. t1 = _0_20;
  21107. else {
  21108. t1 = _0_2;
  21109. _0_20 = t1;
  21110. _0_2_isSet = true;
  21111. }
  21112. if (t1 instanceof A.SassNumber0) {
  21113. if (_0_2_isSet)
  21114. t1 = _0_20;
  21115. else {
  21116. t1 = _0_2;
  21117. _0_20 = t1;
  21118. _0_2_isSet = true;
  21119. }
  21120. type$.SassNumber_2._as(t1);
  21121. if (_0_6_isSet)
  21122. t2 = _0_6;
  21123. else {
  21124. if (_0_5_isSet)
  21125. t2 = _0_50;
  21126. else {
  21127. t2 = _0_5;
  21128. _0_50 = t2;
  21129. _0_5_isSet = true;
  21130. }
  21131. _0_6 = t2 == null;
  21132. t2 = _0_6;
  21133. _0_6_isSet = true;
  21134. }
  21135. step = t1;
  21136. t1 = t2;
  21137. } else {
  21138. step = _null;
  21139. t1 = false;
  21140. }
  21141. number = _0_1;
  21142. } else {
  21143. step = _null;
  21144. number = step;
  21145. t1 = false;
  21146. }
  21147. if (t1) {
  21148. A.SassCalculation__verifyCompatibleNumbers0(A._setArrayType([number, step], type$.JSArray_Object));
  21149. return A.SassCalculation__roundWithStep0("nearest", number, step);
  21150. }
  21151. _0_10_isSet = _0_1 instanceof A.SassString0;
  21152. if (_0_10_isSet) {
  21153. _0_8 = _0_1._string0$_text;
  21154. t1 = _0_8;
  21155. _0_10 = "nearest" === t1;
  21156. t1 = _0_10;
  21157. _0_12_isSet = !t1;
  21158. if (_0_12_isSet) {
  21159. _0_12 = "up" === _0_8;
  21160. t1 = _0_12;
  21161. _0_14_isSet = !t1;
  21162. if (_0_14_isSet) {
  21163. _0_14 = "down" === _0_8;
  21164. t1 = _0_14;
  21165. _0_16_isSet = !t1;
  21166. if (_0_16_isSet) {
  21167. _0_16 = "to-zero" === _0_8;
  21168. t1 = _0_16;
  21169. } else {
  21170. _0_16 = _null;
  21171. t1 = true;
  21172. }
  21173. } else {
  21174. _0_16 = _null;
  21175. _0_14 = _0_16;
  21176. _0_16_isSet = false;
  21177. t1 = true;
  21178. }
  21179. } else {
  21180. _0_16 = _null;
  21181. _0_14 = _0_16;
  21182. _0_12 = _0_14;
  21183. _0_14_isSet = false;
  21184. _0_16_isSet = false;
  21185. t1 = true;
  21186. }
  21187. if (t1) {
  21188. if (_0_2_isSet)
  21189. t1 = _0_20;
  21190. else {
  21191. t1 = _0_2;
  21192. _0_20 = t1;
  21193. _0_2_isSet = true;
  21194. }
  21195. if (t1 instanceof A.SassNumber0) {
  21196. if (_0_2_isSet)
  21197. t1 = _0_20;
  21198. else {
  21199. t1 = _0_2;
  21200. _0_20 = t1;
  21201. _0_2_isSet = true;
  21202. }
  21203. t2 = type$.SassNumber_2;
  21204. t2._as(t1);
  21205. if (_0_5_isSet)
  21206. t3 = _0_50;
  21207. else {
  21208. t3 = _0_5;
  21209. _0_50 = t3;
  21210. _0_5_isSet = true;
  21211. }
  21212. if (t3 instanceof A.SassNumber0) {
  21213. if (_0_5_isSet)
  21214. t3 = _0_50;
  21215. else {
  21216. t3 = _0_5;
  21217. _0_50 = t3;
  21218. _0_5_isSet = true;
  21219. }
  21220. t2._as(t3);
  21221. t2 = !t1.hasCompatibleUnits$1(t3);
  21222. step = t3;
  21223. } else {
  21224. step = _null;
  21225. t2 = false;
  21226. }
  21227. number = t1;
  21228. t1 = t2;
  21229. } else {
  21230. step = _null;
  21231. number = step;
  21232. t1 = false;
  21233. }
  21234. strategy = _0_1;
  21235. } else {
  21236. step = _null;
  21237. number = step;
  21238. strategy = number;
  21239. t1 = false;
  21240. }
  21241. } else {
  21242. step = _null;
  21243. number = step;
  21244. strategy = number;
  21245. _0_16 = strategy;
  21246. _0_14 = _0_16;
  21247. _0_12 = _0_14;
  21248. _0_8 = _0_12;
  21249. _0_10 = _0_8;
  21250. _0_12_isSet = false;
  21251. _0_14_isSet = false;
  21252. _0_16_isSet = false;
  21253. t1 = false;
  21254. }
  21255. if (t1) {
  21256. t1 = type$.JSArray_Object;
  21257. A.SassCalculation__verifyCompatibleNumbers0(A._setArrayType([number, step], t1));
  21258. return new A.SassCalculation0(_s5_, A._setArrayType([strategy, number, step], t1));
  21259. }
  21260. if (_0_1 instanceof A.SassString0) {
  21261. if (_0_10_isSet) {
  21262. t1 = _0_10;
  21263. _0_8_isSet = _0_10_isSet;
  21264. } else {
  21265. _0_8 = _0_1._string0$_text;
  21266. t1 = _0_8;
  21267. _0_10 = "nearest" === t1;
  21268. t1 = _0_10;
  21269. _0_10_isSet = true;
  21270. _0_8_isSet = true;
  21271. }
  21272. if (!t1) {
  21273. if (_0_12_isSet)
  21274. t1 = _0_12;
  21275. else {
  21276. if (_0_8_isSet)
  21277. t1 = _0_8;
  21278. else {
  21279. _0_8 = _0_1._string0$_text;
  21280. t1 = _0_8;
  21281. _0_8_isSet = true;
  21282. }
  21283. _0_12 = "up" === t1;
  21284. t1 = _0_12;
  21285. _0_12_isSet = true;
  21286. }
  21287. if (!t1) {
  21288. if (_0_14_isSet)
  21289. t1 = _0_14;
  21290. else {
  21291. if (_0_8_isSet)
  21292. t1 = _0_8;
  21293. else {
  21294. _0_8 = _0_1._string0$_text;
  21295. t1 = _0_8;
  21296. _0_8_isSet = true;
  21297. }
  21298. _0_14 = "down" === t1;
  21299. t1 = _0_14;
  21300. _0_14_isSet = true;
  21301. }
  21302. if (!t1)
  21303. if (_0_16_isSet)
  21304. t1 = _0_16;
  21305. else {
  21306. if (_0_8_isSet)
  21307. t1 = _0_8;
  21308. else {
  21309. _0_8 = _0_1._string0$_text;
  21310. t1 = _0_8;
  21311. _0_8_isSet = true;
  21312. }
  21313. _0_16 = "to-zero" === t1;
  21314. t1 = _0_16;
  21315. _0_16_isSet = true;
  21316. }
  21317. else
  21318. t1 = true;
  21319. } else
  21320. t1 = true;
  21321. } else
  21322. t1 = true;
  21323. if (t1) {
  21324. if (_0_2_isSet)
  21325. t1 = _0_20;
  21326. else {
  21327. t1 = _0_2;
  21328. _0_20 = t1;
  21329. _0_2_isSet = true;
  21330. }
  21331. if (t1 instanceof A.SassNumber0) {
  21332. if (_0_2_isSet)
  21333. t1 = _0_20;
  21334. else {
  21335. t1 = _0_2;
  21336. _0_20 = t1;
  21337. _0_2_isSet = true;
  21338. }
  21339. t2 = type$.SassNumber_2;
  21340. t2._as(t1);
  21341. if (_0_5_isSet)
  21342. t3 = _0_50;
  21343. else {
  21344. t3 = _0_5;
  21345. _0_50 = t3;
  21346. _0_5_isSet = true;
  21347. }
  21348. t3 = t3 instanceof A.SassNumber0;
  21349. if (t3) {
  21350. if (_0_5_isSet)
  21351. t4 = _0_50;
  21352. else {
  21353. t4 = _0_5;
  21354. _0_50 = t4;
  21355. _0_5_isSet = true;
  21356. }
  21357. t2._as(t4);
  21358. step = t4;
  21359. } else
  21360. step = _null;
  21361. t2 = t3;
  21362. number = t1;
  21363. t1 = t2;
  21364. } else {
  21365. step = _null;
  21366. number = step;
  21367. t1 = false;
  21368. }
  21369. strategy = _0_1;
  21370. } else {
  21371. step = _null;
  21372. number = step;
  21373. strategy = number;
  21374. t1 = false;
  21375. }
  21376. } else {
  21377. step = _null;
  21378. number = step;
  21379. strategy = number;
  21380. _0_8_isSet = _0_10_isSet;
  21381. t1 = false;
  21382. }
  21383. if (t1) {
  21384. A.SassCalculation__verifyCompatibleNumbers0(A._setArrayType([number, step], type$.JSArray_Object));
  21385. return A.SassCalculation__roundWithStep0(strategy._string0$_text, number, step);
  21386. }
  21387. if (_0_1 instanceof A.SassString0) {
  21388. if (_0_10_isSet)
  21389. t1 = _0_10;
  21390. else {
  21391. if (_0_8_isSet)
  21392. t1 = _0_8;
  21393. else {
  21394. _0_8 = _0_1._string0$_text;
  21395. t1 = _0_8;
  21396. _0_8_isSet = true;
  21397. }
  21398. _0_10 = "nearest" === t1;
  21399. t1 = _0_10;
  21400. _0_10_isSet = true;
  21401. }
  21402. if (!t1) {
  21403. if (_0_12_isSet)
  21404. t1 = _0_12;
  21405. else {
  21406. if (_0_8_isSet)
  21407. t1 = _0_8;
  21408. else {
  21409. _0_8 = _0_1._string0$_text;
  21410. t1 = _0_8;
  21411. _0_8_isSet = true;
  21412. }
  21413. _0_12 = "up" === t1;
  21414. t1 = _0_12;
  21415. _0_12_isSet = true;
  21416. }
  21417. if (!t1) {
  21418. if (_0_14_isSet)
  21419. t1 = _0_14;
  21420. else {
  21421. if (_0_8_isSet)
  21422. t1 = _0_8;
  21423. else {
  21424. _0_8 = _0_1._string0$_text;
  21425. t1 = _0_8;
  21426. _0_8_isSet = true;
  21427. }
  21428. _0_14 = "down" === t1;
  21429. t1 = _0_14;
  21430. _0_14_isSet = true;
  21431. }
  21432. if (!t1)
  21433. if (_0_16_isSet)
  21434. t1 = _0_16;
  21435. else {
  21436. if (_0_8_isSet)
  21437. t1 = _0_8;
  21438. else {
  21439. _0_8 = _0_1._string0$_text;
  21440. t1 = _0_8;
  21441. _0_8_isSet = true;
  21442. }
  21443. _0_16 = "to-zero" === t1;
  21444. t1 = _0_16;
  21445. _0_16_isSet = true;
  21446. }
  21447. else
  21448. t1 = true;
  21449. } else
  21450. t1 = true;
  21451. } else
  21452. t1 = true;
  21453. if (t1) {
  21454. if (_0_2_isSet)
  21455. t1 = _0_20;
  21456. else {
  21457. t1 = _0_2;
  21458. _0_20 = t1;
  21459. _0_2_isSet = true;
  21460. }
  21461. if (t1 instanceof A.SassString0) {
  21462. if (_0_2_isSet)
  21463. t1 = _0_20;
  21464. else {
  21465. t1 = _0_2;
  21466. _0_20 = t1;
  21467. _0_2_isSet = true;
  21468. }
  21469. type$.SassString_2._as(t1);
  21470. if (_0_6_isSet)
  21471. t2 = _0_6;
  21472. else {
  21473. if (_0_5_isSet)
  21474. t2 = _0_50;
  21475. else {
  21476. t2 = _0_5;
  21477. _0_50 = t2;
  21478. _0_5_isSet = true;
  21479. }
  21480. _0_6 = t2 == null;
  21481. t2 = _0_6;
  21482. _0_6_isSet = true;
  21483. }
  21484. rest = t1;
  21485. t1 = t2;
  21486. } else {
  21487. rest = _null;
  21488. t1 = false;
  21489. }
  21490. strategy = _0_1;
  21491. } else {
  21492. rest = _null;
  21493. strategy = rest;
  21494. t1 = false;
  21495. }
  21496. } else {
  21497. rest = _null;
  21498. strategy = rest;
  21499. t1 = false;
  21500. }
  21501. if (t1)
  21502. return new A.SassCalculation0(_s5_, A._setArrayType([strategy, rest], type$.JSArray_Object));
  21503. if (_0_1 instanceof A.SassString0) {
  21504. if (_0_10_isSet)
  21505. t1 = _0_10;
  21506. else {
  21507. if (_0_8_isSet)
  21508. t1 = _0_8;
  21509. else {
  21510. _0_8 = _0_1._string0$_text;
  21511. t1 = _0_8;
  21512. _0_8_isSet = true;
  21513. }
  21514. _0_10 = "nearest" === t1;
  21515. t1 = _0_10;
  21516. _0_10_isSet = true;
  21517. }
  21518. if (!t1) {
  21519. if (_0_12_isSet)
  21520. t1 = _0_12;
  21521. else {
  21522. if (_0_8_isSet)
  21523. t1 = _0_8;
  21524. else {
  21525. _0_8 = _0_1._string0$_text;
  21526. t1 = _0_8;
  21527. _0_8_isSet = true;
  21528. }
  21529. _0_12 = "up" === t1;
  21530. t1 = _0_12;
  21531. _0_12_isSet = true;
  21532. }
  21533. if (!t1) {
  21534. if (_0_14_isSet)
  21535. t1 = _0_14;
  21536. else {
  21537. if (_0_8_isSet)
  21538. t1 = _0_8;
  21539. else {
  21540. _0_8 = _0_1._string0$_text;
  21541. t1 = _0_8;
  21542. _0_8_isSet = true;
  21543. }
  21544. _0_14 = "down" === t1;
  21545. t1 = _0_14;
  21546. _0_14_isSet = true;
  21547. }
  21548. if (!t1)
  21549. if (_0_16_isSet)
  21550. t1 = _0_16;
  21551. else {
  21552. if (_0_8_isSet)
  21553. t1 = _0_8;
  21554. else {
  21555. _0_8 = _0_1._string0$_text;
  21556. t1 = _0_8;
  21557. _0_8_isSet = true;
  21558. }
  21559. _0_16 = "to-zero" === t1;
  21560. t1 = _0_16;
  21561. _0_16_isSet = true;
  21562. }
  21563. else
  21564. t1 = true;
  21565. } else
  21566. t1 = true;
  21567. } else
  21568. t1 = true;
  21569. if (t1) {
  21570. if (_0_2_isSet)
  21571. t1 = _0_20;
  21572. else {
  21573. t1 = _0_2;
  21574. _0_20 = t1;
  21575. _0_2_isSet = true;
  21576. }
  21577. if (t1 != null)
  21578. if (_0_6_isSet)
  21579. t1 = _0_6;
  21580. else {
  21581. if (_0_5_isSet)
  21582. t1 = _0_50;
  21583. else {
  21584. t1 = _0_5;
  21585. _0_50 = t1;
  21586. _0_5_isSet = true;
  21587. }
  21588. _0_6 = t1 == null;
  21589. t1 = _0_6;
  21590. _0_6_isSet = true;
  21591. }
  21592. else
  21593. t1 = false;
  21594. } else
  21595. t1 = false;
  21596. } else
  21597. t1 = false;
  21598. if (t1)
  21599. throw A.wrapException(A.SassScriptException$0(string$.If_str, _null));
  21600. if (_0_1 instanceof A.SassString0) {
  21601. if (_0_10_isSet)
  21602. t1 = _0_10;
  21603. else {
  21604. if (_0_8_isSet)
  21605. t1 = _0_8;
  21606. else {
  21607. _0_8 = _0_1._string0$_text;
  21608. t1 = _0_8;
  21609. _0_8_isSet = true;
  21610. }
  21611. _0_10 = "nearest" === t1;
  21612. t1 = _0_10;
  21613. _0_10_isSet = true;
  21614. }
  21615. if (!t1) {
  21616. if (_0_12_isSet)
  21617. t1 = _0_12;
  21618. else {
  21619. if (_0_8_isSet)
  21620. t1 = _0_8;
  21621. else {
  21622. _0_8 = _0_1._string0$_text;
  21623. t1 = _0_8;
  21624. _0_8_isSet = true;
  21625. }
  21626. _0_12 = "up" === t1;
  21627. t1 = _0_12;
  21628. _0_12_isSet = true;
  21629. }
  21630. if (!t1) {
  21631. if (_0_14_isSet)
  21632. t1 = _0_14;
  21633. else {
  21634. if (_0_8_isSet)
  21635. t1 = _0_8;
  21636. else {
  21637. _0_8 = _0_1._string0$_text;
  21638. t1 = _0_8;
  21639. _0_8_isSet = true;
  21640. }
  21641. _0_14 = "down" === t1;
  21642. t1 = _0_14;
  21643. _0_14_isSet = true;
  21644. }
  21645. if (!t1)
  21646. if (_0_16_isSet)
  21647. t1 = _0_16;
  21648. else {
  21649. if (_0_8_isSet)
  21650. t1 = _0_8;
  21651. else {
  21652. _0_8 = _0_1._string0$_text;
  21653. t1 = _0_8;
  21654. _0_8_isSet = true;
  21655. }
  21656. _0_16 = "to-zero" === t1;
  21657. t1 = _0_16;
  21658. _0_16_isSet = true;
  21659. }
  21660. else
  21661. t1 = true;
  21662. } else
  21663. t1 = true;
  21664. } else
  21665. t1 = true;
  21666. if (t1) {
  21667. if (_0_4_isSet)
  21668. t1 = _0_4;
  21669. else {
  21670. if (_0_2_isSet)
  21671. t1 = _0_20;
  21672. else {
  21673. t1 = _0_2;
  21674. _0_20 = t1;
  21675. _0_2_isSet = true;
  21676. }
  21677. _0_4 = t1 == null;
  21678. t1 = _0_4;
  21679. _0_4_isSet = true;
  21680. }
  21681. if (t1)
  21682. if (_0_6_isSet)
  21683. t1 = _0_6;
  21684. else {
  21685. if (_0_5_isSet)
  21686. t1 = _0_50;
  21687. else {
  21688. t1 = _0_5;
  21689. _0_50 = t1;
  21690. _0_5_isSet = true;
  21691. }
  21692. _0_6 = t1 == null;
  21693. t1 = _0_6;
  21694. _0_6_isSet = true;
  21695. }
  21696. else
  21697. t1 = false;
  21698. } else
  21699. t1 = false;
  21700. } else
  21701. t1 = false;
  21702. if (t1)
  21703. throw A.wrapException(A.SassScriptException$0(string$.Number, _null));
  21704. if (_0_1 instanceof A.SassString0) {
  21705. if (_0_4_isSet)
  21706. t1 = _0_4;
  21707. else {
  21708. if (_0_2_isSet)
  21709. t1 = _0_20;
  21710. else {
  21711. t1 = _0_2;
  21712. _0_20 = t1;
  21713. _0_2_isSet = true;
  21714. }
  21715. _0_4 = t1 == null;
  21716. t1 = _0_4;
  21717. _0_4_isSet = true;
  21718. }
  21719. if (t1)
  21720. if (_0_6_isSet)
  21721. t1 = _0_6;
  21722. else {
  21723. if (_0_5_isSet)
  21724. t1 = _0_50;
  21725. else {
  21726. t1 = _0_5;
  21727. _0_50 = t1;
  21728. _0_5_isSet = true;
  21729. }
  21730. _0_6 = t1 == null;
  21731. t1 = _0_6;
  21732. _0_6_isSet = true;
  21733. }
  21734. else
  21735. t1 = false;
  21736. rest = _0_1;
  21737. } else {
  21738. rest = _null;
  21739. t1 = false;
  21740. }
  21741. if (t1)
  21742. return new A.SassCalculation0(_s5_, A._setArrayType([rest], type$.JSArray_Object));
  21743. if (_0_4_isSet)
  21744. t1 = _0_4;
  21745. else {
  21746. if (_0_2_isSet)
  21747. t1 = _0_20;
  21748. else {
  21749. t1 = _0_2;
  21750. _0_20 = t1;
  21751. _0_2_isSet = true;
  21752. }
  21753. _0_4 = t1 == null;
  21754. t1 = _0_4;
  21755. }
  21756. if (t1)
  21757. if (_0_6_isSet)
  21758. t1 = _0_6;
  21759. else {
  21760. if (_0_5_isSet)
  21761. t1 = _0_50;
  21762. else {
  21763. t1 = _0_5;
  21764. _0_50 = t1;
  21765. _0_5_isSet = true;
  21766. }
  21767. _0_6 = t1 == null;
  21768. t1 = _0_6;
  21769. _0_6_isSet = true;
  21770. }
  21771. else
  21772. t1 = false;
  21773. if (t1)
  21774. throw A.wrapException(A.SassScriptException$0("Single argument " + A.S(_0_1) + " expected to be simplifiable.", _null));
  21775. if (_0_2_isSet)
  21776. t1 = _0_20;
  21777. else {
  21778. t1 = _0_2;
  21779. _0_20 = t1;
  21780. _0_2_isSet = true;
  21781. }
  21782. if (t1 != null) {
  21783. if (_0_2_isSet)
  21784. step = _0_20;
  21785. else {
  21786. step = _0_2;
  21787. _0_20 = step;
  21788. _0_2_isSet = true;
  21789. }
  21790. if (step == null)
  21791. step = type$.Object._as(step);
  21792. if (_0_6_isSet)
  21793. t1 = _0_6;
  21794. else {
  21795. if (_0_5_isSet)
  21796. t1 = _0_50;
  21797. else {
  21798. t1 = _0_5;
  21799. _0_50 = t1;
  21800. _0_5_isSet = true;
  21801. }
  21802. _0_6 = t1 == null;
  21803. t1 = _0_6;
  21804. }
  21805. } else {
  21806. step = _null;
  21807. t1 = false;
  21808. }
  21809. if (t1)
  21810. return new A.SassCalculation0(_s5_, A._setArrayType([_0_1, step], type$.JSArray_Object));
  21811. if (_0_1 instanceof A.SassString0) {
  21812. if (_0_10_isSet)
  21813. t1 = _0_10;
  21814. else {
  21815. if (_0_8_isSet)
  21816. t1 = _0_8;
  21817. else {
  21818. _0_8 = _0_1._string0$_text;
  21819. t1 = _0_8;
  21820. _0_8_isSet = true;
  21821. }
  21822. _0_10 = "nearest" === t1;
  21823. t1 = _0_10;
  21824. }
  21825. if (!t1) {
  21826. if (_0_12_isSet)
  21827. t1 = _0_12;
  21828. else {
  21829. if (_0_8_isSet)
  21830. t1 = _0_8;
  21831. else {
  21832. _0_8 = _0_1._string0$_text;
  21833. t1 = _0_8;
  21834. _0_8_isSet = true;
  21835. }
  21836. _0_12 = "up" === t1;
  21837. t1 = _0_12;
  21838. }
  21839. if (!t1) {
  21840. if (_0_14_isSet)
  21841. t1 = _0_14;
  21842. else {
  21843. if (_0_8_isSet)
  21844. t1 = _0_8;
  21845. else {
  21846. _0_8 = _0_1._string0$_text;
  21847. t1 = _0_8;
  21848. _0_8_isSet = true;
  21849. }
  21850. _0_14 = "down" === t1;
  21851. t1 = _0_14;
  21852. }
  21853. if (!t1)
  21854. if (_0_16_isSet)
  21855. t1 = _0_16;
  21856. else {
  21857. if (_0_8_isSet)
  21858. t1 = _0_8;
  21859. else {
  21860. _0_8 = _0_1._string0$_text;
  21861. t1 = _0_8;
  21862. }
  21863. _0_16 = "to-zero" === t1;
  21864. t1 = _0_16;
  21865. }
  21866. else
  21867. t1 = true;
  21868. } else
  21869. t1 = true;
  21870. } else
  21871. t1 = true;
  21872. } else
  21873. t1 = false;
  21874. if (!t1)
  21875. if (_0_1 instanceof A.SassString0)
  21876. t1 = _0_1.get$isVar();
  21877. else
  21878. t1 = false;
  21879. else
  21880. t1 = true;
  21881. if (t1) {
  21882. type$.SassString_2._as(_0_1);
  21883. if (_0_2_isSet)
  21884. t1 = _0_20;
  21885. else {
  21886. t1 = _0_2;
  21887. _0_20 = t1;
  21888. _0_2_isSet = true;
  21889. }
  21890. if (t1 != null) {
  21891. if (_0_2_isSet)
  21892. number = _0_20;
  21893. else {
  21894. number = _0_2;
  21895. _0_20 = number;
  21896. _0_2_isSet = true;
  21897. }
  21898. if (number == null)
  21899. number = type$.Object._as(number);
  21900. if (_0_5_isSet)
  21901. t1 = _0_50;
  21902. else {
  21903. t1 = _0_5;
  21904. _0_50 = t1;
  21905. _0_5_isSet = true;
  21906. }
  21907. t1 = t1 != null;
  21908. if (t1) {
  21909. if (_0_5_isSet)
  21910. step = _0_50;
  21911. else {
  21912. step = _0_5;
  21913. _0_50 = step;
  21914. _0_5_isSet = true;
  21915. }
  21916. if (step == null)
  21917. step = type$.Object._as(step);
  21918. } else
  21919. step = _null;
  21920. } else {
  21921. step = _null;
  21922. number = step;
  21923. t1 = false;
  21924. }
  21925. strategy = _0_1;
  21926. } else {
  21927. step = _null;
  21928. number = step;
  21929. strategy = number;
  21930. t1 = false;
  21931. }
  21932. if (t1)
  21933. return new A.SassCalculation0(_s5_, A._setArrayType([strategy, number, step], type$.JSArray_Object));
  21934. if ((_0_2_isSet ? _0_20 : _0_2) != null)
  21935. t1 = (_0_5_isSet ? _0_50 : _0_5) != null;
  21936. else
  21937. t1 = false;
  21938. if (t1)
  21939. throw A.wrapException(A.SassScriptException$0(A.S(strategyOrNumber) + string$.x20must_b, _null));
  21940. t1 = A.SassScriptException$0("Invalid parameters.", _null);
  21941. throw A.wrapException(t1);
  21942. },
  21943. SassCalculation_operateInternal0(operator, left, right, inLegacySassFunction, simplify) {
  21944. var t1;
  21945. if (!simplify)
  21946. return new A.CalculationOperation0(operator, left, right);
  21947. left = A.SassCalculation__simplify0(left);
  21948. right = A.SassCalculation__simplify0(right);
  21949. if (B.CalculationOperator_g2q0 === operator || B.CalculationOperator_CxF0 === operator) {
  21950. if (left instanceof A.SassNumber0)
  21951. if (right instanceof A.SassNumber0)
  21952. t1 = inLegacySassFunction ? left.isComparableTo$1(right) : left.hasCompatibleUnits$1(right);
  21953. else
  21954. t1 = false;
  21955. else
  21956. t1 = false;
  21957. if (t1)
  21958. return operator === B.CalculationOperator_g2q0 ? left.plus$1(right) : left.minus$1(right);
  21959. A.SassCalculation__verifyCompatibleNumbers0(A._setArrayType([left, right], type$.JSArray_Object));
  21960. if (right instanceof A.SassNumber0) {
  21961. t1 = right._number1$_value;
  21962. t1 = t1 < 0 && !A.fuzzyEquals0(t1, 0);
  21963. } else
  21964. t1 = false;
  21965. if (t1) {
  21966. right = right.times$1(A.SassNumber_SassNumber0(-1, null));
  21967. operator = operator === B.CalculationOperator_g2q0 ? B.CalculationOperator_CxF0 : B.CalculationOperator_g2q0;
  21968. }
  21969. return new A.CalculationOperation0(operator, left, right);
  21970. } else if (left instanceof A.SassNumber0 && right instanceof A.SassNumber0)
  21971. return operator === B.CalculationOperator_1710 ? left.times$1(right) : left.dividedBy$1(right);
  21972. else
  21973. return new A.CalculationOperation0(operator, left, right);
  21974. },
  21975. SassCalculation__roundWithStep0(strategy, number, step) {
  21976. var _0_2, t1, _0_6, _0_8_isSet, _0_8, _0_9_isSet, _0_9, _0_11, _0_13, stepWithNumberUnit, t2, _null = null;
  21977. if (!A.LinkedHashSet_LinkedHashSet$_literal(["nearest", "up", "down", "to-zero"], type$.String).contains$1(0, strategy))
  21978. throw A.wrapException(A.ArgumentError$(strategy + string$.x20must_b, _null));
  21979. _0_2 = number._number1$_value;
  21980. if (_0_2 == 1 / 0 || _0_2 == -1 / 0) {
  21981. t1 = step._number1$_value;
  21982. t1 = t1 == 1 / 0 || t1 == -1 / 0;
  21983. } else
  21984. t1 = false;
  21985. if (!t1) {
  21986. t1 = step._number1$_value;
  21987. t1 = t1 === 0 || isNaN(_0_2) || isNaN(t1);
  21988. } else
  21989. t1 = true;
  21990. if (t1) {
  21991. t1 = number.get$numeratorUnits(number);
  21992. return A.SassNumber_SassNumber$withUnits0(0 / 0, number.get$denominatorUnits(number), t1);
  21993. }
  21994. if (_0_2 == 1 / 0 || _0_2 == -1 / 0)
  21995. return number;
  21996. t1 = step._number1$_value;
  21997. if (t1 == 1 / 0 || t1 == -1 / 0) {
  21998. $label0$0: {
  21999. if (0 === _0_2) {
  22000. t1 = number;
  22001. break $label0$0;
  22002. }
  22003. _0_6 = "nearest" === strategy;
  22004. t1 = _0_6;
  22005. _0_8_isSet = !t1;
  22006. if (_0_8_isSet) {
  22007. _0_8 = "to-zero" === strategy;
  22008. _0_9_isSet = _0_8;
  22009. } else {
  22010. _0_8 = _null;
  22011. _0_9_isSet = true;
  22012. }
  22013. if (_0_9_isSet) {
  22014. _0_9 = _0_2 > 0;
  22015. t1 = _0_9;
  22016. } else {
  22017. _0_9 = _null;
  22018. t1 = false;
  22019. }
  22020. if (t1) {
  22021. t1 = number.get$numeratorUnits(number);
  22022. t1 = A.SassNumber_SassNumber$withUnits0(0, number.get$denominatorUnits(number), t1);
  22023. break $label0$0;
  22024. }
  22025. if (!_0_6)
  22026. if (_0_8_isSet)
  22027. t1 = _0_8;
  22028. else {
  22029. _0_8 = "to-zero" === strategy;
  22030. t1 = _0_8;
  22031. }
  22032. else
  22033. t1 = true;
  22034. if (t1) {
  22035. t1 = number.get$numeratorUnits(number);
  22036. t1 = A.SassNumber_SassNumber$withUnits0(-0.0, number.get$denominatorUnits(number), t1);
  22037. break $label0$0;
  22038. }
  22039. _0_11 = "up" === strategy;
  22040. t1 = _0_11;
  22041. if (t1)
  22042. if (_0_9_isSet)
  22043. t1 = _0_9;
  22044. else {
  22045. _0_9 = _0_2 > 0;
  22046. t1 = _0_9;
  22047. }
  22048. else
  22049. t1 = false;
  22050. if (t1) {
  22051. t1 = number.get$numeratorUnits(number);
  22052. t1 = A.SassNumber_SassNumber$withUnits0(1 / 0, number.get$denominatorUnits(number), t1);
  22053. break $label0$0;
  22054. }
  22055. if (_0_11) {
  22056. t1 = number.get$numeratorUnits(number);
  22057. t1 = A.SassNumber_SassNumber$withUnits0(-0.0, number.get$denominatorUnits(number), t1);
  22058. break $label0$0;
  22059. }
  22060. _0_13 = "down" === strategy;
  22061. t1 = _0_13;
  22062. if (t1)
  22063. t1 = _0_2 < 0;
  22064. else
  22065. t1 = false;
  22066. if (t1) {
  22067. t1 = number.get$numeratorUnits(number);
  22068. t1 = A.SassNumber_SassNumber$withUnits0(-1 / 0, number.get$denominatorUnits(number), t1);
  22069. break $label0$0;
  22070. }
  22071. if (_0_13) {
  22072. t1 = number.get$numeratorUnits(number);
  22073. t1 = A.SassNumber_SassNumber$withUnits0(0, number.get$denominatorUnits(number), t1);
  22074. break $label0$0;
  22075. }
  22076. t1 = A.throwExpression(A.UnsupportedError$("Invalid argument: " + strategy + "."));
  22077. }
  22078. return t1;
  22079. }
  22080. stepWithNumberUnit = step.convertValueToMatch$1(number);
  22081. $label1$1: {
  22082. if ("nearest" === strategy) {
  22083. t1 = B.JSNumber_methods.round$0(_0_2 / stepWithNumberUnit);
  22084. t2 = number.get$numeratorUnits(number);
  22085. t2 = A.SassNumber_SassNumber$withUnits0(t1 * stepWithNumberUnit, number.get$denominatorUnits(number), t2);
  22086. t1 = t2;
  22087. break $label1$1;
  22088. }
  22089. if ("up" === strategy) {
  22090. t2 = _0_2 / stepWithNumberUnit;
  22091. t1 = t1 < 0 ? B.JSNumber_methods.floor$0(t2) : B.JSNumber_methods.ceil$0(t2);
  22092. t2 = number.get$numeratorUnits(number);
  22093. t2 = A.SassNumber_SassNumber$withUnits0(t1 * stepWithNumberUnit, number.get$denominatorUnits(number), t2);
  22094. t1 = t2;
  22095. break $label1$1;
  22096. }
  22097. if ("down" === strategy) {
  22098. t2 = _0_2 / stepWithNumberUnit;
  22099. t1 = t1 < 0 ? B.JSNumber_methods.ceil$0(t2) : B.JSNumber_methods.floor$0(t2);
  22100. t2 = number.get$numeratorUnits(number);
  22101. t2 = A.SassNumber_SassNumber$withUnits0(t1 * stepWithNumberUnit, number.get$denominatorUnits(number), t2);
  22102. t1 = t2;
  22103. break $label1$1;
  22104. }
  22105. if ("to-zero" === strategy) {
  22106. t1 = _0_2 / stepWithNumberUnit;
  22107. if (_0_2 < 0) {
  22108. t1 = B.JSNumber_methods.ceil$0(t1);
  22109. t2 = number.get$numeratorUnits(number);
  22110. t2 = A.SassNumber_SassNumber$withUnits0(t1 * stepWithNumberUnit, number.get$denominatorUnits(number), t2);
  22111. t1 = t2;
  22112. } else {
  22113. t1 = B.JSNumber_methods.floor$0(t1);
  22114. t2 = number.get$numeratorUnits(number);
  22115. t2 = A.SassNumber_SassNumber$withUnits0(t1 * stepWithNumberUnit, number.get$denominatorUnits(number), t2);
  22116. t1 = t2;
  22117. }
  22118. break $label1$1;
  22119. }
  22120. t1 = number.get$numeratorUnits(number);
  22121. t1 = A.SassNumber_SassNumber$withUnits0(0 / 0, number.get$denominatorUnits(number), t1);
  22122. break $label1$1;
  22123. }
  22124. return t1;
  22125. },
  22126. SassCalculation__simplify0(arg) {
  22127. var t1, _0_11_isSet, _0_11, _0_12, _0_15, _0_16_isSet, _0_16, text, _0_12_isSet, _0_15_isSet, value, _null = null,
  22128. _s32_ = " can't be used in a calculation.";
  22129. $label0$0: {
  22130. if (arg instanceof A.SassNumber0 || arg instanceof A.CalculationOperation0) {
  22131. t1 = arg;
  22132. break $label0$0;
  22133. }
  22134. if (arg instanceof A.CalculationInterpolation) {
  22135. t1 = new A.SassString0("(" + arg._calculation0$_value + ")", false);
  22136. break $label0$0;
  22137. }
  22138. t1 = arg instanceof A.SassString0;
  22139. if (t1 && !arg._string0$_hasQuotes) {
  22140. t1 = arg;
  22141. break $label0$0;
  22142. }
  22143. if (t1)
  22144. A.throwExpression(A.SassScriptException$0("Quoted string " + arg.toString$0(0) + _s32_, _null));
  22145. _0_11_isSet = arg instanceof A.SassCalculation0;
  22146. if (_0_11_isSet) {
  22147. _0_11 = "calc" === arg.name;
  22148. if (_0_11) {
  22149. _0_12 = arg.$arguments;
  22150. _0_15 = _0_12.length === 1;
  22151. _0_16_isSet = _0_15;
  22152. if (_0_16_isSet) {
  22153. _0_16 = _0_12[0];
  22154. t1 = _0_16;
  22155. if (t1 instanceof A.SassString0) {
  22156. type$.SassString_2._as(_0_16);
  22157. if (!_0_16._string0$_hasQuotes) {
  22158. text = _0_16._string0$_text;
  22159. t1 = A.SassCalculation__needsParentheses0(text);
  22160. } else {
  22161. text = _null;
  22162. t1 = false;
  22163. }
  22164. } else {
  22165. text = _null;
  22166. t1 = false;
  22167. }
  22168. } else {
  22169. text = _null;
  22170. _0_16 = text;
  22171. t1 = false;
  22172. }
  22173. } else {
  22174. text = _null;
  22175. _0_16 = text;
  22176. _0_12 = _0_16;
  22177. _0_15 = _0_12;
  22178. _0_16_isSet = false;
  22179. t1 = false;
  22180. }
  22181. _0_12_isSet = _0_11;
  22182. _0_15_isSet = _0_12_isSet;
  22183. } else {
  22184. text = _null;
  22185. _0_16 = text;
  22186. _0_12 = _0_16;
  22187. _0_15 = _0_12;
  22188. _0_11 = _0_15;
  22189. _0_15_isSet = false;
  22190. _0_12_isSet = false;
  22191. _0_16_isSet = false;
  22192. t1 = false;
  22193. }
  22194. if (t1) {
  22195. t1 = new A.SassString0("(" + A.S(text) + ")", false);
  22196. break $label0$0;
  22197. }
  22198. if (_0_11_isSet)
  22199. if (_0_11)
  22200. if (_0_15_isSet)
  22201. t1 = _0_15;
  22202. else {
  22203. if (_0_12_isSet)
  22204. t1 = _0_12;
  22205. else {
  22206. _0_12 = arg.$arguments;
  22207. t1 = _0_12;
  22208. _0_12_isSet = true;
  22209. }
  22210. _0_15 = t1.length === 1;
  22211. t1 = _0_15;
  22212. }
  22213. else
  22214. t1 = false;
  22215. else
  22216. t1 = false;
  22217. if (t1) {
  22218. if (_0_16_isSet)
  22219. value = _0_16;
  22220. else {
  22221. _0_16 = (_0_12_isSet ? _0_12 : arg.$arguments)[0];
  22222. value = _0_16;
  22223. }
  22224. t1 = value;
  22225. break $label0$0;
  22226. }
  22227. if (_0_11_isSet) {
  22228. t1 = arg;
  22229. break $label0$0;
  22230. }
  22231. if (arg instanceof A.Value0)
  22232. A.throwExpression(A.SassScriptException$0("Value " + arg.toString$0(0) + _s32_, _null));
  22233. t1 = A.throwExpression(A.ArgumentError$("Unexpected calculation argument " + A.S(arg) + ".", _null));
  22234. }
  22235. return t1;
  22236. },
  22237. SassCalculation__needsParentheses0(text) {
  22238. var t1, couldBeVar, second, third, fourth, i, t2,
  22239. first = text.charCodeAt(0);
  22240. if (first === 32 || first === 9 || first === 10 || first === 13 || first === 12 || first === 47 || first === 42)
  22241. return true;
  22242. t1 = text.length;
  22243. couldBeVar = t1 >= 4 && A.characterEqualsIgnoreCase0(first, 118);
  22244. if (t1 < 2)
  22245. return false;
  22246. second = text.charCodeAt(1);
  22247. if (second === 32 || second === 9 || second === 10 || second === 13 || second === 12 || second === 47 || second === 42)
  22248. return true;
  22249. couldBeVar = couldBeVar && A.characterEqualsIgnoreCase0(second, 97);
  22250. if (t1 < 3)
  22251. return false;
  22252. third = text.charCodeAt(2);
  22253. if (third === 32 || third === 9 || third === 10 || third === 13 || third === 12 || third === 47 || third === 42)
  22254. return true;
  22255. couldBeVar = couldBeVar && A.characterEqualsIgnoreCase0(third, 114);
  22256. if (t1 < 4)
  22257. return false;
  22258. fourth = text.charCodeAt(3);
  22259. if (couldBeVar && fourth === 40)
  22260. return true;
  22261. if (fourth === 32 || fourth === 9 || fourth === 10 || fourth === 13 || fourth === 12 || fourth === 47 || fourth === 42)
  22262. return true;
  22263. for (i = 4; i < t1; ++i) {
  22264. t2 = text.charCodeAt(i);
  22265. if (t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12 || t2 === 47 || t2 === 42)
  22266. return true;
  22267. }
  22268. return false;
  22269. },
  22270. SassCalculation__verifyCompatibleNumbers0(args) {
  22271. var t1, _i, t2, arg, i, number1, j, number2;
  22272. for (t1 = args.length, _i = 0; t2 = args.length, _i < t2; args.length === t1 || (0, A.throwConcurrentModificationError)(args), ++_i) {
  22273. arg = args[_i];
  22274. if (arg instanceof A.SassNumber0 && arg.get$hasComplexUnits())
  22275. throw A.wrapException(A.SassScriptException$0("Number " + A.S(arg) + " isn't compatible with CSS calculations.", null));
  22276. }
  22277. for (t1 = t2, i = 0; i < t1 - 1; ++i) {
  22278. number1 = args[i];
  22279. if (!(number1 instanceof A.SassNumber0))
  22280. continue;
  22281. for (j = i + 1; t1 = args.length, j < t1; ++j) {
  22282. number2 = args[j];
  22283. if (!(number2 instanceof A.SassNumber0))
  22284. continue;
  22285. if (number1.hasPossiblyCompatibleUnits$1(number2))
  22286. continue;
  22287. throw A.wrapException(A.SassScriptException$0(number1.toString$0(0) + " and " + number2.toString$0(0) + " are incompatible.", null));
  22288. }
  22289. }
  22290. },
  22291. SassCalculation__verifyLength0(args, expectedLength) {
  22292. var t1;
  22293. if (args.length === expectedLength)
  22294. return;
  22295. if (B.JSArray_methods.any$1(args, new A.SassCalculation__verifyLength_closure0()))
  22296. return;
  22297. t1 = args.length;
  22298. throw A.wrapException(A.SassScriptException$0("" + expectedLength + " arguments required, but only " + t1 + " " + A.pluralize0("was", t1, "were") + " passed.", null));
  22299. },
  22300. SassCalculation__singleArgument0($name, argument, mathFunc, forbidUnits) {
  22301. argument = A.SassCalculation__simplify0(argument);
  22302. if (!(argument instanceof A.SassNumber0))
  22303. return new A.SassCalculation0($name, A._setArrayType([argument], type$.JSArray_Object));
  22304. if (forbidUnits)
  22305. argument.assertNoUnits$0();
  22306. return mathFunc.call$1(argument);
  22307. },
  22308. SassCalculation0: function SassCalculation0(t0, t1) {
  22309. this.name = t0;
  22310. this.$arguments = t1;
  22311. },
  22312. SassCalculation__verifyLength_closure0: function SassCalculation__verifyLength_closure0() {
  22313. },
  22314. CalculationOperation0: function CalculationOperation0(t0, t1, t2) {
  22315. this._calculation0$_operator = t0;
  22316. this._calculation0$_left = t1;
  22317. this._calculation0$_right = t2;
  22318. },
  22319. CalculationOperator0: function CalculationOperator0(t0, t1, t2, t3) {
  22320. var _ = this;
  22321. _.name = t0;
  22322. _.operator = t1;
  22323. _.precedence = t2;
  22324. _._name = t3;
  22325. },
  22326. CalculationInterpolation: function CalculationInterpolation(t0) {
  22327. this._calculation0$_value = t0;
  22328. },
  22329. CallableDeclaration0: function CallableDeclaration0() {
  22330. },
  22331. updateCanonicalizeContextPrototype() {
  22332. var t1 = type$.JSClass._as(new A.CanonicalizeContext0(false, null).constructor);
  22333. 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));
  22334. return null;
  22335. },
  22336. updateCanonicalizeContextPrototype_closure: function updateCanonicalizeContextPrototype_closure() {
  22337. },
  22338. updateCanonicalizeContextPrototype_closure0: function updateCanonicalizeContextPrototype_closure0() {
  22339. },
  22340. CanonicalizeContext0: function CanonicalizeContext0(t0, t1) {
  22341. this._canonicalize_context$_fromImport = t0;
  22342. this._canonicalize_context$_containingUrl = t1;
  22343. this._canonicalize_context$_wasContainingUrlAccessed = false;
  22344. },
  22345. Chokidar0: function Chokidar0() {
  22346. },
  22347. ChokidarOptions0: function ChokidarOptions0() {
  22348. },
  22349. ChokidarWatcher0: function ChokidarWatcher0() {
  22350. },
  22351. ClassSelector0: function ClassSelector0(t0, t1) {
  22352. this.name = t0;
  22353. this.span = t1;
  22354. },
  22355. cloneCssStylesheet0(stylesheet, extensionStore) {
  22356. var _0_0 = extensionStore.clone$0();
  22357. 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);
  22358. },
  22359. _CloneCssVisitor0: function _CloneCssVisitor0(t0) {
  22360. this._clone_css$_oldToNewSelectors = t0;
  22361. },
  22362. ColorExpression0: function ColorExpression0(t0, t1) {
  22363. this.value = t0;
  22364. this.span = t1;
  22365. },
  22366. _updateComponents0($arguments, adjust, change, scale) {
  22367. var keywords, alpha, red, green, blue, hue, saturation, lightness, whiteness, blackness, hasRgb, hasSL, hasWB, t2, t3, t4, _null = null,
  22368. t1 = J.getInterceptor$asx($arguments),
  22369. color = t1.$index($arguments, 0).assertColor$1("color"),
  22370. argumentList = type$.SassArgumentList_2._as(t1.$index($arguments, 1));
  22371. if (argumentList._list1$_contents.length !== 0)
  22372. throw A.wrapException(A.SassScriptException$0(string$.Only_op, _null));
  22373. argumentList._argument_list$_wereKeywordsAccessed = true;
  22374. keywords = A.LinkedHashMap_LinkedHashMap$of(argumentList._argument_list$_keywords, type$.String, type$.Value_2);
  22375. t1 = new A._updateComponents_getParam0(keywords, scale, change);
  22376. alpha = t1.call$3$checkUnitless("alpha", 1, true);
  22377. red = t1.call$2("red", 255);
  22378. green = t1.call$2("green", 255);
  22379. blue = t1.call$2("blue", 255);
  22380. hue = scale ? _null : A.NullableExtension_andThen0(keywords.remove$1(0, "hue"), new A._updateComponents_closure1());
  22381. saturation = t1.call$3$checkPercent("saturation", 100, true);
  22382. lightness = t1.call$3$checkPercent("lightness", 100, true);
  22383. whiteness = t1.call$3$assertPercent("whiteness", 100, true);
  22384. blackness = t1.call$3$assertPercent("blackness", 100, true);
  22385. t1 = keywords.__js_helper$_length;
  22386. if (t1 !== 0)
  22387. throw A.wrapException(A.SassScriptException$0("No " + A.pluralize0("argument", t1, _null) + " named " + A.toSentence0(keywords.get$keys(0).map$1$1(0, new A._updateComponents_closure2(), type$.Object), "or") + ".", _null));
  22388. hasRgb = red != null || green != null || blue != null;
  22389. hasSL = saturation != null || lightness != null;
  22390. hasWB = whiteness != null || blackness != null;
  22391. if (hasRgb)
  22392. t1 = hasSL || hasWB || hue != null;
  22393. else
  22394. t1 = false;
  22395. if (t1)
  22396. throw A.wrapException(A.SassScriptException$0(string$.RGB_pa + (hasWB ? "HWB" : "HSL") + " parameters.", _null));
  22397. if (hasSL && hasWB)
  22398. throw A.wrapException(A.SassScriptException$0(string$.HSL_pa, _null));
  22399. t1 = new A._updateComponents_updateValue0(change, adjust);
  22400. t2 = new A._updateComponents_updateRgb0(t1);
  22401. if (hasRgb) {
  22402. t3 = t2.call$2(color.get$red(0), red);
  22403. t4 = t2.call$2(color.get$green(0), green);
  22404. t2 = t2.call$2(color.get$blue(0), blue);
  22405. return color.changeRgb$4$alpha$blue$green$red(t1.call$3(color._color1$_alpha, alpha, 1), t2, t4, t3);
  22406. } else if (hasWB) {
  22407. if (change)
  22408. t2 = hue;
  22409. else {
  22410. t2 = color.get$hue(0);
  22411. t2 += hue == null ? 0 : hue;
  22412. }
  22413. t3 = t1.call$3(color.get$whiteness(0), whiteness, 100);
  22414. t4 = t1.call$3(color.get$blackness(0), blackness, 100);
  22415. return color.changeHwb$4$alpha$blackness$hue$whiteness(t1.call$3(color._color1$_alpha, alpha, 1), t4, t2, t3);
  22416. } else {
  22417. t2 = hue == null;
  22418. if (!t2 || hasSL) {
  22419. if (change)
  22420. t2 = hue;
  22421. else {
  22422. t3 = color.get$hue(0);
  22423. t3 += t2 ? 0 : hue;
  22424. t2 = t3;
  22425. }
  22426. t3 = t1.call$3(color.get$saturation(0), saturation, 100);
  22427. t4 = t1.call$3(color.get$lightness(0), lightness, 100);
  22428. return color.changeHsl$4$alpha$hue$lightness$saturation(t1.call$3(color._color1$_alpha, alpha, 1), t2, t4, t3);
  22429. } else if (alpha != null)
  22430. return color.changeAlpha$1(t1.call$3(color._color1$_alpha, alpha, 1));
  22431. else
  22432. return color;
  22433. }
  22434. },
  22435. _functionString0($name, $arguments) {
  22436. return new A.SassString0($name + "(" + J.map$1$1$ax($arguments, new A._functionString_closure0(), type$.String).join$1(0, ", ") + ")", false);
  22437. },
  22438. _removedColorFunction0($name, argument, negative) {
  22439. return A.BuiltInCallable$function0($name, "$color, $amount", new A._removedColorFunction_closure0($name, argument, negative), "sass:color");
  22440. },
  22441. _rgb0($name, $arguments) {
  22442. var t2, red, green, blue, t3, t4,
  22443. t1 = J.getInterceptor$asx($arguments),
  22444. alpha = t1.get$length($arguments) > 3 ? t1.$index($arguments, 3) : null;
  22445. if (!t1.$index($arguments, 0).get$isSpecialNumber())
  22446. if (!t1.$index($arguments, 1).get$isSpecialNumber())
  22447. if (!t1.$index($arguments, 2).get$isSpecialNumber()) {
  22448. t2 = alpha == null ? null : alpha.get$isSpecialNumber();
  22449. t2 = t2 === true;
  22450. } else
  22451. t2 = true;
  22452. else
  22453. t2 = true;
  22454. else
  22455. t2 = true;
  22456. if (t2)
  22457. return A._functionString0($name, $arguments);
  22458. red = t1.$index($arguments, 0).assertNumber$1("red");
  22459. green = t1.$index($arguments, 1).assertNumber$1("green");
  22460. blue = t1.$index($arguments, 2).assertNumber$1("blue");
  22461. t1 = A.fuzzyRound0(A._percentageOrUnitless0(red, 255, "red"));
  22462. t2 = A.fuzzyRound0(A._percentageOrUnitless0(green, 255, "green"));
  22463. t3 = A.fuzzyRound0(A._percentageOrUnitless0(blue, 255, "blue"));
  22464. t4 = A.NullableExtension_andThen0(alpha, new A._rgb_closure0());
  22465. return A.SassColor$rgbInternal0(t1, t2, t3, t4 == null ? 1 : t4, B._ColorFormatEnum_rgbFunction0);
  22466. },
  22467. _rgbTwoArg0($name, $arguments) {
  22468. var t2, color,
  22469. t1 = J.getInterceptor$asx($arguments);
  22470. if (!t1.$index($arguments, 0).get$isVar())
  22471. t2 = !(t1.$index($arguments, 0) instanceof A.SassColor0) && t1.$index($arguments, 1).get$isVar();
  22472. else
  22473. t2 = true;
  22474. if (t2)
  22475. return A._functionString0($name, $arguments);
  22476. else if (t1.$index($arguments, 1).get$isSpecialNumber()) {
  22477. color = t1.$index($arguments, 0).assertColor$1("color");
  22478. return new A.SassString0($name + "(" + color.get$red(0) + ", " + color.get$green(0) + ", " + color.get$blue(0) + ", " + A.serializeValue0(t1.$index($arguments, 1), false, true) + ")", false);
  22479. }
  22480. return t1.$index($arguments, 0).assertColor$1("color").changeAlpha$1(A._percentageOrUnitless0(t1.$index($arguments, 1).assertNumber$1("alpha"), 1, "alpha"));
  22481. },
  22482. _hsl0($name, $arguments) {
  22483. var t2, hue, saturation, lightness, t3,
  22484. _s10_ = "saturation",
  22485. _s9_ = "lightness",
  22486. t1 = J.getInterceptor$asx($arguments),
  22487. alpha = t1.get$length($arguments) > 3 ? t1.$index($arguments, 3) : null;
  22488. if (!t1.$index($arguments, 0).get$isSpecialNumber())
  22489. if (!t1.$index($arguments, 1).get$isSpecialNumber())
  22490. if (!t1.$index($arguments, 2).get$isSpecialNumber()) {
  22491. t2 = alpha == null ? null : alpha.get$isSpecialNumber();
  22492. t2 = t2 === true;
  22493. } else
  22494. t2 = true;
  22495. else
  22496. t2 = true;
  22497. else
  22498. t2 = true;
  22499. if (t2)
  22500. return A._functionString0($name, $arguments);
  22501. hue = A._angleValue0(t1.$index($arguments, 0), "hue");
  22502. saturation = t1.$index($arguments, 1).assertNumber$1(_s10_);
  22503. lightness = t1.$index($arguments, 2).assertNumber$1(_s9_);
  22504. A._checkPercent0(saturation, _s10_);
  22505. A._checkPercent0(lightness, _s9_);
  22506. t1 = B.JSNumber_methods.clamp$2(saturation._number1$_value, 0, 100);
  22507. t2 = B.JSNumber_methods.clamp$2(lightness._number1$_value, 0, 100);
  22508. t3 = A.NullableExtension_andThen0(alpha, new A._hsl_closure0());
  22509. return A.SassColor$hslInternal0(hue, t1, t2, t3 == null ? 1 : t3, B._ColorFormatEnum_hslFunction0);
  22510. },
  22511. _angleValue0(angleValue, $name) {
  22512. var angle = angleValue.assertNumber$1($name);
  22513. if (angle.compatibleWithUnit$1("deg"))
  22514. return angle.coerceValueToUnit$1("deg");
  22515. 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_oCX);
  22516. return angle._number1$_value;
  22517. },
  22518. _checkPercent0(number, $name) {
  22519. if (number.hasUnit$1("%"))
  22520. return;
  22521. A.warnForDeprecation0("$" + $name + ": Passing a number without unit % (" + number.toString$0(0) + string$.x29x20is_d + number.unitSuggestion$2($name, "%") + string$.x0a_Morex3a, B.Deprecation_oCX);
  22522. },
  22523. _hwb0($arguments) {
  22524. var t2, t3,
  22525. _s9_ = "whiteness",
  22526. _s9_0 = "blackness",
  22527. t1 = J.getInterceptor$asx($arguments),
  22528. alpha = t1.get$length($arguments) > 3 ? t1.$index($arguments, 3) : null,
  22529. hue = A._angleValue0(t1.$index($arguments, 0), "hue"),
  22530. whiteness = t1.$index($arguments, 1).assertNumber$1(_s9_),
  22531. blackness = t1.$index($arguments, 2).assertNumber$1(_s9_0);
  22532. whiteness.assertUnit$2("%", _s9_);
  22533. blackness.assertUnit$2("%", _s9_0);
  22534. t1 = whiteness.valueInRange$3(0, 100, _s9_);
  22535. t2 = blackness.valueInRange$3(0, 100, _s9_0);
  22536. t3 = A.NullableExtension_andThen0(alpha, new A._hwb_closure0());
  22537. return A.SassColor_SassColor$hwb0(hue, t1, t2, t3 == null ? 1 : t3);
  22538. },
  22539. _parseChannels0($name, argumentNames, channels) {
  22540. var list, t1, channels0, alphaFromSlashList, isCommaSeparated, isBracketed, buffer, _0_4, _1_0, _1_2_isSet, _1_2, t2, _null = null,
  22541. _s17_ = "$channels must be";
  22542. if (channels.get$isVar())
  22543. return A._functionString0($name, A._setArrayType([channels], type$.JSArray_Value_2));
  22544. if (channels.get$separator(channels) === B.ListSeparator_cQA0) {
  22545. list = channels.get$asList();
  22546. t1 = list.length;
  22547. if (t1 !== 2)
  22548. throw A.wrapException(A.SassScriptException$0(string$.Only_2 + t1 + " " + A.pluralize0("was", t1, "were") + " passed.", _null));
  22549. channels0 = list[0];
  22550. alphaFromSlashList = list[1];
  22551. if (!alphaFromSlashList.get$isSpecialNumber())
  22552. alphaFromSlashList.assertNumber$1("alpha");
  22553. if (list[0].get$isVar())
  22554. return A._functionString0($name, A._setArrayType([channels], type$.JSArray_Value_2));
  22555. } else {
  22556. alphaFromSlashList = _null;
  22557. channels0 = channels;
  22558. }
  22559. isCommaSeparated = channels0.get$separator(channels0) === B.ListSeparator_ECn0;
  22560. isBracketed = channels0.get$hasBrackets();
  22561. if (isCommaSeparated || isBracketed) {
  22562. buffer = new A.StringBuffer(_s17_);
  22563. if (isBracketed) {
  22564. t1 = _s17_ + " an unbracketed";
  22565. buffer._contents = t1;
  22566. } else
  22567. t1 = _s17_;
  22568. if (isCommaSeparated) {
  22569. t1 += isBracketed ? "," : " a";
  22570. buffer._contents = t1;
  22571. t1 = buffer._contents = t1 + " space-separated";
  22572. }
  22573. buffer._contents = t1 + " list.";
  22574. throw A.wrapException(A.SassScriptException$0(buffer.toString$0(0), _null));
  22575. }
  22576. list = channels0.get$asList();
  22577. if (list.length >= 2) {
  22578. _0_4 = list[0];
  22579. t1 = _0_4;
  22580. if (t1 instanceof A.SassString0) {
  22581. type$.SassString_2._as(_0_4);
  22582. t1 = !_0_4._string0$_hasQuotes && A.equalsIgnoreCase0(_0_4._string0$_text, "from");
  22583. } else
  22584. t1 = false;
  22585. } else
  22586. t1 = false;
  22587. if (t1)
  22588. return A._functionString0($name, A._setArrayType([channels], type$.JSArray_Value_2));
  22589. t1 = list.length;
  22590. if (t1 > 3)
  22591. throw A.wrapException(A.SassScriptException$0("Only 3 elements allowed, but " + t1 + " were passed.", _null));
  22592. else if (t1 < 3) {
  22593. if (!B.JSArray_methods.any$1(list, new A._parseChannels_closure0()))
  22594. if (list.length !== 0) {
  22595. t1 = B.JSArray_methods.get$last(list);
  22596. if (t1 instanceof A.SassString0)
  22597. if (t1._string0$_hasQuotes) {
  22598. t1 = t1._string0$_text;
  22599. t1 = A.startsWithIgnoreCase0(t1, "var(") && B.JSString_methods.contains$1(t1, "/");
  22600. } else
  22601. t1 = false;
  22602. else
  22603. t1 = false;
  22604. } else
  22605. t1 = false;
  22606. else
  22607. t1 = true;
  22608. if (t1)
  22609. return A._functionString0($name, A._setArrayType([channels], type$.JSArray_Value_2));
  22610. else
  22611. throw A.wrapException(A.SassScriptException$0("Missing element " + argumentNames[list.length] + ".", _null));
  22612. }
  22613. if (alphaFromSlashList != null) {
  22614. t1 = A.List_List$of(list, true, type$.Value_2);
  22615. t1.push(alphaFromSlashList);
  22616. return t1;
  22617. }
  22618. _1_0 = list[2];
  22619. $label0$0: {
  22620. _1_2_isSet = _1_0 instanceof A.SassNumber0;
  22621. if (_1_2_isSet) {
  22622. _1_2 = _1_0.asSlash;
  22623. t1 = type$.Record_2_nullable_Object_and_nullable_Object._is(_1_2);
  22624. } else {
  22625. _1_2 = _null;
  22626. t1 = false;
  22627. }
  22628. if (t1) {
  22629. if (_1_2_isSet)
  22630. t1 = _1_2;
  22631. else {
  22632. _1_2 = _1_0.asSlash;
  22633. t1 = _1_2;
  22634. _1_2_isSet = true;
  22635. }
  22636. if (t1 == null)
  22637. t1 = type$.Record_2_nullable_Object_and_nullable_Object._as(t1);
  22638. t2 = _1_2_isSet ? _1_2 : _1_0.asSlash;
  22639. if (t2 == null)
  22640. t2 = type$.Record_2_nullable_Object_and_nullable_Object._as(t2);
  22641. t2 = A._setArrayType([list[0], list[1], t1._0, t2._1], type$.JSArray_Value_2);
  22642. t1 = t2;
  22643. break $label0$0;
  22644. }
  22645. if (_1_0 instanceof A.SassString0)
  22646. if (!_1_0._string0$_hasQuotes)
  22647. t1 = B.JSString_methods.contains$1(_1_0._string0$_text, "/");
  22648. else
  22649. t1 = false;
  22650. else
  22651. t1 = false;
  22652. if (t1) {
  22653. t1 = A._functionString0($name, A._setArrayType([channels0], type$.JSArray_Value_2));
  22654. break $label0$0;
  22655. }
  22656. t1 = list;
  22657. break $label0$0;
  22658. }
  22659. return t1;
  22660. },
  22661. _percentageOrUnitless0(number, max, $name) {
  22662. var value;
  22663. if (!number.get$hasUnits())
  22664. value = number._number1$_value;
  22665. else if (number.hasUnit$1("%"))
  22666. value = max * number._number1$_value / 100;
  22667. else
  22668. throw A.wrapException(A.SassScriptException$0("$" + $name + ": Expected " + number.toString$0(0) + ' to have unit "%" or no units.', null));
  22669. return B.JSNumber_methods.clamp$2(value, 0, max);
  22670. },
  22671. _mixColors0(color1, color2, weight) {
  22672. var weightScale, normalizedWeight, t1, t2, alphaDistance, t3, weight1, weight2;
  22673. A._checkPercent0(weight, "weight");
  22674. weightScale = weight.valueInRange$3(0, 100, "weight") / 100;
  22675. normalizedWeight = weightScale * 2 - 1;
  22676. t1 = color1._color1$_alpha;
  22677. t2 = color2._color1$_alpha;
  22678. alphaDistance = t1 - t2;
  22679. t3 = normalizedWeight * alphaDistance;
  22680. weight1 = ((t3 === -1 ? normalizedWeight : (normalizedWeight + alphaDistance) / (1 + t3)) + 1) / 2;
  22681. weight2 = 1 - weight1;
  22682. return A.SassColor$rgb0(A.fuzzyRound0(color1.get$red(0) * weight1 + color2.get$red(0) * weight2), A.fuzzyRound0(color1.get$green(0) * weight1 + color2.get$green(0) * weight2), A.fuzzyRound0(color1.get$blue(0) * weight1 + color2.get$blue(0) * weight2), t1 * weightScale + t2 * (1 - weightScale));
  22683. },
  22684. _opacify0($arguments) {
  22685. var t1 = J.getInterceptor$asx($arguments),
  22686. color = t1.$index($arguments, 0).assertColor$1("color");
  22687. return color.changeAlpha$1(B.JSNumber_methods.clamp$2(color._color1$_alpha + t1.$index($arguments, 1).assertNumber$1("amount").valueInRangeWithUnit$4(0, 1, "amount", ""), 0, 1));
  22688. },
  22689. _transparentize0($arguments) {
  22690. var t1 = J.getInterceptor$asx($arguments),
  22691. color = t1.$index($arguments, 0).assertColor$1("color");
  22692. return color.changeAlpha$1(B.JSNumber_methods.clamp$2(color._color1$_alpha - t1.$index($arguments, 1).assertNumber$1("amount").valueInRangeWithUnit$4(0, 1, "amount", ""), 0, 1));
  22693. },
  22694. _function11($name, $arguments, callback) {
  22695. return A.BuiltInCallable$function0($name, $arguments, callback, "sass:color");
  22696. },
  22697. global_closure32: function global_closure32() {
  22698. },
  22699. global_closure33: function global_closure33() {
  22700. },
  22701. global_closure34: function global_closure34() {
  22702. },
  22703. global_closure35: function global_closure35() {
  22704. },
  22705. global_closure36: function global_closure36() {
  22706. },
  22707. global_closure37: function global_closure37() {
  22708. },
  22709. global_closure38: function global_closure38() {
  22710. },
  22711. global_closure39: function global_closure39() {
  22712. },
  22713. global_closure40: function global_closure40() {
  22714. },
  22715. global_closure41: function global_closure41() {
  22716. },
  22717. global_closure42: function global_closure42() {
  22718. },
  22719. global_closure43: function global_closure43() {
  22720. },
  22721. global_closure44: function global_closure44() {
  22722. },
  22723. global_closure45: function global_closure45() {
  22724. },
  22725. global_closure46: function global_closure46() {
  22726. },
  22727. global_closure47: function global_closure47() {
  22728. },
  22729. global_closure48: function global_closure48() {
  22730. },
  22731. global_closure49: function global_closure49() {
  22732. },
  22733. global_closure50: function global_closure50() {
  22734. },
  22735. global_closure51: function global_closure51() {
  22736. },
  22737. global_closure52: function global_closure52() {
  22738. },
  22739. global_closure53: function global_closure53() {
  22740. },
  22741. global_closure54: function global_closure54() {
  22742. },
  22743. global_closure55: function global_closure55() {
  22744. },
  22745. global_closure56: function global_closure56() {
  22746. },
  22747. global_closure57: function global_closure57() {
  22748. },
  22749. global__closure0: function global__closure0() {
  22750. },
  22751. global_closure58: function global_closure58() {
  22752. },
  22753. module_closure12: function module_closure12() {
  22754. },
  22755. module_closure13: function module_closure13() {
  22756. },
  22757. module_closure14: function module_closure14() {
  22758. },
  22759. module_closure15: function module_closure15() {
  22760. },
  22761. module_closure16: function module_closure16() {
  22762. },
  22763. module_closure17: function module_closure17() {
  22764. },
  22765. module_closure18: function module_closure18() {
  22766. },
  22767. module_closure19: function module_closure19() {
  22768. },
  22769. module__closure4: function module__closure4() {
  22770. },
  22771. module_closure20: function module_closure20() {
  22772. },
  22773. _red_closure0: function _red_closure0() {
  22774. },
  22775. _green_closure0: function _green_closure0() {
  22776. },
  22777. _blue_closure0: function _blue_closure0() {
  22778. },
  22779. _mix_closure0: function _mix_closure0() {
  22780. },
  22781. _hue_closure0: function _hue_closure0() {
  22782. },
  22783. _saturation_closure0: function _saturation_closure0() {
  22784. },
  22785. _lightness_closure0: function _lightness_closure0() {
  22786. },
  22787. _complement_closure0: function _complement_closure0() {
  22788. },
  22789. _adjust_closure0: function _adjust_closure0() {
  22790. },
  22791. _scale_closure0: function _scale_closure0() {
  22792. },
  22793. _change_closure0: function _change_closure0() {
  22794. },
  22795. _ieHexStr_closure0: function _ieHexStr_closure0() {
  22796. },
  22797. _ieHexStr_closure_hexString0: function _ieHexStr_closure_hexString0() {
  22798. },
  22799. _updateComponents_getParam0: function _updateComponents_getParam0(t0, t1, t2) {
  22800. this.keywords = t0;
  22801. this.scale = t1;
  22802. this.change = t2;
  22803. },
  22804. _updateComponents_closure1: function _updateComponents_closure1() {
  22805. },
  22806. _updateComponents_closure2: function _updateComponents_closure2() {
  22807. },
  22808. _updateComponents_updateValue0: function _updateComponents_updateValue0(t0, t1) {
  22809. this.change = t0;
  22810. this.adjust = t1;
  22811. },
  22812. _updateComponents_updateRgb0: function _updateComponents_updateRgb0(t0) {
  22813. this.updateValue = t0;
  22814. },
  22815. _functionString_closure0: function _functionString_closure0() {
  22816. },
  22817. _removedColorFunction_closure0: function _removedColorFunction_closure0(t0, t1, t2) {
  22818. this.name = t0;
  22819. this.argument = t1;
  22820. this.negative = t2;
  22821. },
  22822. _rgb_closure0: function _rgb_closure0() {
  22823. },
  22824. _hsl_closure0: function _hsl_closure0() {
  22825. },
  22826. _hwb_closure0: function _hwb_closure0() {
  22827. },
  22828. _parseChannels_closure0: function _parseChannels_closure0() {
  22829. },
  22830. colorClass_closure: function colorClass_closure() {
  22831. },
  22832. colorClass__closure: function colorClass__closure() {
  22833. },
  22834. colorClass__closure0: function colorClass__closure0() {
  22835. },
  22836. colorClass__closure1: function colorClass__closure1() {
  22837. },
  22838. colorClass__closure2: function colorClass__closure2() {
  22839. },
  22840. colorClass__closure3: function colorClass__closure3() {
  22841. },
  22842. colorClass__closure4: function colorClass__closure4() {
  22843. },
  22844. colorClass__closure5: function colorClass__closure5() {
  22845. },
  22846. colorClass__closure6: function colorClass__closure6() {
  22847. },
  22848. colorClass__closure7: function colorClass__closure7() {
  22849. },
  22850. colorClass__closure8: function colorClass__closure8() {
  22851. },
  22852. colorClass__closure9: function colorClass__closure9() {
  22853. },
  22854. _Channels: function _Channels() {
  22855. },
  22856. _NodeSassColor: function _NodeSassColor() {
  22857. },
  22858. legacyColorClass_closure: function legacyColorClass_closure() {
  22859. },
  22860. legacyColorClass_closure0: function legacyColorClass_closure0() {
  22861. },
  22862. legacyColorClass_closure1: function legacyColorClass_closure1() {
  22863. },
  22864. legacyColorClass_closure2: function legacyColorClass_closure2() {
  22865. },
  22866. legacyColorClass_closure3: function legacyColorClass_closure3() {
  22867. },
  22868. legacyColorClass_closure4: function legacyColorClass_closure4() {
  22869. },
  22870. legacyColorClass_closure5: function legacyColorClass_closure5() {
  22871. },
  22872. legacyColorClass_closure6: function legacyColorClass_closure6() {
  22873. },
  22874. legacyColorClass_closure7: function legacyColorClass_closure7() {
  22875. },
  22876. SassColor$rgb0(red, green, blue, alpha) {
  22877. var _null = null,
  22878. t1 = new A.SassColor0(red, green, blue, _null, _null, _null, A.fuzzyAssertRange0(A.SassColor__handleNullAlpha0(alpha), 0, 1, "alpha"), _null);
  22879. A.RangeError_checkValueInInterval(t1.get$red(0), 0, 255, "red");
  22880. A.RangeError_checkValueInInterval(t1.get$green(0), 0, 255, "green");
  22881. A.RangeError_checkValueInInterval(t1.get$blue(0), 0, 255, "blue");
  22882. return t1;
  22883. },
  22884. SassColor$rgbInternal0(_red, _green, _blue, alpha, format) {
  22885. var t1 = new A.SassColor0(_red, _green, _blue, null, null, null, A.fuzzyAssertRange0(alpha, 0, 1, "alpha"), format);
  22886. A.RangeError_checkValueInInterval(t1.get$red(0), 0, 255, "red");
  22887. A.RangeError_checkValueInInterval(t1.get$green(0), 0, 255, "green");
  22888. A.RangeError_checkValueInInterval(t1.get$blue(0), 0, 255, "blue");
  22889. return t1;
  22890. },
  22891. SassColor$hsl(hue, saturation, lightness, alpha) {
  22892. var _null = null,
  22893. t1 = A.SassColor__handleNullAlpha0(alpha);
  22894. return new A.SassColor0(_null, _null, _null, B.JSNumber_methods.$mod(hue, 360), A.fuzzyAssertRange0(saturation, 0, 100, "saturation"), A.fuzzyAssertRange0(lightness, 0, 100, "lightness"), A.fuzzyAssertRange0(t1, 0, 1, "alpha"), _null);
  22895. },
  22896. SassColor$hslInternal0(hue, saturation, lightness, alpha, format) {
  22897. return new A.SassColor0(null, null, null, B.JSNumber_methods.$mod(hue, 360), A.fuzzyAssertRange0(saturation, 0, 100, "saturation"), A.fuzzyAssertRange0(lightness, 0, 100, "lightness"), A.fuzzyAssertRange0(alpha, 0, 1, "alpha"), format);
  22898. },
  22899. SassColor_SassColor$hwb0(hue, whiteness, blackness, alpha) {
  22900. var t2, t1 = {},
  22901. scaledHue = B.JSNumber_methods.$mod(hue, 360) / 360,
  22902. scaledWhiteness = t1.scaledWhiteness = A.fuzzyAssertRange0(whiteness, 0, 100, "whiteness") / 100,
  22903. scaledBlackness = A.fuzzyAssertRange0(blackness, 0, 100, "blackness") / 100,
  22904. sum = scaledWhiteness + scaledBlackness;
  22905. if (sum > 1) {
  22906. t2 = t1.scaledWhiteness = scaledWhiteness / sum;
  22907. scaledBlackness /= sum;
  22908. } else
  22909. t2 = scaledWhiteness;
  22910. t2 = new A.SassColor_SassColor$hwb_toRgb0(t1, 1 - t2 - scaledBlackness);
  22911. return A.SassColor$rgb0(t2.call$1(scaledHue + 0.3333333333333333), t2.call$1(scaledHue), t2.call$1(scaledHue - 0.3333333333333333), alpha);
  22912. },
  22913. SassColor__handleNullAlpha0(alpha) {
  22914. if (alpha != null)
  22915. return alpha;
  22916. A.warnForDeprecation0("Passing null for alpha in the JS API is deprecated.\nTo preserve current behavior, pass 1 or undefined instead.\nMore info: https://sass-lang.com/d/null-alpha", B.Deprecation_omH);
  22917. return 1;
  22918. },
  22919. SassColor__hueToRgb0(m1, m2, hue) {
  22920. var t1;
  22921. if (hue < 0)
  22922. ++hue;
  22923. if (hue > 1)
  22924. --hue;
  22925. $label0$0: {
  22926. if (hue < 0.16666666666666666) {
  22927. t1 = m1 + (m2 - m1) * hue * 6;
  22928. break $label0$0;
  22929. }
  22930. if (hue < 0.5) {
  22931. t1 = m2;
  22932. break $label0$0;
  22933. }
  22934. if (hue < 0.6666666666666666) {
  22935. t1 = m1 + (m2 - m1) * (0.6666666666666666 - hue) * 6;
  22936. break $label0$0;
  22937. }
  22938. t1 = m1;
  22939. break $label0$0;
  22940. }
  22941. return t1;
  22942. },
  22943. SassColor0: function SassColor0(t0, t1, t2, t3, t4, t5, t6, t7) {
  22944. var _ = this;
  22945. _._color1$_red = t0;
  22946. _._color1$_green = t1;
  22947. _._color1$_blue = t2;
  22948. _._color1$_hue = t3;
  22949. _._color1$_saturation = t4;
  22950. _._color1$_lightness = t5;
  22951. _._color1$_alpha = t6;
  22952. _.format = t7;
  22953. },
  22954. SassColor_SassColor$hwb_toRgb0: function SassColor_SassColor$hwb_toRgb0(t0, t1) {
  22955. this._box_0 = t0;
  22956. this.factor = t1;
  22957. },
  22958. _ColorFormatEnum0: function _ColorFormatEnum0(t0) {
  22959. this._color1$_name = t0;
  22960. },
  22961. SpanColorFormat0: function SpanColorFormat0(t0) {
  22962. this._color1$_span = t0;
  22963. },
  22964. Combinator0: function Combinator0(t0, t1) {
  22965. this._combinator0$_text = t0;
  22966. this._name = t1;
  22967. },
  22968. ModifiableCssComment0: function ModifiableCssComment0(t0, t1) {
  22969. var _ = this;
  22970. _.text = t0;
  22971. _.span = t1;
  22972. _._node$_indexInParent = _._node$_parent = null;
  22973. _.isGroupEnd = false;
  22974. },
  22975. compile0(path, options) {
  22976. var color, ascii, logger, result, error, stackTrace, t1, color0, ascii0, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, exception, _null = null;
  22977. if (!A.isNodeJs())
  22978. A.jsThrow(new self.Error("The compile() method is only available in Node.js."));
  22979. t1 = options == null;
  22980. color0 = t1 ? _null : J.get$alertColor$x(options);
  22981. color = color0 == null ? A.hasTerminal0() : color0;
  22982. ascii0 = t1 ? _null : J.get$alertAscii$x(options);
  22983. ascii = ascii0 == null ? $._glyphs === B.C_AsciiGlyphSet : ascii0;
  22984. t2 = t1 ? _null : J.get$logger$x(options);
  22985. t3 = ascii;
  22986. if (t3 == null)
  22987. t3 = $._glyphs === B.C_AsciiGlyphSet;
  22988. logger = new A.JSToDartLogger(t2, new A.StderrLogger0(color), t3);
  22989. try {
  22990. t2 = t1 ? _null : J.get$loadPaths$x(options);
  22991. t3 = t1 ? _null : J.get$quietDeps$x(options);
  22992. if (t3 == null)
  22993. t3 = false;
  22994. t4 = A._parseOutputStyle0(t1 ? _null : J.get$style$x(options));
  22995. t5 = t1 ? _null : J.get$verbose$x(options);
  22996. if (t5 == null)
  22997. t5 = false;
  22998. t6 = t1 ? _null : J.get$charset$x(options);
  22999. if (t6 == null)
  23000. t6 = true;
  23001. t7 = t1 ? _null : J.get$sourceMap$x(options);
  23002. if (t7 == null)
  23003. t7 = false;
  23004. t8 = logger;
  23005. if (t1)
  23006. t9 = _null;
  23007. else {
  23008. t9 = J.get$importers$x(options);
  23009. t9 = t9 == null ? _null : J.map$1$1$ax(t9, A.compile___parseImporter$closure(), type$.Importer);
  23010. }
  23011. t10 = A._parseFunctions0(t1 ? _null : J.get$functions$x(options), false);
  23012. t11 = t1 ? _null : J.get$fatalDeprecations$x(options);
  23013. t11 = A._parseDeprecations(logger, t11, true);
  23014. t12 = t1 ? _null : J.get$silenceDeprecations$x(options);
  23015. t12 = A._parseDeprecations(logger, t12, false);
  23016. t13 = t1 ? _null : J.get$futureDeprecations$x(options);
  23017. t13 = A._parseDeprecations(logger, t13, false);
  23018. result = A.compile(path, t6, t11, new A.CastList(t10, A._arrayInstanceType(t10)._eval$1("CastList<1,Callable>")), t13, A.ImportCache$0(t9, t2, t8 == null ? new A.StderrLogger0(color) : t8, _null), _null, _null, t8, _null, t3, t12, t7, t4, _null, true, t5);
  23019. t1 = t1 ? _null : J.get$sourceMapIncludeSources$x(options);
  23020. if (t1 == null)
  23021. t1 = false;
  23022. t1 = A._convertResult(result, t1);
  23023. return t1;
  23024. } catch (exception) {
  23025. t1 = A.unwrapException(exception);
  23026. if (t1 instanceof A.SassException0) {
  23027. error = t1;
  23028. stackTrace = A.getTraceFromException(exception);
  23029. A.throwNodeException(error, ascii, color, stackTrace);
  23030. } else
  23031. throw exception;
  23032. }
  23033. },
  23034. compileString0(text, options) {
  23035. var logger, result, error, stackTrace, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, exception, _null = null,
  23036. t1 = options == null,
  23037. color0 = t1 ? _null : J.get$alertColor$x(options),
  23038. color = color0 == null ? A.hasTerminal0() : color0,
  23039. ascii0 = t1 ? _null : J.get$alertAscii$x(options),
  23040. ascii = ascii0 == null ? $._glyphs === B.C_AsciiGlyphSet : ascii0,
  23041. t2 = t1 ? _null : J.get$logger$x(options),
  23042. t3 = ascii;
  23043. if (t3 == null)
  23044. t3 = $._glyphs === B.C_AsciiGlyphSet;
  23045. logger = new A.JSToDartLogger(t2, new A.StderrLogger0(color), t3);
  23046. try {
  23047. t2 = A.parseSyntax(t1 ? _null : J.get$syntax$x(options));
  23048. t3 = t1 ? _null : A.NullableExtension_andThen0(J.get$url$x(options), A.utils1__jsToDartUrl$closure());
  23049. t4 = t1 ? _null : J.get$loadPaths$x(options);
  23050. t5 = t1 ? _null : J.get$quietDeps$x(options);
  23051. if (t5 == null)
  23052. t5 = false;
  23053. t6 = A._parseOutputStyle0(t1 ? _null : J.get$style$x(options));
  23054. t7 = t1 ? _null : J.get$verbose$x(options);
  23055. if (t7 == null)
  23056. t7 = false;
  23057. t8 = t1 ? _null : J.get$charset$x(options);
  23058. if (t8 == null)
  23059. t8 = true;
  23060. t9 = t1 ? _null : J.get$sourceMap$x(options);
  23061. if (t9 == null)
  23062. t9 = false;
  23063. t10 = logger;
  23064. if (t1)
  23065. t11 = _null;
  23066. else {
  23067. t11 = J.get$importers$x(options);
  23068. t11 = t11 == null ? _null : J.map$1$1$ax(t11, A.compile___parseImporter$closure(), type$.Importer);
  23069. }
  23070. t12 = t1 ? _null : A.NullableExtension_andThen0(J.get$importer$x(options), A.compile___parseImporter$closure());
  23071. if (t12 == null)
  23072. t12 = (t1 ? _null : J.get$url$x(options)) == null ? new A.NoOpImporter0() : _null;
  23073. t13 = A._parseFunctions0(t1 ? _null : J.get$functions$x(options), false);
  23074. t14 = t1 ? _null : J.get$fatalDeprecations$x(options);
  23075. t14 = A._parseDeprecations(logger, t14, true);
  23076. t15 = t1 ? _null : J.get$silenceDeprecations$x(options);
  23077. t15 = A._parseDeprecations(logger, t15, false);
  23078. t16 = t1 ? _null : J.get$futureDeprecations$x(options);
  23079. t16 = A._parseDeprecations(logger, t16, false);
  23080. result = A.compileString(text, t8, t14, new A.CastList(t13, A._arrayInstanceType(t13)._eval$1("CastList<1,Callable>")), t16, A.ImportCache$0(t11, t4, t10 == null ? new A.StderrLogger0(color) : t10, _null), t12, _null, _null, t10, _null, t5, t15, t9, t6, t2, t3, true, t7);
  23081. t1 = t1 ? _null : J.get$sourceMapIncludeSources$x(options);
  23082. if (t1 == null)
  23083. t1 = false;
  23084. t1 = A._convertResult(result, t1);
  23085. return t1;
  23086. } catch (exception) {
  23087. t1 = A.unwrapException(exception);
  23088. if (t1 instanceof A.SassException0) {
  23089. error = t1;
  23090. stackTrace = A.getTraceFromException(exception);
  23091. A.throwNodeException(error, ascii, color, stackTrace);
  23092. } else
  23093. throw exception;
  23094. }
  23095. },
  23096. compileAsync1(path, options) {
  23097. var t1, color, ascii;
  23098. if (!A.isNodeJs())
  23099. A.jsThrow(new self.Error("The compileAsync() method is only available in Node.js."));
  23100. t1 = options == null;
  23101. color = t1 ? null : J.get$alertColor$x(options);
  23102. if (color == null)
  23103. color = A.hasTerminal0();
  23104. ascii = t1 ? null : J.get$alertAscii$x(options);
  23105. if (ascii == null)
  23106. ascii = $._glyphs === B.C_AsciiGlyphSet;
  23107. t1 = t1 ? null : J.get$logger$x(options);
  23108. 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);
  23109. },
  23110. compileStringAsync1(text, options) {
  23111. var ascii,
  23112. t1 = options == null,
  23113. color = t1 ? null : J.get$alertColor$x(options);
  23114. if (color == null)
  23115. color = A.hasTerminal0();
  23116. ascii = t1 ? null : J.get$alertAscii$x(options);
  23117. if (ascii == null)
  23118. ascii = $._glyphs === B.C_AsciiGlyphSet;
  23119. t1 = t1 ? null : J.get$logger$x(options);
  23120. 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);
  23121. },
  23122. _convertResult(result, includeSourceContents) {
  23123. var loadedUrls,
  23124. t1 = result._compile_result$_serialize,
  23125. t2 = t1._1,
  23126. sourceMap = t2 == null ? null : t2.toJson$1$includeSourceContents(includeSourceContents);
  23127. if (type$.Map_String_dynamic._is(sourceMap) && !sourceMap.containsKey$1("sources"))
  23128. sourceMap.$indexSet(0, "sources", A._setArrayType([], type$.JSArray_String));
  23129. loadedUrls = A.toJSArray(result._evaluate._0.map$1$1(0, A.utils1__dartToJSUrl$closure(), type$.nullable_Object));
  23130. t1 = t1._0;
  23131. return sourceMap == null ? {css: t1, loadedUrls: loadedUrls} : {css: t1, sourceMap: A.jsify0(sourceMap), loadedUrls: loadedUrls};
  23132. },
  23133. _wrapAsyncSassExceptions(promise, ascii, color) {
  23134. return J.then$2$x(promise, null, A.allowInterop(new A._wrapAsyncSassExceptions_closure(color, ascii)));
  23135. },
  23136. _parseOutputStyle0(style) {
  23137. var t1;
  23138. $label0$0: {
  23139. if (style == null || "expanded" === style) {
  23140. t1 = B.OutputStyle_00;
  23141. break $label0$0;
  23142. }
  23143. if ("compressed" === style) {
  23144. t1 = B.OutputStyle_10;
  23145. break $label0$0;
  23146. }
  23147. t1 = A.jsThrow(new self.Error('Unknown output style "' + A.S(style) + '".'));
  23148. }
  23149. return t1;
  23150. },
  23151. _parseAsyncImporter(importer) {
  23152. var t1, canonicalize, load, _0_0;
  23153. if (importer instanceof A.NodePackageImporter0)
  23154. return importer;
  23155. if (importer == null)
  23156. A.jsThrow(new self.Error("Importers may not be null."));
  23157. type$.JSImporter._as(importer);
  23158. t1 = J.getInterceptor$x(importer);
  23159. canonicalize = t1.get$canonicalize(importer);
  23160. load = t1.get$load(importer);
  23161. _0_0 = t1.get$findFileUrl(importer);
  23162. if (_0_0 != null)
  23163. if (canonicalize != null || load != null)
  23164. A.jsThrow(new self.Error(string$.An_impa));
  23165. else
  23166. return new A.JSToDartAsyncFileImporter(_0_0);
  23167. else if (canonicalize == null || load == null)
  23168. A.jsThrow(new self.Error(string$.An_impu));
  23169. else {
  23170. t1 = A._normalizeNonCanonicalSchemes(t1.get$nonCanonicalScheme(importer));
  23171. t1 = t1 == null ? B.Set_empty7 : A.Set_Set$unmodifiable(t1, type$.String);
  23172. t1.forEach$1(0, A.utils2__validateUrlScheme$closure());
  23173. return new A.JSToDartAsyncImporter(canonicalize, load, t1);
  23174. }
  23175. },
  23176. _parseImporter0(importer) {
  23177. var t1, canonicalize, load, _0_0;
  23178. if (importer instanceof A.NodePackageImporter0)
  23179. return importer;
  23180. if (importer == null)
  23181. A.jsThrow(new self.Error("Importers may not be null."));
  23182. type$.JSImporter._as(importer);
  23183. t1 = J.getInterceptor$x(importer);
  23184. canonicalize = t1.get$canonicalize(importer);
  23185. load = t1.get$load(importer);
  23186. _0_0 = t1.get$findFileUrl(importer);
  23187. if (_0_0 != null)
  23188. if (canonicalize != null || load != null)
  23189. A.jsThrow(new self.Error(string$.An_impa));
  23190. else
  23191. return new A.JSToDartFileImporter(_0_0);
  23192. else if (canonicalize == null || load == null)
  23193. A.jsThrow(new self.Error(string$.An_impu));
  23194. else {
  23195. t1 = A._normalizeNonCanonicalSchemes(t1.get$nonCanonicalScheme(importer));
  23196. t1 = t1 == null ? B.Set_empty7 : A.Set_Set$unmodifiable(t1, type$.String);
  23197. t1.forEach$1(0, A.utils2__validateUrlScheme$closure());
  23198. return new A.JSToDartImporter(canonicalize, load, t1);
  23199. }
  23200. },
  23201. _normalizeNonCanonicalSchemes(schemes) {
  23202. var t1;
  23203. $label0$0: {
  23204. if (typeof schemes == "string") {
  23205. t1 = A._setArrayType([schemes], type$.JSArray_String);
  23206. break $label0$0;
  23207. }
  23208. if (type$.List_dynamic._is(schemes)) {
  23209. t1 = J.cast$1$0$ax(schemes, type$.String);
  23210. break $label0$0;
  23211. }
  23212. if (schemes == null) {
  23213. t1 = null;
  23214. break $label0$0;
  23215. }
  23216. t1 = A.jsThrow(new self.Error('nonCanonicalScheme must be a string or list of strings, was "' + A.S(schemes) + '"'));
  23217. }
  23218. return t1;
  23219. },
  23220. _simplifyValue(value) {
  23221. var _0_1, t1, t2, _0_4, _0_3, _0_4_isSet, _0_5, _0_40, _0_8, first, _0_10, min, _null = null;
  23222. $label1$1: {
  23223. if (value instanceof A.SassCalculation0) {
  23224. _0_1 = value.name;
  23225. t1 = value.$arguments;
  23226. t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Object>");
  23227. _0_4 = A.List_List$of(new A.MappedListIterable(t1, A.compile___simplifyCalcArg$closure(), t2), true, t2._eval$1("ListIterable.E"));
  23228. $label0$0: {
  23229. _0_3 = "calc" === _0_1;
  23230. _0_4_isSet = _0_3;
  23231. if (_0_4_isSet) {
  23232. _0_5 = _0_4.length;
  23233. t1 = _0_5;
  23234. _0_40 = _0_4;
  23235. t1 = t1 === 1;
  23236. } else {
  23237. _0_40 = _null;
  23238. _0_5 = _0_40;
  23239. t1 = false;
  23240. }
  23241. if (t1) {
  23242. _0_8 = (_0_4_isSet ? _0_40 : _0_4)[0];
  23243. first = _0_8;
  23244. type$.Value_2._as(first);
  23245. t1 = first;
  23246. break $label0$0;
  23247. }
  23248. if (_0_3)
  23249. A.throwExpression(A.ArgumentError$("calc() requires exactly one argument.", _null));
  23250. _0_10 = "clamp" === _0_1;
  23251. t1 = _0_10;
  23252. if (t1) {
  23253. if (_0_4_isSet)
  23254. t1 = _0_5;
  23255. else {
  23256. _0_5 = _0_4.length;
  23257. t1 = _0_5;
  23258. _0_40 = _0_4;
  23259. _0_4_isSet = true;
  23260. }
  23261. t1 = t1 === 3;
  23262. } else
  23263. t1 = false;
  23264. if (t1) {
  23265. if (_0_4_isSet)
  23266. t1 = _0_40;
  23267. else {
  23268. t1 = _0_4;
  23269. _0_40 = t1;
  23270. _0_4_isSet = true;
  23271. }
  23272. _0_8 = t1[0];
  23273. min = _0_8;
  23274. if (_0_4_isSet)
  23275. t1 = _0_40;
  23276. else {
  23277. t1 = _0_4;
  23278. _0_40 = t1;
  23279. _0_4_isSet = true;
  23280. }
  23281. value = t1[1];
  23282. t1 = A.SassCalculation_clamp0(min, value, (_0_4_isSet ? _0_40 : _0_4)[2]);
  23283. break $label0$0;
  23284. }
  23285. if (_0_10)
  23286. A.throwExpression(A.ArgumentError$("clamp() requires exactly 3 arguments.", _null));
  23287. if ("min" === _0_1) {
  23288. t1 = A.SassCalculation_min0(_0_4_isSet ? _0_40 : _0_4);
  23289. break $label0$0;
  23290. }
  23291. if ("max" === _0_1) {
  23292. t1 = A.SassCalculation_max0(_0_4_isSet ? _0_40 : _0_4);
  23293. break $label0$0;
  23294. }
  23295. t1 = A.throwExpression(A.ArgumentError$('"' + _0_1 + '" is not a recognized calculation type.', _null));
  23296. }
  23297. break $label1$1;
  23298. }
  23299. t1 = value;
  23300. break $label1$1;
  23301. }
  23302. return t1;
  23303. },
  23304. _simplifyCalcArg(value) {
  23305. var t1;
  23306. $label0$0: {
  23307. if (value instanceof A.SassCalculation0) {
  23308. t1 = A._simplifyValue(value);
  23309. break $label0$0;
  23310. }
  23311. if (value instanceof A.CalculationOperation0) {
  23312. t1 = A.SassCalculation_operateInternal0(value._calculation0$_operator, A._simplifyCalcArg(value._calculation0$_left), A._simplifyCalcArg(value._calculation0$_right), false, true);
  23313. break $label0$0;
  23314. }
  23315. t1 = value;
  23316. break $label0$0;
  23317. }
  23318. return t1;
  23319. },
  23320. _parseFunctions0(functions, asynch) {
  23321. var result;
  23322. if (functions == null)
  23323. return B.List_empty24;
  23324. result = A._setArrayType([], type$.JSArray_AsyncCallable_2);
  23325. A.jsForEach(functions, new A._parseFunctions_closure0(asynch, result));
  23326. return result;
  23327. },
  23328. _parseDeprecations(logger, deprecations, supportVersions) {
  23329. if (deprecations == null)
  23330. return null;
  23331. return new A._parseDeprecations_closure(deprecations, logger, supportVersions).call$0();
  23332. },
  23333. compileAsync_closure: function compileAsync_closure(t0, t1, t2, t3) {
  23334. var _ = this;
  23335. _.path = t0;
  23336. _.color = t1;
  23337. _.options = t2;
  23338. _.logger = t3;
  23339. },
  23340. compileAsync__closure: function compileAsync__closure() {
  23341. },
  23342. compileStringAsync_closure: function compileStringAsync_closure(t0, t1, t2, t3) {
  23343. var _ = this;
  23344. _.text = t0;
  23345. _.options = t1;
  23346. _.color = t2;
  23347. _.logger = t3;
  23348. },
  23349. compileStringAsync__closure: function compileStringAsync__closure() {
  23350. },
  23351. compileStringAsync__closure0: function compileStringAsync__closure0() {
  23352. },
  23353. _wrapAsyncSassExceptions_closure: function _wrapAsyncSassExceptions_closure(t0, t1) {
  23354. this.color = t0;
  23355. this.ascii = t1;
  23356. },
  23357. _parseFunctions_closure0: function _parseFunctions_closure0(t0, t1) {
  23358. this.asynch = t0;
  23359. this.result = t1;
  23360. },
  23361. _parseFunctions__closure2: function _parseFunctions__closure2(t0, t1) {
  23362. this.callback = t0;
  23363. this.callable = t1;
  23364. },
  23365. _parseFunctions___closure6: function _parseFunctions___closure6(t0, t1) {
  23366. this.callback = t0;
  23367. this.$arguments = t1;
  23368. },
  23369. _parseFunctions__closure3: function _parseFunctions__closure3(t0, t1) {
  23370. this.callback = t0;
  23371. this.callable = t1;
  23372. },
  23373. _parseFunctions___closure5: function _parseFunctions___closure5(t0, t1) {
  23374. this.callback = t0;
  23375. this.$arguments = t1;
  23376. },
  23377. _parseDeprecations_closure: function _parseDeprecations_closure(t0, t1, t2) {
  23378. this.deprecations = t0;
  23379. this.logger = t1;
  23380. this.supportVersions = t2;
  23381. },
  23382. nodePackageImporterClass_closure: function nodePackageImporterClass_closure() {
  23383. },
  23384. nodePackageImporterClass__closure: function nodePackageImporterClass__closure() {
  23385. },
  23386. compile(path, charset, fatalDeprecations, functions, futureDeprecations, importCache, indentWidth, lineFeed, logger, nodeImporter, quietDeps, silenceDeprecations, sourceMap, style, syntax, useSpaces, verbose) {
  23387. var t3, t4, t0, stylesheet, result, _null = null,
  23388. t1 = type$.Deprecation_3,
  23389. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  23390. if (silenceDeprecations != null)
  23391. t2.addAll$1(0, silenceDeprecations);
  23392. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  23393. if (fatalDeprecations != null)
  23394. t3.addAll$1(0, fatalDeprecations);
  23395. t1 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  23396. if (futureDeprecations != null)
  23397. t1.addAll$1(0, futureDeprecations);
  23398. logger = A.DeprecationProcessingLogger$0(logger, t3, t1, !verbose, t2);
  23399. t1 = nodeImporter == null;
  23400. if (t1)
  23401. t2 = syntax == null || syntax === A.Syntax_forPath0(path);
  23402. else
  23403. t2 = false;
  23404. if (t2) {
  23405. if (importCache == null)
  23406. importCache = A.ImportCache$none(logger);
  23407. t2 = $.$get$FilesystemImporter_cwd0();
  23408. t3 = A.isNodeJs() ? self.process : _null;
  23409. if (!J.$eq$(t3 == null ? _null : J.get$platform$x(t3), "win32")) {
  23410. t3 = A.isNodeJs() ? self.process : _null;
  23411. t3 = J.$eq$(t3 == null ? _null : J.get$platform$x(t3), "darwin");
  23412. } else
  23413. t3 = true;
  23414. if (t3) {
  23415. t3 = $.$get$context();
  23416. t4 = A._realCasePath0(A.absolute(t3.normalize$1(path), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null));
  23417. t0 = t4;
  23418. t4 = t3;
  23419. t3 = t0;
  23420. } else {
  23421. t3 = $.$get$context();
  23422. t4 = t3.canonicalize$1(0, path);
  23423. t0 = t4;
  23424. t4 = t3;
  23425. t3 = t0;
  23426. }
  23427. t4 = importCache.importCanonical$3$originalUrl(t2, t4.toUri$1(t3), t4.toUri$1(path));
  23428. t4.toString;
  23429. stylesheet = t4;
  23430. } else {
  23431. t2 = A.readFile0(path);
  23432. t3 = syntax == null ? A.Syntax_forPath0(path) : syntax;
  23433. stylesheet = A.Stylesheet_Stylesheet$parse0(t2, t3, logger, $.$get$context().toUri$1(path));
  23434. }
  23435. result = A._compileStylesheet1(stylesheet, logger, importCache, nodeImporter, $.$get$FilesystemImporter_cwd0(), functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset);
  23436. logger.summarize$1$js(!t1);
  23437. return result;
  23438. },
  23439. compileString(source, charset, fatalDeprecations, functions, futureDeprecations, importCache, importer, indentWidth, lineFeed, logger, nodeImporter, quietDeps, silenceDeprecations, sourceMap, style, syntax, url, useSpaces, verbose) {
  23440. var t3, stylesheet, result,
  23441. t1 = type$.Deprecation_3,
  23442. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  23443. if (silenceDeprecations != null)
  23444. t2.addAll$1(0, silenceDeprecations);
  23445. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  23446. if (fatalDeprecations != null)
  23447. t3.addAll$1(0, fatalDeprecations);
  23448. t1 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  23449. if (futureDeprecations != null)
  23450. t1.addAll$1(0, futureDeprecations);
  23451. logger = A.DeprecationProcessingLogger$0(logger, t3, t1, !verbose, t2);
  23452. stylesheet = A.Stylesheet_Stylesheet$parse0(source, syntax == null ? B.Syntax_SCSS_scss0 : syntax, logger, url);
  23453. if (importer == null)
  23454. t1 = A.isBrowser() ? new A.NoOpImporter0() : $.$get$FilesystemImporter_cwd0();
  23455. else
  23456. t1 = importer;
  23457. result = A._compileStylesheet1(stylesheet, logger, importCache, nodeImporter, t1, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset);
  23458. logger.summarize$1$js(nodeImporter != null);
  23459. return result;
  23460. },
  23461. _compileStylesheet1(stylesheet, logger, importCache, nodeImporter, importer, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset) {
  23462. var evaluateResult = A._EvaluateVisitor$1(functions, importCache, logger, nodeImporter, quietDeps, sourceMap).run$2(0, importer, stylesheet),
  23463. serializeResult = A.serialize0(evaluateResult._1, charset, indentWidth, false, lineFeed, sourceMap, style, useSpaces),
  23464. resultSourceMap = serializeResult._1;
  23465. if (resultSourceMap != null && importCache != null)
  23466. A.mapInPlace0(resultSourceMap.urls, new A._compileStylesheet_closure1(stylesheet, importCache));
  23467. return new A.CompileResult0(evaluateResult, serializeResult);
  23468. },
  23469. _compileStylesheet_closure1: function _compileStylesheet_closure1(t0, t1) {
  23470. this.stylesheet = t0;
  23471. this.importCache = t1;
  23472. },
  23473. CompileOptions: function CompileOptions() {
  23474. },
  23475. CompileStringOptions: function CompileStringOptions() {
  23476. },
  23477. NodeCompileResult: function NodeCompileResult() {
  23478. },
  23479. CompileResult0: function CompileResult0(t0, t1) {
  23480. this._evaluate = t0;
  23481. this._compile_result$_serialize = t1;
  23482. },
  23483. initCompiler() {
  23484. return new A.Compiler();
  23485. },
  23486. initAsyncCompiler() {
  23487. return A.futureToPromise0(new A.initAsyncCompiler_closure().call$0());
  23488. },
  23489. Compiler: function Compiler() {
  23490. this._disposed = false;
  23491. },
  23492. AsyncCompiler: function AsyncCompiler(t0) {
  23493. this.compilations = t0;
  23494. this._disposed = false;
  23495. },
  23496. AsyncCompiler_addCompilation_closure: function AsyncCompiler_addCompilation_closure() {
  23497. },
  23498. compilerClass_closure: function compilerClass_closure() {
  23499. },
  23500. compilerClass__closure: function compilerClass__closure() {
  23501. },
  23502. compilerClass__closure0: function compilerClass__closure0() {
  23503. },
  23504. compilerClass__closure1: function compilerClass__closure1() {
  23505. },
  23506. compilerClass__closure2: function compilerClass__closure2() {
  23507. },
  23508. asyncCompilerClass_closure: function asyncCompilerClass_closure() {
  23509. },
  23510. asyncCompilerClass__closure: function asyncCompilerClass__closure() {
  23511. },
  23512. asyncCompilerClass__closure0: function asyncCompilerClass__closure0() {
  23513. },
  23514. asyncCompilerClass__closure1: function asyncCompilerClass__closure1() {
  23515. },
  23516. asyncCompilerClass__closure2: function asyncCompilerClass__closure2() {
  23517. },
  23518. asyncCompilerClass___closure: function asyncCompilerClass___closure(t0) {
  23519. this.self = t0;
  23520. },
  23521. initAsyncCompiler_closure: function initAsyncCompiler_closure() {
  23522. },
  23523. ComplexSassNumber0: function ComplexSassNumber0(t0, t1, t2, t3) {
  23524. var _ = this;
  23525. _._complex0$_numeratorUnits = t0;
  23526. _._complex0$_denominatorUnits = t1;
  23527. _._number1$_value = t2;
  23528. _.hashCache = null;
  23529. _.asSlash = t3;
  23530. },
  23531. ComplexSelector$0(leadingCombinators, components, span, lineBreak) {
  23532. var t1 = A.List_List$unmodifiable(leadingCombinators, type$.CssValue_Combinator_2),
  23533. t2 = A.List_List$unmodifiable(components, type$.ComplexSelectorComponent_2);
  23534. if (t1.length === 0 && t2.length === 0)
  23535. A.throwExpression(A.ArgumentError$(string$.leadin, null));
  23536. return new A.ComplexSelector0(t1, t2, lineBreak, span);
  23537. },
  23538. ComplexSelector0: function ComplexSelector0(t0, t1, t2, t3) {
  23539. var _ = this;
  23540. _.leadingCombinators = t0;
  23541. _.components = t1;
  23542. _.lineBreak = t2;
  23543. _._complex$__ComplexSelector_specificity_FI = $;
  23544. _.span = t3;
  23545. },
  23546. ComplexSelector_specificity_closure0: function ComplexSelector_specificity_closure0() {
  23547. },
  23548. ComplexSelectorComponent0: function ComplexSelectorComponent0(t0, t1, t2) {
  23549. this.selector = t0;
  23550. this.combinators = t1;
  23551. this.span = t2;
  23552. },
  23553. ComplexSelectorComponent_toString_closure0: function ComplexSelectorComponent_toString_closure0() {
  23554. },
  23555. CompoundSelector$0(components, span) {
  23556. var t1 = A.List_List$unmodifiable(components, type$.SimpleSelector_2);
  23557. if (t1.length === 0)
  23558. A.throwExpression(A.ArgumentError$("components may not be empty.", null));
  23559. return new A.CompoundSelector0(t1, span);
  23560. },
  23561. CompoundSelector0: function CompoundSelector0(t0, t1) {
  23562. this.components = t0;
  23563. this._compound$__CompoundSelector_specificity_FI = $;
  23564. this.span = t1;
  23565. },
  23566. CompoundSelector_specificity_closure0: function CompoundSelector_specificity_closure0() {
  23567. },
  23568. Configuration0: function Configuration0(t0, t1) {
  23569. this._configuration0$_values = t0;
  23570. this._configuration0$__originalConfiguration = t1;
  23571. },
  23572. ExplicitConfiguration0: function ExplicitConfiguration0(t0, t1, t2) {
  23573. this.nodeWithSpan = t0;
  23574. this._configuration0$_values = t1;
  23575. this._configuration0$__originalConfiguration = t2;
  23576. },
  23577. ConfiguredValue0: function ConfiguredValue0(t0, t1, t2) {
  23578. this.value = t0;
  23579. this.configurationSpan = t1;
  23580. this.assignmentNode = t2;
  23581. },
  23582. ConfiguredVariable0: function ConfiguredVariable0(t0, t1, t2, t3) {
  23583. var _ = this;
  23584. _.name = t0;
  23585. _.expression = t1;
  23586. _.isGuarded = t2;
  23587. _.span = t3;
  23588. },
  23589. ContentBlock$0($arguments, children, span) {
  23590. var _s8_ = "@content",
  23591. t1 = A.stringReplaceAllUnchecked(_s8_, "_", "-"),
  23592. t2 = A.List_List$unmodifiable(children, type$.Statement_2),
  23593. t3 = B.JSArray_methods.any$1(t2, new A.ParentStatement_closure0());
  23594. return new A.ContentBlock0(t1, _s8_, $arguments, span, t2, t3);
  23595. },
  23596. ContentBlock0: function ContentBlock0(t0, t1, t2, t3, t4, t5) {
  23597. var _ = this;
  23598. _.name = t0;
  23599. _.originalName = t1;
  23600. _.$arguments = t2;
  23601. _.span = t3;
  23602. _.children = t4;
  23603. _.hasDeclarations = t5;
  23604. },
  23605. ContentRule0: function ContentRule0(t0, t1) {
  23606. this.$arguments = t0;
  23607. this.span = t1;
  23608. },
  23609. _disallowedFunctionNames_closure0: function _disallowedFunctionNames_closure0() {
  23610. },
  23611. CssParser0: function CssParser0(t0, t1, t2, t3) {
  23612. var _ = this;
  23613. _._stylesheet0$_isUseAllowed = true;
  23614. _._stylesheet0$_inExpression = _._stylesheet0$_inParentheses = _._stylesheet0$_inStyleRule = _._stylesheet0$_inUnknownAtRule = _._stylesheet0$_inControlDirective = _._stylesheet0$_inContentBlock = _._stylesheet0$_inMixin = false;
  23615. _._stylesheet0$_globalVariables = t0;
  23616. _.lastSilentComment = null;
  23617. _.scanner = t1;
  23618. _.logger = t2;
  23619. _._parser0$_interpolationMap = t3;
  23620. },
  23621. DebugRule0: function DebugRule0(t0, t1) {
  23622. this.expression = t0;
  23623. this.span = t1;
  23624. },
  23625. ModifiableCssDeclaration$0($name, value, span, parsedAsCustomProperty, valueSpanForMap) {
  23626. var t2,
  23627. t1 = valueSpanForMap == null ? value.span : valueSpanForMap;
  23628. if (parsedAsCustomProperty)
  23629. if (!J.startsWith$1$s($name.value, "--"))
  23630. A.throwExpression(A.ArgumentError$(string$.parsed, null));
  23631. else {
  23632. t2 = value.value;
  23633. if (!(t2 instanceof A.SassString0))
  23634. A.throwExpression(A.ArgumentError$(string$.If_par + value.toString$0(0) + "` of type " + A.getRuntimeTypeOfDartObject(t2).toString$0(0) + ").", null));
  23635. }
  23636. return new A.ModifiableCssDeclaration0($name, value, parsedAsCustomProperty, t1, span);
  23637. },
  23638. ModifiableCssDeclaration0: function ModifiableCssDeclaration0(t0, t1, t2, t3, t4) {
  23639. var _ = this;
  23640. _.name = t0;
  23641. _.value = t1;
  23642. _.parsedAsCustomProperty = t2;
  23643. _.valueSpanForMap = t3;
  23644. _.span = t4;
  23645. _._node$_indexInParent = _._node$_parent = null;
  23646. _.isGroupEnd = false;
  23647. },
  23648. Declaration$0($name, value, span) {
  23649. return new A.Declaration0($name, value, span, null, false);
  23650. },
  23651. Declaration$nested0($name, children, span, value) {
  23652. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  23653. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  23654. return new A.Declaration0($name, value, span, t1, t2);
  23655. },
  23656. Declaration0: function Declaration0(t0, t1, t2, t3, t4) {
  23657. var _ = this;
  23658. _.name = t0;
  23659. _.value = t1;
  23660. _.span = t2;
  23661. _.children = t3;
  23662. _.hasDeclarations = t4;
  23663. },
  23664. SupportsDeclaration0: function SupportsDeclaration0(t0, t1, t2) {
  23665. this.name = t0;
  23666. this.value = t1;
  23667. this.span = t2;
  23668. },
  23669. Deprecation_fromId0(id) {
  23670. return A.IterableExtension_firstWhereOrNull(B.List_e7f, new A.Deprecation_fromId_closure0(id));
  23671. },
  23672. Deprecation_forVersion0(version) {
  23673. var t2, _i, deprecation, $self, t3,
  23674. t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.Deprecation_3);
  23675. for (t2 = A.VersionRange_VersionRange(true, version).get$allows(), _i = 0; _i < 18; ++_i) {
  23676. deprecation = B.List_e7f[_i];
  23677. $self = deprecation._deprecation$_deprecatedIn;
  23678. t3 = $self == null ? null : A.Version___parse_tearOff($self);
  23679. t3 = t3 == null ? null : t2.call$1(t3);
  23680. if (t3 == null ? false : t3)
  23681. t1.add$1(0, deprecation);
  23682. }
  23683. return t1;
  23684. },
  23685. Deprecation0: function Deprecation0(t0, t1, t2, t3, t4) {
  23686. var _ = this;
  23687. _.id = t0;
  23688. _._deprecation$_deprecatedIn = t1;
  23689. _.description = t2;
  23690. _.isFuture = t3;
  23691. _._name = t4;
  23692. },
  23693. Deprecation_fromId_closure0: function Deprecation_fromId_closure0(t0) {
  23694. this.id = t0;
  23695. },
  23696. DeprecationProcessingLogger$0(_inner, fatalDeprecations, futureDeprecations, limitRepetition, silenceDeprecations) {
  23697. var t1 = new A.DeprecationProcessingLogger0(A.LinkedHashMap_LinkedHashMap$_empty(type$.Deprecation_3, type$.int), _inner, silenceDeprecations, fatalDeprecations, futureDeprecations, limitRepetition);
  23698. t1.DeprecationProcessingLogger$5$fatalDeprecations$futureDeprecations$limitRepetition$silenceDeprecations0(_inner, fatalDeprecations, futureDeprecations, limitRepetition, silenceDeprecations);
  23699. return t1;
  23700. },
  23701. DeprecationProcessingLogger0: function DeprecationProcessingLogger0(t0, t1, t2, t3, t4, t5) {
  23702. var _ = this;
  23703. _._deprecation_processing$_warningCounts = t0;
  23704. _._deprecation_processing$_inner = t1;
  23705. _.silenceDeprecations = t2;
  23706. _.fatalDeprecations = t3;
  23707. _.futureDeprecations = t4;
  23708. _.limitRepetition = t5;
  23709. },
  23710. DeprecationProcessingLogger_summarize_closure1: function DeprecationProcessingLogger_summarize_closure1() {
  23711. },
  23712. DeprecationProcessingLogger_summarize_closure2: function DeprecationProcessingLogger_summarize_closure2() {
  23713. },
  23714. Deprecation1: function Deprecation1() {
  23715. },
  23716. deprecations_closure: function deprecations_closure(t0) {
  23717. this.deprecation = t0;
  23718. },
  23719. versionClass_closure: function versionClass_closure() {
  23720. },
  23721. versionClass__closure: function versionClass__closure() {
  23722. },
  23723. versionClass__closure0: function versionClass__closure0() {
  23724. },
  23725. DynamicImport0: function DynamicImport0(t0, t1) {
  23726. this.urlString = t0;
  23727. this.span = t1;
  23728. },
  23729. EachRule$0(variables, list, children, span) {
  23730. var t1 = A.List_List$unmodifiable(variables, type$.String),
  23731. t2 = A.List_List$unmodifiable(children, type$.Statement_2),
  23732. t3 = B.JSArray_methods.any$1(t2, new A.ParentStatement_closure0());
  23733. return new A.EachRule0(t1, list, span, t2, t3);
  23734. },
  23735. EachRule0: function EachRule0(t0, t1, t2, t3, t4) {
  23736. var _ = this;
  23737. _.variables = t0;
  23738. _.list = t1;
  23739. _.span = t2;
  23740. _.children = t3;
  23741. _.hasDeclarations = t4;
  23742. },
  23743. EachRule_toString_closure0: function EachRule_toString_closure0() {
  23744. },
  23745. EmptyExtensionStore0: function EmptyExtensionStore0() {
  23746. },
  23747. Environment$0() {
  23748. var t1 = type$.String,
  23749. t2 = type$.Module_Callable_2,
  23750. t3 = type$.AstNode_2,
  23751. t4 = type$.int,
  23752. t5 = type$.Callable_2,
  23753. t6 = type$.JSArray_Map_String_Callable_2;
  23754. 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);
  23755. },
  23756. Environment$_0(_modules, _namespaceNodes, _globalModules, _importedModules, _forwardedModules, _nestedForwardedModules, _allModules, _variables, _variableNodes, _functions, _mixins, _content) {
  23757. var t1 = type$.String,
  23758. t2 = type$.int;
  23759. 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);
  23760. },
  23761. _EnvironmentModule__EnvironmentModule1(environment, css, preModuleComments, extensionStore, forwarded) {
  23762. var t1, t2, t3, t4, t5, t6, module, result, t7;
  23763. if (forwarded == null)
  23764. forwarded = B.Set_empty4;
  23765. t1 = type$.dynamic;
  23766. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  23767. 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();) {
  23768. t6 = t4.get$current(t4);
  23769. module = t6._0;
  23770. result = A.List_List$from(t6._1, false, t5);
  23771. result.fixed$length = Array;
  23772. result.immutable$list = Array;
  23773. t1.$indexSet(0, module, result);
  23774. }
  23775. t1 = A.ConstantMap_ConstantMap$from(t1, t2, t3);
  23776. t2 = A._EnvironmentModule__makeModulesByVariable1(forwarded);
  23777. 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);
  23778. 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);
  23779. t5 = type$.Map_String_Callable_2;
  23780. t6 = type$.Callable_2;
  23781. t7 = A._EnvironmentModule__memberMap1(B.JSArray_methods.get$first(environment._environment0$_functions), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure13(), t5), t6);
  23782. t6 = A._EnvironmentModule__memberMap1(B.JSArray_methods.get$first(environment._environment0$_mixins), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure14(), t5), t6);
  23783. 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());
  23784. 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()));
  23785. },
  23786. _EnvironmentModule__makeModulesByVariable1(forwarded) {
  23787. var modulesByVariable, t1, t2, t3, t4, t5;
  23788. if (forwarded.get$isEmpty(forwarded))
  23789. return B.Map_empty10;
  23790. modulesByVariable = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Module_Callable_2);
  23791. for (t1 = forwarded.get$iterator(forwarded); t1.moveNext$0();) {
  23792. t2 = t1.get$current(t1);
  23793. if (t2 instanceof A._EnvironmentModule1) {
  23794. for (t3 = t2._environment0$_modulesByVariable, t3 = t3.get$values(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  23795. t4 = t3.get$current(t3);
  23796. t5 = t4.get$variables();
  23797. A.setAll0(modulesByVariable, t5.get$keys(t5), t4);
  23798. }
  23799. A.setAll0(modulesByVariable, J.get$keys$z(B.JSArray_methods.get$first(t2._environment0$_environment._environment0$_variables)), t2);
  23800. } else {
  23801. t3 = t2.get$variables();
  23802. A.setAll0(modulesByVariable, t3.get$keys(t3), t2);
  23803. }
  23804. }
  23805. return modulesByVariable;
  23806. },
  23807. _EnvironmentModule__memberMap1(localMap, otherMaps, $V) {
  23808. var t1, t2, t3;
  23809. localMap = new A.PublicMemberMapView0(localMap, $V._eval$1("PublicMemberMapView0<0>"));
  23810. if (otherMaps.get$isEmpty(otherMaps))
  23811. return localMap;
  23812. t1 = A._setArrayType([], $V._eval$1("JSArray<Map<String,0>>"));
  23813. for (t2 = otherMaps.get$iterator(otherMaps); t2.moveNext$0();) {
  23814. t3 = t2.get$current(t2);
  23815. if (t3.get$isNotEmpty(t3))
  23816. t1.push(t3);
  23817. }
  23818. t1.push(localMap);
  23819. if (t1.length === 1)
  23820. return localMap;
  23821. return A.MergedMapView$0(t1, type$.String, $V);
  23822. },
  23823. _EnvironmentModule$_1(_environment, css, preModuleComments, extensionStore, _modulesByVariable, variables, variableNodes, functions, mixins, transitivelyContainsCss, transitivelyContainsExtensions) {
  23824. return new A._EnvironmentModule1(_environment._environment0$_allModules, variables, variableNodes, functions, mixins, extensionStore, css, preModuleComments, transitivelyContainsCss, transitivelyContainsExtensions, _environment, _modulesByVariable);
  23825. },
  23826. Environment0: function Environment0(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
  23827. var _ = this;
  23828. _._environment0$_modules = t0;
  23829. _._environment0$_namespaceNodes = t1;
  23830. _._environment0$_globalModules = t2;
  23831. _._environment0$_importedModules = t3;
  23832. _._environment0$_forwardedModules = t4;
  23833. _._environment0$_nestedForwardedModules = t5;
  23834. _._environment0$_allModules = t6;
  23835. _._environment0$_variables = t7;
  23836. _._environment0$_variableNodes = t8;
  23837. _._environment0$_variableIndices = t9;
  23838. _._environment0$_functions = t10;
  23839. _._environment0$_functionIndices = t11;
  23840. _._environment0$_mixins = t12;
  23841. _._environment0$_mixinIndices = t13;
  23842. _._environment0$_content = t14;
  23843. _._environment0$_inMixin = false;
  23844. _._environment0$_inSemiGlobalScope = true;
  23845. _._environment0$_lastVariableIndex = _._environment0$_lastVariableName = null;
  23846. },
  23847. Environment__getVariableFromGlobalModule_closure0: function Environment__getVariableFromGlobalModule_closure0(t0) {
  23848. this.name = t0;
  23849. },
  23850. Environment_setVariable_closure2: function Environment_setVariable_closure2(t0, t1) {
  23851. this.$this = t0;
  23852. this.name = t1;
  23853. },
  23854. Environment_setVariable_closure3: function Environment_setVariable_closure3(t0) {
  23855. this.name = t0;
  23856. },
  23857. Environment_setVariable_closure4: function Environment_setVariable_closure4(t0, t1) {
  23858. this.$this = t0;
  23859. this.name = t1;
  23860. },
  23861. Environment__getFunctionFromGlobalModule_closure0: function Environment__getFunctionFromGlobalModule_closure0(t0) {
  23862. this.name = t0;
  23863. },
  23864. Environment__getMixinFromGlobalModule_closure0: function Environment__getMixinFromGlobalModule_closure0(t0) {
  23865. this.name = t0;
  23866. },
  23867. Environment_toModule_closure0: function Environment_toModule_closure0() {
  23868. },
  23869. Environment_toDummyModule_closure0: function Environment_toDummyModule_closure0() {
  23870. },
  23871. _EnvironmentModule1: function _EnvironmentModule1(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) {
  23872. var _ = this;
  23873. _.upstream = t0;
  23874. _.variables = t1;
  23875. _.variableNodes = t2;
  23876. _.functions = t3;
  23877. _.mixins = t4;
  23878. _.extensionStore = t5;
  23879. _.css = t6;
  23880. _.preModuleComments = t7;
  23881. _.transitivelyContainsCss = t8;
  23882. _.transitivelyContainsExtensions = t9;
  23883. _._environment0$_environment = t10;
  23884. _._environment0$_modulesByVariable = t11;
  23885. },
  23886. _EnvironmentModule__EnvironmentModule_closure11: function _EnvironmentModule__EnvironmentModule_closure11() {
  23887. },
  23888. _EnvironmentModule__EnvironmentModule_closure12: function _EnvironmentModule__EnvironmentModule_closure12() {
  23889. },
  23890. _EnvironmentModule__EnvironmentModule_closure13: function _EnvironmentModule__EnvironmentModule_closure13() {
  23891. },
  23892. _EnvironmentModule__EnvironmentModule_closure14: function _EnvironmentModule__EnvironmentModule_closure14() {
  23893. },
  23894. _EnvironmentModule__EnvironmentModule_closure15: function _EnvironmentModule__EnvironmentModule_closure15() {
  23895. },
  23896. _EnvironmentModule__EnvironmentModule_closure16: function _EnvironmentModule__EnvironmentModule_closure16() {
  23897. },
  23898. ErrorRule0: function ErrorRule0(t0, t1) {
  23899. this.expression = t0;
  23900. this.span = t1;
  23901. },
  23902. _EvaluateVisitor$1(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
  23903. var t4,
  23904. t1 = type$.Uri,
  23905. t2 = type$.Module_Callable_2,
  23906. t3 = A._setArrayType([], type$.JSArray_Record_2_String_and_AstNode_2);
  23907. if (importCache == null)
  23908. t4 = nodeImporter == null ? A.ImportCache$none(logger) : null;
  23909. else
  23910. t4 = importCache;
  23911. 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, A.Environment$0(), A.LinkedHashSet_LinkedHashSet$_empty(t1), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.nullable_AstNode_2), t3, B.Configuration_Map_empty_null0);
  23912. t1._EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap1(functions, importCache, logger, nodeImporter, quietDeps, sourceMap);
  23913. return t1;
  23914. },
  23915. _EvaluateVisitor1: function _EvaluateVisitor1(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15) {
  23916. var _ = this;
  23917. _._evaluate0$_importCache = t0;
  23918. _._nodeImporter = t1;
  23919. _._evaluate0$_builtInFunctions = t2;
  23920. _._evaluate0$_builtInModules = t3;
  23921. _._evaluate0$_modules = t4;
  23922. _._evaluate0$_moduleConfigurations = t5;
  23923. _._evaluate0$_moduleNodes = t6;
  23924. _._evaluate0$_logger = t7;
  23925. _._evaluate0$_warningsEmitted = t8;
  23926. _._evaluate0$_quietDeps = t9;
  23927. _._evaluate0$_sourceMap = t10;
  23928. _._evaluate0$_environment = t11;
  23929. _._evaluate0$_declarationName = _._evaluate0$__parent = _._evaluate0$_mediaQuerySources = _._evaluate0$_mediaQueries = _._evaluate0$_styleRuleIgnoringAtRoot = null;
  23930. _._evaluate0$_member = "root stylesheet";
  23931. _._evaluate0$_importSpan = _._evaluate0$_callableNode = _._evaluate0$_currentCallable = null;
  23932. _._evaluate0$_inSupportsDeclaration = _._evaluate0$_inKeyframes = _._evaluate0$_atRootExcludingStyleRule = _._evaluate0$_inUnknownAtRule = _._evaluate0$_inFunction = false;
  23933. _._evaluate0$_loadedUrls = t12;
  23934. _._evaluate0$_activeModules = t13;
  23935. _._evaluate0$_stack = t14;
  23936. _._evaluate0$_importer = null;
  23937. _._evaluate0$_inDependency = false;
  23938. _._evaluate0$__extensionStore = _._evaluate0$_preModuleComments = _._evaluate0$_outOfOrderImports = _._evaluate0$__endOfImports = _._evaluate0$__root = _._evaluate0$__stylesheet = null;
  23939. _._evaluate0$_configuration = t15;
  23940. },
  23941. _EvaluateVisitor_closure25: function _EvaluateVisitor_closure25(t0) {
  23942. this.$this = t0;
  23943. },
  23944. _EvaluateVisitor_closure26: function _EvaluateVisitor_closure26(t0) {
  23945. this.$this = t0;
  23946. },
  23947. _EvaluateVisitor_closure27: function _EvaluateVisitor_closure27(t0) {
  23948. this.$this = t0;
  23949. },
  23950. _EvaluateVisitor_closure28: function _EvaluateVisitor_closure28(t0) {
  23951. this.$this = t0;
  23952. },
  23953. _EvaluateVisitor_closure29: function _EvaluateVisitor_closure29(t0) {
  23954. this.$this = t0;
  23955. },
  23956. _EvaluateVisitor_closure30: function _EvaluateVisitor_closure30(t0) {
  23957. this.$this = t0;
  23958. },
  23959. _EvaluateVisitor_closure31: function _EvaluateVisitor_closure31(t0) {
  23960. this.$this = t0;
  23961. },
  23962. _EvaluateVisitor_closure32: function _EvaluateVisitor_closure32(t0) {
  23963. this.$this = t0;
  23964. },
  23965. _EvaluateVisitor_closure33: function _EvaluateVisitor_closure33(t0) {
  23966. this.$this = t0;
  23967. },
  23968. _EvaluateVisitor__closure10: function _EvaluateVisitor__closure10(t0, t1, t2) {
  23969. this.$this = t0;
  23970. this.name = t1;
  23971. this.module = t2;
  23972. },
  23973. _EvaluateVisitor_closure34: function _EvaluateVisitor_closure34(t0) {
  23974. this.$this = t0;
  23975. },
  23976. _EvaluateVisitor__closure9: function _EvaluateVisitor__closure9(t0, t1, t2) {
  23977. this.$this = t0;
  23978. this.name = t1;
  23979. this.module = t2;
  23980. },
  23981. _EvaluateVisitor_closure35: function _EvaluateVisitor_closure35(t0) {
  23982. this.$this = t0;
  23983. },
  23984. _EvaluateVisitor_closure36: function _EvaluateVisitor_closure36(t0) {
  23985. this.$this = t0;
  23986. },
  23987. _EvaluateVisitor__closure7: function _EvaluateVisitor__closure7(t0, t1, t2) {
  23988. this.values = t0;
  23989. this.span = t1;
  23990. this.callableNode = t2;
  23991. },
  23992. _EvaluateVisitor__closure8: function _EvaluateVisitor__closure8(t0) {
  23993. this.$this = t0;
  23994. },
  23995. _EvaluateVisitor_closure37: function _EvaluateVisitor_closure37(t0) {
  23996. this.$this = t0;
  23997. },
  23998. _EvaluateVisitor_run_closure1: function _EvaluateVisitor_run_closure1(t0, t1, t2) {
  23999. this.$this = t0;
  24000. this.node = t1;
  24001. this.importer = t2;
  24002. },
  24003. _EvaluateVisitor_run__closure1: function _EvaluateVisitor_run__closure1(t0, t1, t2) {
  24004. this.$this = t0;
  24005. this.importer = t1;
  24006. this.node = t2;
  24007. },
  24008. _EvaluateVisitor__loadModule_closure3: function _EvaluateVisitor__loadModule_closure3(t0, t1) {
  24009. this._box_1 = t0;
  24010. this.callback = t1;
  24011. },
  24012. _EvaluateVisitor__loadModule_closure4: function _EvaluateVisitor__loadModule_closure4(t0, t1, t2, t3, t4, t5, t6) {
  24013. var _ = this;
  24014. _.$this = t0;
  24015. _.url = t1;
  24016. _.nodeWithSpan = t2;
  24017. _.baseUrl = t3;
  24018. _.namesInErrors = t4;
  24019. _.configuration = t5;
  24020. _.callback = t6;
  24021. },
  24022. _EvaluateVisitor__loadModule__closure3: function _EvaluateVisitor__loadModule__closure3(t0, t1) {
  24023. this.$this = t0;
  24024. this.message = t1;
  24025. },
  24026. _EvaluateVisitor__loadModule__closure4: function _EvaluateVisitor__loadModule__closure4(t0, t1, t2) {
  24027. this._box_0 = t0;
  24028. this.callback = t1;
  24029. this.firstLoad = t2;
  24030. },
  24031. _EvaluateVisitor__execute_closure1: function _EvaluateVisitor__execute_closure1(t0, t1, t2, t3, t4, t5, t6) {
  24032. var _ = this;
  24033. _.$this = t0;
  24034. _.importer = t1;
  24035. _.stylesheet = t2;
  24036. _.extensionStore = t3;
  24037. _.configuration = t4;
  24038. _.css = t5;
  24039. _.preModuleComments = t6;
  24040. },
  24041. _EvaluateVisitor__combineCss_closure3: function _EvaluateVisitor__combineCss_closure3() {
  24042. },
  24043. _EvaluateVisitor__combineCss_closure4: function _EvaluateVisitor__combineCss_closure4(t0) {
  24044. this.selectors = t0;
  24045. },
  24046. _EvaluateVisitor__combineCss_visitModule1: function _EvaluateVisitor__combineCss_visitModule1(t0, t1, t2, t3, t4, t5) {
  24047. var _ = this;
  24048. _.$this = t0;
  24049. _.seen = t1;
  24050. _.clone = t2;
  24051. _.css = t3;
  24052. _.imports = t4;
  24053. _.sorted = t5;
  24054. },
  24055. _EvaluateVisitor__extendModules_closure3: function _EvaluateVisitor__extendModules_closure3(t0) {
  24056. this.originalSelectors = t0;
  24057. },
  24058. _EvaluateVisitor__extendModules_closure4: function _EvaluateVisitor__extendModules_closure4() {
  24059. },
  24060. _EvaluateVisitor_visitAtRootRule_closure3: function _EvaluateVisitor_visitAtRootRule_closure3(t0, t1) {
  24061. this.$this = t0;
  24062. this.node = t1;
  24063. },
  24064. _EvaluateVisitor_visitAtRootRule_closure4: function _EvaluateVisitor_visitAtRootRule_closure4(t0, t1) {
  24065. this.$this = t0;
  24066. this.node = t1;
  24067. },
  24068. _EvaluateVisitor__scopeForAtRoot_closure11: function _EvaluateVisitor__scopeForAtRoot_closure11(t0, t1, t2) {
  24069. this.$this = t0;
  24070. this.newParent = t1;
  24071. this.node = t2;
  24072. },
  24073. _EvaluateVisitor__scopeForAtRoot_closure12: function _EvaluateVisitor__scopeForAtRoot_closure12(t0, t1) {
  24074. this.$this = t0;
  24075. this.innerScope = t1;
  24076. },
  24077. _EvaluateVisitor__scopeForAtRoot_closure13: function _EvaluateVisitor__scopeForAtRoot_closure13(t0, t1) {
  24078. this.$this = t0;
  24079. this.innerScope = t1;
  24080. },
  24081. _EvaluateVisitor__scopeForAtRoot__closure1: function _EvaluateVisitor__scopeForAtRoot__closure1(t0, t1) {
  24082. this.innerScope = t0;
  24083. this.callback = t1;
  24084. },
  24085. _EvaluateVisitor__scopeForAtRoot_closure14: function _EvaluateVisitor__scopeForAtRoot_closure14(t0, t1) {
  24086. this.$this = t0;
  24087. this.innerScope = t1;
  24088. },
  24089. _EvaluateVisitor__scopeForAtRoot_closure15: function _EvaluateVisitor__scopeForAtRoot_closure15() {
  24090. },
  24091. _EvaluateVisitor__scopeForAtRoot_closure16: function _EvaluateVisitor__scopeForAtRoot_closure16(t0, t1) {
  24092. this.$this = t0;
  24093. this.innerScope = t1;
  24094. },
  24095. _EvaluateVisitor_visitContentRule_closure1: function _EvaluateVisitor_visitContentRule_closure1(t0, t1) {
  24096. this.$this = t0;
  24097. this.content = t1;
  24098. },
  24099. _EvaluateVisitor_visitDeclaration_closure1: function _EvaluateVisitor_visitDeclaration_closure1(t0, t1) {
  24100. this._box_0 = t0;
  24101. this.$this = t1;
  24102. },
  24103. _EvaluateVisitor_visitEachRule_closure5: function _EvaluateVisitor_visitEachRule_closure5(t0, t1, t2) {
  24104. this._box_0 = t0;
  24105. this.$this = t1;
  24106. this.nodeWithSpan = t2;
  24107. },
  24108. _EvaluateVisitor_visitEachRule_closure6: function _EvaluateVisitor_visitEachRule_closure6(t0, t1, t2) {
  24109. this._box_0 = t0;
  24110. this.$this = t1;
  24111. this.nodeWithSpan = t2;
  24112. },
  24113. _EvaluateVisitor_visitEachRule_closure7: function _EvaluateVisitor_visitEachRule_closure7(t0, t1, t2, t3) {
  24114. var _ = this;
  24115. _.$this = t0;
  24116. _.list = t1;
  24117. _.setVariables = t2;
  24118. _.node = t3;
  24119. },
  24120. _EvaluateVisitor_visitEachRule__closure1: function _EvaluateVisitor_visitEachRule__closure1(t0, t1, t2) {
  24121. this.$this = t0;
  24122. this.setVariables = t1;
  24123. this.node = t2;
  24124. },
  24125. _EvaluateVisitor_visitEachRule___closure1: function _EvaluateVisitor_visitEachRule___closure1(t0) {
  24126. this.$this = t0;
  24127. },
  24128. _EvaluateVisitor_visitAtRule_closure5: function _EvaluateVisitor_visitAtRule_closure5(t0) {
  24129. this.$this = t0;
  24130. },
  24131. _EvaluateVisitor_visitAtRule_closure6: function _EvaluateVisitor_visitAtRule_closure6(t0, t1, t2) {
  24132. this.$this = t0;
  24133. this.name = t1;
  24134. this.children = t2;
  24135. },
  24136. _EvaluateVisitor_visitAtRule__closure1: function _EvaluateVisitor_visitAtRule__closure1(t0, t1) {
  24137. this.$this = t0;
  24138. this.children = t1;
  24139. },
  24140. _EvaluateVisitor_visitAtRule_closure7: function _EvaluateVisitor_visitAtRule_closure7() {
  24141. },
  24142. _EvaluateVisitor_visitForRule_closure9: function _EvaluateVisitor_visitForRule_closure9(t0, t1) {
  24143. this.$this = t0;
  24144. this.node = t1;
  24145. },
  24146. _EvaluateVisitor_visitForRule_closure10: function _EvaluateVisitor_visitForRule_closure10(t0, t1) {
  24147. this.$this = t0;
  24148. this.node = t1;
  24149. },
  24150. _EvaluateVisitor_visitForRule_closure11: function _EvaluateVisitor_visitForRule_closure11(t0) {
  24151. this.fromNumber = t0;
  24152. },
  24153. _EvaluateVisitor_visitForRule_closure12: function _EvaluateVisitor_visitForRule_closure12(t0, t1) {
  24154. this.toNumber = t0;
  24155. this.fromNumber = t1;
  24156. },
  24157. _EvaluateVisitor_visitForRule_closure13: function _EvaluateVisitor_visitForRule_closure13(t0, t1, t2, t3, t4, t5) {
  24158. var _ = this;
  24159. _._box_0 = t0;
  24160. _.$this = t1;
  24161. _.node = t2;
  24162. _.from = t3;
  24163. _.direction = t4;
  24164. _.fromNumber = t5;
  24165. },
  24166. _EvaluateVisitor_visitForRule__closure1: function _EvaluateVisitor_visitForRule__closure1(t0) {
  24167. this.$this = t0;
  24168. },
  24169. _EvaluateVisitor_visitForwardRule_closure3: function _EvaluateVisitor_visitForwardRule_closure3(t0, t1) {
  24170. this.$this = t0;
  24171. this.node = t1;
  24172. },
  24173. _EvaluateVisitor_visitForwardRule_closure4: function _EvaluateVisitor_visitForwardRule_closure4(t0, t1) {
  24174. this.$this = t0;
  24175. this.node = t1;
  24176. },
  24177. _EvaluateVisitor__registerCommentsForModule_closure1: function _EvaluateVisitor__registerCommentsForModule_closure1() {
  24178. },
  24179. _EvaluateVisitor_visitIfRule_closure1: function _EvaluateVisitor_visitIfRule_closure1(t0) {
  24180. this.$this = t0;
  24181. },
  24182. _EvaluateVisitor_visitIfRule__closure1: function _EvaluateVisitor_visitIfRule__closure1(t0, t1) {
  24183. this.$this = t0;
  24184. this.clause = t1;
  24185. },
  24186. _EvaluateVisitor_visitIfRule___closure1: function _EvaluateVisitor_visitIfRule___closure1(t0) {
  24187. this.$this = t0;
  24188. },
  24189. _EvaluateVisitor__visitDynamicImport_closure1: function _EvaluateVisitor__visitDynamicImport_closure1(t0, t1) {
  24190. this.$this = t0;
  24191. this.$import = t1;
  24192. },
  24193. _EvaluateVisitor__visitDynamicImport__closure7: function _EvaluateVisitor__visitDynamicImport__closure7(t0) {
  24194. this.$this = t0;
  24195. },
  24196. _EvaluateVisitor__visitDynamicImport__closure8: function _EvaluateVisitor__visitDynamicImport__closure8() {
  24197. },
  24198. _EvaluateVisitor__visitDynamicImport__closure9: function _EvaluateVisitor__visitDynamicImport__closure9() {
  24199. },
  24200. _EvaluateVisitor__visitDynamicImport__closure10: function _EvaluateVisitor__visitDynamicImport__closure10(t0, t1, t2, t3, t4) {
  24201. var _ = this;
  24202. _._box_0 = t0;
  24203. _.$this = t1;
  24204. _.loadsUserDefinedModules = t2;
  24205. _.environment = t3;
  24206. _.children = t4;
  24207. },
  24208. _EvaluateVisitor__applyMixin_closure3: function _EvaluateVisitor__applyMixin_closure3(t0, t1, t2, t3) {
  24209. var _ = this;
  24210. _.$this = t0;
  24211. _.$arguments = t1;
  24212. _.mixin = t2;
  24213. _.nodeWithSpanWithoutContent = t3;
  24214. },
  24215. _EvaluateVisitor__applyMixin__closure4: function _EvaluateVisitor__applyMixin__closure4(t0, t1, t2, t3) {
  24216. var _ = this;
  24217. _.$this = t0;
  24218. _.$arguments = t1;
  24219. _.mixin = t2;
  24220. _.nodeWithSpanWithoutContent = t3;
  24221. },
  24222. _EvaluateVisitor__applyMixin_closure4: function _EvaluateVisitor__applyMixin_closure4(t0, t1, t2, t3) {
  24223. var _ = this;
  24224. _.$this = t0;
  24225. _.contentCallable = t1;
  24226. _.mixin = t2;
  24227. _.nodeWithSpanWithoutContent = t3;
  24228. },
  24229. _EvaluateVisitor__applyMixin__closure3: function _EvaluateVisitor__applyMixin__closure3(t0, t1, t2) {
  24230. this.$this = t0;
  24231. this.mixin = t1;
  24232. this.nodeWithSpanWithoutContent = t2;
  24233. },
  24234. _EvaluateVisitor__applyMixin___closure1: function _EvaluateVisitor__applyMixin___closure1(t0, t1, t2) {
  24235. this.$this = t0;
  24236. this.mixin = t1;
  24237. this.nodeWithSpanWithoutContent = t2;
  24238. },
  24239. _EvaluateVisitor__applyMixin____closure1: function _EvaluateVisitor__applyMixin____closure1(t0, t1) {
  24240. this.$this = t0;
  24241. this.statement = t1;
  24242. },
  24243. _EvaluateVisitor_visitIncludeRule_closure5: function _EvaluateVisitor_visitIncludeRule_closure5(t0, t1) {
  24244. this.$this = t0;
  24245. this.node = t1;
  24246. },
  24247. _EvaluateVisitor_visitIncludeRule_closure6: function _EvaluateVisitor_visitIncludeRule_closure6(t0) {
  24248. this.$this = t0;
  24249. },
  24250. _EvaluateVisitor_visitIncludeRule_closure7: function _EvaluateVisitor_visitIncludeRule_closure7(t0) {
  24251. this.node = t0;
  24252. },
  24253. _EvaluateVisitor_visitMediaRule_closure5: function _EvaluateVisitor_visitMediaRule_closure5(t0, t1) {
  24254. this.$this = t0;
  24255. this.queries = t1;
  24256. },
  24257. _EvaluateVisitor_visitMediaRule_closure6: function _EvaluateVisitor_visitMediaRule_closure6(t0, t1, t2, t3, t4) {
  24258. var _ = this;
  24259. _.$this = t0;
  24260. _.mergedQueries = t1;
  24261. _.queries = t2;
  24262. _.mergedSources = t3;
  24263. _.node = t4;
  24264. },
  24265. _EvaluateVisitor_visitMediaRule__closure1: function _EvaluateVisitor_visitMediaRule__closure1(t0, t1) {
  24266. this.$this = t0;
  24267. this.node = t1;
  24268. },
  24269. _EvaluateVisitor_visitMediaRule___closure1: function _EvaluateVisitor_visitMediaRule___closure1(t0, t1) {
  24270. this.$this = t0;
  24271. this.node = t1;
  24272. },
  24273. _EvaluateVisitor_visitMediaRule_closure7: function _EvaluateVisitor_visitMediaRule_closure7(t0) {
  24274. this.mergedSources = t0;
  24275. },
  24276. _EvaluateVisitor_visitStyleRule_closure9: function _EvaluateVisitor_visitStyleRule_closure9(t0, t1) {
  24277. this.$this = t0;
  24278. this.node = t1;
  24279. },
  24280. _EvaluateVisitor_visitStyleRule_closure10: function _EvaluateVisitor_visitStyleRule_closure10() {
  24281. },
  24282. _EvaluateVisitor_visitStyleRule_closure12: function _EvaluateVisitor_visitStyleRule_closure12(t0, t1, t2) {
  24283. this.$this = t0;
  24284. this.rule = t1;
  24285. this.node = t2;
  24286. },
  24287. _EvaluateVisitor_visitStyleRule__closure1: function _EvaluateVisitor_visitStyleRule__closure1(t0, t1) {
  24288. this.$this = t0;
  24289. this.node = t1;
  24290. },
  24291. _EvaluateVisitor_visitStyleRule_closure11: function _EvaluateVisitor_visitStyleRule_closure11() {
  24292. },
  24293. _EvaluateVisitor_visitStyleRule_closure13: function _EvaluateVisitor_visitStyleRule_closure13() {
  24294. },
  24295. _EvaluateVisitor_visitSupportsRule_closure3: function _EvaluateVisitor_visitSupportsRule_closure3(t0, t1) {
  24296. this.$this = t0;
  24297. this.node = t1;
  24298. },
  24299. _EvaluateVisitor_visitSupportsRule__closure1: function _EvaluateVisitor_visitSupportsRule__closure1(t0, t1) {
  24300. this.$this = t0;
  24301. this.node = t1;
  24302. },
  24303. _EvaluateVisitor_visitSupportsRule_closure4: function _EvaluateVisitor_visitSupportsRule_closure4() {
  24304. },
  24305. _EvaluateVisitor__visitSupportsCondition_closure1: function _EvaluateVisitor__visitSupportsCondition_closure1(t0, t1) {
  24306. this._box_0 = t0;
  24307. this.$this = t1;
  24308. },
  24309. _EvaluateVisitor_visitVariableDeclaration_closure5: function _EvaluateVisitor_visitVariableDeclaration_closure5(t0, t1, t2) {
  24310. this._box_0 = t0;
  24311. this.$this = t1;
  24312. this.node = t2;
  24313. },
  24314. _EvaluateVisitor_visitVariableDeclaration_closure6: function _EvaluateVisitor_visitVariableDeclaration_closure6(t0, t1) {
  24315. this.$this = t0;
  24316. this.node = t1;
  24317. },
  24318. _EvaluateVisitor_visitVariableDeclaration_closure7: function _EvaluateVisitor_visitVariableDeclaration_closure7(t0, t1, t2) {
  24319. this.$this = t0;
  24320. this.node = t1;
  24321. this.value = t2;
  24322. },
  24323. _EvaluateVisitor_visitUseRule_closure1: function _EvaluateVisitor_visitUseRule_closure1(t0, t1) {
  24324. this.$this = t0;
  24325. this.node = t1;
  24326. },
  24327. _EvaluateVisitor_visitWarnRule_closure1: function _EvaluateVisitor_visitWarnRule_closure1(t0, t1) {
  24328. this.$this = t0;
  24329. this.node = t1;
  24330. },
  24331. _EvaluateVisitor_visitWhileRule_closure1: function _EvaluateVisitor_visitWhileRule_closure1(t0, t1) {
  24332. this.$this = t0;
  24333. this.node = t1;
  24334. },
  24335. _EvaluateVisitor_visitWhileRule__closure1: function _EvaluateVisitor_visitWhileRule__closure1(t0) {
  24336. this.$this = t0;
  24337. },
  24338. _EvaluateVisitor_visitBinaryOperationExpression_closure1: function _EvaluateVisitor_visitBinaryOperationExpression_closure1(t0, t1) {
  24339. this.$this = t0;
  24340. this.node = t1;
  24341. },
  24342. _EvaluateVisitor__slash_recommendation1: function _EvaluateVisitor__slash_recommendation1() {
  24343. },
  24344. _EvaluateVisitor_visitVariableExpression_closure1: function _EvaluateVisitor_visitVariableExpression_closure1(t0, t1) {
  24345. this.$this = t0;
  24346. this.node = t1;
  24347. },
  24348. _EvaluateVisitor_visitUnaryOperationExpression_closure1: function _EvaluateVisitor_visitUnaryOperationExpression_closure1(t0, t1) {
  24349. this.node = t0;
  24350. this.operand = t1;
  24351. },
  24352. _EvaluateVisitor_visitListExpression_closure1: function _EvaluateVisitor_visitListExpression_closure1(t0) {
  24353. this.$this = t0;
  24354. },
  24355. _EvaluateVisitor_visitFunctionExpression_closure5: function _EvaluateVisitor_visitFunctionExpression_closure5(t0, t1) {
  24356. this.$this = t0;
  24357. this.node = t1;
  24358. },
  24359. _EvaluateVisitor_visitFunctionExpression_closure6: function _EvaluateVisitor_visitFunctionExpression_closure6() {
  24360. },
  24361. _EvaluateVisitor_visitFunctionExpression_closure7: function _EvaluateVisitor_visitFunctionExpression_closure7(t0, t1, t2) {
  24362. this._box_0 = t0;
  24363. this.$this = t1;
  24364. this.node = t2;
  24365. },
  24366. _EvaluateVisitor__checkCalculationArguments_check1: function _EvaluateVisitor__checkCalculationArguments_check1(t0, t1) {
  24367. this.$this = t0;
  24368. this.node = t1;
  24369. },
  24370. _EvaluateVisitor__visitCalculationExpression_closure1: function _EvaluateVisitor__visitCalculationExpression_closure1(t0, t1, t2, t3) {
  24371. var _ = this;
  24372. _._box_0 = t0;
  24373. _.$this = t1;
  24374. _.node = t2;
  24375. _.inLegacySassFunction = t3;
  24376. },
  24377. _EvaluateVisitor_visitInterpolatedFunctionExpression_closure1: function _EvaluateVisitor_visitInterpolatedFunctionExpression_closure1(t0, t1, t2) {
  24378. this.$this = t0;
  24379. this.node = t1;
  24380. this.$function = t2;
  24381. },
  24382. _EvaluateVisitor__runUserDefinedCallable_closure1: function _EvaluateVisitor__runUserDefinedCallable_closure1(t0, t1, t2, t3, t4, t5) {
  24383. var _ = this;
  24384. _.$this = t0;
  24385. _.callable = t1;
  24386. _.evaluated = t2;
  24387. _.nodeWithSpan = t3;
  24388. _.run = t4;
  24389. _.V = t5;
  24390. },
  24391. _EvaluateVisitor__runUserDefinedCallable__closure1: function _EvaluateVisitor__runUserDefinedCallable__closure1(t0, t1, t2, t3, t4, t5) {
  24392. var _ = this;
  24393. _.$this = t0;
  24394. _.evaluated = t1;
  24395. _.callable = t2;
  24396. _.nodeWithSpan = t3;
  24397. _.run = t4;
  24398. _.V = t5;
  24399. },
  24400. _EvaluateVisitor__runUserDefinedCallable___closure1: function _EvaluateVisitor__runUserDefinedCallable___closure1(t0, t1, t2, t3, t4, t5) {
  24401. var _ = this;
  24402. _.$this = t0;
  24403. _.evaluated = t1;
  24404. _.callable = t2;
  24405. _.nodeWithSpan = t3;
  24406. _.run = t4;
  24407. _.V = t5;
  24408. },
  24409. _EvaluateVisitor__runUserDefinedCallable____closure1: function _EvaluateVisitor__runUserDefinedCallable____closure1() {
  24410. },
  24411. _EvaluateVisitor__runFunctionCallable_closure1: function _EvaluateVisitor__runFunctionCallable_closure1(t0, t1) {
  24412. this.$this = t0;
  24413. this.callable = t1;
  24414. },
  24415. _EvaluateVisitor__runBuiltInCallable_closure5: function _EvaluateVisitor__runBuiltInCallable_closure5(t0, t1, t2) {
  24416. this._box_0 = t0;
  24417. this.evaluated = t1;
  24418. this.namedSet = t2;
  24419. },
  24420. _EvaluateVisitor__runBuiltInCallable_closure6: function _EvaluateVisitor__runBuiltInCallable_closure6(t0, t1) {
  24421. this._box_0 = t0;
  24422. this.evaluated = t1;
  24423. },
  24424. _EvaluateVisitor__runBuiltInCallable_closure7: function _EvaluateVisitor__runBuiltInCallable_closure7() {
  24425. },
  24426. _EvaluateVisitor__evaluateArguments_closure7: function _EvaluateVisitor__evaluateArguments_closure7() {
  24427. },
  24428. _EvaluateVisitor__evaluateArguments_closure8: function _EvaluateVisitor__evaluateArguments_closure8(t0, t1) {
  24429. this.$this = t0;
  24430. this.restNodeForSpan = t1;
  24431. },
  24432. _EvaluateVisitor__evaluateArguments_closure9: function _EvaluateVisitor__evaluateArguments_closure9(t0, t1, t2, t3) {
  24433. var _ = this;
  24434. _.$this = t0;
  24435. _.named = t1;
  24436. _.restNodeForSpan = t2;
  24437. _.namedNodes = t3;
  24438. },
  24439. _EvaluateVisitor__evaluateArguments_closure10: function _EvaluateVisitor__evaluateArguments_closure10() {
  24440. },
  24441. _EvaluateVisitor__evaluateMacroArguments_closure7: function _EvaluateVisitor__evaluateMacroArguments_closure7(t0) {
  24442. this.restArgs = t0;
  24443. },
  24444. _EvaluateVisitor__evaluateMacroArguments_closure8: function _EvaluateVisitor__evaluateMacroArguments_closure8(t0, t1, t2) {
  24445. this.$this = t0;
  24446. this.restNodeForSpan = t1;
  24447. this.restArgs = t2;
  24448. },
  24449. _EvaluateVisitor__evaluateMacroArguments_closure9: function _EvaluateVisitor__evaluateMacroArguments_closure9(t0, t1, t2, t3) {
  24450. var _ = this;
  24451. _.$this = t0;
  24452. _.named = t1;
  24453. _.restNodeForSpan = t2;
  24454. _.restArgs = t3;
  24455. },
  24456. _EvaluateVisitor__evaluateMacroArguments_closure10: function _EvaluateVisitor__evaluateMacroArguments_closure10(t0, t1, t2) {
  24457. this.$this = t0;
  24458. this.keywordRestNodeForSpan = t1;
  24459. this.keywordRestArgs = t2;
  24460. },
  24461. _EvaluateVisitor__addRestMap_closure1: function _EvaluateVisitor__addRestMap_closure1(t0, t1, t2, t3, t4, t5) {
  24462. var _ = this;
  24463. _.$this = t0;
  24464. _.values = t1;
  24465. _.convert = t2;
  24466. _.expressionNode = t3;
  24467. _.map = t4;
  24468. _.nodeWithSpan = t5;
  24469. },
  24470. _EvaluateVisitor__verifyArguments_closure1: function _EvaluateVisitor__verifyArguments_closure1(t0, t1, t2) {
  24471. this.$arguments = t0;
  24472. this.positional = t1;
  24473. this.named = t2;
  24474. },
  24475. _EvaluateVisitor_visitCssAtRule_closure3: function _EvaluateVisitor_visitCssAtRule_closure3(t0, t1) {
  24476. this.$this = t0;
  24477. this.node = t1;
  24478. },
  24479. _EvaluateVisitor_visitCssAtRule_closure4: function _EvaluateVisitor_visitCssAtRule_closure4() {
  24480. },
  24481. _EvaluateVisitor_visitCssKeyframeBlock_closure3: function _EvaluateVisitor_visitCssKeyframeBlock_closure3(t0, t1) {
  24482. this.$this = t0;
  24483. this.node = t1;
  24484. },
  24485. _EvaluateVisitor_visitCssKeyframeBlock_closure4: function _EvaluateVisitor_visitCssKeyframeBlock_closure4() {
  24486. },
  24487. _EvaluateVisitor_visitCssMediaRule_closure5: function _EvaluateVisitor_visitCssMediaRule_closure5(t0, t1) {
  24488. this.$this = t0;
  24489. this.node = t1;
  24490. },
  24491. _EvaluateVisitor_visitCssMediaRule_closure6: function _EvaluateVisitor_visitCssMediaRule_closure6(t0, t1, t2, t3) {
  24492. var _ = this;
  24493. _.$this = t0;
  24494. _.mergedQueries = t1;
  24495. _.node = t2;
  24496. _.mergedSources = t3;
  24497. },
  24498. _EvaluateVisitor_visitCssMediaRule__closure1: function _EvaluateVisitor_visitCssMediaRule__closure1(t0, t1) {
  24499. this.$this = t0;
  24500. this.node = t1;
  24501. },
  24502. _EvaluateVisitor_visitCssMediaRule___closure1: function _EvaluateVisitor_visitCssMediaRule___closure1(t0, t1) {
  24503. this.$this = t0;
  24504. this.node = t1;
  24505. },
  24506. _EvaluateVisitor_visitCssMediaRule_closure7: function _EvaluateVisitor_visitCssMediaRule_closure7(t0) {
  24507. this.mergedSources = t0;
  24508. },
  24509. _EvaluateVisitor_visitCssStyleRule_closure4: function _EvaluateVisitor_visitCssStyleRule_closure4(t0, t1, t2) {
  24510. this.$this = t0;
  24511. this.rule = t1;
  24512. this.node = t2;
  24513. },
  24514. _EvaluateVisitor_visitCssStyleRule__closure1: function _EvaluateVisitor_visitCssStyleRule__closure1(t0, t1) {
  24515. this.$this = t0;
  24516. this.node = t1;
  24517. },
  24518. _EvaluateVisitor_visitCssStyleRule_closure3: function _EvaluateVisitor_visitCssStyleRule_closure3() {
  24519. },
  24520. _EvaluateVisitor_visitCssSupportsRule_closure3: function _EvaluateVisitor_visitCssSupportsRule_closure3(t0, t1) {
  24521. this.$this = t0;
  24522. this.node = t1;
  24523. },
  24524. _EvaluateVisitor_visitCssSupportsRule__closure1: function _EvaluateVisitor_visitCssSupportsRule__closure1(t0, t1) {
  24525. this.$this = t0;
  24526. this.node = t1;
  24527. },
  24528. _EvaluateVisitor_visitCssSupportsRule_closure4: function _EvaluateVisitor_visitCssSupportsRule_closure4() {
  24529. },
  24530. _EvaluateVisitor__performInterpolationHelper_closure1: function _EvaluateVisitor__performInterpolationHelper_closure1(t0) {
  24531. this.interpolation = t0;
  24532. },
  24533. _EvaluateVisitor__serialize_closure1: function _EvaluateVisitor__serialize_closure1(t0, t1) {
  24534. this.value = t0;
  24535. this.quote = t1;
  24536. },
  24537. _EvaluateVisitor__expressionNode_closure1: function _EvaluateVisitor__expressionNode_closure1(t0, t1) {
  24538. this.$this = t0;
  24539. this.expression = t1;
  24540. },
  24541. _EvaluateVisitor__withoutSlash_recommendation1: function _EvaluateVisitor__withoutSlash_recommendation1() {
  24542. },
  24543. _EvaluateVisitor__stackFrame_closure1: function _EvaluateVisitor__stackFrame_closure1(t0) {
  24544. this.$this = t0;
  24545. },
  24546. _ImportedCssVisitor1: function _ImportedCssVisitor1(t0) {
  24547. this._evaluate0$_visitor = t0;
  24548. },
  24549. _ImportedCssVisitor_visitCssAtRule_closure1: function _ImportedCssVisitor_visitCssAtRule_closure1() {
  24550. },
  24551. _ImportedCssVisitor_visitCssMediaRule_closure1: function _ImportedCssVisitor_visitCssMediaRule_closure1(t0) {
  24552. this.hasBeenMerged = t0;
  24553. },
  24554. _ImportedCssVisitor_visitCssStyleRule_closure1: function _ImportedCssVisitor_visitCssStyleRule_closure1() {
  24555. },
  24556. _ImportedCssVisitor_visitCssSupportsRule_closure1: function _ImportedCssVisitor_visitCssSupportsRule_closure1() {
  24557. },
  24558. _EvaluationContext1: function _EvaluationContext1(t0, t1) {
  24559. this._evaluate0$_visitor = t0;
  24560. this._evaluate0$_defaultWarnNodeWithSpan = t1;
  24561. },
  24562. EveryCssVisitor0: function EveryCssVisitor0() {
  24563. },
  24564. EveryCssVisitor_visitCssAtRule_closure0: function EveryCssVisitor_visitCssAtRule_closure0(t0) {
  24565. this.$this = t0;
  24566. },
  24567. EveryCssVisitor_visitCssKeyframeBlock_closure0: function EveryCssVisitor_visitCssKeyframeBlock_closure0(t0) {
  24568. this.$this = t0;
  24569. },
  24570. EveryCssVisitor_visitCssMediaRule_closure0: function EveryCssVisitor_visitCssMediaRule_closure0(t0) {
  24571. this.$this = t0;
  24572. },
  24573. EveryCssVisitor_visitCssStyleRule_closure0: function EveryCssVisitor_visitCssStyleRule_closure0(t0) {
  24574. this.$this = t0;
  24575. },
  24576. EveryCssVisitor_visitCssStylesheet_closure0: function EveryCssVisitor_visitCssStylesheet_closure0(t0) {
  24577. this.$this = t0;
  24578. },
  24579. EveryCssVisitor_visitCssSupportsRule_closure0: function EveryCssVisitor_visitCssSupportsRule_closure0(t0) {
  24580. this.$this = t0;
  24581. },
  24582. throwNodeException(exception, ascii, color, trace) {
  24583. var wasAscii, jsException, t1, trace0;
  24584. trace = trace;
  24585. wasAscii = $._glyphs === B.C_AsciiGlyphSet;
  24586. $._glyphs = ascii ? B.C_AsciiGlyphSet : B.C_UnicodeGlyphSet;
  24587. try {
  24588. t1 = A.callConstructor($.$get$exceptionClass(), [exception, B.JSString_methods.replaceFirst$2(exception.toString$1$color(0, color), "Error: ", "")]);
  24589. jsException = type$._NodeException._as(t1);
  24590. trace0 = A.getTrace0(exception);
  24591. trace = trace0 == null ? trace : trace0;
  24592. if (trace != null)
  24593. A.attachJsStack(jsException, trace);
  24594. A.jsThrow(jsException);
  24595. } finally {
  24596. $._glyphs = wasAscii ? B.C_AsciiGlyphSet : B.C_UnicodeGlyphSet;
  24597. }
  24598. },
  24599. _NodeException: function _NodeException() {
  24600. },
  24601. exceptionClass_closure: function exceptionClass_closure() {
  24602. },
  24603. exceptionClass__closure: function exceptionClass__closure() {
  24604. },
  24605. exceptionClass__closure0: function exceptionClass__closure0() {
  24606. },
  24607. exceptionClass__closure1: function exceptionClass__closure1() {
  24608. },
  24609. SassException$0(message, span, loadedUrls) {
  24610. return new A.SassException0(loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  24611. },
  24612. MultiSpanSassException$0(message, span, primaryLabel, secondarySpans, loadedUrls) {
  24613. var t1 = A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String);
  24614. return new A.MultiSpanSassException0(primaryLabel, t1, loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  24615. },
  24616. SassRuntimeException$0(message, span, trace, loadedUrls) {
  24617. return new A.SassRuntimeException0(trace, loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  24618. },
  24619. MultiSpanSassRuntimeException$0(message, span, primaryLabel, secondarySpans, trace, loadedUrls) {
  24620. var t1 = A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String);
  24621. return new A.MultiSpanSassRuntimeException0(trace, primaryLabel, t1, loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  24622. },
  24623. SassFormatException$0(message, span, loadedUrls) {
  24624. return new A.SassFormatException0(loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  24625. },
  24626. MultiSpanSassFormatException$0(message, span, primaryLabel, secondarySpans, loadedUrls) {
  24627. var t1 = A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String);
  24628. return new A.MultiSpanSassFormatException0(primaryLabel, t1, loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  24629. },
  24630. SassScriptException$0(message, argumentName) {
  24631. return new A.SassScriptException0(argumentName == null ? message : "$" + argumentName + ": " + message);
  24632. },
  24633. MultiSpanSassScriptException$0(message, primaryLabel, secondarySpans) {
  24634. var t1 = A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String);
  24635. return new A.MultiSpanSassScriptException0(primaryLabel, t1, message);
  24636. },
  24637. SassException0: function SassException0(t0, t1, t2) {
  24638. this.loadedUrls = t0;
  24639. this._span_exception$_message = t1;
  24640. this._span = t2;
  24641. },
  24642. MultiSpanSassException0: function MultiSpanSassException0(t0, t1, t2, t3, t4) {
  24643. var _ = this;
  24644. _.primaryLabel = t0;
  24645. _.secondarySpans = t1;
  24646. _.loadedUrls = t2;
  24647. _._span_exception$_message = t3;
  24648. _._span = t4;
  24649. },
  24650. SassRuntimeException0: function SassRuntimeException0(t0, t1, t2, t3) {
  24651. var _ = this;
  24652. _.trace = t0;
  24653. _.loadedUrls = t1;
  24654. _._span_exception$_message = t2;
  24655. _._span = t3;
  24656. },
  24657. MultiSpanSassRuntimeException0: function MultiSpanSassRuntimeException0(t0, t1, t2, t3, t4, t5) {
  24658. var _ = this;
  24659. _.trace = t0;
  24660. _.primaryLabel = t1;
  24661. _.secondarySpans = t2;
  24662. _.loadedUrls = t3;
  24663. _._span_exception$_message = t4;
  24664. _._span = t5;
  24665. },
  24666. SassFormatException0: function SassFormatException0(t0, t1, t2) {
  24667. this.loadedUrls = t0;
  24668. this._span_exception$_message = t1;
  24669. this._span = t2;
  24670. },
  24671. MultiSpanSassFormatException0: function MultiSpanSassFormatException0(t0, t1, t2, t3, t4) {
  24672. var _ = this;
  24673. _.primaryLabel = t0;
  24674. _.secondarySpans = t1;
  24675. _.loadedUrls = t2;
  24676. _._span_exception$_message = t3;
  24677. _._span = t4;
  24678. },
  24679. SassScriptException0: function SassScriptException0(t0) {
  24680. this.message = t0;
  24681. },
  24682. MultiSpanSassScriptException0: function MultiSpanSassScriptException0(t0, t1, t2) {
  24683. this.primaryLabel = t0;
  24684. this.secondarySpans = t1;
  24685. this.message = t2;
  24686. },
  24687. Exports: function Exports() {
  24688. },
  24689. LoggerNamespace: function LoggerNamespace() {
  24690. },
  24691. _IsCalculationSafeVisitor0: function _IsCalculationSafeVisitor0() {
  24692. },
  24693. _IsCalculationSafeVisitor_visitListExpression_closure0: function _IsCalculationSafeVisitor_visitListExpression_closure0(t0) {
  24694. this.$this = t0;
  24695. },
  24696. expressionToCalc0(expression) {
  24697. var t4,
  24698. t1 = A._setArrayType([B.C__MakeExpressionCalculationSafe0.visitBinaryOperationExpression$1(expression)], type$.JSArray_Expression_2),
  24699. t2 = expression.get$span(0),
  24700. t3 = type$.Expression_2;
  24701. t1 = A.List_List$unmodifiable(t1, t3);
  24702. t3 = A.ConstantMap_ConstantMap$from(B.Map_empty14, type$.String, t3);
  24703. t4 = expression.get$span(0);
  24704. return new A.FunctionExpression0(null, A.stringReplaceAllUnchecked("calc", "_", "-"), "calc", new A.ArgumentInvocation0(t1, t3, null, null, t2), t4);
  24705. },
  24706. _MakeExpressionCalculationSafe0: function _MakeExpressionCalculationSafe0() {
  24707. },
  24708. __MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor0: function __MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor0() {
  24709. },
  24710. ExtendRule0: function ExtendRule0(t0, t1, t2) {
  24711. this.selector = t0;
  24712. this.isOptional = t1;
  24713. this.span = t2;
  24714. },
  24715. Extension0: function Extension0(t0, t1, t2, t3, t4) {
  24716. var _ = this;
  24717. _.extender = t0;
  24718. _.target = t1;
  24719. _.mediaContext = t2;
  24720. _.isOptional = t3;
  24721. _.span = t4;
  24722. },
  24723. Extender0: function Extender0(t0, t1) {
  24724. this.selector = t0;
  24725. this.isOriginal = t1;
  24726. this._extension$_extension = null;
  24727. },
  24728. ExtensionStore__extendOrReplace0(selector, source, targets, mode, span) {
  24729. var t1, t2, t3, t4, t5, t6, t7, t8, _i, complex, compound, t9, t10, t11, _i0, simple, t12, _i1, t13, t14,
  24730. extender = A.ExtensionStore$_mode0(mode);
  24731. if (!selector.accept$1(B._IsInvisibleVisitor_true0))
  24732. extender._extension_store$_originals.addAll$1(0, selector.components);
  24733. 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) {
  24734. complex = t1[_i];
  24735. compound = complex.get$singleCompound();
  24736. if (compound == null)
  24737. throw A.wrapException(A.SassScriptException$0("Can't extend complex selector " + A.S(complex) + ".", null));
  24738. t9 = A.LinkedHashMap_LinkedHashMap$_empty(t7, t8);
  24739. for (t10 = compound.components, t11 = t10.length, _i0 = 0; _i0 < t11; ++_i0) {
  24740. simple = t10[_i0];
  24741. t12 = A.LinkedHashMap_LinkedHashMap$_empty(t5, t6);
  24742. for (_i1 = 0; _i1 < t4; ++_i1) {
  24743. complex = t3[_i1];
  24744. complex.get$specificity();
  24745. t13 = new A.Extender0(complex, false);
  24746. t14 = new A.Extension0(t13, simple, null, true, span);
  24747. t13._extension$_extension = t14;
  24748. t12.$indexSet(0, complex, t14);
  24749. }
  24750. t9.$indexSet(0, simple, t12);
  24751. }
  24752. selector = extender._extension_store$_extendList$2(selector, t9);
  24753. }
  24754. return selector;
  24755. },
  24756. ExtensionStore$0() {
  24757. var t1 = type$.SimpleSelector_2;
  24758. 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_normal0);
  24759. },
  24760. ExtensionStore$_mode0(_mode) {
  24761. var t1 = type$.SimpleSelector_2;
  24762. 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);
  24763. },
  24764. ExtensionStore0: function ExtensionStore0(t0, t1, t2, t3, t4, t5, t6) {
  24765. var _ = this;
  24766. _._extension_store$_selectors = t0;
  24767. _._extension_store$_extensions = t1;
  24768. _._extension_store$_extensionsByExtender = t2;
  24769. _._extension_store$_mediaContexts = t3;
  24770. _._extension_store$_sourceSpecificity = t4;
  24771. _._extension_store$_originals = t5;
  24772. _._extension_store$_mode = t6;
  24773. },
  24774. ExtensionStore_extensionsWhereTarget_closure0: function ExtensionStore_extensionsWhereTarget_closure0() {
  24775. },
  24776. ExtensionStore__registerSelector_closure0: function ExtensionStore__registerSelector_closure0() {
  24777. },
  24778. ExtensionStore_addExtension_closure2: function ExtensionStore_addExtension_closure2() {
  24779. },
  24780. ExtensionStore_addExtension_closure3: function ExtensionStore_addExtension_closure3() {
  24781. },
  24782. ExtensionStore_addExtension_closure4: function ExtensionStore_addExtension_closure4(t0) {
  24783. this.complex = t0;
  24784. },
  24785. ExtensionStore__extendExistingExtensions_closure1: function ExtensionStore__extendExistingExtensions_closure1() {
  24786. },
  24787. ExtensionStore__extendExistingExtensions_closure2: function ExtensionStore__extendExistingExtensions_closure2() {
  24788. },
  24789. ExtensionStore_addExtensions_closure0: function ExtensionStore_addExtensions_closure0() {
  24790. },
  24791. ExtensionStore__extendComplex_closure0: function ExtensionStore__extendComplex_closure0(t0, t1, t2) {
  24792. this._box_0 = t0;
  24793. this.$this = t1;
  24794. this.complex = t2;
  24795. },
  24796. ExtensionStore__extendComplex__closure0: function ExtensionStore__extendComplex__closure0(t0, t1, t2) {
  24797. this._box_0 = t0;
  24798. this.$this = t1;
  24799. this.complex = t2;
  24800. },
  24801. ExtensionStore__extendCompound_closure2: function ExtensionStore__extendCompound_closure2() {
  24802. },
  24803. ExtensionStore__extendCompound_closure3: function ExtensionStore__extendCompound_closure3() {
  24804. },
  24805. ExtensionStore__extendCompound_closure4: function ExtensionStore__extendCompound_closure4(t0) {
  24806. this.original = t0;
  24807. },
  24808. ExtensionStore__extendSimple_withoutPseudo0: function ExtensionStore__extendSimple_withoutPseudo0(t0, t1, t2) {
  24809. this.$this = t0;
  24810. this.extensions = t1;
  24811. this.targetsUsed = t2;
  24812. },
  24813. ExtensionStore__extendSimple_closure1: function ExtensionStore__extendSimple_closure1(t0, t1) {
  24814. this.$this = t0;
  24815. this.withoutPseudo = t1;
  24816. },
  24817. ExtensionStore__extendSimple_closure2: function ExtensionStore__extendSimple_closure2() {
  24818. },
  24819. ExtensionStore__extendPseudo_closure4: function ExtensionStore__extendPseudo_closure4() {
  24820. },
  24821. ExtensionStore__extendPseudo_closure5: function ExtensionStore__extendPseudo_closure5() {
  24822. },
  24823. ExtensionStore__extendPseudo_closure6: function ExtensionStore__extendPseudo_closure6() {
  24824. },
  24825. ExtensionStore__extendPseudo_closure7: function ExtensionStore__extendPseudo_closure7(t0) {
  24826. this.pseudo = t0;
  24827. },
  24828. ExtensionStore__extendPseudo_closure8: function ExtensionStore__extendPseudo_closure8(t0, t1) {
  24829. this.pseudo = t0;
  24830. this.selector = t1;
  24831. },
  24832. ExtensionStore__trim_closure1: function ExtensionStore__trim_closure1(t0, t1) {
  24833. this._box_0 = t0;
  24834. this.complex1 = t1;
  24835. },
  24836. ExtensionStore__trim_closure2: function ExtensionStore__trim_closure2(t0, t1) {
  24837. this._box_0 = t0;
  24838. this.complex1 = t1;
  24839. },
  24840. ExtensionStore_clone_closure0: function ExtensionStore_clone_closure0(t0, t1, t2, t3) {
  24841. var _ = this;
  24842. _.$this = t0;
  24843. _.newSelectors = t1;
  24844. _.oldToNewSelectors = t2;
  24845. _.newMediaContexts = t3;
  24846. },
  24847. FiberClass: function FiberClass() {
  24848. },
  24849. Fiber: function Fiber() {
  24850. },
  24851. JSToDartFileImporter: function JSToDartFileImporter(t0) {
  24852. this._file0$_findFileUrl = t0;
  24853. },
  24854. JSToDartFileImporter_canonicalize_closure: function JSToDartFileImporter_canonicalize_closure(t0, t1) {
  24855. this.$this = t0;
  24856. this.url = t1;
  24857. },
  24858. FilesystemImporter0: function FilesystemImporter0(t0, t1) {
  24859. this._filesystem$_loadPath = t0;
  24860. this._filesystem$_loadPathDeprecated = t1;
  24861. },
  24862. FilesystemImporter_canonicalize_closure0: function FilesystemImporter_canonicalize_closure0() {
  24863. },
  24864. ForRule$0(variable, from, to, children, span, exclusive) {
  24865. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  24866. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  24867. return new A.ForRule0(variable, from, to, exclusive, span, t1, t2);
  24868. },
  24869. ForRule0: function ForRule0(t0, t1, t2, t3, t4, t5, t6) {
  24870. var _ = this;
  24871. _.variable = t0;
  24872. _.from = t1;
  24873. _.to = t2;
  24874. _.isExclusive = t3;
  24875. _.span = t4;
  24876. _.children = t5;
  24877. _.hasDeclarations = t6;
  24878. },
  24879. ForwardRule0: function ForwardRule0(t0, t1, t2, t3, t4, t5, t6, t7) {
  24880. var _ = this;
  24881. _.url = t0;
  24882. _.shownMixinsAndFunctions = t1;
  24883. _.shownVariables = t2;
  24884. _.hiddenMixinsAndFunctions = t3;
  24885. _.hiddenVariables = t4;
  24886. _.prefix = t5;
  24887. _.configuration = t6;
  24888. _.span = t7;
  24889. },
  24890. ForwardedModuleView_ifNecessary0(inner, rule, $T) {
  24891. var t1;
  24892. if (rule.prefix == null)
  24893. if (rule.shownMixinsAndFunctions == null)
  24894. if (rule.shownVariables == null) {
  24895. t1 = rule.hiddenMixinsAndFunctions;
  24896. t1 = t1 == null ? null : t1._base.get$isEmpty(0);
  24897. if (t1 === true) {
  24898. t1 = rule.hiddenVariables;
  24899. t1 = t1 == null ? null : t1._base.get$isEmpty(0);
  24900. t1 = t1 === true;
  24901. } else
  24902. t1 = false;
  24903. } else
  24904. t1 = false;
  24905. else
  24906. t1 = false;
  24907. else
  24908. t1 = false;
  24909. if (t1)
  24910. return inner;
  24911. else
  24912. return A.ForwardedModuleView$0(inner, rule, $T);
  24913. },
  24914. ForwardedModuleView$0(_inner, _rule, $T) {
  24915. var t1 = _rule.prefix,
  24916. t2 = _rule.shownVariables,
  24917. t3 = _rule.hiddenVariables,
  24918. t4 = _rule.shownMixinsAndFunctions,
  24919. t5 = _rule.hiddenMixinsAndFunctions;
  24920. 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>"));
  24921. },
  24922. ForwardedModuleView__forwardedMap0(map, prefix, safelist, blocklist, $V) {
  24923. var t2,
  24924. t1 = prefix == null;
  24925. if (t1)
  24926. if (safelist == null)
  24927. t2 = blocklist == null || blocklist._base.get$isEmpty(0);
  24928. else
  24929. t2 = false;
  24930. else
  24931. t2 = false;
  24932. if (t2)
  24933. return map;
  24934. if (!t1)
  24935. map = new A.PrefixedMapView0(map, prefix, $V._eval$1("PrefixedMapView0<0>"));
  24936. if (safelist != null)
  24937. 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>"));
  24938. else if (blocklist != null && blocklist._base.get$isNotEmpty(0))
  24939. map = A.LimitedMapView$blocklist0(map, blocklist, type$.String, $V);
  24940. return map;
  24941. },
  24942. ForwardedModuleView0: function ForwardedModuleView0(t0, t1, t2, t3, t4, t5, t6) {
  24943. var _ = this;
  24944. _._forwarded_view0$_inner = t0;
  24945. _._forwarded_view0$_rule = t1;
  24946. _.variables = t2;
  24947. _.variableNodes = t3;
  24948. _.functions = t4;
  24949. _.mixins = t5;
  24950. _.$ti = t6;
  24951. },
  24952. FunctionExpression0: function FunctionExpression0(t0, t1, t2, t3, t4) {
  24953. var _ = this;
  24954. _.namespace = t0;
  24955. _.name = t1;
  24956. _.originalName = t2;
  24957. _.$arguments = t3;
  24958. _.span = t4;
  24959. },
  24960. JSFunction0: function JSFunction0() {
  24961. },
  24962. SupportsFunction0: function SupportsFunction0(t0, t1, t2) {
  24963. this.name = t0;
  24964. this.$arguments = t1;
  24965. this.span = t2;
  24966. },
  24967. functionClass_closure: function functionClass_closure() {
  24968. },
  24969. functionClass__closure: function functionClass__closure() {
  24970. },
  24971. functionClass__closure0: function functionClass__closure0() {
  24972. },
  24973. SassFunction0: function SassFunction0(t0) {
  24974. this.callable = t0;
  24975. },
  24976. FunctionRule$0($name, $arguments, children, span, comment) {
  24977. var t1 = A.stringReplaceAllUnchecked($name, "_", "-"),
  24978. t2 = A.List_List$unmodifiable(children, type$.Statement_2),
  24979. t3 = B.JSArray_methods.any$1(t2, new A.ParentStatement_closure0());
  24980. return new A.FunctionRule0(t1, $name, $arguments, span, t2, t3);
  24981. },
  24982. FunctionRule0: function FunctionRule0(t0, t1, t2, t3, t4, t5) {
  24983. var _ = this;
  24984. _.name = t0;
  24985. _.originalName = t1;
  24986. _.$arguments = t2;
  24987. _.span = t3;
  24988. _.children = t4;
  24989. _.hasDeclarations = t5;
  24990. },
  24991. unifyComplex0(complexes, span) {
  24992. var t2, trailingCombinator, leadingCombinator, unifiedBase, t3, t4, _0_6_isSet, _0_6, t5, newLeadingCombinator, base, _1_1, newTrailingCombinator, _i, t6, t7, t8, _null = null,
  24993. t1 = J.getInterceptor$asx(complexes);
  24994. if (t1.get$length(complexes) === 1)
  24995. return complexes;
  24996. for (t2 = t1.get$iterator(complexes), trailingCombinator = _null, leadingCombinator = trailingCombinator, unifiedBase = leadingCombinator; t2.moveNext$0();) {
  24997. t3 = t2.get$current(t2);
  24998. if (t3.accept$1(B.C__IsUselessVisitor0))
  24999. return _null;
  25000. t4 = t3.components;
  25001. _0_6_isSet = t4.length === 1;
  25002. if (_0_6_isSet) {
  25003. _0_6 = t3.leadingCombinators;
  25004. t5 = _0_6.length === 1;
  25005. } else {
  25006. _0_6 = _null;
  25007. t5 = false;
  25008. }
  25009. if (t5) {
  25010. newLeadingCombinator = (_0_6_isSet ? _0_6 : t3.leadingCombinators)[0];
  25011. if (leadingCombinator == null)
  25012. leadingCombinator = newLeadingCombinator;
  25013. else if (!(leadingCombinator.$ti._is(newLeadingCombinator) && J.$eq$(newLeadingCombinator.value, leadingCombinator.value)))
  25014. return _null;
  25015. }
  25016. base = B.JSArray_methods.get$last(t4);
  25017. _1_1 = base.combinators;
  25018. if (_1_1.length === 1) {
  25019. newTrailingCombinator = _1_1[0];
  25020. if (trailingCombinator != null)
  25021. t3 = !(trailingCombinator.$ti._is(newTrailingCombinator) && J.$eq$(newTrailingCombinator.value, trailingCombinator.value));
  25022. else
  25023. t3 = false;
  25024. if (t3)
  25025. return _null;
  25026. trailingCombinator = newTrailingCombinator;
  25027. }
  25028. if (unifiedBase == null)
  25029. unifiedBase = base.selector.components;
  25030. else
  25031. for (t3 = base.selector.components, t4 = t3.length, _i = 0; _i < t4; ++_i) {
  25032. unifiedBase = t3[_i].unify$1(unifiedBase);
  25033. if (unifiedBase == null)
  25034. return _null;
  25035. }
  25036. }
  25037. t2 = type$.JSArray_ComplexSelector_2;
  25038. t3 = A._setArrayType([], t2);
  25039. for (t4 = t1.get$iterator(complexes); t4.moveNext$0();) {
  25040. t5 = t4.get$current(t4);
  25041. t6 = t5.components;
  25042. t7 = t6.length;
  25043. if (t7 > 1) {
  25044. t8 = t5.leadingCombinators;
  25045. t3.push(A.ComplexSelector$0(t8, B.JSArray_methods.take$1(t6, t7 - 1), t5.span, t5.lineBreak));
  25046. }
  25047. }
  25048. t4 = leadingCombinator == null ? B.List_empty14 : A._setArrayType([leadingCombinator], type$.JSArray_CssValue_Combinator_2);
  25049. unifiedBase.toString;
  25050. t5 = A.CompoundSelector$0(unifiedBase, span);
  25051. t6 = trailingCombinator == null ? B.List_empty14 : A._setArrayType([trailingCombinator], type$.JSArray_CssValue_Combinator_2);
  25052. base = A.ComplexSelector$0(t4, A._setArrayType([new A.ComplexSelectorComponent0(t5, A.List_List$unmodifiable(t6, type$.CssValue_Combinator_2), span)], type$.JSArray_ComplexSelectorComponent_2), span, t1.any$1(complexes, new A.unifyComplex_closure0()));
  25053. if (t3.length === 0)
  25054. t1 = A._setArrayType([base], t2);
  25055. else {
  25056. t1 = A.List_List$of(A.IterableExtension_get_exceptLast0(t3), true, type$.ComplexSelector_2);
  25057. t1.push(B.JSArray_methods.get$last(t3).concatenate$2(base, span));
  25058. }
  25059. return A.weave0(t1, span, false);
  25060. },
  25061. unifyCompound0(compound1, compound2) {
  25062. var t1, t2, _i, unified,
  25063. result = compound2.components;
  25064. for (t1 = compound1.components, t2 = t1.length, _i = 0; _i < t2; ++_i, result = unified) {
  25065. unified = t1[_i].unify$1(result);
  25066. if (unified == null)
  25067. return null;
  25068. }
  25069. return A.CompoundSelector$0(result, compound1.span);
  25070. },
  25071. unifyUniversalAndElement0(selector1, selector2) {
  25072. var namespace, $name, t1,
  25073. _0_0 = A._namespaceAndName0(selector1, "selector1"),
  25074. namespace1 = _0_0._0,
  25075. name1 = _0_0._1,
  25076. _1_0 = A._namespaceAndName0(selector2, "selector2"),
  25077. namespace2 = _1_0._0,
  25078. name2 = _1_0._1;
  25079. if (namespace1 == namespace2 || namespace2 === "*")
  25080. namespace = namespace1;
  25081. else {
  25082. if (namespace1 !== "*")
  25083. return null;
  25084. namespace = namespace2;
  25085. }
  25086. if (name1 == name2 || name2 == null)
  25087. $name = name1;
  25088. else {
  25089. if (!(name1 == null || name1 === "*"))
  25090. return null;
  25091. $name = name2;
  25092. }
  25093. t1 = selector1.span;
  25094. return $name == null ? new A.UniversalSelector0(namespace, t1) : new A.TypeSelector0(new A.QualifiedName0($name, namespace), t1);
  25095. },
  25096. _namespaceAndName0(selector, $name) {
  25097. var t1, _0_4;
  25098. $label0$0: {
  25099. if (selector instanceof A.UniversalSelector0) {
  25100. t1 = new A._Record_2(selector.namespace, null);
  25101. break $label0$0;
  25102. }
  25103. if (selector instanceof A.TypeSelector0) {
  25104. _0_4 = selector.name;
  25105. t1 = new A._Record_2(_0_4.namespace, _0_4.name);
  25106. break $label0$0;
  25107. }
  25108. t1 = A.throwExpression(A.ArgumentError$value(selector, $name, string$.must_b));
  25109. }
  25110. return t1;
  25111. },
  25112. weave0(complexes, span, forceLineBreak) {
  25113. var complex, t2, prefixes, t3, t4, t5, t6, i, t7, t8, _i, t9, t10, _i0, parentPrefix, t11, t12,
  25114. t1 = J.getInterceptor$asx(complexes);
  25115. if (t1.get$length(complexes) === 1) {
  25116. complex = t1.$index(complexes, 0);
  25117. if (!forceLineBreak || complex.lineBreak)
  25118. return complexes;
  25119. return A._setArrayType([A.ComplexSelector$0(complex.leadingCombinators, complex.components, complex.span, true)], type$.JSArray_ComplexSelector_2);
  25120. }
  25121. t2 = type$.JSArray_ComplexSelector_2;
  25122. prefixes = A._setArrayType([t1.get$first(complexes)], t2);
  25123. 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();) {
  25124. t5 = t1.__internal$_current;
  25125. if (t5 == null)
  25126. t5 = t3._as(t5);
  25127. t6 = t5.components;
  25128. if (t6.length === 1) {
  25129. for (i = 0; i < prefixes.length; ++i)
  25130. prefixes[i] = prefixes[i].concatenate$3$forceLineBreak(t5, span, forceLineBreak);
  25131. continue;
  25132. }
  25133. t7 = A._setArrayType([], t2);
  25134. for (t8 = prefixes.length, _i = 0; _i < prefixes.length; prefixes.length === t8 || (0, A.throwConcurrentModificationError)(prefixes), ++_i) {
  25135. t9 = A._weaveParents0(prefixes[_i], t5, span);
  25136. if (t9 == null)
  25137. t9 = B.List_empty15;
  25138. t10 = t9.length;
  25139. _i0 = 0;
  25140. for (; _i0 < t9.length; t9.length === t10 || (0, A.throwConcurrentModificationError)(t9), ++_i0) {
  25141. parentPrefix = t9[_i0];
  25142. t11 = B.JSArray_methods.get$last(t6);
  25143. t12 = A.List_List$of(parentPrefix.components, true, t4);
  25144. t12.push(t11);
  25145. t11 = parentPrefix.lineBreak || forceLineBreak;
  25146. t7.push(A.ComplexSelector$0(parentPrefix.leadingCombinators, t12, span, t11));
  25147. }
  25148. }
  25149. prefixes = t7;
  25150. }
  25151. return prefixes;
  25152. },
  25153. _weaveParents0(prefix, base, span) {
  25154. var t1, queue1, queue2, trailingCombinators, _0_1, _0_3, _0_3_isSet, rootish1, t2, rootish2, _0_30, rootish, t3, rootish_case_0, t0, rootish_case_1, groups1, groups2, lcs, choices, t4, _i, group, t5, t6, t7, _i0, chunk, t8, t9, _null = null,
  25155. leadingCombinators = A._mergeLeadingCombinators0(prefix.leadingCombinators, base.leadingCombinators);
  25156. if (leadingCombinators == null)
  25157. return _null;
  25158. t1 = type$.ComplexSelectorComponent_2;
  25159. queue1 = A.QueueList_QueueList$from(prefix.components, t1);
  25160. queue2 = A.QueueList_QueueList$from(A.IterableExtension_get_exceptLast0(base.components), t1);
  25161. trailingCombinators = A._mergeTrailingCombinators0(queue1, queue2, span, _null);
  25162. if (trailingCombinators == null)
  25163. return _null;
  25164. $label0$0: {
  25165. _0_1 = A._firstIfRootish0(queue1);
  25166. _0_3 = A._firstIfRootish0(queue2);
  25167. _0_3_isSet = _0_1 != null;
  25168. if (_0_3_isSet) {
  25169. rootish1 = _0_1 == null ? t1._as(_0_1) : _0_1;
  25170. t2 = _0_3 != null;
  25171. if (t2)
  25172. rootish2 = _0_3 == null ? t1._as(_0_3) : _0_3;
  25173. else
  25174. rootish2 = _null;
  25175. _0_30 = _0_3;
  25176. } else {
  25177. rootish2 = _null;
  25178. rootish1 = rootish2;
  25179. _0_30 = rootish1;
  25180. t2 = false;
  25181. }
  25182. if (t2) {
  25183. rootish = A.unifyCompound0(rootish1.selector, rootish2.selector);
  25184. if (rootish == null)
  25185. return _null;
  25186. t1 = rootish1.combinators;
  25187. t2 = rootish1.span;
  25188. t3 = type$.CssValue_Combinator_2;
  25189. queue1.addFirst$1(new A.ComplexSelectorComponent0(rootish, A.List_List$unmodifiable(t1, t3), t2));
  25190. queue2.addFirst$1(new A.ComplexSelectorComponent0(rootish, A.List_List$unmodifiable(rootish2.combinators, t3), t2));
  25191. break $label0$0;
  25192. }
  25193. if (_0_1 != null) {
  25194. rootish_case_0 = _0_1;
  25195. if (_0_3_isSet)
  25196. t2 = _0_30;
  25197. else {
  25198. t2 = _0_3;
  25199. _0_30 = t2;
  25200. _0_3_isSet = true;
  25201. }
  25202. t2 = t2 == null;
  25203. t3 = t2 ? rootish_case_0 : _null;
  25204. t0 = t3;
  25205. t3 = t2;
  25206. t2 = t0;
  25207. } else {
  25208. t2 = _null;
  25209. t3 = false;
  25210. }
  25211. if (!t3)
  25212. if (_0_1 == null) {
  25213. if (_0_3_isSet)
  25214. t3 = _0_30;
  25215. else {
  25216. t3 = _0_3;
  25217. _0_30 = t3;
  25218. _0_3_isSet = true;
  25219. }
  25220. t3 = t3 != null;
  25221. if (t3) {
  25222. rootish_case_1 = _0_3_isSet ? _0_30 : _0_3;
  25223. if (rootish_case_1 == null)
  25224. rootish_case_1 = t1._as(rootish_case_1);
  25225. t1 = rootish_case_1;
  25226. } else
  25227. t1 = t2;
  25228. t2 = t3;
  25229. } else {
  25230. t1 = t2;
  25231. t2 = false;
  25232. }
  25233. else {
  25234. t1 = t2;
  25235. t2 = true;
  25236. }
  25237. if (t2) {
  25238. queue1.addFirst$1(t1);
  25239. queue2.addFirst$1(t1);
  25240. }
  25241. }
  25242. groups1 = A._groupSelectors0(queue1);
  25243. groups2 = A._groupSelectors0(queue2);
  25244. t1 = type$.List_ComplexSelectorComponent_2;
  25245. lcs = A.longestCommonSubsequence0(groups2, groups1, new A._weaveParents_closure3(span), t1);
  25246. choices = A._setArrayType([], type$.JSArray_List_Iterable_ComplexSelectorComponent_2);
  25247. 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) {
  25248. group = lcs[_i];
  25249. t5 = A._setArrayType([], t3);
  25250. 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) {
  25251. chunk = t6[_i0];
  25252. t8 = A._setArrayType([], t4);
  25253. for (t9 = B.JSArray_methods.get$iterator(chunk); t9.moveNext$0();)
  25254. B.JSArray_methods.addAll$1(t8, t9.get$current(0));
  25255. t5.push(t8);
  25256. }
  25257. choices.push(t5);
  25258. choices.push(A._setArrayType([group], t3));
  25259. groups1.removeFirst$0();
  25260. groups2.removeFirst$0();
  25261. }
  25262. t2 = A._setArrayType([], t3);
  25263. 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) {
  25264. chunk = t1[_i];
  25265. t5 = A._setArrayType([], t4);
  25266. for (t6 = B.JSArray_methods.get$iterator(chunk); t6.moveNext$0();)
  25267. B.JSArray_methods.addAll$1(t5, t6.get$current(0));
  25268. t2.push(t5);
  25269. }
  25270. choices.push(t2);
  25271. B.JSArray_methods.addAll$1(choices, trailingCombinators);
  25272. t1 = A._setArrayType([], type$.JSArray_ComplexSelector_2);
  25273. 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();) {
  25274. t6 = t2.get$current(t2);
  25275. t7 = A._setArrayType([], t4);
  25276. for (t6 = J.get$iterator$ax(t6); t6.moveNext$0();)
  25277. B.JSArray_methods.addAll$1(t7, t6.get$current(t6));
  25278. t1.push(A.ComplexSelector$0(leadingCombinators, t7, span, !t3 || t5));
  25279. }
  25280. return t1;
  25281. },
  25282. _firstIfRootish0(queue) {
  25283. var first, t1, t2, _i, simple, t3;
  25284. if (queue.get$length(0) >= 1) {
  25285. first = queue.$index(0, 0);
  25286. for (t1 = first.selector.components, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  25287. simple = t1[_i];
  25288. if (simple instanceof A.PseudoSelector0)
  25289. if (simple.isClass)
  25290. t3 = $._rootishPseudoClasses0.contains$1(0, simple.normalizedName);
  25291. else
  25292. t3 = false;
  25293. else
  25294. t3 = false;
  25295. if (t3) {
  25296. queue.removeFirst$0();
  25297. return first;
  25298. }
  25299. }
  25300. }
  25301. return null;
  25302. },
  25303. _mergeLeadingCombinators0(combinators1, combinators2) {
  25304. var _0_4, t1, _0_7_isSet, _0_7, t2, _0_11_isSet, _0_11, _0_4_isSet, combinators, _null = null;
  25305. $label0$0: {
  25306. _0_4 = combinators2;
  25307. t1 = type$.List_CssValue_Combinator_2;
  25308. _0_7_isSet = t1._is(combinators1);
  25309. if (_0_7_isSet) {
  25310. _0_7 = combinators1.length;
  25311. t2 = _0_7;
  25312. t2 = t2 > 1;
  25313. } else {
  25314. _0_7 = _null;
  25315. t2 = false;
  25316. }
  25317. if (!t2) {
  25318. t2 = _0_4;
  25319. _0_11_isSet = t1._is(t2);
  25320. if (_0_11_isSet) {
  25321. t2 = _0_4;
  25322. _0_11 = (t2 == null ? t1._as(t2) : t2).length;
  25323. t2 = _0_11;
  25324. _0_4_isSet = true;
  25325. t2 = t2 > 1;
  25326. } else {
  25327. _0_11 = _null;
  25328. _0_4_isSet = true;
  25329. t2 = false;
  25330. }
  25331. } else {
  25332. _0_11 = _null;
  25333. _0_4_isSet = true;
  25334. _0_11_isSet = false;
  25335. t2 = true;
  25336. }
  25337. if (t2) {
  25338. t1 = _null;
  25339. break $label0$0;
  25340. }
  25341. if (t1._is(combinators1)) {
  25342. if (_0_7_isSet)
  25343. t2 = _0_7;
  25344. else {
  25345. _0_7 = combinators1.length;
  25346. t2 = _0_7;
  25347. }
  25348. t2 = t2 <= 0;
  25349. if (t2)
  25350. if (_0_4_isSet)
  25351. combinators = _0_4;
  25352. else {
  25353. combinators = combinators2;
  25354. _0_4 = combinators;
  25355. _0_4_isSet = true;
  25356. }
  25357. else
  25358. combinators = _null;
  25359. } else {
  25360. combinators = _null;
  25361. t2 = false;
  25362. }
  25363. if (!t2) {
  25364. if (_0_4_isSet)
  25365. t2 = _0_4;
  25366. else {
  25367. t2 = combinators2;
  25368. _0_4 = t2;
  25369. _0_4_isSet = true;
  25370. }
  25371. if (t1._is(t2)) {
  25372. if (_0_11_isSet)
  25373. t1 = _0_11;
  25374. else {
  25375. t2 = _0_4_isSet ? _0_4 : combinators2;
  25376. _0_11 = (t2 == null ? t1._as(t2) : t2).length;
  25377. t1 = _0_11;
  25378. }
  25379. t1 = t1 <= 0;
  25380. } else
  25381. t1 = false;
  25382. combinators = combinators1;
  25383. } else
  25384. t1 = true;
  25385. if (t1) {
  25386. t1 = combinators;
  25387. break $label0$0;
  25388. }
  25389. t1 = B.C_ListEquality.equals$2(0, combinators1, combinators2) ? combinators1 : _null;
  25390. break $label0$0;
  25391. }
  25392. return t1;
  25393. },
  25394. _mergeTrailingCombinators0(components1, components2, span, result) {
  25395. var _0_1, t1, _1_1, t2, t3, _4_1, _4_3, _4_4_isSet, _4_4, _4_5, component1, component2, t4, t5, choices, _2_0, _4_4_isSet0, _4_9, _4_6_isSet, _4_6, _4_7, nextComponents, followingComponents, _4_7_isSet, _4_10_isSet, _4_10, _4_5_isSet, next, following, _3_0, siblingComponents_case_0, t0, siblingComponents_case_1, combinator1, combinator2, unified, combinator_case_0, combinatorComponents_case_0, descendantComponents_case_0, t6, combinator_case_1, descendantComponents_case_1, combinatorComponents_case_1, _null = null;
  25396. if (result == null)
  25397. result = A.QueueList$(_null, type$.List_List_ComplexSelectorComponent_2);
  25398. $label0$0: {
  25399. _0_1 = components1.get$length(0);
  25400. if (_0_1 >= 1) {
  25401. t1 = components1.$index(0, _0_1 - 1).combinators;
  25402. break $label0$0;
  25403. }
  25404. t1 = B.List_empty14;
  25405. break $label0$0;
  25406. }
  25407. $label1$1: {
  25408. _1_1 = components2.get$length(0);
  25409. if (_1_1 >= 1) {
  25410. t2 = components2.$index(0, _1_1 - 1).combinators;
  25411. break $label1$1;
  25412. }
  25413. t2 = B.List_empty14;
  25414. break $label1$1;
  25415. }
  25416. t3 = t1.length;
  25417. if (t3 === 0 && t2.length === 0)
  25418. return result;
  25419. if (t3 > 1 || t2.length > 1)
  25420. return _null;
  25421. $label2$2: {
  25422. t3 = A.IterableExtension_get_firstOrNull(t1);
  25423. t3 = t3 == null ? _null : t3.value;
  25424. t2 = A.IterableExtension_get_firstOrNull(t2);
  25425. t2 = [t3, t2 == null ? _null : t2.value, components1, components2];
  25426. _4_1 = t2[0];
  25427. _4_3 = B.Combinator_y180 === _4_1;
  25428. _4_4_isSet = _4_3;
  25429. if (_4_4_isSet) {
  25430. _4_4 = t2[1];
  25431. _4_5 = B.Combinator_y180 === _4_4;
  25432. t3 = _4_5;
  25433. } else {
  25434. _4_4 = _null;
  25435. _4_5 = _4_4;
  25436. t3 = false;
  25437. }
  25438. if (t3) {
  25439. component1 = components1.removeLast$0(0);
  25440. component2 = components2.removeLast$0(0);
  25441. t2 = component1.selector;
  25442. t3 = component2.selector;
  25443. if (A.compoundIsSuperselector0(t2, t3, _null))
  25444. result.addFirst$1(A._setArrayType([A._setArrayType([component2], type$.JSArray_ComplexSelectorComponent_2)], type$.JSArray_List_ComplexSelectorComponent_2));
  25445. else {
  25446. t4 = type$.JSArray_ComplexSelectorComponent_2;
  25447. t5 = type$.JSArray_List_ComplexSelectorComponent_2;
  25448. if (A.compoundIsSuperselector0(t3, t2, _null))
  25449. result.addFirst$1(A._setArrayType([A._setArrayType([component1], t4)], t5));
  25450. else {
  25451. choices = A._setArrayType([A._setArrayType([component1, component2], t4), A._setArrayType([component2, component1], t4)], t5);
  25452. _2_0 = A.unifyCompound0(t2, t3);
  25453. if (_2_0 != null)
  25454. 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));
  25455. result.addFirst$1(choices);
  25456. }
  25457. }
  25458. break $label2$2;
  25459. }
  25460. if (_4_3) {
  25461. if (_4_4_isSet) {
  25462. t3 = _4_4;
  25463. _4_4_isSet0 = _4_4_isSet;
  25464. } else {
  25465. _4_4 = t2[1];
  25466. t3 = _4_4;
  25467. _4_4_isSet0 = true;
  25468. }
  25469. _4_9 = B.Combinator_gRV0 === t3;
  25470. _4_6_isSet = _4_9;
  25471. if (_4_6_isSet) {
  25472. _4_6 = t2[2];
  25473. _4_7 = t2[3];
  25474. nextComponents = _4_7;
  25475. followingComponents = _4_6;
  25476. } else {
  25477. nextComponents = _null;
  25478. followingComponents = nextComponents;
  25479. _4_7 = followingComponents;
  25480. _4_6 = _4_7;
  25481. }
  25482. t3 = _4_6_isSet;
  25483. _4_7_isSet = t3;
  25484. } else {
  25485. nextComponents = _null;
  25486. followingComponents = nextComponents;
  25487. _4_7 = followingComponents;
  25488. _4_6 = _4_7;
  25489. _4_9 = _4_6;
  25490. _4_4_isSet0 = _4_4_isSet;
  25491. _4_6_isSet = false;
  25492. _4_7_isSet = false;
  25493. t3 = false;
  25494. }
  25495. _4_10_isSet = !t3;
  25496. if (_4_10_isSet) {
  25497. _4_10 = B.Combinator_gRV0 === _4_1;
  25498. t3 = _4_10;
  25499. if (t3) {
  25500. if (_4_4_isSet) {
  25501. t3 = _4_5;
  25502. _4_5_isSet = _4_4_isSet;
  25503. _4_4_isSet = _4_4_isSet0;
  25504. } else {
  25505. if (_4_4_isSet0) {
  25506. t3 = _4_4;
  25507. _4_4_isSet = _4_4_isSet0;
  25508. } else {
  25509. _4_4 = t2[1];
  25510. t3 = _4_4;
  25511. _4_4_isSet = true;
  25512. }
  25513. _4_5 = B.Combinator_y180 === t3;
  25514. t3 = _4_5;
  25515. _4_5_isSet = true;
  25516. }
  25517. if (t3) {
  25518. if (_4_6_isSet)
  25519. nextComponents = _4_6;
  25520. else {
  25521. _4_6 = t2[2];
  25522. nextComponents = _4_6;
  25523. _4_6_isSet = true;
  25524. }
  25525. if (_4_7_isSet)
  25526. followingComponents = _4_7;
  25527. else {
  25528. _4_7 = t2[3];
  25529. followingComponents = _4_7;
  25530. _4_7_isSet = true;
  25531. }
  25532. }
  25533. } else {
  25534. _4_5_isSet = _4_4_isSet;
  25535. _4_4_isSet = _4_4_isSet0;
  25536. t3 = false;
  25537. }
  25538. } else {
  25539. _4_10 = _null;
  25540. _4_5_isSet = _4_4_isSet;
  25541. _4_4_isSet = _4_4_isSet0;
  25542. t3 = true;
  25543. }
  25544. if (t3) {
  25545. next = nextComponents.removeLast$0(0);
  25546. following = followingComponents.removeLast$0(0);
  25547. t1 = following.selector;
  25548. t2 = next.selector;
  25549. t3 = type$.JSArray_ComplexSelectorComponent_2;
  25550. t4 = type$.JSArray_List_ComplexSelectorComponent_2;
  25551. if (A.compoundIsSuperselector0(t1, t2, _null))
  25552. result.addFirst$1(A._setArrayType([A._setArrayType([next], t3)], t4));
  25553. else {
  25554. t4 = A._setArrayType([A._setArrayType([following, next], t3)], t4);
  25555. _3_0 = A.unifyCompound0(t1, t2);
  25556. if (_3_0 != null)
  25557. t4.push(A._setArrayType([new A.ComplexSelectorComponent0(_3_0, A.List_List$unmodifiable(next.combinators, type$.CssValue_Combinator_2), span)], t3));
  25558. result.addFirst$1(t4);
  25559. }
  25560. break $label2$2;
  25561. }
  25562. if (B.Combinator_8I80 === _4_1) {
  25563. if (_4_3)
  25564. t3 = _4_9;
  25565. else {
  25566. if (_4_4_isSet)
  25567. t3 = _4_4;
  25568. else {
  25569. _4_4 = t2[1];
  25570. t3 = _4_4;
  25571. _4_4_isSet = true;
  25572. }
  25573. _4_9 = B.Combinator_gRV0 === t3;
  25574. t3 = _4_9;
  25575. }
  25576. if (!t3)
  25577. if (_4_5_isSet)
  25578. t3 = _4_5;
  25579. else {
  25580. if (_4_4_isSet)
  25581. t3 = _4_4;
  25582. else {
  25583. _4_4 = t2[1];
  25584. t3 = _4_4;
  25585. _4_4_isSet = true;
  25586. }
  25587. _4_5 = B.Combinator_y180 === t3;
  25588. t3 = _4_5;
  25589. }
  25590. else
  25591. t3 = true;
  25592. if (t3) {
  25593. if (_4_7_isSet)
  25594. siblingComponents_case_0 = _4_7;
  25595. else {
  25596. _4_7 = t2[3];
  25597. siblingComponents_case_0 = _4_7;
  25598. _4_7_isSet = true;
  25599. }
  25600. t4 = siblingComponents_case_0;
  25601. } else
  25602. t4 = _null;
  25603. t0 = t4;
  25604. t4 = t3;
  25605. t3 = t0;
  25606. } else {
  25607. t3 = _null;
  25608. t4 = false;
  25609. }
  25610. if (!t4) {
  25611. if (_4_10_isSet)
  25612. t4 = _4_10;
  25613. else {
  25614. _4_10 = B.Combinator_gRV0 === _4_1;
  25615. t4 = _4_10;
  25616. }
  25617. if (!t4)
  25618. t4 = _4_3;
  25619. else
  25620. t4 = true;
  25621. if (t4) {
  25622. if (_4_4_isSet)
  25623. t4 = _4_4;
  25624. else {
  25625. _4_4 = t2[1];
  25626. t4 = _4_4;
  25627. _4_4_isSet = true;
  25628. }
  25629. t4 = B.Combinator_8I80 === t4;
  25630. if (t4) {
  25631. if (_4_6_isSet)
  25632. siblingComponents_case_1 = _4_6;
  25633. else {
  25634. _4_6 = t2[2];
  25635. siblingComponents_case_1 = _4_6;
  25636. _4_6_isSet = true;
  25637. }
  25638. t3 = siblingComponents_case_1;
  25639. }
  25640. } else
  25641. t4 = false;
  25642. } else
  25643. t4 = true;
  25644. if (t4) {
  25645. result.addFirst$1(A._setArrayType([A._setArrayType([t3.removeLast$0(0)], type$.JSArray_ComplexSelectorComponent_2)], type$.JSArray_List_ComplexSelectorComponent_2));
  25646. break $label2$2;
  25647. }
  25648. t3 = _4_1 == null;
  25649. t4 = !t3;
  25650. if (t4) {
  25651. combinator1 = _4_1;
  25652. if (_4_4_isSet)
  25653. t5 = _4_4;
  25654. else {
  25655. _4_4 = t2[1];
  25656. t5 = _4_4;
  25657. _4_4_isSet = true;
  25658. }
  25659. if (t5 != null) {
  25660. if (_4_4_isSet)
  25661. combinator2 = _4_4;
  25662. else {
  25663. _4_4 = t2[1];
  25664. combinator2 = _4_4;
  25665. _4_4_isSet = true;
  25666. }
  25667. t5 = combinator1 === (combinator2 == null ? type$.Combinator_2._as(combinator2) : combinator2);
  25668. } else
  25669. t5 = false;
  25670. } else
  25671. t5 = false;
  25672. if (t5) {
  25673. unified = A.unifyCompound0(components1.removeLast$0(0).selector, components2.removeLast$0(0).selector);
  25674. if (unified == null)
  25675. return _null;
  25676. 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));
  25677. break $label2$2;
  25678. }
  25679. if (t4) {
  25680. combinator_case_0 = _4_1;
  25681. if (_4_4_isSet)
  25682. t1 = _4_4;
  25683. else {
  25684. _4_4 = t2[1];
  25685. t1 = _4_4;
  25686. _4_4_isSet = true;
  25687. }
  25688. t1 = t1 == null;
  25689. if (t1) {
  25690. if (_4_6_isSet)
  25691. combinatorComponents_case_0 = _4_6;
  25692. else {
  25693. _4_6 = t2[2];
  25694. combinatorComponents_case_0 = _4_6;
  25695. _4_6_isSet = true;
  25696. }
  25697. if (_4_7_isSet)
  25698. descendantComponents_case_0 = _4_7;
  25699. else {
  25700. _4_7 = t2[3];
  25701. descendantComponents_case_0 = _4_7;
  25702. _4_7_isSet = true;
  25703. }
  25704. t4 = descendantComponents_case_0;
  25705. t6 = t4;
  25706. t4 = combinator_case_0;
  25707. t5 = combinatorComponents_case_0;
  25708. } else {
  25709. t6 = _null;
  25710. t5 = t6;
  25711. t4 = t5;
  25712. }
  25713. t0 = t6;
  25714. t6 = t1;
  25715. t1 = t4;
  25716. t4 = t5;
  25717. t5 = t0;
  25718. } else {
  25719. t5 = _null;
  25720. t4 = t5;
  25721. t1 = t4;
  25722. t6 = false;
  25723. }
  25724. if (!t6)
  25725. if (t3) {
  25726. if (_4_4_isSet)
  25727. t3 = _4_4;
  25728. else {
  25729. _4_4 = t2[1];
  25730. t3 = _4_4;
  25731. _4_4_isSet = true;
  25732. }
  25733. t3 = t3 != null;
  25734. if (t3) {
  25735. combinator_case_1 = _4_4_isSet ? _4_4 : t2[1];
  25736. if (combinator_case_1 == null)
  25737. combinator_case_1 = type$.Combinator_2._as(combinator_case_1);
  25738. descendantComponents_case_1 = _4_6_isSet ? _4_6 : t2[2];
  25739. combinatorComponents_case_1 = _4_7_isSet ? _4_7 : t2[3];
  25740. t1 = combinatorComponents_case_1;
  25741. t2 = descendantComponents_case_1;
  25742. t4 = t2;
  25743. t2 = t1;
  25744. t1 = combinator_case_1;
  25745. } else {
  25746. t2 = t4;
  25747. t4 = t5;
  25748. }
  25749. t0 = t4;
  25750. t4 = t3;
  25751. t3 = t0;
  25752. } else {
  25753. t3 = t5;
  25754. t2 = t4;
  25755. t4 = false;
  25756. }
  25757. else {
  25758. t3 = t5;
  25759. t2 = t4;
  25760. t4 = true;
  25761. }
  25762. if (t4) {
  25763. if (t1 === B.Combinator_8I80) {
  25764. t1 = A.IterableExtension_get_lastOrNull(t3);
  25765. t1 = t1 == null ? _null : A.compoundIsSuperselector0(t1.selector, t2.get$last(t2).selector, _null);
  25766. t1 = t1 === true;
  25767. } else
  25768. t1 = false;
  25769. if (t1)
  25770. t3.removeLast$0(0);
  25771. result.addFirst$1(A._setArrayType([A._setArrayType([t2.removeLast$0(0)], type$.JSArray_ComplexSelectorComponent_2)], type$.JSArray_List_ComplexSelectorComponent_2));
  25772. break $label2$2;
  25773. }
  25774. return _null;
  25775. }
  25776. return A._mergeTrailingCombinators0(components1, components2, span, result);
  25777. },
  25778. _mustUnify0(complex1, complex2) {
  25779. var t2, t3, t4,
  25780. t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.SimpleSelector_2);
  25781. for (t2 = J.get$iterator$ax(complex1); t2.moveNext$0();)
  25782. 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();)
  25783. t1.add$1(0, t3.get$current(0));
  25784. if (t1._collection$_length === 0)
  25785. return false;
  25786. return J.any$1$ax(complex2, new A._mustUnify_closure0(t1));
  25787. },
  25788. _isUnique0(simple) {
  25789. var t1;
  25790. if (!(simple instanceof A.IDSelector0))
  25791. t1 = simple instanceof A.PseudoSelector0 && !simple.isClass;
  25792. else
  25793. t1 = true;
  25794. return t1;
  25795. },
  25796. _chunks0(queue1, queue2, done, $T) {
  25797. var chunk2, _0_4, _0_5_isSet, _0_1, _0_7, _0_5, chunk, _0_5_isSet0, t2, _null = null,
  25798. t1 = $T._eval$1("JSArray<0>"),
  25799. chunk1 = A._setArrayType([], t1);
  25800. for (; !done.call$1(queue1);)
  25801. chunk1.push(queue1.removeFirst$0());
  25802. chunk2 = A._setArrayType([], t1);
  25803. for (; !done.call$1(queue2);)
  25804. chunk2.push(queue2.removeFirst$0());
  25805. $label0$0: {
  25806. _0_4 = chunk1.length <= 0;
  25807. _0_5_isSet = _0_4;
  25808. _0_1 = chunk1;
  25809. if (_0_5_isSet) {
  25810. _0_7 = chunk2.length <= 0;
  25811. t1 = _0_7;
  25812. _0_5 = chunk2;
  25813. } else {
  25814. _0_5 = _null;
  25815. _0_7 = _0_5;
  25816. t1 = false;
  25817. }
  25818. if (t1) {
  25819. t1 = A._setArrayType([], $T._eval$1("JSArray<List<0>>"));
  25820. break $label0$0;
  25821. }
  25822. if (_0_4)
  25823. if (_0_5_isSet) {
  25824. chunk = _0_5;
  25825. _0_5_isSet0 = _0_5_isSet;
  25826. } else {
  25827. chunk = chunk2;
  25828. _0_5 = chunk;
  25829. _0_5_isSet0 = true;
  25830. }
  25831. else {
  25832. chunk = _null;
  25833. _0_5_isSet0 = _0_5_isSet;
  25834. }
  25835. if (!_0_4) {
  25836. if (_0_5_isSet)
  25837. t1 = _0_7;
  25838. else {
  25839. _0_7 = (_0_5_isSet0 ? _0_5 : chunk2).length <= 0;
  25840. t1 = _0_7;
  25841. }
  25842. chunk = _0_1;
  25843. } else
  25844. t1 = true;
  25845. if (t1) {
  25846. t1 = A._setArrayType([chunk], $T._eval$1("JSArray<List<0>>"));
  25847. break $label0$0;
  25848. }
  25849. t1 = A.List_List$of(chunk1, true, $T);
  25850. B.JSArray_methods.addAll$1(t1, chunk2);
  25851. t2 = A.List_List$of(chunk2, true, $T);
  25852. B.JSArray_methods.addAll$1(t2, chunk1);
  25853. t2 = A._setArrayType([t1, t2], $T._eval$1("JSArray<List<0>>"));
  25854. t1 = t2;
  25855. break $label0$0;
  25856. }
  25857. return t1;
  25858. },
  25859. paths0(choices, $T) {
  25860. 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));
  25861. },
  25862. _groupSelectors0(complex) {
  25863. var t2, t3, t4,
  25864. groups = A.QueueList$(null, type$.List_ComplexSelectorComponent_2),
  25865. t1 = type$.JSArray_ComplexSelectorComponent_2,
  25866. group = A._setArrayType([], t1);
  25867. 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();) {
  25868. t4 = t3.__internal$_current;
  25869. if (t4 == null)
  25870. t4 = t2._as(t4);
  25871. group.push(t4);
  25872. if (t4.combinators.length === 0) {
  25873. groups._queue_list$_add$1(group);
  25874. group = A._setArrayType([], t1);
  25875. }
  25876. }
  25877. if (group.length !== 0)
  25878. groups._queue_list$_add$1(group);
  25879. return groups;
  25880. },
  25881. listIsSuperselector0(list1, list2) {
  25882. return B.JSArray_methods.every$1(list2, new A.listIsSuperselector_closure0(list1));
  25883. },
  25884. _complexIsParentSuperselector0(complex1, complex2) {
  25885. var t1, base, t2;
  25886. if (J.get$length$asx(complex1) > J.get$length$asx(complex2))
  25887. return false;
  25888. t1 = $.$get$bogusSpan0();
  25889. 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_empty14, type$.CssValue_Combinator_2), t1);
  25890. t1 = type$.ComplexSelectorComponent_2;
  25891. t2 = A.List_List$of(complex1, true, t1);
  25892. t2.push(base);
  25893. t1 = A.List_List$of(complex2, true, t1);
  25894. t1.push(base);
  25895. return A.complexIsSuperselector0(t2, t1);
  25896. },
  25897. complexIsSuperselector0(complex1, complex2) {
  25898. var t1, t2, t3, i1, i2, previousCombinator, remaining1, t4, remaining2, component1, t5, parents, endOfSubselector, component2, combinator1;
  25899. if (B.JSArray_methods.get$last(complex1).combinators.length !== 0)
  25900. return false;
  25901. if (B.JSArray_methods.get$last(complex2).combinators.length !== 0)
  25902. return false;
  25903. for (t1 = type$.JSArray_ComplexSelectorComponent_2, t2 = A._arrayInstanceType(complex2), t3 = t2._precomputed1, t2 = t2._eval$1("SubListIterable<1>"), i1 = 0, i2 = 0, previousCombinator = null; true; previousCombinator = combinator1) {
  25904. remaining1 = complex1.length - i1;
  25905. t4 = complex2.length;
  25906. remaining2 = t4 - i2;
  25907. if (remaining1 === 0 || remaining2 === 0)
  25908. return false;
  25909. if (remaining1 > remaining2)
  25910. return false;
  25911. component1 = complex1[i1];
  25912. t5 = component1.combinators;
  25913. if (t5.length > 1)
  25914. return false;
  25915. if (remaining1 === 1) {
  25916. parents = B.JSArray_methods.sublist$2(complex2, i2, t4 - 1);
  25917. if (B.JSArray_methods.any$1(parents, new A.complexIsSuperselector_closure1()))
  25918. return false;
  25919. return A.compoundIsSuperselector0(component1.selector, B.JSArray_methods.get$last(complex2).selector, parents);
  25920. }
  25921. for (t4 = component1.selector, endOfSubselector = i2, parents = null; true;) {
  25922. component2 = complex2[endOfSubselector];
  25923. if (component2.combinators.length > 1)
  25924. return false;
  25925. if (A.compoundIsSuperselector0(t4, component2.selector, parents))
  25926. break;
  25927. ++endOfSubselector;
  25928. if (endOfSubselector === complex2.length - 1)
  25929. return false;
  25930. if (parents == null)
  25931. parents = A._setArrayType([], t1);
  25932. parents.push(component2);
  25933. }
  25934. if (!A._compatibleWithPreviousCombinator0(previousCombinator, parents == null ? B.List_empty13 : parents))
  25935. return false;
  25936. component2 = complex2[endOfSubselector];
  25937. combinator1 = A.IterableExtension_get_firstOrNull(t5);
  25938. if (!A._isSupercombinator0(combinator1, A.IterableExtension_get_firstOrNull(component2.combinators)))
  25939. return false;
  25940. ++i1;
  25941. i2 = endOfSubselector + 1;
  25942. if (complex1.length - i1 === 1) {
  25943. t4 = combinator1 == null;
  25944. if (J.$eq$(t4 ? null : combinator1.value, B.Combinator_y180)) {
  25945. t4 = complex2.length - 1;
  25946. t5 = new A.SubListIterable(complex2, 0, t4, t2);
  25947. t5.SubListIterable$3(complex2, 0, t4, t3);
  25948. if (!t5.skip$1(0, i2).every$1(0, new A.complexIsSuperselector_closure2(combinator1)))
  25949. return false;
  25950. } else if (!t4)
  25951. if (complex2.length - i2 > 1)
  25952. return false;
  25953. }
  25954. }
  25955. },
  25956. _compatibleWithPreviousCombinator0(previous, parents) {
  25957. if (parents.length === 0)
  25958. return true;
  25959. if (previous == null)
  25960. return true;
  25961. if (previous.value !== B.Combinator_y180)
  25962. return false;
  25963. return B.JSArray_methods.every$1(parents, new A._compatibleWithPreviousCombinator_closure0());
  25964. },
  25965. _isSupercombinator0(combinator1, combinator2) {
  25966. var t1, t2;
  25967. if (!J.$eq$(combinator1, combinator2)) {
  25968. t1 = combinator1 == null;
  25969. if (t1)
  25970. t2 = J.$eq$(combinator2 == null ? null : combinator2.value, B.Combinator_8I80);
  25971. else
  25972. t2 = false;
  25973. if (!t2)
  25974. if (J.$eq$(t1 ? null : combinator1.value, B.Combinator_y180))
  25975. t1 = J.$eq$(combinator2 == null ? null : combinator2.value, B.Combinator_gRV0);
  25976. else
  25977. t1 = false;
  25978. else
  25979. t1 = true;
  25980. } else
  25981. t1 = true;
  25982. return t1;
  25983. },
  25984. compoundIsSuperselector0(compound1, compound2, parents) {
  25985. var t2, pseudo1, index1, t3, pseudo2, index2, _0_50, t4, t5, _i, simple1, _null = null,
  25986. _0_1 = A._findPseudoElementIndexed0(compound1),
  25987. _0_5 = A._findPseudoElementIndexed0(compound2),
  25988. t1 = type$.Record_2_nullable_Object_and_nullable_Object,
  25989. _0_5_isSet = t1._is(_0_1);
  25990. if (_0_5_isSet) {
  25991. t2 = _0_1 == null;
  25992. pseudo1 = (t2 ? t1._as(_0_1) : _0_1)._0;
  25993. index1 = (t2 ? t1._as(_0_1) : _0_1)._1;
  25994. t2 = t1._is(_0_5);
  25995. if (t2) {
  25996. t3 = _0_5 == null;
  25997. pseudo2 = (t3 ? t1._as(_0_5) : _0_5)._0;
  25998. index2 = (t3 ? t1._as(_0_5) : _0_5)._1;
  25999. } else {
  26000. index2 = _null;
  26001. pseudo2 = index2;
  26002. }
  26003. t1 = t2;
  26004. _0_50 = _0_5;
  26005. } else {
  26006. index2 = _null;
  26007. pseudo2 = index2;
  26008. index1 = pseudo2;
  26009. pseudo1 = index1;
  26010. _0_50 = pseudo1;
  26011. t1 = false;
  26012. }
  26013. if (t1) {
  26014. if (pseudo1.isSuperselector$1(pseudo2)) {
  26015. t1 = compound1.components;
  26016. t2 = type$.int;
  26017. t3 = A._arrayInstanceType(t1)._precomputed1;
  26018. t4 = compound2.components;
  26019. t5 = A._arrayInstanceType(t4)._precomputed1;
  26020. 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);
  26021. } else
  26022. t1 = false;
  26023. return t1;
  26024. }
  26025. if (_0_1 == null)
  26026. t1 = (_0_5_isSet ? _0_50 : _0_5) != null;
  26027. else
  26028. t1 = true;
  26029. if (t1)
  26030. return false;
  26031. for (t1 = compound1.components, t2 = t1.length, t3 = compound2.components, _i = 0; _i < t2; ++_i) {
  26032. simple1 = t1[_i];
  26033. if (simple1 instanceof A.PseudoSelector0)
  26034. t4 = simple1.selector != null;
  26035. else
  26036. t4 = false;
  26037. if (t4) {
  26038. if (!A._selectorPseudoIsSuperselector0(simple1, compound2, parents))
  26039. return false;
  26040. } else if (!B.JSArray_methods.any$1(t3, simple1.get$isSuperselector()))
  26041. return false;
  26042. }
  26043. return true;
  26044. },
  26045. _findPseudoElementIndexed0(compound) {
  26046. var t1, t2, i, simple;
  26047. for (t1 = compound.components, t2 = t1.length, i = 0; i < t2; ++i) {
  26048. simple = t1[i];
  26049. if (simple instanceof A.PseudoSelector0 && !simple.isClass)
  26050. return new A._Record_2(simple, i);
  26051. }
  26052. return null;
  26053. },
  26054. _compoundComponentsIsSuperselector0(compound1, compound2, parents) {
  26055. var t1;
  26056. if (compound1.get$length(0) === 0)
  26057. return true;
  26058. if (compound2.get$length(0) === 0)
  26059. compound2 = A._setArrayType([new A.UniversalSelector0("*", $.$get$bogusSpan0())], type$.JSArray_SimpleSelector_2);
  26060. t1 = $.$get$bogusSpan0();
  26061. return A.compoundIsSuperselector0(A.CompoundSelector$0(compound1, t1), A.CompoundSelector$0(compound2, t1), parents);
  26062. },
  26063. _selectorPseudoIsSuperselector0(pseudo1, compound2, parents) {
  26064. var selector1 = pseudo1.selector;
  26065. if (selector1 == null)
  26066. throw A.wrapException(A.ArgumentError$("Selector " + pseudo1.toString$0(0) + " must have a selector argument.", null));
  26067. switch (pseudo1.normalizedName) {
  26068. case "is":
  26069. case "matches":
  26070. case "any":
  26071. case "where":
  26072. 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));
  26073. case "has":
  26074. case "host":
  26075. case "host-context":
  26076. return A._selectorPseudoArgs0(compound2, pseudo1.name, true).any$1(0, new A._selectorPseudoIsSuperselector_closure8(selector1));
  26077. case "slotted":
  26078. return A._selectorPseudoArgs0(compound2, pseudo1.name, false).any$1(0, new A._selectorPseudoIsSuperselector_closure9(selector1));
  26079. case "not":
  26080. return B.JSArray_methods.every$1(selector1.components, new A._selectorPseudoIsSuperselector_closure10(compound2, pseudo1));
  26081. case "current":
  26082. return A._selectorPseudoArgs0(compound2, pseudo1.name, true).any$1(0, new A._selectorPseudoIsSuperselector_closure11(selector1));
  26083. case "nth-child":
  26084. case "nth-last-child":
  26085. return B.JSArray_methods.any$1(compound2.components, new A._selectorPseudoIsSuperselector_closure12(pseudo1, selector1));
  26086. default:
  26087. throw A.wrapException("unreachable");
  26088. }
  26089. },
  26090. _selectorPseudoArgs0(compound, $name, isClass) {
  26091. var t1 = type$.WhereTypeIterable_PseudoSelector_2;
  26092. return A.IterableNullableExtension_whereNotNull(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$.SelectorList_2);
  26093. },
  26094. unifyComplex_closure0: function unifyComplex_closure0() {
  26095. },
  26096. _weaveParents_closure3: function _weaveParents_closure3(t0) {
  26097. this.span = t0;
  26098. },
  26099. _weaveParents_closure4: function _weaveParents_closure4(t0) {
  26100. this.group = t0;
  26101. },
  26102. _weaveParents_closure5: function _weaveParents_closure5() {
  26103. },
  26104. _weaveParents_closure6: function _weaveParents_closure6() {
  26105. },
  26106. _mustUnify_closure0: function _mustUnify_closure0(t0) {
  26107. this.uniqueSelectors = t0;
  26108. },
  26109. _mustUnify__closure0: function _mustUnify__closure0(t0) {
  26110. this.uniqueSelectors = t0;
  26111. },
  26112. paths_closure0: function paths_closure0(t0) {
  26113. this.T = t0;
  26114. },
  26115. paths__closure0: function paths__closure0(t0, t1) {
  26116. this.paths = t0;
  26117. this.T = t1;
  26118. },
  26119. paths___closure0: function paths___closure0(t0, t1) {
  26120. this.option = t0;
  26121. this.T = t1;
  26122. },
  26123. listIsSuperselector_closure0: function listIsSuperselector_closure0(t0) {
  26124. this.list1 = t0;
  26125. },
  26126. listIsSuperselector__closure0: function listIsSuperselector__closure0(t0) {
  26127. this.complex1 = t0;
  26128. },
  26129. complexIsSuperselector_closure1: function complexIsSuperselector_closure1() {
  26130. },
  26131. complexIsSuperselector_closure2: function complexIsSuperselector_closure2(t0) {
  26132. this.combinator1 = t0;
  26133. },
  26134. _compatibleWithPreviousCombinator_closure0: function _compatibleWithPreviousCombinator_closure0() {
  26135. },
  26136. _selectorPseudoIsSuperselector_closure6: function _selectorPseudoIsSuperselector_closure6(t0) {
  26137. this.selector1 = t0;
  26138. },
  26139. _selectorPseudoIsSuperselector_closure7: function _selectorPseudoIsSuperselector_closure7(t0, t1) {
  26140. this.parents = t0;
  26141. this.compound2 = t1;
  26142. },
  26143. _selectorPseudoIsSuperselector_closure8: function _selectorPseudoIsSuperselector_closure8(t0) {
  26144. this.selector1 = t0;
  26145. },
  26146. _selectorPseudoIsSuperselector_closure9: function _selectorPseudoIsSuperselector_closure9(t0) {
  26147. this.selector1 = t0;
  26148. },
  26149. _selectorPseudoIsSuperselector_closure10: function _selectorPseudoIsSuperselector_closure10(t0, t1) {
  26150. this.compound2 = t0;
  26151. this.pseudo1 = t1;
  26152. },
  26153. _selectorPseudoIsSuperselector__closure0: function _selectorPseudoIsSuperselector__closure0(t0, t1) {
  26154. this.complex = t0;
  26155. this.pseudo1 = t1;
  26156. },
  26157. _selectorPseudoIsSuperselector___closure1: function _selectorPseudoIsSuperselector___closure1(t0) {
  26158. this.simple2 = t0;
  26159. },
  26160. _selectorPseudoIsSuperselector___closure2: function _selectorPseudoIsSuperselector___closure2(t0) {
  26161. this.simple2 = t0;
  26162. },
  26163. _selectorPseudoIsSuperselector_closure11: function _selectorPseudoIsSuperselector_closure11(t0) {
  26164. this.selector1 = t0;
  26165. },
  26166. _selectorPseudoIsSuperselector_closure12: function _selectorPseudoIsSuperselector_closure12(t0, t1) {
  26167. this.pseudo1 = t0;
  26168. this.selector1 = t1;
  26169. },
  26170. _selectorPseudoArgs_closure1: function _selectorPseudoArgs_closure1(t0, t1) {
  26171. this.isClass = t0;
  26172. this.name = t1;
  26173. },
  26174. _selectorPseudoArgs_closure2: function _selectorPseudoArgs_closure2() {
  26175. },
  26176. globalFunctions_closure0: function globalFunctions_closure0() {
  26177. },
  26178. IDSelector0: function IDSelector0(t0, t1) {
  26179. this.name = t0;
  26180. this.span = t1;
  26181. },
  26182. IDSelector_unify_closure0: function IDSelector_unify_closure0(t0) {
  26183. this.$this = t0;
  26184. },
  26185. IfExpression0: function IfExpression0(t0, t1) {
  26186. this.$arguments = t0;
  26187. this.span = t1;
  26188. },
  26189. IfClause$0(expression, children) {
  26190. var t1 = A.List_List$unmodifiable(children, type$.Statement_2);
  26191. return new A.IfClause0(expression, t1, B.JSArray_methods.any$1(t1, new A.IfRuleClause$__closure0()));
  26192. },
  26193. ElseClause$0(children) {
  26194. var t1 = A.List_List$unmodifiable(children, type$.Statement_2);
  26195. return new A.ElseClause0(t1, B.JSArray_methods.any$1(t1, new A.IfRuleClause$__closure0()));
  26196. },
  26197. IfRule0: function IfRule0(t0, t1, t2) {
  26198. this.clauses = t0;
  26199. this.lastClause = t1;
  26200. this.span = t2;
  26201. },
  26202. IfRule_toString_closure0: function IfRule_toString_closure0() {
  26203. },
  26204. IfRuleClause0: function IfRuleClause0() {
  26205. },
  26206. IfRuleClause$__closure0: function IfRuleClause$__closure0() {
  26207. },
  26208. IfRuleClause$___closure0: function IfRuleClause$___closure0() {
  26209. },
  26210. IfClause0: function IfClause0(t0, t1, t2) {
  26211. this.expression = t0;
  26212. this.children = t1;
  26213. this.hasDeclarations = t2;
  26214. },
  26215. ElseClause0: function ElseClause0(t0, t1) {
  26216. this.children = t0;
  26217. this.hasDeclarations = t1;
  26218. },
  26219. jsToDartList(list) {
  26220. return self.immutable.isOrderedMap(list) ? J.toArray$0$x(type$.ImmutableList._as(list)) : type$.List_dynamic._as(list);
  26221. },
  26222. dartMapToImmutableMap(dartMap) {
  26223. var t1, t2,
  26224. immutableMap = J.asMutable$0$x(new self.immutable.OrderedMap());
  26225. for (t1 = A.MapExtensions_get_pairs0(dartMap, type$.Object, type$.nullable_Object), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  26226. t2 = t1.get$current(t1);
  26227. immutableMap = J.$set$2$x(immutableMap, t2._0, t2._1);
  26228. }
  26229. return J.asImmutable$0$x(immutableMap);
  26230. },
  26231. immutableMapToDartMap(immutableMap) {
  26232. var dartMap = A.LinkedHashMap_LinkedHashMap$_empty(type$.Object, type$.nullable_Object);
  26233. J.forEach$1$ax(immutableMap, A.allowInterop(new A.immutableMapToDartMap_closure(dartMap)));
  26234. return dartMap;
  26235. },
  26236. ImmutableList0: function ImmutableList0() {
  26237. },
  26238. ImmutableMap0: function ImmutableMap0() {
  26239. },
  26240. immutableMapToDartMap_closure: function immutableMapToDartMap_closure(t0) {
  26241. this.dartMap = t0;
  26242. },
  26243. NodeImporter__addSassPath(includePaths) {
  26244. return new A._SyncStarIterable(A.NodeImporter__addSassPath$body(includePaths), type$._SyncStarIterable_String);
  26245. },
  26246. NodeImporter__addSassPath$body($async$includePaths) {
  26247. return function() {
  26248. var includePaths = $async$includePaths;
  26249. var $async$goto = 0, $async$handler = 2, $async$currentError, sassPath, t1;
  26250. return function $async$NodeImporter__addSassPath($async$iterator, $async$errorCode, $async$result) {
  26251. if ($async$errorCode === 1) {
  26252. $async$currentError = $async$result;
  26253. $async$goto = $async$handler;
  26254. }
  26255. while (true)
  26256. switch ($async$goto) {
  26257. case 0:
  26258. // Function start
  26259. $async$goto = 3;
  26260. return $async$iterator._yieldStar$1(includePaths);
  26261. case 3:
  26262. // after yield
  26263. sassPath = A.getEnvironmentVariable0("SASS_PATH");
  26264. if (sassPath == null) {
  26265. // goto return
  26266. $async$goto = 1;
  26267. break;
  26268. }
  26269. t1 = A.isNodeJs() ? self.process : null;
  26270. $async$goto = 4;
  26271. return $async$iterator._yieldStar$1(A._setArrayType(sassPath.split(J.$eq$(t1 == null ? null : J.get$platform$x(t1), "win32") ? ";" : ":"), type$.JSArray_String));
  26272. case 4:
  26273. // after yield
  26274. case 1:
  26275. // return
  26276. return 0;
  26277. case 2:
  26278. // rethrow
  26279. return $async$iterator._datum = $async$currentError, 3;
  26280. }
  26281. };
  26282. };
  26283. },
  26284. NodeImporter: function NodeImporter(t0, t1, t2) {
  26285. this._implementation$_options = t0;
  26286. this._includePaths = t1;
  26287. this._implementation$_importers = t2;
  26288. },
  26289. NodeImporter_load_closure: function NodeImporter_load_closure(t0, t1, t2, t3, t4) {
  26290. var _ = this;
  26291. _.$this = t0;
  26292. _.importer = t1;
  26293. _.forImport = t2;
  26294. _.url = t3;
  26295. _.previousString = t4;
  26296. },
  26297. NodeImporter__tryPath_closure: function NodeImporter__tryPath_closure(t0) {
  26298. this.path = t0;
  26299. },
  26300. NodeImporter__tryPath_closure0: function NodeImporter__tryPath_closure0() {
  26301. },
  26302. NodeImporter__callImporterAsync_closure: function NodeImporter__callImporterAsync_closure(t0, t1, t2, t3, t4, t5) {
  26303. var _ = this;
  26304. _.$this = t0;
  26305. _.importer = t1;
  26306. _.forImport = t2;
  26307. _.url = t3;
  26308. _.previousString = t4;
  26309. _.completer = t5;
  26310. },
  26311. ModifiableCssImport0: function ModifiableCssImport0(t0, t1, t2) {
  26312. var _ = this;
  26313. _.url = t0;
  26314. _.modifiers = t1;
  26315. _.span = t2;
  26316. _._node$_indexInParent = _._node$_parent = null;
  26317. _.isGroupEnd = false;
  26318. },
  26319. ImportCache$0(importers, loadPaths, logger, packageConfig) {
  26320. var t1 = type$.nullable_Record_3_Importer_and_Uri_and_Uri_originalUrl_2,
  26321. t2 = type$.Record_3_Importer_and_Uri_and_bool_forImport_2,
  26322. t3 = type$.Uri,
  26323. t4 = A.ImportCache__toImporters0(importers, loadPaths, packageConfig);
  26324. return new A.ImportCache0(t4, logger, 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));
  26325. },
  26326. ImportCache$none(logger) {
  26327. var t1 = type$.nullable_Record_3_Importer_and_Uri_and_Uri_originalUrl_2,
  26328. t2 = type$.Record_3_Importer_and_Uri_and_bool_forImport_2,
  26329. t3 = type$.Uri;
  26330. return new A.ImportCache0(B.List_empty23, logger, 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));
  26331. },
  26332. ImportCache__toImporters0(importers, loadPaths, packageConfig) {
  26333. var t1, t2, t3, t4, _i, path, _null = null,
  26334. sassPath = A.getEnvironmentVariable0("SASS_PATH");
  26335. if (A.isBrowser()) {
  26336. t1 = A._setArrayType([], type$.JSArray_Importer_2);
  26337. if (importers != null)
  26338. B.JSArray_methods.addAll$1(t1, importers);
  26339. return t1;
  26340. }
  26341. t1 = A._setArrayType([], type$.JSArray_Importer_2);
  26342. if (importers != null)
  26343. B.JSArray_methods.addAll$1(t1, importers);
  26344. if (loadPaths != null)
  26345. for (t2 = J.get$iterator$ax(loadPaths); t2.moveNext$0();) {
  26346. t3 = t2.get$current(t2);
  26347. 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));
  26348. }
  26349. if (sassPath != null) {
  26350. t2 = A.isNodeJs() ? self.process : _null;
  26351. t3 = sassPath.split(J.$eq$(t2 == null ? _null : J.get$platform$x(t2), "win32") ? ";" : ":");
  26352. t4 = t3.length;
  26353. _i = 0;
  26354. for (; _i < t4; ++_i) {
  26355. path = t3[_i];
  26356. 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));
  26357. }
  26358. }
  26359. return t1;
  26360. },
  26361. ImportCache0: function ImportCache0(t0, t1, t2, t3, t4, t5, t6) {
  26362. var _ = this;
  26363. _._import_cache$_importers = t0;
  26364. _._import_cache$_logger = t1;
  26365. _._import_cache$_canonicalizeCache = t2;
  26366. _._import_cache$_perImporterCanonicalizeCache = t3;
  26367. _._import_cache$_nonCanonicalRelativeUrls = t4;
  26368. _._import_cache$_importCache = t5;
  26369. _._import_cache$_resultsCache = t6;
  26370. },
  26371. ImportCache_canonicalize_closure0: function ImportCache_canonicalize_closure0(t0, t1, t2, t3, t4, t5, t6) {
  26372. var _ = this;
  26373. _.$this = t0;
  26374. _.baseImporter = t1;
  26375. _.resolvedUrl = t2;
  26376. _.baseUrl = t3;
  26377. _.forImport = t4;
  26378. _.key = t5;
  26379. _.url = t6;
  26380. },
  26381. ImportCache__canonicalize_closure0: function ImportCache__canonicalize_closure0(t0, t1) {
  26382. this.importer = t0;
  26383. this.url = t1;
  26384. },
  26385. ImportCache_importCanonical_closure0: function ImportCache_importCanonical_closure0(t0, t1, t2, t3, t4) {
  26386. var _ = this;
  26387. _.$this = t0;
  26388. _.importer = t1;
  26389. _.canonicalUrl = t2;
  26390. _.originalUrl = t3;
  26391. _.quiet = t4;
  26392. },
  26393. ImportCache_humanize_closure3: function ImportCache_humanize_closure3(t0) {
  26394. this.canonicalUrl = t0;
  26395. },
  26396. ImportCache_humanize_closure4: function ImportCache_humanize_closure4() {
  26397. },
  26398. ImportCache_humanize_closure5: function ImportCache_humanize_closure5() {
  26399. },
  26400. ImportCache_humanize_closure6: function ImportCache_humanize_closure6(t0) {
  26401. this.canonicalUrl = t0;
  26402. },
  26403. ImportRule0: function ImportRule0(t0, t1) {
  26404. this.imports = t0;
  26405. this.span = t1;
  26406. },
  26407. JSImporter: function JSImporter() {
  26408. },
  26409. JSImporterResult: function JSImporterResult() {
  26410. },
  26411. Importer0: function Importer0() {
  26412. },
  26413. NodeImporterResult0: function NodeImporterResult0() {
  26414. },
  26415. IncludeRule0: function IncludeRule0(t0, t1, t2, t3, t4, t5) {
  26416. var _ = this;
  26417. _.namespace = t0;
  26418. _.name = t1;
  26419. _.originalName = t2;
  26420. _.$arguments = t3;
  26421. _.content = t4;
  26422. _.span = t5;
  26423. },
  26424. InterpolatedFunctionExpression0: function InterpolatedFunctionExpression0(t0, t1, t2) {
  26425. this.name = t0;
  26426. this.$arguments = t1;
  26427. this.span = t2;
  26428. },
  26429. Interpolation$0(contents, span) {
  26430. var t1 = new A.Interpolation0(A.List_List$unmodifiable(contents, type$.Object), span);
  26431. t1.Interpolation$20(contents, span);
  26432. return t1;
  26433. },
  26434. Interpolation0: function Interpolation0(t0, t1) {
  26435. this.contents = t0;
  26436. this.span = t1;
  26437. },
  26438. Interpolation_toString_closure0: function Interpolation_toString_closure0() {
  26439. },
  26440. SupportsInterpolation0: function SupportsInterpolation0(t0, t1) {
  26441. this.expression = t0;
  26442. this.span = t1;
  26443. },
  26444. InterpolationBuffer0: function InterpolationBuffer0(t0, t1) {
  26445. this._interpolation_buffer0$_text = t0;
  26446. this._interpolation_buffer0$_contents = t1;
  26447. },
  26448. InterpolationMap$0(_interpolation, targetLocations) {
  26449. var t1 = A.List_List$unmodifiable(targetLocations, type$.SourceLocation),
  26450. t2 = _interpolation.contents.length,
  26451. expectedLocations = Math.max(0, t2 - 1);
  26452. if (t1.length !== expectedLocations)
  26453. A.throwExpression(A.ArgumentError$("InterpolationMap must have " + A.S(expectedLocations) + string$.x20targe + t2 + " components.", null));
  26454. return new A.InterpolationMap0(_interpolation, t1);
  26455. },
  26456. InterpolationMap0: function InterpolationMap0(t0, t1) {
  26457. this._interpolation_map$_interpolation = t0;
  26458. this._interpolation_map$_targetLocations = t1;
  26459. },
  26460. InterpolationMap_mapException_closure0: function InterpolationMap_mapException_closure0() {
  26461. },
  26462. _realCasePath0(path) {
  26463. var prefix, _null = null,
  26464. t1 = A.isNodeJs() ? self.process : _null;
  26465. if (!J.$eq$(t1 == null ? _null : J.get$platform$x(t1), "win32")) {
  26466. t1 = A.isNodeJs() ? self.process : _null;
  26467. t1 = J.$eq$(t1 == null ? _null : J.get$platform$x(t1), "darwin");
  26468. } else
  26469. t1 = true;
  26470. if (!t1)
  26471. return path;
  26472. t1 = A.isNodeJs() ? self.process : _null;
  26473. if (J.$eq$(t1 == null ? _null : J.get$platform$x(t1), "win32")) {
  26474. prefix = B.JSString_methods.substring$2(path, 0, $.$get$context().style.rootLength$1(path));
  26475. t1 = prefix.length;
  26476. if (t1 !== 0 && A.CharacterExtension_get_isAlphabetic0(prefix.charCodeAt(0)))
  26477. path = prefix.toUpperCase() + B.JSString_methods.substring$1(path, t1);
  26478. }
  26479. return new A._realCasePath_helper0().call$1(path);
  26480. },
  26481. _realCasePath_helper0: function _realCasePath_helper0() {
  26482. },
  26483. _realCasePath_helper_closure0: function _realCasePath_helper_closure0(t0, t1, t2) {
  26484. this.helper = t0;
  26485. this.dirname = t1;
  26486. this.path = t2;
  26487. },
  26488. _realCasePath_helper__closure0: function _realCasePath_helper__closure0(t0) {
  26489. this.basename = t0;
  26490. },
  26491. printError0(message) {
  26492. var t1 = A.isNodeJs() ? self.process : null;
  26493. if (t1 != null) {
  26494. t1 = J.get$stderr$x(t1);
  26495. J.write$1$x(t1, A.S(message) + "\n");
  26496. } else {
  26497. t1 = self.console;
  26498. J.error$1$x(t1, message);
  26499. }
  26500. },
  26501. readFile0(path) {
  26502. var contents, sourceFile, t1, i;
  26503. if (!A.isNodeJs())
  26504. throw A.wrapException(A.UnsupportedError$("readFile() is only supported on Node.js"));
  26505. contents = A._asString(A._readFile0(path, "utf8"));
  26506. if (!B.JSString_methods.contains$1(contents, "\ufffd"))
  26507. return contents;
  26508. sourceFile = A.SourceFile$fromString(contents, $.$get$context().toUri$1(path));
  26509. for (t1 = contents.length, i = 0; i < t1; ++i) {
  26510. if (contents.charCodeAt(i) !== 65533)
  26511. continue;
  26512. throw A.wrapException(A.SassException$0("Invalid UTF-8.", A.FileLocation$_(sourceFile, i).pointSpan$0(), null));
  26513. }
  26514. return contents;
  26515. },
  26516. _readFile0(path, encoding) {
  26517. return A._systemErrorToFileSystemException0(new A._readFile_closure0(path, encoding));
  26518. },
  26519. fileExists0(path) {
  26520. if (!A.isNodeJs())
  26521. throw A.wrapException(A.UnsupportedError$(string$.fileEx));
  26522. return A._systemErrorToFileSystemException0(new A.fileExists_closure0(path));
  26523. },
  26524. dirExists0(path) {
  26525. if (!A.isNodeJs())
  26526. throw A.wrapException(A.UnsupportedError$("dirExists() is only supported on Node.js"));
  26527. return A._systemErrorToFileSystemException0(new A.dirExists_closure0(path));
  26528. },
  26529. listDir0(path) {
  26530. if (!A.isNodeJs())
  26531. throw A.wrapException(A.UnsupportedError$("listDir() is only supported on Node.js"));
  26532. return A._systemErrorToFileSystemException0(new A.listDir_closure0(false, path));
  26533. },
  26534. getEnvironmentVariable0($name) {
  26535. var t1 = A.isNodeJs() ? self.process : null,
  26536. env = t1 == null ? null : J.get$env$x(t1);
  26537. if (env == null)
  26538. t1 = null;
  26539. else
  26540. t1 = A._asStringQ(env[$name]);
  26541. return t1;
  26542. },
  26543. _systemErrorToFileSystemException0(callback) {
  26544. var error, t1, exception, t2;
  26545. try {
  26546. t1 = callback.call$0();
  26547. return t1;
  26548. } catch (exception) {
  26549. error = A.unwrapException(exception);
  26550. if (!type$.JsSystemError._is(error))
  26551. throw exception;
  26552. t1 = error;
  26553. t2 = J.getInterceptor$x(t1);
  26554. 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)));
  26555. }
  26556. },
  26557. hasTerminal0() {
  26558. var t1 = A.isNodeJs() ? self.process : null;
  26559. return J.$eq$(t1 == null ? null : J.get$isTTY$x(J.get$stdout$x(t1)), true);
  26560. },
  26561. FileSystemException0: function FileSystemException0(t0, t1) {
  26562. this.message = t0;
  26563. this.path = t1;
  26564. },
  26565. _readFile_closure0: function _readFile_closure0(t0, t1) {
  26566. this.path = t0;
  26567. this.encoding = t1;
  26568. },
  26569. fileExists_closure0: function fileExists_closure0(t0) {
  26570. this.path = t0;
  26571. },
  26572. dirExists_closure0: function dirExists_closure0(t0) {
  26573. this.path = t0;
  26574. },
  26575. listDir_closure0: function listDir_closure0(t0, t1) {
  26576. this.recursive = t0;
  26577. this.path = t1;
  26578. },
  26579. listDir__closure1: function listDir__closure1(t0) {
  26580. this.path = t0;
  26581. },
  26582. listDir__closure2: function listDir__closure2() {
  26583. },
  26584. listDir_closure_list0: function listDir_closure_list0() {
  26585. },
  26586. listDir__list_closure0: function listDir__list_closure0(t0, t1) {
  26587. this.parent = t0;
  26588. this.list = t1;
  26589. },
  26590. main() {
  26591. J.set$compile$x(self.exports, A.allowInteropNamed("sass.compile", A.compile__compile$closure()));
  26592. J.set$compileString$x(self.exports, A.allowInteropNamed("sass.compileString", A.compile__compileString$closure()));
  26593. J.set$compileAsync$x(self.exports, A.allowInteropNamed("sass.compileAsync", A.compile__compileAsync$closure()));
  26594. J.set$compileStringAsync$x(self.exports, A.allowInteropNamed("sass.compileStringAsync", A.compile__compileStringAsync$closure()));
  26595. J.set$initCompiler$x(self.exports, A.allowInteropNamed("sass.initCompiler", A.compiler__initCompiler$closure()));
  26596. J.set$initAsyncCompiler$x(self.exports, A.allowInteropNamed("sass.initAsyncCompiler", A.compiler__initAsyncCompiler$closure()));
  26597. J.set$Compiler$x(self.exports, $.$get$compilerClass());
  26598. J.set$AsyncCompiler$x(self.exports, $.$get$asyncCompilerClass());
  26599. J.set$Value$x(self.exports, $.$get$valueClass());
  26600. J.set$SassBoolean$x(self.exports, $.$get$booleanClass());
  26601. J.set$SassArgumentList$x(self.exports, $.$get$argumentListClass());
  26602. J.set$SassCalculation$x(self.exports, $.$get$calculationClass());
  26603. J.set$CalculationOperation$x(self.exports, $.$get$calculationOperationClass());
  26604. J.set$CalculationInterpolation$x(self.exports, $.$get$calculationInterpolationClass());
  26605. J.set$SassColor$x(self.exports, $.$get$colorClass());
  26606. J.set$SassFunction$x(self.exports, $.$get$functionClass());
  26607. J.set$SassMixin$x(self.exports, $.$get$mixinClass());
  26608. J.set$SassList$x(self.exports, $.$get$listClass());
  26609. J.set$SassMap$x(self.exports, $.$get$mapClass());
  26610. J.set$SassNumber$x(self.exports, $.$get$numberClass());
  26611. J.set$SassString$x(self.exports, $.$get$stringClass());
  26612. J.set$sassNull$x(self.exports, B.C__SassNull0);
  26613. J.set$sassTrue$x(self.exports, B.SassBoolean_true0);
  26614. J.set$sassFalse$x(self.exports, B.SassBoolean_false0);
  26615. J.set$Exception$x(self.exports, $.$get$exceptionClass());
  26616. 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())}});
  26617. J.set$NodePackageImporter$x(self.exports, $.$get$nodePackageImporterClass());
  26618. J.set$deprecations$x(self.exports, A.jsify($.$get$deprecations()));
  26619. J.set$Version$x(self.exports, $.$get$versionClass());
  26620. J.set$info$x(self.exports, "dart-sass\t1.77.2\t(Sass Compiler)\t[Dart]\ndart2js\t3.4.0\t(Dart Compiler)\t[Dart]");
  26621. A.updateCanonicalizeContextPrototype();
  26622. A.updateSourceSpanPrototype();
  26623. J.set$render$x(self.exports, A.allowInteropNamed("sass.render", A.legacy__render$closure()));
  26624. J.set$renderSync$x(self.exports, A.allowInteropNamed("sass.renderSync", A.legacy__renderSync$closure()));
  26625. 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});
  26626. J.set$NULL$x(self.exports, B.C__SassNull0);
  26627. J.set$TRUE$x(self.exports, B.SassBoolean_true0);
  26628. J.set$FALSE$x(self.exports, B.SassBoolean_false0);
  26629. },
  26630. main_closure: function main_closure() {
  26631. },
  26632. main_closure0: function main_closure0() {
  26633. },
  26634. JSToDartLogger: function JSToDartLogger(t0, t1, t2) {
  26635. this._node = t0;
  26636. this._fallback = t1;
  26637. this._ascii = t2;
  26638. },
  26639. JSToDartLogger_internalWarn_closure: function JSToDartLogger_internalWarn_closure(t0, t1, t2, t3, t4) {
  26640. var _ = this;
  26641. _.$this = t0;
  26642. _.message = t1;
  26643. _.span = t2;
  26644. _.trace = t3;
  26645. _.deprecation = t4;
  26646. },
  26647. JSToDartLogger_debug_closure: function JSToDartLogger_debug_closure(t0, t1, t2) {
  26648. this.$this = t0;
  26649. this.message = t1;
  26650. this.span = t2;
  26651. },
  26652. ModifiableCssKeyframeBlock$0(selector, span) {
  26653. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  26654. return new A.ModifiableCssKeyframeBlock0(selector, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode_2), t1);
  26655. },
  26656. ModifiableCssKeyframeBlock0: function ModifiableCssKeyframeBlock0(t0, t1, t2, t3) {
  26657. var _ = this;
  26658. _.selector = t0;
  26659. _.span = t1;
  26660. _.children = t2;
  26661. _._node$_children = t3;
  26662. _._node$_indexInParent = _._node$_parent = null;
  26663. _.isGroupEnd = false;
  26664. },
  26665. KeyframeSelectorParser$0(contents, interpolationMap, logger) {
  26666. var t1 = A.SpanScanner$(contents, null);
  26667. return new A.KeyframeSelectorParser0(t1, logger, interpolationMap);
  26668. },
  26669. KeyframeSelectorParser0: function KeyframeSelectorParser0(t0, t1, t2) {
  26670. this.scanner = t0;
  26671. this.logger = t1;
  26672. this._parser0$_interpolationMap = t2;
  26673. },
  26674. KeyframeSelectorParser_parse_closure0: function KeyframeSelectorParser_parse_closure0(t0) {
  26675. this.$this = t0;
  26676. },
  26677. LazyFileSpan0: function LazyFileSpan0(t0) {
  26678. this._lazy_file_span0$_builder = t0;
  26679. this._lazy_file_span0$_span = null;
  26680. },
  26681. render(options, callback) {
  26682. var _0_0;
  26683. if (!A.isNodeJs())
  26684. A.jsThrow(new self.Error("The render() method is only available in Node.js."));
  26685. _0_0 = J.get$fiber$x(options);
  26686. if (_0_0 != null)
  26687. J.run$0$x(_0_0.call$1(A.allowInterop(new A.render_closure(callback, options))));
  26688. else
  26689. A._renderAsync(options).then$1$2$onError(0, new A.render_closure0(callback), new A.render_closure1(callback), type$.Null);
  26690. },
  26691. _renderAsync(options) {
  26692. var $async$goto = 0,
  26693. $async$completer = A._makeAsyncAwaitCompleter(type$.RenderResult),
  26694. $async$returnValue, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, result, start, t1, file, _0_0;
  26695. var $async$_renderAsync = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  26696. if ($async$errorCode === 1)
  26697. return A._asyncRethrow($async$result, $async$completer);
  26698. while (true)
  26699. switch ($async$goto) {
  26700. case 0:
  26701. // Function start
  26702. start = new A.DateTime(Date.now(), false);
  26703. t1 = J.getInterceptor$x(options);
  26704. file = A.NullableExtension_andThen0(t1.get$file(options), A.path__absolute$closure());
  26705. _0_0 = t1.get$data(options);
  26706. $async$goto = _0_0 != null ? 3 : 5;
  26707. break;
  26708. case 3:
  26709. // then
  26710. t2 = A._parseImporter(options, start);
  26711. t3 = A._parsePackageImportersAsync(options, start);
  26712. t4 = A._parseFunctions(options, start, true);
  26713. t5 = t1.get$indentedSyntax(options);
  26714. t5 = !J.$eq$(t5, false) && t5 != null ? B.Syntax_Sass_sass0 : null;
  26715. t6 = A._parseOutputStyle(t1.get$outputStyle(options));
  26716. t7 = J.$eq$(t1.get$indentType(options), "tab");
  26717. t8 = A._parseIndentWidth(t1.get$indentWidth(options));
  26718. t9 = A._parseLineFeed(t1.get$linefeed(options));
  26719. t10 = file == null ? "stdin" : $.$get$context().toUri$1(file).toString$0(0);
  26720. t11 = t1.get$quietDeps(options);
  26721. if (t11 == null)
  26722. t11 = false;
  26723. t12 = t1.get$verbose(options);
  26724. if (t12 == null)
  26725. t12 = false;
  26726. t13 = t1.get$charset(options);
  26727. if (t13 == null)
  26728. t13 = true;
  26729. t14 = A._enableSourceMaps(options);
  26730. t1 = t1.get$logger(options);
  26731. t15 = A.hasTerminal0();
  26732. t16 = $._glyphs;
  26733. $async$goto = 6;
  26734. return A._asyncAwait(A.compileStringAsync0(_0_0, t13, null, t4, null, t3, null, t8, t9, new A.JSToDartLogger(t1, new A.StderrLogger0(t15), t16 === B.C_AsciiGlyphSet), t2, t11, null, t14, t6, t5, t10, !t7, t12), $async$_renderAsync);
  26735. case 6:
  26736. // returning from await.
  26737. result = $async$result;
  26738. // goto join
  26739. $async$goto = 4;
  26740. break;
  26741. case 5:
  26742. // else
  26743. $async$goto = file != null ? 7 : 9;
  26744. break;
  26745. case 7:
  26746. // then
  26747. t2 = A._parseImporter(options, start);
  26748. t3 = A._parsePackageImportersAsync(options, start);
  26749. t4 = A._parseFunctions(options, start, true);
  26750. t5 = t1.get$indentedSyntax(options);
  26751. t5 = !J.$eq$(t5, false) && t5 != null ? B.Syntax_Sass_sass0 : null;
  26752. t6 = A._parseOutputStyle(t1.get$outputStyle(options));
  26753. t7 = J.$eq$(t1.get$indentType(options), "tab");
  26754. t8 = A._parseIndentWidth(t1.get$indentWidth(options));
  26755. t9 = A._parseLineFeed(t1.get$linefeed(options));
  26756. t10 = t1.get$quietDeps(options);
  26757. if (t10 == null)
  26758. t10 = false;
  26759. t11 = t1.get$verbose(options);
  26760. if (t11 == null)
  26761. t11 = false;
  26762. t12 = t1.get$charset(options);
  26763. if (t12 == null)
  26764. t12 = true;
  26765. t13 = A._enableSourceMaps(options);
  26766. t1 = t1.get$logger(options);
  26767. t14 = A.hasTerminal0();
  26768. t15 = $._glyphs;
  26769. $async$goto = 10;
  26770. return A._asyncAwait(A.compileAsync0(file, t12, null, t4, null, t3, t8, t9, new A.JSToDartLogger(t1, new A.StderrLogger0(t14), t15 === B.C_AsciiGlyphSet), t2, t10, null, t13, t6, t5, !t7, t11), $async$_renderAsync);
  26771. case 10:
  26772. // returning from await.
  26773. result = $async$result;
  26774. // goto join
  26775. $async$goto = 8;
  26776. break;
  26777. case 9:
  26778. // else
  26779. throw A.wrapException(A.ArgumentError$(string$.Either, null));
  26780. case 8:
  26781. // join
  26782. case 4:
  26783. // join
  26784. $async$returnValue = A._newRenderResult(options, result, start);
  26785. // goto return
  26786. $async$goto = 1;
  26787. break;
  26788. case 1:
  26789. // return
  26790. return A._asyncReturn($async$returnValue, $async$completer);
  26791. }
  26792. });
  26793. return A._asyncStartSync($async$_renderAsync, $async$completer);
  26794. },
  26795. renderSync(options) {
  26796. var start, result, file, _0_0, data, error, stackTrace, error0, stackTrace0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, exception, _null = null;
  26797. if (!A.isNodeJs())
  26798. A.jsThrow(new self.Error("The renderSync() method is only available in Node.js."));
  26799. try {
  26800. start = new A.DateTime(Date.now(), false);
  26801. result = null;
  26802. t1 = J.getInterceptor$x(options);
  26803. file = A.NullableExtension_andThen0(t1.get$file(options), A.path__absolute$closure());
  26804. _0_0 = t1.get$data(options);
  26805. data = null;
  26806. if (_0_0 != null) {
  26807. data = _0_0;
  26808. t2 = data;
  26809. t3 = A._parseImporter(options, start);
  26810. t4 = A._parsePackageImporters(options, start);
  26811. t5 = A._parseFunctions(options, start, false);
  26812. t6 = t1.get$indentedSyntax(options);
  26813. t6 = !J.$eq$(t6, false) && t6 != null ? B.Syntax_Sass_sass0 : _null;
  26814. t7 = A._parseOutputStyle(t1.get$outputStyle(options));
  26815. t8 = J.$eq$(t1.get$indentType(options), "tab");
  26816. t9 = A._parseIndentWidth(t1.get$indentWidth(options));
  26817. t10 = A._parseLineFeed(t1.get$linefeed(options));
  26818. t11 = file == null ? "stdin" : $.$get$context().toUri$1(file).toString$0(0);
  26819. t12 = t1.get$quietDeps(options);
  26820. if (t12 == null)
  26821. t12 = false;
  26822. t13 = t1.get$verbose(options);
  26823. if (t13 == null)
  26824. t13 = false;
  26825. t14 = t1.get$charset(options);
  26826. if (t14 == null)
  26827. t14 = true;
  26828. t15 = A._enableSourceMaps(options);
  26829. t1 = t1.get$logger(options);
  26830. t16 = A.hasTerminal0();
  26831. t17 = $._glyphs;
  26832. result = A.compileString(t2, t14, _null, new A.CastList(t5, A._arrayInstanceType(t5)._eval$1("CastList<1,Callable>")), _null, t4, _null, t9, t10, new A.JSToDartLogger(t1, new A.StderrLogger0(t16), t17 === B.C_AsciiGlyphSet), t3, t12, _null, t15, t7, t6, t11, !t8, t13);
  26833. } else if (file != null) {
  26834. t2 = A._parseImporter(options, start);
  26835. t3 = A._parsePackageImporters(options, start);
  26836. t4 = A._parseFunctions(options, start, false);
  26837. t5 = t1.get$indentedSyntax(options);
  26838. t5 = !J.$eq$(t5, false) && t5 != null ? B.Syntax_Sass_sass0 : _null;
  26839. t6 = A._parseOutputStyle(t1.get$outputStyle(options));
  26840. t7 = J.$eq$(t1.get$indentType(options), "tab");
  26841. t8 = A._parseIndentWidth(t1.get$indentWidth(options));
  26842. t9 = A._parseLineFeed(t1.get$linefeed(options));
  26843. t10 = t1.get$quietDeps(options);
  26844. if (t10 == null)
  26845. t10 = false;
  26846. t11 = t1.get$verbose(options);
  26847. if (t11 == null)
  26848. t11 = false;
  26849. t12 = t1.get$charset(options);
  26850. if (t12 == null)
  26851. t12 = true;
  26852. t13 = A._enableSourceMaps(options);
  26853. t1 = t1.get$logger(options);
  26854. t14 = A.hasTerminal0();
  26855. t15 = $._glyphs;
  26856. result = A.compile(file, t12, _null, new A.CastList(t4, A._arrayInstanceType(t4)._eval$1("CastList<1,Callable>")), _null, t3, t8, t9, new A.JSToDartLogger(t1, new A.StderrLogger0(t14), t15 === B.C_AsciiGlyphSet), t2, t10, _null, t13, t6, t5, !t7, t11);
  26857. } else {
  26858. t1 = A.ArgumentError$(string$.Either, _null);
  26859. throw A.wrapException(t1);
  26860. }
  26861. t1 = A._newRenderResult(options, result, start);
  26862. return t1;
  26863. } catch (exception) {
  26864. t1 = A.unwrapException(exception);
  26865. if (t1 instanceof A.SassException0) {
  26866. error = t1;
  26867. stackTrace = A.getTraceFromException(exception);
  26868. A.jsThrow(A._wrapException(error, stackTrace));
  26869. } else {
  26870. error0 = t1;
  26871. stackTrace0 = A.getTraceFromException(exception);
  26872. t1 = J.toString$0$(error0);
  26873. t2 = A.getTrace0(error0);
  26874. A.jsThrow(A._newRenderError(t1, t2 == null ? stackTrace0 : t2, _null, _null, _null, 3));
  26875. }
  26876. }
  26877. },
  26878. _wrapException(exception, stackTrace) {
  26879. var t2, t3, t4, t5,
  26880. t1 = A.SourceSpanException.prototype.get$span.call(exception, 0),
  26881. _0_0 = t1.get$sourceUrl(t1);
  26882. $label0$0: {
  26883. if (_0_0 == null) {
  26884. t1 = "stdin";
  26885. break $label0$0;
  26886. }
  26887. if ("file" === _0_0.get$scheme()) {
  26888. t1 = $.$get$context().style.pathFromUri$1(A._parseUri(_0_0));
  26889. break $label0$0;
  26890. }
  26891. t1 = _0_0.toString$0(0);
  26892. break $label0$0;
  26893. }
  26894. t2 = B.JSString_methods.replaceFirst$2(exception.toString$0(0), "Error: ", "");
  26895. t3 = A.getTrace0(exception);
  26896. if (t3 == null)
  26897. t3 = stackTrace;
  26898. t4 = A.SourceSpanException.prototype.get$span.call(exception, 0);
  26899. t4 = t4.get$start(t4);
  26900. t4 = t4.file.getLine$1(t4.offset);
  26901. t5 = A.SourceSpanException.prototype.get$span.call(exception, 0);
  26902. t5 = t5.get$start(t5);
  26903. return A._newRenderError(t2, t3, t5.file.getColumn$1(t5.offset) + 1, t1, t4 + 1, 1);
  26904. },
  26905. _parseFunctions(options, start, asynch) {
  26906. var result,
  26907. functions = J.get$functions$x(options);
  26908. if (functions == null)
  26909. return B.List_empty24;
  26910. result = A._setArrayType([], type$.JSArray_AsyncCallable_2);
  26911. A.jsForEach(functions, new A._parseFunctions_closure(options, start, result, asynch));
  26912. return result;
  26913. },
  26914. _parseImporter(options, start) {
  26915. var t2, t3, contextOptions, _1_0, importers, _box_0 = {},
  26916. t1 = J.getInterceptor$x(options),
  26917. _0_0 = t1.get$importer(options);
  26918. $label0$0: {
  26919. if (_0_0 == null) {
  26920. t2 = A._setArrayType([], type$.JSArray_JSFunction);
  26921. break $label0$0;
  26922. }
  26923. if (type$.List_nullable_Object._is(_0_0)) {
  26924. t2 = J.cast$1$0$ax(_0_0, type$.JSFunction);
  26925. break $label0$0;
  26926. }
  26927. t2 = A._setArrayType([type$.JSFunction._as(_0_0)], type$.JSArray_JSFunction);
  26928. break $label0$0;
  26929. }
  26930. t3 = J.getInterceptor$asx(t2);
  26931. contextOptions = t3.get$isNotEmpty(t2) ? A._contextOptions(options, start) : new A.Object();
  26932. _1_0 = t1.get$fiber(options);
  26933. _box_0.fiber = null;
  26934. if (_1_0 != null) {
  26935. _box_0.fiber = _1_0;
  26936. t2 = t3.map$1$1(t2, new A._parseImporter_closure(_box_0), type$.JSFunction);
  26937. importers = A.List_List$of(t2, true, t2.$ti._eval$1("ListIterable.E"));
  26938. } else
  26939. importers = t2;
  26940. t1 = t1.get$includePaths(options);
  26941. if (t1 == null)
  26942. t1 = [];
  26943. t2 = type$.String;
  26944. 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));
  26945. },
  26946. _parsePackageImportersAsync(options, start) {
  26947. var t2, t3, t4,
  26948. t1 = J.getInterceptor$x(options);
  26949. if (t1.get$pkgImporter(options) instanceof A.NodePackageImporter0) {
  26950. t1 = t1.get$pkgImporter(options);
  26951. t1.toString;
  26952. t2 = type$.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2;
  26953. t3 = type$.Record_3_AsyncImporter_and_Uri_and_bool_forImport_2;
  26954. t4 = type$.Uri;
  26955. t1 = A.List_List$unmodifiable(A._setArrayType([t1], type$.JSArray_AsyncImporter), type$.AsyncImporter);
  26956. return new A.AsyncImportCache0(t1, B.StderrLogger_false0, 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));
  26957. }
  26958. return null;
  26959. },
  26960. _parsePackageImporters(options, start) {
  26961. var t2, t3, t4,
  26962. t1 = J.getInterceptor$x(options);
  26963. if (t1.get$pkgImporter(options) instanceof A.NodePackageImporter0) {
  26964. t1 = t1.get$pkgImporter(options);
  26965. t1.toString;
  26966. t2 = type$.nullable_Record_3_Importer_and_Uri_and_Uri_originalUrl_2;
  26967. t3 = type$.Record_3_Importer_and_Uri_and_bool_forImport_2;
  26968. t4 = type$.Uri;
  26969. t1 = A.List_List$unmodifiable(A._setArrayType([t1], type$.JSArray_Importer_2), type$.Importer);
  26970. return new A.ImportCache0(t1, B.StderrLogger_false0, 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));
  26971. }
  26972. return null;
  26973. },
  26974. _contextOptions(options, start) {
  26975. var includePaths, t3, t4, t5, t6, t7,
  26976. t1 = J.getInterceptor$x(options),
  26977. t2 = t1.get$includePaths(options);
  26978. if (t2 == null)
  26979. t2 = [];
  26980. includePaths = A.List_List$from(t2, true, type$.String);
  26981. t2 = t1.get$file(options);
  26982. t3 = t1.get$data(options);
  26983. t4 = A._setArrayType([A.current()], type$.JSArray_String);
  26984. B.JSArray_methods.addAll$1(t4, includePaths);
  26985. t5 = A.isNodeJs() ? self.process : null;
  26986. t4 = B.JSArray_methods.join$1(t4, J.$eq$(t5 == null ? null : J.get$platform$x(t5), "win32") ? ";" : ":");
  26987. t5 = J.$eq$(t1.get$indentType(options), "tab") ? 1 : 0;
  26988. t6 = A._parseIndentWidth(t1.get$indentWidth(options));
  26989. if (t6 == null)
  26990. t6 = 2;
  26991. t7 = A._parseLineFeed(t1.get$linefeed(options));
  26992. t1 = t1.get$file(options);
  26993. if (t1 == null)
  26994. t1 = "data";
  26995. 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}}};
  26996. },
  26997. _parseOutputStyle(style) {
  26998. var t1;
  26999. $label0$0: {
  27000. if (style == null || "expanded" === style) {
  27001. t1 = B.OutputStyle_00;
  27002. break $label0$0;
  27003. }
  27004. if ("compressed" === style) {
  27005. t1 = B.OutputStyle_10;
  27006. break $label0$0;
  27007. }
  27008. t1 = A.jsThrow(new self.Error('Unknown output style "' + A.S(style) + '".'));
  27009. }
  27010. return t1;
  27011. },
  27012. _parseIndentWidth(width) {
  27013. var t1;
  27014. $label0$0: {
  27015. if (width == null) {
  27016. t1 = null;
  27017. break $label0$0;
  27018. }
  27019. if (A._isInt(width)) {
  27020. t1 = width;
  27021. break $label0$0;
  27022. }
  27023. t1 = A.int_parse(J.toString$0$(width), null);
  27024. break $label0$0;
  27025. }
  27026. return t1;
  27027. },
  27028. _parseLineFeed(str) {
  27029. var t1;
  27030. $label0$0: {
  27031. if ("cr" === str) {
  27032. t1 = B.LineFeed_89t;
  27033. break $label0$0;
  27034. }
  27035. if ("crlf" === str) {
  27036. t1 = B.LineFeed_A4L;
  27037. break $label0$0;
  27038. }
  27039. if ("lfcr" === str) {
  27040. t1 = B.LineFeed_75j;
  27041. break $label0$0;
  27042. }
  27043. t1 = B.LineFeed_LvD;
  27044. break $label0$0;
  27045. }
  27046. return t1;
  27047. },
  27048. _newRenderResult(options, result, start) {
  27049. var t3, sourceMapOption, sourceMapPath, t4, sourceMapDir, outFile, _0_0, t5, sourceMapDirUrl, i, source, t6, buffer, indices, url, t7, t8, _null = null,
  27050. t1 = Date.now(),
  27051. t2 = result._compile_result$_serialize,
  27052. css = t2._0,
  27053. sourceMapBytes = type$.Null._as(self.undefined);
  27054. if (A._enableSourceMaps(options)) {
  27055. t3 = J.getInterceptor$x(options);
  27056. sourceMapOption = t3.get$sourceMap(options);
  27057. if (typeof sourceMapOption == "string")
  27058. sourceMapPath = sourceMapOption;
  27059. else {
  27060. t4 = t3.get$outFile(options);
  27061. t4.toString;
  27062. sourceMapPath = J.$add$ansx(t4, ".map");
  27063. }
  27064. t4 = $.$get$context();
  27065. sourceMapDir = t4.dirname$1(sourceMapPath);
  27066. t2 = t2._1;
  27067. t2.toString;
  27068. t2.sourceRoot = t3.get$sourceMapRoot(options);
  27069. outFile = t3.get$outFile(options);
  27070. if (outFile == null) {
  27071. _0_0 = t3.get$file(options);
  27072. $label0$0: {
  27073. if (_0_0 != null) {
  27074. t5 = t4.toUri$1(t4.withoutExtension$1(_0_0) + ".css").toString$0(0);
  27075. break $label0$0;
  27076. }
  27077. t5 = t2.targetUrl = "stdin.css";
  27078. break $label0$0;
  27079. }
  27080. t2.targetUrl = t5;
  27081. } else
  27082. t2.targetUrl = t4.toUri$1(t4.relative$2$from(outFile, sourceMapDir)).toString$0(0);
  27083. sourceMapDirUrl = t4.toUri$1(sourceMapDir).toString$0(0);
  27084. for (t4 = t2.urls, i = 0; i < t4.length; ++i) {
  27085. source = t4[i];
  27086. if (source === "stdin")
  27087. continue;
  27088. t5 = $.$get$url();
  27089. t6 = t5.style;
  27090. if (t6.rootLength$1(source) <= 0 || t6.isRootRelative$1(source))
  27091. continue;
  27092. t4[i] = t5.relative$2$from(source, sourceMapDirUrl);
  27093. }
  27094. t4 = t3.get$sourceMapContents(options);
  27095. sourceMapBytes = self.Buffer.from(B.C_JsonCodec.encode$2$toEncodable(t2.toJson$1$includeSourceContents(!J.$eq$(t4, false) && t4 != null), _null), "utf8");
  27096. t2 = t3.get$omitSourceMapUrl(options);
  27097. if (!(!J.$eq$(t2, false) && t2 != null)) {
  27098. t2 = t3.get$sourceMapEmbed(options);
  27099. if (!J.$eq$(t2, false) && t2 != null) {
  27100. buffer = new A.StringBuffer("");
  27101. indices = A._setArrayType([-1], type$.JSArray_int);
  27102. A.UriData__writeUri("application/json", _null, _null, buffer, indices);
  27103. indices.push(buffer._contents.length);
  27104. t2 = buffer._contents += ";base64,";
  27105. indices.push(t2.length - 1);
  27106. t2 = B.C_Base64Encoder.startChunkedConversion$1(new A._StringSinkConversionSink(buffer));
  27107. t3 = sourceMapBytes.length;
  27108. A.RangeError_checkValidRange(0, t3, t3);
  27109. t2._convert$_add$4(sourceMapBytes, 0, t3, true);
  27110. t2 = buffer._contents;
  27111. url = new A.UriData(t2.charCodeAt(0) == 0 ? t2 : t2, indices, _null).get$uri();
  27112. } else {
  27113. if (outFile == null)
  27114. t2 = sourceMapPath;
  27115. else {
  27116. t2 = $.$get$context();
  27117. t2 = t2.relative$2$from(sourceMapPath, t2.dirname$1(outFile));
  27118. }
  27119. url = $.$get$context().toUri$1(t2);
  27120. }
  27121. t2 = url.toString$0(0);
  27122. css += "\n\n/*# sourceMappingURL=" + A.stringReplaceAllUnchecked(t2, "*/", "%2A/") + " */";
  27123. }
  27124. }
  27125. t2 = self.Buffer.from(css, "utf8");
  27126. t3 = J.get$file$x(options);
  27127. if (t3 == null)
  27128. t3 = "data";
  27129. t4 = start._value;
  27130. t1 = new A.DateTime(t1, false)._value;
  27131. t5 = B.JSInt_methods._tdivFast$1(A.Duration$(t1 - t4)._duration, 1000);
  27132. t6 = A._setArrayType([], type$.JSArray_String);
  27133. for (t7 = result._evaluate._0, t7 = t7.get$iterator(t7); t7.moveNext$0();) {
  27134. t8 = t7.get$current(t7);
  27135. t6.push(t8.get$scheme() === "file" ? $.$get$context().style.pathFromUri$1(A._parseUri(t8)) : t8.toString$0(0));
  27136. }
  27137. return {css: t2, map: sourceMapBytes, stats: {entry: t3, start: t4, end: t1, duration: t5, includedFiles: t6}};
  27138. },
  27139. _enableSourceMaps(options) {
  27140. var t2,
  27141. t1 = J.getInterceptor$x(options);
  27142. if (typeof t1.get$sourceMap(options) != "string") {
  27143. t2 = t1.get$sourceMap(options);
  27144. t1 = !J.$eq$(t2, false) && t2 != null && t1.get$outFile(options) != null;
  27145. } else
  27146. t1 = true;
  27147. return t1;
  27148. },
  27149. _newRenderError(message, stackTrace, column, file, line, $status) {
  27150. var error = new self.Error(message);
  27151. error.formatted = "Error: " + message;
  27152. if (line != null)
  27153. error.line = line;
  27154. if (column != null)
  27155. error.column = column;
  27156. if (file != null)
  27157. error.file = file;
  27158. error.status = $status;
  27159. A.attachJsStack(error, stackTrace);
  27160. return error;
  27161. },
  27162. render_closure: function render_closure(t0, t1) {
  27163. this.callback = t0;
  27164. this.options = t1;
  27165. },
  27166. render_closure0: function render_closure0(t0) {
  27167. this.callback = t0;
  27168. },
  27169. render_closure1: function render_closure1(t0) {
  27170. this.callback = t0;
  27171. },
  27172. _parseFunctions_closure: function _parseFunctions_closure(t0, t1, t2, t3) {
  27173. var _ = this;
  27174. _.options = t0;
  27175. _.start = t1;
  27176. _.result = t2;
  27177. _.asynch = t3;
  27178. },
  27179. _parseFunctions__closure: function _parseFunctions__closure(t0, t1, t2) {
  27180. this._box_0 = t0;
  27181. this.callback = t1;
  27182. this.context = t2;
  27183. },
  27184. _parseFunctions___closure2: function _parseFunctions___closure2(t0) {
  27185. this.currentFiber = t0;
  27186. },
  27187. _parseFunctions____closure: function _parseFunctions____closure(t0, t1) {
  27188. this.currentFiber = t0;
  27189. this.result = t1;
  27190. },
  27191. _parseFunctions___closure3: function _parseFunctions___closure3(t0, t1, t2) {
  27192. this.callback = t0;
  27193. this.context = t1;
  27194. this.jsArguments = t2;
  27195. },
  27196. _parseFunctions___closure4: function _parseFunctions___closure4(t0) {
  27197. this._box_0 = t0;
  27198. },
  27199. _parseFunctions__closure0: function _parseFunctions__closure0(t0, t1) {
  27200. this.callback = t0;
  27201. this.context = t1;
  27202. },
  27203. _parseFunctions___closure1: function _parseFunctions___closure1(t0, t1, t2) {
  27204. this.callback = t0;
  27205. this.context = t1;
  27206. this.$arguments = t2;
  27207. },
  27208. _parseFunctions__closure1: function _parseFunctions__closure1(t0, t1) {
  27209. this.callback = t0;
  27210. this.context = t1;
  27211. },
  27212. _parseFunctions___closure: function _parseFunctions___closure(t0) {
  27213. this.completer = t0;
  27214. },
  27215. _parseFunctions___closure0: function _parseFunctions___closure0(t0, t1, t2) {
  27216. this.callback = t0;
  27217. this.context = t1;
  27218. this.jsArguments = t2;
  27219. },
  27220. _parseImporter_closure: function _parseImporter_closure(t0) {
  27221. this._box_0 = t0;
  27222. },
  27223. _parseImporter__closure: function _parseImporter__closure(t0, t1) {
  27224. this._box_0 = t0;
  27225. this.importer = t1;
  27226. },
  27227. _parseImporter___closure: function _parseImporter___closure(t0) {
  27228. this.currentFiber = t0;
  27229. },
  27230. _parseImporter____closure: function _parseImporter____closure(t0, t1) {
  27231. this.currentFiber = t0;
  27232. this.result = t1;
  27233. },
  27234. _parseImporter___closure0: function _parseImporter___closure0(t0) {
  27235. this._box_0 = t0;
  27236. },
  27237. LimitedMapView$blocklist0(_map, blocklist, $K, $V) {
  27238. var t2, key,
  27239. t1 = A.LinkedHashSet_LinkedHashSet$_empty($K);
  27240. for (t2 = J.get$iterator$ax(_map.get$keys(_map)); t2.moveNext$0();) {
  27241. key = t2.get$current(t2);
  27242. if (!blocklist.contains$1(0, key))
  27243. t1.add$1(0, key);
  27244. }
  27245. return new A.LimitedMapView0(_map, t1, $K._eval$1("@<0>")._bind$1($V)._eval$1("LimitedMapView0<1,2>"));
  27246. },
  27247. LimitedMapView0: function LimitedMapView0(t0, t1, t2) {
  27248. this._limited_map_view0$_map = t0;
  27249. this._limited_map_view0$_keys = t1;
  27250. this.$ti = t2;
  27251. },
  27252. ListExpression0: function ListExpression0(t0, t1, t2, t3) {
  27253. var _ = this;
  27254. _.contents = t0;
  27255. _.separator = t1;
  27256. _.hasBrackets = t2;
  27257. _.span = t3;
  27258. },
  27259. ListExpression_toString_closure0: function ListExpression_toString_closure0(t0) {
  27260. this.$this = t0;
  27261. },
  27262. _function10($name, $arguments, callback) {
  27263. return A.BuiltInCallable$function0($name, $arguments, callback, "sass:list");
  27264. },
  27265. _length_closure2: function _length_closure2() {
  27266. },
  27267. _nth_closure0: function _nth_closure0() {
  27268. },
  27269. _setNth_closure0: function _setNth_closure0() {
  27270. },
  27271. _join_closure0: function _join_closure0() {
  27272. },
  27273. _append_closure2: function _append_closure2() {
  27274. },
  27275. _zip_closure0: function _zip_closure0() {
  27276. },
  27277. _zip__closure2: function _zip__closure2() {
  27278. },
  27279. _zip__closure3: function _zip__closure3(t0) {
  27280. this._box_0 = t0;
  27281. },
  27282. _zip__closure4: function _zip__closure4(t0) {
  27283. this._box_0 = t0;
  27284. },
  27285. _index_closure2: function _index_closure2() {
  27286. },
  27287. _separator_closure0: function _separator_closure0() {
  27288. },
  27289. _isBracketed_closure0: function _isBracketed_closure0() {
  27290. },
  27291. _slash_closure0: function _slash_closure0() {
  27292. },
  27293. SelectorList$0(components, span) {
  27294. var t1 = A.List_List$unmodifiable(components, type$.ComplexSelector_2);
  27295. if (t1.length === 0)
  27296. A.throwExpression(A.ArgumentError$("components may not be empty.", null));
  27297. return new A.SelectorList0(t1, span);
  27298. },
  27299. SelectorList_SelectorList$parse0(contents, allowParent, interpolationMap, logger, plainCss) {
  27300. return A.SelectorParser$0(contents, allowParent, interpolationMap, logger, plainCss, null).parse$0();
  27301. },
  27302. SelectorList0: function SelectorList0(t0, t1) {
  27303. this.components = t0;
  27304. this.span = t1;
  27305. },
  27306. SelectorList_asSassList_closure0: function SelectorList_asSassList_closure0() {
  27307. },
  27308. SelectorList_nestWithin_closure0: function SelectorList_nestWithin_closure0(t0, t1, t2, t3) {
  27309. var _ = this;
  27310. _.$this = t0;
  27311. _.preserveParentSelectors = t1;
  27312. _.implicitParent = t2;
  27313. _.parent = t3;
  27314. },
  27315. SelectorList_nestWithin__closure1: function SelectorList_nestWithin__closure1(t0) {
  27316. this.complex = t0;
  27317. },
  27318. SelectorList_nestWithin__closure2: function SelectorList_nestWithin__closure2(t0) {
  27319. this.complex = t0;
  27320. },
  27321. SelectorList__nestWithinCompound_closure2: function SelectorList__nestWithinCompound_closure2() {
  27322. },
  27323. SelectorList__nestWithinCompound_closure3: function SelectorList__nestWithinCompound_closure3(t0) {
  27324. this.parent = t0;
  27325. },
  27326. SelectorList__nestWithinCompound_closure4: function SelectorList__nestWithinCompound_closure4(t0, t1, t2) {
  27327. this.parentSelector = t0;
  27328. this.resolvedSimples = t1;
  27329. this.component = t2;
  27330. },
  27331. SelectorList_withAdditionalCombinators_closure0: function SelectorList_withAdditionalCombinators_closure0(t0) {
  27332. this.combinators = t0;
  27333. },
  27334. _ParentSelectorVisitor0: function _ParentSelectorVisitor0() {
  27335. },
  27336. __ParentSelectorVisitor_Object_SelectorSearchVisitor0: function __ParentSelectorVisitor_Object_SelectorSearchVisitor0() {
  27337. },
  27338. listClass_closure: function listClass_closure() {
  27339. },
  27340. listClass__closure: function listClass__closure() {
  27341. },
  27342. listClass__closure0: function listClass__closure0() {
  27343. },
  27344. _ConstructorOptions: function _ConstructorOptions() {
  27345. },
  27346. _NodeSassList: function _NodeSassList() {
  27347. },
  27348. legacyListClass_closure: function legacyListClass_closure() {
  27349. },
  27350. legacyListClass__closure: function legacyListClass__closure() {
  27351. },
  27352. legacyListClass_closure0: function legacyListClass_closure0() {
  27353. },
  27354. legacyListClass_closure1: function legacyListClass_closure1() {
  27355. },
  27356. legacyListClass_closure2: function legacyListClass_closure2() {
  27357. },
  27358. legacyListClass_closure3: function legacyListClass_closure3() {
  27359. },
  27360. legacyListClass_closure4: function legacyListClass_closure4() {
  27361. },
  27362. SassList$0(contents, _separator, brackets) {
  27363. var t1 = new A.SassList0(A.List_List$unmodifiable(contents, type$.Value_2), _separator, brackets);
  27364. t1.SassList$3$brackets0(contents, _separator, brackets);
  27365. return t1;
  27366. },
  27367. SassList0: function SassList0(t0, t1, t2) {
  27368. this._list1$_contents = t0;
  27369. this._list1$_separator = t1;
  27370. this._list1$_hasBrackets = t2;
  27371. },
  27372. SassList_isBlank_closure0: function SassList_isBlank_closure0() {
  27373. },
  27374. ListSeparator0: function ListSeparator0(t0, t1, t2) {
  27375. this._list1$_name = t0;
  27376. this.separator = t1;
  27377. this._name = t2;
  27378. },
  27379. JSLogger: function JSLogger() {
  27380. },
  27381. WarnOptions: function WarnOptions() {
  27382. },
  27383. DebugOptions: function DebugOptions() {
  27384. },
  27385. WarnForDeprecation_warnForDeprecation0(_this, deprecation, message, span, trace) {
  27386. if (deprecation.isFuture && !(_this instanceof A.DeprecationProcessingLogger0))
  27387. return;
  27388. if (_this instanceof A.LoggerWithDeprecationType)
  27389. _this.internalWarn$4$deprecation$span$trace(message, deprecation, span, trace);
  27390. else
  27391. _this.warn$4$deprecation$span$trace(0, message, true, span, trace);
  27392. },
  27393. LoggerWithDeprecationType: function LoggerWithDeprecationType() {
  27394. },
  27395. _QuietLogger0: function _QuietLogger0() {
  27396. },
  27397. LoudComment0: function LoudComment0(t0) {
  27398. this.text = t0;
  27399. },
  27400. MapExpression0: function MapExpression0(t0, t1) {
  27401. this.pairs = t0;
  27402. this.span = t1;
  27403. },
  27404. _modify0(map, keys, modify, addNesting) {
  27405. var keyIterator = J.get$iterator$ax(keys);
  27406. return keyIterator.moveNext$0() ? new A._modify_modifyNestedMap0(keyIterator, modify, addNesting).call$1(map) : modify.call$1(map);
  27407. },
  27408. _deepMergeImpl0(map1, map2) {
  27409. var t2, t3, result, t4, key, value, _1_1, _1_3, _1_3_isSet, resultMap, _1_30, valueMap, merged, _null = null,
  27410. t1 = map1._map0$_contents;
  27411. if (t1.get$isEmpty(t1))
  27412. return map2;
  27413. t2 = map2._map0$_contents;
  27414. if (t2.get$isEmpty(t2))
  27415. return map1;
  27416. t3 = type$.Value_2;
  27417. result = A.LinkedHashMap_LinkedHashMap$of(t1, t3, t3);
  27418. for (t1 = A.MapExtensions_get_pairs0(t2, t3, t3), t1 = t1.get$iterator(t1), t2 = type$.SassMap_2; t1.moveNext$0();) {
  27419. t4 = t1.get$current(t1);
  27420. key = t4._0;
  27421. value = t4._1;
  27422. t4 = result.$index(0, key);
  27423. _1_1 = t4 == null ? _null : t4.tryMap$0();
  27424. _1_3 = value.tryMap$0();
  27425. _1_3_isSet = _1_1 != null;
  27426. if (_1_3_isSet) {
  27427. resultMap = _1_1 == null ? t2._as(_1_1) : _1_1;
  27428. t4 = _1_3 != null;
  27429. _1_30 = _1_3;
  27430. } else {
  27431. resultMap = _null;
  27432. _1_30 = resultMap;
  27433. t4 = false;
  27434. }
  27435. if (t4) {
  27436. valueMap = _1_3_isSet ? _1_30 : _1_3;
  27437. merged = A._deepMergeImpl0(resultMap, valueMap == null ? t2._as(valueMap) : valueMap);
  27438. if (merged === resultMap)
  27439. continue;
  27440. result.$indexSet(0, key, merged);
  27441. } else
  27442. result.$indexSet(0, key, value);
  27443. }
  27444. return new A.SassMap0(A.ConstantMap_ConstantMap$from(result, t3, t3));
  27445. },
  27446. _function9($name, $arguments, callback) {
  27447. return A.BuiltInCallable$function0($name, $arguments, callback, "sass:map");
  27448. },
  27449. _get_closure0: function _get_closure0() {
  27450. },
  27451. _set_closure1: function _set_closure1() {
  27452. },
  27453. _set__closure2: function _set__closure2(t0) {
  27454. this.$arguments = t0;
  27455. },
  27456. _set_closure2: function _set_closure2() {
  27457. },
  27458. _set__closure1: function _set__closure1(t0) {
  27459. this._box_0 = t0;
  27460. },
  27461. _merge_closure1: function _merge_closure1() {
  27462. },
  27463. _merge_closure2: function _merge_closure2() {
  27464. },
  27465. _merge__closure0: function _merge__closure0(t0) {
  27466. this.map2 = t0;
  27467. },
  27468. _deepMerge_closure0: function _deepMerge_closure0() {
  27469. },
  27470. _deepRemove_closure0: function _deepRemove_closure0() {
  27471. },
  27472. _deepRemove__closure0: function _deepRemove__closure0(t0) {
  27473. this.keys = t0;
  27474. },
  27475. _remove_closure1: function _remove_closure1() {
  27476. },
  27477. _remove_closure2: function _remove_closure2() {
  27478. },
  27479. _keys_closure0: function _keys_closure0() {
  27480. },
  27481. _values_closure0: function _values_closure0() {
  27482. },
  27483. _hasKey_closure0: function _hasKey_closure0() {
  27484. },
  27485. _modify_modifyNestedMap0: function _modify_modifyNestedMap0(t0, t1, t2) {
  27486. this.keyIterator = t0;
  27487. this.modify = t1;
  27488. this.addNesting = t2;
  27489. },
  27490. MapExtensions_get_pairs0(_this, $K, $V) {
  27491. return _this.get$entries(_this).map$1$1(0, new A.MapExtensions_get_pairs_closure0($K, $V), $K._eval$1("@<0>")._bind$1($V)._eval$1("+(1,2)"));
  27492. },
  27493. MapExtensions_get_pairs_closure0: function MapExtensions_get_pairs_closure0(t0, t1) {
  27494. this.K = t0;
  27495. this.V = t1;
  27496. },
  27497. mapClass_closure: function mapClass_closure() {
  27498. },
  27499. mapClass__closure: function mapClass__closure() {
  27500. },
  27501. mapClass__closure0: function mapClass__closure0() {
  27502. },
  27503. mapClass__closure1: function mapClass__closure1() {
  27504. },
  27505. _NodeSassMap: function _NodeSassMap() {
  27506. },
  27507. legacyMapClass_closure: function legacyMapClass_closure() {
  27508. },
  27509. legacyMapClass__closure: function legacyMapClass__closure() {
  27510. },
  27511. legacyMapClass__closure0: function legacyMapClass__closure0() {
  27512. },
  27513. legacyMapClass_closure0: function legacyMapClass_closure0() {
  27514. },
  27515. legacyMapClass_closure1: function legacyMapClass_closure1() {
  27516. },
  27517. legacyMapClass_closure2: function legacyMapClass_closure2() {
  27518. },
  27519. legacyMapClass_closure3: function legacyMapClass_closure3() {
  27520. },
  27521. legacyMapClass_closure4: function legacyMapClass_closure4() {
  27522. },
  27523. SassMap0: function SassMap0(t0) {
  27524. this._map0$_contents = t0;
  27525. },
  27526. _singleArgumentMathFunc0($name, mathFunc) {
  27527. return A.BuiltInCallable$function0($name, "$number", new A._singleArgumentMathFunc_closure0(mathFunc), "sass:math");
  27528. },
  27529. _numberFunction0($name, transform) {
  27530. return A.BuiltInCallable$function0($name, "$number", new A._numberFunction_closure0(transform), "sass:math");
  27531. },
  27532. _function8($name, $arguments, callback) {
  27533. return A.BuiltInCallable$function0($name, $arguments, callback, "sass:math");
  27534. },
  27535. global_closure31: function global_closure31() {
  27536. },
  27537. module_closure11: function module_closure11() {
  27538. },
  27539. _ceil_closure0: function _ceil_closure0() {
  27540. },
  27541. _clamp_closure0: function _clamp_closure0() {
  27542. },
  27543. _floor_closure0: function _floor_closure0() {
  27544. },
  27545. _max_closure0: function _max_closure0() {
  27546. },
  27547. _min_closure0: function _min_closure0() {
  27548. },
  27549. _round_closure0: function _round_closure0() {
  27550. },
  27551. _hypot_closure0: function _hypot_closure0() {
  27552. },
  27553. _hypot__closure0: function _hypot__closure0() {
  27554. },
  27555. _log_closure0: function _log_closure0() {
  27556. },
  27557. _pow_closure0: function _pow_closure0() {
  27558. },
  27559. _atan2_closure0: function _atan2_closure0() {
  27560. },
  27561. _compatible_closure0: function _compatible_closure0() {
  27562. },
  27563. _isUnitless_closure0: function _isUnitless_closure0() {
  27564. },
  27565. _unit_closure0: function _unit_closure0() {
  27566. },
  27567. _percentage_closure0: function _percentage_closure0() {
  27568. },
  27569. _randomFunction_closure0: function _randomFunction_closure0() {
  27570. },
  27571. _div_closure0: function _div_closure0() {
  27572. },
  27573. _singleArgumentMathFunc_closure0: function _singleArgumentMathFunc_closure0(t0) {
  27574. this.mathFunc = t0;
  27575. },
  27576. _numberFunction_closure0: function _numberFunction_closure0(t0) {
  27577. this.transform = t0;
  27578. },
  27579. CssMediaQuery_parseList0(contents, interpolationMap, logger) {
  27580. var t1 = A.SpanScanner$(contents, null);
  27581. return new A.MediaQueryParser0(t1, logger, interpolationMap).parse$0();
  27582. },
  27583. CssMediaQuery$type0(type, conditions, modifier) {
  27584. return new A.CssMediaQuery0(modifier, type, true, conditions == null ? B.List_empty : A.List_List$unmodifiable(conditions, type$.String));
  27585. },
  27586. CssMediaQuery$condition0(conditions, conjunction) {
  27587. var t1 = A.List_List$unmodifiable(conditions, type$.String);
  27588. if (t1.length > 1 && conjunction == null)
  27589. A.throwExpression(A.ArgumentError$(string$.If_con, null));
  27590. return new A.CssMediaQuery0(null, null, conjunction !== false, t1);
  27591. },
  27592. CssMediaQuery0: function CssMediaQuery0(t0, t1, t2, t3) {
  27593. var _ = this;
  27594. _.modifier = t0;
  27595. _.type = t1;
  27596. _.conjunction = t2;
  27597. _.conditions = t3;
  27598. },
  27599. _SingletonCssMediaQueryMergeResult0: function _SingletonCssMediaQueryMergeResult0(t0) {
  27600. this._name = t0;
  27601. },
  27602. MediaQuerySuccessfulMergeResult0: function MediaQuerySuccessfulMergeResult0(t0) {
  27603. this.query = t0;
  27604. },
  27605. MediaQueryParser0: function MediaQueryParser0(t0, t1, t2) {
  27606. this.scanner = t0;
  27607. this.logger = t1;
  27608. this._parser0$_interpolationMap = t2;
  27609. },
  27610. MediaQueryParser_parse_closure0: function MediaQueryParser_parse_closure0(t0) {
  27611. this.$this = t0;
  27612. },
  27613. ModifiableCssMediaRule$0(queries, span) {
  27614. var t1 = A.List_List$unmodifiable(queries, type$.CssMediaQuery_2),
  27615. t2 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  27616. if (J.get$isEmpty$asx(queries))
  27617. A.throwExpression(A.ArgumentError$value(queries, "queries", "may not be empty."));
  27618. return new A.ModifiableCssMediaRule0(t1, span, new A.UnmodifiableListView(t2, type$.UnmodifiableListView_ModifiableCssNode_2), t2);
  27619. },
  27620. ModifiableCssMediaRule0: function ModifiableCssMediaRule0(t0, t1, t2, t3) {
  27621. var _ = this;
  27622. _.queries = t0;
  27623. _.span = t1;
  27624. _.children = t2;
  27625. _._node$_children = t3;
  27626. _._node$_indexInParent = _._node$_parent = null;
  27627. _.isGroupEnd = false;
  27628. },
  27629. MediaRule$0(query, children, span) {
  27630. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  27631. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  27632. return new A.MediaRule0(query, span, t1, t2);
  27633. },
  27634. MediaRule0: function MediaRule0(t0, t1, t2, t3) {
  27635. var _ = this;
  27636. _.query = t0;
  27637. _.span = t1;
  27638. _.children = t2;
  27639. _.hasDeclarations = t3;
  27640. },
  27641. MergedExtension_merge0(left, right) {
  27642. var t2, t3, t4,
  27643. t1 = left.extender.selector;
  27644. if (!t1.$eq(0, right.extender.selector) || !left.target.$eq(0, right.target))
  27645. throw A.wrapException(A.ArgumentError$(left.toString$0(0) + " and " + right.toString$0(0) + " aren't the same extension.", null));
  27646. t2 = left.mediaContext;
  27647. t3 = t2 == null;
  27648. if (!t3) {
  27649. t4 = right.mediaContext;
  27650. t4 = t4 != null && !B.C_ListEquality.equals$2(0, t2, t4);
  27651. } else
  27652. t4 = false;
  27653. if (t4)
  27654. throw A.wrapException(A.SassException$0("From " + left.span.message$1(0, "") + string$.x0aYou_m, right.span, null));
  27655. if (right.isOptional && right.mediaContext == null)
  27656. return left;
  27657. if (left.isOptional && t3)
  27658. return right;
  27659. if (t3)
  27660. t2 = right.mediaContext;
  27661. t1.get$specificity();
  27662. t1 = new A.Extender0(t1, false);
  27663. return t1._extension$_extension = new A.MergedExtension0(left, right, t1, left.target, t2, true, left.span);
  27664. },
  27665. MergedExtension0: function MergedExtension0(t0, t1, t2, t3, t4, t5, t6) {
  27666. var _ = this;
  27667. _.left = t0;
  27668. _.right = t1;
  27669. _.extender = t2;
  27670. _.target = t3;
  27671. _.mediaContext = t4;
  27672. _.isOptional = t5;
  27673. _.span = t6;
  27674. },
  27675. MergedMapView$0(maps, $K, $V) {
  27676. var t1 = $K._eval$1("@<0>")._bind$1($V);
  27677. t1 = new A.MergedMapView0(A.LinkedHashMap_LinkedHashMap$_empty($K, t1._eval$1("Map<1,2>")), t1._eval$1("MergedMapView0<1,2>"));
  27678. t1.MergedMapView$10(maps, $K, $V);
  27679. return t1;
  27680. },
  27681. MergedMapView0: function MergedMapView0(t0, t1) {
  27682. this._merged_map_view$_mapsByKey = t0;
  27683. this.$ti = t1;
  27684. },
  27685. _function12($name, $arguments, callback) {
  27686. return A.BuiltInCallable$function0($name, $arguments, callback, "sass:meta");
  27687. },
  27688. global_closure59: function global_closure59() {
  27689. },
  27690. global_closure60: function global_closure60() {
  27691. },
  27692. global_closure61: function global_closure61() {
  27693. },
  27694. global_closure62: function global_closure62() {
  27695. },
  27696. local_closure2: function local_closure2() {
  27697. },
  27698. local_closure3: function local_closure3() {
  27699. },
  27700. local__closure0: function local__closure0() {
  27701. },
  27702. local_closure4: function local_closure4() {
  27703. },
  27704. mixinClass_closure: function mixinClass_closure() {
  27705. },
  27706. mixinClass__closure: function mixinClass__closure() {
  27707. },
  27708. mixinClass__closure0: function mixinClass__closure0() {
  27709. },
  27710. SassMixin0: function SassMixin0(t0) {
  27711. this.callable = t0;
  27712. },
  27713. MixinRule$0($name, $arguments, children, span, comment) {
  27714. var t1 = A.stringReplaceAllUnchecked($name, "_", "-"),
  27715. t2 = A.List_List$unmodifiable(children, type$.Statement_2),
  27716. t3 = B.JSArray_methods.any$1(t2, new A.ParentStatement_closure0());
  27717. return new A.MixinRule0(t1, $name, $arguments, span, t2, t3);
  27718. },
  27719. MixinRule0: function MixinRule0(t0, t1, t2, t3, t4, t5) {
  27720. var _ = this;
  27721. _._mixin_rule$__MixinRule_hasContent_FI = $;
  27722. _.name = t0;
  27723. _.originalName = t1;
  27724. _.$arguments = t2;
  27725. _.span = t3;
  27726. _.children = t4;
  27727. _.hasDeclarations = t5;
  27728. },
  27729. _HasContentVisitor0: function _HasContentVisitor0() {
  27730. },
  27731. __HasContentVisitor_Object_StatementSearchVisitor0: function __HasContentVisitor_Object_StatementSearchVisitor0() {
  27732. },
  27733. ExtendMode0: function ExtendMode0(t0, t1) {
  27734. this.name = t0;
  27735. this._name = t1;
  27736. },
  27737. JSModule0: function JSModule0() {
  27738. },
  27739. JSModuleRequire0: function JSModuleRequire0() {
  27740. },
  27741. MultiSpan0: function MultiSpan0(t0, t1, t2) {
  27742. this._multi_span0$_primary = t0;
  27743. this.primaryLabel = t1;
  27744. this.secondarySpans = t2;
  27745. },
  27746. SupportsNegation0: function SupportsNegation0(t0, t1) {
  27747. this.condition = t0;
  27748. this.span = t1;
  27749. },
  27750. NoOpImporter0: function NoOpImporter0() {
  27751. },
  27752. NoSourceMapBuffer0: function NoSourceMapBuffer0(t0) {
  27753. this._no_source_map_buffer0$_buffer = t0;
  27754. },
  27755. _FakeAstNode0: function _FakeAstNode0(t0) {
  27756. this._node0$_callback = t0;
  27757. },
  27758. CssNode0: function CssNode0() {
  27759. },
  27760. CssParentNode0: function CssParentNode0() {
  27761. },
  27762. _IsInvisibleVisitor1: function _IsInvisibleVisitor1(t0, t1) {
  27763. this.includeBogus = t0;
  27764. this.includeComments = t1;
  27765. },
  27766. __IsInvisibleVisitor_Object_EveryCssVisitor0: function __IsInvisibleVisitor_Object_EveryCssVisitor0() {
  27767. },
  27768. ModifiableCssNode0: function ModifiableCssNode0() {
  27769. },
  27770. ModifiableCssNode_hasFollowingSibling_closure0: function ModifiableCssNode_hasFollowingSibling_closure0() {
  27771. },
  27772. ModifiableCssParentNode0: function ModifiableCssParentNode0() {
  27773. },
  27774. NodePackageImporter0: function NodePackageImporter0() {
  27775. this._node_package$__NodePackageImporter__entryPointDirectory_F = $;
  27776. },
  27777. NodePackageImporter__nodePackageExportsResolve_closure3: function NodePackageImporter__nodePackageExportsResolve_closure3() {
  27778. },
  27779. NodePackageImporter__nodePackageExportsResolve_closure4: function NodePackageImporter__nodePackageExportsResolve_closure4() {
  27780. },
  27781. NodePackageImporter__nodePackageExportsResolve_closure5: function NodePackageImporter__nodePackageExportsResolve_closure5() {
  27782. },
  27783. NodePackageImporter__nodePackageExportsResolve_closure6: function NodePackageImporter__nodePackageExportsResolve_closure6(t0, t1, t2) {
  27784. this.$this = t0;
  27785. this.exports = t1;
  27786. this.packageRoot = t2;
  27787. },
  27788. NodePackageImporter__nodePackageExportsResolve__closure1: function NodePackageImporter__nodePackageExportsResolve__closure1(t0, t1, t2) {
  27789. this.$this = t0;
  27790. this.variant = t1;
  27791. this.packageRoot = t2;
  27792. },
  27793. NodePackageImporter__nodePackageExportsResolve__closure2: function NodePackageImporter__nodePackageExportsResolve__closure2() {
  27794. },
  27795. NodePackageImporter__getMainExport_closure0: function NodePackageImporter__getMainExport_closure0() {
  27796. },
  27797. NullExpression0: function NullExpression0(t0) {
  27798. this.span = t0;
  27799. },
  27800. legacyNullClass_closure: function legacyNullClass_closure() {
  27801. },
  27802. legacyNullClass__closure: function legacyNullClass__closure() {
  27803. },
  27804. _SassNull0: function _SassNull0() {
  27805. },
  27806. NumberExpression0: function NumberExpression0(t0, t1, t2) {
  27807. this.value = t0;
  27808. this.unit = t1;
  27809. this.span = t2;
  27810. },
  27811. numberClass_closure: function numberClass_closure() {
  27812. },
  27813. numberClass__closure: function numberClass__closure() {
  27814. },
  27815. numberClass__closure0: function numberClass__closure0() {
  27816. },
  27817. numberClass__closure1: function numberClass__closure1() {
  27818. },
  27819. numberClass__closure2: function numberClass__closure2() {
  27820. },
  27821. numberClass__closure3: function numberClass__closure3() {
  27822. },
  27823. numberClass__closure4: function numberClass__closure4() {
  27824. },
  27825. numberClass__closure5: function numberClass__closure5() {
  27826. },
  27827. numberClass__closure6: function numberClass__closure6() {
  27828. },
  27829. numberClass__closure7: function numberClass__closure7() {
  27830. },
  27831. numberClass__closure8: function numberClass__closure8() {
  27832. },
  27833. numberClass__closure9: function numberClass__closure9() {
  27834. },
  27835. numberClass__closure10: function numberClass__closure10() {
  27836. },
  27837. numberClass__closure11: function numberClass__closure11() {
  27838. },
  27839. numberClass__closure12: function numberClass__closure12() {
  27840. },
  27841. numberClass__closure13: function numberClass__closure13() {
  27842. },
  27843. numberClass__closure14: function numberClass__closure14() {
  27844. },
  27845. numberClass__closure15: function numberClass__closure15() {
  27846. },
  27847. numberClass__closure16: function numberClass__closure16() {
  27848. },
  27849. numberClass__closure17: function numberClass__closure17() {
  27850. },
  27851. numberClass__closure18: function numberClass__closure18() {
  27852. },
  27853. numberClass__closure19: function numberClass__closure19() {
  27854. },
  27855. _ConstructorOptions0: function _ConstructorOptions0() {
  27856. },
  27857. _parseNumber(value, unit) {
  27858. var invalidUnit, operands, t1, numerator, denominator, numeratorUnits, denominatorUnits;
  27859. if (unit == null || unit.length === 0)
  27860. return A.SassNumber_SassNumber0(value, null);
  27861. if (!J.contains$1$asx(unit, "*") && !B.JSString_methods.contains$1(unit, "/"))
  27862. return A.SassNumber_SassNumber0(value, unit);
  27863. invalidUnit = new A.ArgumentError(true, unit, "unit", "is invalid.");
  27864. operands = unit.split("/");
  27865. t1 = operands.length;
  27866. if (t1 > 2)
  27867. throw A.wrapException(invalidUnit);
  27868. numerator = operands[0];
  27869. denominator = t1 === 1 ? null : operands[1];
  27870. t1 = type$.JSArray_String;
  27871. numeratorUnits = numerator.length === 0 ? A._setArrayType([], t1) : A._setArrayType(numerator.split("*"), t1);
  27872. if (B.JSArray_methods.any$1(numeratorUnits, new A._parseNumber_closure()))
  27873. throw A.wrapException(invalidUnit);
  27874. denominatorUnits = denominator == null ? A._setArrayType([], t1) : A._setArrayType(denominator.split("*"), t1);
  27875. if (B.JSArray_methods.any$1(denominatorUnits, new A._parseNumber_closure0()))
  27876. throw A.wrapException(invalidUnit);
  27877. return A.SassNumber_SassNumber$withUnits0(value, denominatorUnits, numeratorUnits);
  27878. },
  27879. _NodeSassNumber: function _NodeSassNumber() {
  27880. },
  27881. legacyNumberClass_closure: function legacyNumberClass_closure() {
  27882. },
  27883. legacyNumberClass_closure0: function legacyNumberClass_closure0() {
  27884. },
  27885. legacyNumberClass_closure1: function legacyNumberClass_closure1() {
  27886. },
  27887. legacyNumberClass_closure2: function legacyNumberClass_closure2() {
  27888. },
  27889. legacyNumberClass_closure3: function legacyNumberClass_closure3() {
  27890. },
  27891. _parseNumber_closure: function _parseNumber_closure() {
  27892. },
  27893. _parseNumber_closure0: function _parseNumber_closure0() {
  27894. },
  27895. conversionFactor0(unit1, unit2) {
  27896. var _0_0;
  27897. if (unit1 === unit2)
  27898. return 1;
  27899. _0_0 = B.Map_gQqJO.$index(0, unit1);
  27900. if (_0_0 != null)
  27901. return _0_0.$index(0, unit2);
  27902. return null;
  27903. },
  27904. SassNumber_SassNumber0(value, unit) {
  27905. return unit == null ? new A.UnitlessSassNumber0(value, null) : new A.SingleUnitSassNumber0(unit, value, null);
  27906. },
  27907. SassNumber_SassNumber$withUnits0(value, denominatorUnits, numeratorUnits) {
  27908. var _0_4, _0_6, _0_8_isSet, _0_8, _0_10_isSet, _0_10, _0_7, t2, _0_4_isSet, unit, _0_7_isSet, numerators, t3, denominators, unsimplifiedDenominators, valueDouble, _i, denominator, simplifiedAway, i, factor, _1_2, _1_7_isSet, _1_7, _null = null,
  27909. _0_3 = numeratorUnits == null,
  27910. t1 = _0_3,
  27911. _0_6_isSet = !t1;
  27912. if (_0_6_isSet) {
  27913. _0_4 = J.get$length$asx(numeratorUnits == null ? type$.List_String._as(numeratorUnits) : numeratorUnits);
  27914. t1 = _0_4;
  27915. _0_6 = t1 <= 0;
  27916. _0_8_isSet = _0_6;
  27917. } else {
  27918. _0_4 = _null;
  27919. _0_6 = _0_4;
  27920. _0_8_isSet = true;
  27921. }
  27922. if (_0_8_isSet) {
  27923. _0_8 = denominatorUnits == null;
  27924. t1 = _0_8;
  27925. _0_10_isSet = !t1;
  27926. if (_0_10_isSet) {
  27927. _0_10 = J.get$length$asx(denominatorUnits == null ? type$.List_String._as(denominatorUnits) : denominatorUnits) <= 0;
  27928. t1 = _0_10;
  27929. } else {
  27930. _0_10 = _null;
  27931. t1 = true;
  27932. }
  27933. _0_7 = denominatorUnits;
  27934. } else {
  27935. _0_10 = _null;
  27936. _0_7 = _0_10;
  27937. _0_8 = _0_7;
  27938. _0_10_isSet = false;
  27939. t1 = false;
  27940. }
  27941. if (t1)
  27942. return new A.UnitlessSassNumber0(value, _null);
  27943. t1 = type$.List_String;
  27944. if (t1._is(numeratorUnits)) {
  27945. if (_0_6_isSet) {
  27946. t2 = _0_4;
  27947. _0_4_isSet = _0_6_isSet;
  27948. } else {
  27949. _0_4 = J.get$length$asx(numeratorUnits);
  27950. t2 = _0_4;
  27951. _0_4_isSet = true;
  27952. }
  27953. if (t2 === 1) {
  27954. unit = J.$index$asx(numeratorUnits, 0);
  27955. if (_0_8_isSet) {
  27956. t2 = _0_8;
  27957. _0_7_isSet = _0_8_isSet;
  27958. } else {
  27959. _0_8 = denominatorUnits == null;
  27960. t2 = _0_8;
  27961. _0_7 = denominatorUnits;
  27962. _0_8_isSet = true;
  27963. _0_7_isSet = true;
  27964. }
  27965. if (!t2)
  27966. if (_0_10_isSet)
  27967. t2 = _0_10;
  27968. else {
  27969. if (_0_7_isSet)
  27970. t2 = _0_7;
  27971. else {
  27972. t2 = denominatorUnits;
  27973. _0_7 = t2;
  27974. _0_7_isSet = true;
  27975. }
  27976. _0_10 = J.get$length$asx(t2 == null ? t1._as(t2) : t2) <= 0;
  27977. t2 = _0_10;
  27978. _0_10_isSet = true;
  27979. }
  27980. else
  27981. t2 = true;
  27982. } else {
  27983. unit = _null;
  27984. _0_7_isSet = _0_8_isSet;
  27985. t2 = false;
  27986. }
  27987. } else {
  27988. unit = _null;
  27989. _0_7_isSet = _0_8_isSet;
  27990. _0_4_isSet = _0_6_isSet;
  27991. t2 = false;
  27992. }
  27993. if (t2)
  27994. return new A.SingleUnitSassNumber0(unit, value, _null);
  27995. t2 = numeratorUnits == null;
  27996. if (!t2) {
  27997. numerators = numeratorUnits;
  27998. if (_0_8_isSet)
  27999. t3 = _0_8;
  28000. else {
  28001. if (_0_7_isSet)
  28002. t3 = _0_7;
  28003. else {
  28004. t3 = denominatorUnits;
  28005. _0_7 = t3;
  28006. _0_7_isSet = true;
  28007. }
  28008. _0_8 = t3 == null;
  28009. t3 = _0_8;
  28010. }
  28011. if (!t3)
  28012. if (_0_10_isSet)
  28013. t3 = _0_10;
  28014. else {
  28015. if (_0_7_isSet)
  28016. t3 = _0_7;
  28017. else {
  28018. t3 = denominatorUnits;
  28019. _0_7 = t3;
  28020. _0_7_isSet = true;
  28021. }
  28022. _0_10 = J.get$length$asx(t3 == null ? t1._as(t3) : t3) <= 0;
  28023. t3 = _0_10;
  28024. }
  28025. else
  28026. t3 = true;
  28027. } else {
  28028. numerators = _null;
  28029. t3 = false;
  28030. }
  28031. if (t3)
  28032. return new A.ComplexSassNumber0(A.List_List$unmodifiable(numerators, type$.String), B.List_empty, value, _null);
  28033. if (!_0_3)
  28034. if (_0_6_isSet)
  28035. t2 = _0_6;
  28036. else {
  28037. if (_0_4_isSet)
  28038. t2 = _0_4;
  28039. else {
  28040. _0_4 = J.get$length$asx(t2 ? t1._as(numeratorUnits) : numeratorUnits);
  28041. t2 = _0_4;
  28042. }
  28043. _0_6 = t2 <= 0;
  28044. t2 = _0_6;
  28045. }
  28046. else
  28047. t2 = true;
  28048. if (t2) {
  28049. if (_0_7_isSet)
  28050. t2 = _0_7;
  28051. else {
  28052. t2 = denominatorUnits;
  28053. _0_7 = t2;
  28054. _0_7_isSet = true;
  28055. }
  28056. t2 = t2 != null;
  28057. if (t2) {
  28058. denominators = _0_7_isSet ? _0_7 : denominatorUnits;
  28059. if (denominators == null)
  28060. denominators = t1._as(denominators);
  28061. } else
  28062. denominators = _null;
  28063. t1 = t2;
  28064. } else {
  28065. denominators = _null;
  28066. t1 = false;
  28067. }
  28068. if (t1)
  28069. return new A.ComplexSassNumber0(B.List_empty, A.List_List$unmodifiable(denominators, type$.String), value, _null);
  28070. numeratorUnits.toString;
  28071. numerators = J.toList$0$ax(numeratorUnits);
  28072. denominatorUnits.toString;
  28073. unsimplifiedDenominators = J.toList$0$ax(denominatorUnits);
  28074. denominators = A._setArrayType([], type$.JSArray_String);
  28075. for (t1 = unsimplifiedDenominators.length, valueDouble = value, _i = 0; _i < unsimplifiedDenominators.length; unsimplifiedDenominators.length === t1 || (0, A.throwConcurrentModificationError)(unsimplifiedDenominators), ++_i) {
  28076. denominator = unsimplifiedDenominators[_i];
  28077. i = 0;
  28078. while (true) {
  28079. if (!(i < numerators.length)) {
  28080. simplifiedAway = false;
  28081. break;
  28082. }
  28083. c$0: {
  28084. factor = A.conversionFactor0(denominator, numerators[i]);
  28085. if (factor == null)
  28086. break c$0;
  28087. valueDouble *= factor;
  28088. B.JSArray_methods.removeAt$1(numerators, i);
  28089. simplifiedAway = true;
  28090. break;
  28091. }
  28092. ++i;
  28093. }
  28094. if (!simplifiedAway)
  28095. denominators.push(denominator);
  28096. }
  28097. $label0$1: {
  28098. _1_2 = numerators.length;
  28099. t1 = _1_2;
  28100. _1_7_isSet = t1 <= 0;
  28101. if (_1_7_isSet) {
  28102. _1_7 = denominators.length <= 0;
  28103. t1 = _1_7;
  28104. } else {
  28105. _1_7 = _null;
  28106. t1 = false;
  28107. }
  28108. if (t1) {
  28109. t1 = new A.UnitlessSassNumber0(valueDouble, _null);
  28110. break $label0$1;
  28111. }
  28112. if (_1_2 === 1) {
  28113. unit = numerators[0];
  28114. t1 = _1_7_isSet ? _1_7 : denominators.length <= 0;
  28115. } else {
  28116. unit = _null;
  28117. t1 = false;
  28118. }
  28119. if (t1) {
  28120. t1 = new A.SingleUnitSassNumber0(unit, valueDouble, _null);
  28121. break $label0$1;
  28122. }
  28123. t1 = type$.String;
  28124. t1 = new A.ComplexSassNumber0(A.List_List$unmodifiable(numerators, t1), A.List_List$unmodifiable(denominators, t1), valueDouble, _null);
  28125. break $label0$1;
  28126. }
  28127. return t1;
  28128. },
  28129. SassNumber0: function SassNumber0() {
  28130. },
  28131. SassNumber__coerceOrConvertValue_compatibilityException0: function SassNumber__coerceOrConvertValue_compatibilityException0(t0, t1, t2, t3, t4, t5, t6) {
  28132. var _ = this;
  28133. _.$this = t0;
  28134. _.other = t1;
  28135. _.otherName = t2;
  28136. _.otherHasUnits = t3;
  28137. _.name = t4;
  28138. _.newNumerators = t5;
  28139. _.newDenominators = t6;
  28140. },
  28141. SassNumber__coerceOrConvertValue_closure3: function SassNumber__coerceOrConvertValue_closure3(t0, t1) {
  28142. this._box_0 = t0;
  28143. this.newNumerator = t1;
  28144. },
  28145. SassNumber__coerceOrConvertValue_closure4: function SassNumber__coerceOrConvertValue_closure4(t0) {
  28146. this.compatibilityException = t0;
  28147. },
  28148. SassNumber__coerceOrConvertValue_closure5: function SassNumber__coerceOrConvertValue_closure5(t0, t1) {
  28149. this._box_0 = t0;
  28150. this.newDenominator = t1;
  28151. },
  28152. SassNumber__coerceOrConvertValue_closure6: function SassNumber__coerceOrConvertValue_closure6(t0) {
  28153. this.compatibilityException = t0;
  28154. },
  28155. SassNumber_plus_closure0: function SassNumber_plus_closure0() {
  28156. },
  28157. SassNumber_minus_closure0: function SassNumber_minus_closure0() {
  28158. },
  28159. SassNumber_multiplyUnits_closure3: function SassNumber_multiplyUnits_closure3(t0, t1) {
  28160. this._box_0 = t0;
  28161. this.numerator = t1;
  28162. },
  28163. SassNumber_multiplyUnits_closure4: function SassNumber_multiplyUnits_closure4(t0, t1) {
  28164. this.newNumerators = t0;
  28165. this.numerator = t1;
  28166. },
  28167. SassNumber_multiplyUnits_closure5: function SassNumber_multiplyUnits_closure5(t0, t1) {
  28168. this._box_0 = t0;
  28169. this.numerator = t1;
  28170. },
  28171. SassNumber_multiplyUnits_closure6: function SassNumber_multiplyUnits_closure6(t0, t1) {
  28172. this.newNumerators = t0;
  28173. this.numerator = t1;
  28174. },
  28175. SassNumber__areAnyConvertible_closure0: function SassNumber__areAnyConvertible_closure0(t0) {
  28176. this.units2 = t0;
  28177. },
  28178. SassNumber__canonicalizeUnitList_closure0: function SassNumber__canonicalizeUnitList_closure0() {
  28179. },
  28180. SassNumber__canonicalMultiplier_closure0: function SassNumber__canonicalMultiplier_closure0(t0) {
  28181. this.$this = t0;
  28182. },
  28183. SassNumber_unitSuggestion_closure1: function SassNumber_unitSuggestion_closure1() {
  28184. },
  28185. SassNumber_unitSuggestion_closure2: function SassNumber_unitSuggestion_closure2() {
  28186. },
  28187. SupportsOperation$0(left, right, operator, span) {
  28188. var lowerOperator = operator.toLowerCase();
  28189. if (lowerOperator !== "and" && lowerOperator !== "or")
  28190. A.throwExpression(A.ArgumentError$value(operator, "operator", 'may only be "and" or "or".'));
  28191. return new A.SupportsOperation0(left, right, operator, span);
  28192. },
  28193. SupportsOperation0: function SupportsOperation0(t0, t1, t2, t3) {
  28194. var _ = this;
  28195. _.left = t0;
  28196. _.right = t1;
  28197. _.operator = t2;
  28198. _.span = t3;
  28199. },
  28200. ParentSelector0: function ParentSelector0(t0, t1) {
  28201. this.suffix = t0;
  28202. this.span = t1;
  28203. },
  28204. ParentStatement0: function ParentStatement0() {
  28205. },
  28206. ParentStatement_closure0: function ParentStatement_closure0() {
  28207. },
  28208. ParentStatement__closure0: function ParentStatement__closure0() {
  28209. },
  28210. ParenthesizedExpression0: function ParenthesizedExpression0(t0, t1) {
  28211. this.expression = t0;
  28212. this.span = t1;
  28213. },
  28214. Parser_isIdentifier0(text) {
  28215. var t1, t2, exception, logger = null;
  28216. try {
  28217. t1 = logger;
  28218. t2 = A.SpanScanner$(text, null);
  28219. new A.Parser1(t2, t1 == null ? B.StderrLogger_false0 : t1, null)._parser0$_parseIdentifier$0();
  28220. return true;
  28221. } catch (exception) {
  28222. if (type$.SassFormatException_2._is(A.unwrapException(exception)))
  28223. return false;
  28224. else
  28225. throw exception;
  28226. }
  28227. },
  28228. Parser1: function Parser1(t0, t1, t2) {
  28229. this.scanner = t0;
  28230. this.logger = t1;
  28231. this._parser0$_interpolationMap = t2;
  28232. },
  28233. Parser__parseIdentifier_closure0: function Parser__parseIdentifier_closure0(t0) {
  28234. this.$this = t0;
  28235. },
  28236. Parser_escape_closure0: function Parser_escape_closure0() {
  28237. },
  28238. Parser_scanIdentChar_matches0: function Parser_scanIdentChar_matches0(t0, t1) {
  28239. this.caseSensitive = t0;
  28240. this.char = t1;
  28241. },
  28242. Parser_spanFrom_closure0: function Parser_spanFrom_closure0(t0, t1) {
  28243. this.$this = t0;
  28244. this.span = t1;
  28245. },
  28246. PlaceholderSelector0: function PlaceholderSelector0(t0, t1) {
  28247. this.name = t0;
  28248. this.span = t1;
  28249. },
  28250. PlainCssCallable0: function PlainCssCallable0(t0) {
  28251. this.name = t0;
  28252. },
  28253. PrefixedMapView0: function PrefixedMapView0(t0, t1, t2) {
  28254. this._prefixed_map_view0$_map = t0;
  28255. this._prefixed_map_view0$_prefix = t1;
  28256. this.$ti = t2;
  28257. },
  28258. _PrefixedKeys0: function _PrefixedKeys0(t0) {
  28259. this._prefixed_map_view0$_view = t0;
  28260. },
  28261. _PrefixedKeys_iterator_closure0: function _PrefixedKeys_iterator_closure0(t0) {
  28262. this.$this = t0;
  28263. },
  28264. PseudoSelector$0($name, span, argument, element, selector) {
  28265. var t1 = !element,
  28266. t2 = t1 && !A.PseudoSelector__isFakePseudoElement0($name);
  28267. return new A.PseudoSelector0($name, A.unvendor0($name), t2, t1, argument, selector, span);
  28268. },
  28269. PseudoSelector__isFakePseudoElement0($name) {
  28270. switch ($name.charCodeAt(0)) {
  28271. case 97:
  28272. case 65:
  28273. return A.equalsIgnoreCase0($name, "after");
  28274. case 98:
  28275. case 66:
  28276. return A.equalsIgnoreCase0($name, "before");
  28277. case 102:
  28278. case 70:
  28279. return A.equalsIgnoreCase0($name, "first-line") || A.equalsIgnoreCase0($name, "first-letter");
  28280. default:
  28281. return false;
  28282. }
  28283. },
  28284. PseudoSelector0: function PseudoSelector0(t0, t1, t2, t3, t4, t5, t6) {
  28285. var _ = this;
  28286. _.name = t0;
  28287. _.normalizedName = t1;
  28288. _.isClass = t2;
  28289. _.isSyntacticClass = t3;
  28290. _.argument = t4;
  28291. _.selector = t5;
  28292. _._pseudo$__PseudoSelector_specificity_FI = $;
  28293. _.span = t6;
  28294. },
  28295. PseudoSelector_specificity_closure0: function PseudoSelector_specificity_closure0(t0) {
  28296. this.$this = t0;
  28297. },
  28298. PseudoSelector_specificity__closure1: function PseudoSelector_specificity__closure1() {
  28299. },
  28300. PseudoSelector_specificity__closure2: function PseudoSelector_specificity__closure2() {
  28301. },
  28302. PseudoSelector_unify_closure0: function PseudoSelector_unify_closure0() {
  28303. },
  28304. PublicMemberMapView0: function PublicMemberMapView0(t0, t1) {
  28305. this._public_member_map_view0$_inner = t0;
  28306. this.$ti = t1;
  28307. },
  28308. QualifiedName0: function QualifiedName0(t0, t1) {
  28309. this.name = t0;
  28310. this.namespace = t1;
  28311. },
  28312. createJSClass($name, $constructor) {
  28313. return type$.JSClass._as(A.allowInteropCaptureThisNamed($name, $constructor));
  28314. },
  28315. JSClassExtension_injectSuperclass(_this, superclass) {
  28316. var t1 = J.getInterceptor$x(superclass),
  28317. t2 = J.getInterceptor$x(_this);
  28318. self.Object.setPrototypeOf(t1.get$$prototype(superclass), J.get$$prototype$x(type$.JSClass._as(self.Object.getPrototypeOf(t2.get$$prototype(_this)).constructor)));
  28319. self.Object.setPrototypeOf(t2.get$$prototype(_this), self.Object.create(t1.get$$prototype(superclass)));
  28320. },
  28321. JSClassExtension_setCustomInspect(_this, inspect) {
  28322. if (self.util == null)
  28323. return;
  28324. J.get$$prototype$x(_this)[self.util.inspect.custom] = A.allowInteropCaptureThis(new A.JSClassExtension_setCustomInspect_closure(inspect));
  28325. },
  28326. JSClassExtension_get_defineStaticMethod(_this) {
  28327. return new A.JSClassExtension_get_defineStaticMethod_closure(_this);
  28328. },
  28329. JSClassExtension_get_defineMethod(_this) {
  28330. return new A.JSClassExtension_get_defineMethod_closure(_this);
  28331. },
  28332. JSClassExtension_defineMethods(_this, methods) {
  28333. methods.forEach$1(0, A.JSClassExtension_get_defineMethod(_this));
  28334. },
  28335. JSClassExtension_get_defineGetter(_this) {
  28336. return new A.JSClassExtension_get_defineGetter_closure(_this);
  28337. },
  28338. JSClass0: function JSClass0() {
  28339. },
  28340. JSClassExtension_setCustomInspect_closure: function JSClassExtension_setCustomInspect_closure(t0) {
  28341. this.inspect = t0;
  28342. },
  28343. JSClassExtension_get_defineStaticMethod_closure: function JSClassExtension_get_defineStaticMethod_closure(t0) {
  28344. this._this = t0;
  28345. },
  28346. JSClassExtension_get_defineMethod_closure: function JSClassExtension_get_defineMethod_closure(t0) {
  28347. this._this = t0;
  28348. },
  28349. JSClassExtension_get_defineGetter_closure: function JSClassExtension_get_defineGetter_closure(t0) {
  28350. this._this = t0;
  28351. },
  28352. RenderContext0: function RenderContext0() {
  28353. },
  28354. RenderContextOptions0: function RenderContextOptions0() {
  28355. },
  28356. RenderContextResult0: function RenderContextResult0() {
  28357. },
  28358. RenderContextResultStats0: function RenderContextResultStats0() {
  28359. },
  28360. RenderOptions: function RenderOptions() {
  28361. },
  28362. RenderResult: function RenderResult() {
  28363. },
  28364. RenderResultStats: function RenderResultStats() {
  28365. },
  28366. ReplaceExpressionVisitor0: function ReplaceExpressionVisitor0() {
  28367. },
  28368. ReplaceExpressionVisitor_visitListExpression_closure0: function ReplaceExpressionVisitor_visitListExpression_closure0(t0) {
  28369. this.$this = t0;
  28370. },
  28371. ReplaceExpressionVisitor_visitArgumentInvocation_closure0: function ReplaceExpressionVisitor_visitArgumentInvocation_closure0(t0) {
  28372. this.$this = t0;
  28373. },
  28374. ReplaceExpressionVisitor_visitInterpolation_closure0: function ReplaceExpressionVisitor_visitInterpolation_closure0(t0) {
  28375. this.$this = t0;
  28376. },
  28377. ImporterResult$(contents, sourceMapUrl, syntax) {
  28378. if ((sourceMapUrl == null ? null : sourceMapUrl.get$scheme()) === "")
  28379. A.throwExpression(A.ArgumentError$value(sourceMapUrl, "sourceMapUrl", "must be absolute"));
  28380. return new A.ImporterResult0(contents, sourceMapUrl, syntax);
  28381. },
  28382. ImporterResult0: function ImporterResult0(t0, t1, t2) {
  28383. this.contents = t0;
  28384. this._result$_sourceMapUrl = t1;
  28385. this.syntax = t2;
  28386. },
  28387. ReturnRule0: function ReturnRule0(t0, t1) {
  28388. this.expression = t0;
  28389. this.span = t1;
  28390. },
  28391. SassParser0: function SassParser0(t0, t1, t2, t3) {
  28392. var _ = this;
  28393. _._sass0$_currentIndentation = 0;
  28394. _._sass0$_spaces = _._sass0$_nextIndentationEnd = _._sass0$_nextIndentation = null;
  28395. _._stylesheet0$_isUseAllowed = true;
  28396. _._stylesheet0$_inExpression = _._stylesheet0$_inParentheses = _._stylesheet0$_inStyleRule = _._stylesheet0$_inUnknownAtRule = _._stylesheet0$_inControlDirective = _._stylesheet0$_inContentBlock = _._stylesheet0$_inMixin = false;
  28397. _._stylesheet0$_globalVariables = t0;
  28398. _.lastSilentComment = null;
  28399. _.scanner = t1;
  28400. _.logger = t2;
  28401. _._parser0$_interpolationMap = t3;
  28402. },
  28403. SassParser_styleRuleSelector_closure0: function SassParser_styleRuleSelector_closure0() {
  28404. },
  28405. SassParser_children_closure0: function SassParser_children_closure0(t0, t1, t2) {
  28406. this.$this = t0;
  28407. this.child = t1;
  28408. this.children = t2;
  28409. },
  28410. SassParser__peekIndentation_closure1: function SassParser__peekIndentation_closure1() {
  28411. },
  28412. SassParser__peekIndentation_closure2: function SassParser__peekIndentation_closure2() {
  28413. },
  28414. _translateReturnValue(val) {
  28415. if (val instanceof A._Future)
  28416. return A.futureToPromise(val, type$.dynamic);
  28417. else
  28418. return val;
  28419. },
  28420. main2() {
  28421. new Uint8Array(0);
  28422. A.main();
  28423. J.set$cli_pkg_main_0_$x(self.exports, A._wrapMain(A.sass__main$closure()));
  28424. },
  28425. _wrapMain(main) {
  28426. if (type$.dynamic_Function._is(main))
  28427. return A.allowInterop(new A._wrapMain_closure(main));
  28428. else
  28429. return A.allowInterop(new A._wrapMain_closure0(main));
  28430. },
  28431. _Exports: function _Exports() {
  28432. },
  28433. _wrapMain_closure: function _wrapMain_closure(t0) {
  28434. this.main = t0;
  28435. },
  28436. _wrapMain_closure0: function _wrapMain_closure0(t0) {
  28437. this.main = t0;
  28438. },
  28439. ScssParser$0(contents, logger, url) {
  28440. var t1 = A.SpanScanner$(contents, url),
  28441. t2 = logger == null ? B.StderrLogger_false0 : logger;
  28442. return new A.ScssParser0(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.VariableDeclaration_2), t1, t2, null);
  28443. },
  28444. ScssParser0: function ScssParser0(t0, t1, t2, t3) {
  28445. var _ = this;
  28446. _._stylesheet0$_isUseAllowed = true;
  28447. _._stylesheet0$_inExpression = _._stylesheet0$_inParentheses = _._stylesheet0$_inStyleRule = _._stylesheet0$_inUnknownAtRule = _._stylesheet0$_inControlDirective = _._stylesheet0$_inContentBlock = _._stylesheet0$_inMixin = false;
  28448. _._stylesheet0$_globalVariables = t0;
  28449. _.lastSilentComment = null;
  28450. _.scanner = t1;
  28451. _.logger = t2;
  28452. _._parser0$_interpolationMap = t3;
  28453. },
  28454. Selector0: function Selector0() {
  28455. },
  28456. _IsInvisibleVisitor2: function _IsInvisibleVisitor2(t0) {
  28457. this.includeBogus = t0;
  28458. },
  28459. _IsBogusVisitor0: function _IsBogusVisitor0(t0) {
  28460. this.includeLeadingCombinator = t0;
  28461. },
  28462. _IsBogusVisitor_visitComplexSelector_closure0: function _IsBogusVisitor_visitComplexSelector_closure0(t0) {
  28463. this.$this = t0;
  28464. },
  28465. _IsUselessVisitor0: function _IsUselessVisitor0() {
  28466. },
  28467. _IsUselessVisitor_visitComplexSelector_closure0: function _IsUselessVisitor_visitComplexSelector_closure0(t0) {
  28468. this.$this = t0;
  28469. },
  28470. __IsBogusVisitor_Object_AnySelectorVisitor0: function __IsBogusVisitor_Object_AnySelectorVisitor0() {
  28471. },
  28472. __IsInvisibleVisitor_Object_AnySelectorVisitor0: function __IsInvisibleVisitor_Object_AnySelectorVisitor0() {
  28473. },
  28474. __IsUselessVisitor_Object_AnySelectorVisitor0: function __IsUselessVisitor_Object_AnySelectorVisitor0() {
  28475. },
  28476. SelectorExpression0: function SelectorExpression0(t0) {
  28477. this.span = t0;
  28478. },
  28479. _prependParent0(compound) {
  28480. var _0_3, _0_4, _0_4_isSet, rest, _null = null,
  28481. t1 = A.EvaluationContext_currentOrNull0(),
  28482. span = (t1 == null ? A.throwExpression(A.StateError$(string$.No_Sass)) : t1).get$currentCallableSpan(),
  28483. _0_0 = compound.components;
  28484. $label0$0: {
  28485. _0_3 = _0_0.length >= 1;
  28486. if (_0_3) {
  28487. _0_4 = _0_0[0];
  28488. t1 = _0_4;
  28489. t1 = t1 instanceof A.UniversalSelector0;
  28490. } else {
  28491. _0_4 = _null;
  28492. t1 = false;
  28493. }
  28494. if (t1) {
  28495. t1 = _null;
  28496. break $label0$0;
  28497. }
  28498. if (_0_3) {
  28499. t1 = _0_4;
  28500. if (t1 instanceof A.TypeSelector0) {
  28501. t1 = _0_4;
  28502. t1 = type$.TypeSelector_2._as(t1).name.namespace != null;
  28503. _0_4_isSet = true;
  28504. } else {
  28505. _0_4_isSet = true;
  28506. t1 = false;
  28507. }
  28508. } else {
  28509. _0_4_isSet = _0_3;
  28510. t1 = false;
  28511. }
  28512. if (t1) {
  28513. t1 = _null;
  28514. break $label0$0;
  28515. }
  28516. if (_0_3) {
  28517. if (_0_4_isSet)
  28518. t1 = _0_4;
  28519. else {
  28520. _0_4 = _0_0[0];
  28521. t1 = _0_4;
  28522. _0_4_isSet = true;
  28523. }
  28524. t1 = t1 instanceof A.TypeSelector0;
  28525. } else
  28526. t1 = false;
  28527. if (t1) {
  28528. t1 = _0_4_isSet ? _0_4 : _0_0[0];
  28529. type$.TypeSelector_2._as(t1);
  28530. rest = B.JSArray_methods.sublist$1(_0_0, 1);
  28531. t1 = A._setArrayType([new A.ParentSelector0(t1.name.name, span)], type$.JSArray_SimpleSelector_2);
  28532. B.JSArray_methods.addAll$1(t1, rest);
  28533. t1 = A.CompoundSelector$0(t1, span);
  28534. break $label0$0;
  28535. }
  28536. t1 = A._setArrayType([new A.ParentSelector0(_null, span)], type$.JSArray_SimpleSelector_2);
  28537. B.JSArray_methods.addAll$1(t1, _0_0);
  28538. t1 = A.CompoundSelector$0(t1, span);
  28539. break $label0$0;
  28540. }
  28541. return t1;
  28542. },
  28543. _function7($name, $arguments, callback) {
  28544. return A.BuiltInCallable$function0($name, $arguments, callback, "sass:selector");
  28545. },
  28546. _nest_closure0: function _nest_closure0() {
  28547. },
  28548. _nest__closure1: function _nest__closure1(t0) {
  28549. this._box_0 = t0;
  28550. },
  28551. _nest__closure2: function _nest__closure2() {
  28552. },
  28553. _append_closure1: function _append_closure1() {
  28554. },
  28555. _append__closure1: function _append__closure1() {
  28556. },
  28557. _append__closure2: function _append__closure2(t0) {
  28558. this.span = t0;
  28559. },
  28560. _append___closure0: function _append___closure0(t0, t1) {
  28561. this.parent = t0;
  28562. this.span = t1;
  28563. },
  28564. _extend_closure0: function _extend_closure0() {
  28565. },
  28566. _replace_closure0: function _replace_closure0() {
  28567. },
  28568. _unify_closure0: function _unify_closure0() {
  28569. },
  28570. _isSuperselector_closure0: function _isSuperselector_closure0() {
  28571. },
  28572. _simpleSelectors_closure0: function _simpleSelectors_closure0() {
  28573. },
  28574. _simpleSelectors__closure0: function _simpleSelectors__closure0() {
  28575. },
  28576. _parse_closure0: function _parse_closure0() {
  28577. },
  28578. SelectorParser$0(contents, allowParent, interpolationMap, logger, plainCss, url) {
  28579. var t1 = A.SpanScanner$(contents, url);
  28580. return new A.SelectorParser0(allowParent, plainCss, t1, logger == null ? B.StderrLogger_false0 : logger, interpolationMap);
  28581. },
  28582. SelectorParser0: function SelectorParser0(t0, t1, t2, t3, t4) {
  28583. var _ = this;
  28584. _._selector$_allowParent = t0;
  28585. _._selector$_plainCss = t1;
  28586. _.scanner = t2;
  28587. _.logger = t3;
  28588. _._parser0$_interpolationMap = t4;
  28589. },
  28590. SelectorParser_parse_closure0: function SelectorParser_parse_closure0(t0) {
  28591. this.$this = t0;
  28592. },
  28593. SelectorParser_parseCompoundSelector_closure0: function SelectorParser_parseCompoundSelector_closure0(t0) {
  28594. this.$this = t0;
  28595. },
  28596. SelectorSearchVisitor0: function SelectorSearchVisitor0() {
  28597. },
  28598. SelectorSearchVisitor_visitComplexSelector_closure0: function SelectorSearchVisitor_visitComplexSelector_closure0(t0) {
  28599. this.$this = t0;
  28600. },
  28601. SelectorSearchVisitor_visitCompoundSelector_closure0: function SelectorSearchVisitor_visitCompoundSelector_closure0(t0) {
  28602. this.$this = t0;
  28603. },
  28604. serialize0(node, charset, indentWidth, inspect, lineFeed, sourceMap, style, useSpaces) {
  28605. var t1, css, t2, prefix,
  28606. visitor = A._SerializeVisitor$0(indentWidth == null ? 2 : indentWidth, inspect, lineFeed, true, sourceMap, style, useSpaces);
  28607. node.accept$1(visitor);
  28608. t1 = visitor._serialize0$_buffer;
  28609. css = t1.toString$0(0);
  28610. if (charset) {
  28611. t2 = new A.CodeUnits(css);
  28612. t2 = t2.any$1(t2, new A.serialize_closure0());
  28613. } else
  28614. t2 = false;
  28615. if (t2)
  28616. prefix = style === B.OutputStyle_10 ? "\ufeff" : '@charset "UTF-8";\n';
  28617. else
  28618. prefix = "";
  28619. t1 = sourceMap ? t1.buildSourceMap$1$prefix(prefix) : null;
  28620. return new A._Record_2_sourceMap(prefix + css, t1);
  28621. },
  28622. serializeValue0(value, inspect, quote) {
  28623. var visitor = A._SerializeVisitor$0(null, inspect, null, quote, false, null, true);
  28624. value.accept$1(visitor);
  28625. return visitor._serialize0$_buffer.toString$0(0);
  28626. },
  28627. serializeSelector0(selector, inspect) {
  28628. var visitor = A._SerializeVisitor$0(null, true, null, true, false, null, true);
  28629. selector.accept$1(visitor);
  28630. return visitor._serialize0$_buffer.toString$0(0);
  28631. },
  28632. _SerializeVisitor$0(indentWidth, inspect, lineFeed, quote, sourceMap, style, useSpaces) {
  28633. var t1 = sourceMap ? new A.SourceMapBuffer0(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Entry)) : new A.NoSourceMapBuffer0(new A.StringBuffer("")),
  28634. t2 = style == null ? B.OutputStyle_00 : style,
  28635. t3 = useSpaces ? 32 : 9,
  28636. t4 = indentWidth == null ? 2 : indentWidth,
  28637. t5 = lineFeed == null ? B.LineFeed_LvD : lineFeed;
  28638. A.RangeError_checkValueInInterval(t4, 0, 10, "indentWidth");
  28639. return new A._SerializeVisitor0(t1, t2, inspect, quote, t3, t4, t5);
  28640. },
  28641. serialize_closure0: function serialize_closure0() {
  28642. },
  28643. _SerializeVisitor0: function _SerializeVisitor0(t0, t1, t2, t3, t4, t5, t6) {
  28644. var _ = this;
  28645. _._serialize0$_buffer = t0;
  28646. _._serialize0$_indentation = 0;
  28647. _._serialize0$_style = t1;
  28648. _._serialize0$_inspect = t2;
  28649. _._serialize0$_quote = t3;
  28650. _._serialize0$_indentCharacter = t4;
  28651. _._serialize0$_indentWidth = t5;
  28652. _._lineFeed = t6;
  28653. },
  28654. _SerializeVisitor_visitCssComment_closure0: function _SerializeVisitor_visitCssComment_closure0(t0, t1) {
  28655. this.$this = t0;
  28656. this.node = t1;
  28657. },
  28658. _SerializeVisitor_visitCssAtRule_closure0: function _SerializeVisitor_visitCssAtRule_closure0(t0, t1) {
  28659. this.$this = t0;
  28660. this.node = t1;
  28661. },
  28662. _SerializeVisitor_visitCssMediaRule_closure0: function _SerializeVisitor_visitCssMediaRule_closure0(t0, t1) {
  28663. this.$this = t0;
  28664. this.node = t1;
  28665. },
  28666. _SerializeVisitor_visitCssImport_closure0: function _SerializeVisitor_visitCssImport_closure0(t0, t1) {
  28667. this.$this = t0;
  28668. this.node = t1;
  28669. },
  28670. _SerializeVisitor_visitCssImport__closure0: function _SerializeVisitor_visitCssImport__closure0(t0, t1) {
  28671. this.$this = t0;
  28672. this.node = t1;
  28673. },
  28674. _SerializeVisitor_visitCssKeyframeBlock_closure0: function _SerializeVisitor_visitCssKeyframeBlock_closure0(t0, t1) {
  28675. this.$this = t0;
  28676. this.node = t1;
  28677. },
  28678. _SerializeVisitor_visitCssStyleRule_closure0: function _SerializeVisitor_visitCssStyleRule_closure0(t0, t1) {
  28679. this.$this = t0;
  28680. this.node = t1;
  28681. },
  28682. _SerializeVisitor_visitCssSupportsRule_closure0: function _SerializeVisitor_visitCssSupportsRule_closure0(t0, t1) {
  28683. this.$this = t0;
  28684. this.node = t1;
  28685. },
  28686. _SerializeVisitor_visitCssDeclaration_closure1: function _SerializeVisitor_visitCssDeclaration_closure1(t0, t1) {
  28687. this.$this = t0;
  28688. this.node = t1;
  28689. },
  28690. _SerializeVisitor_visitCssDeclaration_closure2: function _SerializeVisitor_visitCssDeclaration_closure2(t0, t1) {
  28691. this.$this = t0;
  28692. this.node = t1;
  28693. },
  28694. _SerializeVisitor_visitList_closure2: function _SerializeVisitor_visitList_closure2() {
  28695. },
  28696. _SerializeVisitor_visitList_closure3: function _SerializeVisitor_visitList_closure3(t0, t1) {
  28697. this.$this = t0;
  28698. this.value = t1;
  28699. },
  28700. _SerializeVisitor_visitList_closure4: function _SerializeVisitor_visitList_closure4(t0) {
  28701. this.$this = t0;
  28702. },
  28703. _SerializeVisitor_visitMap_closure0: function _SerializeVisitor_visitMap_closure0(t0) {
  28704. this.$this = t0;
  28705. },
  28706. _SerializeVisitor_visitSelectorList_closure0: function _SerializeVisitor_visitSelectorList_closure0() {
  28707. },
  28708. _SerializeVisitor__write_closure0: function _SerializeVisitor__write_closure0(t0, t1) {
  28709. this.$this = t0;
  28710. this.value = t1;
  28711. },
  28712. _SerializeVisitor__visitChildren_closure1: function _SerializeVisitor__visitChildren_closure1(t0, t1) {
  28713. this.$this = t0;
  28714. this.child = t1;
  28715. },
  28716. _SerializeVisitor__visitChildren_closure2: function _SerializeVisitor__visitChildren_closure2(t0, t1) {
  28717. this.$this = t0;
  28718. this.child = t1;
  28719. },
  28720. OutputStyle0: function OutputStyle0(t0) {
  28721. this._name = t0;
  28722. },
  28723. LineFeed0: function LineFeed0(t0, t1, t2) {
  28724. this.name = t0;
  28725. this.text = t1;
  28726. this._name = t2;
  28727. },
  28728. ShadowedModuleView_ifNecessary0(inner, functions, mixins, variables, $T) {
  28729. 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;
  28730. },
  28731. ShadowedModuleView__shadowedMap0(map, blocklist, $V) {
  28732. var t1 = A.ShadowedModuleView__needsBlocklist0(map, blocklist);
  28733. return !t1 ? map : A.LimitedMapView$blocklist0(map, blocklist, type$.String, $V);
  28734. },
  28735. ShadowedModuleView__needsBlocklist0(map, blocklist) {
  28736. return map.get$isNotEmpty(map) && blocklist.any$1(0, map.get$containsKey());
  28737. },
  28738. ShadowedModuleView0: function ShadowedModuleView0(t0, t1, t2, t3, t4, t5) {
  28739. var _ = this;
  28740. _._shadowed_view0$_inner = t0;
  28741. _.variables = t1;
  28742. _.variableNodes = t2;
  28743. _.functions = t3;
  28744. _.mixins = t4;
  28745. _.$ti = t5;
  28746. },
  28747. SilentComment0: function SilentComment0(t0, t1) {
  28748. this.text = t0;
  28749. this.span = t1;
  28750. },
  28751. SimpleSelector0: function SimpleSelector0() {
  28752. },
  28753. SimpleSelector_isSuperselector_closure0: function SimpleSelector_isSuperselector_closure0(t0) {
  28754. this.$this = t0;
  28755. },
  28756. SimpleSelector_isSuperselector__closure0: function SimpleSelector_isSuperselector__closure0(t0) {
  28757. this.$this = t0;
  28758. },
  28759. SingleUnitSassNumber0: function SingleUnitSassNumber0(t0, t1, t2) {
  28760. var _ = this;
  28761. _._single_unit$_unit = t0;
  28762. _._number1$_value = t1;
  28763. _.hashCache = null;
  28764. _.asSlash = t2;
  28765. },
  28766. SingleUnitSassNumber__coerceToUnit_closure0: function SingleUnitSassNumber__coerceToUnit_closure0(t0, t1) {
  28767. this.$this = t0;
  28768. this.unit = t1;
  28769. },
  28770. SingleUnitSassNumber__coerceValueToUnit_closure0: function SingleUnitSassNumber__coerceValueToUnit_closure0(t0) {
  28771. this.$this = t0;
  28772. },
  28773. SingleUnitSassNumber_multiplyUnits_closure1: function SingleUnitSassNumber_multiplyUnits_closure1(t0, t1) {
  28774. this._box_0 = t0;
  28775. this.$this = t1;
  28776. },
  28777. SingleUnitSassNumber_multiplyUnits_closure2: function SingleUnitSassNumber_multiplyUnits_closure2(t0, t1) {
  28778. this._box_0 = t0;
  28779. this.$this = t1;
  28780. },
  28781. SourceMapBuffer0: function SourceMapBuffer0(t0, t1) {
  28782. var _ = this;
  28783. _._source_map_buffer0$_buffer = t0;
  28784. _._source_map_buffer0$_entries = t1;
  28785. _._source_map_buffer0$_column = _._source_map_buffer0$_line = 0;
  28786. _._source_map_buffer0$_inSpan = false;
  28787. },
  28788. SourceMapBuffer_buildSourceMap_closure0: function SourceMapBuffer_buildSourceMap_closure0(t0, t1) {
  28789. this._box_0 = t0;
  28790. this.prefixLength = t1;
  28791. },
  28792. updateSourceSpanPrototype() {
  28793. var t3, t4, _i, t5,
  28794. span = A.SourceFile$fromString("", null).span$1(0, 0),
  28795. t1 = type$.SourceSpan,
  28796. t2 = type$.String;
  28797. 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) {
  28798. t5 = t3._as(t1[_i].constructor);
  28799. 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));
  28800. }
  28801. t1 = t3._as(A.FileLocation$_(span.file, span._file$_start).constructor);
  28802. A.LinkedHashMap_LinkedHashMap$_literal(["line", new A.updateSourceSpanPrototype_closure5(), "column", new A.updateSourceSpanPrototype_closure6()], t2, t4).forEach$1(0, A.JSClassExtension_get_defineGetter(t1));
  28803. },
  28804. updateSourceSpanPrototype_closure: function updateSourceSpanPrototype_closure(t0) {
  28805. this.span = t0;
  28806. },
  28807. updateSourceSpanPrototype_closure0: function updateSourceSpanPrototype_closure0() {
  28808. },
  28809. updateSourceSpanPrototype_closure1: function updateSourceSpanPrototype_closure1() {
  28810. },
  28811. updateSourceSpanPrototype_closure2: function updateSourceSpanPrototype_closure2() {
  28812. },
  28813. updateSourceSpanPrototype_closure3: function updateSourceSpanPrototype_closure3() {
  28814. },
  28815. updateSourceSpanPrototype_closure4: function updateSourceSpanPrototype_closure4() {
  28816. },
  28817. updateSourceSpanPrototype_closure5: function updateSourceSpanPrototype_closure5() {
  28818. },
  28819. updateSourceSpanPrototype_closure6: function updateSourceSpanPrototype_closure6() {
  28820. },
  28821. StatementSearchVisitor0: function StatementSearchVisitor0() {
  28822. },
  28823. StatementSearchVisitor_visitIfRule_closure1: function StatementSearchVisitor_visitIfRule_closure1(t0) {
  28824. this.$this = t0;
  28825. },
  28826. StatementSearchVisitor_visitIfRule__closure2: function StatementSearchVisitor_visitIfRule__closure2(t0) {
  28827. this.$this = t0;
  28828. },
  28829. StatementSearchVisitor_visitIfRule_closure2: function StatementSearchVisitor_visitIfRule_closure2(t0) {
  28830. this.$this = t0;
  28831. },
  28832. StatementSearchVisitor_visitIfRule__closure1: function StatementSearchVisitor_visitIfRule__closure1(t0) {
  28833. this.$this = t0;
  28834. },
  28835. StatementSearchVisitor_visitChildren_closure0: function StatementSearchVisitor_visitChildren_closure0(t0) {
  28836. this.$this = t0;
  28837. },
  28838. StaticImport0: function StaticImport0(t0, t1, t2) {
  28839. this.url = t0;
  28840. this.modifiers = t1;
  28841. this.span = t2;
  28842. },
  28843. StderrLogger0: function StderrLogger0(t0) {
  28844. this.color = t0;
  28845. },
  28846. StringExpression_quoteText0(text) {
  28847. var t1,
  28848. quote = A.StringExpression__bestQuote0(A._setArrayType([text], type$.JSArray_String)),
  28849. buffer = new A.StringBuffer("");
  28850. buffer._contents = "" + A.Primitives_stringFromCharCode(quote);
  28851. A.StringExpression__quoteInnerText0(text, quote, buffer, true);
  28852. t1 = A.Primitives_stringFromCharCode(quote);
  28853. t1 = buffer._contents += t1;
  28854. return t1.charCodeAt(0) == 0 ? t1 : t1;
  28855. },
  28856. StringExpression__quoteInnerText0(text, quote, buffer, $static) {
  28857. var t1, t2, i, _1_0, _0_0, t3, t4, t0;
  28858. for (t1 = text.length, t2 = t1 - 1, i = 0; i < t1; ++i) {
  28859. _1_0 = text.charCodeAt(i);
  28860. if (_1_0 === 10 || _1_0 === 13 || _1_0 === 12) {
  28861. buffer.writeCharCode$1(92);
  28862. buffer.writeCharCode$1(97);
  28863. if (i !== t2) {
  28864. _0_0 = text.charCodeAt(i + 1);
  28865. if (!(_0_0 === 32 || _0_0 === 9 || _0_0 === 10 || _0_0 === 13 || _0_0 === 12))
  28866. if (!(_0_0 >= 48 && _0_0 <= 57))
  28867. if (!(_0_0 >= 97 && _0_0 <= 102))
  28868. t3 = _0_0 >= 65 && _0_0 <= 70;
  28869. else
  28870. t3 = true;
  28871. else
  28872. t3 = true;
  28873. else
  28874. t3 = true;
  28875. if (t3)
  28876. buffer.writeCharCode$1(32);
  28877. }
  28878. continue;
  28879. }
  28880. t3 = 92 === _1_0;
  28881. if (t3)
  28882. t4 = _1_0;
  28883. else
  28884. t4 = null;
  28885. if (!t3) {
  28886. t3 = _1_0 === quote;
  28887. if (t3)
  28888. t4 = _1_0;
  28889. t0 = t4;
  28890. t4 = t3;
  28891. t3 = t0;
  28892. if (!t4)
  28893. if (35 === _1_0)
  28894. if ($static)
  28895. if (i < t2) {
  28896. t4 = text.charCodeAt(i + 1) === 123;
  28897. if (t4)
  28898. t3 = _1_0;
  28899. } else
  28900. t4 = false;
  28901. else
  28902. t4 = false;
  28903. else
  28904. t4 = false;
  28905. else
  28906. t4 = true;
  28907. } else {
  28908. t3 = t4;
  28909. t4 = true;
  28910. }
  28911. if (t4) {
  28912. buffer.writeCharCode$1(92);
  28913. buffer.writeCharCode$1(t3);
  28914. continue;
  28915. }
  28916. buffer.writeCharCode$1(_1_0);
  28917. }
  28918. },
  28919. StringExpression__bestQuote0(strings) {
  28920. var t1, t2, t3, containsDoubleQuote, t4, t5;
  28921. 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();)
  28922. for (t4 = new A.CodeUnits(t1.get$current(t1)), t4 = new A.ListIterator(t4, t4.get$length(0), t3); t4.moveNext$0();) {
  28923. t5 = t4.__internal$_current;
  28924. if (t5 == null)
  28925. t5 = t2._as(t5);
  28926. if (t5 === 39)
  28927. return 34;
  28928. if (t5 === 34)
  28929. containsDoubleQuote = true;
  28930. }
  28931. return containsDoubleQuote ? 39 : 34;
  28932. },
  28933. StringExpression0: function StringExpression0(t0, t1) {
  28934. this.text = t0;
  28935. this.hasQuotes = t1;
  28936. },
  28937. _codepointForIndex0(index, lengthInCodepoints, allowNegative) {
  28938. var result;
  28939. if (index === 0)
  28940. return 0;
  28941. if (index > 0)
  28942. return Math.min(index - 1, lengthInCodepoints);
  28943. result = lengthInCodepoints + index;
  28944. if (result < 0 && !allowNegative)
  28945. return 0;
  28946. return result;
  28947. },
  28948. _function6($name, $arguments, callback) {
  28949. return A.BuiltInCallable$function0($name, $arguments, callback, "sass:string");
  28950. },
  28951. module_closure10: function module_closure10() {
  28952. },
  28953. module__closure2: function module__closure2(t0) {
  28954. this.string = t0;
  28955. },
  28956. module__closure3: function module__closure3(t0) {
  28957. this.string = t0;
  28958. },
  28959. _unquote_closure0: function _unquote_closure0() {
  28960. },
  28961. _quote_closure0: function _quote_closure0() {
  28962. },
  28963. _length_closure1: function _length_closure1() {
  28964. },
  28965. _insert_closure0: function _insert_closure0() {
  28966. },
  28967. _index_closure1: function _index_closure1() {
  28968. },
  28969. _slice_closure0: function _slice_closure0() {
  28970. },
  28971. _toUpperCase_closure0: function _toUpperCase_closure0() {
  28972. },
  28973. _toLowerCase_closure0: function _toLowerCase_closure0() {
  28974. },
  28975. _uniqueId_closure0: function _uniqueId_closure0() {
  28976. },
  28977. stringClass_closure: function stringClass_closure() {
  28978. },
  28979. stringClass__closure: function stringClass__closure() {
  28980. },
  28981. stringClass__closure0: function stringClass__closure0() {
  28982. },
  28983. stringClass__closure1: function stringClass__closure1() {
  28984. },
  28985. stringClass__closure2: function stringClass__closure2() {
  28986. },
  28987. stringClass__closure3: function stringClass__closure3() {
  28988. },
  28989. _ConstructorOptions1: function _ConstructorOptions1() {
  28990. },
  28991. _NodeSassString: function _NodeSassString() {
  28992. },
  28993. legacyStringClass_closure: function legacyStringClass_closure() {
  28994. },
  28995. legacyStringClass_closure0: function legacyStringClass_closure0() {
  28996. },
  28997. legacyStringClass_closure1: function legacyStringClass_closure1() {
  28998. },
  28999. SassString$0(_text, quotes) {
  29000. return new A.SassString0(_text, quotes);
  29001. },
  29002. SassString0: function SassString0(t0, t1) {
  29003. var _ = this;
  29004. _._string0$_text = t0;
  29005. _._string0$_hasQuotes = t1;
  29006. _._string0$__SassString__sassLength_FI = $;
  29007. _._string0$_hashCache = null;
  29008. },
  29009. ModifiableCssStyleRule$0(_selector, span, fromPlainCss, originalSelector) {
  29010. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  29011. return new A.ModifiableCssStyleRule0(_selector, originalSelector, span, fromPlainCss, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode_2), t1);
  29012. },
  29013. ModifiableCssStyleRule0: function ModifiableCssStyleRule0(t0, t1, t2, t3, t4, t5) {
  29014. var _ = this;
  29015. _._style_rule0$_selector = t0;
  29016. _.originalSelector = t1;
  29017. _.span = t2;
  29018. _.fromPlainCss = t3;
  29019. _.children = t4;
  29020. _._node$_children = t5;
  29021. _._node$_indexInParent = _._node$_parent = null;
  29022. _.isGroupEnd = false;
  29023. },
  29024. StyleRule$0(selector, children, span) {
  29025. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  29026. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  29027. return new A.StyleRule0(selector, span, t1, t2);
  29028. },
  29029. StyleRule0: function StyleRule0(t0, t1, t2, t3) {
  29030. var _ = this;
  29031. _.selector = t0;
  29032. _.span = t1;
  29033. _.children = t2;
  29034. _.hasDeclarations = t3;
  29035. },
  29036. CssStylesheet0: function CssStylesheet0(t0, t1) {
  29037. this.children = t0;
  29038. this.span = t1;
  29039. },
  29040. ModifiableCssStylesheet$0(span) {
  29041. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  29042. return new A.ModifiableCssStylesheet0(span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode_2), t1);
  29043. },
  29044. ModifiableCssStylesheet0: function ModifiableCssStylesheet0(t0, t1, t2) {
  29045. var _ = this;
  29046. _.span = t0;
  29047. _.children = t1;
  29048. _._node$_children = t2;
  29049. _._node$_indexInParent = _._node$_parent = null;
  29050. _.isGroupEnd = false;
  29051. },
  29052. StylesheetParser0: function StylesheetParser0() {
  29053. },
  29054. StylesheetParser_parse_closure0: function StylesheetParser_parse_closure0(t0) {
  29055. this.$this = t0;
  29056. },
  29057. StylesheetParser_parse__closure1: function StylesheetParser_parse__closure1(t0) {
  29058. this.$this = t0;
  29059. },
  29060. StylesheetParser_parse__closure2: function StylesheetParser_parse__closure2() {
  29061. },
  29062. StylesheetParser_parseArgumentDeclaration_closure0: function StylesheetParser_parseArgumentDeclaration_closure0(t0) {
  29063. this.$this = t0;
  29064. },
  29065. StylesheetParser__parseSingleProduction_closure0: function StylesheetParser__parseSingleProduction_closure0(t0, t1, t2) {
  29066. this.$this = t0;
  29067. this.production = t1;
  29068. this.T = t2;
  29069. },
  29070. StylesheetParser_parseSignature_closure: function StylesheetParser_parseSignature_closure(t0, t1) {
  29071. this.$this = t0;
  29072. this.requireParens = t1;
  29073. },
  29074. StylesheetParser__statement_closure0: function StylesheetParser__statement_closure0(t0) {
  29075. this.$this = t0;
  29076. },
  29077. StylesheetParser_variableDeclarationWithoutNamespace_closure1: function StylesheetParser_variableDeclarationWithoutNamespace_closure1(t0, t1) {
  29078. this.$this = t0;
  29079. this.start = t1;
  29080. },
  29081. StylesheetParser_variableDeclarationWithoutNamespace_closure2: function StylesheetParser_variableDeclarationWithoutNamespace_closure2(t0) {
  29082. this.declaration = t0;
  29083. },
  29084. StylesheetParser__styleRule_closure0: function StylesheetParser__styleRule_closure0(t0, t1, t2, t3) {
  29085. var _ = this;
  29086. _._box_0 = t0;
  29087. _.$this = t1;
  29088. _.wasInStyleRule = t2;
  29089. _.start = t3;
  29090. },
  29091. StylesheetParser__tryDeclarationChildren_closure0: function StylesheetParser__tryDeclarationChildren_closure0(t0, t1) {
  29092. this.name = t0;
  29093. this.value = t1;
  29094. },
  29095. StylesheetParser__atRootRule_closure1: function StylesheetParser__atRootRule_closure1(t0) {
  29096. this.query = t0;
  29097. },
  29098. StylesheetParser__atRootRule_closure2: function StylesheetParser__atRootRule_closure2() {
  29099. },
  29100. StylesheetParser__eachRule_closure0: function StylesheetParser__eachRule_closure0(t0, t1, t2, t3) {
  29101. var _ = this;
  29102. _.$this = t0;
  29103. _.wasInControlDirective = t1;
  29104. _.variables = t2;
  29105. _.list = t3;
  29106. },
  29107. StylesheetParser__functionRule_closure0: function StylesheetParser__functionRule_closure0(t0, t1, t2) {
  29108. this.name = t0;
  29109. this.$arguments = t1;
  29110. this.precedingComment = t2;
  29111. },
  29112. StylesheetParser__forRule_closure1: function StylesheetParser__forRule_closure1(t0, t1) {
  29113. this._box_0 = t0;
  29114. this.$this = t1;
  29115. },
  29116. StylesheetParser__forRule_closure2: function StylesheetParser__forRule_closure2(t0, t1, t2, t3, t4, t5) {
  29117. var _ = this;
  29118. _._box_0 = t0;
  29119. _.$this = t1;
  29120. _.wasInControlDirective = t2;
  29121. _.variable = t3;
  29122. _.from = t4;
  29123. _.to = t5;
  29124. },
  29125. StylesheetParser__memberList_closure0: function StylesheetParser__memberList_closure0(t0, t1, t2) {
  29126. this.$this = t0;
  29127. this.variables = t1;
  29128. this.identifiers = t2;
  29129. },
  29130. StylesheetParser__includeRule_closure0: function StylesheetParser__includeRule_closure0(t0) {
  29131. this.contentArguments_ = t0;
  29132. },
  29133. StylesheetParser_mediaRule_closure0: function StylesheetParser_mediaRule_closure0(t0) {
  29134. this.query = t0;
  29135. },
  29136. StylesheetParser__mixinRule_closure0: function StylesheetParser__mixinRule_closure0(t0, t1, t2, t3) {
  29137. var _ = this;
  29138. _.$this = t0;
  29139. _.name = t1;
  29140. _.$arguments = t2;
  29141. _.precedingComment = t3;
  29142. },
  29143. StylesheetParser_mozDocumentRule_closure0: function StylesheetParser_mozDocumentRule_closure0(t0, t1, t2, t3) {
  29144. var _ = this;
  29145. _._box_0 = t0;
  29146. _.$this = t1;
  29147. _.name = t2;
  29148. _.value = t3;
  29149. },
  29150. StylesheetParser_supportsRule_closure0: function StylesheetParser_supportsRule_closure0(t0) {
  29151. this.condition = t0;
  29152. },
  29153. StylesheetParser__whileRule_closure0: function StylesheetParser__whileRule_closure0(t0, t1, t2) {
  29154. this.$this = t0;
  29155. this.wasInControlDirective = t1;
  29156. this.condition = t2;
  29157. },
  29158. StylesheetParser_unknownAtRule_closure0: function StylesheetParser_unknownAtRule_closure0(t0, t1) {
  29159. this._box_0 = t0;
  29160. this.name = t1;
  29161. },
  29162. StylesheetParser__expression_resetState0: function StylesheetParser__expression_resetState0(t0, t1, t2) {
  29163. this._box_0 = t0;
  29164. this.$this = t1;
  29165. this.start = t2;
  29166. },
  29167. StylesheetParser__expression_resolveOneOperation0: function StylesheetParser__expression_resolveOneOperation0(t0, t1) {
  29168. this._box_0 = t0;
  29169. this.$this = t1;
  29170. },
  29171. StylesheetParser__expression_resolveOperations0: function StylesheetParser__expression_resolveOperations0(t0, t1) {
  29172. this._box_0 = t0;
  29173. this.resolveOneOperation = t1;
  29174. },
  29175. StylesheetParser__expression_addSingleExpression0: function StylesheetParser__expression_addSingleExpression0(t0, t1, t2, t3) {
  29176. var _ = this;
  29177. _._box_0 = t0;
  29178. _.$this = t1;
  29179. _.resetState = t2;
  29180. _.resolveOperations = t3;
  29181. },
  29182. StylesheetParser__expression_addOperator0: function StylesheetParser__expression_addOperator0(t0, t1, t2) {
  29183. this._box_0 = t0;
  29184. this.$this = t1;
  29185. this.resolveOneOperation = t2;
  29186. },
  29187. StylesheetParser__expression_resolveSpaceExpressions0: function StylesheetParser__expression_resolveSpaceExpressions0(t0, t1, t2) {
  29188. this._box_0 = t0;
  29189. this.$this = t1;
  29190. this.resolveOperations = t2;
  29191. },
  29192. StylesheetParser_expressionUntilComma_closure0: function StylesheetParser_expressionUntilComma_closure0(t0) {
  29193. this.$this = t0;
  29194. },
  29195. StylesheetParser__isHexColor_closure0: function StylesheetParser__isHexColor_closure0() {
  29196. },
  29197. StylesheetParser__unicodeRange_closure1: function StylesheetParser__unicodeRange_closure1() {
  29198. },
  29199. StylesheetParser__unicodeRange_closure2: function StylesheetParser__unicodeRange_closure2() {
  29200. },
  29201. StylesheetParser_namespacedExpression_closure0: function StylesheetParser_namespacedExpression_closure0(t0, t1) {
  29202. this.$this = t0;
  29203. this.start = t1;
  29204. },
  29205. StylesheetParser_trySpecialFunction_closure0: function StylesheetParser_trySpecialFunction_closure0() {
  29206. },
  29207. StylesheetParser__expressionUntilComparison_closure0: function StylesheetParser__expressionUntilComparison_closure0(t0) {
  29208. this.$this = t0;
  29209. },
  29210. StylesheetParser__publicIdentifier_closure0: function StylesheetParser__publicIdentifier_closure0(t0, t1) {
  29211. this.$this = t0;
  29212. this.start = t1;
  29213. },
  29214. Stylesheet$internal0(children, span, plainCss) {
  29215. var t1 = A._setArrayType([], type$.JSArray_UseRule_2),
  29216. t2 = A._setArrayType([], type$.JSArray_ForwardRule_2),
  29217. t3 = A.List_List$unmodifiable(children, type$.Statement_2),
  29218. t4 = B.JSArray_methods.any$1(t3, new A.ParentStatement_closure0());
  29219. t1 = new A.Stylesheet0(span, plainCss, t1, t2, t3, t4);
  29220. t1.Stylesheet$internal$3$plainCss0(children, span, plainCss);
  29221. return t1;
  29222. },
  29223. Stylesheet_Stylesheet$parse0(contents, syntax, logger, url) {
  29224. var error, stackTrace, url0, t1, exception, t2;
  29225. try {
  29226. switch (syntax) {
  29227. case B.Syntax_Sass_sass0:
  29228. t1 = A.SpanScanner$(contents, url);
  29229. t1 = new A.SassParser0(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.VariableDeclaration_2), t1, logger, null).parse$0();
  29230. return t1;
  29231. case B.Syntax_SCSS_scss0:
  29232. t1 = A.ScssParser$0(contents, logger, url).parse$0();
  29233. return t1;
  29234. case B.Syntax_CSS_css0:
  29235. t1 = A.SpanScanner$(contents, url);
  29236. t1 = new A.CssParser0(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.VariableDeclaration_2), t1, logger, null).parse$0();
  29237. return t1;
  29238. default:
  29239. t1 = A.ArgumentError$("Unknown syntax " + syntax.toString$0(0) + ".", null);
  29240. throw A.wrapException(t1);
  29241. }
  29242. } catch (exception) {
  29243. t1 = A.unwrapException(exception);
  29244. if (t1 instanceof A.SassException0) {
  29245. error = t1;
  29246. stackTrace = A.getTraceFromException(exception);
  29247. t1 = error;
  29248. t2 = J.getInterceptor$z(t1);
  29249. t1 = A.SourceSpanException.prototype.get$span.call(t2, t1);
  29250. url0 = t1.get$sourceUrl(t1);
  29251. if (url0 == null || J.toString$0$(url0) === "stdin")
  29252. throw exception;
  29253. t1 = type$.Uri;
  29254. throw A.wrapException(A.throwWithTrace0(error.withLoadedUrls$1(A.Set_Set$unmodifiable(A.LinkedHashSet_LinkedHashSet$_literal([url0], t1), t1)), error, stackTrace));
  29255. } else
  29256. throw exception;
  29257. }
  29258. },
  29259. Stylesheet0: function Stylesheet0(t0, t1, t2, t3, t4, t5) {
  29260. var _ = this;
  29261. _.span = t0;
  29262. _.plainCss = t1;
  29263. _._stylesheet1$_uses = t2;
  29264. _._stylesheet1$_forwards = t3;
  29265. _.children = t4;
  29266. _.hasDeclarations = t5;
  29267. },
  29268. SupportsExpression0: function SupportsExpression0(t0) {
  29269. this.condition = t0;
  29270. },
  29271. ModifiableCssSupportsRule$0(condition, span) {
  29272. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  29273. return new A.ModifiableCssSupportsRule0(condition, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode_2), t1);
  29274. },
  29275. ModifiableCssSupportsRule0: function ModifiableCssSupportsRule0(t0, t1, t2, t3) {
  29276. var _ = this;
  29277. _.condition = t0;
  29278. _.span = t1;
  29279. _.children = t2;
  29280. _._node$_children = t3;
  29281. _._node$_indexInParent = _._node$_parent = null;
  29282. _.isGroupEnd = false;
  29283. },
  29284. SupportsRule$0(condition, children, span) {
  29285. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  29286. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  29287. return new A.SupportsRule0(condition, span, t1, t2);
  29288. },
  29289. SupportsRule0: function SupportsRule0(t0, t1, t2, t3) {
  29290. var _ = this;
  29291. _.condition = t0;
  29292. _.span = t1;
  29293. _.children = t2;
  29294. _.hasDeclarations = t3;
  29295. },
  29296. JSToDartImporter: function JSToDartImporter(t0, t1, t2) {
  29297. this._sync$_canonicalize = t0;
  29298. this._sync$_load = t1;
  29299. this._sync$_nonCanonicalSchemes = t2;
  29300. },
  29301. JSToDartImporter_canonicalize_closure: function JSToDartImporter_canonicalize_closure(t0, t1) {
  29302. this.$this = t0;
  29303. this.url = t1;
  29304. },
  29305. JSToDartImporter_load_closure: function JSToDartImporter_load_closure(t0, t1) {
  29306. this.$this = t0;
  29307. this.url = t1;
  29308. },
  29309. Syntax_forPath0(path) {
  29310. var t1,
  29311. _0_0 = A.ParsedPath_ParsedPath$parse(path, $.$get$context().style)._splitExtension$1(1)[1];
  29312. $label0$0: {
  29313. if (".sass" === _0_0) {
  29314. t1 = B.Syntax_Sass_sass0;
  29315. break $label0$0;
  29316. }
  29317. if (".css" === _0_0) {
  29318. t1 = B.Syntax_CSS_css0;
  29319. break $label0$0;
  29320. }
  29321. t1 = B.Syntax_SCSS_scss0;
  29322. break $label0$0;
  29323. }
  29324. return t1;
  29325. },
  29326. Syntax0: function Syntax0(t0, t1) {
  29327. this._syntax0$_name = t0;
  29328. this._name = t1;
  29329. },
  29330. TypeSelector0: function TypeSelector0(t0, t1) {
  29331. this.name = t0;
  29332. this.span = t1;
  29333. },
  29334. Types: function Types() {
  29335. },
  29336. UnaryOperationExpression0: function UnaryOperationExpression0(t0, t1, t2) {
  29337. this.operator = t0;
  29338. this.operand = t1;
  29339. this.span = t2;
  29340. },
  29341. UnaryOperator0: function UnaryOperator0(t0, t1, t2) {
  29342. this.name = t0;
  29343. this.operator = t1;
  29344. this._name = t2;
  29345. },
  29346. UnitlessSassNumber0: function UnitlessSassNumber0(t0, t1) {
  29347. this._number1$_value = t0;
  29348. this.hashCache = null;
  29349. this.asSlash = t1;
  29350. },
  29351. UniversalSelector0: function UniversalSelector0(t0, t1) {
  29352. this.namespace = t0;
  29353. this.span = t1;
  29354. },
  29355. UnprefixedMapView0: function UnprefixedMapView0(t0, t1, t2) {
  29356. this._unprefixed_map_view0$_map = t0;
  29357. this._unprefixed_map_view0$_prefix = t1;
  29358. this.$ti = t2;
  29359. },
  29360. _UnprefixedKeys0: function _UnprefixedKeys0(t0) {
  29361. this._unprefixed_map_view0$_view = t0;
  29362. },
  29363. _UnprefixedKeys_iterator_closure1: function _UnprefixedKeys_iterator_closure1(t0) {
  29364. this.$this = t0;
  29365. },
  29366. _UnprefixedKeys_iterator_closure2: function _UnprefixedKeys_iterator_closure2(t0) {
  29367. this.$this = t0;
  29368. },
  29369. JSUrl0: function JSUrl0() {
  29370. },
  29371. UseRule0: function UseRule0(t0, t1, t2, t3) {
  29372. var _ = this;
  29373. _.url = t0;
  29374. _.namespace = t1;
  29375. _.configuration = t2;
  29376. _.span = t3;
  29377. },
  29378. UserDefinedCallable0: function UserDefinedCallable0(t0, t1, t2, t3) {
  29379. var _ = this;
  29380. _.declaration = t0;
  29381. _.environment = t1;
  29382. _.inDependency = t2;
  29383. _.$ti = t3;
  29384. },
  29385. fromImport0() {
  29386. var t1 = type$.nullable_CanonicalizeContext_2._as($.Zone__current.$index(0, B.Symbol__canonicalizeContext));
  29387. t1 = t1 == null ? null : t1._canonicalize_context$_fromImport;
  29388. return t1 === true;
  29389. },
  29390. canonicalizeContext0() {
  29391. var t1,
  29392. _0_0 = $.Zone__current.$index(0, B.Symbol__canonicalizeContext);
  29393. $label0$0: {
  29394. if (_0_0 == null)
  29395. A.throwExpression(A.StateError$(string$.canoni));
  29396. if (_0_0 instanceof A.CanonicalizeContext0) {
  29397. t1 = _0_0;
  29398. break $label0$0;
  29399. }
  29400. t1 = A.throwExpression(A.StateError$(string$.Unexpe + A.S(_0_0) + "."));
  29401. }
  29402. return t1;
  29403. },
  29404. inImportRule(callback, $T) {
  29405. var t1,
  29406. _0_0 = $.Zone__current.$index(0, B.Symbol__canonicalizeContext);
  29407. $label0$0: {
  29408. if (_0_0 == null) {
  29409. t1 = type$.nullable_Object;
  29410. t1 = A.runZoned(callback, A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__canonicalizeContext, new A.CanonicalizeContext0(true, null)], t1, t1), $T);
  29411. break $label0$0;
  29412. }
  29413. if (_0_0 instanceof A.CanonicalizeContext0) {
  29414. t1 = _0_0.withFromImport$2(true, callback);
  29415. break $label0$0;
  29416. }
  29417. t1 = A.throwExpression(A.StateError$(string$.Unexpe + A.S(_0_0) + "."));
  29418. }
  29419. return t1;
  29420. },
  29421. resolveImportPath0(path) {
  29422. var t1,
  29423. extension = A.ParsedPath_ParsedPath$parse(path, $.$get$context().style)._splitExtension$1(1)[1];
  29424. if (extension === ".sass" || extension === ".scss" || extension === ".css") {
  29425. t1 = A.fromImport0() ? new A.resolveImportPath_closure1(path, extension).call$0() : null;
  29426. return t1 == null ? A._exactlyOne0(A._tryPath0(path)) : t1;
  29427. }
  29428. t1 = A.fromImport0() ? new A.resolveImportPath_closure2(path).call$0() : null;
  29429. if (t1 == null)
  29430. t1 = A._exactlyOne0(A._tryPathWithExtensions0(path));
  29431. return t1 == null ? A._tryPathAsDirectory0(path) : t1;
  29432. },
  29433. _tryPathWithExtensions0(path) {
  29434. var result = A._tryPath0(path + ".sass");
  29435. B.JSArray_methods.addAll$1(result, A._tryPath0(path + ".scss"));
  29436. return result.length !== 0 ? result : A._tryPath0(path + ".css");
  29437. },
  29438. _tryPath0(path) {
  29439. var t1 = $.$get$context(),
  29440. partial = A.join(t1.dirname$1(path), "_" + A.ParsedPath_ParsedPath$parse(path, t1.style).get$basename(), null);
  29441. t1 = A._setArrayType([], type$.JSArray_String);
  29442. if (A.fileExists0(partial))
  29443. t1.push(partial);
  29444. if (A.fileExists0(path))
  29445. t1.push(path);
  29446. return t1;
  29447. },
  29448. _tryPathAsDirectory0(path) {
  29449. var t1;
  29450. if (!A.dirExists0(path))
  29451. return null;
  29452. t1 = A.fromImport0() ? new A._tryPathAsDirectory_closure0(path).call$0() : null;
  29453. return t1 == null ? A._exactlyOne0(A._tryPathWithExtensions0(A.join(path, "index", null))) : t1;
  29454. },
  29455. _exactlyOne0(paths) {
  29456. var _0_1, t1, path;
  29457. $label0$0: {
  29458. _0_1 = paths.length;
  29459. if (_0_1 <= 0) {
  29460. t1 = null;
  29461. break $label0$0;
  29462. }
  29463. if (_0_1 === 1) {
  29464. path = paths[0];
  29465. t1 = path;
  29466. break $label0$0;
  29467. }
  29468. t1 = A.throwExpression(string$.It_s_n + B.JSArray_methods.map$1$1(paths, new A._exactlyOne_closure0(), type$.String).join$1(0, "\n"));
  29469. }
  29470. return t1;
  29471. },
  29472. resolveImportPath_closure1: function resolveImportPath_closure1(t0, t1) {
  29473. this.path = t0;
  29474. this.extension = t1;
  29475. },
  29476. resolveImportPath_closure2: function resolveImportPath_closure2(t0) {
  29477. this.path = t0;
  29478. },
  29479. _tryPathAsDirectory_closure0: function _tryPathAsDirectory_closure0(t0) {
  29480. this.path = t0;
  29481. },
  29482. _exactlyOne_closure0: function _exactlyOne_closure0() {
  29483. },
  29484. jsThrow(error) {
  29485. return type$.Never._as($.$get$_jsThrow().call$1(error));
  29486. },
  29487. attachJsStack(error, trace) {
  29488. var traceString = trace.toString$0(0),
  29489. firstRealLine = B.JSString_methods.indexOf$1(traceString, "\n at");
  29490. if (firstRealLine !== -1)
  29491. traceString = B.JSString_methods.substring$1(traceString, firstRealLine + 1);
  29492. error.stack = "Error: " + A.S(J.get$message$x(error)) + "\n" + traceString;
  29493. },
  29494. jsForEach(object, callback) {
  29495. var t1, t2;
  29496. for (t1 = J.get$iterator$ax(self.Object.keys(object)); t1.moveNext$0();) {
  29497. t2 = t1.get$current(t1);
  29498. callback.call$2(t2, object[t2]);
  29499. }
  29500. },
  29501. jsType(value) {
  29502. var typeOf = A._asString(new self.Function("value", "return typeof value").call$1(value));
  29503. 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));
  29504. },
  29505. defineGetter(object, $name, get, value) {
  29506. self.Object.defineProperty(object, $name, get == null ? {value: value, enumerable: false} : {get: A.allowInteropCaptureThis(get), enumerable: false});
  29507. },
  29508. allowInteropNamed($name, $function) {
  29509. $function = A.allowInterop($function);
  29510. A.defineGetter($function, "name", null, $name);
  29511. A._hideDartProperties($function);
  29512. return $function;
  29513. },
  29514. allowInteropCaptureThisNamed($name, $function) {
  29515. $function = A.allowInteropCaptureThis($function);
  29516. A.defineGetter($function, "name", null, $name);
  29517. A._hideDartProperties($function);
  29518. return $function;
  29519. },
  29520. _hideDartProperties(object) {
  29521. var t1, t2, t3, t4;
  29522. 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();) {
  29523. t3 = t1.__internal$_current;
  29524. if (t3 == null)
  29525. t3 = t2._as(t3);
  29526. if (B.JSString_methods.startsWith$1(t3, "_")) {
  29527. t4 = {value: object[t3], enumerable: false};
  29528. self.Object.defineProperty(object, t3, t4);
  29529. }
  29530. }
  29531. },
  29532. futureToPromise0(future) {
  29533. return new self.Promise(A.allowInterop(new A.futureToPromise_closure0(future)));
  29534. },
  29535. jsToDartUrl(url) {
  29536. return A.Uri_parse(J.toString$0$(url));
  29537. },
  29538. dartToJSUrl(url) {
  29539. return new self.URL(url.toString$0(0));
  29540. },
  29541. toJSArray(iterable) {
  29542. var t1, t2,
  29543. array = new self.Array();
  29544. for (t1 = J.get$iterator$ax(iterable), t2 = J.getInterceptor$x(array); t1.moveNext$0();)
  29545. t2.push$1(array, t1.get$current(t1));
  29546. return array;
  29547. },
  29548. objectToMap(object) {
  29549. var map = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.nullable_Object);
  29550. A.jsForEach(object, new A.objectToMap_closure(map));
  29551. return map;
  29552. },
  29553. jsToDartSeparator(separator) {
  29554. var t1;
  29555. $label0$0: {
  29556. if (" " === separator) {
  29557. t1 = B.ListSeparator_nbm0;
  29558. break $label0$0;
  29559. }
  29560. if ("," === separator) {
  29561. t1 = B.ListSeparator_ECn0;
  29562. break $label0$0;
  29563. }
  29564. if ("/" === separator) {
  29565. t1 = B.ListSeparator_cQA0;
  29566. break $label0$0;
  29567. }
  29568. if (separator == null) {
  29569. t1 = B.ListSeparator_undecided_null_undecided0;
  29570. break $label0$0;
  29571. }
  29572. t1 = A.jsThrow(new self.Error('Unknown separator "' + separator + '".'));
  29573. }
  29574. return t1;
  29575. },
  29576. parseSyntax(syntax) {
  29577. var t1;
  29578. $label0$0: {
  29579. if (syntax == null || "scss" === syntax) {
  29580. t1 = B.Syntax_SCSS_scss0;
  29581. break $label0$0;
  29582. }
  29583. if ("indented" === syntax) {
  29584. t1 = B.Syntax_Sass_sass0;
  29585. break $label0$0;
  29586. }
  29587. if ("css" === syntax) {
  29588. t1 = B.Syntax_CSS_css0;
  29589. break $label0$0;
  29590. }
  29591. t1 = A.jsThrow(new self.Error('Unknown syntax "' + A.S(syntax) + '".'));
  29592. }
  29593. return t1;
  29594. },
  29595. entrypointFilename() {
  29596. var _1_0, _1_5_isSet, _1_5, t2, path,
  29597. t1 = self.require.main,
  29598. _0_0 = t1 == null ? null : J.get$filename$x(t1);
  29599. if (_0_0 != null)
  29600. return _0_0;
  29601. else {
  29602. _1_0 = J.get$argv$x(self.process);
  29603. t1 = J.getInterceptor$asx(_1_0);
  29604. _1_5_isSet = t1.get$length(_1_0) >= 2;
  29605. if (_1_5_isSet) {
  29606. _1_5 = t1.$index(_1_0, 1);
  29607. t2 = typeof _1_5 == "string";
  29608. } else {
  29609. _1_5 = null;
  29610. t2 = false;
  29611. }
  29612. if (t2) {
  29613. path = A._asString(_1_5_isSet ? _1_5 : t1.$index(_1_0, 1));
  29614. return J.resolve$1$x(J.createRequire$1$x(self.nodeModule, path), path);
  29615. } else
  29616. return null;
  29617. }
  29618. },
  29619. _PropertyDescriptor0: function _PropertyDescriptor0() {
  29620. },
  29621. futureToPromise_closure0: function futureToPromise_closure0(t0) {
  29622. this.future = t0;
  29623. },
  29624. futureToPromise__closure0: function futureToPromise__closure0(t0) {
  29625. this.resolve = t0;
  29626. },
  29627. futureToPromise__closure1: function futureToPromise__closure1(t0) {
  29628. this.reject = t0;
  29629. },
  29630. objectToMap_closure: function objectToMap_closure(t0) {
  29631. this.map = t0;
  29632. },
  29633. _RequireMain0: function _RequireMain0() {
  29634. },
  29635. toSentence0(iter, conjunction) {
  29636. if (iter.get$length(iter) === 1)
  29637. return J.toString$0$(iter.get$first(iter));
  29638. return A.IterableExtension_get_exceptLast0(iter).join$1(0, ", ") + (" " + conjunction + " " + A.S(iter.get$last(iter)));
  29639. },
  29640. indent0(string, indentation) {
  29641. 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");
  29642. },
  29643. pluralize0($name, number, plural) {
  29644. if (number === 1)
  29645. return $name;
  29646. if (plural != null)
  29647. return plural;
  29648. return $name + "s";
  29649. },
  29650. trimAscii0(string, excludeEscape) {
  29651. var t1,
  29652. start = A._firstNonWhitespace0(string);
  29653. if (start == null)
  29654. t1 = "";
  29655. else {
  29656. t1 = A._lastNonWhitespace0(string, true);
  29657. t1.toString;
  29658. t1 = B.JSString_methods.substring$2(string, start, t1 + 1);
  29659. }
  29660. return t1;
  29661. },
  29662. trimAsciiRight0(string, excludeEscape) {
  29663. var end = A._lastNonWhitespace0(string, excludeEscape);
  29664. return end == null ? "" : B.JSString_methods.substring$2(string, 0, end + 1);
  29665. },
  29666. _firstNonWhitespace0(string) {
  29667. var t1, i, t2;
  29668. for (t1 = string.length, i = 0; i < t1; ++i) {
  29669. t2 = string.charCodeAt(i);
  29670. if (!(t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12))
  29671. return i;
  29672. }
  29673. return null;
  29674. },
  29675. _lastNonWhitespace0(string, excludeEscape) {
  29676. var i, i0, codeUnit;
  29677. for (i = string.length - 1, i0 = i; i0 >= 0; --i0) {
  29678. codeUnit = string.charCodeAt(i0);
  29679. if (!(codeUnit === 32 || codeUnit === 9 || codeUnit === 10 || codeUnit === 13 || codeUnit === 12))
  29680. if (excludeEscape && i0 !== 0 && i0 !== i && codeUnit === 92)
  29681. return i0 + 1;
  29682. else
  29683. return i0;
  29684. }
  29685. return null;
  29686. },
  29687. isPublic0(member) {
  29688. var start = member.charCodeAt(0);
  29689. return start !== 45 && start !== 95;
  29690. },
  29691. flattenVertically0(iterable, $T) {
  29692. var result,
  29693. t1 = iterable.$ti._eval$1("@<ListIterable.E>")._bind$1($T._eval$1("QueueList<0>"))._eval$1("MappedListIterable<1,2>"),
  29694. queues = A.List_List$of(new A.MappedListIterable(iterable, new A.flattenVertically_closure1($T), t1), true, t1._eval$1("ListIterable.E"));
  29695. if (queues.length === 1)
  29696. return B.JSArray_methods.get$first(queues);
  29697. result = A._setArrayType([], $T._eval$1("JSArray<0>"));
  29698. for (; queues.length !== 0;) {
  29699. if (!!queues.fixed$length)
  29700. A.throwExpression(A.UnsupportedError$("removeWhere"));
  29701. B.JSArray_methods._removeWhere$2(queues, new A.flattenVertically_closure2(result, $T), true);
  29702. }
  29703. return result;
  29704. },
  29705. codepointIndexToCodeUnitIndex0(string, codepointIndex) {
  29706. var codeUnitIndex, i, codeUnitIndex0;
  29707. for (codeUnitIndex = 0, i = 0; i < codepointIndex; ++i) {
  29708. codeUnitIndex0 = codeUnitIndex + 1;
  29709. codeUnitIndex = string.charCodeAt(codeUnitIndex) >>> 10 === 54 ? codeUnitIndex0 + 1 : codeUnitIndex0;
  29710. }
  29711. return codeUnitIndex;
  29712. },
  29713. codeUnitIndexToCodepointIndex0(string, codeUnitIndex) {
  29714. var codepointIndex, i;
  29715. for (codepointIndex = 0, i = 0; i < codeUnitIndex; i = (string.charCodeAt(i) >>> 10 === 54 ? i + 1 : i) + 1)
  29716. ++codepointIndex;
  29717. return codepointIndex;
  29718. },
  29719. frameForSpan0(span, member, url) {
  29720. var t2, t3,
  29721. t1 = url == null ? span.get$sourceUrl(span) : url;
  29722. if (t1 == null)
  29723. t1 = $.$get$_noSourceUrl0();
  29724. t2 = span.get$start(span);
  29725. t2 = t2.file.getLine$1(t2.offset);
  29726. t3 = span.get$start(span);
  29727. return new A.Frame(t1, t2 + 1, t3.file.getColumn$1(t3.offset) + 1, member);
  29728. },
  29729. declarationName0(span) {
  29730. var text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(span.file._decodedChars, span._file$_start, span._end), 0, null);
  29731. return A.trimAsciiRight0(B.JSString_methods.substring$2(text, 0, B.JSString_methods.indexOf$1(text, ":")), false);
  29732. },
  29733. unvendor0($name) {
  29734. var i,
  29735. t1 = $name.length;
  29736. if (t1 < 2)
  29737. return $name;
  29738. if ($name.charCodeAt(0) !== 45)
  29739. return $name;
  29740. if ($name.charCodeAt(1) === 45)
  29741. return $name;
  29742. for (i = 2; i < t1; ++i)
  29743. if ($name.charCodeAt(i) === 45)
  29744. return B.JSString_methods.substring$1($name, i + 1);
  29745. return $name;
  29746. },
  29747. equalsIgnoreCase0(string1, string2) {
  29748. var t1, i;
  29749. if (string1 === string2)
  29750. return true;
  29751. if (string1 == null)
  29752. return false;
  29753. t1 = string1.length;
  29754. if (t1 !== string2.length)
  29755. return false;
  29756. for (i = 0; i < t1; ++i)
  29757. if (!A.characterEqualsIgnoreCase0(string1.charCodeAt(i), string2.charCodeAt(i)))
  29758. return false;
  29759. return true;
  29760. },
  29761. startsWithIgnoreCase0(string, prefix) {
  29762. var i,
  29763. t1 = prefix.length;
  29764. if (string.length < t1)
  29765. return false;
  29766. for (i = 0; i < t1; ++i)
  29767. if (!A.characterEqualsIgnoreCase0(string.charCodeAt(i), prefix.charCodeAt(i)))
  29768. return false;
  29769. return true;
  29770. },
  29771. mapInPlace0(list, $function) {
  29772. var i;
  29773. for (i = 0; i < list.length; ++i)
  29774. list[i] = $function.call$1(list[i]);
  29775. },
  29776. longestCommonSubsequence0(list1, list2, select, $T) {
  29777. var t1, _i, selections, i, i0, j, selection, j0,
  29778. _length = list1.get$length(0) + 1,
  29779. lengths = J.JSArray_JSArray$allocateFixed(_length, type$.List_int);
  29780. for (t1 = type$.int, _i = 0; _i < _length; ++_i)
  29781. 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);
  29782. _length = list1.get$length(0);
  29783. selections = J.JSArray_JSArray$allocateFixed(_length, $T._eval$1("List<0?>"));
  29784. for (t1 = $T._eval$1("0?"), _i = 0; _i < _length; ++_i)
  29785. 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);
  29786. for (i = 0; i < (list1._queue_list$_tail - list1._queue_list$_head & J.get$length$asx(list1._queue_list$_table) - 1) >>> 0; i = i0)
  29787. 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) {
  29788. selection = select.call$2(list1.$index(0, i), list2.$index(0, j));
  29789. selections[i][j] = selection;
  29790. t1 = lengths[i0];
  29791. j0 = j + 1;
  29792. t1[j0] = selection == null ? Math.max(t1[j], lengths[i][j0]) : lengths[i][j] + 1;
  29793. }
  29794. return new A.longestCommonSubsequence_backtrack0(selections, lengths, $T).call$2(list1.get$length(0) - 1, list2.get$length(0) - 1);
  29795. },
  29796. removeFirstWhere0(list, test, orElse) {
  29797. var i;
  29798. for (i = 0; i < list.length; ++i) {
  29799. if (!test.call$1(list[i]))
  29800. continue;
  29801. B.JSArray_methods.removeAt$1(list, i);
  29802. return;
  29803. }
  29804. orElse.call$0();
  29805. },
  29806. mapAddAll20(destination, source, K1, K2, $V) {
  29807. source.forEach$1(0, new A.mapAddAll2_closure0(destination, K1, K2, $V));
  29808. },
  29809. setAll0(map, keys, value) {
  29810. var t1;
  29811. for (t1 = J.get$iterator$ax(keys); t1.moveNext$0();)
  29812. map.$indexSet(0, t1.get$current(t1), value);
  29813. },
  29814. rotateSlice0(list, start, end) {
  29815. var i, next,
  29816. element = list.$index(0, end - 1);
  29817. for (i = start; i < end; ++i, element = next) {
  29818. next = list.$index(0, i);
  29819. list.$indexSet(0, i, element);
  29820. }
  29821. },
  29822. mapAsync0(iterable, callback, $E, $F) {
  29823. return A.mapAsync$body0(iterable, callback, $E, $F, $F._eval$1("Iterable<0>"));
  29824. },
  29825. mapAsync$body0(iterable, callback, $E, $F, $async$type) {
  29826. var $async$goto = 0,
  29827. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  29828. $async$returnValue, t2, _i, t1, $async$temp1;
  29829. var $async$mapAsync0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  29830. if ($async$errorCode === 1)
  29831. return A._asyncRethrow($async$result, $async$completer);
  29832. while (true)
  29833. switch ($async$goto) {
  29834. case 0:
  29835. // Function start
  29836. t1 = A._setArrayType([], $F._eval$1("JSArray<0>"));
  29837. t2 = iterable.length, _i = 0;
  29838. case 3:
  29839. // for condition
  29840. if (!(_i < t2)) {
  29841. // goto after for
  29842. $async$goto = 5;
  29843. break;
  29844. }
  29845. $async$temp1 = t1;
  29846. $async$goto = 6;
  29847. return A._asyncAwait(callback.call$1(iterable[_i]), $async$mapAsync0);
  29848. case 6:
  29849. // returning from await.
  29850. $async$temp1.push($async$result);
  29851. case 4:
  29852. // for update
  29853. ++_i;
  29854. // goto for condition
  29855. $async$goto = 3;
  29856. break;
  29857. case 5:
  29858. // after for
  29859. $async$returnValue = t1;
  29860. // goto return
  29861. $async$goto = 1;
  29862. break;
  29863. case 1:
  29864. // return
  29865. return A._asyncReturn($async$returnValue, $async$completer);
  29866. }
  29867. });
  29868. return A._asyncStartSync($async$mapAsync0, $async$completer);
  29869. },
  29870. putIfAbsentAsync0(map, key, ifAbsent, $K, $V) {
  29871. return A.putIfAbsentAsync$body0(map, key, ifAbsent, $K, $V, $V);
  29872. },
  29873. putIfAbsentAsync$body0(map, key, ifAbsent, $K, $V, $async$type) {
  29874. var $async$goto = 0,
  29875. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  29876. $async$returnValue, t1, value;
  29877. var $async$putIfAbsentAsync0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  29878. if ($async$errorCode === 1)
  29879. return A._asyncRethrow($async$result, $async$completer);
  29880. while (true)
  29881. switch ($async$goto) {
  29882. case 0:
  29883. // Function start
  29884. if (map.containsKey$1(key)) {
  29885. t1 = map.$index(0, key);
  29886. $async$returnValue = t1 == null ? $V._as(t1) : t1;
  29887. // goto return
  29888. $async$goto = 1;
  29889. break;
  29890. }
  29891. $async$goto = 3;
  29892. return A._asyncAwait(ifAbsent.call$0(), $async$putIfAbsentAsync0);
  29893. case 3:
  29894. // returning from await.
  29895. value = $async$result;
  29896. map.$indexSet(0, key, value);
  29897. $async$returnValue = value;
  29898. // goto return
  29899. $async$goto = 1;
  29900. break;
  29901. case 1:
  29902. // return
  29903. return A._asyncReturn($async$returnValue, $async$completer);
  29904. }
  29905. });
  29906. return A._asyncStartSync($async$putIfAbsentAsync0, $async$completer);
  29907. },
  29908. copyMapOfMap0(map, K1, K2, $V) {
  29909. var t3, key, child,
  29910. t1 = K2._eval$1("@<0>")._bind$1($V)._eval$1("Map<1,2>"),
  29911. t2 = A.LinkedHashMap_LinkedHashMap$_empty(K1, t1);
  29912. for (t1 = A.MapExtensions_get_pairs0(map, K1, t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  29913. t3 = t1.get$current(t1);
  29914. key = t3._0;
  29915. child = t3._1;
  29916. t3 = A.LinkedHashMap_LinkedHashMap(null, null, null, K2, $V);
  29917. t3.addAll$1(0, child);
  29918. t2.$indexSet(0, key, t3);
  29919. }
  29920. return t2;
  29921. },
  29922. copyMapOfList0(map, $K, $E) {
  29923. var t3,
  29924. t1 = $E._eval$1("List<0>"),
  29925. t2 = A.LinkedHashMap_LinkedHashMap$_empty($K, t1);
  29926. for (t1 = A.MapExtensions_get_pairs0(map, $K, t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  29927. t3 = t1.get$current(t1);
  29928. t2.$indexSet(0, t3._0, J.toList$0$ax(t3._1));
  29929. }
  29930. return t2;
  29931. },
  29932. consumeEscapedCharacter0(scanner) {
  29933. var _1_0, value, i, next, t1;
  29934. scanner.expectChar$1(92);
  29935. _1_0 = scanner.peekChar$0();
  29936. if (_1_0 == null)
  29937. return 65533;
  29938. if (_1_0 === 10 || _1_0 === 13 || _1_0 === 12)
  29939. scanner.error$1(0, "Expected escape sequence.");
  29940. if (A.CharacterExtension_get_isHex0(_1_0)) {
  29941. for (value = 0, i = 0; i < 6; ++i) {
  29942. next = scanner.peekChar$0();
  29943. if (next != null) {
  29944. if (!(next >= 48 && next <= 57))
  29945. if (!(next >= 97 && next <= 102))
  29946. t1 = next >= 65 && next <= 70;
  29947. else
  29948. t1 = true;
  29949. else
  29950. t1 = true;
  29951. t1 = !t1;
  29952. } else
  29953. t1 = true;
  29954. if (t1)
  29955. break;
  29956. value = (value << 4 >>> 0) + A.asHex0(scanner.readChar$0());
  29957. }
  29958. t1 = scanner.peekChar$0();
  29959. if (t1 === 32 || t1 === 9 || t1 === 10 || t1 === 13 || t1 === 12)
  29960. scanner.readChar$0();
  29961. $label0$1: {
  29962. if (0 !== value)
  29963. t1 = value >= 55296 && value <= 57343 || value >= 1114111;
  29964. else
  29965. t1 = true;
  29966. if (t1) {
  29967. t1 = 65533;
  29968. break $label0$1;
  29969. }
  29970. t1 = value;
  29971. break $label0$1;
  29972. }
  29973. return t1;
  29974. }
  29975. return scanner.readChar$0();
  29976. },
  29977. throwWithTrace0(error, originalError, trace) {
  29978. var t1 = A.getTrace0(originalError);
  29979. A.attachTrace0(error, t1 == null ? trace : t1);
  29980. throw A.wrapException(error);
  29981. },
  29982. attachTrace0(error, trace) {
  29983. var t1;
  29984. if (typeof error == "string" || typeof error == "number" || A._isBool(error))
  29985. return;
  29986. if (trace.toString$0(0).length === 0)
  29987. return;
  29988. t1 = $.$get$_traces0();
  29989. A.Expando__checkType(error);
  29990. if (t1._jsWeakMap.get(error) == null)
  29991. t1.$indexSet(0, error, trace);
  29992. },
  29993. getTrace0(error) {
  29994. var t1;
  29995. if (typeof error == "string" || typeof error == "number" || A._isBool(error))
  29996. t1 = null;
  29997. else {
  29998. t1 = $.$get$_traces0();
  29999. A.Expando__checkType(error);
  30000. t1 = t1._jsWeakMap.get(error);
  30001. }
  30002. return t1;
  30003. },
  30004. parseSignature(signature, requireParens) {
  30005. var error, stackTrace, t1, exception, t2;
  30006. try {
  30007. t1 = A.ScssParser$0(signature, null, null).parseSignature$1$requireParens(requireParens);
  30008. return t1;
  30009. } catch (exception) {
  30010. t1 = A.unwrapException(exception);
  30011. if (type$.SassFormatException_2._is(t1)) {
  30012. error = t1;
  30013. stackTrace = A.getTraceFromException(exception);
  30014. t1 = error._span_exception$_message;
  30015. t2 = J.get$span$z(error);
  30016. A.throwWithTrace0(new A.SassFormatException0(B.Set_empty, 'Invalid signature "' + signature + '": ' + t1, t2), error, stackTrace);
  30017. } else
  30018. throw exception;
  30019. }
  30020. },
  30021. indent_closure0: function indent_closure0(t0) {
  30022. this.indentation = t0;
  30023. },
  30024. flattenVertically_closure1: function flattenVertically_closure1(t0) {
  30025. this.T = t0;
  30026. },
  30027. flattenVertically_closure2: function flattenVertically_closure2(t0, t1) {
  30028. this.result = t0;
  30029. this.T = t1;
  30030. },
  30031. longestCommonSubsequence_backtrack0: function longestCommonSubsequence_backtrack0(t0, t1, t2) {
  30032. this.selections = t0;
  30033. this.lengths = t1;
  30034. this.T = t2;
  30035. },
  30036. mapAddAll2_closure0: function mapAddAll2_closure0(t0, t1, t2, t3) {
  30037. var _ = this;
  30038. _.destination = t0;
  30039. _.K1 = t1;
  30040. _.K2 = t2;
  30041. _.V = t3;
  30042. },
  30043. CssValue0: function CssValue0(t0, t1, t2) {
  30044. this.value = t0;
  30045. this.span = t1;
  30046. this.$ti = t2;
  30047. },
  30048. ValueExpression0: function ValueExpression0(t0, t1) {
  30049. this.value = t0;
  30050. this.span = t1;
  30051. },
  30052. valueClass_closure: function valueClass_closure() {
  30053. },
  30054. valueClass__closure: function valueClass__closure() {
  30055. },
  30056. valueClass__closure0: function valueClass__closure0() {
  30057. },
  30058. valueClass__closure1: function valueClass__closure1() {
  30059. },
  30060. valueClass__closure2: function valueClass__closure2() {
  30061. },
  30062. valueClass__closure3: function valueClass__closure3() {
  30063. },
  30064. valueClass__closure4: function valueClass__closure4() {
  30065. },
  30066. valueClass__closure5: function valueClass__closure5() {
  30067. },
  30068. valueClass__closure6: function valueClass__closure6() {
  30069. },
  30070. valueClass__closure7: function valueClass__closure7() {
  30071. },
  30072. valueClass__closure8: function valueClass__closure8() {
  30073. },
  30074. valueClass__closure9: function valueClass__closure9() {
  30075. },
  30076. valueClass__closure10: function valueClass__closure10() {
  30077. },
  30078. valueClass__closure11: function valueClass__closure11() {
  30079. },
  30080. valueClass__closure12: function valueClass__closure12() {
  30081. },
  30082. valueClass__closure13: function valueClass__closure13() {
  30083. },
  30084. valueClass__closure14: function valueClass__closure14() {
  30085. },
  30086. valueClass__closure15: function valueClass__closure15() {
  30087. },
  30088. valueClass__closure16: function valueClass__closure16() {
  30089. },
  30090. valueClass__closure17: function valueClass__closure17() {
  30091. },
  30092. valueClass__closure18: function valueClass__closure18() {
  30093. },
  30094. SassApiValue_assertSelector0(_this, allowParent, $name) {
  30095. var error, stackTrace, t1, exception,
  30096. string = _this._value$_selectorString$1($name);
  30097. try {
  30098. t1 = A.SelectorList_SelectorList$parse0(string, allowParent, null, null, false);
  30099. return t1;
  30100. } catch (exception) {
  30101. t1 = A.unwrapException(exception);
  30102. if (type$.SassFormatException_2._is(t1)) {
  30103. error = t1;
  30104. stackTrace = A.getTraceFromException(exception);
  30105. t1 = B.JSString_methods.replaceFirst$2(J.toString$0$(error), "Error: ", "");
  30106. A.throwWithTrace0(new A.SassScriptException0($name == null ? t1 : "$" + $name + ": " + t1), error, stackTrace);
  30107. } else
  30108. throw exception;
  30109. }
  30110. },
  30111. SassApiValue_assertCompoundSelector0(_this, $name) {
  30112. var error, stackTrace, t1, exception,
  30113. allowParent = false,
  30114. string = _this._value$_selectorString$1($name);
  30115. try {
  30116. t1 = A.SelectorParser$0(string, allowParent, null, null, false, null).parseCompoundSelector$0();
  30117. return t1;
  30118. } catch (exception) {
  30119. t1 = A.unwrapException(exception);
  30120. if (type$.SassFormatException_2._is(t1)) {
  30121. error = t1;
  30122. stackTrace = A.getTraceFromException(exception);
  30123. t1 = B.JSString_methods.replaceFirst$2(J.toString$0$(error), "Error: ", "");
  30124. A.throwWithTrace0(new A.SassScriptException0("$" + $name + ": " + t1), error, stackTrace);
  30125. } else
  30126. throw exception;
  30127. }
  30128. },
  30129. Value0: function Value0() {
  30130. },
  30131. VariableExpression0: function VariableExpression0(t0, t1, t2) {
  30132. this.namespace = t0;
  30133. this.name = t1;
  30134. this.span = t2;
  30135. },
  30136. VariableDeclaration$0($name, expression, span, comment, global, guarded, namespace) {
  30137. if (namespace != null && global)
  30138. A.throwExpression(A.ArgumentError$(string$.Other_, null));
  30139. return new A.VariableDeclaration0(namespace, $name, expression, guarded, global, span);
  30140. },
  30141. VariableDeclaration0: function VariableDeclaration0(t0, t1, t2, t3, t4, t5) {
  30142. var _ = this;
  30143. _.namespace = t0;
  30144. _.name = t1;
  30145. _.expression = t2;
  30146. _.isGuarded = t3;
  30147. _.isGlobal = t4;
  30148. _.span = t5;
  30149. },
  30150. WarnRule0: function WarnRule0(t0, t1) {
  30151. this.expression = t0;
  30152. this.span = t1;
  30153. },
  30154. WhileRule$0(condition, children, span) {
  30155. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  30156. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  30157. return new A.WhileRule0(condition, span, t1, t2);
  30158. },
  30159. WhileRule0: function WhileRule0(t0, t1, t2, t3) {
  30160. var _ = this;
  30161. _.condition = t0;
  30162. _.span = t1;
  30163. _.children = t2;
  30164. _.hasDeclarations = t3;
  30165. },
  30166. AsyncCallable_AsyncCallable$fromSignature(signature, callback, requireParens) {
  30167. var _0_0 = A.parseSignature(signature, requireParens);
  30168. return new A.AsyncBuiltInCallable0(_0_0._0, _0_0._1, callback, false);
  30169. },
  30170. Callable_Callable$fromSignature(signature, callback, requireParens) {
  30171. var _0_0 = A.parseSignature(signature, requireParens);
  30172. return new A.BuiltInCallable0(_0_0._0, A._setArrayType([new A._Record_2(_0_0._1, callback)], type$.JSArray_Record_2_ArgumentDeclaration_and_Value_Function_List_Value_2), false);
  30173. },
  30174. printString(string) {
  30175. if (typeof dartPrint == "function") {
  30176. dartPrint(string);
  30177. return;
  30178. }
  30179. if (typeof console == "object" && typeof console.log != "undefined") {
  30180. console.log(string);
  30181. return;
  30182. }
  30183. if (typeof print == "function") {
  30184. print(string);
  30185. return;
  30186. }
  30187. throw "Unable to print message: " + String(string);
  30188. },
  30189. mergeMaps(map1, map2, $K, $V) {
  30190. var result = A.LinkedHashMap_LinkedHashMap$of(map1, $K, $V);
  30191. result.addAll$1(0, map2);
  30192. return result;
  30193. },
  30194. groupBy(values, key, $S, $T) {
  30195. var t1, t2, _i, element, t3, t4,
  30196. map = A.LinkedHashMap_LinkedHashMap$_empty($T, $S._eval$1("List<0>"));
  30197. for (t1 = values.length, t2 = $S._eval$1("JSArray<0>"), _i = 0; _i < values.length; values.length === t1 || (0, A.throwConcurrentModificationError)(values), ++_i) {
  30198. element = values[_i];
  30199. t3 = key.call$1(element);
  30200. t4 = map.$index(0, t3);
  30201. if (t4 == null) {
  30202. t4 = A._setArrayType([], t2);
  30203. map.$indexSet(0, t3, t4);
  30204. t3 = t4;
  30205. } else
  30206. t3 = t4;
  30207. J.add$1$ax(t3, element);
  30208. }
  30209. return map;
  30210. },
  30211. minBy(values, orderBy) {
  30212. var t1, t2, minValue, minOrderBy, element, elementOrderBy;
  30213. for (t1 = values.$ti, t1 = t1._eval$1("@<1>")._bind$1(t1._rest[1]), 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();) {
  30214. element = t2.__internal$_current;
  30215. if (element == null)
  30216. element = t1._as(element);
  30217. elementOrderBy = orderBy.call$1(element);
  30218. if (minOrderBy == null || A.defaultCompare(elementOrderBy, minOrderBy) < 0) {
  30219. minOrderBy = elementOrderBy;
  30220. minValue = element;
  30221. }
  30222. }
  30223. return minValue;
  30224. },
  30225. IterableExtension_firstWhereOrNull(_this, test) {
  30226. var t1, element;
  30227. for (t1 = J.get$iterator$ax(_this); t1.moveNext$0();) {
  30228. element = t1.get$current(t1);
  30229. if (test.call$1(element))
  30230. return element;
  30231. }
  30232. return null;
  30233. },
  30234. IterableExtension_get_firstOrNull(_this) {
  30235. var iterator = J.get$iterator$ax(_this);
  30236. if (iterator.moveNext$0())
  30237. return iterator.get$current(iterator);
  30238. return null;
  30239. },
  30240. IterableExtension_get_lastOrNull(_this) {
  30241. if (_this.get$length(0) === 0)
  30242. return null;
  30243. return _this.get$last(_this);
  30244. },
  30245. IterableExtension_get_singleOrNull(_this) {
  30246. var result,
  30247. iterator = J.get$iterator$ax(_this);
  30248. if (iterator.moveNext$0()) {
  30249. result = iterator.get$current(iterator);
  30250. if (!iterator.moveNext$0())
  30251. return result;
  30252. }
  30253. return null;
  30254. },
  30255. IterableNullableExtension_whereNotNull(_this, $T) {
  30256. return new A._SyncStarIterable(A.IterableNullableExtension_whereNotNull$body(_this, $T), $T._eval$1("_SyncStarIterable<0>"));
  30257. },
  30258. IterableNullableExtension_whereNotNull$body($async$_this, $async$$T) {
  30259. return function() {
  30260. var _this = $async$_this,
  30261. $T = $async$$T;
  30262. var $async$goto = 0, $async$handler = 1, $async$currentError, t1, element;
  30263. return function $async$IterableNullableExtension_whereNotNull($async$iterator, $async$errorCode, $async$result) {
  30264. if ($async$errorCode === 1) {
  30265. $async$currentError = $async$result;
  30266. $async$goto = $async$handler;
  30267. }
  30268. while (true)
  30269. switch ($async$goto) {
  30270. case 0:
  30271. // Function start
  30272. t1 = J.get$iterator$ax(_this);
  30273. case 2:
  30274. // for condition
  30275. if (!t1.moveNext$0()) {
  30276. // goto after for
  30277. $async$goto = 3;
  30278. break;
  30279. }
  30280. element = t1.get$current(t1);
  30281. $async$goto = element != null ? 4 : 5;
  30282. break;
  30283. case 4:
  30284. // then
  30285. $async$goto = 6;
  30286. return $async$iterator._async$_current = element, 1;
  30287. case 6:
  30288. // after yield
  30289. case 5:
  30290. // join
  30291. // goto for condition
  30292. $async$goto = 2;
  30293. break;
  30294. case 3:
  30295. // after for
  30296. // implicit return
  30297. return 0;
  30298. case 1:
  30299. // rethrow
  30300. return $async$iterator._datum = $async$currentError, 3;
  30301. }
  30302. };
  30303. };
  30304. },
  30305. IterableIntegerExtension_get_maxOrNull(_this) {
  30306. var value, newValue,
  30307. t1 = _this.$ti,
  30308. iterator = new A.ListIterator(_this, _this.get$length(0), t1._eval$1("ListIterator<ListIterable.E>"));
  30309. if (iterator.moveNext$0()) {
  30310. value = iterator.__internal$_current;
  30311. if (value == null)
  30312. value = t1._eval$1("ListIterable.E")._as(value);
  30313. for (t1 = t1._eval$1("ListIterable.E"); iterator.moveNext$0();) {
  30314. newValue = iterator.__internal$_current;
  30315. if (newValue == null)
  30316. newValue = t1._as(newValue);
  30317. if (newValue > value)
  30318. value = newValue;
  30319. }
  30320. return value;
  30321. }
  30322. return null;
  30323. },
  30324. IterableIntegerExtension_get_max(_this) {
  30325. var t1 = A.IterableIntegerExtension_get_maxOrNull(_this);
  30326. return t1 == null ? A.throwExpression(A.StateError$("No element")) : t1;
  30327. },
  30328. IterableIntegerExtension_get_sum(_this) {
  30329. var t1, t2, result, t3;
  30330. for (t1 = _this.$ti, t1 = t1._eval$1("@<1>")._bind$1(t1._rest[1]), 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();) {
  30331. t3 = t2.__internal$_current;
  30332. result += t3 == null ? t1._as(t3) : t3;
  30333. }
  30334. return result;
  30335. },
  30336. ListExtensions_mapIndexed(_this, convert, $E, $R) {
  30337. return new A._SyncStarIterable(A.ListExtensions_mapIndexed$body(_this, convert, $E, $R), $R._eval$1("_SyncStarIterable<0>"));
  30338. },
  30339. ListExtensions_mapIndexed$body($async$_this, $async$convert, $async$$E, $async$$R) {
  30340. return function() {
  30341. var _this = $async$_this,
  30342. convert = $async$convert,
  30343. $E = $async$$E,
  30344. $R = $async$$R;
  30345. var $async$goto = 0, $async$handler = 1, $async$currentError, t1, index;
  30346. return function $async$ListExtensions_mapIndexed($async$iterator, $async$errorCode, $async$result) {
  30347. if ($async$errorCode === 1) {
  30348. $async$currentError = $async$result;
  30349. $async$goto = $async$handler;
  30350. }
  30351. while (true)
  30352. switch ($async$goto) {
  30353. case 0:
  30354. // Function start
  30355. t1 = _this.length, index = 0;
  30356. case 2:
  30357. // for condition
  30358. if (!(index < t1)) {
  30359. // goto after for
  30360. $async$goto = 4;
  30361. break;
  30362. }
  30363. $async$goto = 5;
  30364. return $async$iterator._async$_current = convert.call$2(index, _this[index]), 1;
  30365. case 5:
  30366. // after yield
  30367. case 3:
  30368. // for update
  30369. ++index;
  30370. // goto for condition
  30371. $async$goto = 2;
  30372. break;
  30373. case 4:
  30374. // after for
  30375. // implicit return
  30376. return 0;
  30377. case 1:
  30378. // rethrow
  30379. return $async$iterator._datum = $async$currentError, 3;
  30380. }
  30381. };
  30382. };
  30383. },
  30384. ListExtensions_elementAtOrNull(_this, index) {
  30385. var t1 = J.getInterceptor$asx(_this);
  30386. return index < t1.get$length(_this) ? t1.$index(_this, index) : null;
  30387. },
  30388. defaultCompare(value1, value2) {
  30389. return J.compareTo$1$ns(type$.Comparable_nullable_Object._as(value1), value2);
  30390. },
  30391. current() {
  30392. var exception, t1, path, lastIndex, uri = null;
  30393. try {
  30394. uri = A.Uri_base();
  30395. } catch (exception) {
  30396. if (type$.Exception._is(A.unwrapException(exception))) {
  30397. t1 = $._current;
  30398. if (t1 != null)
  30399. return t1;
  30400. throw exception;
  30401. } else
  30402. throw exception;
  30403. }
  30404. if (J.$eq$(uri, $._currentUriBase)) {
  30405. t1 = $._current;
  30406. t1.toString;
  30407. return t1;
  30408. }
  30409. $._currentUriBase = uri;
  30410. if ($.$get$Style_platform() === $.$get$Style_url())
  30411. t1 = $._current = J.resolve$1$x(uri, ".").toString$0(0);
  30412. else {
  30413. path = uri.toFilePath$0();
  30414. lastIndex = path.length - 1;
  30415. t1 = $._current = lastIndex === 0 ? path : B.JSString_methods.substring$2(path, 0, lastIndex);
  30416. }
  30417. return t1;
  30418. },
  30419. absolute(part1, part2, part3, part4, part5, part6, part7, part8, part9, part10, part11, part12, part13, part14, part15) {
  30420. return $.$get$context().absolute$15(part1, part2, part3, part4, part5, part6, part7, part8, part9, part10, part11, part12, part13, part14, part15);
  30421. },
  30422. join(part1, part2, part3) {
  30423. var _null = null;
  30424. return $.$get$context().join$16(0, part1, part2, part3, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  30425. },
  30426. prettyUri(uri) {
  30427. var t1 = $.$get$context();
  30428. uri.toString;
  30429. return t1.prettyUri$1(uri);
  30430. },
  30431. isAlphabetic(char) {
  30432. var t1;
  30433. if (!(char >= 65 && char <= 90))
  30434. t1 = char >= 97 && char <= 122;
  30435. else
  30436. t1 = true;
  30437. return t1;
  30438. },
  30439. driveLetterEnd(path, index) {
  30440. var t2, t3, _null = null,
  30441. t1 = path.length,
  30442. index0 = index + 2;
  30443. if (t1 < index0)
  30444. return _null;
  30445. if (!A.isAlphabetic(path.charCodeAt(index)))
  30446. return _null;
  30447. t2 = index + 1;
  30448. if (path.charCodeAt(t2) !== 58) {
  30449. t3 = index + 4;
  30450. if (t1 < t3)
  30451. return _null;
  30452. if (B.JSString_methods.substring$2(path, t2, t3).toLowerCase() !== "%3a")
  30453. return _null;
  30454. index = index0;
  30455. }
  30456. t2 = index + 2;
  30457. if (t1 === t2)
  30458. return t2;
  30459. if (path.charCodeAt(t2) !== 47)
  30460. return _null;
  30461. return index + 3;
  30462. },
  30463. main0(args) {
  30464. var $async$goto = 0,
  30465. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  30466. t1;
  30467. var $async$main0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  30468. if ($async$errorCode === 1)
  30469. return A._asyncRethrow($async$result, $async$completer);
  30470. while (true)
  30471. switch ($async$goto) {
  30472. case 0:
  30473. // Function start
  30474. A.printError("sass --embedded is unavailable in pure JS mode.");
  30475. t1 = A.isNodeJs() ? self.process : null;
  30476. if (t1 != null)
  30477. J.set$exitCode$x(t1, 1);
  30478. // implicit return
  30479. return A._asyncReturn(null, $async$completer);
  30480. }
  30481. });
  30482. return A._asyncStartSync($async$main0, $async$completer);
  30483. },
  30484. EvaluationContext_currentOrNull() {
  30485. var t1,
  30486. _0_0 = $.Zone__current.$index(0, B.Symbol__evaluationContext);
  30487. $label0$0: {
  30488. if (type$.EvaluationContext._is(_0_0)) {
  30489. t1 = _0_0;
  30490. break $label0$0;
  30491. }
  30492. t1 = null;
  30493. break $label0$0;
  30494. }
  30495. return t1;
  30496. },
  30497. warn(message) {
  30498. var t1,
  30499. _0_0 = A.EvaluationContext_currentOrNull();
  30500. $label0$0: {
  30501. if (_0_0 != null) {
  30502. t1 = _0_0.warn$2(0, message, null);
  30503. break $label0$0;
  30504. }
  30505. t1 = B.StderrLogger_false.warn$1(0, message);
  30506. break $label0$0;
  30507. }
  30508. return t1;
  30509. },
  30510. warnForDeprecation(message, deprecation) {
  30511. var t1,
  30512. _0_0 = A.EvaluationContext_currentOrNull();
  30513. $label0$0: {
  30514. if (_0_0 != null) {
  30515. t1 = _0_0.warn$2(0, message, deprecation);
  30516. break $label0$0;
  30517. }
  30518. t1 = A.WarnForDeprecation_warnForDeprecation(B.StderrLogger_false, deprecation, message, null, null);
  30519. break $label0$0;
  30520. }
  30521. return t1;
  30522. },
  30523. compileStylesheets(options, graph, sourcesToDestinations, ifModified) {
  30524. var $async$goto = 0,
  30525. $async$completer = A._makeAsyncAwaitCompleter(type$.bool),
  30526. $async$returnValue, t2, _1_4, source, t3, _i, t4, printedError, errorWithStackTrace, code, error, stackTrace, buffer, t1, $async$temp1;
  30527. var $async$compileStylesheets = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  30528. if ($async$errorCode === 1)
  30529. return A._asyncRethrow($async$result, $async$completer);
  30530. while (true)
  30531. switch ($async$goto) {
  30532. case 0:
  30533. // Function start
  30534. t1 = type$.nullable_String;
  30535. t1 = A.List_List$of(A.MapExtensions_get_pairs(sourcesToDestinations, t1, t1), true, type$.Record_2_nullable_String_and_nullable_String);
  30536. t2 = t1.length;
  30537. $async$goto = t2 === 1 ? 4 : 5;
  30538. break;
  30539. case 4:
  30540. // then
  30541. _1_4 = t1[0];
  30542. source = _1_4._0;
  30543. $async$temp1 = A;
  30544. $async$goto = 6;
  30545. return A._asyncAwait(A.compileStylesheet(options, graph, source, _1_4._1, ifModified), $async$compileStylesheets);
  30546. case 6:
  30547. // returning from await.
  30548. t1 = $async$temp1._setArrayType([$async$result], type$.JSArray_nullable_Record_3_int_and_String_and_nullable_String);
  30549. // goto break $label0$0
  30550. $async$goto = 3;
  30551. break;
  30552. case 5:
  30553. // join
  30554. t3 = A._setArrayType([], type$.JSArray_Future_nullable_Record_3_int_and_String_and_nullable_String);
  30555. for (_i = 0; _i < t2; ++_i) {
  30556. t4 = t1[_i];
  30557. t3.push(A.compileStylesheet(options, graph, t4._0, t4._1, ifModified));
  30558. }
  30559. $async$goto = 7;
  30560. return A._asyncAwait(A.Future_wait(t3, A._asBool(options._options.$index(0, "stop-on-error")), type$.nullable_Record_3_int_and_String_and_nullable_String), $async$compileStylesheets);
  30561. case 7:
  30562. // returning from await.
  30563. t1 = $async$result;
  30564. // goto break $label0$0
  30565. $async$goto = 3;
  30566. break;
  30567. case 3:
  30568. // break $label0$0
  30569. for (t1 = J.get$iterator$ax(t1), printedError = false; t1.moveNext$0();) {
  30570. errorWithStackTrace = t1.get$current(t1);
  30571. if (errorWithStackTrace == null)
  30572. continue;
  30573. code = errorWithStackTrace._0;
  30574. error = errorWithStackTrace._1;
  30575. stackTrace = errorWithStackTrace._2;
  30576. t2 = self.process;
  30577. if (t2 == null)
  30578. t2 = null;
  30579. else {
  30580. t2 = J.get$release$x(t2);
  30581. t2 = t2 == null ? null : J.get$name$x(t2);
  30582. }
  30583. t2 = J.$eq$(t2, "node") ? self.process : null;
  30584. t2 = t2 == null ? null : J.get$exitCode$x(t2);
  30585. if (t2 == null)
  30586. t2 = 0;
  30587. t2 = Math.max(t2, code);
  30588. t3 = self.process;
  30589. if (t3 == null)
  30590. t3 = null;
  30591. else {
  30592. t3 = J.get$release$x(t3);
  30593. t3 = t3 == null ? null : J.get$name$x(t3);
  30594. }
  30595. t3 = J.$eq$(t3, "node") ? self.process : null;
  30596. if (t3 != null)
  30597. J.set$exitCode$x(t3, t2);
  30598. buffer = new A.StringBuffer("");
  30599. t2 = (printedError ? buffer._contents = "" + "\n" : "") + error;
  30600. buffer._contents = t2;
  30601. if (stackTrace != null) {
  30602. t2 += "\n";
  30603. buffer._contents = t2;
  30604. t2 += "\n";
  30605. buffer._contents = t2;
  30606. buffer._contents = t2 + stackTrace;
  30607. }
  30608. A.printError(buffer);
  30609. printedError = true;
  30610. }
  30611. $async$returnValue = !printedError;
  30612. // goto return
  30613. $async$goto = 1;
  30614. break;
  30615. case 1:
  30616. // return
  30617. return A._asyncReturn($async$returnValue, $async$completer);
  30618. }
  30619. });
  30620. return A._asyncStartSync($async$compileStylesheets, $async$completer);
  30621. },
  30622. repl(options) {
  30623. return A.repl$body(options);
  30624. },
  30625. repl$body(options) {
  30626. var $async$goto = 0,
  30627. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  30628. $async$handler = 1, $async$currentError, $async$next = [], repl, trackingLogger, logger, evaluator, line, declaration, error, stackTrace, t4, t5, t6, t7, t8, line0, toZone, exception, t1, t2, t3, repl0;
  30629. var $async$repl = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  30630. if ($async$errorCode === 1) {
  30631. $async$currentError = $async$result;
  30632. $async$goto = $async$handler;
  30633. }
  30634. while (true)
  30635. switch ($async$goto) {
  30636. case 0:
  30637. // Function start
  30638. t1 = A._setArrayType([], type$.JSArray_String);
  30639. t2 = B.JSString_methods.$mul(" ", 3);
  30640. t3 = $.$get$alwaysValid();
  30641. repl0 = new A.Repl(">> ", t2, t3, t1);
  30642. repl0.__Repl__adapter_A = new A.ReplAdapter(repl0);
  30643. repl = repl0;
  30644. t1 = options._options;
  30645. trackingLogger = new A.TrackingLogger(A._asBool(t1.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(options.get$color()));
  30646. t2 = options.get$silenceDeprecations(0);
  30647. logger = A.DeprecationProcessingLogger$(trackingLogger, options.get$fatalDeprecations(0), options.get$futureDeprecations(0), !A._asBool(t1.$index(0, "verbose")), t2);
  30648. t2 = $.$get$FilesystemImporter_cwd();
  30649. evaluator = new A.Evaluator(A._EvaluateVisitor$(null, A.ImportCache$(options.get$pkgImporters(), type$.List_String._as(t1.$index(0, "load-path")), logger), logger, null, false, false), t2);
  30650. t2 = repl.__Repl__adapter_A;
  30651. t2 === $ && A.throwUnnamedLateFieldNI();
  30652. t2 = new A._StreamIterator(A.checkNotNullable(t2.runAsync$0(), "stream", type$.Object));
  30653. $async$handler = 2;
  30654. t1 = type$.Expression, t3 = type$.String, t4 = type$.VariableDeclaration;
  30655. case 5:
  30656. // for condition
  30657. $async$goto = 7;
  30658. return A._asyncAwait(t2.moveNext$0(), $async$repl);
  30659. case 7:
  30660. // returning from await.
  30661. if (!$async$result) {
  30662. // goto after for
  30663. $async$goto = 6;
  30664. break;
  30665. }
  30666. line = t2.get$current(0);
  30667. if (J.trim$0$s(line).length === 0) {
  30668. // goto for condition
  30669. $async$goto = 5;
  30670. break;
  30671. }
  30672. try {
  30673. if (J.startsWith$1$s(line, "@")) {
  30674. t5 = evaluator;
  30675. t6 = logger;
  30676. t7 = A.SpanScanner$(line, null);
  30677. if (t6 == null)
  30678. t6 = B.StderrLogger_false;
  30679. t6 = new A.ScssParser(A.LinkedHashMap_LinkedHashMap$_empty(t3, t4), t7, t6, null).parseUseRule$0();
  30680. t5._visitor.runStatement$2(t5._importer, t6);
  30681. // goto for condition
  30682. $async$goto = 5;
  30683. break;
  30684. }
  30685. t5 = A.SpanScanner$(line, null);
  30686. if (new A.Parser(t5, B.StderrLogger_false, null)._isVariableDeclarationLike$0()) {
  30687. t5 = logger;
  30688. t6 = A.SpanScanner$(line, null);
  30689. if (t5 == null)
  30690. t5 = B.StderrLogger_false;
  30691. declaration = new A.ScssParser(A.LinkedHashMap_LinkedHashMap$_empty(t3, t4), t6, t5, null).parseVariableDeclaration$0();
  30692. t5 = evaluator;
  30693. t5._visitor.runStatement$2(t5._importer, declaration);
  30694. t5 = evaluator;
  30695. t6 = declaration.name;
  30696. t7 = declaration.span;
  30697. t8 = declaration.namespace;
  30698. line0 = t5._visitor.runExpression$2(t5._importer, new A.VariableExpression(t8, t6, t7)).toString$0(0);
  30699. toZone = $.printToZone;
  30700. if (toZone == null)
  30701. A.printString(line0);
  30702. else
  30703. toZone.call$1(line0);
  30704. } else {
  30705. t5 = evaluator;
  30706. t6 = logger;
  30707. t7 = A.SpanScanner$(line, null);
  30708. if (t6 == null)
  30709. t6 = B.StderrLogger_false;
  30710. t6 = new A.ScssParser(A.LinkedHashMap_LinkedHashMap$_empty(t3, t4), t7, t6, null);
  30711. t6 = t6._parseSingleProduction$1$1(t6.get$_expression(), t1);
  30712. line0 = t5._visitor.runExpression$2(t5._importer, t6).toString$0(0);
  30713. toZone = $.printToZone;
  30714. if (toZone == null)
  30715. A.printString(line0);
  30716. else
  30717. toZone.call$1(line0);
  30718. }
  30719. } catch (exception) {
  30720. t5 = A.unwrapException(exception);
  30721. if (t5 instanceof A.SassException) {
  30722. error = t5;
  30723. stackTrace = A.getTraceFromException(exception);
  30724. t5 = error;
  30725. t6 = typeof t5 != "string";
  30726. if (!t6 || typeof t5 == "number" || A._isBool(t5))
  30727. t5 = null;
  30728. else {
  30729. t7 = $.$get$_traces();
  30730. if (A._isBool(t5) || typeof t5 == "number" || !t6 || t5 instanceof A._Record)
  30731. A.Expando__badExpandoKey(t5);
  30732. t5 = t7._jsWeakMap.get(t5);
  30733. }
  30734. if (t5 == null)
  30735. t5 = stackTrace;
  30736. A._logError(error, t5, line, repl, options, trackingLogger);
  30737. } else
  30738. throw exception;
  30739. }
  30740. // goto for condition
  30741. $async$goto = 5;
  30742. break;
  30743. case 6:
  30744. // after for
  30745. $async$next.push(4);
  30746. // goto finally
  30747. $async$goto = 3;
  30748. break;
  30749. case 2:
  30750. // uncaught
  30751. $async$next = [1];
  30752. case 3:
  30753. // finally
  30754. $async$handler = 1;
  30755. $async$goto = 8;
  30756. return A._asyncAwait(t2.cancel$0(), $async$repl);
  30757. case 8:
  30758. // returning from await.
  30759. // goto the next finally handler
  30760. $async$goto = $async$next.pop();
  30761. break;
  30762. case 4:
  30763. // after finally
  30764. // implicit return
  30765. return A._asyncReturn(null, $async$completer);
  30766. case 1:
  30767. // rethrow
  30768. return A._asyncRethrow($async$currentError, $async$completer);
  30769. }
  30770. });
  30771. return A._asyncStartSync($async$repl, $async$completer);
  30772. },
  30773. _logError(error, stackTrace, line, repl, options, logger) {
  30774. var t2, spacesBeforeError, t3,
  30775. t1 = A.SourceSpanException.prototype.get$span.call(error, 0);
  30776. if (t1.get$sourceUrl(t1) == null)
  30777. if (!A._asBool(options._options.$index(0, "quiet")))
  30778. t1 = logger._emittedDebug || logger._emittedWarning;
  30779. else
  30780. t1 = false;
  30781. else
  30782. t1 = true;
  30783. if (t1) {
  30784. A.print(error.toString$1$color(0, options.get$color()));
  30785. return;
  30786. }
  30787. t1 = options.get$color() ? "" + "\x1b[31m" : "";
  30788. t2 = A.SourceSpanException.prototype.get$span.call(error, 0);
  30789. t2 = t2.get$start(t2);
  30790. spacesBeforeError = repl.prompt.length + t2.file.getColumn$1(t2.offset);
  30791. if (options.get$color()) {
  30792. t2 = A.SourceSpanException.prototype.get$span.call(error, 0);
  30793. t2 = t2.get$start(t2);
  30794. t2 = t2.file.getColumn$1(t2.offset) < line.length;
  30795. } else
  30796. t2 = false;
  30797. if (t2)
  30798. t1 = t1 + ("\x1b[1F\x1b[" + spacesBeforeError + "C") + (A.SourceSpanException.prototype.get$span.call(error, 0).get$text() + "\n");
  30799. t2 = B.JSString_methods.$mul(" ", spacesBeforeError);
  30800. t3 = A.SourceSpanException.prototype.get$span.call(error, 0);
  30801. t3 = t1 + t2 + (B.JSString_methods.$mul("^", Math.max(1, t3.get$length(t3))) + "\n");
  30802. t1 = options.get$color() ? t3 + "\x1b[0m" : t3;
  30803. t1 += "Error: " + error._span_exception$_message + "\n";
  30804. if (A._asBool(options._options.$index(0, "trace")))
  30805. t1 += A.Trace_Trace$from(stackTrace).get$terse().toString$0(0);
  30806. A.print(B.JSString_methods.trimRight$0(t1.charCodeAt(0) == 0 ? t1 : t1));
  30807. },
  30808. CharacterExtension_get_isAlphabetic(_this) {
  30809. var t1;
  30810. if (!(_this >= 97 && _this <= 122))
  30811. t1 = _this >= 65 && _this <= 90;
  30812. else
  30813. t1 = true;
  30814. return t1;
  30815. },
  30816. CharacterExtension_get_isHex(_this) {
  30817. var t1;
  30818. if (!(_this >= 48 && _this <= 57))
  30819. if (!(_this >= 97 && _this <= 102))
  30820. t1 = _this >= 65 && _this <= 70;
  30821. else
  30822. t1 = true;
  30823. else
  30824. t1 = true;
  30825. return t1;
  30826. },
  30827. asHex(character) {
  30828. var t1;
  30829. $label0$0: {
  30830. if (character <= 57) {
  30831. t1 = character - 48;
  30832. break $label0$0;
  30833. }
  30834. if (character <= 70) {
  30835. t1 = 10 + character - 65;
  30836. break $label0$0;
  30837. }
  30838. t1 = 10 + character - 97;
  30839. break $label0$0;
  30840. }
  30841. return t1;
  30842. },
  30843. hexCharFor(number) {
  30844. return number < 10 ? 48 + number : 87 + number;
  30845. },
  30846. opposite(character) {
  30847. var t1;
  30848. $label0$0: {
  30849. if (40 === character) {
  30850. t1 = 41;
  30851. break $label0$0;
  30852. }
  30853. if (123 === character) {
  30854. t1 = 125;
  30855. break $label0$0;
  30856. }
  30857. if (91 === character) {
  30858. t1 = 93;
  30859. break $label0$0;
  30860. }
  30861. t1 = A.throwExpression(A.ArgumentError$('"' + A.String_String$fromCharCode(character) + "\" isn't a brace-like character.", null));
  30862. }
  30863. return t1;
  30864. },
  30865. characterEqualsIgnoreCase(character1, character2) {
  30866. var upperCase1;
  30867. if (character1 === character2)
  30868. return true;
  30869. if ((character1 ^ character2) >>> 0 !== 32)
  30870. return false;
  30871. upperCase1 = (character1 & 4294967263) >>> 0;
  30872. return upperCase1 >= 65 && upperCase1 <= 90;
  30873. },
  30874. IterableExtension_search(_this, callback) {
  30875. var t1, _0_0;
  30876. for (t1 = J.get$iterator$ax(_this); t1.moveNext$0();) {
  30877. _0_0 = callback.call$1(t1.get$current(t1));
  30878. if (_0_0 != null)
  30879. return _0_0;
  30880. }
  30881. return null;
  30882. },
  30883. IterableExtension_get_exceptLast(_this) {
  30884. var t1 = J.getInterceptor$asx(_this),
  30885. size = t1.get$length(_this) - 1;
  30886. if (size < 0)
  30887. throw A.wrapException(A.StateError$("Iterable may not be empty"));
  30888. return t1.take$1(_this, size);
  30889. },
  30890. NullableExtension_andThen(_this, fn) {
  30891. return _this == null ? null : fn.call$1(_this);
  30892. },
  30893. SetExtension_removeNull(_this, $T) {
  30894. _this.remove$1(0, null);
  30895. return A.Set_castFrom(_this, _this.get$_newSimilarSet(), A._instanceType(_this)._precomputed1, $T);
  30896. },
  30897. fuzzyEquals(number1, number2) {
  30898. var t1;
  30899. if (number1 === number2)
  30900. return true;
  30901. if (Math.abs(number1 - number2) <= $.$get$_epsilon()) {
  30902. t1 = $.$get$_inverseEpsilon();
  30903. t1 = B.JSNumber_methods.round$0(number1 * t1) === B.JSNumber_methods.round$0(number2 * t1);
  30904. } else
  30905. t1 = false;
  30906. return t1;
  30907. },
  30908. fuzzyHashCode(number) {
  30909. if (!isFinite(number))
  30910. return B.JSNumber_methods.get$hashCode(number);
  30911. return B.JSInt_methods.get$hashCode(B.JSNumber_methods.round$0(number * $.$get$_inverseEpsilon()));
  30912. },
  30913. fuzzyLessThan(number1, number2) {
  30914. return number1 < number2 && !A.fuzzyEquals(number1, number2);
  30915. },
  30916. fuzzyLessThanOrEquals(number1, number2) {
  30917. return number1 < number2 || A.fuzzyEquals(number1, number2);
  30918. },
  30919. fuzzyGreaterThan(number1, number2) {
  30920. return number1 > number2 && !A.fuzzyEquals(number1, number2);
  30921. },
  30922. fuzzyGreaterThanOrEquals(number1, number2) {
  30923. return number1 > number2 || A.fuzzyEquals(number1, number2);
  30924. },
  30925. fuzzyAsInt(number) {
  30926. var rounded;
  30927. if (number == 1 / 0 || number == -1 / 0 || isNaN(number))
  30928. return null;
  30929. rounded = B.JSNumber_methods.round$0(number);
  30930. return A.fuzzyEquals(number, rounded) ? rounded : null;
  30931. },
  30932. fuzzyRound(number) {
  30933. var t1;
  30934. if (number > 0) {
  30935. t1 = B.JSNumber_methods.$mod(number, 1);
  30936. return t1 < 0.5 && !A.fuzzyEquals(t1, 0.5) ? B.JSNumber_methods.floor$0(number) : B.JSNumber_methods.ceil$0(number);
  30937. } else {
  30938. t1 = B.JSNumber_methods.$mod(number, 1);
  30939. return t1 < 0.5 || A.fuzzyEquals(t1, 0.5) ? B.JSNumber_methods.floor$0(number) : B.JSNumber_methods.ceil$0(number);
  30940. }
  30941. },
  30942. fuzzyCheckRange(number, min, max) {
  30943. if (A.fuzzyEquals(number, min))
  30944. return min;
  30945. if (A.fuzzyEquals(number, max))
  30946. return max;
  30947. if (number > min && number < max)
  30948. return number;
  30949. return null;
  30950. },
  30951. fuzzyAssertRange(number, min, max, $name) {
  30952. var result = A.fuzzyCheckRange(number, min, max);
  30953. if (result != null)
  30954. return result;
  30955. throw A.wrapException(A.RangeError$range(number, min, max, $name, "must be between " + min + " and " + max));
  30956. },
  30957. moduloLikeSass(num1, num2) {
  30958. var result;
  30959. if (num1 == 1 / 0 || num1 == -1 / 0)
  30960. return 0 / 0;
  30961. if (num2 == 1 / 0 || num2 == -1 / 0)
  30962. return A.DoubleWithSignedZero_get_signIncludingZero(num1) === J.get$sign$in(num2) ? num1 : 0 / 0;
  30963. if (num2 > 0)
  30964. return B.JSNumber_methods.$mod(num1, num2);
  30965. if (num2 === 0)
  30966. return 0 / 0;
  30967. result = B.JSNumber_methods.$mod(num1, num2);
  30968. return result === 0 ? 0 : result + num2;
  30969. },
  30970. sqrt(number) {
  30971. number.assertNoUnits$1("number");
  30972. return A.SassNumber_SassNumber(Math.sqrt(number._number$_value), null);
  30973. },
  30974. sin(number) {
  30975. return A.SassNumber_SassNumber(Math.sin(number.coerceValueToUnit$2("rad", "number")), null);
  30976. },
  30977. cos(number) {
  30978. return A.SassNumber_SassNumber(Math.cos(number.coerceValueToUnit$2("rad", "number")), null);
  30979. },
  30980. tan(number) {
  30981. return A.SassNumber_SassNumber(Math.tan(number.coerceValueToUnit$2("rad", "number")), null);
  30982. },
  30983. atan(number) {
  30984. number.assertNoUnits$1("number");
  30985. return A.SassNumber_SassNumber$withUnits(Math.atan(number._number$_value) * 57.29577951308232, null, A._setArrayType(["deg"], type$.JSArray_String));
  30986. },
  30987. asin(number) {
  30988. number.assertNoUnits$1("number");
  30989. return A.SassNumber_SassNumber$withUnits(Math.asin(number._number$_value) * 57.29577951308232, null, A._setArrayType(["deg"], type$.JSArray_String));
  30990. },
  30991. acos(number) {
  30992. number.assertNoUnits$1("number");
  30993. return A.SassNumber_SassNumber$withUnits(Math.acos(number._number$_value) * 57.29577951308232, null, A._setArrayType(["deg"], type$.JSArray_String));
  30994. },
  30995. log(number, base) {
  30996. if (base != null)
  30997. return A.SassNumber_SassNumber(Math.log(number._number$_value) / Math.log(base._number$_value), null);
  30998. return A.SassNumber_SassNumber(Math.log(number._number$_value), null);
  30999. },
  31000. pow0(base, exponent) {
  31001. base.assertNoUnits$1("base");
  31002. exponent.assertNoUnits$1("exponent");
  31003. return A.SassNumber_SassNumber(Math.pow(base._number$_value, exponent._number$_value), null);
  31004. },
  31005. DoubleWithSignedZero_get_signIncludingZero(_this) {
  31006. if (_this === -0.0)
  31007. return -1;
  31008. if (_this === 0)
  31009. return 1;
  31010. return J.get$sign$in(_this);
  31011. },
  31012. SpanExtensions_trimLeft(_this) {
  31013. var t1, start = 0;
  31014. while (true) {
  31015. t1 = _this.get$text().charCodeAt(start);
  31016. if (!(t1 === 32 || t1 === 9 || t1 === 10 || t1 === 13 || t1 === 12))
  31017. break;
  31018. ++start;
  31019. }
  31020. return A.FileSpanExtension_subspan(_this, start, null);
  31021. },
  31022. SpanExtensions_trimRight(_this) {
  31023. var t1,
  31024. end = _this.get$text().length - 1;
  31025. while (true) {
  31026. t1 = _this.get$text().charCodeAt(end);
  31027. if (!(t1 === 32 || t1 === 9 || t1 === 10 || t1 === 13 || t1 === 12))
  31028. break;
  31029. --end;
  31030. }
  31031. return A.FileSpanExtension_subspan(_this, 0, end + 1);
  31032. },
  31033. SpanExtensions_initialIdentifier(_this) {
  31034. var i,
  31035. scanner = A.StringScanner$(_this.get$text(), null, null);
  31036. for (i = 0; false; ++i)
  31037. scanner.readChar$0();
  31038. A._scanIdentifier(scanner);
  31039. return A.FileSpanExtension_subspan(_this, 0, scanner._string_scanner$_position);
  31040. },
  31041. SpanExtensions_withoutInitialIdentifier(_this) {
  31042. var scanner = A.StringScanner$(_this.get$text(), null, null);
  31043. A._scanIdentifier(scanner);
  31044. return A.FileSpanExtension_subspan(_this, scanner._string_scanner$_position, null);
  31045. },
  31046. _scanIdentifier(scanner) {
  31047. var t1, _0_0, t2;
  31048. for (t1 = scanner.string.length; scanner._string_scanner$_position !== t1;) {
  31049. _0_0 = scanner.peekChar$0();
  31050. if (92 === _0_0) {
  31051. A.consumeEscapedCharacter(scanner);
  31052. continue;
  31053. }
  31054. if (A._isInt(_0_0)) {
  31055. if (_0_0 !== 95) {
  31056. if (!(_0_0 >= 97 && _0_0 <= 122))
  31057. t2 = _0_0 >= 65 && _0_0 <= 90;
  31058. else
  31059. t2 = true;
  31060. t2 = t2 || _0_0 >= 128;
  31061. } else
  31062. t2 = true;
  31063. if (!t2)
  31064. t2 = _0_0 >= 48 && _0_0 <= 57 || _0_0 === 45;
  31065. else
  31066. t2 = true;
  31067. } else
  31068. t2 = false;
  31069. if (t2) {
  31070. scanner.readChar$0();
  31071. continue;
  31072. }
  31073. break;
  31074. }
  31075. },
  31076. encodeVlq(value) {
  31077. var res, signBit, digit, t1;
  31078. if (value < $.$get$minInt32() || value > $.$get$maxInt32())
  31079. throw A.wrapException(A.ArgumentError$("expected 32 bit int, got: " + value, null));
  31080. res = A._setArrayType([], type$.JSArray_String);
  31081. if (value < 0) {
  31082. value = -value;
  31083. signBit = 1;
  31084. } else
  31085. signBit = 0;
  31086. value = value << 1 | signBit;
  31087. do {
  31088. digit = value & 31;
  31089. value = value >>> 5;
  31090. t1 = value > 0;
  31091. res.push(string$.ABCDEF[t1 ? digit | 32 : digit]);
  31092. } while (t1);
  31093. return res;
  31094. },
  31095. isAllTheSame(iter) {
  31096. var firstValue, t1, t2, value;
  31097. if (iter.get$length(0) === 0)
  31098. return true;
  31099. firstValue = iter.get$first(0);
  31100. 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();) {
  31101. value = t1.__internal$_current;
  31102. if (!J.$eq$(value == null ? t2._as(value) : value, firstValue))
  31103. return false;
  31104. }
  31105. return true;
  31106. },
  31107. replaceFirstNull(list, element) {
  31108. var index = B.JSArray_methods.indexOf$1(list, null);
  31109. if (index < 0)
  31110. throw A.wrapException(A.ArgumentError$(A.S(list) + " contains no null elements.", null));
  31111. list[index] = element;
  31112. },
  31113. replaceWithNull(list, element) {
  31114. var index = B.JSArray_methods.indexOf$1(list, element);
  31115. if (index < 0)
  31116. throw A.wrapException(A.ArgumentError$(A.S(list) + " contains no elements matching " + element.toString$0(0) + ".", null));
  31117. list[index] = null;
  31118. },
  31119. countCodeUnits(string, codeUnit) {
  31120. var t1, t2, count, t3;
  31121. 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();) {
  31122. t3 = t1.__internal$_current;
  31123. if ((t3 == null ? t2._as(t3) : t3) === codeUnit)
  31124. ++count;
  31125. }
  31126. return count;
  31127. },
  31128. findLineStart(context, text, column) {
  31129. var beginningOfLine, index, lineStart;
  31130. if (text.length === 0)
  31131. for (beginningOfLine = 0; true;) {
  31132. index = B.JSString_methods.indexOf$2(context, "\n", beginningOfLine);
  31133. if (index === -1)
  31134. return context.length - beginningOfLine >= column ? beginningOfLine : null;
  31135. if (index - beginningOfLine >= column)
  31136. return beginningOfLine;
  31137. beginningOfLine = index + 1;
  31138. }
  31139. index = B.JSString_methods.indexOf$1(context, text);
  31140. for (; index !== -1;) {
  31141. lineStart = index === 0 ? 0 : B.JSString_methods.lastIndexOf$2(context, "\n", index - 1) + 1;
  31142. if (column === index - lineStart)
  31143. return lineStart;
  31144. index = B.JSString_methods.indexOf$2(context, text, index + 1);
  31145. }
  31146. return null;
  31147. },
  31148. validateErrorArgs(string, match, position, $length) {
  31149. var t2,
  31150. t1 = position != null;
  31151. if (t1)
  31152. if (position < 0)
  31153. throw A.wrapException(A.RangeError$("position must be greater than or equal to 0."));
  31154. else if (position > string.length)
  31155. throw A.wrapException(A.RangeError$("position must be less than or equal to the string length."));
  31156. t2 = $length != null;
  31157. if (t2 && $length < 0)
  31158. throw A.wrapException(A.RangeError$("length must be greater than or equal to 0."));
  31159. if (t1 && t2 && position + $length > string.length)
  31160. throw A.wrapException(A.RangeError$("position plus length must not go beyond the end of the string."));
  31161. },
  31162. CharacterExtension_get_isAlphabetic0(_this) {
  31163. var t1;
  31164. if (!(_this >= 97 && _this <= 122))
  31165. t1 = _this >= 65 && _this <= 90;
  31166. else
  31167. t1 = true;
  31168. return t1;
  31169. },
  31170. CharacterExtension_get_isHex0(_this) {
  31171. var t1;
  31172. if (!(_this >= 48 && _this <= 57))
  31173. if (!(_this >= 97 && _this <= 102))
  31174. t1 = _this >= 65 && _this <= 70;
  31175. else
  31176. t1 = true;
  31177. else
  31178. t1 = true;
  31179. return t1;
  31180. },
  31181. asHex0(character) {
  31182. var t1;
  31183. $label0$0: {
  31184. if (character <= 57) {
  31185. t1 = character - 48;
  31186. break $label0$0;
  31187. }
  31188. if (character <= 70) {
  31189. t1 = 10 + character - 65;
  31190. break $label0$0;
  31191. }
  31192. t1 = 10 + character - 97;
  31193. break $label0$0;
  31194. }
  31195. return t1;
  31196. },
  31197. hexCharFor0(number) {
  31198. return number < 10 ? 48 + number : 87 + number;
  31199. },
  31200. opposite0(character) {
  31201. var t1;
  31202. $label0$0: {
  31203. if (40 === character) {
  31204. t1 = 41;
  31205. break $label0$0;
  31206. }
  31207. if (123 === character) {
  31208. t1 = 125;
  31209. break $label0$0;
  31210. }
  31211. if (91 === character) {
  31212. t1 = 93;
  31213. break $label0$0;
  31214. }
  31215. t1 = A.throwExpression(A.ArgumentError$('"' + A.String_String$fromCharCode(character) + "\" isn't a brace-like character.", null));
  31216. }
  31217. return t1;
  31218. },
  31219. characterEqualsIgnoreCase0(character1, character2) {
  31220. var upperCase1;
  31221. if (character1 === character2)
  31222. return true;
  31223. if ((character1 ^ character2) >>> 0 !== 32)
  31224. return false;
  31225. upperCase1 = (character1 & 4294967263) >>> 0;
  31226. return upperCase1 >= 65 && upperCase1 <= 90;
  31227. },
  31228. EvaluationContext_currentOrNull0() {
  31229. var t1,
  31230. _0_0 = $.Zone__current.$index(0, B.Symbol__evaluationContext);
  31231. $label0$0: {
  31232. if (type$.EvaluationContext_2._is(_0_0)) {
  31233. t1 = _0_0;
  31234. break $label0$0;
  31235. }
  31236. t1 = null;
  31237. break $label0$0;
  31238. }
  31239. return t1;
  31240. },
  31241. warn0(message) {
  31242. var t1,
  31243. _0_0 = A.EvaluationContext_currentOrNull0();
  31244. $label0$0: {
  31245. if (_0_0 != null) {
  31246. t1 = _0_0.warn$2(0, message, null);
  31247. break $label0$0;
  31248. }
  31249. t1 = B.StderrLogger_false0.warn$1(0, message);
  31250. break $label0$0;
  31251. }
  31252. return t1;
  31253. },
  31254. warnForDeprecation0(message, deprecation) {
  31255. var t1,
  31256. _0_0 = A.EvaluationContext_currentOrNull0();
  31257. $label0$0: {
  31258. if (_0_0 != null) {
  31259. t1 = _0_0.warn$2(0, message, deprecation);
  31260. break $label0$0;
  31261. }
  31262. t1 = A.WarnForDeprecation_warnForDeprecation0(B.StderrLogger_false0, deprecation, message, null, null);
  31263. break $label0$0;
  31264. }
  31265. return t1;
  31266. },
  31267. IterableExtension_search0(_this, callback) {
  31268. var t1, _0_0;
  31269. for (t1 = J.get$iterator$ax(_this); t1.moveNext$0();) {
  31270. _0_0 = callback.call$1(t1.get$current(t1));
  31271. if (_0_0 != null)
  31272. return _0_0;
  31273. }
  31274. return null;
  31275. },
  31276. IterableExtension_get_exceptLast0(_this) {
  31277. var t1 = J.getInterceptor$asx(_this),
  31278. size = t1.get$length(_this) - 1;
  31279. if (size < 0)
  31280. throw A.wrapException(A.StateError$("Iterable may not be empty"));
  31281. return t1.take$1(_this, size);
  31282. },
  31283. NullableExtension_andThen0(_this, fn) {
  31284. return _this == null ? null : fn.call$1(_this);
  31285. },
  31286. fuzzyEquals0(number1, number2) {
  31287. var t1;
  31288. if (number1 === number2)
  31289. return true;
  31290. if (Math.abs(number1 - number2) <= $.$get$_epsilon0()) {
  31291. t1 = $.$get$_inverseEpsilon0();
  31292. t1 = B.JSNumber_methods.round$0(number1 * t1) === B.JSNumber_methods.round$0(number2 * t1);
  31293. } else
  31294. t1 = false;
  31295. return t1;
  31296. },
  31297. fuzzyHashCode0(number) {
  31298. if (!isFinite(number))
  31299. return B.JSNumber_methods.get$hashCode(number);
  31300. return B.JSInt_methods.get$hashCode(B.JSNumber_methods.round$0(number * $.$get$_inverseEpsilon0()));
  31301. },
  31302. fuzzyLessThan0(number1, number2) {
  31303. return number1 < number2 && !A.fuzzyEquals0(number1, number2);
  31304. },
  31305. fuzzyLessThanOrEquals0(number1, number2) {
  31306. return number1 < number2 || A.fuzzyEquals0(number1, number2);
  31307. },
  31308. fuzzyGreaterThan0(number1, number2) {
  31309. return number1 > number2 && !A.fuzzyEquals0(number1, number2);
  31310. },
  31311. fuzzyGreaterThanOrEquals0(number1, number2) {
  31312. return number1 > number2 || A.fuzzyEquals0(number1, number2);
  31313. },
  31314. fuzzyIsInt(number) {
  31315. if (number == 1 / 0 || number == -1 / 0 || isNaN(number))
  31316. return false;
  31317. return A.fuzzyEquals0(number, B.JSNumber_methods.round$0(number));
  31318. },
  31319. fuzzyAsInt0(number) {
  31320. var rounded;
  31321. if (number == 1 / 0 || number == -1 / 0 || isNaN(number))
  31322. return null;
  31323. rounded = B.JSNumber_methods.round$0(number);
  31324. return A.fuzzyEquals0(number, rounded) ? rounded : null;
  31325. },
  31326. fuzzyRound0(number) {
  31327. var t1;
  31328. if (number > 0) {
  31329. t1 = B.JSNumber_methods.$mod(number, 1);
  31330. return t1 < 0.5 && !A.fuzzyEquals0(t1, 0.5) ? B.JSNumber_methods.floor$0(number) : B.JSNumber_methods.ceil$0(number);
  31331. } else {
  31332. t1 = B.JSNumber_methods.$mod(number, 1);
  31333. return t1 < 0.5 || A.fuzzyEquals0(t1, 0.5) ? B.JSNumber_methods.floor$0(number) : B.JSNumber_methods.ceil$0(number);
  31334. }
  31335. },
  31336. fuzzyCheckRange0(number, min, max) {
  31337. if (A.fuzzyEquals0(number, min))
  31338. return min;
  31339. if (A.fuzzyEquals0(number, max))
  31340. return max;
  31341. if (number > min && number < max)
  31342. return number;
  31343. return null;
  31344. },
  31345. fuzzyAssertRange0(number, min, max, $name) {
  31346. var result = A.fuzzyCheckRange0(number, min, max);
  31347. if (result != null)
  31348. return result;
  31349. throw A.wrapException(A.RangeError$range(number, min, max, $name, "must be between " + min + " and " + max));
  31350. },
  31351. moduloLikeSass0(num1, num2) {
  31352. var result;
  31353. if (num1 == 1 / 0 || num1 == -1 / 0)
  31354. return 0 / 0;
  31355. if (num2 == 1 / 0 || num2 == -1 / 0)
  31356. return A.DoubleWithSignedZero_get_signIncludingZero0(num1) === J.get$sign$in(num2) ? num1 : 0 / 0;
  31357. if (num2 > 0)
  31358. return B.JSNumber_methods.$mod(num1, num2);
  31359. if (num2 === 0)
  31360. return 0 / 0;
  31361. result = B.JSNumber_methods.$mod(num1, num2);
  31362. return result === 0 ? 0 : result + num2;
  31363. },
  31364. sqrt0(number) {
  31365. number.assertNoUnits$1("number");
  31366. return A.SassNumber_SassNumber0(Math.sqrt(number._number1$_value), null);
  31367. },
  31368. sin0(number) {
  31369. return A.SassNumber_SassNumber0(Math.sin(number.coerceValueToUnit$2("rad", "number")), null);
  31370. },
  31371. cos0(number) {
  31372. return A.SassNumber_SassNumber0(Math.cos(number.coerceValueToUnit$2("rad", "number")), null);
  31373. },
  31374. tan0(number) {
  31375. return A.SassNumber_SassNumber0(Math.tan(number.coerceValueToUnit$2("rad", "number")), null);
  31376. },
  31377. atan0(number) {
  31378. number.assertNoUnits$1("number");
  31379. return A.SassNumber_SassNumber$withUnits0(Math.atan(number._number1$_value) * 57.29577951308232, null, A._setArrayType(["deg"], type$.JSArray_String));
  31380. },
  31381. asin0(number) {
  31382. number.assertNoUnits$1("number");
  31383. return A.SassNumber_SassNumber$withUnits0(Math.asin(number._number1$_value) * 57.29577951308232, null, A._setArrayType(["deg"], type$.JSArray_String));
  31384. },
  31385. acos0(number) {
  31386. number.assertNoUnits$1("number");
  31387. return A.SassNumber_SassNumber$withUnits0(Math.acos(number._number1$_value) * 57.29577951308232, null, A._setArrayType(["deg"], type$.JSArray_String));
  31388. },
  31389. log0(number, base) {
  31390. if (base != null)
  31391. return A.SassNumber_SassNumber0(Math.log(number._number1$_value) / Math.log(base._number1$_value), null);
  31392. return A.SassNumber_SassNumber0(Math.log(number._number1$_value), null);
  31393. },
  31394. pow1(base, exponent) {
  31395. base.assertNoUnits$1("base");
  31396. exponent.assertNoUnits$1("exponent");
  31397. return A.SassNumber_SassNumber0(Math.pow(base._number1$_value, exponent._number1$_value), null);
  31398. },
  31399. DoubleWithSignedZero_get_signIncludingZero0(_this) {
  31400. if (_this === -0.0)
  31401. return -1;
  31402. if (_this === 0)
  31403. return 1;
  31404. return J.get$sign$in(_this);
  31405. },
  31406. main1(args) {
  31407. return A.main$body(args);
  31408. },
  31409. main$body(args) {
  31410. var $async$goto = 0,
  31411. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  31412. $async$returnValue, $async$handler = 2, $async$currentError, options, t1, graph, error, error0, stackTrace, buffer, t2, t3, t4, t5, exception, $async$exception, $async$temp1;
  31413. var $async$main1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  31414. if ($async$errorCode === 1) {
  31415. $async$currentError = $async$result;
  31416. $async$goto = $async$handler;
  31417. }
  31418. while (true)
  31419. switch ($async$goto) {
  31420. case 0:
  31421. // Function start
  31422. if (args.length >= 1 && "--embedded" === args[0]) {
  31423. A.main0(B.JSArray_methods.sublist$1(args, 1));
  31424. // goto return
  31425. $async$goto = 1;
  31426. break;
  31427. }
  31428. options = null;
  31429. $async$handler = 4;
  31430. options = A.ExecutableOptions_ExecutableOptions$parse(args);
  31431. t2 = options._options;
  31432. $._glyphs = !(t2.wasParsed$1("unicode") ? A._asBool(t2.$index(0, "unicode")) : $._glyphs !== B.C_AsciiGlyphSet) ? B.C_AsciiGlyphSet : B.C_UnicodeGlyphSet;
  31433. $async$goto = A._asBool(options._options.$index(0, "version")) ? 7 : 8;
  31434. break;
  31435. case 7:
  31436. // then
  31437. $async$temp1 = A;
  31438. $async$goto = 9;
  31439. return A._asyncAwait(A._loadVersion(), $async$main1);
  31440. case 9:
  31441. // returning from await.
  31442. $async$temp1.print($async$result);
  31443. t1 = A.isNodeJs() ? self.process : null;
  31444. if (t1 != null)
  31445. J.set$exitCode$x(t1, 0);
  31446. // goto return
  31447. $async$goto = 1;
  31448. break;
  31449. case 8:
  31450. // join
  31451. $async$goto = options.get$interactive() ? 10 : 11;
  31452. break;
  31453. case 10:
  31454. // then
  31455. $async$goto = 12;
  31456. return A._asyncAwait(A.repl(options), $async$main1);
  31457. case 12:
  31458. // returning from await.
  31459. // goto return
  31460. $async$goto = 1;
  31461. break;
  31462. case 11:
  31463. // join
  31464. t1 = A.List_List$of(options.get$pkgImporters(), true, type$.Importer_2);
  31465. J.add$1$ax(t1, $.$get$FilesystemImporter_noLoadPath());
  31466. t2 = type$.List_String._as(options._options.$index(0, "load-path"));
  31467. t3 = options;
  31468. t3 = A._asBool(t3._options.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(t3.get$color());
  31469. t4 = J.get$silenceDeprecations$x(options);
  31470. t5 = type$.Uri;
  31471. graph = new A.StylesheetGraph(A.LinkedHashMap_LinkedHashMap$_empty(t5, type$.StylesheetNode), A.ImportCache$(t1, t2, A.DeprecationProcessingLogger$(t3, J.get$fatalDeprecations$x(options), J.get$futureDeprecations$x(options), false, t4)), A.LinkedHashMap_LinkedHashMap$_empty(t5, type$.DateTime));
  31472. $async$goto = A._asBool(options._options.$index(0, "watch")) ? 13 : 14;
  31473. break;
  31474. case 13:
  31475. // then
  31476. $async$goto = 15;
  31477. return A._asyncAwait(A.watch(options, graph), $async$main1);
  31478. case 15:
  31479. // returning from await.
  31480. // goto return
  31481. $async$goto = 1;
  31482. break;
  31483. case 14:
  31484. // join
  31485. t1 = options;
  31486. t2 = options;
  31487. t2._ensureSources$0();
  31488. t2 = t2._sourcesToDestinations;
  31489. t2.toString;
  31490. $async$goto = 16;
  31491. return A._asyncAwait(A.compileStylesheets(t1, graph, t2, A._asBool(options._options.$index(0, "update"))), $async$main1);
  31492. case 16:
  31493. // returning from await.
  31494. $async$handler = 2;
  31495. // goto after finally
  31496. $async$goto = 6;
  31497. break;
  31498. case 4:
  31499. // catch
  31500. $async$handler = 3;
  31501. $async$exception = $async$currentError;
  31502. t1 = A.unwrapException($async$exception);
  31503. if (t1 instanceof A.UsageException) {
  31504. error = t1;
  31505. A.print(error.message + "\n");
  31506. A.print("Usage: sass <input.scss> [output.css]\n sass <input.scss>:<output.css> <input/>:<output/> <dir/>\n");
  31507. t1 = $.$get$ExecutableOptions__parser();
  31508. A.print(new A._Usage(t1._optionsAndSeparators, new A.StringBuffer(""), t1.usageLineLength).generate$0());
  31509. t1 = A.isNodeJs() ? self.process : null;
  31510. if (t1 != null)
  31511. J.set$exitCode$x(t1, 64);
  31512. } else {
  31513. error0 = t1;
  31514. stackTrace = A.getTraceFromException($async$exception);
  31515. buffer = new A.StringBuffer("");
  31516. t1 = options;
  31517. t1 = t1 == null ? null : t1.get$color();
  31518. if (t1 === true)
  31519. buffer._contents += "\x1b[31m\x1b[1m";
  31520. buffer._contents += "Unexpected exception:";
  31521. t1 = options;
  31522. t1 = t1 == null ? null : t1.get$color();
  31523. if (t1 === true)
  31524. buffer._contents += "\x1b[0m";
  31525. buffer._contents += "\n";
  31526. t1 = buffer;
  31527. t2 = A.S(error0) + "\n";
  31528. t1._contents += t2;
  31529. buffer._contents += "\n";
  31530. buffer._contents += "\n";
  31531. t2 = buffer;
  31532. t1 = A.getTrace(error0);
  31533. t1 = B.JSString_methods.trimRight$0(A.Trace_Trace$from(t1 == null ? stackTrace : t1).get$terse().toString$0(0));
  31534. t2._contents += t1;
  31535. A.printError(buffer);
  31536. t1 = A.isNodeJs() ? self.process : null;
  31537. if (t1 != null)
  31538. J.set$exitCode$x(t1, 255);
  31539. }
  31540. // goto after finally
  31541. $async$goto = 6;
  31542. break;
  31543. case 3:
  31544. // uncaught
  31545. // goto rethrow
  31546. $async$goto = 2;
  31547. break;
  31548. case 6:
  31549. // after finally
  31550. case 1:
  31551. // return
  31552. return A._asyncReturn($async$returnValue, $async$completer);
  31553. case 2:
  31554. // rethrow
  31555. return A._asyncRethrow($async$currentError, $async$completer);
  31556. }
  31557. });
  31558. return A._asyncStartSync($async$main1, $async$completer);
  31559. },
  31560. _loadVersion() {
  31561. var $async$goto = 0,
  31562. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  31563. $async$returnValue;
  31564. var $async$_loadVersion = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  31565. if ($async$errorCode === 1)
  31566. return A._asyncRethrow($async$result, $async$completer);
  31567. while (true)
  31568. switch ($async$goto) {
  31569. case 0:
  31570. // Function start
  31571. $async$returnValue = "1.77.2 compiled with dart2js 3.4.0";
  31572. // goto return
  31573. $async$goto = 1;
  31574. break;
  31575. case 1:
  31576. // return
  31577. return A._asyncReturn($async$returnValue, $async$completer);
  31578. }
  31579. });
  31580. return A._asyncStartSync($async$_loadVersion, $async$completer);
  31581. },
  31582. SpanExtensions_trimLeft0(_this) {
  31583. var t1, start = 0;
  31584. while (true) {
  31585. t1 = _this.get$text().charCodeAt(start);
  31586. if (!(t1 === 32 || t1 === 9 || t1 === 10 || t1 === 13 || t1 === 12))
  31587. break;
  31588. ++start;
  31589. }
  31590. return A.FileSpanExtension_subspan(_this, start, null);
  31591. },
  31592. SpanExtensions_trimRight0(_this) {
  31593. var t1,
  31594. end = _this.get$text().length - 1;
  31595. while (true) {
  31596. t1 = _this.get$text().charCodeAt(end);
  31597. if (!(t1 === 32 || t1 === 9 || t1 === 10 || t1 === 13 || t1 === 12))
  31598. break;
  31599. --end;
  31600. }
  31601. return A.FileSpanExtension_subspan(_this, 0, end + 1);
  31602. },
  31603. SpanExtensions_initialIdentifier0(_this) {
  31604. var i,
  31605. scanner = A.StringScanner$(_this.get$text(), null, null);
  31606. for (i = 0; false; ++i)
  31607. scanner.readChar$0();
  31608. A._scanIdentifier0(scanner);
  31609. return A.FileSpanExtension_subspan(_this, 0, scanner._string_scanner$_position);
  31610. },
  31611. SpanExtensions_withoutInitialIdentifier0(_this) {
  31612. var scanner = A.StringScanner$(_this.get$text(), null, null);
  31613. A._scanIdentifier0(scanner);
  31614. return A.FileSpanExtension_subspan(_this, scanner._string_scanner$_position, null);
  31615. },
  31616. _scanIdentifier0(scanner) {
  31617. var t1, _0_0, t2;
  31618. for (t1 = scanner.string.length; scanner._string_scanner$_position !== t1;) {
  31619. _0_0 = scanner.peekChar$0();
  31620. if (92 === _0_0) {
  31621. A.consumeEscapedCharacter0(scanner);
  31622. continue;
  31623. }
  31624. if (A._isInt(_0_0)) {
  31625. if (_0_0 !== 95) {
  31626. if (!(_0_0 >= 97 && _0_0 <= 122))
  31627. t2 = _0_0 >= 65 && _0_0 <= 90;
  31628. else
  31629. t2 = true;
  31630. t2 = t2 || _0_0 >= 128;
  31631. } else
  31632. t2 = true;
  31633. if (!t2)
  31634. t2 = _0_0 >= 48 && _0_0 <= 57 || _0_0 === 45;
  31635. else
  31636. t2 = true;
  31637. } else
  31638. t2 = false;
  31639. if (t2) {
  31640. scanner.readChar$0();
  31641. continue;
  31642. }
  31643. break;
  31644. }
  31645. },
  31646. validateUrlScheme(scheme) {
  31647. var t1 = $.$get$_urlSchemeRegExp();
  31648. if (!t1._nativeRegExp.test(scheme))
  31649. A.jsThrow(new self.Error('"' + scheme + '" isn\'t a valid URL scheme (for example "file").'));
  31650. },
  31651. unwrapValue(object) {
  31652. var value;
  31653. if (object != null) {
  31654. if (object instanceof A.Value0)
  31655. return object;
  31656. value = object.dartValue;
  31657. if (value != null && value instanceof A.Value0)
  31658. return value;
  31659. if (object instanceof self.Error)
  31660. throw A.wrapException(object);
  31661. }
  31662. throw A.wrapException(A.S(object) + " must be a Sass value type.");
  31663. },
  31664. wrapValue(value) {
  31665. var t1;
  31666. $label0$0: {
  31667. if (value instanceof A.SassColor0) {
  31668. t1 = A.callConstructor($.$get$legacyColorClass(), [null, null, null, null, value]);
  31669. break $label0$0;
  31670. }
  31671. if (value instanceof A.SassList0) {
  31672. t1 = A.callConstructor($.$get$legacyListClass(), [null, null, value]);
  31673. break $label0$0;
  31674. }
  31675. if (value instanceof A.SassMap0) {
  31676. t1 = A.callConstructor($.$get$legacyMapClass(), [null, value]);
  31677. break $label0$0;
  31678. }
  31679. if (value instanceof A.SassNumber0) {
  31680. t1 = A.callConstructor($.$get$legacyNumberClass(), [null, null, value]);
  31681. break $label0$0;
  31682. }
  31683. if (value instanceof A.SassString0) {
  31684. t1 = A.callConstructor($.$get$legacyStringClass(), [null, value]);
  31685. break $label0$0;
  31686. }
  31687. t1 = value;
  31688. break $label0$0;
  31689. }
  31690. return t1;
  31691. }
  31692. },
  31693. B = {};
  31694. var holders = [A, J, B];
  31695. var $ = {};
  31696. A.JS_CONST.prototype = {};
  31697. J.Interceptor.prototype = {
  31698. $eq(receiver, other) {
  31699. return receiver === other;
  31700. },
  31701. get$hashCode(receiver) {
  31702. return A.Primitives_objectHashCode(receiver);
  31703. },
  31704. toString$0(receiver) {
  31705. return "Instance of '" + A.Primitives_objectTypeName(receiver) + "'";
  31706. },
  31707. noSuchMethod$1(receiver, invocation) {
  31708. throw A.wrapException(A.NoSuchMethodError_NoSuchMethodError$withInvocation(receiver, invocation));
  31709. },
  31710. get$runtimeType(receiver) {
  31711. return A.createRuntimeType(A._instanceTypeFromConstructor(this));
  31712. }
  31713. };
  31714. J.JSBool.prototype = {
  31715. toString$0(receiver) {
  31716. return String(receiver);
  31717. },
  31718. get$hashCode(receiver) {
  31719. return receiver ? 519018 : 218159;
  31720. },
  31721. get$runtimeType(receiver) {
  31722. return A.createRuntimeType(type$.bool);
  31723. },
  31724. $isTrustedGetRuntimeType: 1,
  31725. $isbool: 1
  31726. };
  31727. J.JSNull.prototype = {
  31728. $eq(receiver, other) {
  31729. return null == other;
  31730. },
  31731. toString$0(receiver) {
  31732. return "null";
  31733. },
  31734. get$hashCode(receiver) {
  31735. return 0;
  31736. },
  31737. get$runtimeType(receiver) {
  31738. return A.createRuntimeType(type$.Null);
  31739. },
  31740. $isTrustedGetRuntimeType: 1,
  31741. $isNull: 1
  31742. };
  31743. J.JavaScriptObject.prototype = {};
  31744. J.LegacyJavaScriptObject.prototype = {
  31745. get$hashCode(receiver) {
  31746. return 0;
  31747. },
  31748. toString$0(receiver) {
  31749. return String(receiver);
  31750. },
  31751. $isPromise: 1,
  31752. $isJsSystemError: 1,
  31753. $isImmutableList: 1,
  31754. $is_Channels: 1,
  31755. $is_NodeSassColor: 1,
  31756. $isCompileOptions: 1,
  31757. $isCompileStringOptions: 1,
  31758. $isNodeCompileResult: 1,
  31759. $isDeprecation1: 1,
  31760. $is_NodeException: 1,
  31761. $isFiber: 1,
  31762. $isJSFunction0: 1,
  31763. $isImmutableList0: 1,
  31764. $isImmutableMap0: 1,
  31765. $isJSImporter: 1,
  31766. $isJSImporterResult: 1,
  31767. $isNodeImporterResult0: 1,
  31768. $is_ConstructorOptions: 1,
  31769. $is_NodeSassList: 1,
  31770. $isWarnOptions: 1,
  31771. $isDebugOptions: 1,
  31772. $is_NodeSassMap: 1,
  31773. $is_ConstructorOptions0: 1,
  31774. $is_NodeSassNumber: 1,
  31775. $isJSClass0: 1,
  31776. $isRenderContextOptions0: 1,
  31777. $isRenderOptions: 1,
  31778. $isRenderResult: 1,
  31779. $is_ConstructorOptions1: 1,
  31780. $is_NodeSassString: 1,
  31781. $isJSUrl0: 1,
  31782. get$isTTY(obj) {
  31783. return obj.isTTY;
  31784. },
  31785. get$write(obj) {
  31786. return obj.write;
  31787. },
  31788. write$1(receiver, p0) {
  31789. return receiver.write(p0);
  31790. },
  31791. createInterface$1(receiver, p0) {
  31792. return receiver.createInterface(p0);
  31793. },
  31794. on$2(receiver, p0, p1) {
  31795. return receiver.on(p0, p1);
  31796. },
  31797. get$close(obj) {
  31798. return obj.close;
  31799. },
  31800. close$0(receiver) {
  31801. return receiver.close();
  31802. },
  31803. setPrompt$1(receiver, p0) {
  31804. return receiver.setPrompt(p0);
  31805. },
  31806. get$length(obj) {
  31807. return obj.length;
  31808. },
  31809. toString$0(receiver) {
  31810. return receiver.toString();
  31811. },
  31812. get$debug(obj) {
  31813. return obj.debug;
  31814. },
  31815. debug$2(receiver, p0, p1) {
  31816. return receiver.debug(p0, p1);
  31817. },
  31818. get$error(obj) {
  31819. return obj.error;
  31820. },
  31821. error$1(receiver, p0) {
  31822. return receiver.error(p0);
  31823. },
  31824. error$2(receiver, p0, p1) {
  31825. return receiver.error(p0, p1);
  31826. },
  31827. log$1(receiver, p0) {
  31828. return receiver.log(p0);
  31829. },
  31830. get$warn(obj) {
  31831. return obj.warn;
  31832. },
  31833. warn$1(receiver, p0) {
  31834. return receiver.warn(p0);
  31835. },
  31836. warn$2(receiver, p0, p1) {
  31837. return receiver.warn(p0, p1);
  31838. },
  31839. existsSync$1(receiver, p0) {
  31840. return receiver.existsSync(p0);
  31841. },
  31842. mkdirSync$1(receiver, p0) {
  31843. return receiver.mkdirSync(p0);
  31844. },
  31845. readdirSync$1(receiver, p0) {
  31846. return receiver.readdirSync(p0);
  31847. },
  31848. readFileSync$2(receiver, p0, p1) {
  31849. return receiver.readFileSync(p0, p1);
  31850. },
  31851. statSync$1(receiver, p0) {
  31852. return receiver.statSync(p0);
  31853. },
  31854. unlinkSync$1(receiver, p0) {
  31855. return receiver.unlinkSync(p0);
  31856. },
  31857. watch$2(receiver, p0, p1) {
  31858. return receiver.watch(p0, p1);
  31859. },
  31860. writeFileSync$2(receiver, p0, p1) {
  31861. return receiver.writeFileSync(p0, p1);
  31862. },
  31863. get$path(obj) {
  31864. return obj.path;
  31865. },
  31866. isDirectory$0(receiver) {
  31867. return receiver.isDirectory();
  31868. },
  31869. isFile$0(receiver) {
  31870. return receiver.isFile();
  31871. },
  31872. get$mtime(obj) {
  31873. return obj.mtime;
  31874. },
  31875. then$1$1(receiver, p0) {
  31876. return receiver.then(p0);
  31877. },
  31878. then$2(receiver, p0, p1) {
  31879. return receiver.then(p0, p1);
  31880. },
  31881. getTime$0(receiver) {
  31882. return receiver.getTime();
  31883. },
  31884. get$message(obj) {
  31885. return obj.message;
  31886. },
  31887. message$1(receiver, p0) {
  31888. return receiver.message(p0);
  31889. },
  31890. get$filename(obj) {
  31891. return obj.filename;
  31892. },
  31893. get$id(obj) {
  31894. return obj.id;
  31895. },
  31896. get$code(obj) {
  31897. return obj.code;
  31898. },
  31899. get$syscall(obj) {
  31900. return obj.syscall;
  31901. },
  31902. get$argv(obj) {
  31903. return obj.argv;
  31904. },
  31905. get$env(obj) {
  31906. return obj.env;
  31907. },
  31908. get$exitCode(obj) {
  31909. return obj.exitCode;
  31910. },
  31911. set$exitCode(obj, v) {
  31912. return obj.exitCode = v;
  31913. },
  31914. get$platform(obj) {
  31915. return obj.platform;
  31916. },
  31917. get$release(obj) {
  31918. return obj.release;
  31919. },
  31920. get$stderr(obj) {
  31921. return obj.stderr;
  31922. },
  31923. get$stdin(obj) {
  31924. return obj.stdin;
  31925. },
  31926. get$stdout(obj) {
  31927. return obj.stdout;
  31928. },
  31929. get$name(obj) {
  31930. return obj.name;
  31931. },
  31932. push$1(receiver, p0) {
  31933. return receiver.push(p0);
  31934. },
  31935. call$0(receiver) {
  31936. return receiver.call();
  31937. },
  31938. call$1(receiver, p0) {
  31939. return receiver.call(p0);
  31940. },
  31941. call$2(receiver, p0, p1) {
  31942. return receiver.call(p0, p1);
  31943. },
  31944. call$3$1(receiver, p0) {
  31945. return receiver.call(p0);
  31946. },
  31947. call$2$1(receiver, p0) {
  31948. return receiver.call(p0);
  31949. },
  31950. call$1$1(receiver, p0) {
  31951. return receiver.call(p0);
  31952. },
  31953. call$3(receiver, p0, p1, p2) {
  31954. return receiver.call(p0, p1, p2);
  31955. },
  31956. call$3$3(receiver, p0, p1, p2) {
  31957. return receiver.call(p0, p1, p2);
  31958. },
  31959. call$2$2(receiver, p0, p1) {
  31960. return receiver.call(p0, p1);
  31961. },
  31962. call$2$0(receiver) {
  31963. return receiver.call();
  31964. },
  31965. call$1$0(receiver) {
  31966. return receiver.call();
  31967. },
  31968. call$1$2(receiver, p0, p1) {
  31969. return receiver.call(p0, p1);
  31970. },
  31971. call$2$3(receiver, p0, p1, p2) {
  31972. return receiver.call(p0, p1, p2);
  31973. },
  31974. apply$2(receiver, p0, p1) {
  31975. return receiver.apply(p0, p1);
  31976. },
  31977. toArray$0(receiver) {
  31978. return receiver.toArray();
  31979. },
  31980. asMutable$0(receiver) {
  31981. return receiver.asMutable();
  31982. },
  31983. asImmutable$0(receiver) {
  31984. return receiver.asImmutable();
  31985. },
  31986. $set$2(receiver, p0, p1) {
  31987. return receiver.set(p0, p1);
  31988. },
  31989. forEach$1(receiver, p0) {
  31990. return receiver.forEach(p0);
  31991. },
  31992. get$file(obj) {
  31993. return obj.file;
  31994. },
  31995. get$contents(obj) {
  31996. return obj.contents;
  31997. },
  31998. get$options(obj) {
  31999. return obj.options;
  32000. },
  32001. get$data(obj) {
  32002. return obj.data;
  32003. },
  32004. get$includePaths(obj) {
  32005. return obj.includePaths;
  32006. },
  32007. get$style(obj) {
  32008. return obj.style;
  32009. },
  32010. get$indentType(obj) {
  32011. return obj.indentType;
  32012. },
  32013. get$indentWidth(obj) {
  32014. return obj.indentWidth;
  32015. },
  32016. get$linefeed(obj) {
  32017. return obj.linefeed;
  32018. },
  32019. set$context(obj, v) {
  32020. return obj.context = v;
  32021. },
  32022. createRequire$1(receiver, p0) {
  32023. return receiver.createRequire(p0);
  32024. },
  32025. resolve$1(receiver, p0) {
  32026. return receiver.resolve(p0);
  32027. },
  32028. get$$prototype(obj) {
  32029. return obj.prototype;
  32030. },
  32031. get$red(obj) {
  32032. return obj.red;
  32033. },
  32034. get$green(obj) {
  32035. return obj.green;
  32036. },
  32037. get$blue(obj) {
  32038. return obj.blue;
  32039. },
  32040. get$hue(obj) {
  32041. return obj.hue;
  32042. },
  32043. get$saturation(obj) {
  32044. return obj.saturation;
  32045. },
  32046. get$lightness(obj) {
  32047. return obj.lightness;
  32048. },
  32049. get$whiteness(obj) {
  32050. return obj.whiteness;
  32051. },
  32052. get$blackness(obj) {
  32053. return obj.blackness;
  32054. },
  32055. get$alpha(obj) {
  32056. return obj.alpha;
  32057. },
  32058. get$dartValue(obj) {
  32059. return obj.dartValue;
  32060. },
  32061. set$dartValue(obj, v) {
  32062. return obj.dartValue = v;
  32063. },
  32064. get$alertAscii(obj) {
  32065. return obj.alertAscii;
  32066. },
  32067. get$alertColor(obj) {
  32068. return obj.alertColor;
  32069. },
  32070. get$loadPaths(obj) {
  32071. return obj.loadPaths;
  32072. },
  32073. get$quietDeps(obj) {
  32074. return obj.quietDeps;
  32075. },
  32076. get$verbose(obj) {
  32077. return obj.verbose;
  32078. },
  32079. get$charset(obj) {
  32080. return obj.charset;
  32081. },
  32082. get$sourceMap(obj) {
  32083. return obj.sourceMap;
  32084. },
  32085. get$sourceMapIncludeSources(obj) {
  32086. return obj.sourceMapIncludeSources;
  32087. },
  32088. get$logger(obj) {
  32089. return obj.logger;
  32090. },
  32091. get$importers(obj) {
  32092. return obj.importers;
  32093. },
  32094. get$functions(obj) {
  32095. return obj.functions;
  32096. },
  32097. get$fatalDeprecations(obj) {
  32098. return obj.fatalDeprecations;
  32099. },
  32100. get$silenceDeprecations(obj) {
  32101. return obj.silenceDeprecations;
  32102. },
  32103. get$futureDeprecations(obj) {
  32104. return obj.futureDeprecations;
  32105. },
  32106. get$syntax(obj) {
  32107. return obj.syntax;
  32108. },
  32109. get$url(obj) {
  32110. return obj.url;
  32111. },
  32112. get$importer(obj) {
  32113. return obj.importer;
  32114. },
  32115. get$_dartException(obj) {
  32116. return obj._dartException;
  32117. },
  32118. set$renderSync(obj, v) {
  32119. return obj.renderSync = v;
  32120. },
  32121. set$compileString(obj, v) {
  32122. return obj.compileString = v;
  32123. },
  32124. set$compileStringAsync(obj, v) {
  32125. return obj.compileStringAsync = v;
  32126. },
  32127. set$compile(obj, v) {
  32128. return obj.compile = v;
  32129. },
  32130. set$compileAsync(obj, v) {
  32131. return obj.compileAsync = v;
  32132. },
  32133. set$initCompiler(obj, v) {
  32134. return obj.initCompiler = v;
  32135. },
  32136. set$initAsyncCompiler(obj, v) {
  32137. return obj.initAsyncCompiler = v;
  32138. },
  32139. set$Compiler(obj, v) {
  32140. return obj.Compiler = v;
  32141. },
  32142. set$AsyncCompiler(obj, v) {
  32143. return obj.AsyncCompiler = v;
  32144. },
  32145. set$info(obj, v) {
  32146. return obj.info = v;
  32147. },
  32148. set$Exception(obj, v) {
  32149. return obj.Exception = v;
  32150. },
  32151. set$Logger(obj, v) {
  32152. return obj.Logger = v;
  32153. },
  32154. set$NodePackageImporter(obj, v) {
  32155. return obj.NodePackageImporter = v;
  32156. },
  32157. set$deprecations(obj, v) {
  32158. return obj.deprecations = v;
  32159. },
  32160. set$Version(obj, v) {
  32161. return obj.Version = v;
  32162. },
  32163. set$Value(obj, v) {
  32164. return obj.Value = v;
  32165. },
  32166. set$SassArgumentList(obj, v) {
  32167. return obj.SassArgumentList = v;
  32168. },
  32169. set$SassCalculation(obj, v) {
  32170. return obj.SassCalculation = v;
  32171. },
  32172. set$CalculationOperation(obj, v) {
  32173. return obj.CalculationOperation = v;
  32174. },
  32175. set$CalculationInterpolation(obj, v) {
  32176. return obj.CalculationInterpolation = v;
  32177. },
  32178. set$SassBoolean(obj, v) {
  32179. return obj.SassBoolean = v;
  32180. },
  32181. set$SassColor(obj, v) {
  32182. return obj.SassColor = v;
  32183. },
  32184. set$SassFunction(obj, v) {
  32185. return obj.SassFunction = v;
  32186. },
  32187. set$SassMixin(obj, v) {
  32188. return obj.SassMixin = v;
  32189. },
  32190. set$SassList(obj, v) {
  32191. return obj.SassList = v;
  32192. },
  32193. set$SassMap(obj, v) {
  32194. return obj.SassMap = v;
  32195. },
  32196. set$SassNumber(obj, v) {
  32197. return obj.SassNumber = v;
  32198. },
  32199. set$SassString(obj, v) {
  32200. return obj.SassString = v;
  32201. },
  32202. set$sassNull(obj, v) {
  32203. return obj.sassNull = v;
  32204. },
  32205. set$sassTrue(obj, v) {
  32206. return obj.sassTrue = v;
  32207. },
  32208. set$sassFalse(obj, v) {
  32209. return obj.sassFalse = v;
  32210. },
  32211. set$render(obj, v) {
  32212. return obj.render = v;
  32213. },
  32214. set$types(obj, v) {
  32215. return obj.types = v;
  32216. },
  32217. set$NULL(obj, v) {
  32218. return obj.NULL = v;
  32219. },
  32220. set$TRUE(obj, v) {
  32221. return obj.TRUE = v;
  32222. },
  32223. set$FALSE(obj, v) {
  32224. return obj.FALSE = v;
  32225. },
  32226. get$current(obj) {
  32227. return obj.current;
  32228. },
  32229. yield$0(receiver) {
  32230. return receiver.yield();
  32231. },
  32232. run$1$1(receiver, p0) {
  32233. return receiver.run(p0);
  32234. },
  32235. run$1(receiver, p0) {
  32236. return receiver.run(p0);
  32237. },
  32238. run$0(receiver) {
  32239. return receiver.run();
  32240. },
  32241. get$canonicalize(obj) {
  32242. return obj.canonicalize;
  32243. },
  32244. canonicalize$1(receiver, p0) {
  32245. return receiver.canonicalize(p0);
  32246. },
  32247. get$load(obj) {
  32248. return obj.load;
  32249. },
  32250. load$1(receiver, p0) {
  32251. return receiver.load(p0);
  32252. },
  32253. get$findFileUrl(obj) {
  32254. return obj.findFileUrl;
  32255. },
  32256. get$nonCanonicalScheme(obj) {
  32257. return obj.nonCanonicalScheme;
  32258. },
  32259. get$sourceMapUrl(obj) {
  32260. return obj.sourceMapUrl;
  32261. },
  32262. get$separator(obj) {
  32263. return obj.separator;
  32264. },
  32265. get$brackets(obj) {
  32266. return obj.brackets;
  32267. },
  32268. get$numeratorUnits(obj) {
  32269. return obj.numeratorUnits;
  32270. },
  32271. get$denominatorUnits(obj) {
  32272. return obj.denominatorUnits;
  32273. },
  32274. get$pkgImporter(obj) {
  32275. return obj.pkgImporter;
  32276. },
  32277. get$indentedSyntax(obj) {
  32278. return obj.indentedSyntax;
  32279. },
  32280. get$omitSourceMapUrl(obj) {
  32281. return obj.omitSourceMapUrl;
  32282. },
  32283. get$outFile(obj) {
  32284. return obj.outFile;
  32285. },
  32286. get$outputStyle(obj) {
  32287. return obj.outputStyle;
  32288. },
  32289. get$fiber(obj) {
  32290. return obj.fiber;
  32291. },
  32292. get$sourceMapContents(obj) {
  32293. return obj.sourceMapContents;
  32294. },
  32295. get$sourceMapEmbed(obj) {
  32296. return obj.sourceMapEmbed;
  32297. },
  32298. get$sourceMapRoot(obj) {
  32299. return obj.sourceMapRoot;
  32300. },
  32301. set$cli_pkg_main_0_(obj, v) {
  32302. return obj.cli_pkg_main_0_ = v;
  32303. },
  32304. get$quotes(obj) {
  32305. return obj.quotes;
  32306. }
  32307. };
  32308. J.PlainJavaScriptObject.prototype = {};
  32309. J.UnknownJavaScriptObject.prototype = {};
  32310. J.JavaScriptFunction.prototype = {
  32311. toString$0(receiver) {
  32312. var dartClosure = receiver[$.$get$DART_CLOSURE_PROPERTY_NAME()];
  32313. if (dartClosure == null)
  32314. return this.super$LegacyJavaScriptObject$toString(receiver);
  32315. return "JavaScript function for " + A.S(J.toString$0$(dartClosure));
  32316. },
  32317. $isFunction: 1
  32318. };
  32319. J.JavaScriptBigInt.prototype = {
  32320. get$hashCode(receiver) {
  32321. return 0;
  32322. },
  32323. toString$0(receiver) {
  32324. return String(receiver);
  32325. }
  32326. };
  32327. J.JavaScriptSymbol.prototype = {
  32328. get$hashCode(receiver) {
  32329. return 0;
  32330. },
  32331. toString$0(receiver) {
  32332. return String(receiver);
  32333. }
  32334. };
  32335. J.JSArray.prototype = {
  32336. cast$1$0(receiver, $R) {
  32337. return new A.CastList(receiver, A._arrayInstanceType(receiver)._eval$1("@<1>")._bind$1($R)._eval$1("CastList<1,2>"));
  32338. },
  32339. add$1(receiver, value) {
  32340. if (!!receiver.fixed$length)
  32341. A.throwExpression(A.UnsupportedError$("add"));
  32342. receiver.push(value);
  32343. },
  32344. removeAt$1(receiver, index) {
  32345. var t1;
  32346. if (!!receiver.fixed$length)
  32347. A.throwExpression(A.UnsupportedError$("removeAt"));
  32348. t1 = receiver.length;
  32349. if (index >= t1)
  32350. throw A.wrapException(A.RangeError$value(index, null, null));
  32351. return receiver.splice(index, 1)[0];
  32352. },
  32353. insert$2(receiver, index, value) {
  32354. var t1;
  32355. if (!!receiver.fixed$length)
  32356. A.throwExpression(A.UnsupportedError$("insert"));
  32357. t1 = receiver.length;
  32358. if (index > t1)
  32359. throw A.wrapException(A.RangeError$value(index, null, null));
  32360. receiver.splice(index, 0, value);
  32361. },
  32362. insertAll$2(receiver, index, iterable) {
  32363. var insertionLength, end;
  32364. if (!!receiver.fixed$length)
  32365. A.throwExpression(A.UnsupportedError$("insertAll"));
  32366. A.RangeError_checkValueInInterval(index, 0, receiver.length, "index");
  32367. if (!type$.EfficientLengthIterable_dynamic._is(iterable))
  32368. iterable = J.toList$0$ax(iterable);
  32369. insertionLength = J.get$length$asx(iterable);
  32370. receiver.length = receiver.length + insertionLength;
  32371. end = index + insertionLength;
  32372. this.setRange$4(receiver, end, receiver.length, receiver, index);
  32373. this.setRange$3(receiver, index, end, iterable);
  32374. },
  32375. removeLast$0(receiver) {
  32376. if (!!receiver.fixed$length)
  32377. A.throwExpression(A.UnsupportedError$("removeLast"));
  32378. if (receiver.length === 0)
  32379. throw A.wrapException(A.diagnoseIndexError(receiver, -1));
  32380. return receiver.pop();
  32381. },
  32382. _removeWhere$2(receiver, test, removeMatching) {
  32383. var i, element, t1, retained = [],
  32384. end = receiver.length;
  32385. for (i = 0; i < end; ++i) {
  32386. element = receiver[i];
  32387. if (!test.call$1(element))
  32388. retained.push(element);
  32389. if (receiver.length !== end)
  32390. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  32391. }
  32392. t1 = retained.length;
  32393. if (t1 === end)
  32394. return;
  32395. this.set$length(receiver, t1);
  32396. for (i = 0; i < retained.length; ++i)
  32397. receiver[i] = retained[i];
  32398. },
  32399. where$1(receiver, f) {
  32400. return new A.WhereIterable(receiver, f, A._arrayInstanceType(receiver)._eval$1("WhereIterable<1>"));
  32401. },
  32402. expand$1$1(receiver, f, $T) {
  32403. return new A.ExpandIterable(receiver, f, A._arrayInstanceType(receiver)._eval$1("@<1>")._bind$1($T)._eval$1("ExpandIterable<1,2>"));
  32404. },
  32405. addAll$1(receiver, collection) {
  32406. var t1;
  32407. if (!!receiver.fixed$length)
  32408. A.throwExpression(A.UnsupportedError$("addAll"));
  32409. if (Array.isArray(collection)) {
  32410. this._addAllFromArray$1(receiver, collection);
  32411. return;
  32412. }
  32413. for (t1 = J.get$iterator$ax(collection); t1.moveNext$0();)
  32414. receiver.push(t1.get$current(t1));
  32415. },
  32416. _addAllFromArray$1(receiver, array) {
  32417. var i,
  32418. len = array.length;
  32419. if (len === 0)
  32420. return;
  32421. if (receiver === array)
  32422. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  32423. for (i = 0; i < len; ++i)
  32424. receiver.push(array[i]);
  32425. },
  32426. clear$0(receiver) {
  32427. if (!!receiver.fixed$length)
  32428. A.throwExpression(A.UnsupportedError$("clear"));
  32429. receiver.length = 0;
  32430. },
  32431. map$1$1(receiver, f, $T) {
  32432. return new A.MappedListIterable(receiver, f, A._arrayInstanceType(receiver)._eval$1("@<1>")._bind$1($T)._eval$1("MappedListIterable<1,2>"));
  32433. },
  32434. join$1(receiver, separator) {
  32435. var i,
  32436. list = A.List_List$filled(receiver.length, "", false, type$.String);
  32437. for (i = 0; i < receiver.length; ++i)
  32438. list[i] = A.S(receiver[i]);
  32439. return list.join(separator);
  32440. },
  32441. join$0(receiver) {
  32442. return this.join$1(receiver, "");
  32443. },
  32444. take$1(receiver, n) {
  32445. return A.SubListIterable$(receiver, 0, A.checkNotNullable(n, "count", type$.int), A._arrayInstanceType(receiver)._precomputed1);
  32446. },
  32447. skip$1(receiver, n) {
  32448. return A.SubListIterable$(receiver, n, null, A._arrayInstanceType(receiver)._precomputed1);
  32449. },
  32450. fold$1$2(receiver, initialValue, combine) {
  32451. var value, i,
  32452. $length = receiver.length;
  32453. for (value = initialValue, i = 0; i < $length; ++i) {
  32454. value = combine.call$2(value, receiver[i]);
  32455. if (receiver.length !== $length)
  32456. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  32457. }
  32458. return value;
  32459. },
  32460. fold$2(receiver, initialValue, combine) {
  32461. return this.fold$1$2(receiver, initialValue, combine, type$.dynamic);
  32462. },
  32463. elementAt$1(receiver, index) {
  32464. return receiver[index];
  32465. },
  32466. sublist$2(receiver, start, end) {
  32467. var end0 = receiver.length;
  32468. if (start > end0)
  32469. throw A.wrapException(A.RangeError$range(start, 0, end0, "start", null));
  32470. if (end == null)
  32471. end = end0;
  32472. else if (end < start || end > end0)
  32473. throw A.wrapException(A.RangeError$range(end, start, end0, "end", null));
  32474. if (start === end)
  32475. return A._setArrayType([], A._arrayInstanceType(receiver));
  32476. return A._setArrayType(receiver.slice(start, end), A._arrayInstanceType(receiver));
  32477. },
  32478. sublist$1(receiver, start) {
  32479. return this.sublist$2(receiver, start, null);
  32480. },
  32481. getRange$2(receiver, start, end) {
  32482. A.RangeError_checkValidRange(start, end, receiver.length);
  32483. return A.SubListIterable$(receiver, start, end, A._arrayInstanceType(receiver)._precomputed1);
  32484. },
  32485. get$first(receiver) {
  32486. if (receiver.length > 0)
  32487. return receiver[0];
  32488. throw A.wrapException(A.IterableElementError_noElement());
  32489. },
  32490. get$last(receiver) {
  32491. var t1 = receiver.length;
  32492. if (t1 > 0)
  32493. return receiver[t1 - 1];
  32494. throw A.wrapException(A.IterableElementError_noElement());
  32495. },
  32496. get$single(receiver) {
  32497. var t1 = receiver.length;
  32498. if (t1 === 1)
  32499. return receiver[0];
  32500. if (t1 === 0)
  32501. throw A.wrapException(A.IterableElementError_noElement());
  32502. throw A.wrapException(A.IterableElementError_tooMany());
  32503. },
  32504. removeRange$2(receiver, start, end) {
  32505. if (!!receiver.fixed$length)
  32506. A.throwExpression(A.UnsupportedError$("removeRange"));
  32507. A.RangeError_checkValidRange(start, end, receiver.length);
  32508. receiver.splice(start, end - start);
  32509. },
  32510. setRange$4(receiver, start, end, iterable, skipCount) {
  32511. var $length, otherList, otherStart, t1, i;
  32512. if (!!receiver.immutable$list)
  32513. A.throwExpression(A.UnsupportedError$("setRange"));
  32514. A.RangeError_checkValidRange(start, end, receiver.length);
  32515. $length = end - start;
  32516. if ($length === 0)
  32517. return;
  32518. A.RangeError_checkNotNegative(skipCount, "skipCount");
  32519. if (type$.List_dynamic._is(iterable)) {
  32520. otherList = iterable;
  32521. otherStart = skipCount;
  32522. } else {
  32523. otherList = J.skip$1$ax(iterable, skipCount).toList$1$growable(0, false);
  32524. otherStart = 0;
  32525. }
  32526. t1 = J.getInterceptor$asx(otherList);
  32527. if (otherStart + $length > t1.get$length(otherList))
  32528. throw A.wrapException(A.IterableElementError_tooFew());
  32529. if (otherStart < start)
  32530. for (i = $length - 1; i >= 0; --i)
  32531. receiver[start + i] = t1.$index(otherList, otherStart + i);
  32532. else
  32533. for (i = 0; i < $length; ++i)
  32534. receiver[start + i] = t1.$index(otherList, otherStart + i);
  32535. },
  32536. setRange$3(receiver, start, end, iterable) {
  32537. return this.setRange$4(receiver, start, end, iterable, 0);
  32538. },
  32539. fillRange$3(receiver, start, end, fillValue) {
  32540. var i;
  32541. if (!!receiver.immutable$list)
  32542. A.throwExpression(A.UnsupportedError$("fill range"));
  32543. A.RangeError_checkValidRange(start, end, receiver.length);
  32544. A._arrayInstanceType(receiver)._precomputed1._as(fillValue);
  32545. for (i = start; i < end; ++i)
  32546. receiver[i] = fillValue;
  32547. },
  32548. any$1(receiver, test) {
  32549. var i,
  32550. end = receiver.length;
  32551. for (i = 0; i < end; ++i) {
  32552. if (test.call$1(receiver[i]))
  32553. return true;
  32554. if (receiver.length !== end)
  32555. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  32556. }
  32557. return false;
  32558. },
  32559. every$1(receiver, test) {
  32560. var i,
  32561. end = receiver.length;
  32562. for (i = 0; i < end; ++i) {
  32563. if (!test.call$1(receiver[i]))
  32564. return false;
  32565. if (receiver.length !== end)
  32566. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  32567. }
  32568. return true;
  32569. },
  32570. get$reversed(receiver) {
  32571. return new A.ReversedListIterable(receiver, A._arrayInstanceType(receiver)._eval$1("ReversedListIterable<1>"));
  32572. },
  32573. sort$1(receiver, compare) {
  32574. var len, a, b, undefineds, i;
  32575. if (!!receiver.immutable$list)
  32576. A.throwExpression(A.UnsupportedError$("sort"));
  32577. len = receiver.length;
  32578. if (len < 2)
  32579. return;
  32580. if (compare == null)
  32581. compare = J._interceptors_JSArray__compareAny$closure();
  32582. if (len === 2) {
  32583. a = receiver[0];
  32584. b = receiver[1];
  32585. if (compare.call$2(a, b) > 0) {
  32586. receiver[0] = b;
  32587. receiver[1] = a;
  32588. }
  32589. return;
  32590. }
  32591. if (A._arrayInstanceType(receiver)._precomputed1._is(null)) {
  32592. for (undefineds = 0, i = 0; i < receiver.length; ++i)
  32593. if (receiver[i] === void 0) {
  32594. receiver[i] = null;
  32595. ++undefineds;
  32596. }
  32597. } else
  32598. undefineds = 0;
  32599. receiver.sort(A.convertDartClosureToJS(compare, 2));
  32600. if (undefineds > 0)
  32601. this._replaceSomeNullsWithUndefined$1(receiver, undefineds);
  32602. },
  32603. sort$0(receiver) {
  32604. return this.sort$1(receiver, null);
  32605. },
  32606. _replaceSomeNullsWithUndefined$1(receiver, count) {
  32607. var i0,
  32608. i = receiver.length;
  32609. for (; i0 = i - 1, i > 0; i = i0)
  32610. if (receiver[i0] === null) {
  32611. receiver[i0] = void 0;
  32612. --count;
  32613. if (count === 0)
  32614. break;
  32615. }
  32616. },
  32617. indexOf$1(receiver, element) {
  32618. var i,
  32619. $length = receiver.length;
  32620. if (0 >= $length)
  32621. return -1;
  32622. for (i = 0; i < $length; ++i)
  32623. if (J.$eq$(receiver[i], element))
  32624. return i;
  32625. return -1;
  32626. },
  32627. contains$1(receiver, other) {
  32628. var i;
  32629. for (i = 0; i < receiver.length; ++i)
  32630. if (J.$eq$(receiver[i], other))
  32631. return true;
  32632. return false;
  32633. },
  32634. get$isEmpty(receiver) {
  32635. return receiver.length === 0;
  32636. },
  32637. get$isNotEmpty(receiver) {
  32638. return receiver.length !== 0;
  32639. },
  32640. toString$0(receiver) {
  32641. return A.Iterable_iterableToFullString(receiver, "[", "]");
  32642. },
  32643. toList$1$growable(receiver, growable) {
  32644. var t1 = A._setArrayType(receiver.slice(0), A._arrayInstanceType(receiver));
  32645. return t1;
  32646. },
  32647. toList$0(receiver) {
  32648. return this.toList$1$growable(receiver, true);
  32649. },
  32650. toSet$0(receiver) {
  32651. return A.LinkedHashSet_LinkedHashSet$from(receiver, A._arrayInstanceType(receiver)._precomputed1);
  32652. },
  32653. get$iterator(receiver) {
  32654. return new J.ArrayIterator(receiver, receiver.length, A._arrayInstanceType(receiver)._eval$1("ArrayIterator<1>"));
  32655. },
  32656. get$hashCode(receiver) {
  32657. return A.Primitives_objectHashCode(receiver);
  32658. },
  32659. get$length(receiver) {
  32660. return receiver.length;
  32661. },
  32662. set$length(receiver, newLength) {
  32663. if (!!receiver.fixed$length)
  32664. A.throwExpression(A.UnsupportedError$("set length"));
  32665. if (newLength < 0)
  32666. throw A.wrapException(A.RangeError$range(newLength, 0, null, "newLength", null));
  32667. if (newLength > receiver.length)
  32668. A._arrayInstanceType(receiver)._precomputed1._as(null);
  32669. receiver.length = newLength;
  32670. },
  32671. $index(receiver, index) {
  32672. if (!(index >= 0 && index < receiver.length))
  32673. throw A.wrapException(A.diagnoseIndexError(receiver, index));
  32674. return receiver[index];
  32675. },
  32676. $indexSet(receiver, index, value) {
  32677. if (!!receiver.immutable$list)
  32678. A.throwExpression(A.UnsupportedError$("indexed set"));
  32679. if (!(index >= 0 && index < receiver.length))
  32680. throw A.wrapException(A.diagnoseIndexError(receiver, index));
  32681. receiver[index] = value;
  32682. },
  32683. $add(receiver, other) {
  32684. var t1 = A.List_List$of(receiver, true, A._arrayInstanceType(receiver)._precomputed1);
  32685. this.addAll$1(t1, other);
  32686. return t1;
  32687. },
  32688. indexWhere$1(receiver, test) {
  32689. var i;
  32690. if (0 >= receiver.length)
  32691. return -1;
  32692. for (i = 0; i < receiver.length; ++i)
  32693. if (test.call$1(receiver[i]))
  32694. return i;
  32695. return -1;
  32696. },
  32697. $isEfficientLengthIterable: 1,
  32698. $isIterable: 1,
  32699. $isList: 1
  32700. };
  32701. J.JSUnmodifiableArray.prototype = {};
  32702. J.ArrayIterator.prototype = {
  32703. get$current(_) {
  32704. var t1 = this._current;
  32705. return t1 == null ? this.$ti._precomputed1._as(t1) : t1;
  32706. },
  32707. moveNext$0() {
  32708. var t2, _this = this,
  32709. t1 = _this._iterable,
  32710. $length = t1.length;
  32711. if (_this._length !== $length)
  32712. throw A.wrapException(A.throwConcurrentModificationError(t1));
  32713. t2 = _this._index;
  32714. if (t2 >= $length) {
  32715. _this._current = null;
  32716. return false;
  32717. }
  32718. _this._current = t1[t2];
  32719. _this._index = t2 + 1;
  32720. return true;
  32721. }
  32722. };
  32723. J.JSNumber.prototype = {
  32724. compareTo$1(receiver, b) {
  32725. var bIsNegative;
  32726. if (receiver < b)
  32727. return -1;
  32728. else if (receiver > b)
  32729. return 1;
  32730. else if (receiver === b) {
  32731. if (receiver === 0) {
  32732. bIsNegative = this.get$isNegative(b);
  32733. if (this.get$isNegative(receiver) === bIsNegative)
  32734. return 0;
  32735. if (this.get$isNegative(receiver))
  32736. return -1;
  32737. return 1;
  32738. }
  32739. return 0;
  32740. } else if (isNaN(receiver)) {
  32741. if (isNaN(b))
  32742. return 0;
  32743. return 1;
  32744. } else
  32745. return -1;
  32746. },
  32747. get$isNegative(receiver) {
  32748. return receiver === 0 ? 1 / receiver < 0 : receiver < 0;
  32749. },
  32750. get$sign(receiver) {
  32751. var t1;
  32752. if (receiver > 0)
  32753. t1 = 1;
  32754. else
  32755. t1 = receiver < 0 ? -1 : receiver;
  32756. return t1;
  32757. },
  32758. ceil$0(receiver) {
  32759. var truncated, d;
  32760. if (receiver >= 0) {
  32761. if (receiver <= 2147483647) {
  32762. truncated = receiver | 0;
  32763. return receiver === truncated ? truncated : truncated + 1;
  32764. }
  32765. } else if (receiver >= -2147483648)
  32766. return receiver | 0;
  32767. d = Math.ceil(receiver);
  32768. if (isFinite(d))
  32769. return d;
  32770. throw A.wrapException(A.UnsupportedError$("" + receiver + ".ceil()"));
  32771. },
  32772. floor$0(receiver) {
  32773. var truncated, d;
  32774. if (receiver >= 0) {
  32775. if (receiver <= 2147483647)
  32776. return receiver | 0;
  32777. } else if (receiver >= -2147483648) {
  32778. truncated = receiver | 0;
  32779. return receiver === truncated ? truncated : truncated - 1;
  32780. }
  32781. d = Math.floor(receiver);
  32782. if (isFinite(d))
  32783. return d;
  32784. throw A.wrapException(A.UnsupportedError$("" + receiver + ".floor()"));
  32785. },
  32786. round$0(receiver) {
  32787. if (receiver > 0) {
  32788. if (receiver !== 1 / 0)
  32789. return Math.round(receiver);
  32790. } else if (receiver > -1 / 0)
  32791. return 0 - Math.round(0 - receiver);
  32792. throw A.wrapException(A.UnsupportedError$("" + receiver + ".round()"));
  32793. },
  32794. clamp$2(receiver, lowerLimit, upperLimit) {
  32795. if (B.JSInt_methods.compareTo$1(lowerLimit, upperLimit) > 0)
  32796. throw A.wrapException(A.argumentErrorValue(lowerLimit));
  32797. if (this.compareTo$1(receiver, lowerLimit) < 0)
  32798. return lowerLimit;
  32799. if (this.compareTo$1(receiver, upperLimit) > 0)
  32800. return upperLimit;
  32801. return receiver;
  32802. },
  32803. toRadixString$1(receiver, radix) {
  32804. var result, match, exponent, t1;
  32805. if (radix < 2 || radix > 36)
  32806. throw A.wrapException(A.RangeError$range(radix, 2, 36, "radix", null));
  32807. result = receiver.toString(radix);
  32808. if (result.charCodeAt(result.length - 1) !== 41)
  32809. return result;
  32810. match = /^([\da-z]+)(?:\.([\da-z]+))?\(e\+(\d+)\)$/.exec(result);
  32811. if (match == null)
  32812. A.throwExpression(A.UnsupportedError$("Unexpected toString result: " + result));
  32813. result = match[1];
  32814. exponent = +match[3];
  32815. t1 = match[2];
  32816. if (t1 != null) {
  32817. result += t1;
  32818. exponent -= t1.length;
  32819. }
  32820. return result + B.JSString_methods.$mul("0", exponent);
  32821. },
  32822. toString$0(receiver) {
  32823. if (receiver === 0 && 1 / receiver < 0)
  32824. return "-0.0";
  32825. else
  32826. return "" + receiver;
  32827. },
  32828. get$hashCode(receiver) {
  32829. var absolute, floorLog2, factor, scaled,
  32830. intValue = receiver | 0;
  32831. if (receiver === intValue)
  32832. return intValue & 536870911;
  32833. absolute = Math.abs(receiver);
  32834. floorLog2 = Math.log(absolute) / 0.6931471805599453 | 0;
  32835. factor = Math.pow(2, floorLog2);
  32836. scaled = absolute < 1 ? absolute / factor : factor / absolute;
  32837. return ((scaled * 9007199254740992 | 0) + (scaled * 3542243181176521 | 0)) * 599197 + floorLog2 * 1259 & 536870911;
  32838. },
  32839. $mod(receiver, other) {
  32840. var result = receiver % other;
  32841. if (result === 0)
  32842. return 0;
  32843. if (result > 0)
  32844. return result;
  32845. if (other < 0)
  32846. return result - other;
  32847. else
  32848. return result + other;
  32849. },
  32850. $tdiv(receiver, other) {
  32851. if ((receiver | 0) === receiver)
  32852. if (other >= 1 || other < -1)
  32853. return receiver / other | 0;
  32854. return this._tdivSlow$1(receiver, other);
  32855. },
  32856. _tdivFast$1(receiver, other) {
  32857. return (receiver | 0) === receiver ? receiver / other | 0 : this._tdivSlow$1(receiver, other);
  32858. },
  32859. _tdivSlow$1(receiver, other) {
  32860. var quotient = receiver / other;
  32861. if (quotient >= -2147483648 && quotient <= 2147483647)
  32862. return quotient | 0;
  32863. if (quotient > 0) {
  32864. if (quotient !== 1 / 0)
  32865. return Math.floor(quotient);
  32866. } else if (quotient > -1 / 0)
  32867. return Math.ceil(quotient);
  32868. throw A.wrapException(A.UnsupportedError$("Result of truncating division is " + A.S(quotient) + ": " + A.S(receiver) + " ~/ " + other));
  32869. },
  32870. _shrOtherPositive$1(receiver, other) {
  32871. var t1;
  32872. if (receiver > 0)
  32873. t1 = this._shrBothPositive$1(receiver, other);
  32874. else {
  32875. t1 = other > 31 ? 31 : other;
  32876. t1 = receiver >> t1 >>> 0;
  32877. }
  32878. return t1;
  32879. },
  32880. _shrReceiverPositive$1(receiver, other) {
  32881. if (0 > other)
  32882. throw A.wrapException(A.argumentErrorValue(other));
  32883. return this._shrBothPositive$1(receiver, other);
  32884. },
  32885. _shrBothPositive$1(receiver, other) {
  32886. return other > 31 ? 0 : receiver >>> other;
  32887. },
  32888. get$runtimeType(receiver) {
  32889. return A.createRuntimeType(type$.num);
  32890. },
  32891. $isComparable: 1,
  32892. $isdouble: 1,
  32893. $isnum: 1
  32894. };
  32895. J.JSInt.prototype = {
  32896. get$sign(receiver) {
  32897. var t1;
  32898. if (receiver > 0)
  32899. t1 = 1;
  32900. else
  32901. t1 = receiver < 0 ? -1 : receiver;
  32902. return t1;
  32903. },
  32904. get$runtimeType(receiver) {
  32905. return A.createRuntimeType(type$.int);
  32906. },
  32907. $isTrustedGetRuntimeType: 1,
  32908. $isint: 1
  32909. };
  32910. J.JSNumNotInt.prototype = {
  32911. get$runtimeType(receiver) {
  32912. return A.createRuntimeType(type$.double);
  32913. },
  32914. $isTrustedGetRuntimeType: 1
  32915. };
  32916. J.JSString.prototype = {
  32917. codeUnitAt$1(receiver, index) {
  32918. if (index < 0)
  32919. throw A.wrapException(A.diagnoseIndexError(receiver, index));
  32920. if (index >= receiver.length)
  32921. A.throwExpression(A.diagnoseIndexError(receiver, index));
  32922. return receiver.charCodeAt(index);
  32923. },
  32924. allMatches$2(receiver, string, start) {
  32925. var t1 = string.length;
  32926. if (start > t1)
  32927. throw A.wrapException(A.RangeError$range(start, 0, t1, null, null));
  32928. return new A._StringAllMatchesIterable(string, receiver, start);
  32929. },
  32930. allMatches$1(receiver, string) {
  32931. return this.allMatches$2(receiver, string, 0);
  32932. },
  32933. matchAsPrefix$2(receiver, string, start) {
  32934. var t1, i, _null = null;
  32935. if (start < 0 || start > string.length)
  32936. throw A.wrapException(A.RangeError$range(start, 0, string.length, _null, _null));
  32937. t1 = receiver.length;
  32938. if (start + t1 > string.length)
  32939. return _null;
  32940. for (i = 0; i < t1; ++i)
  32941. if (string.charCodeAt(start + i) !== receiver.charCodeAt(i))
  32942. return _null;
  32943. return new A.StringMatch(start, receiver);
  32944. },
  32945. $add(receiver, other) {
  32946. return receiver + other;
  32947. },
  32948. endsWith$1(receiver, other) {
  32949. var otherLength = other.length,
  32950. t1 = receiver.length;
  32951. if (otherLength > t1)
  32952. return false;
  32953. return other === this.substring$1(receiver, t1 - otherLength);
  32954. },
  32955. replaceFirst$2(receiver, from, to) {
  32956. A.RangeError_checkValueInInterval(0, 0, receiver.length, "startIndex");
  32957. return A.stringReplaceFirstUnchecked(receiver, from, to, 0);
  32958. },
  32959. split$1(receiver, pattern) {
  32960. if (typeof pattern == "string")
  32961. return A._setArrayType(receiver.split(pattern), type$.JSArray_String);
  32962. else if (pattern instanceof A.JSSyntaxRegExp && pattern.get$_nativeAnchoredVersion().exec("").length - 2 === 0)
  32963. return A._setArrayType(receiver.split(pattern._nativeRegExp), type$.JSArray_String);
  32964. else
  32965. return this._defaultSplit$1(receiver, pattern);
  32966. },
  32967. replaceRange$3(receiver, start, end, replacement) {
  32968. var e = A.RangeError_checkValidRange(start, end, receiver.length);
  32969. return A.stringReplaceRangeUnchecked(receiver, start, e, replacement);
  32970. },
  32971. _defaultSplit$1(receiver, pattern) {
  32972. var t1, start, $length, match, matchStart, matchEnd,
  32973. result = A._setArrayType([], type$.JSArray_String);
  32974. for (t1 = J.allMatches$1$s(pattern, receiver), t1 = t1.get$iterator(t1), start = 0, $length = 1; t1.moveNext$0();) {
  32975. match = t1.get$current(t1);
  32976. matchStart = match.get$start(match);
  32977. matchEnd = match.get$end(match);
  32978. $length = matchEnd - matchStart;
  32979. if ($length === 0 && start === matchStart)
  32980. continue;
  32981. result.push(this.substring$2(receiver, start, matchStart));
  32982. start = matchEnd;
  32983. }
  32984. if (start < receiver.length || $length > 0)
  32985. result.push(this.substring$1(receiver, start));
  32986. return result;
  32987. },
  32988. startsWith$2(receiver, pattern, index) {
  32989. var endIndex;
  32990. if (index < 0 || index > receiver.length)
  32991. throw A.wrapException(A.RangeError$range(index, 0, receiver.length, null, null));
  32992. if (typeof pattern == "string") {
  32993. endIndex = index + pattern.length;
  32994. if (endIndex > receiver.length)
  32995. return false;
  32996. return pattern === receiver.substring(index, endIndex);
  32997. }
  32998. return J.matchAsPrefix$2$s(pattern, receiver, index) != null;
  32999. },
  33000. startsWith$1(receiver, pattern) {
  33001. return this.startsWith$2(receiver, pattern, 0);
  33002. },
  33003. substring$2(receiver, start, end) {
  33004. return receiver.substring(start, A.RangeError_checkValidRange(start, end, receiver.length));
  33005. },
  33006. substring$1(receiver, start) {
  33007. return this.substring$2(receiver, start, null);
  33008. },
  33009. trim$0(receiver) {
  33010. var startIndex, t1, endIndex0,
  33011. result = receiver.trim(),
  33012. endIndex = result.length;
  33013. if (endIndex === 0)
  33014. return result;
  33015. if (result.charCodeAt(0) === 133) {
  33016. startIndex = J.JSString__skipLeadingWhitespace(result, 1);
  33017. if (startIndex === endIndex)
  33018. return "";
  33019. } else
  33020. startIndex = 0;
  33021. t1 = endIndex - 1;
  33022. endIndex0 = result.charCodeAt(t1) === 133 ? J.JSString__skipTrailingWhitespace(result, t1) : endIndex;
  33023. if (startIndex === 0 && endIndex0 === endIndex)
  33024. return result;
  33025. return result.substring(startIndex, endIndex0);
  33026. },
  33027. trimLeft$0(receiver) {
  33028. var result = receiver.trimStart();
  33029. if (result.length === 0)
  33030. return result;
  33031. if (result.charCodeAt(0) !== 133)
  33032. return result;
  33033. return result.substring(J.JSString__skipLeadingWhitespace(result, 1));
  33034. },
  33035. trimRight$0(receiver) {
  33036. var t1,
  33037. result = receiver.trimEnd(),
  33038. endIndex = result.length;
  33039. if (endIndex === 0)
  33040. return result;
  33041. t1 = endIndex - 1;
  33042. if (result.charCodeAt(t1) !== 133)
  33043. return result;
  33044. return result.substring(0, J.JSString__skipTrailingWhitespace(result, t1));
  33045. },
  33046. $mul(receiver, times) {
  33047. var s, result;
  33048. if (0 >= times)
  33049. return "";
  33050. if (times === 1 || receiver.length === 0)
  33051. return receiver;
  33052. if (times !== times >>> 0)
  33053. throw A.wrapException(B.C_OutOfMemoryError);
  33054. for (s = receiver, result = ""; true;) {
  33055. if ((times & 1) === 1)
  33056. result = s + result;
  33057. times = times >>> 1;
  33058. if (times === 0)
  33059. break;
  33060. s += s;
  33061. }
  33062. return result;
  33063. },
  33064. padLeft$2(receiver, width, padding) {
  33065. var delta = width - receiver.length;
  33066. if (delta <= 0)
  33067. return receiver;
  33068. return this.$mul(padding, delta) + receiver;
  33069. },
  33070. padRight$1(receiver, width) {
  33071. var delta = width - receiver.length;
  33072. if (delta <= 0)
  33073. return receiver;
  33074. return receiver + this.$mul(" ", delta);
  33075. },
  33076. indexOf$2(receiver, pattern, start) {
  33077. var t1;
  33078. if (start < 0 || start > receiver.length)
  33079. throw A.wrapException(A.RangeError$range(start, 0, receiver.length, null, null));
  33080. t1 = receiver.indexOf(pattern, start);
  33081. return t1;
  33082. },
  33083. indexOf$1(receiver, pattern) {
  33084. return this.indexOf$2(receiver, pattern, 0);
  33085. },
  33086. lastIndexOf$2(receiver, pattern, start) {
  33087. var t1, t2, i;
  33088. if (start == null)
  33089. start = receiver.length;
  33090. else if (start < 0 || start > receiver.length)
  33091. throw A.wrapException(A.RangeError$range(start, 0, receiver.length, null, null));
  33092. if (typeof pattern == "string") {
  33093. t1 = pattern.length;
  33094. t2 = receiver.length;
  33095. if (start + t1 > t2)
  33096. start = t2 - t1;
  33097. return receiver.lastIndexOf(pattern, start);
  33098. }
  33099. for (t1 = J.getInterceptor$s(pattern), i = start; i >= 0; --i)
  33100. if (t1.matchAsPrefix$2(pattern, receiver, i) != null)
  33101. return i;
  33102. return -1;
  33103. },
  33104. lastIndexOf$1(receiver, pattern) {
  33105. return this.lastIndexOf$2(receiver, pattern, null);
  33106. },
  33107. contains$2(receiver, other, startIndex) {
  33108. var t1 = receiver.length;
  33109. if (startIndex > t1)
  33110. throw A.wrapException(A.RangeError$range(startIndex, 0, t1, null, null));
  33111. return A.stringContainsUnchecked(receiver, other, startIndex);
  33112. },
  33113. contains$1(receiver, other) {
  33114. return this.contains$2(receiver, other, 0);
  33115. },
  33116. compareTo$1(receiver, other) {
  33117. var t1;
  33118. if (receiver === other)
  33119. t1 = 0;
  33120. else
  33121. t1 = receiver < other ? -1 : 1;
  33122. return t1;
  33123. },
  33124. toString$0(receiver) {
  33125. return receiver;
  33126. },
  33127. get$hashCode(receiver) {
  33128. var t1, hash, i;
  33129. for (t1 = receiver.length, hash = 0, i = 0; i < t1; ++i) {
  33130. hash = hash + receiver.charCodeAt(i) & 536870911;
  33131. hash = hash + ((hash & 524287) << 10) & 536870911;
  33132. hash ^= hash >> 6;
  33133. }
  33134. hash = hash + ((hash & 67108863) << 3) & 536870911;
  33135. hash ^= hash >> 11;
  33136. return hash + ((hash & 16383) << 15) & 536870911;
  33137. },
  33138. get$runtimeType(receiver) {
  33139. return A.createRuntimeType(type$.String);
  33140. },
  33141. get$length(receiver) {
  33142. return receiver.length;
  33143. },
  33144. $isTrustedGetRuntimeType: 1,
  33145. $isComparable: 1,
  33146. $isString: 1
  33147. };
  33148. A._CastIterableBase.prototype = {
  33149. get$iterator(_) {
  33150. var t1 = A._instanceType(this);
  33151. return new A.CastIterator(J.get$iterator$ax(this.get$_source()), t1._eval$1("@<1>")._bind$1(t1._rest[1])._eval$1("CastIterator<1,2>"));
  33152. },
  33153. get$length(_) {
  33154. return J.get$length$asx(this.get$_source());
  33155. },
  33156. get$isEmpty(_) {
  33157. return J.get$isEmpty$asx(this.get$_source());
  33158. },
  33159. get$isNotEmpty(_) {
  33160. return J.get$isNotEmpty$asx(this.get$_source());
  33161. },
  33162. skip$1(_, count) {
  33163. var t1 = A._instanceType(this);
  33164. return A.CastIterable_CastIterable(J.skip$1$ax(this.get$_source(), count), t1._precomputed1, t1._rest[1]);
  33165. },
  33166. take$1(_, count) {
  33167. var t1 = A._instanceType(this);
  33168. return A.CastIterable_CastIterable(J.take$1$ax(this.get$_source(), count), t1._precomputed1, t1._rest[1]);
  33169. },
  33170. elementAt$1(_, index) {
  33171. return A._instanceType(this)._rest[1]._as(J.elementAt$1$ax(this.get$_source(), index));
  33172. },
  33173. get$first(_) {
  33174. return A._instanceType(this)._rest[1]._as(J.get$first$ax(this.get$_source()));
  33175. },
  33176. get$last(_) {
  33177. return A._instanceType(this)._rest[1]._as(J.get$last$ax(this.get$_source()));
  33178. },
  33179. get$single(_) {
  33180. return A._instanceType(this)._rest[1]._as(J.get$single$ax(this.get$_source()));
  33181. },
  33182. contains$1(_, other) {
  33183. return J.contains$1$asx(this.get$_source(), other);
  33184. },
  33185. toString$0(_) {
  33186. return J.toString$0$(this.get$_source());
  33187. }
  33188. };
  33189. A.CastIterator.prototype = {
  33190. moveNext$0() {
  33191. return this._source.moveNext$0();
  33192. },
  33193. get$current(_) {
  33194. var t1 = this._source;
  33195. return this.$ti._rest[1]._as(t1.get$current(t1));
  33196. }
  33197. };
  33198. A.CastIterable.prototype = {
  33199. get$_source() {
  33200. return this._source;
  33201. }
  33202. };
  33203. A._EfficientLengthCastIterable.prototype = {$isEfficientLengthIterable: 1};
  33204. A._CastListBase.prototype = {
  33205. $index(_, index) {
  33206. return this.$ti._rest[1]._as(J.$index$asx(this._source, index));
  33207. },
  33208. $indexSet(_, index, value) {
  33209. J.$indexSet$ax(this._source, index, this.$ti._precomputed1._as(value));
  33210. },
  33211. set$length(_, $length) {
  33212. J.set$length$asx(this._source, $length);
  33213. },
  33214. add$1(_, value) {
  33215. J.add$1$ax(this._source, this.$ti._precomputed1._as(value));
  33216. },
  33217. addAll$1(_, values) {
  33218. var t1 = this.$ti;
  33219. J.addAll$1$ax(this._source, A.CastIterable_CastIterable(values, t1._rest[1], t1._precomputed1));
  33220. },
  33221. sort$1(_, compare) {
  33222. var t1 = compare == null ? null : new A._CastListBase_sort_closure(this, compare);
  33223. J.sort$1$ax(this._source, t1);
  33224. },
  33225. getRange$2(_, start, end) {
  33226. var t1 = this.$ti;
  33227. return A.CastIterable_CastIterable(J.getRange$2$ax(this._source, start, end), t1._precomputed1, t1._rest[1]);
  33228. },
  33229. setRange$4(_, start, end, iterable, skipCount) {
  33230. var t1 = this.$ti;
  33231. J.setRange$4$ax(this._source, start, end, A.CastIterable_CastIterable(iterable, t1._rest[1], t1._precomputed1), skipCount);
  33232. },
  33233. removeRange$2(_, start, end) {
  33234. J.removeRange$2$ax(this._source, start, end);
  33235. },
  33236. fillRange$3(_, start, end, fillValue) {
  33237. J.fillRange$3$ax(this._source, start, end, this.$ti._precomputed1._as(fillValue));
  33238. },
  33239. $isEfficientLengthIterable: 1,
  33240. $isList: 1
  33241. };
  33242. A._CastListBase_sort_closure.prototype = {
  33243. call$2(v1, v2) {
  33244. var t1 = this.$this.$ti._rest[1];
  33245. return this.compare.call$2(t1._as(v1), t1._as(v2));
  33246. },
  33247. $signature() {
  33248. return this.$this.$ti._eval$1("int(1,1)");
  33249. }
  33250. };
  33251. A.CastList.prototype = {
  33252. cast$1$0(_, $R) {
  33253. return new A.CastList(this._source, this.$ti._eval$1("@<1>")._bind$1($R)._eval$1("CastList<1,2>"));
  33254. },
  33255. get$_source() {
  33256. return this._source;
  33257. }
  33258. };
  33259. A.CastSet.prototype = {
  33260. add$1(_, value) {
  33261. return this._source.add$1(0, this.$ti._precomputed1._as(value));
  33262. },
  33263. addAll$1(_, elements) {
  33264. var t1 = this.$ti;
  33265. this._source.addAll$1(0, A.CastIterable_CastIterable(elements, t1._rest[1], t1._precomputed1));
  33266. },
  33267. difference$1(other) {
  33268. var t1, _this = this;
  33269. if (_this._emptySet != null)
  33270. return _this._conditionalAdd$2(other, false);
  33271. t1 = _this.$ti;
  33272. return new A.CastSet(_this._source.difference$1(other), null, t1._eval$1("@<1>")._bind$1(t1._rest[1])._eval$1("CastSet<1,2>"));
  33273. },
  33274. _conditionalAdd$2(other, otherContains) {
  33275. var t3, castElement,
  33276. emptySet = this._emptySet,
  33277. t1 = this.$ti,
  33278. t2 = t1._rest[1],
  33279. result = emptySet == null ? A.LinkedHashSet_LinkedHashSet(t2) : emptySet.call$1$0(t2);
  33280. for (t2 = this._source, t2 = t2.get$iterator(t2), t3 = other._source, t1 = t1._rest[1]; t2.moveNext$0();) {
  33281. castElement = t1._as(t2.get$current(t2));
  33282. if (otherContains === t3.contains$1(0, castElement))
  33283. result.add$1(0, castElement);
  33284. }
  33285. return result;
  33286. },
  33287. toSet$0(_) {
  33288. var emptySet = this._emptySet,
  33289. t1 = this.$ti._rest[1],
  33290. result = emptySet == null ? A.LinkedHashSet_LinkedHashSet(t1) : emptySet.call$1$0(t1);
  33291. result.addAll$1(0, this);
  33292. return result;
  33293. },
  33294. $isEfficientLengthIterable: 1,
  33295. $isSet: 1,
  33296. get$_source() {
  33297. return this._source;
  33298. }
  33299. };
  33300. A.CastMap.prototype = {
  33301. cast$2$0(_, RK, RV) {
  33302. var t1 = this.$ti;
  33303. return new A.CastMap(this._source, t1._eval$1("@<1>")._bind$1(t1._rest[1])._bind$1(RK)._bind$1(RV)._eval$1("CastMap<1,2,3,4>"));
  33304. },
  33305. containsKey$1(key) {
  33306. return this._source.containsKey$1(key);
  33307. },
  33308. $index(_, key) {
  33309. return this.$ti._eval$1("4?")._as(this._source.$index(0, key));
  33310. },
  33311. $indexSet(_, key, value) {
  33312. var t1 = this.$ti;
  33313. this._source.$indexSet(0, t1._precomputed1._as(key), t1._rest[1]._as(value));
  33314. },
  33315. addAll$1(_, other) {
  33316. var t1 = this.$ti;
  33317. this._source.addAll$1(0, new A.CastMap(other, t1._eval$1("@<3>")._bind$1(t1._rest[3])._bind$1(t1._precomputed1)._bind$1(t1._rest[1])._eval$1("CastMap<1,2,3,4>")));
  33318. },
  33319. remove$1(_, key) {
  33320. return this.$ti._eval$1("4?")._as(this._source.remove$1(0, key));
  33321. },
  33322. forEach$1(_, f) {
  33323. this._source.forEach$1(0, new A.CastMap_forEach_closure(this, f));
  33324. },
  33325. get$keys(_) {
  33326. var t1 = this._source,
  33327. t2 = this.$ti;
  33328. return A.CastIterable_CastIterable(t1.get$keys(t1), t2._precomputed1, t2._rest[2]);
  33329. },
  33330. get$values(_) {
  33331. var t1 = this._source,
  33332. t2 = this.$ti;
  33333. return A.CastIterable_CastIterable(t1.get$values(t1), t2._rest[1], t2._rest[3]);
  33334. },
  33335. get$length(_) {
  33336. var t1 = this._source;
  33337. return t1.get$length(t1);
  33338. },
  33339. get$isEmpty(_) {
  33340. var t1 = this._source;
  33341. return t1.get$isEmpty(t1);
  33342. },
  33343. get$isNotEmpty(_) {
  33344. var t1 = this._source;
  33345. return t1.get$isNotEmpty(t1);
  33346. },
  33347. get$entries(_) {
  33348. var t1 = this._source;
  33349. return t1.get$entries(t1).map$1$1(0, new A.CastMap_entries_closure(this), this.$ti._eval$1("MapEntry<3,4>"));
  33350. }
  33351. };
  33352. A.CastMap_forEach_closure.prototype = {
  33353. call$2(key, value) {
  33354. var t1 = this.$this.$ti;
  33355. this.f.call$2(t1._rest[2]._as(key), t1._rest[3]._as(value));
  33356. },
  33357. $signature() {
  33358. return this.$this.$ti._eval$1("~(1,2)");
  33359. }
  33360. };
  33361. A.CastMap_entries_closure.prototype = {
  33362. call$1(e) {
  33363. var t1 = this.$this.$ti,
  33364. t2 = t1._rest[3];
  33365. return new A.MapEntry(t1._rest[2]._as(e.key), t2._as(e.value), t1._eval$1("@<3>")._bind$1(t2)._eval$1("MapEntry<1,2>"));
  33366. },
  33367. $signature() {
  33368. return this.$this.$ti._eval$1("MapEntry<3,4>(MapEntry<1,2>)");
  33369. }
  33370. };
  33371. A.LateError.prototype = {
  33372. toString$0(_) {
  33373. return "LateInitializationError: " + this._message;
  33374. }
  33375. };
  33376. A.ReachabilityError.prototype = {
  33377. toString$0(_) {
  33378. return "ReachabilityError: " + this._message;
  33379. }
  33380. };
  33381. A.CodeUnits.prototype = {
  33382. get$length(_) {
  33383. return this._string.length;
  33384. },
  33385. $index(_, i) {
  33386. return this._string.charCodeAt(i);
  33387. }
  33388. };
  33389. A.nullFuture_closure.prototype = {
  33390. call$0() {
  33391. return A.Future_Future$value(null, type$.Null);
  33392. },
  33393. $signature: 2
  33394. };
  33395. A.SentinelValue.prototype = {};
  33396. A.EfficientLengthIterable.prototype = {};
  33397. A.ListIterable.prototype = {
  33398. get$iterator(_) {
  33399. var _this = this;
  33400. return new A.ListIterator(_this, _this.get$length(_this), A._instanceType(_this)._eval$1("ListIterator<ListIterable.E>"));
  33401. },
  33402. get$isEmpty(_) {
  33403. return this.get$length(this) === 0;
  33404. },
  33405. get$first(_) {
  33406. if (this.get$length(this) === 0)
  33407. throw A.wrapException(A.IterableElementError_noElement());
  33408. return this.elementAt$1(0, 0);
  33409. },
  33410. get$last(_) {
  33411. var _this = this;
  33412. if (_this.get$length(_this) === 0)
  33413. throw A.wrapException(A.IterableElementError_noElement());
  33414. return _this.elementAt$1(0, _this.get$length(_this) - 1);
  33415. },
  33416. get$single(_) {
  33417. var _this = this;
  33418. if (_this.get$length(_this) === 0)
  33419. throw A.wrapException(A.IterableElementError_noElement());
  33420. if (_this.get$length(_this) > 1)
  33421. throw A.wrapException(A.IterableElementError_tooMany());
  33422. return _this.elementAt$1(0, 0);
  33423. },
  33424. contains$1(_, element) {
  33425. var i, _this = this,
  33426. $length = _this.get$length(_this);
  33427. for (i = 0; i < $length; ++i) {
  33428. if (J.$eq$(_this.elementAt$1(0, i), element))
  33429. return true;
  33430. if ($length !== _this.get$length(_this))
  33431. throw A.wrapException(A.ConcurrentModificationError$(_this));
  33432. }
  33433. return false;
  33434. },
  33435. every$1(_, test) {
  33436. var i, _this = this,
  33437. $length = _this.get$length(_this);
  33438. for (i = 0; i < $length; ++i) {
  33439. if (!test.call$1(_this.elementAt$1(0, i)))
  33440. return false;
  33441. if ($length !== _this.get$length(_this))
  33442. throw A.wrapException(A.ConcurrentModificationError$(_this));
  33443. }
  33444. return true;
  33445. },
  33446. any$1(_, test) {
  33447. var i, _this = this,
  33448. $length = _this.get$length(_this);
  33449. for (i = 0; i < $length; ++i) {
  33450. if (test.call$1(_this.elementAt$1(0, i)))
  33451. return true;
  33452. if ($length !== _this.get$length(_this))
  33453. throw A.wrapException(A.ConcurrentModificationError$(_this));
  33454. }
  33455. return false;
  33456. },
  33457. join$1(_, separator) {
  33458. var first, t1, i, _this = this,
  33459. $length = _this.get$length(_this);
  33460. if (separator.length !== 0) {
  33461. if ($length === 0)
  33462. return "";
  33463. first = A.S(_this.elementAt$1(0, 0));
  33464. if ($length !== _this.get$length(_this))
  33465. throw A.wrapException(A.ConcurrentModificationError$(_this));
  33466. for (t1 = first, i = 1; i < $length; ++i) {
  33467. t1 = t1 + separator + A.S(_this.elementAt$1(0, i));
  33468. if ($length !== _this.get$length(_this))
  33469. throw A.wrapException(A.ConcurrentModificationError$(_this));
  33470. }
  33471. return t1.charCodeAt(0) == 0 ? t1 : t1;
  33472. } else {
  33473. for (i = 0, t1 = ""; i < $length; ++i) {
  33474. t1 += A.S(_this.elementAt$1(0, i));
  33475. if ($length !== _this.get$length(_this))
  33476. throw A.wrapException(A.ConcurrentModificationError$(_this));
  33477. }
  33478. return t1.charCodeAt(0) == 0 ? t1 : t1;
  33479. }
  33480. },
  33481. join$0(_) {
  33482. return this.join$1(0, "");
  33483. },
  33484. where$1(_, test) {
  33485. return this.super$Iterable$where(0, test);
  33486. },
  33487. map$1$1(_, toElement, $T) {
  33488. return new A.MappedListIterable(this, toElement, A._instanceType(this)._eval$1("@<ListIterable.E>")._bind$1($T)._eval$1("MappedListIterable<1,2>"));
  33489. },
  33490. reduce$1(_, combine) {
  33491. var value, i, _this = this,
  33492. $length = _this.get$length(_this);
  33493. if ($length === 0)
  33494. throw A.wrapException(A.IterableElementError_noElement());
  33495. value = _this.elementAt$1(0, 0);
  33496. for (i = 1; i < $length; ++i) {
  33497. value = combine.call$2(value, _this.elementAt$1(0, i));
  33498. if ($length !== _this.get$length(_this))
  33499. throw A.wrapException(A.ConcurrentModificationError$(_this));
  33500. }
  33501. return value;
  33502. },
  33503. fold$1$2(_, initialValue, combine) {
  33504. var value, i, _this = this,
  33505. $length = _this.get$length(_this);
  33506. for (value = initialValue, i = 0; i < $length; ++i) {
  33507. value = combine.call$2(value, _this.elementAt$1(0, i));
  33508. if ($length !== _this.get$length(_this))
  33509. throw A.wrapException(A.ConcurrentModificationError$(_this));
  33510. }
  33511. return value;
  33512. },
  33513. fold$2(_, initialValue, combine) {
  33514. return this.fold$1$2(0, initialValue, combine, type$.dynamic);
  33515. },
  33516. skip$1(_, count) {
  33517. return A.SubListIterable$(this, count, null, A._instanceType(this)._eval$1("ListIterable.E"));
  33518. },
  33519. take$1(_, count) {
  33520. return A.SubListIterable$(this, 0, A.checkNotNullable(count, "count", type$.int), A._instanceType(this)._eval$1("ListIterable.E"));
  33521. },
  33522. toList$1$growable(_, growable) {
  33523. return A.List_List$of(this, true, A._instanceType(this)._eval$1("ListIterable.E"));
  33524. },
  33525. toList$0(_) {
  33526. return this.toList$1$growable(0, true);
  33527. },
  33528. toSet$0(_) {
  33529. var i, _this = this,
  33530. result = A.LinkedHashSet_LinkedHashSet(A._instanceType(_this)._eval$1("ListIterable.E"));
  33531. for (i = 0; i < _this.get$length(_this); ++i)
  33532. result.add$1(0, _this.elementAt$1(0, i));
  33533. return result;
  33534. }
  33535. };
  33536. A.SubListIterable.prototype = {
  33537. SubListIterable$3(_iterable, _start, _endOrLength, $E) {
  33538. var endOrLength,
  33539. t1 = this._start;
  33540. A.RangeError_checkNotNegative(t1, "start");
  33541. endOrLength = this._endOrLength;
  33542. if (endOrLength != null) {
  33543. A.RangeError_checkNotNegative(endOrLength, "end");
  33544. if (t1 > endOrLength)
  33545. throw A.wrapException(A.RangeError$range(t1, 0, endOrLength, "start", null));
  33546. }
  33547. },
  33548. get$_endIndex() {
  33549. var $length = J.get$length$asx(this.__internal$_iterable),
  33550. endOrLength = this._endOrLength;
  33551. if (endOrLength == null || endOrLength > $length)
  33552. return $length;
  33553. return endOrLength;
  33554. },
  33555. get$_startIndex() {
  33556. var $length = J.get$length$asx(this.__internal$_iterable),
  33557. t1 = this._start;
  33558. if (t1 > $length)
  33559. return $length;
  33560. return t1;
  33561. },
  33562. get$length(_) {
  33563. var endOrLength,
  33564. $length = J.get$length$asx(this.__internal$_iterable),
  33565. t1 = this._start;
  33566. if (t1 >= $length)
  33567. return 0;
  33568. endOrLength = this._endOrLength;
  33569. if (endOrLength == null || endOrLength >= $length)
  33570. return $length - t1;
  33571. return endOrLength - t1;
  33572. },
  33573. elementAt$1(_, index) {
  33574. var _this = this,
  33575. realIndex = _this.get$_startIndex() + index;
  33576. if (index < 0 || realIndex >= _this.get$_endIndex())
  33577. throw A.wrapException(A.IndexError$withLength(index, _this.get$length(0), _this, null, "index"));
  33578. return J.elementAt$1$ax(_this.__internal$_iterable, realIndex);
  33579. },
  33580. skip$1(_, count) {
  33581. var newStart, endOrLength, _this = this;
  33582. A.RangeError_checkNotNegative(count, "count");
  33583. newStart = _this._start + count;
  33584. endOrLength = _this._endOrLength;
  33585. if (endOrLength != null && newStart >= endOrLength)
  33586. return new A.EmptyIterable(_this.$ti._eval$1("EmptyIterable<1>"));
  33587. return A.SubListIterable$(_this.__internal$_iterable, newStart, endOrLength, _this.$ti._precomputed1);
  33588. },
  33589. take$1(_, count) {
  33590. var endOrLength, t1, newEnd, _this = this;
  33591. A.RangeError_checkNotNegative(count, "count");
  33592. endOrLength = _this._endOrLength;
  33593. t1 = _this._start;
  33594. newEnd = t1 + count;
  33595. if (endOrLength == null)
  33596. return A.SubListIterable$(_this.__internal$_iterable, t1, newEnd, _this.$ti._precomputed1);
  33597. else {
  33598. if (endOrLength < newEnd)
  33599. return _this;
  33600. return A.SubListIterable$(_this.__internal$_iterable, t1, newEnd, _this.$ti._precomputed1);
  33601. }
  33602. },
  33603. toList$1$growable(_, growable) {
  33604. var $length, result, i, _this = this,
  33605. start = _this._start,
  33606. t1 = _this.__internal$_iterable,
  33607. t2 = J.getInterceptor$asx(t1),
  33608. end = t2.get$length(t1),
  33609. endOrLength = _this._endOrLength;
  33610. if (endOrLength != null && endOrLength < end)
  33611. end = endOrLength;
  33612. $length = end - start;
  33613. if ($length <= 0) {
  33614. t1 = _this.$ti._precomputed1;
  33615. return growable ? J.JSArray_JSArray$growable(0, t1) : J.JSArray_JSArray$fixed(0, t1);
  33616. }
  33617. result = A.List_List$filled($length, t2.elementAt$1(t1, start), growable, _this.$ti._precomputed1);
  33618. for (i = 1; i < $length; ++i) {
  33619. result[i] = t2.elementAt$1(t1, start + i);
  33620. if (t2.get$length(t1) < end)
  33621. throw A.wrapException(A.ConcurrentModificationError$(_this));
  33622. }
  33623. return result;
  33624. },
  33625. toList$0(_) {
  33626. return this.toList$1$growable(0, true);
  33627. }
  33628. };
  33629. A.ListIterator.prototype = {
  33630. get$current(_) {
  33631. var t1 = this.__internal$_current;
  33632. return t1 == null ? this.$ti._precomputed1._as(t1) : t1;
  33633. },
  33634. moveNext$0() {
  33635. var t3, _this = this,
  33636. t1 = _this.__internal$_iterable,
  33637. t2 = J.getInterceptor$asx(t1),
  33638. $length = t2.get$length(t1);
  33639. if (_this.__internal$_length !== $length)
  33640. throw A.wrapException(A.ConcurrentModificationError$(t1));
  33641. t3 = _this.__internal$_index;
  33642. if (t3 >= $length) {
  33643. _this.__internal$_current = null;
  33644. return false;
  33645. }
  33646. _this.__internal$_current = t2.elementAt$1(t1, t3);
  33647. ++_this.__internal$_index;
  33648. return true;
  33649. }
  33650. };
  33651. A.MappedIterable.prototype = {
  33652. get$iterator(_) {
  33653. var t1 = A._instanceType(this);
  33654. return new A.MappedIterator(J.get$iterator$ax(this.__internal$_iterable), this._f, t1._eval$1("@<1>")._bind$1(t1._rest[1])._eval$1("MappedIterator<1,2>"));
  33655. },
  33656. get$length(_) {
  33657. return J.get$length$asx(this.__internal$_iterable);
  33658. },
  33659. get$isEmpty(_) {
  33660. return J.get$isEmpty$asx(this.__internal$_iterable);
  33661. },
  33662. get$first(_) {
  33663. return this._f.call$1(J.get$first$ax(this.__internal$_iterable));
  33664. },
  33665. get$last(_) {
  33666. return this._f.call$1(J.get$last$ax(this.__internal$_iterable));
  33667. },
  33668. get$single(_) {
  33669. return this._f.call$1(J.get$single$ax(this.__internal$_iterable));
  33670. },
  33671. elementAt$1(_, index) {
  33672. return this._f.call$1(J.elementAt$1$ax(this.__internal$_iterable, index));
  33673. }
  33674. };
  33675. A.EfficientLengthMappedIterable.prototype = {$isEfficientLengthIterable: 1};
  33676. A.MappedIterator.prototype = {
  33677. moveNext$0() {
  33678. var _this = this,
  33679. t1 = _this._iterator;
  33680. if (t1.moveNext$0()) {
  33681. _this.__internal$_current = _this._f.call$1(t1.get$current(t1));
  33682. return true;
  33683. }
  33684. _this.__internal$_current = null;
  33685. return false;
  33686. },
  33687. get$current(_) {
  33688. var t1 = this.__internal$_current;
  33689. return t1 == null ? this.$ti._rest[1]._as(t1) : t1;
  33690. }
  33691. };
  33692. A.MappedListIterable.prototype = {
  33693. get$length(_) {
  33694. return J.get$length$asx(this._source);
  33695. },
  33696. elementAt$1(_, index) {
  33697. return this._f.call$1(J.elementAt$1$ax(this._source, index));
  33698. }
  33699. };
  33700. A.WhereIterable.prototype = {
  33701. get$iterator(_) {
  33702. return new A.WhereIterator(J.get$iterator$ax(this.__internal$_iterable), this._f);
  33703. },
  33704. map$1$1(_, toElement, $T) {
  33705. return new A.MappedIterable(this, toElement, this.$ti._eval$1("@<1>")._bind$1($T)._eval$1("MappedIterable<1,2>"));
  33706. }
  33707. };
  33708. A.WhereIterator.prototype = {
  33709. moveNext$0() {
  33710. var t1, t2;
  33711. for (t1 = this._iterator, t2 = this._f; t1.moveNext$0();)
  33712. if (t2.call$1(t1.get$current(t1)))
  33713. return true;
  33714. return false;
  33715. },
  33716. get$current(_) {
  33717. var t1 = this._iterator;
  33718. return t1.get$current(t1);
  33719. }
  33720. };
  33721. A.ExpandIterable.prototype = {
  33722. get$iterator(_) {
  33723. var t1 = this.$ti;
  33724. return new A.ExpandIterator(J.get$iterator$ax(this.__internal$_iterable), this._f, B.C_EmptyIterator, t1._eval$1("@<1>")._bind$1(t1._rest[1])._eval$1("ExpandIterator<1,2>"));
  33725. }
  33726. };
  33727. A.ExpandIterator.prototype = {
  33728. get$current(_) {
  33729. var t1 = this.__internal$_current;
  33730. return t1 == null ? this.$ti._rest[1]._as(t1) : t1;
  33731. },
  33732. moveNext$0() {
  33733. var t2, t3, _this = this,
  33734. t1 = _this._currentExpansion;
  33735. if (t1 == null)
  33736. return false;
  33737. for (t2 = _this._iterator, t3 = _this._f; !t1.moveNext$0();) {
  33738. _this.__internal$_current = null;
  33739. if (t2.moveNext$0()) {
  33740. _this._currentExpansion = null;
  33741. t1 = J.get$iterator$ax(t3.call$1(t2.get$current(t2)));
  33742. _this._currentExpansion = t1;
  33743. } else
  33744. return false;
  33745. }
  33746. t1 = _this._currentExpansion;
  33747. _this.__internal$_current = t1.get$current(t1);
  33748. return true;
  33749. }
  33750. };
  33751. A.TakeIterable.prototype = {
  33752. get$iterator(_) {
  33753. return new A.TakeIterator(J.get$iterator$ax(this.__internal$_iterable), this._takeCount, A._instanceType(this)._eval$1("TakeIterator<1>"));
  33754. }
  33755. };
  33756. A.EfficientLengthTakeIterable.prototype = {
  33757. get$length(_) {
  33758. var iterableLength = J.get$length$asx(this.__internal$_iterable),
  33759. t1 = this._takeCount;
  33760. if (iterableLength > t1)
  33761. return t1;
  33762. return iterableLength;
  33763. },
  33764. $isEfficientLengthIterable: 1
  33765. };
  33766. A.TakeIterator.prototype = {
  33767. moveNext$0() {
  33768. if (--this._remaining >= 0)
  33769. return this._iterator.moveNext$0();
  33770. this._remaining = -1;
  33771. return false;
  33772. },
  33773. get$current(_) {
  33774. var t1;
  33775. if (this._remaining < 0) {
  33776. this.$ti._precomputed1._as(null);
  33777. return null;
  33778. }
  33779. t1 = this._iterator;
  33780. return t1.get$current(t1);
  33781. }
  33782. };
  33783. A.SkipIterable.prototype = {
  33784. skip$1(_, count) {
  33785. A.ArgumentError_checkNotNull(count, "count");
  33786. A.RangeError_checkNotNegative(count, "count");
  33787. return new A.SkipIterable(this.__internal$_iterable, this._skipCount + count, A._instanceType(this)._eval$1("SkipIterable<1>"));
  33788. },
  33789. get$iterator(_) {
  33790. return new A.SkipIterator(J.get$iterator$ax(this.__internal$_iterable), this._skipCount);
  33791. }
  33792. };
  33793. A.EfficientLengthSkipIterable.prototype = {
  33794. get$length(_) {
  33795. var $length = J.get$length$asx(this.__internal$_iterable) - this._skipCount;
  33796. if ($length >= 0)
  33797. return $length;
  33798. return 0;
  33799. },
  33800. skip$1(_, count) {
  33801. A.ArgumentError_checkNotNull(count, "count");
  33802. A.RangeError_checkNotNegative(count, "count");
  33803. return new A.EfficientLengthSkipIterable(this.__internal$_iterable, this._skipCount + count, this.$ti);
  33804. },
  33805. $isEfficientLengthIterable: 1
  33806. };
  33807. A.SkipIterator.prototype = {
  33808. moveNext$0() {
  33809. var t1, i;
  33810. for (t1 = this._iterator, i = 0; i < this._skipCount; ++i)
  33811. t1.moveNext$0();
  33812. this._skipCount = 0;
  33813. return t1.moveNext$0();
  33814. },
  33815. get$current(_) {
  33816. var t1 = this._iterator;
  33817. return t1.get$current(t1);
  33818. }
  33819. };
  33820. A.SkipWhileIterable.prototype = {
  33821. get$iterator(_) {
  33822. return new A.SkipWhileIterator(J.get$iterator$ax(this.__internal$_iterable), this._f);
  33823. }
  33824. };
  33825. A.SkipWhileIterator.prototype = {
  33826. moveNext$0() {
  33827. var t1, t2, _this = this;
  33828. if (!_this._hasSkipped) {
  33829. _this._hasSkipped = true;
  33830. for (t1 = _this._iterator, t2 = _this._f; t1.moveNext$0();)
  33831. if (!t2.call$1(t1.get$current(t1)))
  33832. return true;
  33833. }
  33834. return _this._iterator.moveNext$0();
  33835. },
  33836. get$current(_) {
  33837. var t1 = this._iterator;
  33838. return t1.get$current(t1);
  33839. }
  33840. };
  33841. A.EmptyIterable.prototype = {
  33842. get$iterator(_) {
  33843. return B.C_EmptyIterator;
  33844. },
  33845. get$isEmpty(_) {
  33846. return true;
  33847. },
  33848. get$length(_) {
  33849. return 0;
  33850. },
  33851. get$first(_) {
  33852. throw A.wrapException(A.IterableElementError_noElement());
  33853. },
  33854. get$last(_) {
  33855. throw A.wrapException(A.IterableElementError_noElement());
  33856. },
  33857. get$single(_) {
  33858. throw A.wrapException(A.IterableElementError_noElement());
  33859. },
  33860. elementAt$1(_, index) {
  33861. throw A.wrapException(A.RangeError$range(index, 0, 0, "index", null));
  33862. },
  33863. contains$1(_, element) {
  33864. return false;
  33865. },
  33866. every$1(_, test) {
  33867. return true;
  33868. },
  33869. any$1(_, test) {
  33870. return false;
  33871. },
  33872. join$1(_, separator) {
  33873. return "";
  33874. },
  33875. where$1(_, test) {
  33876. return this;
  33877. },
  33878. map$1$1(_, toElement, $T) {
  33879. return new A.EmptyIterable($T._eval$1("EmptyIterable<0>"));
  33880. },
  33881. skip$1(_, count) {
  33882. A.RangeError_checkNotNegative(count, "count");
  33883. return this;
  33884. },
  33885. take$1(_, count) {
  33886. A.RangeError_checkNotNegative(count, "count");
  33887. return this;
  33888. },
  33889. toList$1$growable(_, growable) {
  33890. var t1 = J.JSArray_JSArray$growable(0, this.$ti._precomputed1);
  33891. return t1;
  33892. },
  33893. toList$0(_) {
  33894. return this.toList$1$growable(0, true);
  33895. },
  33896. toSet$0(_) {
  33897. return A.LinkedHashSet_LinkedHashSet(this.$ti._precomputed1);
  33898. }
  33899. };
  33900. A.EmptyIterator.prototype = {
  33901. moveNext$0() {
  33902. return false;
  33903. },
  33904. get$current(_) {
  33905. throw A.wrapException(A.IterableElementError_noElement());
  33906. }
  33907. };
  33908. A.FollowedByIterable.prototype = {
  33909. get$iterator(_) {
  33910. return new A.FollowedByIterator(J.get$iterator$ax(this.__internal$_first), this._second);
  33911. },
  33912. get$length(_) {
  33913. var t1 = this._second;
  33914. return J.get$length$asx(this.__internal$_first) + t1.get$length(t1);
  33915. },
  33916. get$isEmpty(_) {
  33917. var t1;
  33918. if (J.get$isEmpty$asx(this.__internal$_first)) {
  33919. t1 = this._second;
  33920. t1 = t1.get$isEmpty(t1);
  33921. } else
  33922. t1 = false;
  33923. return t1;
  33924. },
  33925. get$isNotEmpty(_) {
  33926. var t1;
  33927. if (!J.get$isNotEmpty$asx(this.__internal$_first)) {
  33928. t1 = this._second;
  33929. t1 = t1.get$isNotEmpty(t1);
  33930. } else
  33931. t1 = true;
  33932. return t1;
  33933. },
  33934. contains$1(_, value) {
  33935. var t1;
  33936. if (!J.contains$1$asx(this.__internal$_first, value)) {
  33937. t1 = this._second;
  33938. t1 = t1.contains$1(t1, value);
  33939. } else
  33940. t1 = true;
  33941. return t1;
  33942. },
  33943. get$first(_) {
  33944. var t1,
  33945. iterator = J.get$iterator$ax(this.__internal$_first);
  33946. if (iterator.moveNext$0())
  33947. return iterator.get$current(iterator);
  33948. t1 = this._second;
  33949. return t1.get$first(t1);
  33950. },
  33951. get$last(_) {
  33952. var last,
  33953. t1 = this._second,
  33954. iterator = t1.get$iterator(t1);
  33955. if (iterator.moveNext$0()) {
  33956. last = iterator.get$current(iterator);
  33957. for (; iterator.moveNext$0();)
  33958. last = iterator.get$current(iterator);
  33959. return last;
  33960. }
  33961. return J.get$last$ax(this.__internal$_first);
  33962. }
  33963. };
  33964. A.EfficientLengthFollowedByIterable.prototype = {
  33965. elementAt$1(_, index) {
  33966. var t1 = this.__internal$_first,
  33967. t2 = J.getInterceptor$asx(t1),
  33968. firstLength = t2.get$length(t1);
  33969. if (index < firstLength)
  33970. return t2.elementAt$1(t1, index);
  33971. t1 = this._second;
  33972. return t1.elementAt$1(t1, index - firstLength);
  33973. },
  33974. get$first(_) {
  33975. var t1 = this.__internal$_first,
  33976. t2 = J.getInterceptor$asx(t1);
  33977. if (t2.get$isNotEmpty(t1))
  33978. return t2.get$first(t1);
  33979. t1 = this._second;
  33980. return t1.get$first(t1);
  33981. },
  33982. get$last(_) {
  33983. var t1 = this._second;
  33984. if (t1.get$isNotEmpty(t1))
  33985. return t1.get$last(t1);
  33986. return J.get$last$ax(this.__internal$_first);
  33987. },
  33988. $isEfficientLengthIterable: 1
  33989. };
  33990. A.FollowedByIterator.prototype = {
  33991. moveNext$0() {
  33992. var t1, _this = this;
  33993. if (_this._currentIterator.moveNext$0())
  33994. return true;
  33995. t1 = _this._nextIterable;
  33996. if (t1 != null) {
  33997. t1 = t1.get$iterator(t1);
  33998. _this._currentIterator = t1;
  33999. _this._nextIterable = null;
  34000. return t1.moveNext$0();
  34001. }
  34002. return false;
  34003. },
  34004. get$current(_) {
  34005. var t1 = this._currentIterator;
  34006. return t1.get$current(t1);
  34007. }
  34008. };
  34009. A.WhereTypeIterable.prototype = {
  34010. get$iterator(_) {
  34011. return new A.WhereTypeIterator(J.get$iterator$ax(this._source), this.$ti._eval$1("WhereTypeIterator<1>"));
  34012. }
  34013. };
  34014. A.WhereTypeIterator.prototype = {
  34015. moveNext$0() {
  34016. var t1, t2;
  34017. for (t1 = this._source, t2 = this.$ti._precomputed1; t1.moveNext$0();)
  34018. if (t2._is(t1.get$current(t1)))
  34019. return true;
  34020. return false;
  34021. },
  34022. get$current(_) {
  34023. var t1 = this._source;
  34024. return this.$ti._precomputed1._as(t1.get$current(t1));
  34025. }
  34026. };
  34027. A.FixedLengthListMixin.prototype = {
  34028. set$length(receiver, newLength) {
  34029. throw A.wrapException(A.UnsupportedError$("Cannot change the length of a fixed-length list"));
  34030. },
  34031. add$1(receiver, value) {
  34032. throw A.wrapException(A.UnsupportedError$("Cannot add to a fixed-length list"));
  34033. },
  34034. addAll$1(receiver, iterable) {
  34035. throw A.wrapException(A.UnsupportedError$("Cannot add to a fixed-length list"));
  34036. },
  34037. removeRange$2(receiver, start, end) {
  34038. throw A.wrapException(A.UnsupportedError$("Cannot remove from a fixed-length list"));
  34039. }
  34040. };
  34041. A.UnmodifiableListMixin.prototype = {
  34042. $indexSet(_, index, value) {
  34043. throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable list"));
  34044. },
  34045. set$length(_, newLength) {
  34046. throw A.wrapException(A.UnsupportedError$("Cannot change the length of an unmodifiable list"));
  34047. },
  34048. add$1(_, value) {
  34049. throw A.wrapException(A.UnsupportedError$("Cannot add to an unmodifiable list"));
  34050. },
  34051. addAll$1(_, iterable) {
  34052. throw A.wrapException(A.UnsupportedError$("Cannot add to an unmodifiable list"));
  34053. },
  34054. sort$1(_, compare) {
  34055. throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable list"));
  34056. },
  34057. setRange$4(_, start, end, iterable, skipCount) {
  34058. throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable list"));
  34059. },
  34060. removeRange$2(_, start, end) {
  34061. throw A.wrapException(A.UnsupportedError$("Cannot remove from an unmodifiable list"));
  34062. },
  34063. fillRange$3(_, start, end, fillValue) {
  34064. throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable list"));
  34065. }
  34066. };
  34067. A.UnmodifiableListBase.prototype = {};
  34068. A.ReversedListIterable.prototype = {
  34069. get$length(_) {
  34070. return J.get$length$asx(this._source);
  34071. },
  34072. elementAt$1(_, index) {
  34073. var t1 = this._source,
  34074. t2 = J.getInterceptor$asx(t1);
  34075. return t2.elementAt$1(t1, t2.get$length(t1) - 1 - index);
  34076. }
  34077. };
  34078. A.Symbol.prototype = {
  34079. get$hashCode(_) {
  34080. var hash = this._hashCode;
  34081. if (hash != null)
  34082. return hash;
  34083. hash = 664597 * B.JSString_methods.get$hashCode(this.__internal$_name) & 536870911;
  34084. this._hashCode = hash;
  34085. return hash;
  34086. },
  34087. toString$0(_) {
  34088. return 'Symbol("' + this.__internal$_name + '")';
  34089. },
  34090. $eq(_, other) {
  34091. if (other == null)
  34092. return false;
  34093. return other instanceof A.Symbol && this.__internal$_name === other.__internal$_name;
  34094. },
  34095. $isSymbol0: 1
  34096. };
  34097. A.__CastListBase__CastIterableBase_ListMixin.prototype = {};
  34098. A._Record_1.prototype = {$recipe: "+(1)", $shape: 1};
  34099. A._Record_2.prototype = {$recipe: "+(1,2)", $shape: 2};
  34100. A._Record_2_forImport.prototype = {$recipe: "+forImport(1,2)", $shape: 3};
  34101. A._Record_2_imports_modules.prototype = {$recipe: "+imports,modules(1,2)", $shape: 5};
  34102. A._Record_2_loadedUrls_stylesheet.prototype = {$recipe: "+loadedUrls,stylesheet(1,2)", $shape: 6};
  34103. A._Record_2_sourceMap.prototype = {$recipe: "+sourceMap(1,2)", $shape: 4};
  34104. A._Record_3.prototype = {$recipe: "+(1,2,3)", $shape: 7};
  34105. A._Record_3_forImport.prototype = {$recipe: "+forImport(1,2,3)", $shape: 8};
  34106. A._Record_3_importer_isDependency.prototype = {$recipe: "+importer,isDependency(1,2,3)", $shape: 10};
  34107. A._Record_3_originalUrl.prototype = {$recipe: "+originalUrl(1,2,3)", $shape: 9};
  34108. A._Record_5_named_namedNodes_positional_positionalNodes_separator.prototype = {$recipe: "+named,namedNodes,positional,positionalNodes,separator(1,2,3,4,5)", $shape: 12};
  34109. A.ConstantMapView.prototype = {};
  34110. A.ConstantMap.prototype = {
  34111. cast$2$0(_, RK, RV) {
  34112. var t1 = A._instanceType(this);
  34113. return A.Map_castFrom(this, t1._precomputed1, t1._rest[1], RK, RV);
  34114. },
  34115. get$isEmpty(_) {
  34116. return this.get$length(this) === 0;
  34117. },
  34118. get$isNotEmpty(_) {
  34119. return this.get$length(this) !== 0;
  34120. },
  34121. toString$0(_) {
  34122. return A.MapBase_mapToString(this);
  34123. },
  34124. $indexSet(_, key, value) {
  34125. A.ConstantMap__throwUnmodifiable();
  34126. },
  34127. remove$1(_, key) {
  34128. A.ConstantMap__throwUnmodifiable();
  34129. },
  34130. addAll$1(_, other) {
  34131. A.ConstantMap__throwUnmodifiable();
  34132. },
  34133. get$entries(_) {
  34134. return new A._SyncStarIterable(this.entries$body$ConstantMap(0), A._instanceType(this)._eval$1("_SyncStarIterable<MapEntry<1,2>>"));
  34135. },
  34136. entries$body$ConstantMap($async$_) {
  34137. var $async$self = this;
  34138. return function() {
  34139. var _ = $async$_;
  34140. var $async$goto = 0, $async$handler = 1, $async$currentError, t1, t2, key;
  34141. return function $async$get$entries($async$iterator, $async$errorCode, $async$result) {
  34142. if ($async$errorCode === 1) {
  34143. $async$currentError = $async$result;
  34144. $async$goto = $async$handler;
  34145. }
  34146. while (true)
  34147. switch ($async$goto) {
  34148. case 0:
  34149. // Function start
  34150. t1 = $async$self.get$keys($async$self), t1 = t1.get$iterator(t1), t2 = A._instanceType($async$self), t2 = t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("MapEntry<1,2>");
  34151. case 2:
  34152. // for condition
  34153. if (!t1.moveNext$0()) {
  34154. // goto after for
  34155. $async$goto = 3;
  34156. break;
  34157. }
  34158. key = t1.get$current(t1);
  34159. $async$goto = 4;
  34160. return $async$iterator._async$_current = new A.MapEntry(key, $async$self.$index(0, key), t2), 1;
  34161. case 4:
  34162. // after yield
  34163. // goto for condition
  34164. $async$goto = 2;
  34165. break;
  34166. case 3:
  34167. // after for
  34168. // implicit return
  34169. return 0;
  34170. case 1:
  34171. // rethrow
  34172. return $async$iterator._datum = $async$currentError, 3;
  34173. }
  34174. };
  34175. };
  34176. },
  34177. $isMap: 1
  34178. };
  34179. A.ConstantStringMap.prototype = {
  34180. get$length(_) {
  34181. return this._values.length;
  34182. },
  34183. get$_keys() {
  34184. var keys = this.$keys;
  34185. if (keys == null) {
  34186. keys = Object.keys(this._jsIndex);
  34187. this.$keys = keys;
  34188. }
  34189. return keys;
  34190. },
  34191. containsKey$1(key) {
  34192. if (typeof key != "string")
  34193. return false;
  34194. if ("__proto__" === key)
  34195. return false;
  34196. return this._jsIndex.hasOwnProperty(key);
  34197. },
  34198. $index(_, key) {
  34199. if (!this.containsKey$1(key))
  34200. return null;
  34201. return this._values[this._jsIndex[key]];
  34202. },
  34203. forEach$1(_, f) {
  34204. var t1, i,
  34205. keys = this.get$_keys(),
  34206. values = this._values;
  34207. for (t1 = keys.length, i = 0; i < t1; ++i)
  34208. f.call$2(keys[i], values[i]);
  34209. },
  34210. get$keys(_) {
  34211. return new A._KeysOrValues(this.get$_keys(), this.$ti._eval$1("_KeysOrValues<1>"));
  34212. },
  34213. get$values(_) {
  34214. return new A._KeysOrValues(this._values, this.$ti._eval$1("_KeysOrValues<2>"));
  34215. }
  34216. };
  34217. A._KeysOrValues.prototype = {
  34218. get$length(_) {
  34219. return this._elements.length;
  34220. },
  34221. get$isEmpty(_) {
  34222. return 0 === this._elements.length;
  34223. },
  34224. get$isNotEmpty(_) {
  34225. return 0 !== this._elements.length;
  34226. },
  34227. get$iterator(_) {
  34228. var t1 = this._elements;
  34229. return new A._KeysOrValuesOrElementsIterator(t1, t1.length, this.$ti._eval$1("_KeysOrValuesOrElementsIterator<1>"));
  34230. }
  34231. };
  34232. A._KeysOrValuesOrElementsIterator.prototype = {
  34233. get$current(_) {
  34234. var t1 = this.__js_helper$_current;
  34235. return t1 == null ? this.$ti._precomputed1._as(t1) : t1;
  34236. },
  34237. moveNext$0() {
  34238. var _this = this,
  34239. t1 = _this.__js_helper$_index;
  34240. if (t1 >= _this.__js_helper$_length) {
  34241. _this.__js_helper$_current = null;
  34242. return false;
  34243. }
  34244. _this.__js_helper$_current = _this._elements[t1];
  34245. _this.__js_helper$_index = t1 + 1;
  34246. return true;
  34247. }
  34248. };
  34249. A.ConstantSet.prototype = {
  34250. add$1(_, value) {
  34251. A.ConstantSet__throwUnmodifiable();
  34252. },
  34253. addAll$1(_, elements) {
  34254. A.ConstantSet__throwUnmodifiable();
  34255. },
  34256. remove$1(_, value) {
  34257. A.ConstantSet__throwUnmodifiable();
  34258. }
  34259. };
  34260. A.ConstantStringSet.prototype = {
  34261. get$length(_) {
  34262. return this.__js_helper$_length;
  34263. },
  34264. get$isEmpty(_) {
  34265. return this.__js_helper$_length === 0;
  34266. },
  34267. get$isNotEmpty(_) {
  34268. return this.__js_helper$_length !== 0;
  34269. },
  34270. get$iterator(_) {
  34271. var t1, _this = this,
  34272. keys = _this.$keys;
  34273. if (keys == null) {
  34274. keys = Object.keys(_this._jsIndex);
  34275. _this.$keys = keys;
  34276. }
  34277. t1 = keys;
  34278. return new A._KeysOrValuesOrElementsIterator(t1, t1.length, _this.$ti._eval$1("_KeysOrValuesOrElementsIterator<1>"));
  34279. },
  34280. contains$1(_, key) {
  34281. if (typeof key != "string")
  34282. return false;
  34283. if ("__proto__" === key)
  34284. return false;
  34285. return this._jsIndex.hasOwnProperty(key);
  34286. },
  34287. toSet$0(_) {
  34288. return A.LinkedHashSet_LinkedHashSet$of(this, this.$ti._precomputed1);
  34289. }
  34290. };
  34291. A.GeneralConstantSet.prototype = {
  34292. get$length(_) {
  34293. return this._elements.length;
  34294. },
  34295. get$isEmpty(_) {
  34296. return this._elements.length === 0;
  34297. },
  34298. get$isNotEmpty(_) {
  34299. return this._elements.length !== 0;
  34300. },
  34301. get$iterator(_) {
  34302. var t1 = this._elements;
  34303. return new A._KeysOrValuesOrElementsIterator(t1, t1.length, this.$ti._eval$1("_KeysOrValuesOrElementsIterator<1>"));
  34304. },
  34305. _getMap$0() {
  34306. var t1, t2, _i, key, _this = this,
  34307. backingMap = _this.$map;
  34308. if (backingMap == null) {
  34309. t1 = _this.$ti;
  34310. backingMap = new A.JsConstantLinkedHashMap(t1._eval$1("@<1>")._bind$1(t1._precomputed1)._eval$1("JsConstantLinkedHashMap<1,2>"));
  34311. for (t1 = _this._elements, t2 = t1.length, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  34312. key = t1[_i];
  34313. backingMap.$indexSet(0, key, key);
  34314. }
  34315. _this.$map = backingMap;
  34316. }
  34317. return backingMap;
  34318. },
  34319. contains$1(_, key) {
  34320. return this._getMap$0().containsKey$1(key);
  34321. },
  34322. toSet$0(_) {
  34323. return A.LinkedHashSet_LinkedHashSet$of(this, this.$ti._precomputed1);
  34324. }
  34325. };
  34326. A.Instantiation.prototype = {
  34327. Instantiation$1(_genericClosure) {
  34328. if (false)
  34329. A.instantiatedGenericFunctionType(0, 0);
  34330. },
  34331. $eq(_, other) {
  34332. if (other == null)
  34333. return false;
  34334. return other instanceof A.Instantiation && this._genericClosure.$eq(0, other._genericClosure) && A.getRuntimeTypeOfClosure(this) === A.getRuntimeTypeOfClosure(other);
  34335. },
  34336. get$hashCode(_) {
  34337. return A.Object_hash(this._genericClosure, A.getRuntimeTypeOfClosure(this), B.C_SentinelValue, B.C_SentinelValue);
  34338. },
  34339. toString$0(_) {
  34340. var t1 = B.JSArray_methods.join$1(this.get$_types(), ", ");
  34341. return this._genericClosure.toString$0(0) + " with " + ("<" + t1 + ">");
  34342. }
  34343. };
  34344. A.Instantiation1.prototype = {
  34345. get$_types() {
  34346. return [A.createRuntimeType(this.$ti._precomputed1)];
  34347. },
  34348. call$0() {
  34349. return this._genericClosure.call$1$0(this.$ti._rest[0]);
  34350. },
  34351. call$2(a0, a1) {
  34352. return this._genericClosure.call$1$2(a0, a1, this.$ti._rest[0]);
  34353. },
  34354. call$3(a0, a1, a2) {
  34355. return this._genericClosure.call$1$3(a0, a1, a2, this.$ti._rest[0]);
  34356. },
  34357. call$4(a0, a1, a2, a3) {
  34358. return this._genericClosure.call$1$4(a0, a1, a2, a3, this.$ti._rest[0]);
  34359. },
  34360. $signature() {
  34361. return A.instantiatedGenericFunctionType(A.closureFunctionType(this._genericClosure), this.$ti);
  34362. }
  34363. };
  34364. A.JSInvocationMirror.prototype = {
  34365. get$memberName() {
  34366. var t1 = this.__js_helper$_memberName;
  34367. if (t1 instanceof A.Symbol)
  34368. return t1;
  34369. return this.__js_helper$_memberName = new A.Symbol(t1);
  34370. },
  34371. get$positionalArguments() {
  34372. var t1, t2, argumentCount, list, index, _this = this;
  34373. if (_this.__js_helper$_kind === 1)
  34374. return B.List_empty6;
  34375. t1 = _this._arguments;
  34376. t2 = J.getInterceptor$asx(t1);
  34377. argumentCount = t2.get$length(t1) - J.get$length$asx(_this._namedArgumentNames) - _this._typeArgumentCount;
  34378. if (argumentCount === 0)
  34379. return B.List_empty6;
  34380. list = [];
  34381. for (index = 0; index < argumentCount; ++index)
  34382. list.push(t2.$index(t1, index));
  34383. return J.JSArray_markUnmodifiableList(list);
  34384. },
  34385. get$namedArguments() {
  34386. var t1, t2, namedArgumentCount, t3, t4, namedArgumentsStartIndex, map, i, _this = this;
  34387. if (_this.__js_helper$_kind !== 0)
  34388. return B.Map_empty3;
  34389. t1 = _this._namedArgumentNames;
  34390. t2 = J.getInterceptor$asx(t1);
  34391. namedArgumentCount = t2.get$length(t1);
  34392. t3 = _this._arguments;
  34393. t4 = J.getInterceptor$asx(t3);
  34394. namedArgumentsStartIndex = t4.get$length(t3) - namedArgumentCount - _this._typeArgumentCount;
  34395. if (namedArgumentCount === 0)
  34396. return B.Map_empty3;
  34397. map = new A.JsLinkedHashMap(type$.JsLinkedHashMap_Symbol_dynamic);
  34398. for (i = 0; i < namedArgumentCount; ++i)
  34399. map.$indexSet(0, new A.Symbol(t2.$index(t1, i)), t4.$index(t3, namedArgumentsStartIndex + i));
  34400. return new A.ConstantMapView(map, type$.ConstantMapView_Symbol_dynamic);
  34401. }
  34402. };
  34403. A.Primitives_functionNoSuchMethod_closure.prototype = {
  34404. call$2($name, argument) {
  34405. var t1 = this._box_0;
  34406. t1.names = t1.names + "$" + $name;
  34407. this.namedArgumentList.push($name);
  34408. this.$arguments.push(argument);
  34409. ++t1.argumentCount;
  34410. },
  34411. $signature: 113
  34412. };
  34413. A.TypeErrorDecoder.prototype = {
  34414. matchTypeError$1(message) {
  34415. var result, t1, _this = this,
  34416. match = new RegExp(_this._pattern).exec(message);
  34417. if (match == null)
  34418. return null;
  34419. result = Object.create(null);
  34420. t1 = _this._arguments;
  34421. if (t1 !== -1)
  34422. result.arguments = match[t1 + 1];
  34423. t1 = _this._argumentsExpr;
  34424. if (t1 !== -1)
  34425. result.argumentsExpr = match[t1 + 1];
  34426. t1 = _this._expr;
  34427. if (t1 !== -1)
  34428. result.expr = match[t1 + 1];
  34429. t1 = _this._method;
  34430. if (t1 !== -1)
  34431. result.method = match[t1 + 1];
  34432. t1 = _this._receiver;
  34433. if (t1 !== -1)
  34434. result.receiver = match[t1 + 1];
  34435. return result;
  34436. }
  34437. };
  34438. A.NullError.prototype = {
  34439. toString$0(_) {
  34440. return "Null check operator used on a null value";
  34441. }
  34442. };
  34443. A.JsNoSuchMethodError.prototype = {
  34444. toString$0(_) {
  34445. var t2, _this = this,
  34446. _s38_ = "NoSuchMethodError: method not found: '",
  34447. t1 = _this._method;
  34448. if (t1 == null)
  34449. return "NoSuchMethodError: " + _this.__js_helper$_message;
  34450. t2 = _this._receiver;
  34451. if (t2 == null)
  34452. return _s38_ + t1 + "' (" + _this.__js_helper$_message + ")";
  34453. return _s38_ + t1 + "' on '" + t2 + "' (" + _this.__js_helper$_message + ")";
  34454. }
  34455. };
  34456. A.UnknownJsTypeError.prototype = {
  34457. toString$0(_) {
  34458. var t1 = this.__js_helper$_message;
  34459. return t1.length === 0 ? "Error" : "Error: " + t1;
  34460. }
  34461. };
  34462. A.NullThrownFromJavaScriptException.prototype = {
  34463. toString$0(_) {
  34464. return "Throw of null ('" + (this._irritant === null ? "null" : "undefined") + "' from JavaScript)";
  34465. },
  34466. $isException: 1
  34467. };
  34468. A.ExceptionAndStackTrace.prototype = {};
  34469. A._StackTrace.prototype = {
  34470. toString$0(_) {
  34471. var trace,
  34472. t1 = this._trace;
  34473. if (t1 != null)
  34474. return t1;
  34475. t1 = this._exception;
  34476. trace = t1 !== null && typeof t1 === "object" ? t1.stack : null;
  34477. return this._trace = trace == null ? "" : trace;
  34478. },
  34479. $isStackTrace: 1
  34480. };
  34481. A.Closure.prototype = {
  34482. toString$0(_) {
  34483. var $constructor = this.constructor,
  34484. $name = $constructor == null ? null : $constructor.name;
  34485. return "Closure '" + A.unminifyOrTag($name == null ? "unknown" : $name) + "'";
  34486. },
  34487. $isFunction: 1,
  34488. get$$call() {
  34489. return this;
  34490. },
  34491. "call*": "call$1",
  34492. $requiredArgCount: 1,
  34493. $defaultValues: null
  34494. };
  34495. A.Closure0Args.prototype = {"call*": "call$0", $requiredArgCount: 0};
  34496. A.Closure2Args.prototype = {"call*": "call$2", $requiredArgCount: 2};
  34497. A.TearOffClosure.prototype = {};
  34498. A.StaticClosure.prototype = {
  34499. toString$0(_) {
  34500. var $name = this.$static_name;
  34501. if ($name == null)
  34502. return "Closure of unknown static method";
  34503. return "Closure '" + A.unminifyOrTag($name) + "'";
  34504. }
  34505. };
  34506. A.BoundClosure.prototype = {
  34507. $eq(_, other) {
  34508. if (other == null)
  34509. return false;
  34510. if (this === other)
  34511. return true;
  34512. if (!(other instanceof A.BoundClosure))
  34513. return false;
  34514. return this.$_target === other.$_target && this._receiver === other._receiver;
  34515. },
  34516. get$hashCode(_) {
  34517. return (A.objectHashCode(this._receiver) ^ A.Primitives_objectHashCode(this.$_target)) >>> 0;
  34518. },
  34519. toString$0(_) {
  34520. return "Closure '" + this.$_name + "' of " + ("Instance of '" + A.Primitives_objectTypeName(this._receiver) + "'");
  34521. }
  34522. };
  34523. A._CyclicInitializationError.prototype = {
  34524. toString$0(_) {
  34525. return "Reading static variable '" + this.variableName + "' during its initialization";
  34526. }
  34527. };
  34528. A.RuntimeError.prototype = {
  34529. toString$0(_) {
  34530. return "RuntimeError: " + this.message;
  34531. },
  34532. get$message(receiver) {
  34533. return this.message;
  34534. }
  34535. };
  34536. A._Required.prototype = {};
  34537. A.JsLinkedHashMap.prototype = {
  34538. get$length(_) {
  34539. return this.__js_helper$_length;
  34540. },
  34541. get$isEmpty(_) {
  34542. return this.__js_helper$_length === 0;
  34543. },
  34544. get$isNotEmpty(_) {
  34545. return this.__js_helper$_length !== 0;
  34546. },
  34547. get$keys(_) {
  34548. return new A.LinkedHashMapKeyIterable(this, A._instanceType(this)._eval$1("LinkedHashMapKeyIterable<1>"));
  34549. },
  34550. get$values(_) {
  34551. var t1 = A._instanceType(this);
  34552. return A.MappedIterable_MappedIterable(new A.LinkedHashMapKeyIterable(this, t1._eval$1("LinkedHashMapKeyIterable<1>")), new A.JsLinkedHashMap_values_closure(this), t1._precomputed1, t1._rest[1]);
  34553. },
  34554. containsKey$1(key) {
  34555. var strings, nums;
  34556. if (typeof key == "string") {
  34557. strings = this.__js_helper$_strings;
  34558. if (strings == null)
  34559. return false;
  34560. return strings[key] != null;
  34561. } else if (typeof key == "number" && (key & 0x3fffffff) === key) {
  34562. nums = this.__js_helper$_nums;
  34563. if (nums == null)
  34564. return false;
  34565. return nums[key] != null;
  34566. } else
  34567. return this.internalContainsKey$1(key);
  34568. },
  34569. internalContainsKey$1(key) {
  34570. var rest = this.__js_helper$_rest;
  34571. if (rest == null)
  34572. return false;
  34573. return this.internalFindBucketIndex$2(rest[this.internalComputeHashCode$1(key)], key) >= 0;
  34574. },
  34575. addAll$1(_, other) {
  34576. other.forEach$1(0, new A.JsLinkedHashMap_addAll_closure(this));
  34577. },
  34578. $index(_, key) {
  34579. var strings, cell, t1, nums, _null = null;
  34580. if (typeof key == "string") {
  34581. strings = this.__js_helper$_strings;
  34582. if (strings == null)
  34583. return _null;
  34584. cell = strings[key];
  34585. t1 = cell == null ? _null : cell.hashMapCellValue;
  34586. return t1;
  34587. } else if (typeof key == "number" && (key & 0x3fffffff) === key) {
  34588. nums = this.__js_helper$_nums;
  34589. if (nums == null)
  34590. return _null;
  34591. cell = nums[key];
  34592. t1 = cell == null ? _null : cell.hashMapCellValue;
  34593. return t1;
  34594. } else
  34595. return this.internalGet$1(key);
  34596. },
  34597. internalGet$1(key) {
  34598. var bucket, index,
  34599. rest = this.__js_helper$_rest;
  34600. if (rest == null)
  34601. return null;
  34602. bucket = rest[this.internalComputeHashCode$1(key)];
  34603. index = this.internalFindBucketIndex$2(bucket, key);
  34604. if (index < 0)
  34605. return null;
  34606. return bucket[index].hashMapCellValue;
  34607. },
  34608. $indexSet(_, key, value) {
  34609. var strings, nums, _this = this;
  34610. if (typeof key == "string") {
  34611. strings = _this.__js_helper$_strings;
  34612. _this.__js_helper$_addHashTableEntry$3(strings == null ? _this.__js_helper$_strings = _this._newHashTable$0() : strings, key, value);
  34613. } else if (typeof key == "number" && (key & 0x3fffffff) === key) {
  34614. nums = _this.__js_helper$_nums;
  34615. _this.__js_helper$_addHashTableEntry$3(nums == null ? _this.__js_helper$_nums = _this._newHashTable$0() : nums, key, value);
  34616. } else
  34617. _this.internalSet$2(key, value);
  34618. },
  34619. internalSet$2(key, value) {
  34620. var hash, bucket, index, _this = this,
  34621. rest = _this.__js_helper$_rest;
  34622. if (rest == null)
  34623. rest = _this.__js_helper$_rest = _this._newHashTable$0();
  34624. hash = _this.internalComputeHashCode$1(key);
  34625. bucket = rest[hash];
  34626. if (bucket == null)
  34627. rest[hash] = [_this.__js_helper$_newLinkedCell$2(key, value)];
  34628. else {
  34629. index = _this.internalFindBucketIndex$2(bucket, key);
  34630. if (index >= 0)
  34631. bucket[index].hashMapCellValue = value;
  34632. else
  34633. bucket.push(_this.__js_helper$_newLinkedCell$2(key, value));
  34634. }
  34635. },
  34636. putIfAbsent$2(key, ifAbsent) {
  34637. var t1, value, _this = this;
  34638. if (_this.containsKey$1(key)) {
  34639. t1 = _this.$index(0, key);
  34640. return t1 == null ? A._instanceType(_this)._rest[1]._as(t1) : t1;
  34641. }
  34642. value = ifAbsent.call$0();
  34643. _this.$indexSet(0, key, value);
  34644. return value;
  34645. },
  34646. remove$1(_, key) {
  34647. var _this = this;
  34648. if (typeof key == "string")
  34649. return _this.__js_helper$_removeHashTableEntry$2(_this.__js_helper$_strings, key);
  34650. else if (typeof key == "number" && (key & 0x3fffffff) === key)
  34651. return _this.__js_helper$_removeHashTableEntry$2(_this.__js_helper$_nums, key);
  34652. else
  34653. return _this.internalRemove$1(key);
  34654. },
  34655. internalRemove$1(key) {
  34656. var hash, bucket, index, cell, _this = this,
  34657. rest = _this.__js_helper$_rest;
  34658. if (rest == null)
  34659. return null;
  34660. hash = _this.internalComputeHashCode$1(key);
  34661. bucket = rest[hash];
  34662. index = _this.internalFindBucketIndex$2(bucket, key);
  34663. if (index < 0)
  34664. return null;
  34665. cell = bucket.splice(index, 1)[0];
  34666. _this.__js_helper$_unlinkCell$1(cell);
  34667. if (bucket.length === 0)
  34668. delete rest[hash];
  34669. return cell.hashMapCellValue;
  34670. },
  34671. clear$0(_) {
  34672. var _this = this;
  34673. if (_this.__js_helper$_length > 0) {
  34674. _this.__js_helper$_strings = _this.__js_helper$_nums = _this.__js_helper$_rest = _this.__js_helper$_first = _this.__js_helper$_last = null;
  34675. _this.__js_helper$_length = 0;
  34676. _this.__js_helper$_modified$0();
  34677. }
  34678. },
  34679. forEach$1(_, action) {
  34680. var _this = this,
  34681. cell = _this.__js_helper$_first,
  34682. modifications = _this.__js_helper$_modifications;
  34683. for (; cell != null;) {
  34684. action.call$2(cell.hashMapCellKey, cell.hashMapCellValue);
  34685. if (modifications !== _this.__js_helper$_modifications)
  34686. throw A.wrapException(A.ConcurrentModificationError$(_this));
  34687. cell = cell.__js_helper$_next;
  34688. }
  34689. },
  34690. __js_helper$_addHashTableEntry$3(table, key, value) {
  34691. var cell = table[key];
  34692. if (cell == null)
  34693. table[key] = this.__js_helper$_newLinkedCell$2(key, value);
  34694. else
  34695. cell.hashMapCellValue = value;
  34696. },
  34697. __js_helper$_removeHashTableEntry$2(table, key) {
  34698. var cell;
  34699. if (table == null)
  34700. return null;
  34701. cell = table[key];
  34702. if (cell == null)
  34703. return null;
  34704. this.__js_helper$_unlinkCell$1(cell);
  34705. delete table[key];
  34706. return cell.hashMapCellValue;
  34707. },
  34708. __js_helper$_modified$0() {
  34709. this.__js_helper$_modifications = this.__js_helper$_modifications + 1 & 1073741823;
  34710. },
  34711. __js_helper$_newLinkedCell$2(key, value) {
  34712. var t1, _this = this,
  34713. cell = new A.LinkedHashMapCell(key, value);
  34714. if (_this.__js_helper$_first == null)
  34715. _this.__js_helper$_first = _this.__js_helper$_last = cell;
  34716. else {
  34717. t1 = _this.__js_helper$_last;
  34718. t1.toString;
  34719. cell.__js_helper$_previous = t1;
  34720. _this.__js_helper$_last = t1.__js_helper$_next = cell;
  34721. }
  34722. ++_this.__js_helper$_length;
  34723. _this.__js_helper$_modified$0();
  34724. return cell;
  34725. },
  34726. __js_helper$_unlinkCell$1(cell) {
  34727. var _this = this,
  34728. previous = cell.__js_helper$_previous,
  34729. next = cell.__js_helper$_next;
  34730. if (previous == null)
  34731. _this.__js_helper$_first = next;
  34732. else
  34733. previous.__js_helper$_next = next;
  34734. if (next == null)
  34735. _this.__js_helper$_last = previous;
  34736. else
  34737. next.__js_helper$_previous = previous;
  34738. --_this.__js_helper$_length;
  34739. _this.__js_helper$_modified$0();
  34740. },
  34741. internalComputeHashCode$1(key) {
  34742. return J.get$hashCode$(key) & 1073741823;
  34743. },
  34744. internalFindBucketIndex$2(bucket, key) {
  34745. var $length, i;
  34746. if (bucket == null)
  34747. return -1;
  34748. $length = bucket.length;
  34749. for (i = 0; i < $length; ++i)
  34750. if (J.$eq$(bucket[i].hashMapCellKey, key))
  34751. return i;
  34752. return -1;
  34753. },
  34754. toString$0(_) {
  34755. return A.MapBase_mapToString(this);
  34756. },
  34757. _newHashTable$0() {
  34758. var table = Object.create(null);
  34759. table["<non-identifier-key>"] = table;
  34760. delete table["<non-identifier-key>"];
  34761. return table;
  34762. }
  34763. };
  34764. A.JsLinkedHashMap_values_closure.prototype = {
  34765. call$1(each) {
  34766. var t1 = this.$this,
  34767. t2 = t1.$index(0, each);
  34768. return t2 == null ? A._instanceType(t1)._rest[1]._as(t2) : t2;
  34769. },
  34770. $signature() {
  34771. return A._instanceType(this.$this)._eval$1("2(1)");
  34772. }
  34773. };
  34774. A.JsLinkedHashMap_addAll_closure.prototype = {
  34775. call$2(key, value) {
  34776. this.$this.$indexSet(0, key, value);
  34777. },
  34778. $signature() {
  34779. return A._instanceType(this.$this)._eval$1("~(1,2)");
  34780. }
  34781. };
  34782. A.LinkedHashMapCell.prototype = {};
  34783. A.LinkedHashMapKeyIterable.prototype = {
  34784. get$length(_) {
  34785. return this.__js_helper$_map.__js_helper$_length;
  34786. },
  34787. get$isEmpty(_) {
  34788. return this.__js_helper$_map.__js_helper$_length === 0;
  34789. },
  34790. get$iterator(_) {
  34791. var t1 = this.__js_helper$_map,
  34792. t2 = new A.LinkedHashMapKeyIterator(t1, t1.__js_helper$_modifications);
  34793. t2.__js_helper$_cell = t1.__js_helper$_first;
  34794. return t2;
  34795. },
  34796. contains$1(_, element) {
  34797. return this.__js_helper$_map.containsKey$1(element);
  34798. }
  34799. };
  34800. A.LinkedHashMapKeyIterator.prototype = {
  34801. get$current(_) {
  34802. return this.__js_helper$_current;
  34803. },
  34804. moveNext$0() {
  34805. var cell, _this = this,
  34806. t1 = _this.__js_helper$_map;
  34807. if (_this.__js_helper$_modifications !== t1.__js_helper$_modifications)
  34808. throw A.wrapException(A.ConcurrentModificationError$(t1));
  34809. cell = _this.__js_helper$_cell;
  34810. if (cell == null) {
  34811. _this.__js_helper$_current = null;
  34812. return false;
  34813. } else {
  34814. _this.__js_helper$_current = cell.hashMapCellKey;
  34815. _this.__js_helper$_cell = cell.__js_helper$_next;
  34816. return true;
  34817. }
  34818. }
  34819. };
  34820. A.JsIdentityLinkedHashMap.prototype = {
  34821. internalComputeHashCode$1(key) {
  34822. return A.objectHashCode(key) & 1073741823;
  34823. },
  34824. internalFindBucketIndex$2(bucket, key) {
  34825. var $length, i, t1;
  34826. if (bucket == null)
  34827. return -1;
  34828. $length = bucket.length;
  34829. for (i = 0; i < $length; ++i) {
  34830. t1 = bucket[i].hashMapCellKey;
  34831. if (t1 == null ? key == null : t1 === key)
  34832. return i;
  34833. }
  34834. return -1;
  34835. }
  34836. };
  34837. A.JsConstantLinkedHashMap.prototype = {
  34838. internalComputeHashCode$1(key) {
  34839. return A.constantHashCode(key) & 1073741823;
  34840. },
  34841. internalFindBucketIndex$2(bucket, key) {
  34842. var $length, i;
  34843. if (bucket == null)
  34844. return -1;
  34845. $length = bucket.length;
  34846. for (i = 0; i < $length; ++i)
  34847. if (J.$eq$(bucket[i].hashMapCellKey, key))
  34848. return i;
  34849. return -1;
  34850. }
  34851. };
  34852. A.initHooks_closure.prototype = {
  34853. call$1(o) {
  34854. return this.getTag(o);
  34855. },
  34856. $signature: 105
  34857. };
  34858. A.initHooks_closure0.prototype = {
  34859. call$2(o, tag) {
  34860. return this.getUnknownTag(o, tag);
  34861. },
  34862. $signature: 389
  34863. };
  34864. A.initHooks_closure1.prototype = {
  34865. call$1(tag) {
  34866. return this.prototypeForTag(tag);
  34867. },
  34868. $signature: 170
  34869. };
  34870. A._Record.prototype = {
  34871. toString$0(_) {
  34872. return this._toString$1(false);
  34873. },
  34874. _toString$1(safe) {
  34875. var t2, separator, i, key, value,
  34876. keys = this._fieldKeys$0(),
  34877. values = this._getFieldValues$0(),
  34878. t1 = (safe ? "" + "Record " : "") + "(";
  34879. for (t2 = keys.length, separator = "", i = 0; i < t2; ++i, separator = ", ") {
  34880. t1 += separator;
  34881. key = keys[i];
  34882. if (typeof key == "string")
  34883. t1 = t1 + key + ": ";
  34884. value = values[i];
  34885. t1 = safe ? t1 + A.Primitives_safeToString(value) : t1 + A.S(value);
  34886. }
  34887. t1 += ")";
  34888. return t1.charCodeAt(0) == 0 ? t1 : t1;
  34889. },
  34890. _fieldKeys$0() {
  34891. var t1,
  34892. shapeTag = this.$shape;
  34893. for (; $._Record__computedFieldKeys.length <= shapeTag;)
  34894. $._Record__computedFieldKeys.push(null);
  34895. t1 = $._Record__computedFieldKeys[shapeTag];
  34896. if (t1 == null) {
  34897. t1 = this._computeFieldKeys$0();
  34898. $._Record__computedFieldKeys[shapeTag] = t1;
  34899. }
  34900. return t1;
  34901. },
  34902. _computeFieldKeys$0() {
  34903. var i, names, last,
  34904. recipe = this.$recipe,
  34905. position = recipe.indexOf("("),
  34906. joinedNames = recipe.substring(1, position),
  34907. fields = recipe.substring(position),
  34908. arity = fields === "()" ? 0 : fields.replace(/[^,]/g, "").length + 1,
  34909. t1 = type$.Object,
  34910. result = J.JSArray_JSArray$allocateGrowable(arity, t1);
  34911. for (i = 0; i < arity; ++i)
  34912. result[i] = i;
  34913. if (joinedNames !== "") {
  34914. names = joinedNames.split(",");
  34915. i = names.length;
  34916. for (last = arity; i > 0;) {
  34917. --last;
  34918. --i;
  34919. result[last] = names[i];
  34920. }
  34921. }
  34922. return A.List_List$unmodifiable(result, t1);
  34923. }
  34924. };
  34925. A._Record2.prototype = {
  34926. _getFieldValues$0() {
  34927. return [this._0, this._1];
  34928. },
  34929. $eq(_, other) {
  34930. if (other == null)
  34931. return false;
  34932. return other instanceof A._Record2 && this.$shape === other.$shape && J.$eq$(this._0, other._0) && J.$eq$(this._1, other._1);
  34933. },
  34934. get$hashCode(_) {
  34935. return A.Object_hash(this.$shape, this._0, this._1, B.C_SentinelValue);
  34936. }
  34937. };
  34938. A._Record1.prototype = {
  34939. _getFieldValues$0() {
  34940. return [this._0];
  34941. },
  34942. $eq(_, other) {
  34943. if (other == null)
  34944. return false;
  34945. return other instanceof A._Record1 && this.$shape === other.$shape && J.$eq$(this._0, other._0);
  34946. },
  34947. get$hashCode(_) {
  34948. return A.Object_hash(this.$shape, this._0, B.C_SentinelValue, B.C_SentinelValue);
  34949. }
  34950. };
  34951. A._Record3.prototype = {
  34952. _getFieldValues$0() {
  34953. return [this._0, this._1, this._2];
  34954. },
  34955. $eq(_, other) {
  34956. var _this = this;
  34957. if (other == null)
  34958. return false;
  34959. 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);
  34960. },
  34961. get$hashCode(_) {
  34962. var _this = this;
  34963. return A.Object_hash(_this.$shape, _this._0, _this._1, _this._2);
  34964. }
  34965. };
  34966. A._RecordN.prototype = {
  34967. _getFieldValues$0() {
  34968. return this._values;
  34969. },
  34970. $eq(_, other) {
  34971. if (other == null)
  34972. return false;
  34973. return other instanceof A._RecordN && this.$shape === other.$shape && A._RecordN__equalValues(this._values, other._values);
  34974. },
  34975. get$hashCode(_) {
  34976. return A.Object_hash(this.$shape, A.Object_hashAll(this._values), B.C_SentinelValue, B.C_SentinelValue);
  34977. }
  34978. };
  34979. A.JSSyntaxRegExp.prototype = {
  34980. toString$0(_) {
  34981. return "RegExp/" + this.pattern + "/" + this._nativeRegExp.flags;
  34982. },
  34983. get$_nativeGlobalVersion() {
  34984. var _this = this,
  34985. t1 = _this._nativeGlobalRegExp;
  34986. if (t1 != null)
  34987. return t1;
  34988. t1 = _this._nativeRegExp;
  34989. return _this._nativeGlobalRegExp = A.JSSyntaxRegExp_makeNative(_this.pattern, t1.multiline, !t1.ignoreCase, t1.unicode, t1.dotAll, true);
  34990. },
  34991. get$_nativeAnchoredVersion() {
  34992. var _this = this,
  34993. t1 = _this._nativeAnchoredRegExp;
  34994. if (t1 != null)
  34995. return t1;
  34996. t1 = _this._nativeRegExp;
  34997. return _this._nativeAnchoredRegExp = A.JSSyntaxRegExp_makeNative(_this.pattern + "|()", t1.multiline, !t1.ignoreCase, t1.unicode, t1.dotAll, true);
  34998. },
  34999. firstMatch$1(string) {
  35000. var m = this._nativeRegExp.exec(string);
  35001. if (m == null)
  35002. return null;
  35003. return new A._MatchImplementation(m);
  35004. },
  35005. allMatches$2(_, string, start) {
  35006. var t1 = string.length;
  35007. if (start > t1)
  35008. throw A.wrapException(A.RangeError$range(start, 0, t1, null, null));
  35009. return new A._AllMatchesIterable(this, string, start);
  35010. },
  35011. allMatches$1(_, string) {
  35012. return this.allMatches$2(0, string, 0);
  35013. },
  35014. _execGlobal$2(string, start) {
  35015. var match,
  35016. regexp = this.get$_nativeGlobalVersion();
  35017. regexp.lastIndex = start;
  35018. match = regexp.exec(string);
  35019. if (match == null)
  35020. return null;
  35021. return new A._MatchImplementation(match);
  35022. },
  35023. _execAnchored$2(string, start) {
  35024. var match,
  35025. regexp = this.get$_nativeAnchoredVersion();
  35026. regexp.lastIndex = start;
  35027. match = regexp.exec(string);
  35028. if (match == null)
  35029. return null;
  35030. if (match.pop() != null)
  35031. return null;
  35032. return new A._MatchImplementation(match);
  35033. },
  35034. matchAsPrefix$2(_, string, start) {
  35035. if (start < 0 || start > string.length)
  35036. throw A.wrapException(A.RangeError$range(start, 0, string.length, null, null));
  35037. return this._execAnchored$2(string, start);
  35038. }
  35039. };
  35040. A._MatchImplementation.prototype = {
  35041. get$start(_) {
  35042. return this._match.index;
  35043. },
  35044. get$end(_) {
  35045. var t1 = this._match;
  35046. return t1.index + t1[0].length;
  35047. },
  35048. $isMatch: 1,
  35049. $isRegExpMatch: 1
  35050. };
  35051. A._AllMatchesIterable.prototype = {
  35052. get$iterator(_) {
  35053. return new A._AllMatchesIterator(this._re, this.__js_helper$_string, this.__js_helper$_start);
  35054. }
  35055. };
  35056. A._AllMatchesIterator.prototype = {
  35057. get$current(_) {
  35058. var t1 = this.__js_helper$_current;
  35059. return t1 == null ? type$.RegExpMatch._as(t1) : t1;
  35060. },
  35061. moveNext$0() {
  35062. var t1, t2, t3, match, nextIndex, _this = this,
  35063. string = _this.__js_helper$_string;
  35064. if (string == null)
  35065. return false;
  35066. t1 = _this._nextIndex;
  35067. t2 = string.length;
  35068. if (t1 <= t2) {
  35069. t3 = _this._regExp;
  35070. match = t3._execGlobal$2(string, t1);
  35071. if (match != null) {
  35072. _this.__js_helper$_current = match;
  35073. nextIndex = match.get$end(0);
  35074. if (match._match.index === nextIndex) {
  35075. if (t3._nativeRegExp.unicode) {
  35076. t1 = _this._nextIndex;
  35077. t3 = t1 + 1;
  35078. if (t3 < t2) {
  35079. t1 = string.charCodeAt(t1);
  35080. if (t1 >= 55296 && t1 <= 56319) {
  35081. t1 = string.charCodeAt(t3);
  35082. t1 = t1 >= 56320 && t1 <= 57343;
  35083. } else
  35084. t1 = false;
  35085. } else
  35086. t1 = false;
  35087. } else
  35088. t1 = false;
  35089. nextIndex = (t1 ? nextIndex + 1 : nextIndex) + 1;
  35090. }
  35091. _this._nextIndex = nextIndex;
  35092. return true;
  35093. }
  35094. }
  35095. _this.__js_helper$_string = _this.__js_helper$_current = null;
  35096. return false;
  35097. }
  35098. };
  35099. A.StringMatch.prototype = {
  35100. get$end(_) {
  35101. return this.start + this.pattern.length;
  35102. },
  35103. $isMatch: 1,
  35104. get$start(receiver) {
  35105. return this.start;
  35106. }
  35107. };
  35108. A._StringAllMatchesIterable.prototype = {
  35109. get$iterator(_) {
  35110. return new A._StringAllMatchesIterator(this._input, this._pattern, this.__js_helper$_index);
  35111. },
  35112. get$first(_) {
  35113. var t1 = this._pattern,
  35114. index = this._input.indexOf(t1, this.__js_helper$_index);
  35115. if (index >= 0)
  35116. return new A.StringMatch(index, t1);
  35117. throw A.wrapException(A.IterableElementError_noElement());
  35118. }
  35119. };
  35120. A._StringAllMatchesIterator.prototype = {
  35121. moveNext$0() {
  35122. var index, end, _this = this,
  35123. t1 = _this.__js_helper$_index,
  35124. t2 = _this._pattern,
  35125. t3 = t2.length,
  35126. t4 = _this._input,
  35127. t5 = t4.length;
  35128. if (t1 + t3 > t5) {
  35129. _this.__js_helper$_current = null;
  35130. return false;
  35131. }
  35132. index = t4.indexOf(t2, t1);
  35133. if (index < 0) {
  35134. _this.__js_helper$_index = t5 + 1;
  35135. _this.__js_helper$_current = null;
  35136. return false;
  35137. }
  35138. end = index + t3;
  35139. _this.__js_helper$_current = new A.StringMatch(index, t2);
  35140. _this.__js_helper$_index = end === _this.__js_helper$_index ? end + 1 : end;
  35141. return true;
  35142. },
  35143. get$current(_) {
  35144. var t1 = this.__js_helper$_current;
  35145. t1.toString;
  35146. return t1;
  35147. }
  35148. };
  35149. A._Cell.prototype = {
  35150. readLocal$1$0() {
  35151. var t1 = this.__late_helper$_value;
  35152. if (t1 === this)
  35153. A.throwExpression(new A.LateError("Local '' has not been initialized."));
  35154. return t1;
  35155. },
  35156. readLocal$0() {
  35157. return this.readLocal$1$0(type$.dynamic);
  35158. },
  35159. _readLocal$0() {
  35160. var t1 = this.__late_helper$_value;
  35161. if (t1 === this)
  35162. throw A.wrapException(new A.LateError("Local '' has not been initialized."));
  35163. return t1;
  35164. }
  35165. };
  35166. A.NativeByteBuffer.prototype = {
  35167. get$runtimeType(receiver) {
  35168. return B.Type_ByteBuffer_EOZ;
  35169. },
  35170. $isTrustedGetRuntimeType: 1,
  35171. $isByteBuffer: 1
  35172. };
  35173. A.NativeTypedData.prototype = {
  35174. _invalidPosition$3(receiver, position, $length, $name) {
  35175. var t1 = A.RangeError$range(position, 0, $length, $name, null);
  35176. throw A.wrapException(t1);
  35177. },
  35178. _checkPosition$3(receiver, position, $length, $name) {
  35179. if (position >>> 0 !== position || position > $length)
  35180. this._invalidPosition$3(receiver, position, $length, $name);
  35181. }
  35182. };
  35183. A.NativeByteData.prototype = {
  35184. get$runtimeType(receiver) {
  35185. return B.Type_ByteData_mF8;
  35186. },
  35187. $isTrustedGetRuntimeType: 1,
  35188. $isByteData: 1
  35189. };
  35190. A.NativeTypedArray.prototype = {
  35191. get$length(receiver) {
  35192. return receiver.length;
  35193. },
  35194. _setRangeFast$4(receiver, start, end, source, skipCount) {
  35195. var count, sourceLength,
  35196. targetLength = receiver.length;
  35197. this._checkPosition$3(receiver, start, targetLength, "start");
  35198. this._checkPosition$3(receiver, end, targetLength, "end");
  35199. if (start > end)
  35200. throw A.wrapException(A.RangeError$range(start, 0, end, null, null));
  35201. count = end - start;
  35202. if (skipCount < 0)
  35203. throw A.wrapException(A.ArgumentError$(skipCount, null));
  35204. sourceLength = source.length;
  35205. if (sourceLength - skipCount < count)
  35206. throw A.wrapException(A.StateError$("Not enough elements"));
  35207. if (skipCount !== 0 || sourceLength !== count)
  35208. source = source.subarray(skipCount, skipCount + count);
  35209. receiver.set(source, start);
  35210. },
  35211. $isJavaScriptIndexingBehavior: 1
  35212. };
  35213. A.NativeTypedArrayOfDouble.prototype = {
  35214. $index(receiver, index) {
  35215. A._checkValidIndex(index, receiver, receiver.length);
  35216. return receiver[index];
  35217. },
  35218. $indexSet(receiver, index, value) {
  35219. A._checkValidIndex(index, receiver, receiver.length);
  35220. receiver[index] = value;
  35221. },
  35222. setRange$4(receiver, start, end, iterable, skipCount) {
  35223. if (type$.NativeTypedArrayOfDouble._is(iterable)) {
  35224. this._setRangeFast$4(receiver, start, end, iterable, skipCount);
  35225. return;
  35226. }
  35227. this.super$ListBase$setRange(receiver, start, end, iterable, skipCount);
  35228. },
  35229. $isEfficientLengthIterable: 1,
  35230. $isIterable: 1,
  35231. $isList: 1
  35232. };
  35233. A.NativeTypedArrayOfInt.prototype = {
  35234. $indexSet(receiver, index, value) {
  35235. A._checkValidIndex(index, receiver, receiver.length);
  35236. receiver[index] = value;
  35237. },
  35238. setRange$4(receiver, start, end, iterable, skipCount) {
  35239. if (type$.NativeTypedArrayOfInt._is(iterable)) {
  35240. this._setRangeFast$4(receiver, start, end, iterable, skipCount);
  35241. return;
  35242. }
  35243. this.super$ListBase$setRange(receiver, start, end, iterable, skipCount);
  35244. },
  35245. $isEfficientLengthIterable: 1,
  35246. $isIterable: 1,
  35247. $isList: 1
  35248. };
  35249. A.NativeFloat32List.prototype = {
  35250. get$runtimeType(receiver) {
  35251. return B.Type_Float32List_Ymk;
  35252. },
  35253. sublist$2(receiver, start, end) {
  35254. return new Float32Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
  35255. },
  35256. sublist$1(receiver, start) {
  35257. return this.sublist$2(receiver, start, null);
  35258. },
  35259. $isTrustedGetRuntimeType: 1,
  35260. $isFloat32List: 1
  35261. };
  35262. A.NativeFloat64List.prototype = {
  35263. get$runtimeType(receiver) {
  35264. return B.Type_Float64List_Ymk;
  35265. },
  35266. sublist$2(receiver, start, end) {
  35267. return new Float64Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
  35268. },
  35269. sublist$1(receiver, start) {
  35270. return this.sublist$2(receiver, start, null);
  35271. },
  35272. $isTrustedGetRuntimeType: 1,
  35273. $isFloat64List: 1
  35274. };
  35275. A.NativeInt16List.prototype = {
  35276. get$runtimeType(receiver) {
  35277. return B.Type_Int16List_cot;
  35278. },
  35279. $index(receiver, index) {
  35280. A._checkValidIndex(index, receiver, receiver.length);
  35281. return receiver[index];
  35282. },
  35283. sublist$2(receiver, start, end) {
  35284. return new Int16Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
  35285. },
  35286. sublist$1(receiver, start) {
  35287. return this.sublist$2(receiver, start, null);
  35288. },
  35289. $isTrustedGetRuntimeType: 1,
  35290. $isInt16List: 1
  35291. };
  35292. A.NativeInt32List.prototype = {
  35293. get$runtimeType(receiver) {
  35294. return B.Type_Int32List_m1p;
  35295. },
  35296. $index(receiver, index) {
  35297. A._checkValidIndex(index, receiver, receiver.length);
  35298. return receiver[index];
  35299. },
  35300. sublist$2(receiver, start, end) {
  35301. return new Int32Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
  35302. },
  35303. sublist$1(receiver, start) {
  35304. return this.sublist$2(receiver, start, null);
  35305. },
  35306. $isTrustedGetRuntimeType: 1,
  35307. $isInt32List: 1
  35308. };
  35309. A.NativeInt8List.prototype = {
  35310. get$runtimeType(receiver) {
  35311. return B.Type_Int8List_woc;
  35312. },
  35313. $index(receiver, index) {
  35314. A._checkValidIndex(index, receiver, receiver.length);
  35315. return receiver[index];
  35316. },
  35317. sublist$2(receiver, start, end) {
  35318. return new Int8Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
  35319. },
  35320. sublist$1(receiver, start) {
  35321. return this.sublist$2(receiver, start, null);
  35322. },
  35323. $isTrustedGetRuntimeType: 1,
  35324. $isInt8List: 1
  35325. };
  35326. A.NativeUint16List.prototype = {
  35327. get$runtimeType(receiver) {
  35328. return B.Type_Uint16List_2mh;
  35329. },
  35330. $index(receiver, index) {
  35331. A._checkValidIndex(index, receiver, receiver.length);
  35332. return receiver[index];
  35333. },
  35334. sublist$2(receiver, start, end) {
  35335. return new Uint16Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
  35336. },
  35337. sublist$1(receiver, start) {
  35338. return this.sublist$2(receiver, start, null);
  35339. },
  35340. $isTrustedGetRuntimeType: 1,
  35341. $isUint16List: 1
  35342. };
  35343. A.NativeUint32List.prototype = {
  35344. get$runtimeType(receiver) {
  35345. return B.Type_Uint32List_2mh;
  35346. },
  35347. $index(receiver, index) {
  35348. A._checkValidIndex(index, receiver, receiver.length);
  35349. return receiver[index];
  35350. },
  35351. sublist$2(receiver, start, end) {
  35352. return new Uint32Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
  35353. },
  35354. sublist$1(receiver, start) {
  35355. return this.sublist$2(receiver, start, null);
  35356. },
  35357. $isTrustedGetRuntimeType: 1,
  35358. $isUint32List: 1
  35359. };
  35360. A.NativeUint8ClampedList.prototype = {
  35361. get$runtimeType(receiver) {
  35362. return B.Type_Uint8ClampedList_9Bb;
  35363. },
  35364. get$length(receiver) {
  35365. return receiver.length;
  35366. },
  35367. $index(receiver, index) {
  35368. A._checkValidIndex(index, receiver, receiver.length);
  35369. return receiver[index];
  35370. },
  35371. sublist$2(receiver, start, end) {
  35372. return new Uint8ClampedArray(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
  35373. },
  35374. sublist$1(receiver, start) {
  35375. return this.sublist$2(receiver, start, null);
  35376. },
  35377. $isTrustedGetRuntimeType: 1,
  35378. $isUint8ClampedList: 1
  35379. };
  35380. A.NativeUint8List.prototype = {
  35381. get$runtimeType(receiver) {
  35382. return B.Type_Uint8List_CSc;
  35383. },
  35384. get$length(receiver) {
  35385. return receiver.length;
  35386. },
  35387. $index(receiver, index) {
  35388. A._checkValidIndex(index, receiver, receiver.length);
  35389. return receiver[index];
  35390. },
  35391. sublist$2(receiver, start, end) {
  35392. return new Uint8Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
  35393. },
  35394. sublist$1(receiver, start) {
  35395. return this.sublist$2(receiver, start, null);
  35396. },
  35397. $isTrustedGetRuntimeType: 1,
  35398. $isNativeUint8List: 1,
  35399. $isUint8List: 1
  35400. };
  35401. A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin.prototype = {};
  35402. A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin.prototype = {};
  35403. A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin.prototype = {};
  35404. A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin.prototype = {};
  35405. A.Rti.prototype = {
  35406. _eval$1(recipe) {
  35407. return A._Universe_evalInEnvironment(init.typeUniverse, this, recipe);
  35408. },
  35409. _bind$1(typeOrTuple) {
  35410. return A._Universe_bind(init.typeUniverse, this, typeOrTuple);
  35411. }
  35412. };
  35413. A._FunctionParameters.prototype = {};
  35414. A._Type.prototype = {
  35415. toString$0(_) {
  35416. return A._rtiToString(this._rti, null);
  35417. }
  35418. };
  35419. A._Error.prototype = {
  35420. toString$0(_) {
  35421. return this.__rti$_message;
  35422. }
  35423. };
  35424. A._TypeError.prototype = {
  35425. get$message(_) {
  35426. return this.__rti$_message;
  35427. },
  35428. $isTypeError: 1
  35429. };
  35430. A._AsyncRun__initializeScheduleImmediate_internalCallback.prototype = {
  35431. call$1(_) {
  35432. var t1 = this._box_0,
  35433. f = t1.storedCallback;
  35434. t1.storedCallback = null;
  35435. f.call$0();
  35436. },
  35437. $signature: 54
  35438. };
  35439. A._AsyncRun__initializeScheduleImmediate_closure.prototype = {
  35440. call$1(callback) {
  35441. var t1, t2;
  35442. this._box_0.storedCallback = callback;
  35443. t1 = this.div;
  35444. t2 = this.span;
  35445. t1.firstChild ? t1.removeChild(t2) : t1.appendChild(t2);
  35446. },
  35447. $signature: 35
  35448. };
  35449. A._AsyncRun__scheduleImmediateJsOverride_internalCallback.prototype = {
  35450. call$0() {
  35451. this.callback.call$0();
  35452. },
  35453. $signature: 1
  35454. };
  35455. A._AsyncRun__scheduleImmediateWithSetImmediate_internalCallback.prototype = {
  35456. call$0() {
  35457. this.callback.call$0();
  35458. },
  35459. $signature: 1
  35460. };
  35461. A._TimerImpl.prototype = {
  35462. _TimerImpl$2(milliseconds, callback) {
  35463. if (self.setTimeout != null)
  35464. this._handle = self.setTimeout(A.convertDartClosureToJS(new A._TimerImpl_internalCallback(this, callback), 0), milliseconds);
  35465. else
  35466. throw A.wrapException(A.UnsupportedError$("`setTimeout()` not found."));
  35467. },
  35468. _TimerImpl$periodic$2(milliseconds, callback) {
  35469. if (self.setTimeout != null)
  35470. this._handle = self.setInterval(A.convertDartClosureToJS(new A._TimerImpl$periodic_closure(this, milliseconds, Date.now(), callback), 0), milliseconds);
  35471. else
  35472. throw A.wrapException(A.UnsupportedError$("Periodic timer."));
  35473. },
  35474. cancel$0() {
  35475. if (self.setTimeout != null) {
  35476. var t1 = this._handle;
  35477. if (t1 == null)
  35478. return;
  35479. if (this._once)
  35480. self.clearTimeout(t1);
  35481. else
  35482. self.clearInterval(t1);
  35483. this._handle = null;
  35484. } else
  35485. throw A.wrapException(A.UnsupportedError$("Canceling a timer."));
  35486. }
  35487. };
  35488. A._TimerImpl_internalCallback.prototype = {
  35489. call$0() {
  35490. var t1 = this.$this;
  35491. t1._handle = null;
  35492. t1._tick = 1;
  35493. this.callback.call$0();
  35494. },
  35495. $signature: 0
  35496. };
  35497. A._TimerImpl$periodic_closure.prototype = {
  35498. call$0() {
  35499. var duration, _this = this,
  35500. t1 = _this.$this,
  35501. tick = t1._tick + 1,
  35502. t2 = _this.milliseconds;
  35503. if (t2 > 0) {
  35504. duration = Date.now() - _this.start;
  35505. if (duration > (tick + 1) * t2)
  35506. tick = B.JSInt_methods.$tdiv(duration, t2);
  35507. }
  35508. t1._tick = tick;
  35509. _this.callback.call$1(t1);
  35510. },
  35511. $signature: 1
  35512. };
  35513. A._AsyncAwaitCompleter.prototype = {
  35514. complete$1(value) {
  35515. var t1, _this = this;
  35516. if (value == null)
  35517. value = _this.$ti._precomputed1._as(value);
  35518. if (!_this.isSync)
  35519. _this._future._asyncComplete$1(value);
  35520. else {
  35521. t1 = _this._future;
  35522. if (_this.$ti._eval$1("Future<1>")._is(value))
  35523. t1._chainFuture$1(value);
  35524. else
  35525. t1._completeWithValue$1(value);
  35526. }
  35527. },
  35528. completeError$2(e, st) {
  35529. var t1 = this._future;
  35530. if (this.isSync)
  35531. t1._completeError$2(e, st);
  35532. else
  35533. t1._asyncCompleteError$2(e, st);
  35534. }
  35535. };
  35536. A._awaitOnObject_closure.prototype = {
  35537. call$1(result) {
  35538. return this.bodyFunction.call$2(0, result);
  35539. },
  35540. $signature: 72
  35541. };
  35542. A._awaitOnObject_closure0.prototype = {
  35543. call$2(error, stackTrace) {
  35544. this.bodyFunction.call$2(1, new A.ExceptionAndStackTrace(error, stackTrace));
  35545. },
  35546. $signature: 476
  35547. };
  35548. A._wrapJsFunctionForAsync_closure.prototype = {
  35549. call$2(errorCode, result) {
  35550. this.$protected(errorCode, result);
  35551. },
  35552. $signature: 516
  35553. };
  35554. A._SyncStarIterator.prototype = {
  35555. get$current(_) {
  35556. return this._async$_current;
  35557. },
  35558. _resumeBody$2(errorCode, errorValue) {
  35559. var body, t1, exception;
  35560. errorCode = errorCode;
  35561. errorValue = errorValue;
  35562. body = this._body;
  35563. for (; true;)
  35564. try {
  35565. t1 = body(this, errorCode, errorValue);
  35566. return t1;
  35567. } catch (exception) {
  35568. errorValue = exception;
  35569. errorCode = 1;
  35570. }
  35571. },
  35572. moveNext$0() {
  35573. var nestedIterator, exception, value, suspendedBodies, _this = this, errorValue = null, errorCode = 0;
  35574. for (; true;) {
  35575. nestedIterator = _this._nestedIterator;
  35576. if (nestedIterator != null)
  35577. try {
  35578. if (nestedIterator.moveNext$0()) {
  35579. _this._async$_current = J.get$current$x(nestedIterator);
  35580. return true;
  35581. } else
  35582. _this._nestedIterator = null;
  35583. } catch (exception) {
  35584. errorValue = exception;
  35585. errorCode = 1;
  35586. _this._nestedIterator = null;
  35587. }
  35588. value = _this._resumeBody$2(errorCode, errorValue);
  35589. if (1 === value)
  35590. return true;
  35591. if (0 === value) {
  35592. _this._async$_current = null;
  35593. suspendedBodies = _this._suspendedBodies;
  35594. if (suspendedBodies == null || suspendedBodies.length === 0) {
  35595. _this._body = A._SyncStarIterator__terminatedBody;
  35596. return false;
  35597. }
  35598. _this._body = suspendedBodies.pop();
  35599. errorCode = 0;
  35600. errorValue = null;
  35601. continue;
  35602. }
  35603. if (2 === value) {
  35604. errorCode = 0;
  35605. errorValue = null;
  35606. continue;
  35607. }
  35608. if (3 === value) {
  35609. errorValue = _this._datum;
  35610. _this._datum = null;
  35611. suspendedBodies = _this._suspendedBodies;
  35612. if (suspendedBodies == null || suspendedBodies.length === 0) {
  35613. _this._async$_current = null;
  35614. _this._body = A._SyncStarIterator__terminatedBody;
  35615. throw errorValue;
  35616. return false;
  35617. }
  35618. _this._body = suspendedBodies.pop();
  35619. errorCode = 1;
  35620. continue;
  35621. }
  35622. throw A.wrapException(A.StateError$("sync*"));
  35623. }
  35624. return false;
  35625. },
  35626. _yieldStar$1(iterable) {
  35627. var t1, t2, _this = this;
  35628. if (iterable instanceof A._SyncStarIterable) {
  35629. t1 = iterable._outerHelper();
  35630. t2 = _this._suspendedBodies;
  35631. if (t2 == null)
  35632. t2 = _this._suspendedBodies = [];
  35633. t2.push(_this._body);
  35634. _this._body = t1;
  35635. return 2;
  35636. } else {
  35637. _this._nestedIterator = J.get$iterator$ax(iterable);
  35638. return 2;
  35639. }
  35640. }
  35641. };
  35642. A._SyncStarIterable.prototype = {
  35643. get$iterator(_) {
  35644. return new A._SyncStarIterator(this._outerHelper());
  35645. }
  35646. };
  35647. A.AsyncError.prototype = {
  35648. toString$0(_) {
  35649. return A.S(this.error);
  35650. },
  35651. $isError: 1,
  35652. get$stackTrace() {
  35653. return this.stackTrace;
  35654. }
  35655. };
  35656. A.Future_wait_handleError.prototype = {
  35657. call$2(theError, theStackTrace) {
  35658. var _this = this,
  35659. t1 = _this._box_0,
  35660. t2 = --t1.remaining;
  35661. if (t1.values != null) {
  35662. t1.values = null;
  35663. t1.error = theError;
  35664. t1.stackTrace = theStackTrace;
  35665. if (t2 === 0 || _this.eagerError)
  35666. _this._future._completeError$2(theError, theStackTrace);
  35667. } else if (t2 === 0 && !_this.eagerError) {
  35668. t2 = t1.error;
  35669. t2.toString;
  35670. t1 = t1.stackTrace;
  35671. t1.toString;
  35672. _this._future._completeError$2(t2, t1);
  35673. }
  35674. },
  35675. $signature: 68
  35676. };
  35677. A.Future_wait_closure.prototype = {
  35678. call$1(value) {
  35679. var t1, value0, t3, t4, _i, t5, _this = this,
  35680. t2 = _this._box_0,
  35681. remainingResults = --t2.remaining,
  35682. valueList = t2.values;
  35683. if (valueList != null) {
  35684. J.$indexSet$ax(valueList, _this.pos, value);
  35685. if (J.$eq$(remainingResults, 0)) {
  35686. t2 = _this.T;
  35687. t1 = A._setArrayType([], t2._eval$1("JSArray<0>"));
  35688. for (t3 = valueList, t4 = t3.length, _i = 0; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) {
  35689. value0 = t3[_i];
  35690. t5 = value0;
  35691. if (t5 == null)
  35692. t5 = t2._as(t5);
  35693. J.add$1$ax(t1, t5);
  35694. }
  35695. _this._future._completeWithValue$1(t1);
  35696. }
  35697. } else if (J.$eq$(remainingResults, 0) && !_this.eagerError) {
  35698. t1 = t2.error;
  35699. t1.toString;
  35700. t2 = t2.stackTrace;
  35701. t2.toString;
  35702. _this._future._completeError$2(t1, t2);
  35703. }
  35704. },
  35705. $signature() {
  35706. return this.T._eval$1("Null(0)");
  35707. }
  35708. };
  35709. A._Completer.prototype = {
  35710. completeError$2(error, stackTrace) {
  35711. var replacement;
  35712. A.checkNotNullable(error, "error", type$.Object);
  35713. if ((this.future._state & 30) !== 0)
  35714. throw A.wrapException(A.StateError$("Future already completed"));
  35715. replacement = $.Zone__current.errorCallback$2(error, stackTrace);
  35716. if (replacement != null) {
  35717. error = replacement.error;
  35718. stackTrace = replacement.stackTrace;
  35719. } else if (stackTrace == null)
  35720. stackTrace = A.AsyncError_defaultStackTrace(error);
  35721. this._completeError$2(error, stackTrace);
  35722. },
  35723. completeError$1(error) {
  35724. return this.completeError$2(error, null);
  35725. }
  35726. };
  35727. A._AsyncCompleter.prototype = {
  35728. complete$1(value) {
  35729. var t1 = this.future;
  35730. if ((t1._state & 30) !== 0)
  35731. throw A.wrapException(A.StateError$("Future already completed"));
  35732. t1._asyncComplete$1(value);
  35733. },
  35734. complete$0() {
  35735. return this.complete$1(null);
  35736. },
  35737. _completeError$2(error, stackTrace) {
  35738. this.future._asyncCompleteError$2(error, stackTrace);
  35739. }
  35740. };
  35741. A._SyncCompleter.prototype = {
  35742. complete$1(value) {
  35743. var t1 = this.future;
  35744. if ((t1._state & 30) !== 0)
  35745. throw A.wrapException(A.StateError$("Future already completed"));
  35746. t1._complete$1(value);
  35747. },
  35748. _completeError$2(error, stackTrace) {
  35749. this.future._completeError$2(error, stackTrace);
  35750. }
  35751. };
  35752. A._FutureListener.prototype = {
  35753. matchesErrorTest$1(asyncError) {
  35754. if ((this.state & 15) !== 6)
  35755. return true;
  35756. return this.result._zone.runUnary$2$2(this.callback, asyncError.error, type$.bool, type$.Object);
  35757. },
  35758. handleError$1(asyncError) {
  35759. var exception,
  35760. errorCallback = this.errorCallback,
  35761. result = null,
  35762. t1 = type$.dynamic,
  35763. t2 = type$.Object,
  35764. t3 = asyncError.error,
  35765. t4 = this.result._zone;
  35766. if (type$.dynamic_Function_Object_StackTrace._is(errorCallback))
  35767. result = t4.runBinary$3$3(errorCallback, t3, asyncError.stackTrace, t1, t2, type$.StackTrace);
  35768. else
  35769. result = t4.runUnary$2$2(errorCallback, t3, t1, t2);
  35770. try {
  35771. t1 = result;
  35772. return t1;
  35773. } catch (exception) {
  35774. if (type$.TypeError._is(A.unwrapException(exception))) {
  35775. if ((this.state & 1) !== 0)
  35776. throw A.wrapException(A.ArgumentError$("The error handler of Future.then must return a value of the returned future's type", "onError"));
  35777. throw A.wrapException(A.ArgumentError$("The error handler of Future.catchError must return a value of the future's type", "onError"));
  35778. } else
  35779. throw exception;
  35780. }
  35781. }
  35782. };
  35783. A._Future.prototype = {
  35784. _setChained$1(source) {
  35785. this._state = this._state & 1 | 4;
  35786. this._resultOrListeners = source;
  35787. },
  35788. then$1$2$onError(_, f, onError, $R) {
  35789. var result, t1,
  35790. currentZone = $.Zone__current;
  35791. if (currentZone === B.C__RootZone) {
  35792. if (onError != null && !type$.dynamic_Function_Object_StackTrace._is(onError) && !type$.dynamic_Function_Object._is(onError))
  35793. throw A.wrapException(A.ArgumentError$value(onError, "onError", string$.Error_));
  35794. } else {
  35795. f = currentZone.registerUnaryCallback$2$1(f, $R._eval$1("0/"), this.$ti._precomputed1);
  35796. if (onError != null)
  35797. onError = A._registerErrorHandler(onError, currentZone);
  35798. }
  35799. result = new A._Future($.Zone__current, $R._eval$1("_Future<0>"));
  35800. t1 = onError == null ? 1 : 3;
  35801. this._addListener$1(new A._FutureListener(result, t1, f, onError, this.$ti._eval$1("@<1>")._bind$1($R)._eval$1("_FutureListener<1,2>")));
  35802. return result;
  35803. },
  35804. then$1$1(_, f, $R) {
  35805. return this.then$1$2$onError(0, f, null, $R);
  35806. },
  35807. _thenAwait$1$2(f, onError, $E) {
  35808. var result = new A._Future($.Zone__current, $E._eval$1("_Future<0>"));
  35809. this._addListener$1(new A._FutureListener(result, 19, f, onError, this.$ti._eval$1("@<1>")._bind$1($E)._eval$1("_FutureListener<1,2>")));
  35810. return result;
  35811. },
  35812. catchError$1(onError) {
  35813. var t1 = this.$ti,
  35814. t2 = $.Zone__current,
  35815. result = new A._Future(t2, t1);
  35816. if (t2 !== B.C__RootZone)
  35817. onError = A._registerErrorHandler(onError, t2);
  35818. this._addListener$1(new A._FutureListener(result, 2, null, onError, t1._eval$1("@<1>")._bind$1(t1._precomputed1)._eval$1("_FutureListener<1,2>")));
  35819. return result;
  35820. },
  35821. whenComplete$1(action) {
  35822. var t1 = this.$ti,
  35823. t2 = $.Zone__current,
  35824. result = new A._Future(t2, t1);
  35825. if (t2 !== B.C__RootZone)
  35826. action = t2.registerCallback$1$1(action, type$.dynamic);
  35827. this._addListener$1(new A._FutureListener(result, 8, action, null, t1._eval$1("@<1>")._bind$1(t1._precomputed1)._eval$1("_FutureListener<1,2>")));
  35828. return result;
  35829. },
  35830. _setErrorObject$1(error) {
  35831. this._state = this._state & 1 | 16;
  35832. this._resultOrListeners = error;
  35833. },
  35834. _cloneResult$1(source) {
  35835. this._state = source._state & 30 | this._state & 1;
  35836. this._resultOrListeners = source._resultOrListeners;
  35837. },
  35838. _addListener$1(listener) {
  35839. var _this = this,
  35840. t1 = _this._state;
  35841. if (t1 <= 3) {
  35842. listener._nextListener = _this._resultOrListeners;
  35843. _this._resultOrListeners = listener;
  35844. } else {
  35845. if ((t1 & 4) !== 0) {
  35846. t1 = _this._resultOrListeners;
  35847. if ((t1._state & 24) === 0) {
  35848. t1._addListener$1(listener);
  35849. return;
  35850. }
  35851. _this._cloneResult$1(t1);
  35852. }
  35853. _this._zone.scheduleMicrotask$1(new A._Future__addListener_closure(_this, listener));
  35854. }
  35855. },
  35856. _prependListeners$1(listeners) {
  35857. var t1, existingListeners, next, cursor, next0, _this = this, _box_0 = {};
  35858. _box_0.listeners = listeners;
  35859. if (listeners == null)
  35860. return;
  35861. t1 = _this._state;
  35862. if (t1 <= 3) {
  35863. existingListeners = _this._resultOrListeners;
  35864. _this._resultOrListeners = listeners;
  35865. if (existingListeners != null) {
  35866. next = listeners._nextListener;
  35867. for (cursor = listeners; next != null; cursor = next, next = next0)
  35868. next0 = next._nextListener;
  35869. cursor._nextListener = existingListeners;
  35870. }
  35871. } else {
  35872. if ((t1 & 4) !== 0) {
  35873. t1 = _this._resultOrListeners;
  35874. if ((t1._state & 24) === 0) {
  35875. t1._prependListeners$1(listeners);
  35876. return;
  35877. }
  35878. _this._cloneResult$1(t1);
  35879. }
  35880. _box_0.listeners = _this._reverseListeners$1(listeners);
  35881. _this._zone.scheduleMicrotask$1(new A._Future__prependListeners_closure(_box_0, _this));
  35882. }
  35883. },
  35884. _removeListeners$0() {
  35885. var current = this._resultOrListeners;
  35886. this._resultOrListeners = null;
  35887. return this._reverseListeners$1(current);
  35888. },
  35889. _reverseListeners$1(listeners) {
  35890. var current, prev, next;
  35891. for (current = listeners, prev = null; current != null; prev = current, current = next) {
  35892. next = current._nextListener;
  35893. current._nextListener = prev;
  35894. }
  35895. return prev;
  35896. },
  35897. _chainForeignFuture$1(source) {
  35898. var e, s, exception, _this = this;
  35899. _this._state ^= 2;
  35900. try {
  35901. source.then$1$2$onError(0, new A._Future__chainForeignFuture_closure(_this), new A._Future__chainForeignFuture_closure0(_this), type$.Null);
  35902. } catch (exception) {
  35903. e = A.unwrapException(exception);
  35904. s = A.getTraceFromException(exception);
  35905. A.scheduleMicrotask(new A._Future__chainForeignFuture_closure1(_this, e, s));
  35906. }
  35907. },
  35908. _complete$1(value) {
  35909. var listeners, _this = this,
  35910. t1 = _this.$ti;
  35911. if (t1._eval$1("Future<1>")._is(value))
  35912. if (t1._is(value))
  35913. A._Future__chainCoreFutureSync(value, _this);
  35914. else
  35915. _this._chainForeignFuture$1(value);
  35916. else {
  35917. listeners = _this._removeListeners$0();
  35918. _this._state = 8;
  35919. _this._resultOrListeners = value;
  35920. A._Future__propagateToListeners(_this, listeners);
  35921. }
  35922. },
  35923. _completeWithValue$1(value) {
  35924. var _this = this,
  35925. listeners = _this._removeListeners$0();
  35926. _this._state = 8;
  35927. _this._resultOrListeners = value;
  35928. A._Future__propagateToListeners(_this, listeners);
  35929. },
  35930. _completeError$2(error, stackTrace) {
  35931. var listeners = this._removeListeners$0();
  35932. this._setErrorObject$1(A.AsyncError$(error, stackTrace));
  35933. A._Future__propagateToListeners(this, listeners);
  35934. },
  35935. _asyncComplete$1(value) {
  35936. if (this.$ti._eval$1("Future<1>")._is(value)) {
  35937. this._chainFuture$1(value);
  35938. return;
  35939. }
  35940. this._asyncCompleteWithValue$1(value);
  35941. },
  35942. _asyncCompleteWithValue$1(value) {
  35943. this._state ^= 2;
  35944. this._zone.scheduleMicrotask$1(new A._Future__asyncCompleteWithValue_closure(this, value));
  35945. },
  35946. _chainFuture$1(value) {
  35947. if (this.$ti._is(value)) {
  35948. A._Future__chainCoreFutureAsync(value, this);
  35949. return;
  35950. }
  35951. this._chainForeignFuture$1(value);
  35952. },
  35953. _asyncCompleteError$2(error, stackTrace) {
  35954. this._state ^= 2;
  35955. this._zone.scheduleMicrotask$1(new A._Future__asyncCompleteError_closure(this, error, stackTrace));
  35956. },
  35957. $isFuture: 1
  35958. };
  35959. A._Future__addListener_closure.prototype = {
  35960. call$0() {
  35961. A._Future__propagateToListeners(this.$this, this.listener);
  35962. },
  35963. $signature: 0
  35964. };
  35965. A._Future__prependListeners_closure.prototype = {
  35966. call$0() {
  35967. A._Future__propagateToListeners(this.$this, this._box_0.listeners);
  35968. },
  35969. $signature: 0
  35970. };
  35971. A._Future__chainForeignFuture_closure.prototype = {
  35972. call$1(value) {
  35973. var error, stackTrace, exception,
  35974. t1 = this.$this;
  35975. t1._state ^= 2;
  35976. try {
  35977. t1._completeWithValue$1(t1.$ti._precomputed1._as(value));
  35978. } catch (exception) {
  35979. error = A.unwrapException(exception);
  35980. stackTrace = A.getTraceFromException(exception);
  35981. t1._completeError$2(error, stackTrace);
  35982. }
  35983. },
  35984. $signature: 54
  35985. };
  35986. A._Future__chainForeignFuture_closure0.prototype = {
  35987. call$2(error, stackTrace) {
  35988. this.$this._completeError$2(error, stackTrace);
  35989. },
  35990. $signature: 53
  35991. };
  35992. A._Future__chainForeignFuture_closure1.prototype = {
  35993. call$0() {
  35994. this.$this._completeError$2(this.e, this.s);
  35995. },
  35996. $signature: 0
  35997. };
  35998. A._Future__chainCoreFutureAsync_closure.prototype = {
  35999. call$0() {
  36000. A._Future__chainCoreFutureSync(this._box_0.source, this.target);
  36001. },
  36002. $signature: 0
  36003. };
  36004. A._Future__asyncCompleteWithValue_closure.prototype = {
  36005. call$0() {
  36006. this.$this._completeWithValue$1(this.value);
  36007. },
  36008. $signature: 0
  36009. };
  36010. A._Future__asyncCompleteError_closure.prototype = {
  36011. call$0() {
  36012. this.$this._completeError$2(this.error, this.stackTrace);
  36013. },
  36014. $signature: 0
  36015. };
  36016. A._Future__propagateToListeners_handleWhenCompleteCallback.prototype = {
  36017. call$0() {
  36018. var e, s, t1, exception, t2, originalSource, _this = this, completeResult = null;
  36019. try {
  36020. t1 = _this._box_0.listener;
  36021. completeResult = t1.result._zone.run$1$1(0, t1.callback, type$.dynamic);
  36022. } catch (exception) {
  36023. e = A.unwrapException(exception);
  36024. s = A.getTraceFromException(exception);
  36025. t1 = _this.hasError && _this._box_1.source._resultOrListeners.error === e;
  36026. t2 = _this._box_0;
  36027. if (t1)
  36028. t2.listenerValueOrError = _this._box_1.source._resultOrListeners;
  36029. else
  36030. t2.listenerValueOrError = A.AsyncError$(e, s);
  36031. t2.listenerHasError = true;
  36032. return;
  36033. }
  36034. if (completeResult instanceof A._Future && (completeResult._state & 24) !== 0) {
  36035. if ((completeResult._state & 16) !== 0) {
  36036. t1 = _this._box_0;
  36037. t1.listenerValueOrError = completeResult._resultOrListeners;
  36038. t1.listenerHasError = true;
  36039. }
  36040. return;
  36041. }
  36042. if (completeResult instanceof A._Future) {
  36043. originalSource = _this._box_1.source;
  36044. t1 = _this._box_0;
  36045. t1.listenerValueOrError = J.then$1$1$x(completeResult, new A._Future__propagateToListeners_handleWhenCompleteCallback_closure(originalSource), type$.dynamic);
  36046. t1.listenerHasError = false;
  36047. }
  36048. },
  36049. $signature: 0
  36050. };
  36051. A._Future__propagateToListeners_handleWhenCompleteCallback_closure.prototype = {
  36052. call$1(_) {
  36053. return this.originalSource;
  36054. },
  36055. $signature: 393
  36056. };
  36057. A._Future__propagateToListeners_handleValueCallback.prototype = {
  36058. call$0() {
  36059. var e, s, t1, t2, t3, exception;
  36060. try {
  36061. t1 = this._box_0;
  36062. t2 = t1.listener;
  36063. t3 = t2.$ti;
  36064. t1.listenerValueOrError = t2.result._zone.runUnary$2$2(t2.callback, this.sourceResult, t3._eval$1("2/"), t3._precomputed1);
  36065. } catch (exception) {
  36066. e = A.unwrapException(exception);
  36067. s = A.getTraceFromException(exception);
  36068. t1 = this._box_0;
  36069. t1.listenerValueOrError = A.AsyncError$(e, s);
  36070. t1.listenerHasError = true;
  36071. }
  36072. },
  36073. $signature: 0
  36074. };
  36075. A._Future__propagateToListeners_handleError.prototype = {
  36076. call$0() {
  36077. var asyncError, e, s, t1, exception, t2, _this = this;
  36078. try {
  36079. asyncError = _this._box_1.source._resultOrListeners;
  36080. t1 = _this._box_0;
  36081. if (t1.listener.matchesErrorTest$1(asyncError) && t1.listener.errorCallback != null) {
  36082. t1.listenerValueOrError = t1.listener.handleError$1(asyncError);
  36083. t1.listenerHasError = false;
  36084. }
  36085. } catch (exception) {
  36086. e = A.unwrapException(exception);
  36087. s = A.getTraceFromException(exception);
  36088. t1 = _this._box_1.source._resultOrListeners;
  36089. t2 = _this._box_0;
  36090. if (t1.error === e)
  36091. t2.listenerValueOrError = t1;
  36092. else
  36093. t2.listenerValueOrError = A.AsyncError$(e, s);
  36094. t2.listenerHasError = true;
  36095. }
  36096. },
  36097. $signature: 0
  36098. };
  36099. A._AsyncCallbackEntry.prototype = {};
  36100. A.Stream.prototype = {
  36101. get$isBroadcast() {
  36102. return false;
  36103. },
  36104. get$length(_) {
  36105. var t1 = {},
  36106. future = new A._Future($.Zone__current, type$._Future_int);
  36107. t1.count = 0;
  36108. 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());
  36109. return future;
  36110. }
  36111. };
  36112. A.Stream_Stream$fromFuture_closure.prototype = {
  36113. call$1(value) {
  36114. var t1 = this.controller;
  36115. t1._async$_add$1(value);
  36116. t1._closeUnchecked$0();
  36117. },
  36118. $signature() {
  36119. return this.T._eval$1("Null(0)");
  36120. }
  36121. };
  36122. A.Stream_Stream$fromFuture_closure0.prototype = {
  36123. call$2(error, stackTrace) {
  36124. var t1 = this.controller;
  36125. t1._addError$2(error, stackTrace);
  36126. t1._closeUnchecked$0();
  36127. },
  36128. $signature: 398
  36129. };
  36130. A.Stream_length_closure.prototype = {
  36131. call$1(_) {
  36132. ++this._box_0.count;
  36133. },
  36134. $signature() {
  36135. return A._instanceType(this.$this)._eval$1("~(Stream.T)");
  36136. }
  36137. };
  36138. A.Stream_length_closure0.prototype = {
  36139. call$0() {
  36140. this.future._complete$1(this._box_0.count);
  36141. },
  36142. $signature: 0
  36143. };
  36144. A._StreamController.prototype = {
  36145. get$stream() {
  36146. return new A._ControllerStream(this, A._instanceType(this)._eval$1("_ControllerStream<1>"));
  36147. },
  36148. get$_pendingEvents() {
  36149. if ((this._state & 8) === 0)
  36150. return this._varData;
  36151. return this._varData._varData;
  36152. },
  36153. _ensurePendingEvents$0() {
  36154. var events, state, _this = this;
  36155. if ((_this._state & 8) === 0) {
  36156. events = _this._varData;
  36157. return events == null ? _this._varData = new A._PendingEvents() : events;
  36158. }
  36159. state = _this._varData;
  36160. events = state._varData;
  36161. return events == null ? state._varData = new A._PendingEvents() : events;
  36162. },
  36163. get$_subscription() {
  36164. var varData = this._varData;
  36165. return (this._state & 8) !== 0 ? varData._varData : varData;
  36166. },
  36167. _badEventState$0() {
  36168. if ((this._state & 4) !== 0)
  36169. return new A.StateError("Cannot add event after closing");
  36170. return new A.StateError("Cannot add event while adding a stream");
  36171. },
  36172. addStream$2$cancelOnError(source, cancelOnError) {
  36173. var t2, t3, t4, _this = this,
  36174. t1 = _this._state;
  36175. if (t1 >= 4)
  36176. throw A.wrapException(_this._badEventState$0());
  36177. if ((t1 & 2) !== 0) {
  36178. t1 = new A._Future($.Zone__current, type$._Future_dynamic);
  36179. t1._asyncComplete$1(null);
  36180. return t1;
  36181. }
  36182. t1 = _this._varData;
  36183. t2 = cancelOnError === true;
  36184. t3 = new A._Future($.Zone__current, type$._Future_dynamic);
  36185. t4 = t2 ? A._AddStreamState_makeErrorHandler(_this) : _this.get$_addError();
  36186. t4 = source.listen$4$cancelOnError$onDone$onError(0, _this.get$_async$_add(), t2, _this.get$_close(), t4);
  36187. t2 = _this._state;
  36188. if ((t2 & 1) !== 0 ? (_this.get$_subscription()._state & 4) !== 0 : (t2 & 2) === 0)
  36189. t4.pause$0(0);
  36190. _this._varData = new A._StreamControllerAddStreamState(t1, t3, t4);
  36191. _this._state |= 8;
  36192. return t3;
  36193. },
  36194. _ensureDoneFuture$0() {
  36195. var t1 = this._doneFuture;
  36196. if (t1 == null)
  36197. t1 = this._doneFuture = (this._state & 2) !== 0 ? $.$get$Future__nullFuture() : new A._Future($.Zone__current, type$._Future_void);
  36198. return t1;
  36199. },
  36200. add$1(_, value) {
  36201. if (this._state >= 4)
  36202. throw A.wrapException(this._badEventState$0());
  36203. this._async$_add$1(value);
  36204. },
  36205. addError$2(error, stackTrace) {
  36206. var replacement;
  36207. A.checkNotNullable(error, "error", type$.Object);
  36208. if (this._state >= 4)
  36209. throw A.wrapException(this._badEventState$0());
  36210. replacement = $.Zone__current.errorCallback$2(error, stackTrace);
  36211. if (replacement != null) {
  36212. error = replacement.error;
  36213. stackTrace = replacement.stackTrace;
  36214. } else if (stackTrace == null)
  36215. stackTrace = A.AsyncError_defaultStackTrace(error);
  36216. this._addError$2(error, stackTrace);
  36217. },
  36218. addError$1(error) {
  36219. return this.addError$2(error, null);
  36220. },
  36221. close$0(_) {
  36222. var _this = this,
  36223. t1 = _this._state;
  36224. if ((t1 & 4) !== 0)
  36225. return _this._ensureDoneFuture$0();
  36226. if (t1 >= 4)
  36227. throw A.wrapException(_this._badEventState$0());
  36228. _this._closeUnchecked$0();
  36229. return _this._ensureDoneFuture$0();
  36230. },
  36231. _closeUnchecked$0() {
  36232. var t1 = this._state |= 4;
  36233. if ((t1 & 1) !== 0)
  36234. this._sendDone$0();
  36235. else if ((t1 & 3) === 0)
  36236. this._ensurePendingEvents$0().add$1(0, B.C__DelayedDone);
  36237. },
  36238. _async$_add$1(value) {
  36239. var t1 = this._state;
  36240. if ((t1 & 1) !== 0)
  36241. this._sendData$1(value);
  36242. else if ((t1 & 3) === 0)
  36243. this._ensurePendingEvents$0().add$1(0, new A._DelayedData(value));
  36244. },
  36245. _addError$2(error, stackTrace) {
  36246. var t1 = this._state;
  36247. if ((t1 & 1) !== 0)
  36248. this._sendError$2(error, stackTrace);
  36249. else if ((t1 & 3) === 0)
  36250. this._ensurePendingEvents$0().add$1(0, new A._DelayedError(error, stackTrace));
  36251. },
  36252. _close$0() {
  36253. var addState = this._varData;
  36254. this._varData = addState._varData;
  36255. this._state &= 4294967287;
  36256. addState.addStreamFuture._asyncComplete$1(null);
  36257. },
  36258. _subscribe$4(onData, onError, onDone, cancelOnError) {
  36259. var subscription, pendingEvents, t1, addState, _this = this;
  36260. if ((_this._state & 3) !== 0)
  36261. throw A.wrapException(A.StateError$("Stream has already been listened to."));
  36262. subscription = A._ControllerSubscription$(_this, onData, onError, onDone, cancelOnError, A._instanceType(_this)._precomputed1);
  36263. pendingEvents = _this.get$_pendingEvents();
  36264. t1 = _this._state |= 1;
  36265. if ((t1 & 8) !== 0) {
  36266. addState = _this._varData;
  36267. addState._varData = subscription;
  36268. addState.addSubscription.resume$0(0);
  36269. } else
  36270. _this._varData = subscription;
  36271. subscription._setPendingEvents$1(pendingEvents);
  36272. subscription._guardCallback$1(new A._StreamController__subscribe_closure(_this));
  36273. return subscription;
  36274. },
  36275. _recordCancel$1(subscription) {
  36276. var onCancel, cancelResult, e, s, exception, result0, t1, _this = this, result = null;
  36277. if ((_this._state & 8) !== 0)
  36278. result = _this._varData.cancel$0();
  36279. _this._varData = null;
  36280. _this._state = _this._state & 4294967286 | 2;
  36281. onCancel = _this.onCancel;
  36282. if (onCancel != null)
  36283. if (result == null)
  36284. try {
  36285. cancelResult = onCancel.call$0();
  36286. if (cancelResult instanceof A._Future)
  36287. result = cancelResult;
  36288. } catch (exception) {
  36289. e = A.unwrapException(exception);
  36290. s = A.getTraceFromException(exception);
  36291. result0 = new A._Future($.Zone__current, type$._Future_void);
  36292. result0._asyncCompleteError$2(e, s);
  36293. result = result0;
  36294. }
  36295. else
  36296. result = result.whenComplete$1(onCancel);
  36297. t1 = new A._StreamController__recordCancel_complete(_this);
  36298. if (result != null)
  36299. result = result.whenComplete$1(t1);
  36300. else
  36301. t1.call$0();
  36302. return result;
  36303. },
  36304. _recordPause$1(subscription) {
  36305. if ((this._state & 8) !== 0)
  36306. this._varData.addSubscription.pause$0(0);
  36307. A._runGuarded(this.onPause);
  36308. },
  36309. _recordResume$1(subscription) {
  36310. if ((this._state & 8) !== 0)
  36311. this._varData.addSubscription.resume$0(0);
  36312. A._runGuarded(this.onResume);
  36313. },
  36314. $isEventSink: 1,
  36315. set$onPause(val) {
  36316. return this.onPause = val;
  36317. },
  36318. set$onResume(val) {
  36319. return this.onResume = val;
  36320. },
  36321. set$onCancel(val) {
  36322. return this.onCancel = val;
  36323. }
  36324. };
  36325. A._StreamController__subscribe_closure.prototype = {
  36326. call$0() {
  36327. A._runGuarded(this.$this.onListen);
  36328. },
  36329. $signature: 0
  36330. };
  36331. A._StreamController__recordCancel_complete.prototype = {
  36332. call$0() {
  36333. var doneFuture = this.$this._doneFuture;
  36334. if (doneFuture != null && (doneFuture._state & 30) === 0)
  36335. doneFuture._asyncComplete$1(null);
  36336. },
  36337. $signature: 0
  36338. };
  36339. A._SyncStreamControllerDispatch.prototype = {
  36340. _sendData$1(data) {
  36341. this.get$_subscription()._async$_add$1(data);
  36342. },
  36343. _sendError$2(error, stackTrace) {
  36344. this.get$_subscription()._addError$2(error, stackTrace);
  36345. },
  36346. _sendDone$0() {
  36347. this.get$_subscription()._close$0();
  36348. }
  36349. };
  36350. A._AsyncStreamControllerDispatch.prototype = {
  36351. _sendData$1(data) {
  36352. this.get$_subscription()._addPending$1(new A._DelayedData(data));
  36353. },
  36354. _sendError$2(error, stackTrace) {
  36355. this.get$_subscription()._addPending$1(new A._DelayedError(error, stackTrace));
  36356. },
  36357. _sendDone$0() {
  36358. this.get$_subscription()._addPending$1(B.C__DelayedDone);
  36359. }
  36360. };
  36361. A._AsyncStreamController.prototype = {};
  36362. A._SyncStreamController.prototype = {};
  36363. A._ControllerStream.prototype = {
  36364. get$hashCode(_) {
  36365. return (A.Primitives_objectHashCode(this._controller) ^ 892482866) >>> 0;
  36366. },
  36367. $eq(_, other) {
  36368. if (other == null)
  36369. return false;
  36370. if (this === other)
  36371. return true;
  36372. return other instanceof A._ControllerStream && other._controller === this._controller;
  36373. }
  36374. };
  36375. A._ControllerSubscription.prototype = {
  36376. _async$_onCancel$0() {
  36377. return this._controller._recordCancel$1(this);
  36378. },
  36379. _async$_onPause$0() {
  36380. this._controller._recordPause$1(this);
  36381. },
  36382. _async$_onResume$0() {
  36383. this._controller._recordResume$1(this);
  36384. }
  36385. };
  36386. A._AddStreamState.prototype = {
  36387. cancel$0() {
  36388. var cancel = this.addSubscription.cancel$0();
  36389. return cancel.whenComplete$1(new A._AddStreamState_cancel_closure(this));
  36390. }
  36391. };
  36392. A._AddStreamState_makeErrorHandler_closure.prototype = {
  36393. call$2(e, s) {
  36394. var t1 = this.controller;
  36395. t1._addError$2(e, s);
  36396. t1._close$0();
  36397. },
  36398. $signature: 53
  36399. };
  36400. A._AddStreamState_cancel_closure.prototype = {
  36401. call$0() {
  36402. this.$this.addStreamFuture._asyncComplete$1(null);
  36403. },
  36404. $signature: 1
  36405. };
  36406. A._StreamControllerAddStreamState.prototype = {};
  36407. A._BufferingStreamSubscription.prototype = {
  36408. _setPendingEvents$1(pendingEvents) {
  36409. var _this = this;
  36410. if (pendingEvents == null)
  36411. return;
  36412. _this._pending = pendingEvents;
  36413. if (pendingEvents.lastPendingEvent != null) {
  36414. _this._state = (_this._state | 128) >>> 0;
  36415. pendingEvents.schedule$1(_this);
  36416. }
  36417. },
  36418. pause$1(_, resumeSignal) {
  36419. var t2, t3, _this = this,
  36420. t1 = _this._state;
  36421. if ((t1 & 8) !== 0)
  36422. return;
  36423. t2 = (t1 + 256 | 4) >>> 0;
  36424. _this._state = t2;
  36425. if (t1 < 256) {
  36426. t3 = _this._pending;
  36427. if (t3 != null)
  36428. if (t3._state === 1)
  36429. t3._state = 3;
  36430. }
  36431. if ((t1 & 4) === 0 && (t2 & 64) === 0)
  36432. _this._guardCallback$1(_this.get$_async$_onPause());
  36433. },
  36434. pause$0(_) {
  36435. return this.pause$1(0, null);
  36436. },
  36437. resume$0(_) {
  36438. var _this = this,
  36439. t1 = _this._state;
  36440. if ((t1 & 8) !== 0)
  36441. return;
  36442. if (t1 >= 256) {
  36443. t1 = _this._state = t1 - 256;
  36444. if (t1 < 256)
  36445. if ((t1 & 128) !== 0 && _this._pending.lastPendingEvent != null)
  36446. _this._pending.schedule$1(_this);
  36447. else {
  36448. t1 = (t1 & 4294967291) >>> 0;
  36449. _this._state = t1;
  36450. if ((t1 & 64) === 0)
  36451. _this._guardCallback$1(_this.get$_async$_onResume());
  36452. }
  36453. }
  36454. },
  36455. cancel$0() {
  36456. var _this = this,
  36457. t1 = (_this._state & 4294967279) >>> 0;
  36458. _this._state = t1;
  36459. if ((t1 & 8) === 0)
  36460. _this._cancel$0();
  36461. t1 = _this._cancelFuture;
  36462. return t1 == null ? $.$get$Future__nullFuture() : t1;
  36463. },
  36464. _cancel$0() {
  36465. var t2, _this = this,
  36466. t1 = _this._state = (_this._state | 8) >>> 0;
  36467. if ((t1 & 128) !== 0) {
  36468. t2 = _this._pending;
  36469. if (t2._state === 1)
  36470. t2._state = 3;
  36471. }
  36472. if ((t1 & 64) === 0)
  36473. _this._pending = null;
  36474. _this._cancelFuture = _this._async$_onCancel$0();
  36475. },
  36476. _async$_add$1(data) {
  36477. var t1 = this._state;
  36478. if ((t1 & 8) !== 0)
  36479. return;
  36480. if (t1 < 64)
  36481. this._sendData$1(data);
  36482. else
  36483. this._addPending$1(new A._DelayedData(data));
  36484. },
  36485. _addError$2(error, stackTrace) {
  36486. var t1 = this._state;
  36487. if ((t1 & 8) !== 0)
  36488. return;
  36489. if (t1 < 64)
  36490. this._sendError$2(error, stackTrace);
  36491. else
  36492. this._addPending$1(new A._DelayedError(error, stackTrace));
  36493. },
  36494. _close$0() {
  36495. var _this = this,
  36496. t1 = _this._state;
  36497. if ((t1 & 8) !== 0)
  36498. return;
  36499. t1 = (t1 | 2) >>> 0;
  36500. _this._state = t1;
  36501. if (t1 < 64)
  36502. _this._sendDone$0();
  36503. else
  36504. _this._addPending$1(B.C__DelayedDone);
  36505. },
  36506. _async$_onPause$0() {
  36507. },
  36508. _async$_onResume$0() {
  36509. },
  36510. _async$_onCancel$0() {
  36511. return null;
  36512. },
  36513. _addPending$1($event) {
  36514. var t1, _this = this,
  36515. pending = _this._pending;
  36516. if (pending == null)
  36517. pending = _this._pending = new A._PendingEvents();
  36518. pending.add$1(0, $event);
  36519. t1 = _this._state;
  36520. if ((t1 & 128) === 0) {
  36521. t1 = (t1 | 128) >>> 0;
  36522. _this._state = t1;
  36523. if (t1 < 256)
  36524. pending.schedule$1(_this);
  36525. }
  36526. },
  36527. _sendData$1(data) {
  36528. var _this = this,
  36529. t1 = _this._state;
  36530. _this._state = (t1 | 64) >>> 0;
  36531. _this._zone.runUnaryGuarded$1$2(_this._onData, data, A._instanceType(_this)._eval$1("_BufferingStreamSubscription.T"));
  36532. _this._state = (_this._state & 4294967231) >>> 0;
  36533. _this._checkState$1((t1 & 4) !== 0);
  36534. },
  36535. _sendError$2(error, stackTrace) {
  36536. var cancelFuture, _this = this,
  36537. t1 = _this._state,
  36538. t2 = new A._BufferingStreamSubscription__sendError_sendError(_this, error, stackTrace);
  36539. if ((t1 & 1) !== 0) {
  36540. _this._state = (t1 | 16) >>> 0;
  36541. _this._cancel$0();
  36542. cancelFuture = _this._cancelFuture;
  36543. if (cancelFuture != null && cancelFuture !== $.$get$Future__nullFuture())
  36544. cancelFuture.whenComplete$1(t2);
  36545. else
  36546. t2.call$0();
  36547. } else {
  36548. t2.call$0();
  36549. _this._checkState$1((t1 & 4) !== 0);
  36550. }
  36551. },
  36552. _sendDone$0() {
  36553. var cancelFuture, _this = this,
  36554. t1 = new A._BufferingStreamSubscription__sendDone_sendDone(_this);
  36555. _this._cancel$0();
  36556. _this._state = (_this._state | 16) >>> 0;
  36557. cancelFuture = _this._cancelFuture;
  36558. if (cancelFuture != null && cancelFuture !== $.$get$Future__nullFuture())
  36559. cancelFuture.whenComplete$1(t1);
  36560. else
  36561. t1.call$0();
  36562. },
  36563. _guardCallback$1(callback) {
  36564. var _this = this,
  36565. t1 = _this._state;
  36566. _this._state = (t1 | 64) >>> 0;
  36567. callback.call$0();
  36568. _this._state = (_this._state & 4294967231) >>> 0;
  36569. _this._checkState$1((t1 & 4) !== 0);
  36570. },
  36571. _checkState$1(wasInputPaused) {
  36572. var t2, isInputPaused, _this = this,
  36573. t1 = _this._state;
  36574. if ((t1 & 128) !== 0 && _this._pending.lastPendingEvent == null) {
  36575. t1 = _this._state = (t1 & 4294967167) >>> 0;
  36576. if ((t1 & 4) !== 0)
  36577. if (t1 < 256) {
  36578. t2 = _this._pending;
  36579. t2 = t2 == null ? null : t2.lastPendingEvent == null;
  36580. t2 = t2 !== false;
  36581. } else
  36582. t2 = false;
  36583. else
  36584. t2 = false;
  36585. if (t2) {
  36586. t1 = (t1 & 4294967291) >>> 0;
  36587. _this._state = t1;
  36588. }
  36589. }
  36590. for (; true; wasInputPaused = isInputPaused) {
  36591. if ((t1 & 8) !== 0) {
  36592. _this._pending = null;
  36593. return;
  36594. }
  36595. isInputPaused = (t1 & 4) !== 0;
  36596. if (wasInputPaused === isInputPaused)
  36597. break;
  36598. _this._state = (t1 ^ 64) >>> 0;
  36599. if (isInputPaused)
  36600. _this._async$_onPause$0();
  36601. else
  36602. _this._async$_onResume$0();
  36603. t1 = (_this._state & 4294967231) >>> 0;
  36604. _this._state = t1;
  36605. }
  36606. if ((t1 & 128) !== 0 && t1 < 256)
  36607. _this._pending.schedule$1(_this);
  36608. },
  36609. $isStreamSubscription: 1
  36610. };
  36611. A._BufferingStreamSubscription__sendError_sendError.prototype = {
  36612. call$0() {
  36613. var onError, t3, t4,
  36614. t1 = this.$this,
  36615. t2 = t1._state;
  36616. if ((t2 & 8) !== 0 && (t2 & 16) === 0)
  36617. return;
  36618. t1._state = (t2 | 64) >>> 0;
  36619. onError = t1._onError;
  36620. t2 = this.error;
  36621. t3 = type$.Object;
  36622. t4 = t1._zone;
  36623. if (type$.void_Function_Object_StackTrace._is(onError))
  36624. t4.runBinaryGuarded$2$3(onError, t2, this.stackTrace, t3, type$.StackTrace);
  36625. else
  36626. t4.runUnaryGuarded$1$2(onError, t2, t3);
  36627. t1._state = (t1._state & 4294967231) >>> 0;
  36628. },
  36629. $signature: 0
  36630. };
  36631. A._BufferingStreamSubscription__sendDone_sendDone.prototype = {
  36632. call$0() {
  36633. var t1 = this.$this,
  36634. t2 = t1._state;
  36635. if ((t2 & 16) === 0)
  36636. return;
  36637. t1._state = (t2 | 74) >>> 0;
  36638. t1._zone.runGuarded$1(t1._onDone);
  36639. t1._state = (t1._state & 4294967231) >>> 0;
  36640. },
  36641. $signature: 0
  36642. };
  36643. A._StreamImpl.prototype = {
  36644. listen$4$cancelOnError$onDone$onError(_, onData, cancelOnError, onDone, onError) {
  36645. return this._controller._subscribe$4(onData, onError, onDone, cancelOnError === true);
  36646. },
  36647. listen$1(_, onData) {
  36648. return this.listen$4$cancelOnError$onDone$onError(0, onData, null, null, null);
  36649. },
  36650. listen$3$onDone$onError(_, onData, onDone, onError) {
  36651. return this.listen$4$cancelOnError$onDone$onError(0, onData, null, onDone, onError);
  36652. }
  36653. };
  36654. A._DelayedEvent.prototype = {
  36655. get$next() {
  36656. return this.next;
  36657. },
  36658. set$next(val) {
  36659. return this.next = val;
  36660. }
  36661. };
  36662. A._DelayedData.prototype = {
  36663. perform$1(dispatch) {
  36664. dispatch._sendData$1(this.value);
  36665. }
  36666. };
  36667. A._DelayedError.prototype = {
  36668. perform$1(dispatch) {
  36669. dispatch._sendError$2(this.error, this.stackTrace);
  36670. }
  36671. };
  36672. A._DelayedDone.prototype = {
  36673. perform$1(dispatch) {
  36674. dispatch._sendDone$0();
  36675. },
  36676. get$next() {
  36677. return null;
  36678. },
  36679. set$next(_) {
  36680. throw A.wrapException(A.StateError$("No events after a done."));
  36681. }
  36682. };
  36683. A._PendingEvents.prototype = {
  36684. schedule$1(dispatch) {
  36685. var _this = this,
  36686. t1 = _this._state;
  36687. if (t1 === 1)
  36688. return;
  36689. if (t1 >= 1) {
  36690. _this._state = 1;
  36691. return;
  36692. }
  36693. A.scheduleMicrotask(new A._PendingEvents_schedule_closure(_this, dispatch));
  36694. _this._state = 1;
  36695. },
  36696. add$1(_, $event) {
  36697. var _this = this,
  36698. lastEvent = _this.lastPendingEvent;
  36699. if (lastEvent == null)
  36700. _this.firstPendingEvent = _this.lastPendingEvent = $event;
  36701. else {
  36702. lastEvent.set$next($event);
  36703. _this.lastPendingEvent = $event;
  36704. }
  36705. }
  36706. };
  36707. A._PendingEvents_schedule_closure.prototype = {
  36708. call$0() {
  36709. var $event, nextEvent,
  36710. t1 = this.$this,
  36711. oldState = t1._state;
  36712. t1._state = 0;
  36713. if (oldState === 3)
  36714. return;
  36715. $event = t1.firstPendingEvent;
  36716. nextEvent = $event.get$next();
  36717. t1.firstPendingEvent = nextEvent;
  36718. if (nextEvent == null)
  36719. t1.lastPendingEvent = null;
  36720. $event.perform$1(this.dispatch);
  36721. },
  36722. $signature: 0
  36723. };
  36724. A._StreamIterator.prototype = {
  36725. get$current(_) {
  36726. if (this._async$_hasValue)
  36727. return this._stateData;
  36728. return null;
  36729. },
  36730. moveNext$0() {
  36731. var future, _this = this,
  36732. subscription = _this._subscription;
  36733. if (subscription != null) {
  36734. if (_this._async$_hasValue) {
  36735. future = new A._Future($.Zone__current, type$._Future_bool);
  36736. _this._stateData = future;
  36737. _this._async$_hasValue = false;
  36738. subscription.resume$0(0);
  36739. return future;
  36740. }
  36741. throw A.wrapException(A.StateError$("Already waiting for next."));
  36742. }
  36743. return _this._initializeOrDone$0();
  36744. },
  36745. _initializeOrDone$0() {
  36746. var future, subscription, _this = this,
  36747. stateData = _this._stateData;
  36748. if (stateData != null) {
  36749. future = new A._Future($.Zone__current, type$._Future_bool);
  36750. _this._stateData = future;
  36751. subscription = stateData.listen$4$cancelOnError$onDone$onError(0, _this.get$_onData(), true, _this.get$_onDone(), _this.get$_onError());
  36752. if (_this._stateData != null)
  36753. _this._subscription = subscription;
  36754. return future;
  36755. }
  36756. return $.$get$Future__falseFuture();
  36757. },
  36758. cancel$0() {
  36759. var _this = this,
  36760. subscription = _this._subscription,
  36761. stateData = _this._stateData;
  36762. _this._stateData = null;
  36763. if (subscription != null) {
  36764. _this._subscription = null;
  36765. if (!_this._async$_hasValue)
  36766. stateData._asyncComplete$1(false);
  36767. else
  36768. _this._async$_hasValue = false;
  36769. return subscription.cancel$0();
  36770. }
  36771. return $.$get$Future__nullFuture();
  36772. },
  36773. _onData$1(data) {
  36774. var moveNextFuture, t1, _this = this;
  36775. if (_this._subscription == null)
  36776. return;
  36777. moveNextFuture = _this._stateData;
  36778. _this._stateData = data;
  36779. _this._async$_hasValue = true;
  36780. moveNextFuture._complete$1(true);
  36781. if (_this._async$_hasValue) {
  36782. t1 = _this._subscription;
  36783. if (t1 != null)
  36784. t1.pause$0(0);
  36785. }
  36786. },
  36787. _onError$2(error, stackTrace) {
  36788. var _this = this,
  36789. subscription = _this._subscription,
  36790. moveNextFuture = _this._stateData;
  36791. _this._stateData = _this._subscription = null;
  36792. if (subscription != null)
  36793. moveNextFuture._completeError$2(error, stackTrace);
  36794. else
  36795. moveNextFuture._asyncCompleteError$2(error, stackTrace);
  36796. },
  36797. _onDone$0() {
  36798. var _this = this,
  36799. subscription = _this._subscription,
  36800. moveNextFuture = _this._stateData;
  36801. _this._stateData = _this._subscription = null;
  36802. if (subscription != null)
  36803. moveNextFuture._completeWithValue$1(false);
  36804. else
  36805. moveNextFuture._asyncCompleteWithValue$1(false);
  36806. }
  36807. };
  36808. A._ForwardingStream.prototype = {
  36809. get$isBroadcast() {
  36810. return this._async$_source.get$isBroadcast();
  36811. },
  36812. listen$4$cancelOnError$onDone$onError(_, onData, cancelOnError, onDone, onError) {
  36813. var t1 = this.$ti,
  36814. t2 = t1._rest[1],
  36815. t3 = $.Zone__current,
  36816. t4 = cancelOnError === true ? 1 : 0,
  36817. t5 = onError != null ? 32 : 0,
  36818. t6 = A._BufferingStreamSubscription__registerDataHandler(t3, onData, t2),
  36819. t7 = A._BufferingStreamSubscription__registerErrorHandler(t3, onError),
  36820. t8 = onDone == null ? A.async___nullDoneHandler$closure() : onDone;
  36821. t2 = new A._ForwardingStreamSubscription(this, t6, t7, t3.registerCallback$1$1(t8, type$.void), t3, t4 | t5, t1._eval$1("@<1>")._bind$1(t2)._eval$1("_ForwardingStreamSubscription<1,2>"));
  36822. t2._subscription = this._async$_source.listen$3$onDone$onError(0, t2.get$_handleData(), t2.get$_handleDone(), t2.get$_handleError());
  36823. return t2;
  36824. },
  36825. listen$1(_, onData) {
  36826. return this.listen$4$cancelOnError$onDone$onError(0, onData, null, null, null);
  36827. },
  36828. listen$3$onDone$onError(_, onData, onDone, onError) {
  36829. return this.listen$4$cancelOnError$onDone$onError(0, onData, null, onDone, onError);
  36830. }
  36831. };
  36832. A._ForwardingStreamSubscription.prototype = {
  36833. _async$_add$1(data) {
  36834. if ((this._state & 2) !== 0)
  36835. return;
  36836. this.super$_BufferingStreamSubscription$_add(data);
  36837. },
  36838. _addError$2(error, stackTrace) {
  36839. if ((this._state & 2) !== 0)
  36840. return;
  36841. this.super$_BufferingStreamSubscription$_addError(error, stackTrace);
  36842. },
  36843. _async$_onPause$0() {
  36844. var t1 = this._subscription;
  36845. if (t1 != null)
  36846. t1.pause$0(0);
  36847. },
  36848. _async$_onResume$0() {
  36849. var t1 = this._subscription;
  36850. if (t1 != null)
  36851. t1.resume$0(0);
  36852. },
  36853. _async$_onCancel$0() {
  36854. var subscription = this._subscription;
  36855. if (subscription != null) {
  36856. this._subscription = null;
  36857. return subscription.cancel$0();
  36858. }
  36859. return null;
  36860. },
  36861. _handleData$1(data) {
  36862. this._stream._handleData$2(data, this);
  36863. },
  36864. _handleError$2(error, stackTrace) {
  36865. this._addError$2(error, stackTrace);
  36866. },
  36867. _handleDone$0() {
  36868. this._close$0();
  36869. }
  36870. };
  36871. A._ExpandStream.prototype = {
  36872. _handleData$2(inputEvent, sink) {
  36873. var value, e, s, t1, exception, error, stackTrace, replacement;
  36874. try {
  36875. for (t1 = J.get$iterator$ax(this._expand.call$1(inputEvent)); t1.moveNext$0();) {
  36876. value = t1.get$current(t1);
  36877. sink._async$_add$1(value);
  36878. }
  36879. } catch (exception) {
  36880. e = A.unwrapException(exception);
  36881. s = A.getTraceFromException(exception);
  36882. error = e;
  36883. stackTrace = s;
  36884. replacement = $.Zone__current.errorCallback$2(error, stackTrace);
  36885. if (replacement != null) {
  36886. error = replacement.error;
  36887. stackTrace = replacement.stackTrace;
  36888. }
  36889. sink._addError$2(error, stackTrace);
  36890. }
  36891. }
  36892. };
  36893. A._ZoneFunction.prototype = {};
  36894. A._ZoneSpecification.prototype = {$isZoneSpecification: 1};
  36895. A._ZoneDelegate.prototype = {$isZoneDelegate: 1};
  36896. A._Zone.prototype = {
  36897. _processUncaughtError$3(zone, error, stackTrace) {
  36898. var handler, parentDelegate, parentZone, currentZone, e, s, t1, exception,
  36899. implementation = this.get$_handleUncaughtError(),
  36900. implZone = implementation.zone;
  36901. if (implZone === B.C__RootZone) {
  36902. A._rootHandleError(error, stackTrace);
  36903. return;
  36904. }
  36905. handler = implementation.$function;
  36906. parentDelegate = implZone.get$_parentDelegate();
  36907. t1 = J.get$parent$z(implZone);
  36908. t1.toString;
  36909. parentZone = t1;
  36910. currentZone = $.Zone__current;
  36911. try {
  36912. $.Zone__current = parentZone;
  36913. handler.call$5(implZone, parentDelegate, zone, error, stackTrace);
  36914. $.Zone__current = currentZone;
  36915. } catch (exception) {
  36916. e = A.unwrapException(exception);
  36917. s = A.getTraceFromException(exception);
  36918. $.Zone__current = currentZone;
  36919. t1 = error === e ? stackTrace : s;
  36920. parentZone._processUncaughtError$3(implZone, e, t1);
  36921. }
  36922. },
  36923. $isZone: 1
  36924. };
  36925. A._CustomZone.prototype = {
  36926. get$_delegate() {
  36927. var t1 = this._delegateCache;
  36928. return t1 == null ? this._delegateCache = new A._ZoneDelegate(this) : t1;
  36929. },
  36930. get$_parentDelegate() {
  36931. return this.parent.get$_delegate();
  36932. },
  36933. get$errorZone() {
  36934. return this._handleUncaughtError.zone;
  36935. },
  36936. runGuarded$1(f) {
  36937. var e, s, exception;
  36938. try {
  36939. this.run$1$1(0, f, type$.void);
  36940. } catch (exception) {
  36941. e = A.unwrapException(exception);
  36942. s = A.getTraceFromException(exception);
  36943. this._processUncaughtError$3(this, e, s);
  36944. }
  36945. },
  36946. runUnaryGuarded$1$2(f, arg, $T) {
  36947. var e, s, exception;
  36948. try {
  36949. this.runUnary$2$2(f, arg, type$.void, $T);
  36950. } catch (exception) {
  36951. e = A.unwrapException(exception);
  36952. s = A.getTraceFromException(exception);
  36953. this._processUncaughtError$3(this, e, s);
  36954. }
  36955. },
  36956. runBinaryGuarded$2$3(f, arg1, arg2, T1, T2) {
  36957. var e, s, exception;
  36958. try {
  36959. this.runBinary$3$3(f, arg1, arg2, type$.void, T1, T2);
  36960. } catch (exception) {
  36961. e = A.unwrapException(exception);
  36962. s = A.getTraceFromException(exception);
  36963. this._processUncaughtError$3(this, e, s);
  36964. }
  36965. },
  36966. bindCallback$1$1(f, $R) {
  36967. return new A._CustomZone_bindCallback_closure(this, this.registerCallback$1$1(f, $R), $R);
  36968. },
  36969. bindUnaryCallback$2$1(f, $R, $T) {
  36970. return new A._CustomZone_bindUnaryCallback_closure(this, this.registerUnaryCallback$2$1(f, $R, $T), $T, $R);
  36971. },
  36972. bindCallbackGuarded$1(f) {
  36973. return new A._CustomZone_bindCallbackGuarded_closure(this, this.registerCallback$1$1(f, type$.void));
  36974. },
  36975. $index(_, key) {
  36976. var value,
  36977. t1 = this._async$_map,
  36978. result = t1.$index(0, key);
  36979. if (result != null || t1.containsKey$1(key))
  36980. return result;
  36981. value = this.parent.$index(0, key);
  36982. if (value != null)
  36983. t1.$indexSet(0, key, value);
  36984. return value;
  36985. },
  36986. handleUncaughtError$2(error, stackTrace) {
  36987. this._processUncaughtError$3(this, error, stackTrace);
  36988. },
  36989. fork$2$specification$zoneValues(specification, zoneValues) {
  36990. var implementation = this._fork,
  36991. t1 = implementation.zone;
  36992. return implementation.$function.call$5(t1, t1.get$_parentDelegate(), this, specification, zoneValues);
  36993. },
  36994. run$1$1(_, f) {
  36995. var implementation = this._run,
  36996. t1 = implementation.zone;
  36997. return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, f);
  36998. },
  36999. runUnary$2$2(f, arg) {
  37000. var implementation = this._runUnary,
  37001. t1 = implementation.zone;
  37002. return implementation.$function.call$5(t1, t1.get$_parentDelegate(), this, f, arg);
  37003. },
  37004. runBinary$3$3(f, arg1, arg2) {
  37005. var implementation = this._runBinary,
  37006. t1 = implementation.zone;
  37007. return implementation.$function.call$6(t1, t1.get$_parentDelegate(), this, f, arg1, arg2);
  37008. },
  37009. registerCallback$1$1(callback) {
  37010. var implementation = this._registerCallback,
  37011. t1 = implementation.zone;
  37012. return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, callback);
  37013. },
  37014. registerUnaryCallback$2$1(callback) {
  37015. var implementation = this._registerUnaryCallback,
  37016. t1 = implementation.zone;
  37017. return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, callback);
  37018. },
  37019. registerBinaryCallback$3$1(callback) {
  37020. var implementation = this._registerBinaryCallback,
  37021. t1 = implementation.zone;
  37022. return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, callback);
  37023. },
  37024. errorCallback$2(error, stackTrace) {
  37025. var implementation, implementationZone;
  37026. A.checkNotNullable(error, "error", type$.Object);
  37027. implementation = this._errorCallback;
  37028. implementationZone = implementation.zone;
  37029. if (implementationZone === B.C__RootZone)
  37030. return null;
  37031. return implementation.$function.call$5(implementationZone, implementationZone.get$_parentDelegate(), this, error, stackTrace);
  37032. },
  37033. scheduleMicrotask$1(f) {
  37034. var implementation = this._scheduleMicrotask,
  37035. t1 = implementation.zone;
  37036. return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, f);
  37037. },
  37038. createTimer$2(duration, f) {
  37039. var implementation = this._createTimer,
  37040. t1 = implementation.zone;
  37041. return implementation.$function.call$5(t1, t1.get$_parentDelegate(), this, duration, f);
  37042. },
  37043. print$1(line) {
  37044. var implementation = this._print,
  37045. t1 = implementation.zone;
  37046. return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, line);
  37047. },
  37048. get$_run() {
  37049. return this._run;
  37050. },
  37051. get$_runUnary() {
  37052. return this._runUnary;
  37053. },
  37054. get$_runBinary() {
  37055. return this._runBinary;
  37056. },
  37057. get$_registerCallback() {
  37058. return this._registerCallback;
  37059. },
  37060. get$_registerUnaryCallback() {
  37061. return this._registerUnaryCallback;
  37062. },
  37063. get$_registerBinaryCallback() {
  37064. return this._registerBinaryCallback;
  37065. },
  37066. get$_errorCallback() {
  37067. return this._errorCallback;
  37068. },
  37069. get$_scheduleMicrotask() {
  37070. return this._scheduleMicrotask;
  37071. },
  37072. get$_createTimer() {
  37073. return this._createTimer;
  37074. },
  37075. get$_createPeriodicTimer() {
  37076. return this._createPeriodicTimer;
  37077. },
  37078. get$_print() {
  37079. return this._print;
  37080. },
  37081. get$_fork() {
  37082. return this._fork;
  37083. },
  37084. get$_handleUncaughtError() {
  37085. return this._handleUncaughtError;
  37086. },
  37087. get$parent(receiver) {
  37088. return this.parent;
  37089. },
  37090. get$_async$_map() {
  37091. return this._async$_map;
  37092. }
  37093. };
  37094. A._CustomZone_bindCallback_closure.prototype = {
  37095. call$0() {
  37096. return this.$this.run$1$1(0, this.registered, this.R);
  37097. },
  37098. $signature() {
  37099. return this.R._eval$1("0()");
  37100. }
  37101. };
  37102. A._CustomZone_bindUnaryCallback_closure.prototype = {
  37103. call$1(arg) {
  37104. var _this = this;
  37105. return _this.$this.runUnary$2$2(_this.registered, arg, _this.R, _this.T);
  37106. },
  37107. $signature() {
  37108. return this.R._eval$1("@<0>")._bind$1(this.T)._eval$1("1(2)");
  37109. }
  37110. };
  37111. A._CustomZone_bindCallbackGuarded_closure.prototype = {
  37112. call$0() {
  37113. return this.$this.runGuarded$1(this.registered);
  37114. },
  37115. $signature: 0
  37116. };
  37117. A._rootHandleError_closure.prototype = {
  37118. call$0() {
  37119. A.Error_throwWithStackTrace(this.error, this.stackTrace);
  37120. },
  37121. $signature: 0
  37122. };
  37123. A._RootZone.prototype = {
  37124. get$_run() {
  37125. return B._ZoneFunction__RootZone__rootRun;
  37126. },
  37127. get$_runUnary() {
  37128. return B._ZoneFunction__RootZone__rootRunUnary;
  37129. },
  37130. get$_runBinary() {
  37131. return B._ZoneFunction__RootZone__rootRunBinary;
  37132. },
  37133. get$_registerCallback() {
  37134. return B._ZoneFunction__RootZone__rootRegisterCallback;
  37135. },
  37136. get$_registerUnaryCallback() {
  37137. return B._ZoneFunction_QOa;
  37138. },
  37139. get$_registerBinaryCallback() {
  37140. return B._ZoneFunction_qxw;
  37141. },
  37142. get$_errorCallback() {
  37143. return B._ZoneFunction__RootZone__rootErrorCallback;
  37144. },
  37145. get$_scheduleMicrotask() {
  37146. return B._ZoneFunction__RootZone__rootScheduleMicrotask;
  37147. },
  37148. get$_createTimer() {
  37149. return B._ZoneFunction__RootZone__rootCreateTimer;
  37150. },
  37151. get$_createPeriodicTimer() {
  37152. return B._ZoneFunction_kWM;
  37153. },
  37154. get$_print() {
  37155. return B._ZoneFunction__RootZone__rootPrint;
  37156. },
  37157. get$_fork() {
  37158. return B._ZoneFunction__RootZone__rootFork;
  37159. },
  37160. get$_handleUncaughtError() {
  37161. return B._ZoneFunction_NIe;
  37162. },
  37163. get$parent(_) {
  37164. return null;
  37165. },
  37166. get$_async$_map() {
  37167. return $.$get$_RootZone__rootMap();
  37168. },
  37169. get$_delegate() {
  37170. var t1 = $._RootZone__rootDelegate;
  37171. return t1 == null ? $._RootZone__rootDelegate = new A._ZoneDelegate(this) : t1;
  37172. },
  37173. get$_parentDelegate() {
  37174. var t1 = $._RootZone__rootDelegate;
  37175. return t1 == null ? $._RootZone__rootDelegate = new A._ZoneDelegate(this) : t1;
  37176. },
  37177. get$errorZone() {
  37178. return this;
  37179. },
  37180. runGuarded$1(f) {
  37181. var e, s, exception;
  37182. try {
  37183. if (B.C__RootZone === $.Zone__current) {
  37184. f.call$0();
  37185. return;
  37186. }
  37187. A._rootRun(null, null, this, f);
  37188. } catch (exception) {
  37189. e = A.unwrapException(exception);
  37190. s = A.getTraceFromException(exception);
  37191. A._rootHandleError(e, s);
  37192. }
  37193. },
  37194. runUnaryGuarded$1$2(f, arg) {
  37195. var e, s, exception;
  37196. try {
  37197. if (B.C__RootZone === $.Zone__current) {
  37198. f.call$1(arg);
  37199. return;
  37200. }
  37201. A._rootRunUnary(null, null, this, f, arg);
  37202. } catch (exception) {
  37203. e = A.unwrapException(exception);
  37204. s = A.getTraceFromException(exception);
  37205. A._rootHandleError(e, s);
  37206. }
  37207. },
  37208. runBinaryGuarded$2$3(f, arg1, arg2) {
  37209. var e, s, exception;
  37210. try {
  37211. if (B.C__RootZone === $.Zone__current) {
  37212. f.call$2(arg1, arg2);
  37213. return;
  37214. }
  37215. A._rootRunBinary(null, null, this, f, arg1, arg2);
  37216. } catch (exception) {
  37217. e = A.unwrapException(exception);
  37218. s = A.getTraceFromException(exception);
  37219. A._rootHandleError(e, s);
  37220. }
  37221. },
  37222. bindCallback$1$1(f, $R) {
  37223. return new A._RootZone_bindCallback_closure(this, f, $R);
  37224. },
  37225. bindUnaryCallback$2$1(f, $R, $T) {
  37226. return new A._RootZone_bindUnaryCallback_closure(this, f, $T, $R);
  37227. },
  37228. bindCallbackGuarded$1(f) {
  37229. return new A._RootZone_bindCallbackGuarded_closure(this, f);
  37230. },
  37231. $index(_, key) {
  37232. return null;
  37233. },
  37234. handleUncaughtError$2(error, stackTrace) {
  37235. A._rootHandleError(error, stackTrace);
  37236. },
  37237. fork$2$specification$zoneValues(specification, zoneValues) {
  37238. return A._rootFork(null, null, this, specification, zoneValues);
  37239. },
  37240. run$1$1(_, f) {
  37241. if ($.Zone__current === B.C__RootZone)
  37242. return f.call$0();
  37243. return A._rootRun(null, null, this, f);
  37244. },
  37245. runUnary$2$2(f, arg) {
  37246. if ($.Zone__current === B.C__RootZone)
  37247. return f.call$1(arg);
  37248. return A._rootRunUnary(null, null, this, f, arg);
  37249. },
  37250. runBinary$3$3(f, arg1, arg2) {
  37251. if ($.Zone__current === B.C__RootZone)
  37252. return f.call$2(arg1, arg2);
  37253. return A._rootRunBinary(null, null, this, f, arg1, arg2);
  37254. },
  37255. registerCallback$1$1(f) {
  37256. return f;
  37257. },
  37258. registerUnaryCallback$2$1(f) {
  37259. return f;
  37260. },
  37261. registerBinaryCallback$3$1(f) {
  37262. return f;
  37263. },
  37264. errorCallback$2(error, stackTrace) {
  37265. return null;
  37266. },
  37267. scheduleMicrotask$1(f) {
  37268. A._rootScheduleMicrotask(null, null, this, f);
  37269. },
  37270. createTimer$2(duration, f) {
  37271. return A.Timer__createTimer(duration, f);
  37272. },
  37273. print$1(line) {
  37274. A.printString(line);
  37275. }
  37276. };
  37277. A._RootZone_bindCallback_closure.prototype = {
  37278. call$0() {
  37279. return this.$this.run$1$1(0, this.f, this.R);
  37280. },
  37281. $signature() {
  37282. return this.R._eval$1("0()");
  37283. }
  37284. };
  37285. A._RootZone_bindUnaryCallback_closure.prototype = {
  37286. call$1(arg) {
  37287. var _this = this;
  37288. return _this.$this.runUnary$2$2(_this.f, arg, _this.R, _this.T);
  37289. },
  37290. $signature() {
  37291. return this.R._eval$1("@<0>")._bind$1(this.T)._eval$1("1(2)");
  37292. }
  37293. };
  37294. A._RootZone_bindCallbackGuarded_closure.prototype = {
  37295. call$0() {
  37296. return this.$this.runGuarded$1(this.f);
  37297. },
  37298. $signature: 0
  37299. };
  37300. A._HashMap.prototype = {
  37301. get$length(_) {
  37302. return this._collection$_length;
  37303. },
  37304. get$isEmpty(_) {
  37305. return this._collection$_length === 0;
  37306. },
  37307. get$isNotEmpty(_) {
  37308. return this._collection$_length !== 0;
  37309. },
  37310. get$keys(_) {
  37311. return new A._HashMapKeyIterable(this, A._instanceType(this)._eval$1("_HashMapKeyIterable<1>"));
  37312. },
  37313. get$values(_) {
  37314. var t1 = A._instanceType(this);
  37315. return A.MappedIterable_MappedIterable(new A._HashMapKeyIterable(this, t1._eval$1("_HashMapKeyIterable<1>")), new A._HashMap_values_closure(this), t1._precomputed1, t1._rest[1]);
  37316. },
  37317. containsKey$1(key) {
  37318. var strings, nums;
  37319. if (typeof key == "string" && key !== "__proto__") {
  37320. strings = this._strings;
  37321. return strings == null ? false : strings[key] != null;
  37322. } else if (typeof key == "number" && (key & 1073741823) === key) {
  37323. nums = this._nums;
  37324. return nums == null ? false : nums[key] != null;
  37325. } else
  37326. return this._containsKey$1(key);
  37327. },
  37328. _containsKey$1(key) {
  37329. var rest = this._collection$_rest;
  37330. if (rest == null)
  37331. return false;
  37332. return this._findBucketIndex$2(this._getBucket$2(rest, key), key) >= 0;
  37333. },
  37334. addAll$1(_, other) {
  37335. other.forEach$1(0, new A._HashMap_addAll_closure(this));
  37336. },
  37337. $index(_, key) {
  37338. var strings, t1, nums;
  37339. if (typeof key == "string" && key !== "__proto__") {
  37340. strings = this._strings;
  37341. t1 = strings == null ? null : A._HashMap__getTableEntry(strings, key);
  37342. return t1;
  37343. } else if (typeof key == "number" && (key & 1073741823) === key) {
  37344. nums = this._nums;
  37345. t1 = nums == null ? null : A._HashMap__getTableEntry(nums, key);
  37346. return t1;
  37347. } else
  37348. return this._get$1(key);
  37349. },
  37350. _get$1(key) {
  37351. var bucket, index,
  37352. rest = this._collection$_rest;
  37353. if (rest == null)
  37354. return null;
  37355. bucket = this._getBucket$2(rest, key);
  37356. index = this._findBucketIndex$2(bucket, key);
  37357. return index < 0 ? null : bucket[index + 1];
  37358. },
  37359. $indexSet(_, key, value) {
  37360. var strings, nums, _this = this;
  37361. if (typeof key == "string" && key !== "__proto__") {
  37362. strings = _this._strings;
  37363. _this._addHashTableEntry$3(strings == null ? _this._strings = A._HashMap__newHashTable() : strings, key, value);
  37364. } else if (typeof key == "number" && (key & 1073741823) === key) {
  37365. nums = _this._nums;
  37366. _this._addHashTableEntry$3(nums == null ? _this._nums = A._HashMap__newHashTable() : nums, key, value);
  37367. } else
  37368. _this._set$2(key, value);
  37369. },
  37370. _set$2(key, value) {
  37371. var hash, bucket, index, _this = this,
  37372. rest = _this._collection$_rest;
  37373. if (rest == null)
  37374. rest = _this._collection$_rest = A._HashMap__newHashTable();
  37375. hash = _this._computeHashCode$1(key);
  37376. bucket = rest[hash];
  37377. if (bucket == null) {
  37378. A._HashMap__setTableEntry(rest, hash, [key, value]);
  37379. ++_this._collection$_length;
  37380. _this._collection$_keys = null;
  37381. } else {
  37382. index = _this._findBucketIndex$2(bucket, key);
  37383. if (index >= 0)
  37384. bucket[index + 1] = value;
  37385. else {
  37386. bucket.push(key, value);
  37387. ++_this._collection$_length;
  37388. _this._collection$_keys = null;
  37389. }
  37390. }
  37391. },
  37392. remove$1(_, key) {
  37393. var _this = this;
  37394. if (typeof key == "string" && key !== "__proto__")
  37395. return _this._removeHashTableEntry$2(_this._strings, key);
  37396. else if (typeof key == "number" && (key & 1073741823) === key)
  37397. return _this._removeHashTableEntry$2(_this._nums, key);
  37398. else
  37399. return _this._remove$1(key);
  37400. },
  37401. _remove$1(key) {
  37402. var hash, bucket, index, result, _this = this,
  37403. rest = _this._collection$_rest;
  37404. if (rest == null)
  37405. return null;
  37406. hash = _this._computeHashCode$1(key);
  37407. bucket = rest[hash];
  37408. index = _this._findBucketIndex$2(bucket, key);
  37409. if (index < 0)
  37410. return null;
  37411. --_this._collection$_length;
  37412. _this._collection$_keys = null;
  37413. result = bucket.splice(index, 2)[1];
  37414. if (0 === bucket.length)
  37415. delete rest[hash];
  37416. return result;
  37417. },
  37418. forEach$1(_, action) {
  37419. var $length, t1, i, key, t2, _this = this,
  37420. keys = _this._computeKeys$0();
  37421. for ($length = keys.length, t1 = A._instanceType(_this)._rest[1], i = 0; i < $length; ++i) {
  37422. key = keys[i];
  37423. t2 = _this.$index(0, key);
  37424. action.call$2(key, t2 == null ? t1._as(t2) : t2);
  37425. if (keys !== _this._collection$_keys)
  37426. throw A.wrapException(A.ConcurrentModificationError$(_this));
  37427. }
  37428. },
  37429. _computeKeys$0() {
  37430. var strings, names, entries, index, i, nums, rest, bucket, $length, i0, _this = this,
  37431. result = _this._collection$_keys;
  37432. if (result != null)
  37433. return result;
  37434. result = A.List_List$filled(_this._collection$_length, null, false, type$.dynamic);
  37435. strings = _this._strings;
  37436. if (strings != null) {
  37437. names = Object.getOwnPropertyNames(strings);
  37438. entries = names.length;
  37439. for (index = 0, i = 0; i < entries; ++i) {
  37440. result[index] = names[i];
  37441. ++index;
  37442. }
  37443. } else
  37444. index = 0;
  37445. nums = _this._nums;
  37446. if (nums != null) {
  37447. names = Object.getOwnPropertyNames(nums);
  37448. entries = names.length;
  37449. for (i = 0; i < entries; ++i) {
  37450. result[index] = +names[i];
  37451. ++index;
  37452. }
  37453. }
  37454. rest = _this._collection$_rest;
  37455. if (rest != null) {
  37456. names = Object.getOwnPropertyNames(rest);
  37457. entries = names.length;
  37458. for (i = 0; i < entries; ++i) {
  37459. bucket = rest[names[i]];
  37460. $length = bucket.length;
  37461. for (i0 = 0; i0 < $length; i0 += 2) {
  37462. result[index] = bucket[i0];
  37463. ++index;
  37464. }
  37465. }
  37466. }
  37467. return _this._collection$_keys = result;
  37468. },
  37469. _addHashTableEntry$3(table, key, value) {
  37470. if (table[key] == null) {
  37471. ++this._collection$_length;
  37472. this._collection$_keys = null;
  37473. }
  37474. A._HashMap__setTableEntry(table, key, value);
  37475. },
  37476. _removeHashTableEntry$2(table, key) {
  37477. var value;
  37478. if (table != null && table[key] != null) {
  37479. value = A._HashMap__getTableEntry(table, key);
  37480. delete table[key];
  37481. --this._collection$_length;
  37482. this._collection$_keys = null;
  37483. return value;
  37484. } else
  37485. return null;
  37486. },
  37487. _computeHashCode$1(key) {
  37488. return J.get$hashCode$(key) & 1073741823;
  37489. },
  37490. _getBucket$2(table, key) {
  37491. return table[this._computeHashCode$1(key)];
  37492. },
  37493. _findBucketIndex$2(bucket, key) {
  37494. var $length, i;
  37495. if (bucket == null)
  37496. return -1;
  37497. $length = bucket.length;
  37498. for (i = 0; i < $length; i += 2)
  37499. if (J.$eq$(bucket[i], key))
  37500. return i;
  37501. return -1;
  37502. }
  37503. };
  37504. A._HashMap_values_closure.prototype = {
  37505. call$1(each) {
  37506. var t1 = this.$this,
  37507. t2 = t1.$index(0, each);
  37508. return t2 == null ? A._instanceType(t1)._rest[1]._as(t2) : t2;
  37509. },
  37510. $signature() {
  37511. return A._instanceType(this.$this)._eval$1("2(1)");
  37512. }
  37513. };
  37514. A._HashMap_addAll_closure.prototype = {
  37515. call$2(key, value) {
  37516. this.$this.$indexSet(0, key, value);
  37517. },
  37518. $signature() {
  37519. return A._instanceType(this.$this)._eval$1("~(1,2)");
  37520. }
  37521. };
  37522. A._IdentityHashMap.prototype = {
  37523. _computeHashCode$1(key) {
  37524. return A.objectHashCode(key) & 1073741823;
  37525. },
  37526. _findBucketIndex$2(bucket, key) {
  37527. var $length, i, t1;
  37528. if (bucket == null)
  37529. return -1;
  37530. $length = bucket.length;
  37531. for (i = 0; i < $length; i += 2) {
  37532. t1 = bucket[i];
  37533. if (t1 == null ? key == null : t1 === key)
  37534. return i;
  37535. }
  37536. return -1;
  37537. }
  37538. };
  37539. A._HashMapKeyIterable.prototype = {
  37540. get$length(_) {
  37541. return this._map._collection$_length;
  37542. },
  37543. get$isEmpty(_) {
  37544. return this._map._collection$_length === 0;
  37545. },
  37546. get$isNotEmpty(_) {
  37547. return this._map._collection$_length !== 0;
  37548. },
  37549. get$iterator(_) {
  37550. var t1 = this._map;
  37551. return new A._HashMapKeyIterator(t1, t1._computeKeys$0(), this.$ti._eval$1("_HashMapKeyIterator<1>"));
  37552. },
  37553. contains$1(_, element) {
  37554. return this._map.containsKey$1(element);
  37555. }
  37556. };
  37557. A._HashMapKeyIterator.prototype = {
  37558. get$current(_) {
  37559. var t1 = this._collection$_current;
  37560. return t1 == null ? this.$ti._precomputed1._as(t1) : t1;
  37561. },
  37562. moveNext$0() {
  37563. var _this = this,
  37564. keys = _this._collection$_keys,
  37565. offset = _this._offset,
  37566. t1 = _this._map;
  37567. if (keys !== t1._collection$_keys)
  37568. throw A.wrapException(A.ConcurrentModificationError$(t1));
  37569. else if (offset >= keys.length) {
  37570. _this._collection$_current = null;
  37571. return false;
  37572. } else {
  37573. _this._collection$_current = keys[offset];
  37574. _this._offset = offset + 1;
  37575. return true;
  37576. }
  37577. }
  37578. };
  37579. A._LinkedCustomHashMap.prototype = {
  37580. $index(_, key) {
  37581. if (!this._validKey.call$1(key))
  37582. return null;
  37583. return this.super$JsLinkedHashMap$internalGet(key);
  37584. },
  37585. $indexSet(_, key, value) {
  37586. this.super$JsLinkedHashMap$internalSet(key, value);
  37587. },
  37588. containsKey$1(key) {
  37589. if (!this._validKey.call$1(key))
  37590. return false;
  37591. return this.super$JsLinkedHashMap$internalContainsKey(key);
  37592. },
  37593. remove$1(_, key) {
  37594. if (!this._validKey.call$1(key))
  37595. return null;
  37596. return this.super$JsLinkedHashMap$internalRemove(key);
  37597. },
  37598. internalComputeHashCode$1(key) {
  37599. return this._hashCode.call$1(key) & 1073741823;
  37600. },
  37601. internalFindBucketIndex$2(bucket, key) {
  37602. var $length, t1, i;
  37603. if (bucket == null)
  37604. return -1;
  37605. $length = bucket.length;
  37606. for (t1 = this._equals, i = 0; i < $length; ++i)
  37607. if (t1.call$2(bucket[i].hashMapCellKey, key))
  37608. return i;
  37609. return -1;
  37610. }
  37611. };
  37612. A._LinkedCustomHashMap_closure.prototype = {
  37613. call$1(v) {
  37614. return this.K._is(v);
  37615. },
  37616. $signature: 128
  37617. };
  37618. A._LinkedHashSet.prototype = {
  37619. _newSet$0() {
  37620. return new A._LinkedHashSet(A._instanceType(this)._eval$1("_LinkedHashSet<1>"));
  37621. },
  37622. _newSimilarSet$1$0($R) {
  37623. return new A._LinkedHashSet($R._eval$1("_LinkedHashSet<0>"));
  37624. },
  37625. _newSimilarSet$0() {
  37626. return this._newSimilarSet$1$0(type$.dynamic);
  37627. },
  37628. get$iterator(_) {
  37629. var _this = this,
  37630. t1 = new A._LinkedHashSetIterator(_this, _this._modifications, A._instanceType(_this)._eval$1("_LinkedHashSetIterator<1>"));
  37631. t1._cell = _this._first;
  37632. return t1;
  37633. },
  37634. get$length(_) {
  37635. return this._collection$_length;
  37636. },
  37637. get$isEmpty(_) {
  37638. return this._collection$_length === 0;
  37639. },
  37640. get$isNotEmpty(_) {
  37641. return this._collection$_length !== 0;
  37642. },
  37643. contains$1(_, object) {
  37644. var strings, nums;
  37645. if (typeof object == "string" && object !== "__proto__") {
  37646. strings = this._strings;
  37647. if (strings == null)
  37648. return false;
  37649. return strings[object] != null;
  37650. } else if (typeof object == "number" && (object & 1073741823) === object) {
  37651. nums = this._nums;
  37652. if (nums == null)
  37653. return false;
  37654. return nums[object] != null;
  37655. } else
  37656. return this._contains$1(object);
  37657. },
  37658. _contains$1(object) {
  37659. var rest = this._collection$_rest;
  37660. if (rest == null)
  37661. return false;
  37662. return this._findBucketIndex$2(rest[this._computeHashCode$1(object)], object) >= 0;
  37663. },
  37664. get$first(_) {
  37665. var first = this._first;
  37666. if (first == null)
  37667. throw A.wrapException(A.StateError$("No elements"));
  37668. return first._element;
  37669. },
  37670. get$last(_) {
  37671. var last = this._last;
  37672. if (last == null)
  37673. throw A.wrapException(A.StateError$("No elements"));
  37674. return last._element;
  37675. },
  37676. add$1(_, element) {
  37677. var strings, nums, _this = this;
  37678. if (typeof element == "string" && element !== "__proto__") {
  37679. strings = _this._strings;
  37680. return _this._addHashTableEntry$2(strings == null ? _this._strings = A._LinkedHashSet__newHashTable() : strings, element);
  37681. } else if (typeof element == "number" && (element & 1073741823) === element) {
  37682. nums = _this._nums;
  37683. return _this._addHashTableEntry$2(nums == null ? _this._nums = A._LinkedHashSet__newHashTable() : nums, element);
  37684. } else
  37685. return _this._add$1(element);
  37686. },
  37687. _add$1(element) {
  37688. var hash, bucket, _this = this,
  37689. rest = _this._collection$_rest;
  37690. if (rest == null)
  37691. rest = _this._collection$_rest = A._LinkedHashSet__newHashTable();
  37692. hash = _this._computeHashCode$1(element);
  37693. bucket = rest[hash];
  37694. if (bucket == null)
  37695. rest[hash] = [_this._newLinkedCell$1(element)];
  37696. else {
  37697. if (_this._findBucketIndex$2(bucket, element) >= 0)
  37698. return false;
  37699. bucket.push(_this._newLinkedCell$1(element));
  37700. }
  37701. return true;
  37702. },
  37703. remove$1(_, object) {
  37704. var _this = this;
  37705. if (typeof object == "string" && object !== "__proto__")
  37706. return _this._removeHashTableEntry$2(_this._strings, object);
  37707. else if (typeof object == "number" && (object & 1073741823) === object)
  37708. return _this._removeHashTableEntry$2(_this._nums, object);
  37709. else
  37710. return _this._remove$1(object);
  37711. },
  37712. _remove$1(object) {
  37713. var hash, bucket, index, cell, _this = this,
  37714. rest = _this._collection$_rest;
  37715. if (rest == null)
  37716. return false;
  37717. hash = _this._computeHashCode$1(object);
  37718. bucket = rest[hash];
  37719. index = _this._findBucketIndex$2(bucket, object);
  37720. if (index < 0)
  37721. return false;
  37722. cell = bucket.splice(index, 1)[0];
  37723. if (0 === bucket.length)
  37724. delete rest[hash];
  37725. _this._unlinkCell$1(cell);
  37726. return true;
  37727. },
  37728. _addHashTableEntry$2(table, element) {
  37729. if (table[element] != null)
  37730. return false;
  37731. table[element] = this._newLinkedCell$1(element);
  37732. return true;
  37733. },
  37734. _removeHashTableEntry$2(table, element) {
  37735. var cell;
  37736. if (table == null)
  37737. return false;
  37738. cell = table[element];
  37739. if (cell == null)
  37740. return false;
  37741. this._unlinkCell$1(cell);
  37742. delete table[element];
  37743. return true;
  37744. },
  37745. _modified$0() {
  37746. this._modifications = this._modifications + 1 & 1073741823;
  37747. },
  37748. _newLinkedCell$1(element) {
  37749. var t1, _this = this,
  37750. cell = new A._LinkedHashSetCell(element);
  37751. if (_this._first == null)
  37752. _this._first = _this._last = cell;
  37753. else {
  37754. t1 = _this._last;
  37755. t1.toString;
  37756. cell._previous = t1;
  37757. _this._last = t1._next = cell;
  37758. }
  37759. ++_this._collection$_length;
  37760. _this._modified$0();
  37761. return cell;
  37762. },
  37763. _unlinkCell$1(cell) {
  37764. var _this = this,
  37765. previous = cell._previous,
  37766. next = cell._next;
  37767. if (previous == null)
  37768. _this._first = next;
  37769. else
  37770. previous._next = next;
  37771. if (next == null)
  37772. _this._last = previous;
  37773. else
  37774. next._previous = previous;
  37775. --_this._collection$_length;
  37776. _this._modified$0();
  37777. },
  37778. _computeHashCode$1(element) {
  37779. return J.get$hashCode$(element) & 1073741823;
  37780. },
  37781. _findBucketIndex$2(bucket, element) {
  37782. var $length, i;
  37783. if (bucket == null)
  37784. return -1;
  37785. $length = bucket.length;
  37786. for (i = 0; i < $length; ++i)
  37787. if (J.$eq$(bucket[i]._element, element))
  37788. return i;
  37789. return -1;
  37790. }
  37791. };
  37792. A._LinkedIdentityHashSet.prototype = {
  37793. _newSet$0() {
  37794. return new A._LinkedIdentityHashSet(this.$ti);
  37795. },
  37796. _newSimilarSet$1$0($R) {
  37797. return new A._LinkedIdentityHashSet($R._eval$1("_LinkedIdentityHashSet<0>"));
  37798. },
  37799. _newSimilarSet$0() {
  37800. return this._newSimilarSet$1$0(type$.dynamic);
  37801. },
  37802. _computeHashCode$1(key) {
  37803. return A.objectHashCode(key) & 1073741823;
  37804. },
  37805. _findBucketIndex$2(bucket, element) {
  37806. var $length, i, t1;
  37807. if (bucket == null)
  37808. return -1;
  37809. $length = bucket.length;
  37810. for (i = 0; i < $length; ++i) {
  37811. t1 = bucket[i]._element;
  37812. if (t1 == null ? element == null : t1 === element)
  37813. return i;
  37814. }
  37815. return -1;
  37816. }
  37817. };
  37818. A._LinkedHashSetCell.prototype = {};
  37819. A._LinkedHashSetIterator.prototype = {
  37820. get$current(_) {
  37821. var t1 = this._collection$_current;
  37822. return t1 == null ? this.$ti._precomputed1._as(t1) : t1;
  37823. },
  37824. moveNext$0() {
  37825. var _this = this,
  37826. cell = _this._cell,
  37827. t1 = _this._set;
  37828. if (_this._modifications !== t1._modifications)
  37829. throw A.wrapException(A.ConcurrentModificationError$(t1));
  37830. else if (cell == null) {
  37831. _this._collection$_current = null;
  37832. return false;
  37833. } else {
  37834. _this._collection$_current = cell._element;
  37835. _this._cell = cell._next;
  37836. return true;
  37837. }
  37838. }
  37839. };
  37840. A.UnmodifiableListView.prototype = {
  37841. cast$1$0(_, $R) {
  37842. return new A.UnmodifiableListView(J.cast$1$0$ax(this._collection$_source, $R), $R._eval$1("UnmodifiableListView<0>"));
  37843. },
  37844. get$length(_) {
  37845. return J.get$length$asx(this._collection$_source);
  37846. },
  37847. $index(_, index) {
  37848. return J.elementAt$1$ax(this._collection$_source, index);
  37849. }
  37850. };
  37851. A.HashMap_HashMap$from_closure.prototype = {
  37852. call$2(k, v) {
  37853. this.result.$indexSet(0, this.K._as(k), this.V._as(v));
  37854. },
  37855. $signature: 162
  37856. };
  37857. A.LinkedHashMap_LinkedHashMap$from_closure.prototype = {
  37858. call$2(k, v) {
  37859. this.result.$indexSet(0, this.K._as(k), this.V._as(v));
  37860. },
  37861. $signature: 162
  37862. };
  37863. A.ListBase.prototype = {
  37864. get$iterator(receiver) {
  37865. return new A.ListIterator(receiver, this.get$length(receiver), A.instanceType(receiver)._eval$1("ListIterator<ListBase.E>"));
  37866. },
  37867. elementAt$1(receiver, index) {
  37868. return this.$index(receiver, index);
  37869. },
  37870. forEach$1(receiver, action) {
  37871. var i,
  37872. $length = this.get$length(receiver);
  37873. for (i = 0; i < $length; ++i) {
  37874. action.call$1(this.$index(receiver, i));
  37875. if ($length !== this.get$length(receiver))
  37876. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  37877. }
  37878. },
  37879. get$isEmpty(receiver) {
  37880. return this.get$length(receiver) === 0;
  37881. },
  37882. get$isNotEmpty(receiver) {
  37883. return !this.get$isEmpty(receiver);
  37884. },
  37885. get$first(receiver) {
  37886. if (this.get$length(receiver) === 0)
  37887. throw A.wrapException(A.IterableElementError_noElement());
  37888. return this.$index(receiver, 0);
  37889. },
  37890. get$last(receiver) {
  37891. if (this.get$length(receiver) === 0)
  37892. throw A.wrapException(A.IterableElementError_noElement());
  37893. return this.$index(receiver, this.get$length(receiver) - 1);
  37894. },
  37895. get$single(receiver) {
  37896. if (this.get$length(receiver) === 0)
  37897. throw A.wrapException(A.IterableElementError_noElement());
  37898. if (this.get$length(receiver) > 1)
  37899. throw A.wrapException(A.IterableElementError_tooMany());
  37900. return this.$index(receiver, 0);
  37901. },
  37902. contains$1(receiver, element) {
  37903. var i,
  37904. $length = this.get$length(receiver);
  37905. for (i = 0; i < $length; ++i) {
  37906. if (J.$eq$(this.$index(receiver, i), element))
  37907. return true;
  37908. if ($length !== this.get$length(receiver))
  37909. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  37910. }
  37911. return false;
  37912. },
  37913. every$1(receiver, test) {
  37914. var i,
  37915. $length = this.get$length(receiver);
  37916. for (i = 0; i < $length; ++i) {
  37917. if (!test.call$1(this.$index(receiver, i)))
  37918. return false;
  37919. if ($length !== this.get$length(receiver))
  37920. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  37921. }
  37922. return true;
  37923. },
  37924. any$1(receiver, test) {
  37925. var i,
  37926. $length = this.get$length(receiver);
  37927. for (i = 0; i < $length; ++i) {
  37928. if (test.call$1(this.$index(receiver, i)))
  37929. return true;
  37930. if ($length !== this.get$length(receiver))
  37931. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  37932. }
  37933. return false;
  37934. },
  37935. lastWhere$2$orElse(receiver, test, orElse) {
  37936. var i, element,
  37937. $length = this.get$length(receiver);
  37938. for (i = $length - 1; i >= 0; --i) {
  37939. element = this.$index(receiver, i);
  37940. if (test.call$1(element))
  37941. return element;
  37942. if ($length !== this.get$length(receiver))
  37943. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  37944. }
  37945. if (orElse != null)
  37946. return orElse.call$0();
  37947. throw A.wrapException(A.IterableElementError_noElement());
  37948. },
  37949. join$1(receiver, separator) {
  37950. var t1;
  37951. if (this.get$length(receiver) === 0)
  37952. return "";
  37953. t1 = A.StringBuffer__writeAll("", receiver, separator);
  37954. return t1.charCodeAt(0) == 0 ? t1 : t1;
  37955. },
  37956. where$1(receiver, test) {
  37957. return new A.WhereIterable(receiver, test, A.instanceType(receiver)._eval$1("WhereIterable<ListBase.E>"));
  37958. },
  37959. map$1$1(receiver, f, $T) {
  37960. return new A.MappedListIterable(receiver, f, A.instanceType(receiver)._eval$1("@<ListBase.E>")._bind$1($T)._eval$1("MappedListIterable<1,2>"));
  37961. },
  37962. expand$1$1(receiver, f, $T) {
  37963. return new A.ExpandIterable(receiver, f, A.instanceType(receiver)._eval$1("@<ListBase.E>")._bind$1($T)._eval$1("ExpandIterable<1,2>"));
  37964. },
  37965. skip$1(receiver, count) {
  37966. return A.SubListIterable$(receiver, count, null, A.instanceType(receiver)._eval$1("ListBase.E"));
  37967. },
  37968. take$1(receiver, count) {
  37969. return A.SubListIterable$(receiver, 0, A.checkNotNullable(count, "count", type$.int), A.instanceType(receiver)._eval$1("ListBase.E"));
  37970. },
  37971. toList$1$growable(receiver, growable) {
  37972. var t1, first, result, i, _this = this;
  37973. if (_this.get$isEmpty(receiver)) {
  37974. t1 = J.JSArray_JSArray$growable(0, A.instanceType(receiver)._eval$1("ListBase.E"));
  37975. return t1;
  37976. }
  37977. first = _this.$index(receiver, 0);
  37978. result = A.List_List$filled(_this.get$length(receiver), first, true, A.instanceType(receiver)._eval$1("ListBase.E"));
  37979. for (i = 1; i < _this.get$length(receiver); ++i)
  37980. result[i] = _this.$index(receiver, i);
  37981. return result;
  37982. },
  37983. toList$0(receiver) {
  37984. return this.toList$1$growable(receiver, true);
  37985. },
  37986. toSet$0(receiver) {
  37987. var i,
  37988. result = A.LinkedHashSet_LinkedHashSet(A.instanceType(receiver)._eval$1("ListBase.E"));
  37989. for (i = 0; i < this.get$length(receiver); ++i)
  37990. result.add$1(0, this.$index(receiver, i));
  37991. return result;
  37992. },
  37993. add$1(receiver, element) {
  37994. var t1 = this.get$length(receiver);
  37995. this.set$length(receiver, t1 + 1);
  37996. this.$indexSet(receiver, t1, element);
  37997. },
  37998. addAll$1(receiver, iterable) {
  37999. var t1,
  38000. i = this.get$length(receiver);
  38001. for (t1 = iterable.get$iterator(iterable); t1.moveNext$0();) {
  38002. this.add$1(receiver, t1.get$current(t1));
  38003. ++i;
  38004. }
  38005. },
  38006. _closeGap$2(receiver, start, end) {
  38007. var i, _this = this,
  38008. $length = _this.get$length(receiver),
  38009. size = end - start;
  38010. for (i = end; i < $length; ++i)
  38011. _this.$indexSet(receiver, i - size, _this.$index(receiver, i));
  38012. _this.set$length(receiver, $length - size);
  38013. },
  38014. cast$1$0(receiver, $R) {
  38015. return new A.CastList(receiver, A.instanceType(receiver)._eval$1("@<ListBase.E>")._bind$1($R)._eval$1("CastList<1,2>"));
  38016. },
  38017. sort$1(receiver, compare) {
  38018. var t1 = compare == null ? A.collection_ListBase__compareAny$closure() : compare;
  38019. A.Sort__doSort(receiver, 0, this.get$length(receiver) - 1, t1);
  38020. },
  38021. sublist$2(receiver, start, end) {
  38022. var listLength = this.get$length(receiver);
  38023. A.RangeError_checkValidRange(start, listLength, listLength);
  38024. return A.List_List$from(this.getRange$2(receiver, start, listLength), true, A.instanceType(receiver)._eval$1("ListBase.E"));
  38025. },
  38026. sublist$1(receiver, start) {
  38027. return this.sublist$2(receiver, start, null);
  38028. },
  38029. getRange$2(receiver, start, end) {
  38030. A.RangeError_checkValidRange(start, end, this.get$length(receiver));
  38031. return A.SubListIterable$(receiver, start, end, A.instanceType(receiver)._eval$1("ListBase.E"));
  38032. },
  38033. removeRange$2(receiver, start, end) {
  38034. A.RangeError_checkValidRange(start, end, this.get$length(receiver));
  38035. if (end > start)
  38036. this._closeGap$2(receiver, start, end);
  38037. },
  38038. fillRange$3(receiver, start, end, fill) {
  38039. var i,
  38040. value = fill == null ? A.instanceType(receiver)._eval$1("ListBase.E")._as(fill) : fill;
  38041. A.RangeError_checkValidRange(start, end, this.get$length(receiver));
  38042. for (i = start; i < end; ++i)
  38043. this.$indexSet(receiver, i, value);
  38044. },
  38045. setRange$4(receiver, start, end, iterable, skipCount) {
  38046. var $length, otherStart, otherList, t1, i;
  38047. A.RangeError_checkValidRange(start, end, this.get$length(receiver));
  38048. $length = end - start;
  38049. if ($length === 0)
  38050. return;
  38051. A.RangeError_checkNotNegative(skipCount, "skipCount");
  38052. if (A.instanceType(receiver)._eval$1("List<ListBase.E>")._is(iterable)) {
  38053. otherStart = skipCount;
  38054. otherList = iterable;
  38055. } else {
  38056. otherList = J.skip$1$ax(iterable, skipCount).toList$1$growable(0, false);
  38057. otherStart = 0;
  38058. }
  38059. t1 = J.getInterceptor$asx(otherList);
  38060. if (otherStart + $length > t1.get$length(otherList))
  38061. throw A.wrapException(A.IterableElementError_tooFew());
  38062. if (otherStart < start)
  38063. for (i = $length - 1; i >= 0; --i)
  38064. this.$indexSet(receiver, start + i, t1.$index(otherList, otherStart + i));
  38065. else
  38066. for (i = 0; i < $length; ++i)
  38067. this.$indexSet(receiver, start + i, t1.$index(otherList, otherStart + i));
  38068. },
  38069. get$reversed(receiver) {
  38070. return new A.ReversedListIterable(receiver, A.instanceType(receiver)._eval$1("ReversedListIterable<ListBase.E>"));
  38071. },
  38072. toString$0(receiver) {
  38073. return A.Iterable_iterableToFullString(receiver, "[", "]");
  38074. },
  38075. $isEfficientLengthIterable: 1,
  38076. $isIterable: 1,
  38077. $isList: 1
  38078. };
  38079. A.MapBase.prototype = {
  38080. cast$2$0(_, RK, RV) {
  38081. var t1 = A._instanceType(this);
  38082. return A.Map_castFrom(this, t1._eval$1("MapBase.K"), t1._eval$1("MapBase.V"), RK, RV);
  38083. },
  38084. forEach$1(_, action) {
  38085. var t1, t2, key, t3, _this = this;
  38086. for (t1 = J.get$iterator$ax(_this.get$keys(_this)), t2 = A._instanceType(_this)._eval$1("MapBase.V"); t1.moveNext$0();) {
  38087. key = t1.get$current(t1);
  38088. t3 = _this.$index(0, key);
  38089. action.call$2(key, t3 == null ? t2._as(t3) : t3);
  38090. }
  38091. },
  38092. addAll$1(_, other) {
  38093. other.forEach$1(0, new A.MapBase_addAll_closure(this));
  38094. },
  38095. get$entries(_) {
  38096. var _this = this;
  38097. return J.map$1$1$ax(_this.get$keys(_this), new A.MapBase_entries_closure(_this), A._instanceType(_this)._eval$1("MapEntry<MapBase.K,MapBase.V>"));
  38098. },
  38099. removeWhere$1(_, test) {
  38100. var t2, key, t3, _i, _this = this,
  38101. t1 = A._instanceType(_this),
  38102. keysToRemove = A._setArrayType([], t1._eval$1("JSArray<MapBase.K>"));
  38103. for (t2 = J.get$iterator$ax(_this.get$keys(_this)), t1 = t1._eval$1("MapBase.V"); t2.moveNext$0();) {
  38104. key = t2.get$current(t2);
  38105. t3 = _this.$index(0, key);
  38106. if (test.call$2(key, t3 == null ? t1._as(t3) : t3))
  38107. keysToRemove.push(key);
  38108. }
  38109. for (t1 = keysToRemove.length, _i = 0; _i < keysToRemove.length; keysToRemove.length === t1 || (0, A.throwConcurrentModificationError)(keysToRemove), ++_i)
  38110. _this.remove$1(0, keysToRemove[_i]);
  38111. },
  38112. containsKey$1(key) {
  38113. return J.contains$1$asx(this.get$keys(this), key);
  38114. },
  38115. get$length(_) {
  38116. return J.get$length$asx(this.get$keys(this));
  38117. },
  38118. get$isEmpty(_) {
  38119. return J.get$isEmpty$asx(this.get$keys(this));
  38120. },
  38121. get$isNotEmpty(_) {
  38122. return J.get$isNotEmpty$asx(this.get$keys(this));
  38123. },
  38124. get$values(_) {
  38125. var t1 = A._instanceType(this);
  38126. return new A._MapBaseValueIterable(this, t1._eval$1("@<MapBase.K>")._bind$1(t1._eval$1("MapBase.V"))._eval$1("_MapBaseValueIterable<1,2>"));
  38127. },
  38128. toString$0(_) {
  38129. return A.MapBase_mapToString(this);
  38130. },
  38131. $isMap: 1
  38132. };
  38133. A.MapBase_addAll_closure.prototype = {
  38134. call$2(key, value) {
  38135. this.$this.$indexSet(0, key, value);
  38136. },
  38137. $signature() {
  38138. return A._instanceType(this.$this)._eval$1("~(MapBase.K,MapBase.V)");
  38139. }
  38140. };
  38141. A.MapBase_entries_closure.prototype = {
  38142. call$1(key) {
  38143. var t1 = this.$this,
  38144. t2 = t1.$index(0, key);
  38145. if (t2 == null)
  38146. t2 = A._instanceType(t1)._eval$1("MapBase.V")._as(t2);
  38147. t1 = A._instanceType(t1);
  38148. return new A.MapEntry(key, t2, t1._eval$1("@<MapBase.K>")._bind$1(t1._eval$1("MapBase.V"))._eval$1("MapEntry<1,2>"));
  38149. },
  38150. $signature() {
  38151. return A._instanceType(this.$this)._eval$1("MapEntry<MapBase.K,MapBase.V>(MapBase.K)");
  38152. }
  38153. };
  38154. A.MapBase_mapToString_closure.prototype = {
  38155. call$2(k, v) {
  38156. var t2,
  38157. t1 = this._box_0;
  38158. if (!t1.first)
  38159. this.result._contents += ", ";
  38160. t1.first = false;
  38161. t1 = this.result;
  38162. t2 = A.S(k);
  38163. t2 = t1._contents += t2;
  38164. t1._contents = t2 + ": ";
  38165. t2 = A.S(v);
  38166. t1._contents += t2;
  38167. },
  38168. $signature: 168
  38169. };
  38170. A.UnmodifiableMapBase.prototype = {};
  38171. A._MapBaseValueIterable.prototype = {
  38172. get$length(_) {
  38173. var t1 = this._map;
  38174. return t1.get$length(t1);
  38175. },
  38176. get$isEmpty(_) {
  38177. var t1 = this._map;
  38178. return t1.get$isEmpty(t1);
  38179. },
  38180. get$isNotEmpty(_) {
  38181. var t1 = this._map;
  38182. return t1.get$isNotEmpty(t1);
  38183. },
  38184. get$first(_) {
  38185. var t1 = this._map;
  38186. t1 = t1.$index(0, J.get$first$ax(t1.get$keys(t1)));
  38187. return t1 == null ? this.$ti._rest[1]._as(t1) : t1;
  38188. },
  38189. get$single(_) {
  38190. var t1 = this._map;
  38191. t1 = t1.$index(0, J.get$single$ax(t1.get$keys(t1)));
  38192. return t1 == null ? this.$ti._rest[1]._as(t1) : t1;
  38193. },
  38194. get$last(_) {
  38195. var t1 = this._map;
  38196. t1 = t1.$index(0, J.get$last$ax(t1.get$keys(t1)));
  38197. return t1 == null ? this.$ti._rest[1]._as(t1) : t1;
  38198. },
  38199. get$iterator(_) {
  38200. var t1 = this._map,
  38201. t2 = this.$ti;
  38202. return new A._MapBaseValueIterator(J.get$iterator$ax(t1.get$keys(t1)), t1, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("_MapBaseValueIterator<1,2>"));
  38203. }
  38204. };
  38205. A._MapBaseValueIterator.prototype = {
  38206. moveNext$0() {
  38207. var _this = this,
  38208. t1 = _this._collection$_keys;
  38209. if (t1.moveNext$0()) {
  38210. _this._collection$_current = _this._map.$index(0, t1.get$current(t1));
  38211. return true;
  38212. }
  38213. _this._collection$_current = null;
  38214. return false;
  38215. },
  38216. get$current(_) {
  38217. var t1 = this._collection$_current;
  38218. return t1 == null ? this.$ti._rest[1]._as(t1) : t1;
  38219. }
  38220. };
  38221. A._UnmodifiableMapMixin.prototype = {
  38222. $indexSet(_, key, value) {
  38223. throw A.wrapException(A.UnsupportedError$("Cannot modify unmodifiable map"));
  38224. },
  38225. addAll$1(_, other) {
  38226. throw A.wrapException(A.UnsupportedError$("Cannot modify unmodifiable map"));
  38227. },
  38228. remove$1(_, key) {
  38229. throw A.wrapException(A.UnsupportedError$("Cannot modify unmodifiable map"));
  38230. }
  38231. };
  38232. A.MapView.prototype = {
  38233. cast$2$0(_, RK, RV) {
  38234. return this._map.cast$2$0(0, RK, RV);
  38235. },
  38236. $index(_, key) {
  38237. return this._map.$index(0, key);
  38238. },
  38239. $indexSet(_, key, value) {
  38240. this._map.$indexSet(0, key, value);
  38241. },
  38242. addAll$1(_, other) {
  38243. this._map.addAll$1(0, other);
  38244. },
  38245. containsKey$1(key) {
  38246. return this._map.containsKey$1(key);
  38247. },
  38248. forEach$1(_, action) {
  38249. this._map.forEach$1(0, action);
  38250. },
  38251. get$isEmpty(_) {
  38252. var t1 = this._map;
  38253. return t1.get$isEmpty(t1);
  38254. },
  38255. get$isNotEmpty(_) {
  38256. var t1 = this._map;
  38257. return t1.get$isNotEmpty(t1);
  38258. },
  38259. get$length(_) {
  38260. var t1 = this._map;
  38261. return t1.get$length(t1);
  38262. },
  38263. get$keys(_) {
  38264. var t1 = this._map;
  38265. return t1.get$keys(t1);
  38266. },
  38267. remove$1(_, key) {
  38268. return this._map.remove$1(0, key);
  38269. },
  38270. toString$0(_) {
  38271. return this._map.toString$0(0);
  38272. },
  38273. get$values(_) {
  38274. var t1 = this._map;
  38275. return t1.get$values(t1);
  38276. },
  38277. get$entries(_) {
  38278. var t1 = this._map;
  38279. return t1.get$entries(t1);
  38280. },
  38281. $isMap: 1
  38282. };
  38283. A.UnmodifiableMapView.prototype = {
  38284. cast$2$0(_, RK, RV) {
  38285. return new A.UnmodifiableMapView(this._map.cast$2$0(0, RK, RV), RK._eval$1("@<0>")._bind$1(RV)._eval$1("UnmodifiableMapView<1,2>"));
  38286. }
  38287. };
  38288. A.ListQueue.prototype = {
  38289. get$iterator(_) {
  38290. var _this = this;
  38291. return new A._ListQueueIterator(_this, _this._tail, _this._modificationCount, _this._head, _this.$ti._eval$1("_ListQueueIterator<1>"));
  38292. },
  38293. get$isEmpty(_) {
  38294. return this._head === this._tail;
  38295. },
  38296. get$length(_) {
  38297. return (this._tail - this._head & this._table.length - 1) >>> 0;
  38298. },
  38299. get$first(_) {
  38300. var _this = this,
  38301. t1 = _this._head;
  38302. if (t1 === _this._tail)
  38303. throw A.wrapException(A.IterableElementError_noElement());
  38304. t1 = _this._table[t1];
  38305. return t1 == null ? _this.$ti._precomputed1._as(t1) : t1;
  38306. },
  38307. get$last(_) {
  38308. var _this = this,
  38309. t1 = _this._head,
  38310. t2 = _this._tail;
  38311. if (t1 === t2)
  38312. throw A.wrapException(A.IterableElementError_noElement());
  38313. t1 = _this._table;
  38314. t1 = t1[(t2 - 1 & t1.length - 1) >>> 0];
  38315. return t1 == null ? _this.$ti._precomputed1._as(t1) : t1;
  38316. },
  38317. get$single(_) {
  38318. var t1, _this = this;
  38319. if (_this._head === _this._tail)
  38320. throw A.wrapException(A.IterableElementError_noElement());
  38321. if (_this.get$length(0) > 1)
  38322. throw A.wrapException(A.IterableElementError_tooMany());
  38323. t1 = _this._table[_this._head];
  38324. return t1 == null ? _this.$ti._precomputed1._as(t1) : t1;
  38325. },
  38326. elementAt$1(_, index) {
  38327. var t1, _this = this;
  38328. A.IndexError_check(index, _this.get$length(0), _this, null, null);
  38329. t1 = _this._table;
  38330. t1 = t1[(_this._head + index & t1.length - 1) >>> 0];
  38331. return t1 == null ? _this.$ti._precomputed1._as(t1) : t1;
  38332. },
  38333. toList$1$growable(_, growable) {
  38334. var t1, list, t2, t3, i, t4, _this = this,
  38335. mask = _this._table.length - 1,
  38336. $length = (_this._tail - _this._head & mask) >>> 0;
  38337. if ($length === 0) {
  38338. t1 = J.JSArray_JSArray$growable(0, _this.$ti._precomputed1);
  38339. return t1;
  38340. }
  38341. t1 = _this.$ti._precomputed1;
  38342. list = A.List_List$filled($length, _this.get$first(0), true, t1);
  38343. for (t2 = _this._table, t3 = _this._head, i = 0; i < $length; ++i) {
  38344. t4 = t2[(t3 + i & mask) >>> 0];
  38345. list[i] = t4 == null ? t1._as(t4) : t4;
  38346. }
  38347. return list;
  38348. },
  38349. toList$0(_) {
  38350. return this.toList$1$growable(0, true);
  38351. },
  38352. addAll$1(_, elements) {
  38353. var addCount, $length, t2, t3, t4, newTable, endSpace, preSpace, _i, _this = this,
  38354. t1 = _this.$ti;
  38355. if (t1._eval$1("List<1>")._is(elements)) {
  38356. addCount = elements.length;
  38357. $length = _this.get$length(0);
  38358. t2 = $length + addCount;
  38359. t3 = _this._table;
  38360. t4 = t3.length;
  38361. if (t2 >= t4) {
  38362. newTable = A.List_List$filled(A.ListQueue__nextPowerOf2(t2 + (t2 >>> 1)), null, false, t1._eval$1("1?"));
  38363. _this._tail = _this._collection$_writeToList$1(newTable);
  38364. _this._table = newTable;
  38365. _this._head = 0;
  38366. B.JSArray_methods.setRange$4(newTable, $length, t2, elements, 0);
  38367. _this._tail += addCount;
  38368. } else {
  38369. t1 = _this._tail;
  38370. endSpace = t4 - t1;
  38371. if (addCount < endSpace) {
  38372. B.JSArray_methods.setRange$4(t3, t1, t1 + addCount, elements, 0);
  38373. _this._tail += addCount;
  38374. } else {
  38375. preSpace = addCount - endSpace;
  38376. B.JSArray_methods.setRange$4(t3, t1, t1 + endSpace, elements, 0);
  38377. B.JSArray_methods.setRange$4(_this._table, 0, preSpace, elements, endSpace);
  38378. _this._tail = preSpace;
  38379. }
  38380. }
  38381. ++_this._modificationCount;
  38382. } else
  38383. for (t1 = elements.length, _i = 0; _i < elements.length; elements.length === t1 || (0, A.throwConcurrentModificationError)(elements), ++_i)
  38384. _this._add$1(elements[_i]);
  38385. },
  38386. clear$0(_) {
  38387. var t2, t3, _this = this,
  38388. i = _this._head,
  38389. t1 = _this._tail;
  38390. if (i !== t1) {
  38391. for (t2 = _this._table, t3 = t2.length - 1; i !== t1; i = (i + 1 & t3) >>> 0)
  38392. t2[i] = null;
  38393. _this._head = _this._tail = 0;
  38394. ++_this._modificationCount;
  38395. }
  38396. },
  38397. toString$0(_) {
  38398. return A.Iterable_iterableToFullString(this, "{", "}");
  38399. },
  38400. addFirst$1(value) {
  38401. var _this = this,
  38402. t1 = _this._head,
  38403. t2 = _this._table;
  38404. t1 = _this._head = (t1 - 1 & t2.length - 1) >>> 0;
  38405. t2[t1] = value;
  38406. if (t1 === _this._tail)
  38407. _this._grow$0();
  38408. ++_this._modificationCount;
  38409. },
  38410. removeFirst$0() {
  38411. var t2, result, _this = this,
  38412. t1 = _this._head;
  38413. if (t1 === _this._tail)
  38414. throw A.wrapException(A.IterableElementError_noElement());
  38415. ++_this._modificationCount;
  38416. t2 = _this._table;
  38417. result = t2[t1];
  38418. if (result == null)
  38419. result = _this.$ti._precomputed1._as(result);
  38420. t2[t1] = null;
  38421. _this._head = (t1 + 1 & t2.length - 1) >>> 0;
  38422. return result;
  38423. },
  38424. _add$1(element) {
  38425. var _this = this,
  38426. t1 = _this._table,
  38427. t2 = _this._tail;
  38428. t1[t2] = element;
  38429. t1 = (t2 + 1 & t1.length - 1) >>> 0;
  38430. _this._tail = t1;
  38431. if (_this._head === t1)
  38432. _this._grow$0();
  38433. ++_this._modificationCount;
  38434. },
  38435. _grow$0() {
  38436. var _this = this,
  38437. newTable = A.List_List$filled(_this._table.length * 2, null, false, _this.$ti._eval$1("1?")),
  38438. t1 = _this._table,
  38439. t2 = _this._head,
  38440. split = t1.length - t2;
  38441. B.JSArray_methods.setRange$4(newTable, 0, split, t1, t2);
  38442. B.JSArray_methods.setRange$4(newTable, split, split + _this._head, _this._table, 0);
  38443. _this._head = 0;
  38444. _this._tail = _this._table.length;
  38445. _this._table = newTable;
  38446. },
  38447. _collection$_writeToList$1(target) {
  38448. var $length, firstPartSize, _this = this,
  38449. t1 = _this._head,
  38450. t2 = _this._tail,
  38451. t3 = _this._table;
  38452. if (t1 <= t2) {
  38453. $length = t2 - t1;
  38454. B.JSArray_methods.setRange$4(target, 0, $length, t3, t1);
  38455. return $length;
  38456. } else {
  38457. firstPartSize = t3.length - t1;
  38458. B.JSArray_methods.setRange$4(target, 0, firstPartSize, t3, t1);
  38459. B.JSArray_methods.setRange$4(target, firstPartSize, firstPartSize + _this._tail, _this._table, 0);
  38460. return _this._tail + firstPartSize;
  38461. }
  38462. },
  38463. $isQueue: 1
  38464. };
  38465. A._ListQueueIterator.prototype = {
  38466. get$current(_) {
  38467. var t1 = this._collection$_current;
  38468. return t1 == null ? this.$ti._precomputed1._as(t1) : t1;
  38469. },
  38470. moveNext$0() {
  38471. var t2, _this = this,
  38472. t1 = _this._queue;
  38473. if (_this._modificationCount !== t1._modificationCount)
  38474. A.throwExpression(A.ConcurrentModificationError$(t1));
  38475. t2 = _this._collection$_position;
  38476. if (t2 === _this._collection$_end) {
  38477. _this._collection$_current = null;
  38478. return false;
  38479. }
  38480. t1 = t1._table;
  38481. _this._collection$_current = t1[t2];
  38482. _this._collection$_position = (t2 + 1 & t1.length - 1) >>> 0;
  38483. return true;
  38484. }
  38485. };
  38486. A.SetBase.prototype = {
  38487. get$isEmpty(_) {
  38488. return this.get$length(this) === 0;
  38489. },
  38490. get$isNotEmpty(_) {
  38491. return this.get$length(this) !== 0;
  38492. },
  38493. addAll$1(_, elements) {
  38494. var t1;
  38495. for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();)
  38496. this.add$1(0, t1.get$current(t1));
  38497. },
  38498. removeAll$1(elements) {
  38499. var t1;
  38500. for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();)
  38501. this.remove$1(0, t1.get$current(t1));
  38502. },
  38503. difference$1(other) {
  38504. var t1, t2, element,
  38505. result = this.toSet$0(0);
  38506. for (t1 = this.get$iterator(this), t2 = other._source; t1.moveNext$0();) {
  38507. element = t1.get$current(t1);
  38508. if (t2.contains$1(0, element))
  38509. result.remove$1(0, element);
  38510. }
  38511. return result;
  38512. },
  38513. toList$1$growable(_, growable) {
  38514. return A.List_List$of(this, true, A._instanceType(this)._precomputed1);
  38515. },
  38516. toList$0(_) {
  38517. return this.toList$1$growable(0, true);
  38518. },
  38519. map$1$1(_, f, $T) {
  38520. return new A.EfficientLengthMappedIterable(this, f, A._instanceType(this)._eval$1("@<1>")._bind$1($T)._eval$1("EfficientLengthMappedIterable<1,2>"));
  38521. },
  38522. get$single(_) {
  38523. var it, _this = this;
  38524. if (_this.get$length(_this) > 1)
  38525. throw A.wrapException(A.IterableElementError_tooMany());
  38526. it = _this.get$iterator(_this);
  38527. if (!it.moveNext$0())
  38528. throw A.wrapException(A.IterableElementError_noElement());
  38529. return it.get$current(it);
  38530. },
  38531. toString$0(_) {
  38532. return A.Iterable_iterableToFullString(this, "{", "}");
  38533. },
  38534. where$1(_, f) {
  38535. return new A.WhereIterable(this, f, A._instanceType(this)._eval$1("WhereIterable<1>"));
  38536. },
  38537. forEach$1(_, f) {
  38538. var t1;
  38539. for (t1 = this.get$iterator(this); t1.moveNext$0();)
  38540. f.call$1(t1.get$current(t1));
  38541. },
  38542. every$1(_, f) {
  38543. var t1;
  38544. for (t1 = this.get$iterator(this); t1.moveNext$0();)
  38545. if (!f.call$1(t1.get$current(t1)))
  38546. return false;
  38547. return true;
  38548. },
  38549. any$1(_, test) {
  38550. var t1;
  38551. for (t1 = this.get$iterator(this); t1.moveNext$0();)
  38552. if (test.call$1(t1.get$current(t1)))
  38553. return true;
  38554. return false;
  38555. },
  38556. take$1(_, n) {
  38557. return A.TakeIterable_TakeIterable(this, n, A._instanceType(this)._precomputed1);
  38558. },
  38559. skip$1(_, n) {
  38560. return A.SkipIterable_SkipIterable(this, n, A._instanceType(this)._precomputed1);
  38561. },
  38562. get$first(_) {
  38563. var it = this.get$iterator(this);
  38564. if (!it.moveNext$0())
  38565. throw A.wrapException(A.IterableElementError_noElement());
  38566. return it.get$current(it);
  38567. },
  38568. get$last(_) {
  38569. var result,
  38570. it = this.get$iterator(this);
  38571. if (!it.moveNext$0())
  38572. throw A.wrapException(A.IterableElementError_noElement());
  38573. do
  38574. result = it.get$current(it);
  38575. while (it.moveNext$0());
  38576. return result;
  38577. },
  38578. elementAt$1(_, index) {
  38579. var iterator, skipCount;
  38580. A.RangeError_checkNotNegative(index, "index");
  38581. iterator = this.get$iterator(this);
  38582. for (skipCount = index; iterator.moveNext$0();) {
  38583. if (skipCount === 0)
  38584. return iterator.get$current(iterator);
  38585. --skipCount;
  38586. }
  38587. throw A.wrapException(A.IndexError$withLength(index, index - skipCount, this, null, "index"));
  38588. },
  38589. $isEfficientLengthIterable: 1,
  38590. $isIterable: 1,
  38591. $isSet: 1
  38592. };
  38593. A._SetBase.prototype = {
  38594. difference$1(other) {
  38595. var t1, t2, t3, element, _this = this,
  38596. result = _this._newSet$0();
  38597. for (t1 = A._LinkedHashSetIterator$(_this, _this._modifications, A._instanceType(_this)._precomputed1), t2 = other._source, t3 = t1.$ti._precomputed1; t1.moveNext$0();) {
  38598. element = t1._collection$_current;
  38599. if (element == null)
  38600. element = t3._as(element);
  38601. if (!t2.contains$1(0, element))
  38602. result.add$1(0, element);
  38603. }
  38604. return result;
  38605. },
  38606. intersection$1(other) {
  38607. var t1, t2, t3, element, _this = this,
  38608. result = _this._newSet$0();
  38609. for (t1 = A._LinkedHashSetIterator$(_this, _this._modifications, A._instanceType(_this)._precomputed1), t2 = other._baseMap, t3 = t1.$ti._precomputed1; t1.moveNext$0();) {
  38610. element = t1._collection$_current;
  38611. if (element == null)
  38612. element = t3._as(element);
  38613. if (t2.containsKey$1(element))
  38614. result.add$1(0, element);
  38615. }
  38616. return result;
  38617. },
  38618. toSet$0(_) {
  38619. var t1 = this._newSet$0();
  38620. t1.addAll$1(0, this);
  38621. return t1;
  38622. }
  38623. };
  38624. A._UnmodifiableSetMixin.prototype = {
  38625. add$1(_, value) {
  38626. return A._UnmodifiableSetMixin__throwUnmodifiable();
  38627. },
  38628. addAll$1(_, elements) {
  38629. return A._UnmodifiableSetMixin__throwUnmodifiable();
  38630. },
  38631. remove$1(_, value) {
  38632. return A._UnmodifiableSetMixin__throwUnmodifiable();
  38633. }
  38634. };
  38635. A.UnmodifiableSetView.prototype = {
  38636. contains$1(_, element) {
  38637. return this._collection$_source.contains$1(0, element);
  38638. },
  38639. get$length(_) {
  38640. return this._collection$_source._collection$_length;
  38641. },
  38642. get$iterator(_) {
  38643. var t1 = this._collection$_source;
  38644. return A._LinkedHashSetIterator$(t1, t1._modifications, A._instanceType(t1)._precomputed1);
  38645. },
  38646. toSet$0(_) {
  38647. return this._collection$_source.toSet$0(0);
  38648. }
  38649. };
  38650. A._UnmodifiableMapView_MapView__UnmodifiableMapMixin.prototype = {};
  38651. A._UnmodifiableSetView_SetBase__UnmodifiableSetMixin.prototype = {};
  38652. A._JsonMap.prototype = {
  38653. $index(_, key) {
  38654. var result,
  38655. t1 = this._processed;
  38656. if (t1 == null)
  38657. return this._data.$index(0, key);
  38658. else if (typeof key != "string")
  38659. return null;
  38660. else {
  38661. result = t1[key];
  38662. return typeof result == "undefined" ? this._process$1(key) : result;
  38663. }
  38664. },
  38665. get$length(_) {
  38666. return this._processed == null ? this._data.__js_helper$_length : this._convert$_computeKeys$0().length;
  38667. },
  38668. get$isEmpty(_) {
  38669. return this.get$length(0) === 0;
  38670. },
  38671. get$isNotEmpty(_) {
  38672. return this.get$length(0) > 0;
  38673. },
  38674. get$keys(_) {
  38675. var t1;
  38676. if (this._processed == null) {
  38677. t1 = this._data;
  38678. return new A.LinkedHashMapKeyIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapKeyIterable<1>"));
  38679. }
  38680. return new A._JsonMapKeyIterable(this);
  38681. },
  38682. get$values(_) {
  38683. var _this = this;
  38684. if (_this._processed == null)
  38685. return _this._data.get$values(0);
  38686. return A.MappedIterable_MappedIterable(_this._convert$_computeKeys$0(), new A._JsonMap_values_closure(_this), type$.String, type$.dynamic);
  38687. },
  38688. $indexSet(_, key, value) {
  38689. var processed, original, _this = this;
  38690. if (_this._processed == null)
  38691. _this._data.$indexSet(0, key, value);
  38692. else if (_this.containsKey$1(key)) {
  38693. processed = _this._processed;
  38694. processed[key] = value;
  38695. original = _this._original;
  38696. if (original == null ? processed != null : original !== processed)
  38697. original[key] = null;
  38698. } else
  38699. _this._upgrade$0().$indexSet(0, key, value);
  38700. },
  38701. addAll$1(_, other) {
  38702. other.forEach$1(0, new A._JsonMap_addAll_closure(this));
  38703. },
  38704. containsKey$1(key) {
  38705. if (this._processed == null)
  38706. return this._data.containsKey$1(key);
  38707. if (typeof key != "string")
  38708. return false;
  38709. return Object.prototype.hasOwnProperty.call(this._original, key);
  38710. },
  38711. remove$1(_, key) {
  38712. if (this._processed != null && !this.containsKey$1(key))
  38713. return null;
  38714. return this._upgrade$0().remove$1(0, key);
  38715. },
  38716. forEach$1(_, f) {
  38717. var keys, i, key, value, _this = this;
  38718. if (_this._processed == null)
  38719. return _this._data.forEach$1(0, f);
  38720. keys = _this._convert$_computeKeys$0();
  38721. for (i = 0; i < keys.length; ++i) {
  38722. key = keys[i];
  38723. value = _this._processed[key];
  38724. if (typeof value == "undefined") {
  38725. value = A._convertJsonToDartLazy(_this._original[key]);
  38726. _this._processed[key] = value;
  38727. }
  38728. f.call$2(key, value);
  38729. if (keys !== _this._data)
  38730. throw A.wrapException(A.ConcurrentModificationError$(_this));
  38731. }
  38732. },
  38733. _convert$_computeKeys$0() {
  38734. var keys = this._data;
  38735. if (keys == null)
  38736. keys = this._data = A._setArrayType(Object.keys(this._original), type$.JSArray_String);
  38737. return keys;
  38738. },
  38739. _upgrade$0() {
  38740. var result, keys, i, t1, key, _this = this;
  38741. if (_this._processed == null)
  38742. return _this._data;
  38743. result = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.dynamic);
  38744. keys = _this._convert$_computeKeys$0();
  38745. for (i = 0; t1 = keys.length, i < t1; ++i) {
  38746. key = keys[i];
  38747. result.$indexSet(0, key, _this.$index(0, key));
  38748. }
  38749. if (t1 === 0)
  38750. keys.push("");
  38751. else
  38752. B.JSArray_methods.clear$0(keys);
  38753. _this._original = _this._processed = null;
  38754. return _this._data = result;
  38755. },
  38756. _process$1(key) {
  38757. var result;
  38758. if (!Object.prototype.hasOwnProperty.call(this._original, key))
  38759. return null;
  38760. result = A._convertJsonToDartLazy(this._original[key]);
  38761. return this._processed[key] = result;
  38762. }
  38763. };
  38764. A._JsonMap_values_closure.prototype = {
  38765. call$1(each) {
  38766. return this.$this.$index(0, each);
  38767. },
  38768. $signature: 170
  38769. };
  38770. A._JsonMap_addAll_closure.prototype = {
  38771. call$2(key, value) {
  38772. this.$this.$indexSet(0, key, value);
  38773. },
  38774. $signature: 113
  38775. };
  38776. A._JsonMapKeyIterable.prototype = {
  38777. get$length(_) {
  38778. return this._convert$_parent.get$length(0);
  38779. },
  38780. elementAt$1(_, index) {
  38781. var t1 = this._convert$_parent;
  38782. return t1._processed == null ? t1.get$keys(0).elementAt$1(0, index) : t1._convert$_computeKeys$0()[index];
  38783. },
  38784. get$iterator(_) {
  38785. var t1 = this._convert$_parent;
  38786. if (t1._processed == null) {
  38787. t1 = t1.get$keys(0);
  38788. t1 = t1.get$iterator(t1);
  38789. } else {
  38790. t1 = t1._convert$_computeKeys$0();
  38791. t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>"));
  38792. }
  38793. return t1;
  38794. },
  38795. contains$1(_, key) {
  38796. return this._convert$_parent.containsKey$1(key);
  38797. }
  38798. };
  38799. A._Utf8Decoder__decoder_closure.prototype = {
  38800. call$0() {
  38801. var t1, exception;
  38802. try {
  38803. t1 = new TextDecoder("utf-8", {fatal: true});
  38804. return t1;
  38805. } catch (exception) {
  38806. }
  38807. return null;
  38808. },
  38809. $signature: 62
  38810. };
  38811. A._Utf8Decoder__decoderNonfatal_closure.prototype = {
  38812. call$0() {
  38813. var t1, exception;
  38814. try {
  38815. t1 = new TextDecoder("utf-8", {fatal: false});
  38816. return t1;
  38817. } catch (exception) {
  38818. }
  38819. return null;
  38820. },
  38821. $signature: 62
  38822. };
  38823. A.AsciiCodec.prototype = {
  38824. encode$1(source) {
  38825. return B.AsciiEncoder_127.convert$1(source);
  38826. }
  38827. };
  38828. A._UnicodeSubsetEncoder.prototype = {
  38829. convert$1(string) {
  38830. var t1, i, codeUnit,
  38831. $length = A.RangeError_checkValidRange(0, null, string.length) - 0,
  38832. result = new Uint8Array($length);
  38833. for (t1 = ~this._subsetMask, i = 0; i < $length; ++i) {
  38834. codeUnit = string.charCodeAt(i);
  38835. if ((codeUnit & t1) !== 0)
  38836. throw A.wrapException(A.ArgumentError$value(string, "string", "Contains invalid characters."));
  38837. result[i] = codeUnit;
  38838. }
  38839. return result;
  38840. }
  38841. };
  38842. A.AsciiEncoder.prototype = {};
  38843. A.Base64Codec.prototype = {
  38844. normalize$3(source, start, end) {
  38845. var inverseAlphabet, i, sliceStart, buffer, firstPadding, firstPaddingSourceIndex, paddingCount, i0, char, i1, digit1, digit2, char0, value, t1, t2, endLength, $length,
  38846. _s31_ = "Invalid base64 encoding length ";
  38847. end = A.RangeError_checkValidRange(start, end, source.length);
  38848. inverseAlphabet = $.$get$_Base64Decoder__inverseAlphabet();
  38849. for (i = start, sliceStart = i, buffer = null, firstPadding = -1, firstPaddingSourceIndex = -1, paddingCount = 0; i < end; i = i0) {
  38850. i0 = i + 1;
  38851. char = source.charCodeAt(i);
  38852. if (char === 37) {
  38853. i1 = i0 + 2;
  38854. if (i1 <= end) {
  38855. digit1 = A.hexDigitValue(source.charCodeAt(i0));
  38856. digit2 = A.hexDigitValue(source.charCodeAt(i0 + 1));
  38857. char0 = digit1 * 16 + digit2 - (digit2 & 256);
  38858. if (char0 === 37)
  38859. char0 = -1;
  38860. i0 = i1;
  38861. } else
  38862. char0 = -1;
  38863. } else
  38864. char0 = char;
  38865. if (0 <= char0 && char0 <= 127) {
  38866. value = inverseAlphabet[char0];
  38867. if (value >= 0) {
  38868. char0 = string$.ABCDEF.charCodeAt(value);
  38869. if (char0 === char)
  38870. continue;
  38871. char = char0;
  38872. } else {
  38873. if (value === -1) {
  38874. if (firstPadding < 0) {
  38875. t1 = buffer == null ? null : buffer._contents.length;
  38876. if (t1 == null)
  38877. t1 = 0;
  38878. firstPadding = t1 + (i - sliceStart);
  38879. firstPaddingSourceIndex = i;
  38880. }
  38881. ++paddingCount;
  38882. if (char === 61)
  38883. continue;
  38884. }
  38885. char = char0;
  38886. }
  38887. if (value !== -2) {
  38888. if (buffer == null) {
  38889. buffer = new A.StringBuffer("");
  38890. t1 = buffer;
  38891. } else
  38892. t1 = buffer;
  38893. t1._contents += B.JSString_methods.substring$2(source, sliceStart, i);
  38894. t2 = A.Primitives_stringFromCharCode(char);
  38895. t1._contents += t2;
  38896. sliceStart = i0;
  38897. continue;
  38898. }
  38899. }
  38900. throw A.wrapException(A.FormatException$("Invalid base64 data", source, i));
  38901. }
  38902. if (buffer != null) {
  38903. t1 = B.JSString_methods.substring$2(source, sliceStart, end);
  38904. t1 = buffer._contents += t1;
  38905. t2 = t1.length;
  38906. if (firstPadding >= 0)
  38907. A.Base64Codec__checkPadding(source, firstPaddingSourceIndex, end, firstPadding, paddingCount, t2);
  38908. else {
  38909. endLength = B.JSInt_methods.$mod(t2 - 1, 4) + 1;
  38910. if (endLength === 1)
  38911. throw A.wrapException(A.FormatException$(_s31_, source, end));
  38912. for (; endLength < 4;) {
  38913. t1 += "=";
  38914. buffer._contents = t1;
  38915. ++endLength;
  38916. }
  38917. }
  38918. t1 = buffer._contents;
  38919. return B.JSString_methods.replaceRange$3(source, start, end, t1.charCodeAt(0) == 0 ? t1 : t1);
  38920. }
  38921. $length = end - start;
  38922. if (firstPadding >= 0)
  38923. A.Base64Codec__checkPadding(source, firstPaddingSourceIndex, end, firstPadding, paddingCount, $length);
  38924. else {
  38925. endLength = B.JSInt_methods.$mod($length, 4);
  38926. if (endLength === 1)
  38927. throw A.wrapException(A.FormatException$(_s31_, source, end));
  38928. if (endLength > 1)
  38929. source = B.JSString_methods.replaceRange$3(source, end, end, endLength === 2 ? "==" : "=");
  38930. }
  38931. return source;
  38932. }
  38933. };
  38934. A.Base64Encoder.prototype = {
  38935. startChunkedConversion$1(sink) {
  38936. return new A._Utf8Base64EncoderSink(new A._Utf8StringSinkAdapter(new A._Utf8Decoder(false), sink, sink._stringSink), new A._Base64Encoder(string$.ABCDEF));
  38937. }
  38938. };
  38939. A._Base64Encoder.prototype = {
  38940. createBuffer$1(bufferLength) {
  38941. return new Uint8Array(bufferLength);
  38942. },
  38943. encode$4(bytes, start, end, isLast) {
  38944. var output, _this = this,
  38945. byteCount = (_this._convert$_state & 3) + (end - start),
  38946. fullChunks = B.JSInt_methods._tdivFast$1(byteCount, 3),
  38947. bufferLength = fullChunks * 4;
  38948. if (isLast && byteCount - fullChunks * 3 > 0)
  38949. bufferLength += 4;
  38950. output = _this.createBuffer$1(bufferLength);
  38951. _this._convert$_state = A._Base64Encoder_encodeChunk(_this._alphabet, bytes, start, end, isLast, output, 0, _this._convert$_state);
  38952. if (bufferLength > 0)
  38953. return output;
  38954. return null;
  38955. }
  38956. };
  38957. A._Base64EncoderSink.prototype = {};
  38958. A._Utf8Base64EncoderSink.prototype = {
  38959. _convert$_add$4(source, start, end, isLast) {
  38960. var buffer = this._encoder.encode$4(source, start, end, isLast);
  38961. if (buffer != null)
  38962. this._sink.addSlice$4(buffer, 0, buffer.length, isLast);
  38963. }
  38964. };
  38965. A.ByteConversionSink.prototype = {};
  38966. A.Codec.prototype = {};
  38967. A.Converter.prototype = {};
  38968. A.Encoding.prototype = {};
  38969. A.JsonUnsupportedObjectError.prototype = {
  38970. toString$0(_) {
  38971. var safeString = A.Error_safeToString(this.unsupportedObject);
  38972. return (this.cause != null ? "Converting object to an encodable object failed:" : "Converting object did not return an encodable object:") + " " + safeString;
  38973. }
  38974. };
  38975. A.JsonCyclicError.prototype = {
  38976. toString$0(_) {
  38977. return "Cyclic error in JSON stringify";
  38978. }
  38979. };
  38980. A.JsonCodec.prototype = {
  38981. decode$1(source) {
  38982. var t1 = A._parseJson(source, this.get$decoder()._reviver);
  38983. return t1;
  38984. },
  38985. encode$2$toEncodable(value, toEncodable) {
  38986. var t1 = A._JsonStringStringifier_stringify(value, this.get$encoder()._toEncodable, null);
  38987. return t1;
  38988. },
  38989. get$encoder() {
  38990. return B.JsonEncoder_null;
  38991. },
  38992. get$decoder() {
  38993. return B.JsonDecoder_null;
  38994. }
  38995. };
  38996. A.JsonEncoder.prototype = {};
  38997. A.JsonDecoder.prototype = {};
  38998. A._JsonStringifier.prototype = {
  38999. writeStringContent$1(s) {
  39000. var offset, i, charCode, t1, t2, _this = this,
  39001. $length = s.length;
  39002. for (offset = 0, i = 0; i < $length; ++i) {
  39003. charCode = s.charCodeAt(i);
  39004. if (charCode > 92) {
  39005. if (charCode >= 55296) {
  39006. t1 = charCode & 64512;
  39007. if (t1 === 55296) {
  39008. t2 = i + 1;
  39009. t2 = !(t2 < $length && (s.charCodeAt(t2) & 64512) === 56320);
  39010. } else
  39011. t2 = false;
  39012. if (!t2)
  39013. if (t1 === 56320) {
  39014. t1 = i - 1;
  39015. t1 = !(t1 >= 0 && (s.charCodeAt(t1) & 64512) === 55296);
  39016. } else
  39017. t1 = false;
  39018. else
  39019. t1 = true;
  39020. if (t1) {
  39021. if (i > offset)
  39022. _this.writeStringSlice$3(s, offset, i);
  39023. offset = i + 1;
  39024. _this.writeCharCode$1(92);
  39025. _this.writeCharCode$1(117);
  39026. _this.writeCharCode$1(100);
  39027. t1 = charCode >>> 8 & 15;
  39028. _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1);
  39029. t1 = charCode >>> 4 & 15;
  39030. _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1);
  39031. t1 = charCode & 15;
  39032. _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1);
  39033. }
  39034. }
  39035. continue;
  39036. }
  39037. if (charCode < 32) {
  39038. if (i > offset)
  39039. _this.writeStringSlice$3(s, offset, i);
  39040. offset = i + 1;
  39041. _this.writeCharCode$1(92);
  39042. switch (charCode) {
  39043. case 8:
  39044. _this.writeCharCode$1(98);
  39045. break;
  39046. case 9:
  39047. _this.writeCharCode$1(116);
  39048. break;
  39049. case 10:
  39050. _this.writeCharCode$1(110);
  39051. break;
  39052. case 12:
  39053. _this.writeCharCode$1(102);
  39054. break;
  39055. case 13:
  39056. _this.writeCharCode$1(114);
  39057. break;
  39058. default:
  39059. _this.writeCharCode$1(117);
  39060. _this.writeCharCode$1(48);
  39061. _this.writeCharCode$1(48);
  39062. t1 = charCode >>> 4 & 15;
  39063. _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1);
  39064. t1 = charCode & 15;
  39065. _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1);
  39066. break;
  39067. }
  39068. } else if (charCode === 34 || charCode === 92) {
  39069. if (i > offset)
  39070. _this.writeStringSlice$3(s, offset, i);
  39071. offset = i + 1;
  39072. _this.writeCharCode$1(92);
  39073. _this.writeCharCode$1(charCode);
  39074. }
  39075. }
  39076. if (offset === 0)
  39077. _this.writeString$1(s);
  39078. else if (offset < $length)
  39079. _this.writeStringSlice$3(s, offset, $length);
  39080. },
  39081. _checkCycle$1(object) {
  39082. var t1, t2, i, t3;
  39083. for (t1 = this._seen, t2 = t1.length, i = 0; i < t2; ++i) {
  39084. t3 = t1[i];
  39085. if (object == null ? t3 == null : object === t3)
  39086. throw A.wrapException(new A.JsonCyclicError(object, null));
  39087. }
  39088. t1.push(object);
  39089. },
  39090. writeObject$1(object) {
  39091. var customJson, e, t1, exception, _this = this;
  39092. if (_this.writeJsonValue$1(object))
  39093. return;
  39094. _this._checkCycle$1(object);
  39095. try {
  39096. customJson = _this._toEncodable.call$1(object);
  39097. if (!_this.writeJsonValue$1(customJson)) {
  39098. t1 = A.JsonUnsupportedObjectError$(object, null, _this.get$_partialResult());
  39099. throw A.wrapException(t1);
  39100. }
  39101. _this._seen.pop();
  39102. } catch (exception) {
  39103. e = A.unwrapException(exception);
  39104. t1 = A.JsonUnsupportedObjectError$(object, e, _this.get$_partialResult());
  39105. throw A.wrapException(t1);
  39106. }
  39107. },
  39108. writeJsonValue$1(object) {
  39109. var success, _this = this;
  39110. if (typeof object == "number") {
  39111. if (!isFinite(object))
  39112. return false;
  39113. _this.writeNumber$1(object);
  39114. return true;
  39115. } else if (object === true) {
  39116. _this.writeString$1("true");
  39117. return true;
  39118. } else if (object === false) {
  39119. _this.writeString$1("false");
  39120. return true;
  39121. } else if (object == null) {
  39122. _this.writeString$1("null");
  39123. return true;
  39124. } else if (typeof object == "string") {
  39125. _this.writeString$1('"');
  39126. _this.writeStringContent$1(object);
  39127. _this.writeString$1('"');
  39128. return true;
  39129. } else if (type$.List_dynamic._is(object)) {
  39130. _this._checkCycle$1(object);
  39131. _this.writeList$1(object);
  39132. _this._seen.pop();
  39133. return true;
  39134. } else if (type$.Map_dynamic_dynamic._is(object)) {
  39135. _this._checkCycle$1(object);
  39136. success = _this.writeMap$1(object);
  39137. _this._seen.pop();
  39138. return success;
  39139. } else
  39140. return false;
  39141. },
  39142. writeList$1(list) {
  39143. var t1, i, _this = this;
  39144. _this.writeString$1("[");
  39145. t1 = J.getInterceptor$asx(list);
  39146. if (t1.get$isNotEmpty(list)) {
  39147. _this.writeObject$1(t1.$index(list, 0));
  39148. for (i = 1; i < t1.get$length(list); ++i) {
  39149. _this.writeString$1(",");
  39150. _this.writeObject$1(t1.$index(list, i));
  39151. }
  39152. }
  39153. _this.writeString$1("]");
  39154. },
  39155. writeMap$1(map) {
  39156. var t1, keyValueList, i, separator, _this = this, _box_0 = {};
  39157. if (map.get$isEmpty(map)) {
  39158. _this.writeString$1("{}");
  39159. return true;
  39160. }
  39161. t1 = map.get$length(map) * 2;
  39162. keyValueList = A.List_List$filled(t1, null, false, type$.nullable_Object);
  39163. i = _box_0.i = 0;
  39164. _box_0.allStringKeys = true;
  39165. map.forEach$1(0, new A._JsonStringifier_writeMap_closure(_box_0, keyValueList));
  39166. if (!_box_0.allStringKeys)
  39167. return false;
  39168. _this.writeString$1("{");
  39169. for (separator = '"'; i < t1; i += 2, separator = ',"') {
  39170. _this.writeString$1(separator);
  39171. _this.writeStringContent$1(A._asString(keyValueList[i]));
  39172. _this.writeString$1('":');
  39173. _this.writeObject$1(keyValueList[i + 1]);
  39174. }
  39175. _this.writeString$1("}");
  39176. return true;
  39177. }
  39178. };
  39179. A._JsonStringifier_writeMap_closure.prototype = {
  39180. call$2(key, value) {
  39181. var t1, t2, t3, i;
  39182. if (typeof key != "string")
  39183. this._box_0.allStringKeys = false;
  39184. t1 = this.keyValueList;
  39185. t2 = this._box_0;
  39186. t3 = t2.i;
  39187. i = t2.i = t3 + 1;
  39188. t1[t3] = key;
  39189. t2.i = i + 1;
  39190. t1[i] = value;
  39191. },
  39192. $signature: 168
  39193. };
  39194. A._JsonStringStringifier.prototype = {
  39195. get$_partialResult() {
  39196. var t1 = this._sink._contents;
  39197. return t1.charCodeAt(0) == 0 ? t1 : t1;
  39198. },
  39199. writeNumber$1(number) {
  39200. var t1 = this._sink,
  39201. t2 = B.JSNumber_methods.toString$0(number);
  39202. t1._contents += t2;
  39203. },
  39204. writeString$1(string) {
  39205. this._sink._contents += string;
  39206. },
  39207. writeStringSlice$3(string, start, end) {
  39208. this._sink._contents += B.JSString_methods.substring$2(string, start, end);
  39209. },
  39210. writeCharCode$1(charCode) {
  39211. var t1 = this._sink,
  39212. t2 = A.Primitives_stringFromCharCode(charCode);
  39213. t1._contents += t2;
  39214. }
  39215. };
  39216. A.StringConversionSink.prototype = {};
  39217. A._StringSinkConversionSink.prototype = {
  39218. close$0(_) {
  39219. }
  39220. };
  39221. A._StringCallbackSink.prototype = {
  39222. close$0(_) {
  39223. var t1 = this._stringSink,
  39224. t2 = t1._contents;
  39225. t1._contents = "";
  39226. this._convert$_callback.call$1(t2.charCodeAt(0) == 0 ? t2 : t2);
  39227. },
  39228. asUtf8Sink$1(allowMalformed) {
  39229. return new A._Utf8StringSinkAdapter(new A._Utf8Decoder(allowMalformed), this, this._stringSink);
  39230. }
  39231. };
  39232. A._Utf8StringSinkAdapter.prototype = {
  39233. close$0(_) {
  39234. this._decoder.flush$1(this._stringSink);
  39235. this._sink.close$0(0);
  39236. },
  39237. add$1(_, chunk) {
  39238. this.addSlice$4(chunk, 0, J.get$length$asx(chunk), false);
  39239. },
  39240. addSlice$4(codeUnits, startIndex, endIndex, isLast) {
  39241. var t1 = this._stringSink,
  39242. t2 = this._decoder._convertGeneral$4(codeUnits, startIndex, endIndex, false);
  39243. t1._contents += t2;
  39244. if (isLast)
  39245. this.close$0(0);
  39246. }
  39247. };
  39248. A.Utf8Codec.prototype = {
  39249. encode$1(string) {
  39250. return B.C_Utf8Encoder.convert$1(string);
  39251. }
  39252. };
  39253. A.Utf8Encoder.prototype = {
  39254. convert$1(string) {
  39255. var t1, encoder,
  39256. end = A.RangeError_checkValidRange(0, null, string.length),
  39257. $length = end - 0;
  39258. if ($length === 0)
  39259. return new Uint8Array(0);
  39260. t1 = new Uint8Array($length * 3);
  39261. encoder = new A._Utf8Encoder(t1);
  39262. if (encoder._fillBuffer$3(string, 0, end) !== end)
  39263. encoder._writeReplacementCharacter$0();
  39264. return B.NativeUint8List_methods.sublist$2(t1, 0, encoder._bufferIndex);
  39265. }
  39266. };
  39267. A._Utf8Encoder.prototype = {
  39268. _writeReplacementCharacter$0() {
  39269. var _this = this,
  39270. t1 = _this._buffer,
  39271. t2 = _this._bufferIndex,
  39272. t3 = _this._bufferIndex = t2 + 1;
  39273. t1[t2] = 239;
  39274. t2 = _this._bufferIndex = t3 + 1;
  39275. t1[t3] = 191;
  39276. _this._bufferIndex = t2 + 1;
  39277. t1[t2] = 189;
  39278. },
  39279. _writeSurrogate$2(leadingSurrogate, nextCodeUnit) {
  39280. var rune, t1, t2, t3, _this = this;
  39281. if ((nextCodeUnit & 64512) === 56320) {
  39282. rune = 65536 + ((leadingSurrogate & 1023) << 10) | nextCodeUnit & 1023;
  39283. t1 = _this._buffer;
  39284. t2 = _this._bufferIndex;
  39285. t3 = _this._bufferIndex = t2 + 1;
  39286. t1[t2] = rune >>> 18 | 240;
  39287. t2 = _this._bufferIndex = t3 + 1;
  39288. t1[t3] = rune >>> 12 & 63 | 128;
  39289. t3 = _this._bufferIndex = t2 + 1;
  39290. t1[t2] = rune >>> 6 & 63 | 128;
  39291. _this._bufferIndex = t3 + 1;
  39292. t1[t3] = rune & 63 | 128;
  39293. return true;
  39294. } else {
  39295. _this._writeReplacementCharacter$0();
  39296. return false;
  39297. }
  39298. },
  39299. _fillBuffer$3(str, start, end) {
  39300. var t1, t2, stringIndex, codeUnit, t3, stringIndex0, t4, _this = this;
  39301. if (start !== end && (str.charCodeAt(end - 1) & 64512) === 55296)
  39302. --end;
  39303. for (t1 = _this._buffer, t2 = t1.length, stringIndex = start; stringIndex < end; ++stringIndex) {
  39304. codeUnit = str.charCodeAt(stringIndex);
  39305. if (codeUnit <= 127) {
  39306. t3 = _this._bufferIndex;
  39307. if (t3 >= t2)
  39308. break;
  39309. _this._bufferIndex = t3 + 1;
  39310. t1[t3] = codeUnit;
  39311. } else {
  39312. t3 = codeUnit & 64512;
  39313. if (t3 === 55296) {
  39314. if (_this._bufferIndex + 4 > t2)
  39315. break;
  39316. stringIndex0 = stringIndex + 1;
  39317. if (_this._writeSurrogate$2(codeUnit, str.charCodeAt(stringIndex0)))
  39318. stringIndex = stringIndex0;
  39319. } else if (t3 === 56320) {
  39320. if (_this._bufferIndex + 3 > t2)
  39321. break;
  39322. _this._writeReplacementCharacter$0();
  39323. } else if (codeUnit <= 2047) {
  39324. t3 = _this._bufferIndex;
  39325. t4 = t3 + 1;
  39326. if (t4 >= t2)
  39327. break;
  39328. _this._bufferIndex = t4;
  39329. t1[t3] = codeUnit >>> 6 | 192;
  39330. _this._bufferIndex = t4 + 1;
  39331. t1[t4] = codeUnit & 63 | 128;
  39332. } else {
  39333. t3 = _this._bufferIndex;
  39334. if (t3 + 2 >= t2)
  39335. break;
  39336. t4 = _this._bufferIndex = t3 + 1;
  39337. t1[t3] = codeUnit >>> 12 | 224;
  39338. t3 = _this._bufferIndex = t4 + 1;
  39339. t1[t4] = codeUnit >>> 6 & 63 | 128;
  39340. _this._bufferIndex = t3 + 1;
  39341. t1[t3] = codeUnit & 63 | 128;
  39342. }
  39343. }
  39344. }
  39345. return stringIndex;
  39346. }
  39347. };
  39348. A.Utf8Decoder.prototype = {
  39349. convert$1(codeUnits) {
  39350. return new A._Utf8Decoder(this._allowMalformed)._convertGeneral$4(codeUnits, 0, null, true);
  39351. }
  39352. };
  39353. A._Utf8Decoder.prototype = {
  39354. _convertGeneral$4(codeUnits, start, maybeEnd, single) {
  39355. var casted, bytes, errorOffset, t1, result, message, _this = this,
  39356. end = A.RangeError_checkValidRange(start, maybeEnd, J.get$length$asx(codeUnits));
  39357. if (start === end)
  39358. return "";
  39359. if (codeUnits instanceof Uint8Array) {
  39360. casted = codeUnits;
  39361. bytes = casted;
  39362. errorOffset = 0;
  39363. } else {
  39364. bytes = A._Utf8Decoder__makeNativeUint8List(codeUnits, start, end);
  39365. end -= start;
  39366. errorOffset = start;
  39367. start = 0;
  39368. }
  39369. if (single && end - start >= 15) {
  39370. t1 = _this.allowMalformed;
  39371. result = A._Utf8Decoder__convertInterceptedUint8List(t1, bytes, start, end);
  39372. if (result != null) {
  39373. if (!t1)
  39374. return result;
  39375. if (result.indexOf("\ufffd") < 0)
  39376. return result;
  39377. }
  39378. }
  39379. result = _this._decodeRecursive$4(bytes, start, end, single);
  39380. t1 = _this._convert$_state;
  39381. if ((t1 & 1) !== 0) {
  39382. message = A._Utf8Decoder_errorDescription(t1);
  39383. _this._convert$_state = 0;
  39384. throw A.wrapException(A.FormatException$(message, codeUnits, errorOffset + _this._charOrIndex));
  39385. }
  39386. return result;
  39387. },
  39388. _decodeRecursive$4(bytes, start, end, single) {
  39389. var mid, s1, _this = this;
  39390. if (end - start > 1000) {
  39391. mid = B.JSInt_methods._tdivFast$1(start + end, 2);
  39392. s1 = _this._decodeRecursive$4(bytes, start, mid, false);
  39393. if ((_this._convert$_state & 1) !== 0)
  39394. return s1;
  39395. return s1 + _this._decodeRecursive$4(bytes, mid, end, single);
  39396. }
  39397. return _this.decodeGeneral$4(bytes, start, end, single);
  39398. },
  39399. flush$1(sink) {
  39400. var t1,
  39401. state = this._convert$_state;
  39402. this._convert$_state = 0;
  39403. if (state <= 32)
  39404. return;
  39405. if (this.allowMalformed) {
  39406. t1 = A.Primitives_stringFromCharCode(65533);
  39407. sink._contents += t1;
  39408. } else
  39409. throw A.wrapException(A.FormatException$(A._Utf8Decoder_errorDescription(77), null, null));
  39410. },
  39411. decodeGeneral$4(bytes, start, end, single) {
  39412. var t1, type, t2, i0, markEnd, i1, m, _this = this, _65533 = 65533,
  39413. state = _this._convert$_state,
  39414. char = _this._charOrIndex,
  39415. buffer = new A.StringBuffer(""),
  39416. i = start + 1,
  39417. byte = bytes[start];
  39418. $label0$0:
  39419. for (t1 = _this.allowMalformed; true;) {
  39420. for (; true; i = i0) {
  39421. type = "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFFFFFFFFFFFFFFFFGGGGGGGGGGGGGGGGHHHHHHHHHHHHHHHHHHHHHHHHHHHIHHHJEEBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBKCCCCCCCCCCCCDCLONNNMEEEEEEEEEEE".charCodeAt(byte) & 31;
  39422. char = state <= 32 ? byte & 61694 >>> type : (byte & 63 | char << 6) >>> 0;
  39423. 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);
  39424. if (state === 0) {
  39425. t2 = A.Primitives_stringFromCharCode(char);
  39426. buffer._contents += t2;
  39427. if (i === end)
  39428. break $label0$0;
  39429. break;
  39430. } else if ((state & 1) !== 0) {
  39431. if (t1)
  39432. switch (state) {
  39433. case 69:
  39434. case 67:
  39435. t2 = A.Primitives_stringFromCharCode(_65533);
  39436. buffer._contents += t2;
  39437. break;
  39438. case 65:
  39439. t2 = A.Primitives_stringFromCharCode(_65533);
  39440. buffer._contents += t2;
  39441. --i;
  39442. break;
  39443. default:
  39444. t2 = A.Primitives_stringFromCharCode(_65533);
  39445. t2 = buffer._contents += t2;
  39446. buffer._contents = t2 + A.Primitives_stringFromCharCode(_65533);
  39447. break;
  39448. }
  39449. else {
  39450. _this._convert$_state = state;
  39451. _this._charOrIndex = i - 1;
  39452. return "";
  39453. }
  39454. state = 0;
  39455. }
  39456. if (i === end)
  39457. break $label0$0;
  39458. i0 = i + 1;
  39459. byte = bytes[i];
  39460. }
  39461. i0 = i + 1;
  39462. byte = bytes[i];
  39463. if (byte < 128) {
  39464. while (true) {
  39465. if (!(i0 < end)) {
  39466. markEnd = end;
  39467. break;
  39468. }
  39469. i1 = i0 + 1;
  39470. byte = bytes[i0];
  39471. if (byte >= 128) {
  39472. markEnd = i1 - 1;
  39473. i0 = i1;
  39474. break;
  39475. }
  39476. i0 = i1;
  39477. }
  39478. if (markEnd - i < 20)
  39479. for (m = i; m < markEnd; ++m) {
  39480. t2 = A.Primitives_stringFromCharCode(bytes[m]);
  39481. buffer._contents += t2;
  39482. }
  39483. else {
  39484. t2 = A.String_String$fromCharCodes(bytes, i, markEnd);
  39485. buffer._contents += t2;
  39486. }
  39487. if (markEnd === end)
  39488. break $label0$0;
  39489. i = i0;
  39490. } else
  39491. i = i0;
  39492. }
  39493. if (single && state > 32)
  39494. if (t1) {
  39495. t1 = A.Primitives_stringFromCharCode(_65533);
  39496. buffer._contents += t1;
  39497. } else {
  39498. _this._convert$_state = 77;
  39499. _this._charOrIndex = end;
  39500. return "";
  39501. }
  39502. _this._convert$_state = state;
  39503. _this._charOrIndex = char;
  39504. t1 = buffer._contents;
  39505. return t1.charCodeAt(0) == 0 ? t1 : t1;
  39506. }
  39507. };
  39508. A.NoSuchMethodError_toString_closure.prototype = {
  39509. call$2(key, value) {
  39510. var t1 = this.sb,
  39511. t2 = this._box_0,
  39512. t3 = t1._contents += t2.comma;
  39513. t3 += key.__internal$_name;
  39514. t1._contents = t3;
  39515. t1._contents = t3 + ": ";
  39516. t3 = A.Error_safeToString(value);
  39517. t1._contents += t3;
  39518. t2.comma = ", ";
  39519. },
  39520. $signature: 335
  39521. };
  39522. A.DateTime.prototype = {
  39523. $eq(_, other) {
  39524. var t1;
  39525. if (other == null)
  39526. return false;
  39527. if (other instanceof A.DateTime)
  39528. t1 = this._value === other._value;
  39529. else
  39530. t1 = false;
  39531. return t1;
  39532. },
  39533. compareTo$1(_, other) {
  39534. return B.JSInt_methods.compareTo$1(this._value, other._value);
  39535. },
  39536. get$hashCode(_) {
  39537. var t1 = this._value;
  39538. return (t1 ^ B.JSInt_methods._shrOtherPositive$1(t1, 30)) & 1073741823;
  39539. },
  39540. toString$0(_) {
  39541. var _this = this,
  39542. y = A.DateTime__fourDigits(A.Primitives_getYear(_this)),
  39543. m = A.DateTime__twoDigits(A.Primitives_getMonth(_this)),
  39544. d = A.DateTime__twoDigits(A.Primitives_getDay(_this)),
  39545. h = A.DateTime__twoDigits(A.Primitives_getHours(_this)),
  39546. min = A.DateTime__twoDigits(A.Primitives_getMinutes(_this)),
  39547. sec = A.DateTime__twoDigits(A.Primitives_getSeconds(_this)),
  39548. ms = A.DateTime__threeDigits(A.Primitives_getMilliseconds(_this));
  39549. return y + "-" + m + "-" + d + " " + h + ":" + min + ":" + sec + "." + ms;
  39550. },
  39551. $isComparable: 1
  39552. };
  39553. A.Duration.prototype = {
  39554. $eq(_, other) {
  39555. if (other == null)
  39556. return false;
  39557. return other instanceof A.Duration && this._duration === other._duration;
  39558. },
  39559. get$hashCode(_) {
  39560. return B.JSInt_methods.get$hashCode(this._duration);
  39561. },
  39562. compareTo$1(_, other) {
  39563. return B.JSInt_methods.compareTo$1(this._duration, other._duration);
  39564. },
  39565. toString$0(_) {
  39566. var sign, minutes, minutesPadding, seconds, secondsPadding,
  39567. microseconds = this._duration,
  39568. hours = B.JSInt_methods._tdivFast$1(microseconds, 3600000000),
  39569. microseconds0 = microseconds % 3600000000;
  39570. if (microseconds < 0) {
  39571. hours = 0 - hours;
  39572. microseconds = 0 - microseconds0;
  39573. sign = "-";
  39574. } else {
  39575. microseconds = microseconds0;
  39576. sign = "";
  39577. }
  39578. minutes = B.JSInt_methods._tdivFast$1(microseconds, 60000000);
  39579. microseconds %= 60000000;
  39580. minutesPadding = minutes < 10 ? "0" : "";
  39581. seconds = B.JSInt_methods._tdivFast$1(microseconds, 1000000);
  39582. secondsPadding = seconds < 10 ? "0" : "";
  39583. return sign + hours + ":" + minutesPadding + minutes + ":" + secondsPadding + seconds + "." + B.JSString_methods.padLeft$2(B.JSInt_methods.toString$0(microseconds % 1000000), 6, "0");
  39584. },
  39585. $isComparable: 1
  39586. };
  39587. A._Enum.prototype = {
  39588. toString$0(_) {
  39589. return this._enumToString$0();
  39590. }
  39591. };
  39592. A.Error.prototype = {
  39593. get$stackTrace() {
  39594. return A.Primitives_extractStackTrace(this);
  39595. }
  39596. };
  39597. A.AssertionError.prototype = {
  39598. toString$0(_) {
  39599. var t1 = this.message;
  39600. if (t1 != null)
  39601. return "Assertion failed: " + A.Error_safeToString(t1);
  39602. return "Assertion failed";
  39603. },
  39604. get$message(receiver) {
  39605. return this.message;
  39606. }
  39607. };
  39608. A.TypeError.prototype = {};
  39609. A.ArgumentError.prototype = {
  39610. get$_errorName() {
  39611. return "Invalid argument" + (!this._hasValue ? "(s)" : "");
  39612. },
  39613. get$_errorExplanation() {
  39614. return "";
  39615. },
  39616. toString$0(_) {
  39617. var _this = this,
  39618. $name = _this.name,
  39619. nameString = $name == null ? "" : " (" + $name + ")",
  39620. message = _this.message,
  39621. messageString = message == null ? "" : ": " + A.S(message),
  39622. prefix = _this.get$_errorName() + nameString + messageString;
  39623. if (!_this._hasValue)
  39624. return prefix;
  39625. return prefix + _this.get$_errorExplanation() + ": " + A.Error_safeToString(_this.get$invalidValue());
  39626. },
  39627. get$invalidValue() {
  39628. return this.invalidValue;
  39629. },
  39630. get$message(receiver) {
  39631. return this.message;
  39632. }
  39633. };
  39634. A.RangeError.prototype = {
  39635. get$invalidValue() {
  39636. return this.invalidValue;
  39637. },
  39638. get$_errorName() {
  39639. return "RangeError";
  39640. },
  39641. get$_errorExplanation() {
  39642. var explanation,
  39643. start = this.start,
  39644. end = this.end;
  39645. if (start == null)
  39646. explanation = end != null ? ": Not less than or equal to " + A.S(end) : "";
  39647. else if (end == null)
  39648. explanation = ": Not greater than or equal to " + A.S(start);
  39649. else if (end > start)
  39650. explanation = ": Not in inclusive range " + A.S(start) + ".." + A.S(end);
  39651. else
  39652. explanation = end < start ? ": Valid value range is empty" : ": Only valid value is " + A.S(start);
  39653. return explanation;
  39654. }
  39655. };
  39656. A.IndexError.prototype = {
  39657. get$invalidValue() {
  39658. return this.invalidValue;
  39659. },
  39660. get$_errorName() {
  39661. return "RangeError";
  39662. },
  39663. get$_errorExplanation() {
  39664. if (this.invalidValue < 0)
  39665. return ": index must not be negative";
  39666. var t1 = this.length;
  39667. if (t1 === 0)
  39668. return ": no indices are valid";
  39669. return ": index should be less than " + t1;
  39670. },
  39671. $isRangeError: 1,
  39672. get$length(receiver) {
  39673. return this.length;
  39674. }
  39675. };
  39676. A.NoSuchMethodError.prototype = {
  39677. toString$0(_) {
  39678. var $arguments, t1, _i, t2, t3, argument, receiverText, actualParameters, _this = this, _box_0 = {},
  39679. sb = new A.StringBuffer("");
  39680. _box_0.comma = "";
  39681. $arguments = _this._core$_arguments;
  39682. for (t1 = $arguments.length, _i = 0, t2 = "", t3 = ""; _i < t1; ++_i, t3 = ", ") {
  39683. argument = $arguments[_i];
  39684. sb._contents = t2 + t3;
  39685. t2 = A.Error_safeToString(argument);
  39686. t2 = sb._contents += t2;
  39687. _box_0.comma = ", ";
  39688. }
  39689. _this._namedArguments.forEach$1(0, new A.NoSuchMethodError_toString_closure(_box_0, sb));
  39690. receiverText = A.Error_safeToString(_this._core$_receiver);
  39691. actualParameters = sb.toString$0(0);
  39692. return "NoSuchMethodError: method not found: '" + _this._memberName.__internal$_name + "'\nReceiver: " + receiverText + "\nArguments: [" + actualParameters + "]";
  39693. }
  39694. };
  39695. A.UnsupportedError.prototype = {
  39696. toString$0(_) {
  39697. return "Unsupported operation: " + this.message;
  39698. },
  39699. get$message(receiver) {
  39700. return this.message;
  39701. }
  39702. };
  39703. A.UnimplementedError.prototype = {
  39704. toString$0(_) {
  39705. return "UnimplementedError: " + this.message;
  39706. },
  39707. get$message(receiver) {
  39708. return this.message;
  39709. }
  39710. };
  39711. A.StateError.prototype = {
  39712. toString$0(_) {
  39713. return "Bad state: " + this.message;
  39714. },
  39715. get$message(receiver) {
  39716. return this.message;
  39717. }
  39718. };
  39719. A.ConcurrentModificationError.prototype = {
  39720. toString$0(_) {
  39721. var t1 = this.modifiedObject;
  39722. if (t1 == null)
  39723. return "Concurrent modification during iteration.";
  39724. return "Concurrent modification during iteration: " + A.Error_safeToString(t1) + ".";
  39725. }
  39726. };
  39727. A.OutOfMemoryError.prototype = {
  39728. toString$0(_) {
  39729. return "Out of Memory";
  39730. },
  39731. get$stackTrace() {
  39732. return null;
  39733. },
  39734. $isError: 1
  39735. };
  39736. A.StackOverflowError.prototype = {
  39737. toString$0(_) {
  39738. return "Stack Overflow";
  39739. },
  39740. get$stackTrace() {
  39741. return null;
  39742. },
  39743. $isError: 1
  39744. };
  39745. A._Exception.prototype = {
  39746. toString$0(_) {
  39747. return "Exception: " + this.message;
  39748. },
  39749. $isException: 1,
  39750. get$message(receiver) {
  39751. return this.message;
  39752. }
  39753. };
  39754. A.FormatException.prototype = {
  39755. toString$0(_) {
  39756. var t1, lineNum, lineStart, previousCharWasCR, i, char, lineEnd, end, start, prefix, postfix,
  39757. message = this.message,
  39758. report = "" !== message ? "FormatException: " + message : "FormatException",
  39759. offset = this.offset,
  39760. source = this.source;
  39761. if (typeof source == "string") {
  39762. if (offset != null)
  39763. t1 = offset < 0 || offset > source.length;
  39764. else
  39765. t1 = false;
  39766. if (t1)
  39767. offset = null;
  39768. if (offset == null) {
  39769. if (source.length > 78)
  39770. source = B.JSString_methods.substring$2(source, 0, 75) + "...";
  39771. return report + "\n" + source;
  39772. }
  39773. for (lineNum = 1, lineStart = 0, previousCharWasCR = false, i = 0; i < offset; ++i) {
  39774. char = source.charCodeAt(i);
  39775. if (char === 10) {
  39776. if (lineStart !== i || !previousCharWasCR)
  39777. ++lineNum;
  39778. lineStart = i + 1;
  39779. previousCharWasCR = false;
  39780. } else if (char === 13) {
  39781. ++lineNum;
  39782. lineStart = i + 1;
  39783. previousCharWasCR = true;
  39784. }
  39785. }
  39786. report = lineNum > 1 ? report + (" (at line " + lineNum + ", character " + (offset - lineStart + 1) + ")\n") : report + (" (at character " + (offset + 1) + ")\n");
  39787. lineEnd = source.length;
  39788. for (i = offset; i < lineEnd; ++i) {
  39789. char = source.charCodeAt(i);
  39790. if (char === 10 || char === 13) {
  39791. lineEnd = i;
  39792. break;
  39793. }
  39794. }
  39795. if (lineEnd - lineStart > 78)
  39796. if (offset - lineStart < 75) {
  39797. end = lineStart + 75;
  39798. start = lineStart;
  39799. prefix = "";
  39800. postfix = "...";
  39801. } else {
  39802. if (lineEnd - offset < 75) {
  39803. start = lineEnd - 75;
  39804. end = lineEnd;
  39805. postfix = "";
  39806. } else {
  39807. start = offset - 36;
  39808. end = offset + 36;
  39809. postfix = "...";
  39810. }
  39811. prefix = "...";
  39812. }
  39813. else {
  39814. end = lineEnd;
  39815. start = lineStart;
  39816. prefix = "";
  39817. postfix = "";
  39818. }
  39819. return report + prefix + B.JSString_methods.substring$2(source, start, end) + postfix + "\n" + B.JSString_methods.$mul(" ", offset - start + prefix.length) + "^\n";
  39820. } else
  39821. return offset != null ? report + (" (at offset " + A.S(offset) + ")") : report;
  39822. },
  39823. $isException: 1,
  39824. get$message(receiver) {
  39825. return this.message;
  39826. }
  39827. };
  39828. A.Iterable.prototype = {
  39829. cast$1$0(_, $R) {
  39830. return A.CastIterable_CastIterable(this, A._instanceType(this)._eval$1("Iterable.E"), $R);
  39831. },
  39832. followedBy$1(_, other) {
  39833. var _this = this,
  39834. t1 = A._instanceType(_this);
  39835. if (t1._eval$1("EfficientLengthIterable<Iterable.E>")._is(_this))
  39836. return A.FollowedByIterable_FollowedByIterable$firstEfficient(_this, other, t1._eval$1("Iterable.E"));
  39837. return new A.FollowedByIterable(_this, other, t1._eval$1("FollowedByIterable<Iterable.E>"));
  39838. },
  39839. map$1$1(_, toElement, $T) {
  39840. return A.MappedIterable_MappedIterable(this, toElement, A._instanceType(this)._eval$1("Iterable.E"), $T);
  39841. },
  39842. where$1(_, test) {
  39843. return new A.WhereIterable(this, test, A._instanceType(this)._eval$1("WhereIterable<Iterable.E>"));
  39844. },
  39845. expand$1$1(_, toElements, $T) {
  39846. return new A.ExpandIterable(this, toElements, A._instanceType(this)._eval$1("@<Iterable.E>")._bind$1($T)._eval$1("ExpandIterable<1,2>"));
  39847. },
  39848. contains$1(_, element) {
  39849. var t1;
  39850. for (t1 = this.get$iterator(this); t1.moveNext$0();)
  39851. if (J.$eq$(t1.get$current(t1), element))
  39852. return true;
  39853. return false;
  39854. },
  39855. forEach$1(_, action) {
  39856. var t1;
  39857. for (t1 = this.get$iterator(this); t1.moveNext$0();)
  39858. action.call$1(t1.get$current(t1));
  39859. },
  39860. fold$1$2(_, initialValue, combine) {
  39861. var t1, value;
  39862. for (t1 = this.get$iterator(this), value = initialValue; t1.moveNext$0();)
  39863. value = combine.call$2(value, t1.get$current(t1));
  39864. return value;
  39865. },
  39866. fold$2(_, initialValue, combine) {
  39867. return this.fold$1$2(0, initialValue, combine, type$.dynamic);
  39868. },
  39869. every$1(_, test) {
  39870. var t1;
  39871. for (t1 = this.get$iterator(this); t1.moveNext$0();)
  39872. if (!test.call$1(t1.get$current(t1)))
  39873. return false;
  39874. return true;
  39875. },
  39876. join$1(_, separator) {
  39877. var first, t1,
  39878. iterator = this.get$iterator(this);
  39879. if (!iterator.moveNext$0())
  39880. return "";
  39881. first = J.toString$0$(iterator.get$current(iterator));
  39882. if (!iterator.moveNext$0())
  39883. return first;
  39884. if (separator.length === 0) {
  39885. t1 = first;
  39886. do
  39887. t1 += A.S(J.toString$0$(iterator.get$current(iterator)));
  39888. while (iterator.moveNext$0());
  39889. } else {
  39890. t1 = first;
  39891. do
  39892. t1 = t1 + separator + A.S(J.toString$0$(iterator.get$current(iterator)));
  39893. while (iterator.moveNext$0());
  39894. }
  39895. return t1.charCodeAt(0) == 0 ? t1 : t1;
  39896. },
  39897. any$1(_, test) {
  39898. var t1;
  39899. for (t1 = this.get$iterator(this); t1.moveNext$0();)
  39900. if (test.call$1(t1.get$current(t1)))
  39901. return true;
  39902. return false;
  39903. },
  39904. toList$1$growable(_, growable) {
  39905. return A.List_List$of(this, growable, A._instanceType(this)._eval$1("Iterable.E"));
  39906. },
  39907. toList$0(_) {
  39908. return this.toList$1$growable(0, true);
  39909. },
  39910. toSet$0(_) {
  39911. return A.LinkedHashSet_LinkedHashSet$of(this, A._instanceType(this)._eval$1("Iterable.E"));
  39912. },
  39913. get$length(_) {
  39914. var count,
  39915. it = this.get$iterator(this);
  39916. for (count = 0; it.moveNext$0();)
  39917. ++count;
  39918. return count;
  39919. },
  39920. get$isEmpty(_) {
  39921. return !this.get$iterator(this).moveNext$0();
  39922. },
  39923. get$isNotEmpty(_) {
  39924. return !this.get$isEmpty(this);
  39925. },
  39926. take$1(_, count) {
  39927. return A.TakeIterable_TakeIterable(this, count, A._instanceType(this)._eval$1("Iterable.E"));
  39928. },
  39929. skip$1(_, count) {
  39930. return A.SkipIterable_SkipIterable(this, count, A._instanceType(this)._eval$1("Iterable.E"));
  39931. },
  39932. skipWhile$1(_, test) {
  39933. return new A.SkipWhileIterable(this, test, A._instanceType(this)._eval$1("SkipWhileIterable<Iterable.E>"));
  39934. },
  39935. get$first(_) {
  39936. var it = this.get$iterator(this);
  39937. if (!it.moveNext$0())
  39938. throw A.wrapException(A.IterableElementError_noElement());
  39939. return it.get$current(it);
  39940. },
  39941. get$last(_) {
  39942. var result,
  39943. it = this.get$iterator(this);
  39944. if (!it.moveNext$0())
  39945. throw A.wrapException(A.IterableElementError_noElement());
  39946. do
  39947. result = it.get$current(it);
  39948. while (it.moveNext$0());
  39949. return result;
  39950. },
  39951. get$single(_) {
  39952. var result,
  39953. it = this.get$iterator(this);
  39954. if (!it.moveNext$0())
  39955. throw A.wrapException(A.IterableElementError_noElement());
  39956. result = it.get$current(it);
  39957. if (it.moveNext$0())
  39958. throw A.wrapException(A.IterableElementError_tooMany());
  39959. return result;
  39960. },
  39961. elementAt$1(_, index) {
  39962. var iterator, skipCount;
  39963. A.RangeError_checkNotNegative(index, "index");
  39964. iterator = this.get$iterator(this);
  39965. for (skipCount = index; iterator.moveNext$0();) {
  39966. if (skipCount === 0)
  39967. return iterator.get$current(iterator);
  39968. --skipCount;
  39969. }
  39970. throw A.wrapException(A.IndexError$withLength(index, index - skipCount, this, null, "index"));
  39971. },
  39972. toString$0(_) {
  39973. return A.Iterable_iterableToShortString(this, "(", ")");
  39974. }
  39975. };
  39976. A._GeneratorIterable.prototype = {
  39977. elementAt$1(_, index) {
  39978. A.IndexError_check(index, this.length, this, null, null);
  39979. return this._generator.call$1(index);
  39980. },
  39981. get$length(receiver) {
  39982. return this.length;
  39983. }
  39984. };
  39985. A.MapEntry.prototype = {
  39986. toString$0(_) {
  39987. return "MapEntry(" + A.S(this.key) + ": " + A.S(this.value) + ")";
  39988. }
  39989. };
  39990. A.Null.prototype = {
  39991. get$hashCode(_) {
  39992. return A.Object.prototype.get$hashCode.call(this, 0);
  39993. },
  39994. toString$0(_) {
  39995. return "null";
  39996. }
  39997. };
  39998. A.Object.prototype = {$isObject: 1,
  39999. $eq(_, other) {
  40000. return this === other;
  40001. },
  40002. get$hashCode(_) {
  40003. return A.Primitives_objectHashCode(this);
  40004. },
  40005. toString$0(_) {
  40006. return "Instance of '" + A.Primitives_objectTypeName(this) + "'";
  40007. },
  40008. noSuchMethod$1(_, invocation) {
  40009. throw A.wrapException(A.NoSuchMethodError_NoSuchMethodError$withInvocation(this, invocation));
  40010. },
  40011. get$runtimeType(_) {
  40012. return A.getRuntimeTypeOfDartObject(this);
  40013. },
  40014. toString() {
  40015. return this.toString$0(this);
  40016. }
  40017. };
  40018. A._StringStackTrace.prototype = {
  40019. toString$0(_) {
  40020. return this._stackTrace;
  40021. },
  40022. $isStackTrace: 1
  40023. };
  40024. A.Runes.prototype = {
  40025. get$iterator(_) {
  40026. return new A.RuneIterator(this.string);
  40027. },
  40028. get$last(_) {
  40029. var code, previousCode,
  40030. t1 = this.string,
  40031. t2 = t1.length;
  40032. if (t2 === 0)
  40033. throw A.wrapException(A.StateError$("No elements."));
  40034. code = t1.charCodeAt(t2 - 1);
  40035. if ((code & 64512) === 56320 && t2 > 1) {
  40036. previousCode = t1.charCodeAt(t2 - 2);
  40037. if ((previousCode & 64512) === 55296)
  40038. return A._combineSurrogatePair(previousCode, code);
  40039. }
  40040. return code;
  40041. }
  40042. };
  40043. A.RuneIterator.prototype = {
  40044. get$current(_) {
  40045. return this._currentCodePoint;
  40046. },
  40047. moveNext$0() {
  40048. var codeUnit, nextPosition, nextCodeUnit, _this = this,
  40049. t1 = _this._position = _this._nextPosition,
  40050. t2 = _this.string,
  40051. t3 = t2.length;
  40052. if (t1 === t3) {
  40053. _this._currentCodePoint = -1;
  40054. return false;
  40055. }
  40056. codeUnit = t2.charCodeAt(t1);
  40057. nextPosition = t1 + 1;
  40058. if ((codeUnit & 64512) === 55296 && nextPosition < t3) {
  40059. nextCodeUnit = t2.charCodeAt(nextPosition);
  40060. if ((nextCodeUnit & 64512) === 56320) {
  40061. _this._nextPosition = nextPosition + 1;
  40062. _this._currentCodePoint = A._combineSurrogatePair(codeUnit, nextCodeUnit);
  40063. return true;
  40064. }
  40065. }
  40066. _this._nextPosition = nextPosition;
  40067. _this._currentCodePoint = codeUnit;
  40068. return true;
  40069. }
  40070. };
  40071. A.StringBuffer.prototype = {
  40072. get$length(_) {
  40073. return this._contents.length;
  40074. },
  40075. write$1(_, obj) {
  40076. var t1 = A.S(obj);
  40077. this._contents += t1;
  40078. },
  40079. writeCharCode$1(charCode) {
  40080. var t1 = A.Primitives_stringFromCharCode(charCode);
  40081. this._contents += t1;
  40082. },
  40083. toString$0(_) {
  40084. var t1 = this._contents;
  40085. return t1.charCodeAt(0) == 0 ? t1 : t1;
  40086. }
  40087. };
  40088. A.Uri__parseIPv4Address_error.prototype = {
  40089. call$2(msg, position) {
  40090. throw A.wrapException(A.FormatException$("Illegal IPv4 address, " + msg, this.host, position));
  40091. },
  40092. $signature: 326
  40093. };
  40094. A.Uri_parseIPv6Address_error.prototype = {
  40095. call$2(msg, position) {
  40096. throw A.wrapException(A.FormatException$("Illegal IPv6 address, " + msg, this.host, position));
  40097. },
  40098. $signature: 306
  40099. };
  40100. A.Uri_parseIPv6Address_parseHex.prototype = {
  40101. call$2(start, end) {
  40102. var value;
  40103. if (end - start > 4)
  40104. this.error.call$2("an IPv6 part can only contain a maximum of 4 hex digits", start);
  40105. value = A.int_parse(B.JSString_methods.substring$2(this.host, start, end), 16);
  40106. if (value < 0 || value > 65535)
  40107. this.error.call$2("each part must be in the range of `0x0..0xFFFF`", start);
  40108. return value;
  40109. },
  40110. $signature: 294
  40111. };
  40112. A._Uri.prototype = {
  40113. get$_text() {
  40114. var t1, t2, t3, t4, _this = this,
  40115. value = _this.___Uri__text_FI;
  40116. if (value === $) {
  40117. t1 = _this.scheme;
  40118. t2 = t1.length !== 0 ? "" + t1 + ":" : "";
  40119. t3 = _this._host;
  40120. t4 = t3 == null;
  40121. if (!t4 || t1 === "file") {
  40122. t1 = t2 + "//";
  40123. t2 = _this._userInfo;
  40124. if (t2.length !== 0)
  40125. t1 = t1 + t2 + "@";
  40126. if (!t4)
  40127. t1 += t3;
  40128. t2 = _this._port;
  40129. if (t2 != null)
  40130. t1 = t1 + ":" + A.S(t2);
  40131. } else
  40132. t1 = t2;
  40133. t1 += _this.path;
  40134. t2 = _this._query;
  40135. if (t2 != null)
  40136. t1 = t1 + "?" + t2;
  40137. t2 = _this._fragment;
  40138. if (t2 != null)
  40139. t1 = t1 + "#" + t2;
  40140. value !== $ && A.throwUnnamedLateFieldADI();
  40141. value = _this.___Uri__text_FI = t1.charCodeAt(0) == 0 ? t1 : t1;
  40142. }
  40143. return value;
  40144. },
  40145. get$pathSegments() {
  40146. var pathToSplit, result, _this = this,
  40147. value = _this.___Uri_pathSegments_FI;
  40148. if (value === $) {
  40149. pathToSplit = _this.path;
  40150. if (pathToSplit.length !== 0 && pathToSplit.charCodeAt(0) === 47)
  40151. pathToSplit = B.JSString_methods.substring$1(pathToSplit, 1);
  40152. 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);
  40153. _this.___Uri_pathSegments_FI !== $ && A.throwUnnamedLateFieldADI();
  40154. value = _this.___Uri_pathSegments_FI = result;
  40155. }
  40156. return value;
  40157. },
  40158. get$hashCode(_) {
  40159. var result, _this = this,
  40160. value = _this.___Uri_hashCode_FI;
  40161. if (value === $) {
  40162. result = B.JSString_methods.get$hashCode(_this.get$_text());
  40163. _this.___Uri_hashCode_FI !== $ && A.throwUnnamedLateFieldADI();
  40164. _this.___Uri_hashCode_FI = result;
  40165. value = result;
  40166. }
  40167. return value;
  40168. },
  40169. get$userInfo() {
  40170. return this._userInfo;
  40171. },
  40172. get$host() {
  40173. var host = this._host;
  40174. if (host == null)
  40175. return "";
  40176. if (B.JSString_methods.startsWith$1(host, "["))
  40177. return B.JSString_methods.substring$2(host, 1, host.length - 1);
  40178. return host;
  40179. },
  40180. get$port(_) {
  40181. var t1 = this._port;
  40182. return t1 == null ? A._Uri__defaultPort(this.scheme) : t1;
  40183. },
  40184. get$query() {
  40185. var t1 = this._query;
  40186. return t1 == null ? "" : t1;
  40187. },
  40188. get$fragment() {
  40189. var t1 = this._fragment;
  40190. return t1 == null ? "" : t1;
  40191. },
  40192. isScheme$1(scheme) {
  40193. var thisScheme = this.scheme;
  40194. if (scheme.length !== thisScheme.length)
  40195. return false;
  40196. return A._caseInsensitiveCompareStart(scheme, thisScheme, 0) >= 0;
  40197. },
  40198. replace$1$scheme(scheme) {
  40199. var isFile, userInfo, port, host, currentPath, t1, path, _this = this;
  40200. scheme = A._Uri__makeScheme(scheme, 0, scheme.length);
  40201. isFile = scheme === "file";
  40202. userInfo = _this._userInfo;
  40203. port = _this._port;
  40204. if (scheme !== _this.scheme)
  40205. port = A._Uri__makePort(port, scheme);
  40206. host = _this._host;
  40207. if (!(host != null))
  40208. host = userInfo.length !== 0 || port != null || isFile ? "" : null;
  40209. currentPath = _this.path;
  40210. if (!isFile)
  40211. t1 = host != null && currentPath.length !== 0;
  40212. else
  40213. t1 = true;
  40214. if (t1 && !B.JSString_methods.startsWith$1(currentPath, "/"))
  40215. currentPath = "/" + currentPath;
  40216. path = currentPath;
  40217. return A._Uri$_internal(scheme, userInfo, host, port, path, _this._query, _this._fragment);
  40218. },
  40219. _mergePaths$2(base, reference) {
  40220. var backCount, refStart, baseEnd, newEnd, delta, t1;
  40221. for (backCount = 0, refStart = 0; B.JSString_methods.startsWith$2(reference, "../", refStart);) {
  40222. refStart += 3;
  40223. ++backCount;
  40224. }
  40225. baseEnd = B.JSString_methods.lastIndexOf$1(base, "/");
  40226. while (true) {
  40227. if (!(baseEnd > 0 && backCount > 0))
  40228. break;
  40229. newEnd = B.JSString_methods.lastIndexOf$2(base, "/", baseEnd - 1);
  40230. if (newEnd < 0)
  40231. break;
  40232. delta = baseEnd - newEnd;
  40233. t1 = delta !== 2;
  40234. if (!t1 || delta === 3)
  40235. if (base.charCodeAt(newEnd + 1) === 46)
  40236. t1 = !t1 || base.charCodeAt(newEnd + 2) === 46;
  40237. else
  40238. t1 = false;
  40239. else
  40240. t1 = false;
  40241. if (t1)
  40242. break;
  40243. --backCount;
  40244. baseEnd = newEnd;
  40245. }
  40246. return B.JSString_methods.replaceRange$3(base, baseEnd + 1, null, B.JSString_methods.substring$1(reference, refStart - 3 * backCount));
  40247. },
  40248. resolve$1(_, reference) {
  40249. return this.resolveUri$1(A.Uri_parse(reference));
  40250. },
  40251. resolveUri$1(reference) {
  40252. var targetScheme, targetUserInfo, targetHost, targetPort, targetPath, targetQuery, split, packageNameEnd, packageName, mergedPath, t1, fragment, _this = this, _null = null;
  40253. if (reference.get$scheme().length !== 0) {
  40254. if (type$._PlatformUri._is(reference))
  40255. return reference;
  40256. targetScheme = reference.get$scheme();
  40257. if (reference.get$hasAuthority()) {
  40258. targetUserInfo = reference.get$userInfo();
  40259. targetHost = reference.get$host();
  40260. targetPort = reference.get$hasPort() ? reference.get$port(reference) : _null;
  40261. } else {
  40262. targetPort = _null;
  40263. targetHost = targetPort;
  40264. targetUserInfo = "";
  40265. }
  40266. targetPath = A._Uri__removeDotSegments(reference.get$path(reference));
  40267. targetQuery = reference.get$hasQuery() ? reference.get$query() : _null;
  40268. split = 0;
  40269. } else {
  40270. targetScheme = _this.scheme;
  40271. if (reference.get$hasAuthority()) {
  40272. if (type$._PlatformUri._is(reference))
  40273. return reference.replace$1$scheme(targetScheme);
  40274. targetUserInfo = reference.get$userInfo();
  40275. targetHost = reference.get$host();
  40276. targetPort = A._Uri__makePort(reference.get$hasPort() ? reference.get$port(reference) : _null, targetScheme);
  40277. targetPath = A._Uri__removeDotSegments(reference.get$path(reference));
  40278. targetQuery = reference.get$hasQuery() ? reference.get$query() : _null;
  40279. split = 1;
  40280. } else {
  40281. targetUserInfo = _this._userInfo;
  40282. targetHost = _this._host;
  40283. targetPort = _this._port;
  40284. targetPath = _this.path;
  40285. if (reference.get$hasEmptyPath())
  40286. if (reference.get$hasQuery()) {
  40287. targetQuery = reference.get$query();
  40288. split = 3;
  40289. } else {
  40290. targetQuery = _this._query;
  40291. split = 4;
  40292. }
  40293. else {
  40294. packageNameEnd = A._Uri__packageNameEnd(_this, targetPath);
  40295. if (packageNameEnd > 0) {
  40296. packageName = B.JSString_methods.substring$2(targetPath, 0, packageNameEnd);
  40297. 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)));
  40298. } else if (reference.get$hasAbsolutePath())
  40299. targetPath = A._Uri__removeDotSegments(reference.get$path(reference));
  40300. else if (targetPath.length === 0)
  40301. if (targetHost == null)
  40302. targetPath = targetScheme.length === 0 ? reference.get$path(reference) : A._Uri__removeDotSegments(reference.get$path(reference));
  40303. else
  40304. targetPath = A._Uri__removeDotSegments("/" + reference.get$path(reference));
  40305. else {
  40306. mergedPath = _this._mergePaths$2(targetPath, reference.get$path(reference));
  40307. t1 = targetScheme.length === 0;
  40308. if (!t1 || targetHost != null || B.JSString_methods.startsWith$1(targetPath, "/"))
  40309. targetPath = A._Uri__removeDotSegments(mergedPath);
  40310. else
  40311. targetPath = A._Uri__normalizeRelativePath(mergedPath, !t1 || targetHost != null);
  40312. }
  40313. targetQuery = reference.get$hasQuery() ? reference.get$query() : _null;
  40314. split = 2;
  40315. }
  40316. }
  40317. }
  40318. fragment = reference.get$hasFragment() ? reference.get$fragment() : _null;
  40319. if (!type$._PlatformUri._is(reference)) {
  40320. if (split === 0)
  40321. targetScheme = A._Uri__makeScheme(targetScheme, 0, targetScheme.length);
  40322. if (split <= 1) {
  40323. targetUserInfo = A._Uri__makeUserInfo(targetUserInfo, 0, targetUserInfo.length);
  40324. if (targetPort != null)
  40325. targetPort = A._Uri__makePort(targetPort, targetScheme);
  40326. if (targetHost != null && targetHost.length !== 0)
  40327. targetHost = A._Uri__makeHost(targetHost, 0, targetHost.length, false);
  40328. }
  40329. t1 = split <= 3;
  40330. if (t1)
  40331. targetPath = A._Uri__makePath(targetPath, 0, targetPath.length, _null, targetScheme, targetHost != null);
  40332. if (t1 && targetQuery != null)
  40333. targetQuery = A._Uri__makeQuery(targetQuery, 0, targetQuery.length, _null);
  40334. if (fragment != null)
  40335. fragment = A._Uri__makeFragment(fragment, 0, fragment.length);
  40336. }
  40337. return A._Uri$_internal(targetScheme, targetUserInfo, targetHost, targetPort, targetPath, targetQuery, fragment);
  40338. },
  40339. get$hasAuthority() {
  40340. return this._host != null;
  40341. },
  40342. get$hasPort() {
  40343. return this._port != null;
  40344. },
  40345. get$hasQuery() {
  40346. return this._query != null;
  40347. },
  40348. get$hasFragment() {
  40349. return this._fragment != null;
  40350. },
  40351. get$hasEmptyPath() {
  40352. return this.path.length === 0;
  40353. },
  40354. get$hasAbsolutePath() {
  40355. return B.JSString_methods.startsWith$1(this.path, "/");
  40356. },
  40357. toFilePath$0() {
  40358. var pathSegments, _this = this,
  40359. t1 = _this.scheme;
  40360. if (t1 !== "" && t1 !== "file")
  40361. throw A.wrapException(A.UnsupportedError$("Cannot extract a file path from a " + t1 + " URI"));
  40362. t1 = _this._query;
  40363. if ((t1 == null ? "" : t1) !== "")
  40364. throw A.wrapException(A.UnsupportedError$(string$.Cannotfq));
  40365. t1 = _this._fragment;
  40366. if ((t1 == null ? "" : t1) !== "")
  40367. throw A.wrapException(A.UnsupportedError$(string$.Cannotff));
  40368. t1 = $.$get$_Uri__isWindowsCached();
  40369. if (t1)
  40370. t1 = A._Uri__toWindowsFilePath(_this);
  40371. else {
  40372. if (_this._host != null && _this.get$host() !== "")
  40373. A.throwExpression(A.UnsupportedError$(string$.Cannotn));
  40374. pathSegments = _this.get$pathSegments();
  40375. A._Uri__checkNonWindowsPathReservedCharacters(pathSegments, false);
  40376. t1 = A.StringBuffer__writeAll(B.JSString_methods.startsWith$1(_this.path, "/") ? "" + "/" : "", pathSegments, "/");
  40377. t1 = t1.charCodeAt(0) == 0 ? t1 : t1;
  40378. }
  40379. return t1;
  40380. },
  40381. toString$0(_) {
  40382. return this.get$_text();
  40383. },
  40384. $eq(_, other) {
  40385. var t1, t2, _this = this;
  40386. if (other == null)
  40387. return false;
  40388. if (_this === other)
  40389. return true;
  40390. if (type$.Uri._is(other))
  40391. if (_this.scheme === other.get$scheme())
  40392. if (_this._host != null === other.get$hasAuthority())
  40393. if (_this._userInfo === other.get$userInfo())
  40394. if (_this.get$host() === other.get$host())
  40395. if (_this.get$port(0) === other.get$port(other))
  40396. if (_this.path === other.get$path(other)) {
  40397. t1 = _this._query;
  40398. t2 = t1 == null;
  40399. if (!t2 === other.get$hasQuery()) {
  40400. if (t2)
  40401. t1 = "";
  40402. if (t1 === other.get$query()) {
  40403. t1 = _this._fragment;
  40404. t2 = t1 == null;
  40405. if (!t2 === other.get$hasFragment()) {
  40406. if (t2)
  40407. t1 = "";
  40408. t1 = t1 === other.get$fragment();
  40409. } else
  40410. t1 = false;
  40411. } else
  40412. t1 = false;
  40413. } else
  40414. t1 = false;
  40415. } else
  40416. t1 = false;
  40417. else
  40418. t1 = false;
  40419. else
  40420. t1 = false;
  40421. else
  40422. t1 = false;
  40423. else
  40424. t1 = false;
  40425. else
  40426. t1 = false;
  40427. else
  40428. t1 = false;
  40429. return t1;
  40430. },
  40431. $isUri: 1,
  40432. $is_PlatformUri: 1,
  40433. get$scheme() {
  40434. return this.scheme;
  40435. },
  40436. get$path(receiver) {
  40437. return this.path;
  40438. }
  40439. };
  40440. A._Uri__makePath_closure.prototype = {
  40441. call$1(s) {
  40442. return A._Uri__uriEncode(B.List_M2I0, s, B.C_Utf8Codec, false);
  40443. },
  40444. $signature: 5
  40445. };
  40446. A.UriData.prototype = {
  40447. get$uri() {
  40448. var t2, queryIndex, end, query, _this = this, _null = null,
  40449. t1 = _this._uriCache;
  40450. if (t1 == null) {
  40451. t1 = _this._text;
  40452. t2 = _this._separatorIndices[0] + 1;
  40453. queryIndex = B.JSString_methods.indexOf$2(t1, "?", t2);
  40454. end = t1.length;
  40455. if (queryIndex >= 0) {
  40456. query = A._Uri__normalizeOrSubstring(t1, queryIndex + 1, end, B.List_42A, false, false);
  40457. end = queryIndex;
  40458. } else
  40459. query = _null;
  40460. t1 = _this._uriCache = new A._DataUri("data", "", _null, _null, A._Uri__normalizeOrSubstring(t1, t2, end, B.List_M2I, false, false), query, _null);
  40461. }
  40462. return t1;
  40463. },
  40464. toString$0(_) {
  40465. var t1 = this._text;
  40466. return this._separatorIndices[0] === -1 ? "data:" + t1 : t1;
  40467. }
  40468. };
  40469. A._createTables_build.prototype = {
  40470. call$2(state, defaultTransition) {
  40471. var t1 = this.tables[state];
  40472. B.NativeUint8List_methods.fillRange$3(t1, 0, 96, defaultTransition);
  40473. return t1;
  40474. },
  40475. $signature: 298
  40476. };
  40477. A._createTables_setChars.prototype = {
  40478. call$3(target, chars, transition) {
  40479. var t1, i;
  40480. for (t1 = chars.length, i = 0; i < t1; ++i)
  40481. target[chars.charCodeAt(i) ^ 96] = transition;
  40482. },
  40483. $signature: 230
  40484. };
  40485. A._createTables_setRange.prototype = {
  40486. call$3(target, range, transition) {
  40487. var i, n;
  40488. for (i = range.charCodeAt(0), n = range.charCodeAt(1); i <= n; ++i)
  40489. target[(i ^ 96) >>> 0] = transition;
  40490. },
  40491. $signature: 230
  40492. };
  40493. A._SimpleUri.prototype = {
  40494. get$hasAuthority() {
  40495. return this._hostStart > 0;
  40496. },
  40497. get$hasPort() {
  40498. return this._hostStart > 0 && this._portStart + 1 < this._pathStart;
  40499. },
  40500. get$hasQuery() {
  40501. return this._queryStart < this._fragmentStart;
  40502. },
  40503. get$hasFragment() {
  40504. return this._fragmentStart < this._uri.length;
  40505. },
  40506. get$hasAbsolutePath() {
  40507. return B.JSString_methods.startsWith$2(this._uri, "/", this._pathStart);
  40508. },
  40509. get$hasEmptyPath() {
  40510. return this._pathStart === this._queryStart;
  40511. },
  40512. get$scheme() {
  40513. var t1 = this._schemeCache;
  40514. return t1 == null ? this._schemeCache = this._computeScheme$0() : t1;
  40515. },
  40516. _computeScheme$0() {
  40517. var t2, _this = this,
  40518. t1 = _this._schemeEnd;
  40519. if (t1 <= 0)
  40520. return "";
  40521. t2 = t1 === 4;
  40522. if (t2 && B.JSString_methods.startsWith$1(_this._uri, "http"))
  40523. return "http";
  40524. if (t1 === 5 && B.JSString_methods.startsWith$1(_this._uri, "https"))
  40525. return "https";
  40526. if (t2 && B.JSString_methods.startsWith$1(_this._uri, "file"))
  40527. return "file";
  40528. if (t1 === 7 && B.JSString_methods.startsWith$1(_this._uri, "package"))
  40529. return "package";
  40530. return B.JSString_methods.substring$2(_this._uri, 0, t1);
  40531. },
  40532. get$userInfo() {
  40533. var t1 = this._hostStart,
  40534. t2 = this._schemeEnd + 3;
  40535. return t1 > t2 ? B.JSString_methods.substring$2(this._uri, t2, t1 - 1) : "";
  40536. },
  40537. get$host() {
  40538. var t1 = this._hostStart;
  40539. return t1 > 0 ? B.JSString_methods.substring$2(this._uri, t1, this._portStart) : "";
  40540. },
  40541. get$port(_) {
  40542. var t1, _this = this;
  40543. if (_this.get$hasPort())
  40544. return A.int_parse(B.JSString_methods.substring$2(_this._uri, _this._portStart + 1, _this._pathStart), null);
  40545. t1 = _this._schemeEnd;
  40546. if (t1 === 4 && B.JSString_methods.startsWith$1(_this._uri, "http"))
  40547. return 80;
  40548. if (t1 === 5 && B.JSString_methods.startsWith$1(_this._uri, "https"))
  40549. return 443;
  40550. return 0;
  40551. },
  40552. get$path(_) {
  40553. return B.JSString_methods.substring$2(this._uri, this._pathStart, this._queryStart);
  40554. },
  40555. get$query() {
  40556. var t1 = this._queryStart,
  40557. t2 = this._fragmentStart;
  40558. return t1 < t2 ? B.JSString_methods.substring$2(this._uri, t1 + 1, t2) : "";
  40559. },
  40560. get$fragment() {
  40561. var t1 = this._fragmentStart,
  40562. t2 = this._uri;
  40563. return t1 < t2.length ? B.JSString_methods.substring$1(t2, t1 + 1) : "";
  40564. },
  40565. get$pathSegments() {
  40566. var parts, i,
  40567. start = this._pathStart,
  40568. end = this._queryStart,
  40569. t1 = this._uri;
  40570. if (B.JSString_methods.startsWith$2(t1, "/", start))
  40571. ++start;
  40572. if (start === end)
  40573. return B.List_empty;
  40574. parts = A._setArrayType([], type$.JSArray_String);
  40575. for (i = start; i < end; ++i)
  40576. if (t1.charCodeAt(i) === 47) {
  40577. parts.push(B.JSString_methods.substring$2(t1, start, i));
  40578. start = i + 1;
  40579. }
  40580. parts.push(B.JSString_methods.substring$2(t1, start, end));
  40581. return A.List_List$unmodifiable(parts, type$.String);
  40582. },
  40583. _isPort$1(port) {
  40584. var portDigitStart = this._portStart + 1;
  40585. return portDigitStart + port.length === this._pathStart && B.JSString_methods.startsWith$2(this._uri, port, portDigitStart);
  40586. },
  40587. removeFragment$0() {
  40588. var _this = this,
  40589. t1 = _this._fragmentStart,
  40590. t2 = _this._uri;
  40591. if (t1 >= t2.length)
  40592. return _this;
  40593. 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);
  40594. },
  40595. replace$1$scheme(scheme) {
  40596. var schemeChanged, isFile, t1, userInfo, port, host, t2, path, t3, query, fragment, _this = this, _null = null;
  40597. scheme = A._Uri__makeScheme(scheme, 0, scheme.length);
  40598. schemeChanged = !(_this._schemeEnd === scheme.length && B.JSString_methods.startsWith$1(_this._uri, scheme));
  40599. isFile = scheme === "file";
  40600. t1 = _this._hostStart;
  40601. userInfo = t1 > 0 ? B.JSString_methods.substring$2(_this._uri, _this._schemeEnd + 3, t1) : "";
  40602. port = _this.get$hasPort() ? _this.get$port(0) : _null;
  40603. if (schemeChanged)
  40604. port = A._Uri__makePort(port, scheme);
  40605. t1 = _this._hostStart;
  40606. if (t1 > 0)
  40607. host = B.JSString_methods.substring$2(_this._uri, t1, _this._portStart);
  40608. else
  40609. host = userInfo.length !== 0 || port != null || isFile ? "" : _null;
  40610. t1 = _this._uri;
  40611. t2 = _this._queryStart;
  40612. path = B.JSString_methods.substring$2(t1, _this._pathStart, t2);
  40613. if (!isFile)
  40614. t3 = host != null && path.length !== 0;
  40615. else
  40616. t3 = true;
  40617. if (t3 && !B.JSString_methods.startsWith$1(path, "/"))
  40618. path = "/" + path;
  40619. t3 = _this._fragmentStart;
  40620. query = t2 < t3 ? B.JSString_methods.substring$2(t1, t2 + 1, t3) : _null;
  40621. t2 = _this._fragmentStart;
  40622. fragment = t2 < t1.length ? B.JSString_methods.substring$1(t1, t2 + 1) : _null;
  40623. return A._Uri$_internal(scheme, userInfo, host, port, path, query, fragment);
  40624. },
  40625. resolve$1(_, reference) {
  40626. return this.resolveUri$1(A.Uri_parse(reference));
  40627. },
  40628. resolveUri$1(reference) {
  40629. if (reference instanceof A._SimpleUri)
  40630. return this._simpleMerge$2(this, reference);
  40631. return this._toNonSimple$0().resolveUri$1(reference);
  40632. },
  40633. _simpleMerge$2(base, ref) {
  40634. var t2, t3, t4, isSimple, delta, refStart, basePathStart, packageNameEnd, basePathStart0, baseStart, baseEnd, baseUri, baseStart0, backCount, refStart0, insert,
  40635. t1 = ref._schemeEnd;
  40636. if (t1 > 0)
  40637. return ref;
  40638. t2 = ref._hostStart;
  40639. if (t2 > 0) {
  40640. t3 = base._schemeEnd;
  40641. if (t3 <= 0)
  40642. return ref;
  40643. t4 = t3 === 4;
  40644. if (t4 && B.JSString_methods.startsWith$1(base._uri, "file"))
  40645. isSimple = ref._pathStart !== ref._queryStart;
  40646. else if (t4 && B.JSString_methods.startsWith$1(base._uri, "http"))
  40647. isSimple = !ref._isPort$1("80");
  40648. else
  40649. isSimple = !(t3 === 5 && B.JSString_methods.startsWith$1(base._uri, "https")) || !ref._isPort$1("443");
  40650. if (isSimple) {
  40651. delta = t3 + 1;
  40652. 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);
  40653. } else
  40654. return this._toNonSimple$0().resolveUri$1(ref);
  40655. }
  40656. refStart = ref._pathStart;
  40657. t1 = ref._queryStart;
  40658. if (refStart === t1) {
  40659. t2 = ref._fragmentStart;
  40660. if (t1 < t2) {
  40661. t3 = base._queryStart;
  40662. delta = t3 - t1;
  40663. 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);
  40664. }
  40665. t1 = ref._uri;
  40666. if (t2 < t1.length) {
  40667. t3 = base._fragmentStart;
  40668. 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);
  40669. }
  40670. return base.removeFragment$0();
  40671. }
  40672. t2 = ref._uri;
  40673. if (B.JSString_methods.startsWith$2(t2, "/", refStart)) {
  40674. basePathStart = base._pathStart;
  40675. packageNameEnd = A._SimpleUri__packageNameEnd(this);
  40676. basePathStart0 = packageNameEnd > 0 ? packageNameEnd : basePathStart;
  40677. delta = basePathStart0 - refStart;
  40678. 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);
  40679. }
  40680. baseStart = base._pathStart;
  40681. baseEnd = base._queryStart;
  40682. if (baseStart === baseEnd && base._hostStart > 0) {
  40683. for (; B.JSString_methods.startsWith$2(t2, "../", refStart);)
  40684. refStart += 3;
  40685. delta = baseStart - refStart + 1;
  40686. 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);
  40687. }
  40688. baseUri = base._uri;
  40689. packageNameEnd = A._SimpleUri__packageNameEnd(this);
  40690. if (packageNameEnd >= 0)
  40691. baseStart0 = packageNameEnd;
  40692. else
  40693. for (baseStart0 = baseStart; B.JSString_methods.startsWith$2(baseUri, "../", baseStart0);)
  40694. baseStart0 += 3;
  40695. backCount = 0;
  40696. while (true) {
  40697. refStart0 = refStart + 3;
  40698. if (!(refStart0 <= t1 && B.JSString_methods.startsWith$2(t2, "../", refStart)))
  40699. break;
  40700. ++backCount;
  40701. refStart = refStart0;
  40702. }
  40703. for (insert = ""; baseEnd > baseStart0;) {
  40704. --baseEnd;
  40705. if (baseUri.charCodeAt(baseEnd) === 47) {
  40706. if (backCount === 0) {
  40707. insert = "/";
  40708. break;
  40709. }
  40710. --backCount;
  40711. insert = "/";
  40712. }
  40713. }
  40714. if (baseEnd === baseStart0 && base._schemeEnd <= 0 && !B.JSString_methods.startsWith$2(baseUri, "/", baseStart)) {
  40715. refStart -= backCount * 3;
  40716. insert = "";
  40717. }
  40718. delta = baseEnd - refStart + insert.length;
  40719. 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);
  40720. },
  40721. toFilePath$0() {
  40722. var t2, t3, _this = this,
  40723. t1 = _this._schemeEnd;
  40724. if (t1 >= 0) {
  40725. t2 = !(t1 === 4 && B.JSString_methods.startsWith$1(_this._uri, "file"));
  40726. t1 = t2;
  40727. } else
  40728. t1 = false;
  40729. if (t1)
  40730. throw A.wrapException(A.UnsupportedError$("Cannot extract a file path from a " + _this.get$scheme() + " URI"));
  40731. t1 = _this._queryStart;
  40732. t2 = _this._uri;
  40733. if (t1 < t2.length) {
  40734. if (t1 < _this._fragmentStart)
  40735. throw A.wrapException(A.UnsupportedError$(string$.Cannotfq));
  40736. throw A.wrapException(A.UnsupportedError$(string$.Cannotff));
  40737. }
  40738. t3 = $.$get$_Uri__isWindowsCached();
  40739. if (t3)
  40740. t1 = A._Uri__toWindowsFilePath(_this);
  40741. else {
  40742. if (_this._hostStart < _this._portStart)
  40743. A.throwExpression(A.UnsupportedError$(string$.Cannotn));
  40744. t1 = B.JSString_methods.substring$2(t2, _this._pathStart, t1);
  40745. }
  40746. return t1;
  40747. },
  40748. get$hashCode(_) {
  40749. var t1 = this._hashCodeCache;
  40750. return t1 == null ? this._hashCodeCache = B.JSString_methods.get$hashCode(this._uri) : t1;
  40751. },
  40752. $eq(_, other) {
  40753. if (other == null)
  40754. return false;
  40755. if (this === other)
  40756. return true;
  40757. return type$.Uri._is(other) && this._uri === other.toString$0(0);
  40758. },
  40759. _toNonSimple$0() {
  40760. var _this = this, _null = null,
  40761. t1 = _this.get$scheme(),
  40762. t2 = _this.get$userInfo(),
  40763. t3 = _this._hostStart > 0 ? _this.get$host() : _null,
  40764. t4 = _this.get$hasPort() ? _this.get$port(0) : _null,
  40765. t5 = _this._uri,
  40766. t6 = _this._queryStart,
  40767. t7 = B.JSString_methods.substring$2(t5, _this._pathStart, t6),
  40768. t8 = _this._fragmentStart;
  40769. t6 = t6 < t8 ? _this.get$query() : _null;
  40770. return A._Uri$_internal(t1, t2, t3, t4, t7, t6, t8 < t5.length ? _this.get$fragment() : _null);
  40771. },
  40772. toString$0(_) {
  40773. return this._uri;
  40774. },
  40775. $isUri: 1,
  40776. $is_PlatformUri: 1
  40777. };
  40778. A._DataUri.prototype = {};
  40779. A.Expando.prototype = {
  40780. $indexSet(_, object, value) {
  40781. if (object instanceof A._Record)
  40782. A.Expando__badExpandoKey(object);
  40783. this._jsWeakMap.set(object, value);
  40784. },
  40785. toString$0(_) {
  40786. return "Expando:null";
  40787. }
  40788. };
  40789. A.jsify__convert.prototype = {
  40790. call$1(o) {
  40791. var t1, convertedMap, key, convertedList;
  40792. if (A._noJsifyRequired(o))
  40793. return o;
  40794. t1 = this._convertedObjects;
  40795. if (t1.containsKey$1(o))
  40796. return t1.$index(0, o);
  40797. if (type$.Map_of_nullable_Object_and_nullable_Object._is(o)) {
  40798. convertedMap = {};
  40799. t1.$indexSet(0, o, convertedMap);
  40800. for (t1 = J.get$iterator$ax(o.get$keys(o)); t1.moveNext$0();) {
  40801. key = t1.get$current(t1);
  40802. convertedMap[key] = this.call$1(o.$index(0, key));
  40803. }
  40804. return convertedMap;
  40805. } else if (type$.Iterable_nullable_Object._is(o)) {
  40806. convertedList = [];
  40807. t1.$indexSet(0, o, convertedList);
  40808. B.JSArray_methods.addAll$1(convertedList, J.map$1$1$ax(o, this, type$.dynamic));
  40809. return convertedList;
  40810. } else
  40811. return o;
  40812. },
  40813. $signature: 343
  40814. };
  40815. A.promiseToFuture_closure1.prototype = {
  40816. call$1(r) {
  40817. return this.completer.complete$1(r);
  40818. },
  40819. $signature: 72
  40820. };
  40821. A.promiseToFuture_closure2.prototype = {
  40822. call$1(e) {
  40823. if (e == null)
  40824. return this.completer.completeError$1(new A.NullRejectionException(e === undefined));
  40825. return this.completer.completeError$1(e);
  40826. },
  40827. $signature: 72
  40828. };
  40829. A.NullRejectionException.prototype = {
  40830. toString$0(_) {
  40831. return "Promise was rejected with a value of `" + (this.isUndefined ? "undefined" : "null") + "`.";
  40832. },
  40833. $isException: 1
  40834. };
  40835. A._JSRandom.prototype = {
  40836. nextInt$1(max) {
  40837. if (max <= 0 || max > 4294967296)
  40838. throw A.wrapException(A.RangeError$("max must be in range 0 < max \u2264 2^32, was " + max));
  40839. return Math.random() * max >>> 0;
  40840. },
  40841. nextDouble$0() {
  40842. return Math.random();
  40843. }
  40844. };
  40845. A.ArgParser.prototype = {
  40846. addFlag$6$abbr$defaultsTo$help$hide$negatable($name, abbr, defaultsTo, help, hide, negatable) {
  40847. var _null = null;
  40848. this._addOption$12$aliases$hide$negatable($name, abbr, help, _null, _null, _null, defaultsTo, _null, B.OptionType_I6i, B.List_empty, hide, negatable);
  40849. },
  40850. addFlag$2$hide($name, hide) {
  40851. return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, null, false, null, hide, true);
  40852. },
  40853. addFlag$2$help($name, help) {
  40854. return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, null, false, help, false, true);
  40855. },
  40856. addFlag$3$defaultsTo$help($name, defaultsTo, help) {
  40857. return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, null, defaultsTo, help, false, true);
  40858. },
  40859. addFlag$3$help$negatable($name, help, negatable) {
  40860. return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, null, false, help, false, negatable);
  40861. },
  40862. addFlag$3$abbr$help($name, abbr, help) {
  40863. return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, abbr, false, help, false, true);
  40864. },
  40865. addFlag$4$abbr$help$negatable($name, abbr, help, negatable) {
  40866. return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, abbr, false, help, false, negatable);
  40867. },
  40868. addOption$7$abbr$allowed$defaultsTo$help$hide$valueHelp($name, abbr, allowed, defaultsTo, help, hide, valueHelp) {
  40869. this._addOption$12$aliases$hide$mandatory($name, abbr, help, valueHelp, allowed, null, defaultsTo, null, B.OptionType_tew, B.List_empty, hide, false);
  40870. },
  40871. addOption$2$hide($name, hide) {
  40872. var _null = null;
  40873. return this.addOption$7$abbr$allowed$defaultsTo$help$hide$valueHelp($name, _null, _null, _null, _null, hide, _null);
  40874. },
  40875. addOption$6$abbr$allowed$defaultsTo$help$valueHelp($name, abbr, allowed, defaultsTo, help, valueHelp) {
  40876. return this.addOption$7$abbr$allowed$defaultsTo$help$hide$valueHelp($name, abbr, allowed, defaultsTo, help, false, valueHelp);
  40877. },
  40878. addOption$4$allowed$defaultsTo$help($name, allowed, defaultsTo, help) {
  40879. return this.addOption$7$abbr$allowed$defaultsTo$help$hide$valueHelp($name, null, allowed, defaultsTo, help, false, null);
  40880. },
  40881. addMultiOption$7$abbr$allowed$allowedHelp$help$splitCommas$valueHelp($name, abbr, allowed, allowedHelp, help, splitCommas, valueHelp) {
  40882. var t1 = A._setArrayType([], type$.JSArray_String);
  40883. this._addOption$12$aliases$hide$splitCommas($name, abbr, help, valueHelp, allowed, allowedHelp, t1, null, B.OptionType_yPm, B.List_empty, false, splitCommas);
  40884. },
  40885. addMultiOption$5$abbr$help$splitCommas$valueHelp($name, abbr, help, splitCommas, valueHelp) {
  40886. return this.addMultiOption$7$abbr$allowed$allowedHelp$help$splitCommas$valueHelp($name, abbr, null, null, help, splitCommas, valueHelp);
  40887. },
  40888. addMultiOption$6$abbr$allowed$allowedHelp$help$valueHelp($name, abbr, allowed, allowedHelp, help, valueHelp) {
  40889. return this.addMultiOption$7$abbr$allowed$allowedHelp$help$splitCommas$valueHelp($name, abbr, allowed, allowedHelp, help, true, valueHelp);
  40890. },
  40891. addMultiOption$2$help($name, help) {
  40892. var _null = null;
  40893. return this.addMultiOption$7$abbr$allowed$allowedHelp$help$splitCommas$valueHelp($name, _null, _null, _null, help, true, _null);
  40894. },
  40895. _addOption$14$aliases$hide$mandatory$negatable$splitCommas($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, mandatory, negatable, splitCommas) {
  40896. var existing, t2, t3, option, _i, _this = this, _null = null,
  40897. t1 = A._setArrayType([$name], type$.JSArray_String);
  40898. B.JSArray_methods.addAll$1(t1, aliases);
  40899. if (B.JSArray_methods.any$1(t1, new A.ArgParser__addOption_closure(_this)))
  40900. throw A.wrapException(A.ArgumentError$('Duplicate option or alias "' + $name + '".', _null));
  40901. t1 = abbr != null;
  40902. if (t1) {
  40903. existing = _this.findByAbbreviation$1(abbr);
  40904. if (existing != null)
  40905. throw A.wrapException(A.ArgumentError$('Abbreviation "' + abbr + '" is already used by "' + existing.name + '".', _null));
  40906. }
  40907. t2 = allowed == null ? _null : A.List_List$unmodifiable(allowed, type$.String);
  40908. if (allowedHelp == null)
  40909. t3 = _null;
  40910. else {
  40911. t3 = type$.String;
  40912. t3 = A.ConstantMap_ConstantMap$from(allowedHelp, t3, t3);
  40913. }
  40914. option = new A.Option($name, abbr, help, valueHelp, t2, t3, defaultsTo, negatable, callback, type, splitCommas == null ? type === B.OptionType_yPm : splitCommas, false, hide);
  40915. if ($name.length === 0)
  40916. A.throwExpression(A.ArgumentError$("Name cannot be empty.", _null));
  40917. else if (B.JSString_methods.startsWith$1($name, "-"))
  40918. A.throwExpression(A.ArgumentError$("Name " + $name + ' cannot start with "-".', _null));
  40919. t2 = $.$get$Option__invalidChars()._nativeRegExp;
  40920. if (t2.test($name))
  40921. A.throwExpression(A.ArgumentError$('Name "' + $name + '" contains invalid characters.', _null));
  40922. if (t1) {
  40923. if (abbr.length !== 1)
  40924. A.throwExpression(A.ArgumentError$("Abbreviation must be null or have length 1.", _null));
  40925. else if (abbr === "-")
  40926. A.throwExpression(A.ArgumentError$('Abbreviation cannot be "-".', _null));
  40927. if (t2.test(abbr))
  40928. A.throwExpression(A.ArgumentError$("Abbreviation is an invalid character.", _null));
  40929. }
  40930. _this._arg_parser$_options.$indexSet(0, $name, option);
  40931. _this._optionsAndSeparators.push(option);
  40932. for (t1 = _this._aliases, _i = 0; false; ++_i)
  40933. t1.$indexSet(0, aliases[_i], $name);
  40934. },
  40935. _addOption$12$aliases$hide$splitCommas($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, splitCommas) {
  40936. return this._addOption$14$aliases$hide$mandatory$negatable$splitCommas($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, false, false, splitCommas);
  40937. },
  40938. _addOption$12$aliases$hide$mandatory($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, mandatory) {
  40939. return this._addOption$14$aliases$hide$mandatory$negatable$splitCommas($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, mandatory, false, null);
  40940. },
  40941. _addOption$12$aliases$hide$negatable($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, negatable) {
  40942. return this._addOption$14$aliases$hide$mandatory$negatable$splitCommas($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, false, negatable, null);
  40943. },
  40944. findByAbbreviation$1(abbr) {
  40945. var t1, t2;
  40946. for (t1 = this.options._map, t1 = t1.get$values(t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  40947. t2 = t1.get$current(t1);
  40948. if (t2.abbr === abbr)
  40949. return t2;
  40950. }
  40951. return null;
  40952. },
  40953. findByNameOrAlias$1($name) {
  40954. var t1 = this._aliases.$index(0, $name);
  40955. if (t1 == null)
  40956. t1 = $name;
  40957. return this.options._map.$index(0, t1);
  40958. }
  40959. };
  40960. A.ArgParser__addOption_closure.prototype = {
  40961. call$1($name) {
  40962. return this.$this.findByNameOrAlias$1($name) != null;
  40963. },
  40964. $signature: 4
  40965. };
  40966. A.ArgParserException.prototype = {};
  40967. A.ArgResults.prototype = {
  40968. $index(_, $name) {
  40969. var t1 = this._parser.options._map;
  40970. if (!t1.containsKey$1($name))
  40971. throw A.wrapException(A.ArgumentError$('Could not find an option named "' + $name + '".', null));
  40972. t1 = t1.$index(0, $name);
  40973. t1.toString;
  40974. return t1.valueOrDefault$1(this._parsed.$index(0, $name));
  40975. },
  40976. wasParsed$1($name) {
  40977. if (!this._parser.options._map.containsKey$1($name))
  40978. throw A.wrapException(A.ArgumentError$('Could not find an option named "' + $name + '".', null));
  40979. return this._parsed.containsKey$1($name);
  40980. }
  40981. };
  40982. A.Option.prototype = {
  40983. valueOrDefault$1(value) {
  40984. var t1;
  40985. if (value != null)
  40986. return value;
  40987. if (this.type === B.OptionType_yPm) {
  40988. t1 = this.defaultsTo;
  40989. return t1 == null ? A._setArrayType([], type$.JSArray_String) : t1;
  40990. }
  40991. return this.defaultsTo;
  40992. }
  40993. };
  40994. A.OptionType.prototype = {};
  40995. A.Parser0.prototype = {
  40996. parse$0() {
  40997. var commandResults, commandName, commandParser, error, t1, t3, t4, t5, t6, t7, t8, command, exception, _this = this,
  40998. t2 = _this._args;
  40999. t2.toList$0(0);
  41000. commandResults = null;
  41001. for (t3 = _this._parser$_rest, t4 = _this._grammar, t5 = t4.commands, t6 = t2.$ti._precomputed1; !t2.get$isEmpty(0);) {
  41002. t7 = t2._head;
  41003. if (t7 === t2._tail)
  41004. A.throwExpression(A.IterableElementError_noElement());
  41005. t7 = t2._table[t7];
  41006. t8 = t7 == null;
  41007. if ((t8 ? t6._as(t7) : t7) === "--") {
  41008. t2.removeFirst$0();
  41009. break;
  41010. }
  41011. if (t8)
  41012. t7 = t6._as(t7);
  41013. command = t5._map.$index(0, t7);
  41014. if (command != null) {
  41015. if (t3.length !== 0)
  41016. A.throwExpression(A.ArgParserException$("Cannot specify arguments before a command.", null));
  41017. commandName = t2.removeFirst$0();
  41018. t5 = type$.JSArray_String;
  41019. t6 = A._setArrayType([], t5);
  41020. B.JSArray_methods.addAll$1(t6, t3);
  41021. commandParser = new A.Parser0(commandName, _this, command, t2, t6, A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.dynamic));
  41022. try {
  41023. commandResults = commandParser.parse$0();
  41024. } catch (exception) {
  41025. t2 = A.unwrapException(exception);
  41026. if (t2 instanceof A.ArgParserException) {
  41027. error = t2;
  41028. t2 = error.message;
  41029. t1 = A._setArrayType([commandName], t5);
  41030. J.addAll$1$ax(t1, error.commands);
  41031. throw A.wrapException(A.ArgParserException$(t2, t1));
  41032. } else
  41033. throw exception;
  41034. }
  41035. B.JSArray_methods.clear$0(t3);
  41036. break;
  41037. }
  41038. if (_this._parseSoloOption$0())
  41039. continue;
  41040. if (_this._parseAbbreviation$1(_this))
  41041. continue;
  41042. if (_this._parseLongOption$0())
  41043. continue;
  41044. t3.push(t2.removeFirst$0());
  41045. }
  41046. t4.options._map.forEach$1(0, new A.Parser_parse_closure(_this));
  41047. B.JSArray_methods.addAll$1(t3, t2);
  41048. t2.clear$0(0);
  41049. return new A.ArgResults(t4, _this._results, _this._commandName, new A.UnmodifiableListView(t3, type$.UnmodifiableListView_String));
  41050. },
  41051. _readNextArgAsValue$1(option) {
  41052. var t1 = this._args;
  41053. if (t1.get$isEmpty(0))
  41054. A.throwExpression(A.ArgParserException$('Missing argument for "' + option.name + '".', null));
  41055. this._setOption$3(this._results, option, t1.get$first(0));
  41056. t1.removeFirst$0();
  41057. },
  41058. _parseSoloOption$0() {
  41059. var opt,
  41060. t1 = this._args;
  41061. if (t1.get$first(0).length !== 2)
  41062. return false;
  41063. if (!B.JSString_methods.startsWith$1(t1.get$first(0), "-"))
  41064. return false;
  41065. opt = t1.get$first(0)[1];
  41066. if (!A._isLetterOrDigit(opt.charCodeAt(0)))
  41067. return false;
  41068. this._handleSoloOption$1(opt);
  41069. return true;
  41070. },
  41071. _handleSoloOption$1(opt) {
  41072. var t1, _this = this,
  41073. option = _this._grammar.findByAbbreviation$1(opt);
  41074. if (option == null) {
  41075. t1 = _this._parser$_parent;
  41076. if (t1 == null)
  41077. A.throwExpression(A.ArgParserException$('Could not find an option or flag "-' + opt + '".', null));
  41078. t1._handleSoloOption$1(opt);
  41079. return true;
  41080. }
  41081. _this._args.removeFirst$0();
  41082. if (option.type === B.OptionType_I6i)
  41083. _this._results.$indexSet(0, option.name, true);
  41084. else
  41085. _this._readNextArgAsValue$1(option);
  41086. return true;
  41087. },
  41088. _parseAbbreviation$1(innermostCommand) {
  41089. var t2, index, t3, t4, lettersAndDigits, rest,
  41090. t1 = this._args;
  41091. if (t1.get$first(0).length < 2)
  41092. return false;
  41093. if (!B.JSString_methods.startsWith$1(t1.get$first(0), "-"))
  41094. return false;
  41095. t2 = t1.$ti._precomputed1;
  41096. index = 1;
  41097. while (true) {
  41098. t3 = t1._head;
  41099. if (t3 === t1._tail)
  41100. A.throwExpression(A.IterableElementError_noElement());
  41101. t3 = t1._table[t3];
  41102. t4 = t3 == null;
  41103. if (index < (t4 ? t2._as(t3) : t3).length) {
  41104. t3 = (t4 ? t2._as(t3) : t3).charCodeAt(index);
  41105. if (!(t3 >= 65 && t3 <= 90))
  41106. if (!(t3 >= 97 && t3 <= 122))
  41107. t3 = t3 >= 48 && t3 <= 57;
  41108. else
  41109. t3 = true;
  41110. else
  41111. t3 = true;
  41112. } else
  41113. t3 = false;
  41114. if (!t3)
  41115. break;
  41116. ++index;
  41117. }
  41118. if (index === 1)
  41119. return false;
  41120. lettersAndDigits = B.JSString_methods.substring$2(t1.get$first(0), 1, index);
  41121. rest = B.JSString_methods.substring$1(t1.get$first(0), index);
  41122. if (B.JSString_methods.contains$1(rest, "\n") || B.JSString_methods.contains$1(rest, "\r"))
  41123. return false;
  41124. this._handleAbbreviation$3(lettersAndDigits, rest, innermostCommand);
  41125. return true;
  41126. },
  41127. _handleAbbreviation$3(lettersAndDigits, rest, innermostCommand) {
  41128. var t1, i, i0, _this = this,
  41129. c = B.JSString_methods.substring$2(lettersAndDigits, 0, 1),
  41130. first = _this._grammar.findByAbbreviation$1(c);
  41131. if (first == null) {
  41132. t1 = _this._parser$_parent;
  41133. if (t1 == null)
  41134. A.throwExpression(A.ArgParserException$(string$.Could_ + c + '".', null));
  41135. t1._handleAbbreviation$3(lettersAndDigits, rest, innermostCommand);
  41136. return true;
  41137. } else if (first.type !== B.OptionType_I6i)
  41138. _this._setOption$3(_this._results, first, B.JSString_methods.substring$1(lettersAndDigits, 1) + rest);
  41139. else {
  41140. t1 = B.JSString_methods.substring$1(lettersAndDigits, 1);
  41141. if (rest !== "")
  41142. A.throwExpression(A.ArgParserException$('Option "-' + c + '" is a flag and cannot handle value "' + t1 + rest + '".', null));
  41143. for (t1 = lettersAndDigits.length, i = 0; i < t1; i = i0) {
  41144. i0 = i + 1;
  41145. innermostCommand._parseShortFlag$1(B.JSString_methods.substring$2(lettersAndDigits, i, i0));
  41146. }
  41147. }
  41148. _this._args.removeFirst$0();
  41149. return true;
  41150. },
  41151. _parseShortFlag$1(c) {
  41152. var t1,
  41153. option = this._grammar.findByAbbreviation$1(c);
  41154. if (option == null) {
  41155. t1 = this._parser$_parent;
  41156. if (t1 == null)
  41157. A.throwExpression(A.ArgParserException$(string$.Could_ + c + '".', null));
  41158. t1._parseShortFlag$1(c);
  41159. return;
  41160. }
  41161. if (option.type !== B.OptionType_I6i)
  41162. A.throwExpression(A.ArgParserException$('Option "-' + c + '" must be a flag to be in a collapsed "-".', null));
  41163. this._results.$indexSet(0, option.name, true);
  41164. },
  41165. _parseLongOption$0() {
  41166. var index, t2, $name, t3, i, t4, t5, value,
  41167. t1 = this._args;
  41168. if (!B.JSString_methods.startsWith$1(t1.get$first(0), "--"))
  41169. return false;
  41170. index = B.JSString_methods.indexOf$1(t1.get$first(0), "=");
  41171. t2 = index === -1;
  41172. $name = t2 ? B.JSString_methods.substring$1(t1.get$first(0), 2) : B.JSString_methods.substring$2(t1.get$first(0), 2, index);
  41173. for (t3 = $name.length, i = 0; i !== t3; ++i) {
  41174. t4 = $name.charCodeAt(i);
  41175. if (!(t4 >= 65 && t4 <= 90))
  41176. if (!(t4 >= 97 && t4 <= 122))
  41177. t5 = t4 >= 48 && t4 <= 57;
  41178. else
  41179. t5 = true;
  41180. else
  41181. t5 = true;
  41182. if (!(t5 || t4 === 45 || t4 === 95))
  41183. return false;
  41184. }
  41185. value = t2 ? null : B.JSString_methods.substring$1(t1.get$first(0), index + 1);
  41186. if (value != null)
  41187. t1 = B.JSString_methods.contains$1(value, "\n") || B.JSString_methods.contains$1(value, "\r");
  41188. else
  41189. t1 = false;
  41190. if (t1)
  41191. return false;
  41192. this._handleLongOption$2($name, value);
  41193. return true;
  41194. },
  41195. _handleLongOption$2($name, value) {
  41196. var _this = this, _null = null,
  41197. _s32_ = 'Could not find an option named "',
  41198. t1 = _this._grammar,
  41199. option = t1.findByNameOrAlias$1($name);
  41200. if (option != null) {
  41201. _this._args.removeFirst$0();
  41202. if (option.type === B.OptionType_I6i) {
  41203. if (value != null)
  41204. A.throwExpression(A.ArgParserException$('Flag option "' + $name + '" should not be given a value.', _null));
  41205. _this._results.$indexSet(0, option.name, true);
  41206. } else if (value != null)
  41207. _this._setOption$3(_this._results, option, value);
  41208. else
  41209. _this._readNextArgAsValue$1(option);
  41210. } else if (B.JSString_methods.startsWith$1($name, "no-")) {
  41211. option = t1.findByNameOrAlias$1(B.JSString_methods.substring$1($name, 3));
  41212. if (option == null) {
  41213. t1 = _this._parser$_parent;
  41214. if (t1 == null)
  41215. A.throwExpression(A.ArgParserException$(_s32_ + $name + '".', _null));
  41216. t1._handleLongOption$2($name, value);
  41217. return true;
  41218. }
  41219. _this._args.removeFirst$0();
  41220. if (option.type !== B.OptionType_I6i)
  41221. A.throwExpression(A.ArgParserException$('Cannot negate non-flag option "' + $name + '".', _null));
  41222. if (!option.negatable)
  41223. A.throwExpression(A.ArgParserException$('Cannot negate option "' + $name + '".', _null));
  41224. _this._results.$indexSet(0, option.name, false);
  41225. } else {
  41226. t1 = _this._parser$_parent;
  41227. if (t1 == null)
  41228. A.throwExpression(A.ArgParserException$(_s32_ + $name + '".', _null));
  41229. t1._handleLongOption$2($name, value);
  41230. return true;
  41231. }
  41232. return true;
  41233. },
  41234. _setOption$3(results, option, value) {
  41235. var list, t1, t2, t3, _i, element;
  41236. if (option.type !== B.OptionType_yPm) {
  41237. this._validateAllowed$2(option, value);
  41238. results.$indexSet(0, option.name, value);
  41239. return;
  41240. }
  41241. list = type$.List_dynamic._as(results.putIfAbsent$2(option.name, new A.Parser__setOption_closure()));
  41242. if (option.splitCommas)
  41243. for (t1 = value.split(","), t2 = t1.length, t3 = J.getInterceptor$ax(list), _i = 0; _i < t2; ++_i) {
  41244. element = t1[_i];
  41245. this._validateAllowed$2(option, element);
  41246. t3.add$1(list, element);
  41247. }
  41248. else {
  41249. this._validateAllowed$2(option, value);
  41250. J.add$1$ax(list, value);
  41251. }
  41252. },
  41253. _validateAllowed$2(option, value) {
  41254. var t1 = option.allowed;
  41255. if (t1 == null)
  41256. return;
  41257. if (!B.JSArray_methods.contains$1(t1, value))
  41258. A.throwExpression(A.ArgParserException$('"' + value + '" is not an allowed value for option "' + option.name + '".', null));
  41259. }
  41260. };
  41261. A.Parser_parse_closure.prototype = {
  41262. call$2($name, option) {
  41263. var parsedOption = this.$this._results.$index(0, $name),
  41264. callback = option.callback;
  41265. if (callback == null)
  41266. return;
  41267. callback.call$1(option.valueOrDefault$1(parsedOption));
  41268. },
  41269. $signature: 391
  41270. };
  41271. A.Parser__setOption_closure.prototype = {
  41272. call$0() {
  41273. return A._setArrayType([], type$.JSArray_String);
  41274. },
  41275. $signature: 126
  41276. };
  41277. A._Usage.prototype = {
  41278. get$_columnWidths() {
  41279. var result, _this = this,
  41280. value = _this.___Usage__columnWidths_FI;
  41281. if (value === $) {
  41282. result = _this._calculateColumnWidths$0();
  41283. _this.___Usage__columnWidths_FI !== $ && A.throwUnnamedLateFieldADI();
  41284. _this.___Usage__columnWidths_FI = result;
  41285. value = result;
  41286. }
  41287. return value;
  41288. },
  41289. generate$0() {
  41290. var t1, t2, t3, t4, _i, optionOrSeparator, t5, _this = this;
  41291. 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) {
  41292. optionOrSeparator = t1[_i];
  41293. if (typeof optionOrSeparator == "string") {
  41294. t5 = t4._contents;
  41295. t4._contents = (t5.length !== 0 ? t4._contents = t5 + "\n\n" : t5) + optionOrSeparator;
  41296. _this._newlinesNeeded = 1;
  41297. continue;
  41298. }
  41299. t3._as(optionOrSeparator);
  41300. if (optionOrSeparator.hide)
  41301. continue;
  41302. _this._writeOption$1(optionOrSeparator);
  41303. }
  41304. t1 = t4._contents;
  41305. return t1.charCodeAt(0) == 0 ? t1 : t1;
  41306. },
  41307. _writeOption$1(option) {
  41308. var allowedNames, t2, t3, t4, _i, $name, t5, _this = this,
  41309. t1 = option.abbr;
  41310. _this._write$2(0, t1 == null ? "" : "-" + t1 + ", ");
  41311. t1 = _this._longOption$1(option);
  41312. _this._write$2(1, t1);
  41313. t1 = option.help;
  41314. if (t1 != null)
  41315. _this._write$2(2, t1);
  41316. t1 = option.allowedHelp;
  41317. if (t1 != null) {
  41318. allowedNames = J.toList$0$ax(t1.get$keys(t1));
  41319. B.JSArray_methods.sort$0(allowedNames);
  41320. _this._newline$0();
  41321. for (t2 = allowedNames.length, t3 = option.defaultsTo, t4 = type$.List_dynamic._is(t3), _i = 0; _i < allowedNames.length; allowedNames.length === t2 || (0, A.throwConcurrentModificationError)(allowedNames), ++_i) {
  41322. $name = allowedNames[_i];
  41323. t5 = (t4 ? B.JSArray_methods.contains$1(t3, $name) : t3 === $name) ? " (default)" : "";
  41324. _this._write$2(1, " [" + $name + "]" + t5);
  41325. t5 = t1.$index(0, $name);
  41326. t5.toString;
  41327. _this._write$2(2, t5);
  41328. }
  41329. _this._newline$0();
  41330. } else if (option.allowed != null)
  41331. _this._write$2(2, _this._buildAllowedList$1(option));
  41332. else {
  41333. t1 = option.type;
  41334. if (t1 === B.OptionType_I6i) {
  41335. if (option.defaultsTo === true)
  41336. _this._write$2(2, "(defaults to on)");
  41337. } else if (t1 === B.OptionType_yPm) {
  41338. t1 = option.defaultsTo;
  41339. if (t1 != null && type$.Iterable_dynamic._as(t1).length !== 0) {
  41340. type$.List_dynamic._as(t1);
  41341. _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, ", ") + ")");
  41342. }
  41343. } else {
  41344. t1 = option.defaultsTo;
  41345. if (t1 != null)
  41346. _this._write$2(2, '(defaults to "' + A.S(t1) + '")');
  41347. }
  41348. }
  41349. },
  41350. _longOption$1(option) {
  41351. var t1 = option.name,
  41352. result = option.negatable ? "--[no-]" + t1 : "--" + t1;
  41353. t1 = option.valueHelp;
  41354. return t1 != null ? result + ("=<" + t1 + ">") : result;
  41355. },
  41356. _calculateColumnWidths$0() {
  41357. var t1, t2, t3, abbr, title, _i, option, t4, t5, t6, t7, t8;
  41358. 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) {
  41359. option = t1[_i];
  41360. if (!(option instanceof A.Option))
  41361. continue;
  41362. if (option.hide)
  41363. continue;
  41364. t4 = option.abbr;
  41365. abbr = Math.max(abbr, (t4 == null ? "" : "-" + t4 + ", ").length);
  41366. t4 = this._longOption$1(option);
  41367. title = Math.max(title, t4.length);
  41368. t4 = option.allowedHelp;
  41369. if (t4 != null)
  41370. for (t4 = J.get$iterator$ax(t4.get$keys(t4)), t5 = option.defaultsTo, t6 = t3._is(t5); t4.moveNext$0();) {
  41371. t7 = t4.get$current(t4);
  41372. t8 = (t6 ? B.JSArray_methods.contains$1(t5, t7) : t5 === t7) ? " (default)" : "";
  41373. title = Math.max(title, (" [" + t7 + "]" + t8).length);
  41374. }
  41375. }
  41376. return A._setArrayType([abbr, title + 4], type$.JSArray_int);
  41377. },
  41378. _newline$0() {
  41379. ++this._newlinesNeeded;
  41380. this._currentColumn = 0;
  41381. },
  41382. _write$2(column, text) {
  41383. var t1, _i,
  41384. lines = A._setArrayType(text.split("\n"), type$.JSArray_String);
  41385. this.get$_columnWidths();
  41386. while (true) {
  41387. if (!(lines.length !== 0 && J.trim$0$s(B.JSArray_methods.get$first(lines)) === ""))
  41388. break;
  41389. B.JSArray_methods.removeAt$1(lines, 0);
  41390. }
  41391. while (true) {
  41392. if (!(lines.length !== 0 && J.trim$0$s(B.JSArray_methods.get$last(lines)) === ""))
  41393. break;
  41394. lines.pop();
  41395. }
  41396. for (t1 = lines.length, _i = 0; _i < lines.length; lines.length === t1 || (0, A.throwConcurrentModificationError)(lines), ++_i)
  41397. this._writeLine$2(column, lines[_i]);
  41398. },
  41399. _writeLine$2(column, text) {
  41400. var t1, t2, _this = this;
  41401. for (t1 = _this._usage$_buffer; t2 = _this._newlinesNeeded, t2 > 0;) {
  41402. t1._contents += "\n";
  41403. _this._newlinesNeeded = t2 - 1;
  41404. }
  41405. for (; t2 = _this._currentColumn, t2 !== column;) {
  41406. if (t2 < 2) {
  41407. t2 = B.JSString_methods.$mul(" ", _this.get$_columnWidths()[_this._currentColumn]);
  41408. t1._contents += t2;
  41409. } else
  41410. t1._contents += "\n";
  41411. _this._currentColumn = (_this._currentColumn + 1) % 3;
  41412. }
  41413. _this.get$_columnWidths();
  41414. if (column < 2) {
  41415. t2 = B.JSString_methods.padRight$1(text, _this.get$_columnWidths()[column]);
  41416. t1._contents += t2;
  41417. } else
  41418. t1._contents += text;
  41419. _this._currentColumn = (_this._currentColumn + 1) % 3;
  41420. if (column === 2)
  41421. ++_this._newlinesNeeded;
  41422. },
  41423. _buildAllowedList$1(option) {
  41424. var t2, t3, first, _i, allowed,
  41425. t1 = option.defaultsTo,
  41426. isDefault = type$.List_dynamic._is(t1) ? B.JSArray_methods.get$contains(t1) : new A._Usage__buildAllowedList_closure(option);
  41427. t1 = "" + "[";
  41428. for (t2 = option.allowed, t3 = t2.length, first = true, _i = 0; _i < t3; ++_i, first = false) {
  41429. allowed = t2[_i];
  41430. if (!first)
  41431. t1 += ", ";
  41432. t1 += A.S(allowed);
  41433. if (isDefault.call$1(allowed))
  41434. t1 += " (default)";
  41435. }
  41436. t1 += "]";
  41437. return t1.charCodeAt(0) == 0 ? t1 : t1;
  41438. }
  41439. };
  41440. A._Usage__writeOption_closure.prototype = {
  41441. call$1(value) {
  41442. return '"' + A.S(value) + '"';
  41443. },
  41444. $signature: 125
  41445. };
  41446. A._Usage__buildAllowedList_closure.prototype = {
  41447. call$1(value) {
  41448. return value === this.option.defaultsTo;
  41449. },
  41450. $signature: 128
  41451. };
  41452. A.FutureGroup.prototype = {
  41453. add$1(_, task) {
  41454. var t1, index, _this = this;
  41455. if (_this._future_group$_closed)
  41456. throw A.wrapException(A.StateError$("The FutureGroup is closed."));
  41457. t1 = _this._future_group$_values;
  41458. index = t1.length;
  41459. t1.push(null);
  41460. ++_this._future_group$_pending;
  41461. task.then$1$1(0, new A.FutureGroup_add_closure(_this, index), type$.Null).catchError$1(new A.FutureGroup_add_closure0(_this));
  41462. },
  41463. close$0(_) {
  41464. var t1, t2, _this = this;
  41465. _this._future_group$_closed = true;
  41466. if (_this._future_group$_pending !== 0)
  41467. return;
  41468. t1 = _this._future_group$_completer;
  41469. if ((t1.future._state & 30) !== 0)
  41470. return;
  41471. t2 = _this.$ti._eval$1("WhereTypeIterable<1>");
  41472. t1.complete$1(A.List_List$of(new A.WhereTypeIterable(_this._future_group$_values, t2), true, t2._eval$1("Iterable.E")));
  41473. }
  41474. };
  41475. A.FutureGroup_add_closure.prototype = {
  41476. call$1(value) {
  41477. var t3, t4,
  41478. t1 = this.$this,
  41479. t2 = t1._future_group$_completer;
  41480. if ((t2.future._state & 30) !== 0)
  41481. return null;
  41482. t3 = --t1._future_group$_pending;
  41483. t4 = t1._future_group$_values;
  41484. t4[this.index] = value;
  41485. if (t3 !== 0)
  41486. return null;
  41487. if (!t1._future_group$_closed)
  41488. return null;
  41489. t1 = t1.$ti._eval$1("WhereTypeIterable<1>");
  41490. t2.complete$1(A.List_List$of(new A.WhereTypeIterable(t4, t1), true, t1._eval$1("Iterable.E")));
  41491. },
  41492. $signature() {
  41493. return this.$this.$ti._eval$1("Null(1)");
  41494. }
  41495. };
  41496. A.FutureGroup_add_closure0.prototype = {
  41497. call$2(error, stackTrace) {
  41498. var t1 = this.$this._future_group$_completer;
  41499. if ((t1.future._state & 30) !== 0)
  41500. return null;
  41501. t1.completeError$2(error, stackTrace);
  41502. },
  41503. $signature: 53
  41504. };
  41505. A.ErrorResult.prototype = {
  41506. complete$1(completer) {
  41507. completer.completeError$2(this.error, this.stackTrace);
  41508. },
  41509. get$hashCode(_) {
  41510. return (J.get$hashCode$(this.error) ^ A.Primitives_objectHashCode(this.stackTrace) ^ 492929599) >>> 0;
  41511. },
  41512. $eq(_, other) {
  41513. if (other == null)
  41514. return false;
  41515. return other instanceof A.ErrorResult && J.$eq$(this.error, other.error) && this.stackTrace === other.stackTrace;
  41516. },
  41517. $isResult: 1
  41518. };
  41519. A.ValueResult.prototype = {
  41520. complete$1(completer) {
  41521. completer.complete$1(this.value);
  41522. },
  41523. get$hashCode(_) {
  41524. return (J.get$hashCode$(this.value) ^ 842997089) >>> 0;
  41525. },
  41526. $eq(_, other) {
  41527. if (other == null)
  41528. return false;
  41529. return other instanceof A.ValueResult && J.$eq$(this.value, other.value);
  41530. },
  41531. $isResult: 1
  41532. };
  41533. A.StreamCompleter.prototype = {
  41534. setSourceStream$1(sourceStream) {
  41535. var t1 = this._stream_completer$_stream;
  41536. if (t1._sourceStream != null)
  41537. throw A.wrapException(A.StateError$("Source stream already set"));
  41538. t1._sourceStream = sourceStream;
  41539. if (t1._stream_completer$_controller != null)
  41540. t1._linkStreamToController$0();
  41541. },
  41542. setError$2(error, stackTrace) {
  41543. var t1 = this.$ti._precomputed1;
  41544. this.setSourceStream$1(A.Stream_Stream$fromFuture(A.Future_Future$error(error, stackTrace, t1), t1));
  41545. },
  41546. setError$1(error) {
  41547. return this.setError$2(error, null);
  41548. }
  41549. };
  41550. A._CompleterStream.prototype = {
  41551. listen$4$cancelOnError$onDone$onError(_, onData, cancelOnError, onDone, onError) {
  41552. var sourceStream, t1, _this = this, _null = null;
  41553. if (_this._stream_completer$_controller == null) {
  41554. sourceStream = _this._sourceStream;
  41555. if (sourceStream != null && !sourceStream.get$isBroadcast())
  41556. return sourceStream.listen$4$cancelOnError$onDone$onError(0, onData, cancelOnError, onDone, onError);
  41557. if (_this._stream_completer$_controller == null)
  41558. _this._stream_completer$_controller = A.StreamController_StreamController(_null, _null, _null, _null, true, _this.$ti._precomputed1);
  41559. if (_this._sourceStream != null)
  41560. _this._linkStreamToController$0();
  41561. }
  41562. t1 = _this._stream_completer$_controller;
  41563. t1.toString;
  41564. return new A._ControllerStream(t1, A._instanceType(t1)._eval$1("_ControllerStream<1>")).listen$4$cancelOnError$onDone$onError(0, onData, cancelOnError, onDone, onError);
  41565. },
  41566. listen$1(_, onData) {
  41567. return this.listen$4$cancelOnError$onDone$onError(0, onData, null, null, null);
  41568. },
  41569. listen$3$onDone$onError(_, onData, onDone, onError) {
  41570. return this.listen$4$cancelOnError$onDone$onError(0, onData, null, onDone, onError);
  41571. },
  41572. _linkStreamToController$0() {
  41573. var t2,
  41574. t1 = this._stream_completer$_controller;
  41575. t1.toString;
  41576. t2 = this._sourceStream;
  41577. t2.toString;
  41578. t1.addStream$2$cancelOnError(t2, false).whenComplete$1(t1.get$close(t1));
  41579. }
  41580. };
  41581. A.StreamGroup.prototype = {
  41582. add$1(_, stream) {
  41583. var t1, _this = this;
  41584. if (_this._closed)
  41585. throw A.wrapException(A.StateError$("Can't add a Stream to a closed StreamGroup."));
  41586. t1 = _this._stream_group$_state;
  41587. if (t1 === B._StreamGroupState_dormant)
  41588. _this._subscriptions.putIfAbsent$2(stream, new A.StreamGroup_add_closure());
  41589. else if (t1 === B._StreamGroupState_canceled)
  41590. return stream.listen$1(0, null).cancel$0();
  41591. else
  41592. _this._subscriptions.putIfAbsent$2(stream, new A.StreamGroup_add_closure0(_this, stream));
  41593. return null;
  41594. },
  41595. remove$1(_, stream) {
  41596. var t1 = this._subscriptions,
  41597. subscription = t1.remove$1(0, stream),
  41598. future = subscription == null ? null : subscription.cancel$0();
  41599. if (t1.__js_helper$_length === 0)
  41600. if (this._closed) {
  41601. t1 = this.__StreamGroup__controller_A;
  41602. t1 === $ && A.throwUnnamedLateFieldNI();
  41603. A.scheduleMicrotask(t1.get$close(t1));
  41604. }
  41605. return future;
  41606. },
  41607. _onListen$0() {
  41608. var stream, t1, t2, t3, _i, entry, exception, _this = this;
  41609. _this._stream_group$_state = B._StreamGroupState_listening;
  41610. for (t1 = _this._subscriptions, t2 = A.List_List$of(t1.get$entries(0), true, _this.$ti._eval$1("MapEntry<Stream<1>,StreamSubscription<1>?>")), t3 = t2.length, _i = 0; _i < t3; ++_i) {
  41611. entry = t2[_i];
  41612. if (entry.value != null)
  41613. continue;
  41614. stream = entry.key;
  41615. try {
  41616. t1.$indexSet(0, stream, _this._listenToStream$1(stream));
  41617. } catch (exception) {
  41618. t1 = _this._onCancel$0();
  41619. if (t1 != null)
  41620. t1.catchError$1(new A.StreamGroup__onListen_closure());
  41621. throw exception;
  41622. }
  41623. }
  41624. },
  41625. _onPause$0() {
  41626. var t1, t2, t3;
  41627. this._stream_group$_state = B._StreamGroupState_paused;
  41628. for (t1 = this._subscriptions.get$values(0), t2 = A._instanceType(t1), t2 = t2._eval$1("@<1>")._bind$1(t2._rest[1]), t1 = new A.MappedIterator(J.get$iterator$ax(t1.__internal$_iterable), t1._f, t2._eval$1("MappedIterator<1,2>")), t2 = t2._rest[1]; t1.moveNext$0();) {
  41629. t3 = t1.__internal$_current;
  41630. (t3 == null ? t2._as(t3) : t3).pause$0(0);
  41631. }
  41632. },
  41633. _onResume$0() {
  41634. var t1, t2, t3;
  41635. this._stream_group$_state = B._StreamGroupState_listening;
  41636. for (t1 = this._subscriptions.get$values(0), t2 = A._instanceType(t1), t2 = t2._eval$1("@<1>")._bind$1(t2._rest[1]), t1 = new A.MappedIterator(J.get$iterator$ax(t1.__internal$_iterable), t1._f, t2._eval$1("MappedIterator<1,2>")), t2 = t2._rest[1]; t1.moveNext$0();) {
  41637. t3 = t1.__internal$_current;
  41638. (t3 == null ? t2._as(t3) : t3).resume$0(0);
  41639. }
  41640. },
  41641. _onCancel$0() {
  41642. var t1, t2, futures;
  41643. this._stream_group$_state = B._StreamGroupState_canceled;
  41644. t1 = this._subscriptions;
  41645. t2 = A.IterableNullableExtension_whereNotNull(t1.get$entries(0).map$1$1(0, new A.StreamGroup__onCancel_closure(this), type$.nullable_Future_void), type$.Future_void);
  41646. futures = A.List_List$of(t2, true, t2.$ti._eval$1("Iterable.E"));
  41647. t1.clear$0(0);
  41648. return futures.length === 0 ? null : A.Future_wait(futures, false, type$.void);
  41649. },
  41650. _listenToStream$1(stream) {
  41651. var subscription,
  41652. t1 = this.__StreamGroup__controller_A;
  41653. t1 === $ && A.throwUnnamedLateFieldNI();
  41654. subscription = stream.listen$3$onDone$onError(0, t1.get$add(t1), new A.StreamGroup__listenToStream_closure(this, stream), t1.get$addError());
  41655. if (this._stream_group$_state === B._StreamGroupState_paused)
  41656. subscription.pause$0(0);
  41657. return subscription;
  41658. }
  41659. };
  41660. A.StreamGroup_add_closure.prototype = {
  41661. call$0() {
  41662. return null;
  41663. },
  41664. $signature: 1
  41665. };
  41666. A.StreamGroup_add_closure0.prototype = {
  41667. call$0() {
  41668. return this.$this._listenToStream$1(this.stream);
  41669. },
  41670. $signature() {
  41671. return this.$this.$ti._eval$1("StreamSubscription<1>()");
  41672. }
  41673. };
  41674. A.StreamGroup__onListen_closure.prototype = {
  41675. call$1(_) {
  41676. },
  41677. $signature: 54
  41678. };
  41679. A.StreamGroup__onCancel_closure.prototype = {
  41680. call$1(entry) {
  41681. var t1, exception,
  41682. subscription = entry.value;
  41683. try {
  41684. if (subscription != null) {
  41685. t1 = subscription.cancel$0();
  41686. return t1;
  41687. }
  41688. t1 = J.listen$1$z(entry.key, null).cancel$0();
  41689. return t1;
  41690. } catch (exception) {
  41691. return null;
  41692. }
  41693. },
  41694. $signature() {
  41695. return this.$this.$ti._eval$1("Future<~>?(MapEntry<Stream<1>,StreamSubscription<1>?>)");
  41696. }
  41697. };
  41698. A.StreamGroup__listenToStream_closure.prototype = {
  41699. call$0() {
  41700. return this.$this.remove$1(0, this.stream);
  41701. },
  41702. $signature: 0
  41703. };
  41704. A._StreamGroupState.prototype = {
  41705. toString$0(_) {
  41706. return this.name;
  41707. }
  41708. };
  41709. A.StreamQueue.prototype = {
  41710. _updateRequests$0() {
  41711. var t1, t2, t3, t4, _this = this;
  41712. for (t1 = _this._requestQueue, t2 = _this._eventQueue, t3 = t1.$ti._precomputed1; !t1.get$isEmpty(0);) {
  41713. t4 = t1._head;
  41714. if (t4 === t1._tail)
  41715. A.throwExpression(A.IterableElementError_noElement());
  41716. t4 = t1._table[t4];
  41717. if (t4 == null)
  41718. t4 = t3._as(t4);
  41719. if (t4.update$2(t2, _this._isDone))
  41720. t1.removeFirst$0();
  41721. else
  41722. return;
  41723. }
  41724. if (!_this._isDone)
  41725. _this._stream_queue$_subscription.pause$0(0);
  41726. },
  41727. _ensureListening$0() {
  41728. var t1, _this = this;
  41729. if (_this._isDone)
  41730. return;
  41731. t1 = _this._stream_queue$_subscription;
  41732. if (t1 == null)
  41733. _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));
  41734. else
  41735. t1.resume$0(0);
  41736. },
  41737. _addResult$1(result) {
  41738. ++this._eventsReceived;
  41739. this._eventQueue._queue_list$_add$1(result);
  41740. this._updateRequests$0();
  41741. },
  41742. _addRequest$1(request) {
  41743. var _this = this,
  41744. t1 = _this._requestQueue;
  41745. if (t1._head === t1._tail) {
  41746. if (request.update$2(_this._eventQueue, _this._isDone))
  41747. return;
  41748. _this._ensureListening$0();
  41749. }
  41750. t1._add$1(request);
  41751. }
  41752. };
  41753. A.StreamQueue__ensureListening_closure.prototype = {
  41754. call$1(data) {
  41755. var t1 = this.$this;
  41756. t1._addResult$1(new A.ValueResult(data, t1.$ti._eval$1("ValueResult<1>")));
  41757. },
  41758. $signature() {
  41759. return this.$this.$ti._eval$1("~(1)");
  41760. }
  41761. };
  41762. A.StreamQueue__ensureListening_closure1.prototype = {
  41763. call$2(error, stackTrace) {
  41764. this.$this._addResult$1(new A.ErrorResult(error, stackTrace));
  41765. },
  41766. $signature: 53
  41767. };
  41768. A.StreamQueue__ensureListening_closure0.prototype = {
  41769. call$0() {
  41770. var t1 = this.$this;
  41771. t1._stream_queue$_subscription = null;
  41772. t1._isDone = true;
  41773. t1._updateRequests$0();
  41774. },
  41775. $signature: 0
  41776. };
  41777. A._NextRequest.prototype = {
  41778. update$2(events, isDone) {
  41779. if (!events.get$isEmpty(events)) {
  41780. events.removeFirst$0().complete$1(this._completer);
  41781. return true;
  41782. }
  41783. if (isDone) {
  41784. this._completer.completeError$2(new A.StateError("No elements"), A.StackTrace_current());
  41785. return true;
  41786. }
  41787. return false;
  41788. },
  41789. $is_EventRequest: 1
  41790. };
  41791. A._isStrictMode_closure.prototype = {
  41792. call$0() {
  41793. var exception;
  41794. try {
  41795. "".name = null;
  41796. return false;
  41797. } catch (exception) {
  41798. return true;
  41799. }
  41800. },
  41801. $signature: 30
  41802. };
  41803. A.Repl.prototype = {};
  41804. A.alwaysValid_closure.prototype = {
  41805. call$1(text) {
  41806. return true;
  41807. },
  41808. $signature: 4
  41809. };
  41810. A.ReplAdapter.prototype = {
  41811. runAsync$0() {
  41812. var rl, runController, _this = this, t1 = {},
  41813. t2 = J.get$isTTY$x(self.process.stdin),
  41814. output = (t2 == null ? false : t2) ? self.process.stdout : null;
  41815. t2 = _this.repl.prompt;
  41816. rl = J.createInterface$1$x($.$get$readline(), {input: self.process.stdin, output: output, prompt: t2});
  41817. _this.rl = rl;
  41818. t1.statement = "";
  41819. t1.prompt = t2;
  41820. runController = A._Cell$();
  41821. 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);
  41822. return runController._readLocal$0().get$stream();
  41823. },
  41824. exit$0(_) {
  41825. var t1 = this.rl;
  41826. if (t1 != null)
  41827. J.close$0$x(t1);
  41828. this.rl = null;
  41829. }
  41830. };
  41831. A.ReplAdapter_runAsync_closure.prototype = {
  41832. call$0() {
  41833. var $async$goto = 0,
  41834. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  41835. $async$handler = 1, $async$currentError, $async$self = this, lineController, lineQueue, line, error, stackTrace, t1, t2, t3, t4, $prompt, prompt0, t5, t6, t7, t8, line0, toZone, statement, exception, $async$exception;
  41836. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  41837. if ($async$errorCode === 1) {
  41838. $async$currentError = $async$result;
  41839. $async$goto = $async$handler;
  41840. }
  41841. while (true)
  41842. switch ($async$goto) {
  41843. case 0:
  41844. // Function start
  41845. $async$handler = 3;
  41846. lineController = A.StreamController_StreamController(null, null, null, null, false, type$.String);
  41847. t1 = lineController;
  41848. t2 = A.QueueList$(null, type$.Result_String);
  41849. t3 = A.ListQueue$(type$._EventRequest_dynamic);
  41850. lineQueue = new A.StreamQueue(new A._ControllerStream(t1, A._instanceType(t1)._eval$1("_ControllerStream<1>")), t2, t3, type$.StreamQueue_String);
  41851. t1 = $async$self.rl;
  41852. t2 = J.getInterceptor$x(t1);
  41853. t2.on$2(t1, "line", A.allowInterop(new A.ReplAdapter_runAsync__closure(lineController)));
  41854. t3 = $async$self._box_0, t4 = $async$self.$this.repl, $prompt = t4.continuation, prompt0 = t4.prompt, t5 = $async$self.runController;
  41855. case 6:
  41856. // for condition
  41857. // trivial condition
  41858. t6 = J.get$isTTY$x(self.process.stdin);
  41859. if (t6 == null ? false : t6)
  41860. J.write$1$x(self.process.stdout, t3.prompt);
  41861. t6 = lineQueue;
  41862. t6.toString;
  41863. t7 = t6.$ti;
  41864. t8 = new A._Future($.Zone__current, t7._eval$1("_Future<1>"));
  41865. t6._addRequest$1(new A._NextRequest(new A._AsyncCompleter(t8, t7._eval$1("_AsyncCompleter<1>")), t7._eval$1("_NextRequest<1>")));
  41866. $async$goto = 8;
  41867. return A._asyncAwait(t8, $async$call$0);
  41868. case 8:
  41869. // returning from await.
  41870. line = $async$result;
  41871. t6 = J.get$isTTY$x(self.process.stdin);
  41872. if (!(t6 == null ? false : t6)) {
  41873. line0 = t3.prompt + A.S(line);
  41874. toZone = $.printToZone;
  41875. if (toZone == null)
  41876. A.printString(line0);
  41877. else
  41878. toZone.call$1(line0);
  41879. }
  41880. statement = B.JSString_methods.$add(t3.statement, line);
  41881. t3.statement = statement;
  41882. if (t4.validator.call$1(statement)) {
  41883. t6 = t5.__late_helper$_value;
  41884. if (t6 === t5)
  41885. A.throwExpression(A.LateError$localNI(""));
  41886. J.add$1$ax(t6, t3.statement);
  41887. t3.statement = "";
  41888. t3.prompt = prompt0;
  41889. t2.setPrompt$1(t1, prompt0);
  41890. } else {
  41891. t3.statement += "\n";
  41892. t3.prompt = $prompt;
  41893. t2.setPrompt$1(t1, $prompt);
  41894. }
  41895. // goto for condition
  41896. $async$goto = 6;
  41897. break;
  41898. case 7:
  41899. // after for
  41900. $async$handler = 1;
  41901. // goto after finally
  41902. $async$goto = 5;
  41903. break;
  41904. case 3:
  41905. // catch
  41906. $async$handler = 2;
  41907. $async$exception = $async$currentError;
  41908. error = A.unwrapException($async$exception);
  41909. stackTrace = A.getTraceFromException($async$exception);
  41910. t1 = $async$self.runController;
  41911. t1._readLocal$0().addError$2(error, stackTrace);
  41912. t2 = $async$self.$this.exit$0(0);
  41913. t2 = A._Future$value(t2, type$.void);
  41914. $async$goto = 9;
  41915. return A._asyncAwait(t2, $async$call$0);
  41916. case 9:
  41917. // returning from await.
  41918. J.close$0$x(t1._readLocal$0());
  41919. // goto after finally
  41920. $async$goto = 5;
  41921. break;
  41922. case 2:
  41923. // uncaught
  41924. // goto rethrow
  41925. $async$goto = 1;
  41926. break;
  41927. case 5:
  41928. // after finally
  41929. // implicit return
  41930. return A._asyncReturn(null, $async$completer);
  41931. case 1:
  41932. // rethrow
  41933. return A._asyncRethrow($async$currentError, $async$completer);
  41934. }
  41935. });
  41936. return A._asyncStartSync($async$call$0, $async$completer);
  41937. },
  41938. $signature: 24
  41939. };
  41940. A.ReplAdapter_runAsync__closure.prototype = {
  41941. call$1(value) {
  41942. return this.lineController.add$1(0, A._asString(value));
  41943. },
  41944. $signature: 72
  41945. };
  41946. A.Stdin.prototype = {};
  41947. A.Stdout.prototype = {};
  41948. A.ReadlineModule.prototype = {};
  41949. A.ReadlineOptions.prototype = {};
  41950. A.ReadlineInterface.prototype = {};
  41951. A.EmptyUnmodifiableSet.prototype = {
  41952. get$iterator(_) {
  41953. return B.C_EmptyIterator;
  41954. },
  41955. get$length(_) {
  41956. return 0;
  41957. },
  41958. contains$1(_, element) {
  41959. return false;
  41960. },
  41961. toSet$0(_) {
  41962. return A.LinkedHashSet_LinkedHashSet$_empty(this.$ti._precomputed1);
  41963. },
  41964. $isEfficientLengthIterable: 1,
  41965. $isSet: 1
  41966. };
  41967. A._EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin.prototype = {};
  41968. A.DefaultEquality.prototype = {};
  41969. A.IterableEquality.prototype = {
  41970. equals$2(_, elements1, elements2) {
  41971. var it1, it2, hasNext;
  41972. if (elements1 === elements2)
  41973. return true;
  41974. it1 = J.get$iterator$ax(elements1);
  41975. it2 = J.get$iterator$ax(elements2);
  41976. for (; true;) {
  41977. hasNext = it1.moveNext$0();
  41978. if (hasNext !== it2.moveNext$0())
  41979. return false;
  41980. if (!hasNext)
  41981. return true;
  41982. if (!J.$eq$(it1.get$current(it1), it2.get$current(it2)))
  41983. return false;
  41984. }
  41985. },
  41986. hash$1(elements) {
  41987. var t1, hash, _i;
  41988. for (t1 = elements.length, hash = 0, _i = 0; _i < elements.length; elements.length === t1 || (0, A.throwConcurrentModificationError)(elements), ++_i) {
  41989. hash = hash + J.get$hashCode$(elements[_i]) & 2147483647;
  41990. hash = hash + (hash << 10 >>> 0) & 2147483647;
  41991. hash ^= hash >>> 6;
  41992. }
  41993. hash = hash + (hash << 3 >>> 0) & 2147483647;
  41994. hash ^= hash >>> 11;
  41995. return hash + (hash << 15 >>> 0) & 2147483647;
  41996. }
  41997. };
  41998. A.ListEquality.prototype = {
  41999. equals$2(_, list1, list2) {
  42000. var t1, $length, t2, i;
  42001. if (list1 == null ? list2 == null : list1 === list2)
  42002. return true;
  42003. if (list1 == null || list2 == null)
  42004. return false;
  42005. t1 = J.getInterceptor$asx(list1);
  42006. $length = t1.get$length(list1);
  42007. t2 = J.getInterceptor$asx(list2);
  42008. if ($length !== t2.get$length(list2))
  42009. return false;
  42010. for (i = 0; i < $length; ++i)
  42011. if (!J.$eq$(t1.$index(list1, i), t2.$index(list2, i)))
  42012. return false;
  42013. return true;
  42014. },
  42015. hash$1(list) {
  42016. var hash, i;
  42017. for (hash = 0, i = 0; i < list.length; ++i) {
  42018. hash = hash + J.get$hashCode$(list[i]) & 2147483647;
  42019. hash = hash + (hash << 10 >>> 0) & 2147483647;
  42020. hash ^= hash >>> 6;
  42021. }
  42022. hash = hash + (hash << 3 >>> 0) & 2147483647;
  42023. hash ^= hash >>> 11;
  42024. return hash + (hash << 15 >>> 0) & 2147483647;
  42025. }
  42026. };
  42027. A._MapEntry.prototype = {
  42028. get$hashCode(_) {
  42029. return 3 * J.get$hashCode$(this.key) + 7 * J.get$hashCode$(this.value) & 2147483647;
  42030. },
  42031. $eq(_, other) {
  42032. if (other == null)
  42033. return false;
  42034. return other instanceof A._MapEntry && J.$eq$(this.key, other.key) && J.$eq$(this.value, other.value);
  42035. }
  42036. };
  42037. A.MapEquality.prototype = {
  42038. equals$2(_, map1, map2) {
  42039. var equalElementCounts, t1, key, entry, count;
  42040. if (map1 === map2)
  42041. return true;
  42042. if (map1.get$length(map1) !== map2.get$length(map2))
  42043. return false;
  42044. equalElementCounts = A.HashMap_HashMap(type$._MapEntry, type$.int);
  42045. for (t1 = J.get$iterator$ax(map1.get$keys(map1)); t1.moveNext$0();) {
  42046. key = t1.get$current(t1);
  42047. entry = new A._MapEntry(this, key, map1.$index(0, key));
  42048. count = equalElementCounts.$index(0, entry);
  42049. equalElementCounts.$indexSet(0, entry, (count == null ? 0 : count) + 1);
  42050. }
  42051. for (t1 = J.get$iterator$ax(map2.get$keys(map2)); t1.moveNext$0();) {
  42052. key = t1.get$current(t1);
  42053. entry = new A._MapEntry(this, key, map2.$index(0, key));
  42054. count = equalElementCounts.$index(0, entry);
  42055. if (count == null || count === 0)
  42056. return false;
  42057. equalElementCounts.$indexSet(0, entry, count - 1);
  42058. }
  42059. return true;
  42060. },
  42061. hash$1(map) {
  42062. var t1, t2, hash, key, keyHash, t3;
  42063. for (t1 = J.get$iterator$ax(map.get$keys(map)), t2 = this.$ti._rest[1], hash = 0; t1.moveNext$0();) {
  42064. key = t1.get$current(t1);
  42065. keyHash = J.get$hashCode$(key);
  42066. t3 = map.$index(0, key);
  42067. hash = hash + 3 * keyHash + 7 * J.get$hashCode$(t3 == null ? t2._as(t3) : t3) & 2147483647;
  42068. }
  42069. hash = hash + (hash << 3 >>> 0) & 2147483647;
  42070. hash ^= hash >>> 11;
  42071. return hash + (hash << 15 >>> 0) & 2147483647;
  42072. }
  42073. };
  42074. A.QueueList.prototype = {
  42075. add$1(_, element) {
  42076. this._queue_list$_add$1(element);
  42077. },
  42078. addAll$1(_, iterable) {
  42079. var addCount, $length, t1, endSpace, t2, preSpace, _this = this;
  42080. if (type$.List_dynamic._is(iterable)) {
  42081. addCount = J.get$length$asx(iterable);
  42082. $length = _this.get$length(0);
  42083. t1 = $length + addCount;
  42084. if (t1 >= J.get$length$asx(_this._queue_list$_table)) {
  42085. _this._preGrow$1(t1);
  42086. J.setRange$4$ax(_this._queue_list$_table, $length, t1, iterable, 0);
  42087. _this.set$_queue_list$_tail(_this.get$_queue_list$_tail() + addCount);
  42088. } else {
  42089. endSpace = J.get$length$asx(_this._queue_list$_table) - _this.get$_queue_list$_tail();
  42090. t1 = _this._queue_list$_table;
  42091. t2 = J.getInterceptor$ax(t1);
  42092. if (addCount < endSpace) {
  42093. t2.setRange$4(t1, _this.get$_queue_list$_tail(), _this.get$_queue_list$_tail() + addCount, iterable, 0);
  42094. _this.set$_queue_list$_tail(_this.get$_queue_list$_tail() + addCount);
  42095. } else {
  42096. preSpace = addCount - endSpace;
  42097. t2.setRange$4(t1, _this.get$_queue_list$_tail(), _this.get$_queue_list$_tail() + endSpace, iterable, 0);
  42098. J.setRange$4$ax(_this._queue_list$_table, 0, preSpace, iterable, endSpace);
  42099. _this.set$_queue_list$_tail(preSpace);
  42100. }
  42101. }
  42102. } else
  42103. for (t1 = J.get$iterator$ax(iterable); t1.moveNext$0();)
  42104. _this._queue_list$_add$1(t1.get$current(t1));
  42105. },
  42106. cast$1$0(_, $T) {
  42107. 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>"));
  42108. },
  42109. toString$0(_) {
  42110. return A.Iterable_iterableToFullString(this, "{", "}");
  42111. },
  42112. addFirst$1(element) {
  42113. var _this = this;
  42114. _this.set$_queue_list$_head((_this.get$_queue_list$_head() - 1 & J.get$length$asx(_this._queue_list$_table) - 1) >>> 0);
  42115. J.$indexSet$ax(_this._queue_list$_table, _this.get$_queue_list$_head(), element);
  42116. if (_this.get$_queue_list$_head() === _this.get$_queue_list$_tail())
  42117. _this._queue_list$_grow$0();
  42118. },
  42119. removeFirst$0() {
  42120. var result, _this = this;
  42121. if (_this.get$_queue_list$_head() === _this.get$_queue_list$_tail())
  42122. throw A.wrapException(A.StateError$("No element"));
  42123. result = J.$index$asx(_this._queue_list$_table, _this.get$_queue_list$_head());
  42124. if (result == null)
  42125. result = A._instanceType(_this)._eval$1("QueueList.E")._as(result);
  42126. J.$indexSet$ax(_this._queue_list$_table, _this.get$_queue_list$_head(), null);
  42127. _this.set$_queue_list$_head((_this.get$_queue_list$_head() + 1 & J.get$length$asx(_this._queue_list$_table) - 1) >>> 0);
  42128. return result;
  42129. },
  42130. removeLast$0(_) {
  42131. var result, _this = this;
  42132. if (_this.get$_queue_list$_head() === _this.get$_queue_list$_tail())
  42133. throw A.wrapException(A.StateError$("No element"));
  42134. _this.set$_queue_list$_tail((_this.get$_queue_list$_tail() - 1 & J.get$length$asx(_this._queue_list$_table) - 1) >>> 0);
  42135. result = J.$index$asx(_this._queue_list$_table, _this.get$_queue_list$_tail());
  42136. if (result == null)
  42137. result = A._instanceType(_this)._eval$1("QueueList.E")._as(result);
  42138. J.$indexSet$ax(_this._queue_list$_table, _this.get$_queue_list$_tail(), null);
  42139. return result;
  42140. },
  42141. get$length(_) {
  42142. return (this.get$_queue_list$_tail() - this.get$_queue_list$_head() & J.get$length$asx(this._queue_list$_table) - 1) >>> 0;
  42143. },
  42144. set$length(_, value) {
  42145. var delta, newTail, t1, t2, _this = this;
  42146. if (value < 0)
  42147. throw A.wrapException(A.RangeError$("Length " + value + " may not be negative."));
  42148. if (value > _this.get$length(0) && !A._instanceType(_this)._eval$1("QueueList.E")._is(null))
  42149. 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) + "`."));
  42150. delta = value - _this.get$length(0);
  42151. if (delta >= 0) {
  42152. if (J.get$length$asx(_this._queue_list$_table) <= value)
  42153. _this._preGrow$1(value);
  42154. _this.set$_queue_list$_tail((_this.get$_queue_list$_tail() + delta & J.get$length$asx(_this._queue_list$_table) - 1) >>> 0);
  42155. return;
  42156. }
  42157. newTail = _this.get$_queue_list$_tail() + delta;
  42158. t1 = _this._queue_list$_table;
  42159. if (newTail >= 0)
  42160. J.fillRange$3$ax(t1, newTail, _this.get$_queue_list$_tail(), null);
  42161. else {
  42162. newTail += J.get$length$asx(t1);
  42163. J.fillRange$3$ax(_this._queue_list$_table, 0, _this.get$_queue_list$_tail(), null);
  42164. t1 = _this._queue_list$_table;
  42165. t2 = J.getInterceptor$asx(t1);
  42166. t2.fillRange$3(t1, newTail, t2.get$length(t1), null);
  42167. }
  42168. _this.set$_queue_list$_tail(newTail);
  42169. },
  42170. $index(_, index) {
  42171. var t1, _this = this;
  42172. if (index < 0 || index >= _this.get$length(0))
  42173. throw A.wrapException(A.RangeError$("Index " + index + " must be in the range [0.." + _this.get$length(0) + ")."));
  42174. t1 = J.$index$asx(_this._queue_list$_table, (_this.get$_queue_list$_head() + index & J.get$length$asx(_this._queue_list$_table) - 1) >>> 0);
  42175. return t1 == null ? A._instanceType(_this)._eval$1("QueueList.E")._as(t1) : t1;
  42176. },
  42177. $indexSet(_, index, value) {
  42178. var _this = this;
  42179. if (index < 0 || index >= _this.get$length(0))
  42180. throw A.wrapException(A.RangeError$("Index " + index + " must be in the range [0.." + _this.get$length(0) + ")."));
  42181. J.$indexSet$ax(_this._queue_list$_table, (_this.get$_queue_list$_head() + index & J.get$length$asx(_this._queue_list$_table) - 1) >>> 0, value);
  42182. },
  42183. _queue_list$_add$1(element) {
  42184. var _this = this;
  42185. J.$indexSet$ax(_this._queue_list$_table, _this.get$_queue_list$_tail(), element);
  42186. _this.set$_queue_list$_tail((_this.get$_queue_list$_tail() + 1 & J.get$length$asx(_this._queue_list$_table) - 1) >>> 0);
  42187. if (_this.get$_queue_list$_head() === _this.get$_queue_list$_tail())
  42188. _this._queue_list$_grow$0();
  42189. },
  42190. _queue_list$_grow$0() {
  42191. var _this = this,
  42192. newTable = A.List_List$filled(J.get$length$asx(_this._queue_list$_table) * 2, null, false, A._instanceType(_this)._eval$1("QueueList.E?")),
  42193. split = J.get$length$asx(_this._queue_list$_table) - _this.get$_queue_list$_head();
  42194. B.JSArray_methods.setRange$4(newTable, 0, split, _this._queue_list$_table, _this.get$_queue_list$_head());
  42195. B.JSArray_methods.setRange$4(newTable, split, split + _this.get$_queue_list$_head(), _this._queue_list$_table, 0);
  42196. _this.set$_queue_list$_head(0);
  42197. _this.set$_queue_list$_tail(J.get$length$asx(_this._queue_list$_table));
  42198. _this._queue_list$_table = newTable;
  42199. },
  42200. _writeToList$1(target) {
  42201. var $length, firstPartSize, _this = this;
  42202. if (_this.get$_queue_list$_head() <= _this.get$_queue_list$_tail()) {
  42203. $length = _this.get$_queue_list$_tail() - _this.get$_queue_list$_head();
  42204. B.JSArray_methods.setRange$4(target, 0, $length, _this._queue_list$_table, _this.get$_queue_list$_head());
  42205. return $length;
  42206. } else {
  42207. firstPartSize = J.get$length$asx(_this._queue_list$_table) - _this.get$_queue_list$_head();
  42208. B.JSArray_methods.setRange$4(target, 0, firstPartSize, _this._queue_list$_table, _this.get$_queue_list$_head());
  42209. B.JSArray_methods.setRange$4(target, firstPartSize, firstPartSize + _this.get$_queue_list$_tail(), _this._queue_list$_table, 0);
  42210. return _this.get$_queue_list$_tail() + firstPartSize;
  42211. }
  42212. },
  42213. _preGrow$1(newElementCount) {
  42214. var _this = this,
  42215. 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?"));
  42216. _this.set$_queue_list$_tail(_this._writeToList$1(newTable));
  42217. _this._queue_list$_table = newTable;
  42218. _this.set$_queue_list$_head(0);
  42219. },
  42220. $isEfficientLengthIterable: 1,
  42221. $isQueue: 1,
  42222. $isIterable: 1,
  42223. $isList: 1,
  42224. get$_queue_list$_head() {
  42225. return this._queue_list$_head;
  42226. },
  42227. get$_queue_list$_tail() {
  42228. return this._queue_list$_tail;
  42229. },
  42230. set$_queue_list$_head(val) {
  42231. return this._queue_list$_head = val;
  42232. },
  42233. set$_queue_list$_tail(val) {
  42234. return this._queue_list$_tail = val;
  42235. }
  42236. };
  42237. A._CastQueueList.prototype = {
  42238. get$_queue_list$_head() {
  42239. return this._queue_list$_delegate.get$_queue_list$_head();
  42240. },
  42241. set$_queue_list$_head(value) {
  42242. this._queue_list$_delegate.set$_queue_list$_head(value);
  42243. },
  42244. get$_queue_list$_tail() {
  42245. return this._queue_list$_delegate.get$_queue_list$_tail();
  42246. },
  42247. set$_queue_list$_tail(value) {
  42248. this._queue_list$_delegate.set$_queue_list$_tail(value);
  42249. }
  42250. };
  42251. A._QueueList_Object_ListMixin.prototype = {};
  42252. A.UnionSet.prototype = {
  42253. get$length(_) {
  42254. var t1 = this.get$_union_set$_iterable().get$length(0);
  42255. return t1;
  42256. },
  42257. get$iterator(_) {
  42258. var t1 = this.get$_union_set$_iterable();
  42259. return t1.get$iterator(t1);
  42260. },
  42261. get$_union_set$_iterable() {
  42262. var t1 = this._sets,
  42263. t2 = this.$ti._precomputed1,
  42264. t3 = A._instanceType(t1)._eval$1("@<1>")._bind$1(t2)._eval$1("ExpandIterable<1,2>");
  42265. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t2);
  42266. 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>"));
  42267. },
  42268. contains$1(_, element) {
  42269. return this._sets.any$1(0, new A.UnionSet_contains_closure(this, element));
  42270. },
  42271. toSet$0(_) {
  42272. var t2, t3, t4,
  42273. t1 = A.LinkedHashSet_LinkedHashSet$_empty(this.$ti._precomputed1);
  42274. for (t2 = this._sets, t2 = A._LinkedHashSetIterator$(t2, t2._modifications, A._instanceType(t2)._precomputed1), t3 = t2.$ti._precomputed1; t2.moveNext$0();) {
  42275. t4 = t2._collection$_current;
  42276. t1.addAll$1(0, t4 == null ? t3._as(t4) : t4);
  42277. }
  42278. return t1;
  42279. }
  42280. };
  42281. A.UnionSet__iterable_closure.prototype = {
  42282. call$1(set) {
  42283. return set;
  42284. },
  42285. $signature() {
  42286. return this.$this.$ti._eval$1("Set<1>(Set<1>)");
  42287. }
  42288. };
  42289. A.UnionSet_contains_closure.prototype = {
  42290. call$1(set) {
  42291. return set.contains$1(0, this.element);
  42292. },
  42293. $signature() {
  42294. return this.$this.$ti._eval$1("bool(Set<1>)");
  42295. }
  42296. };
  42297. A._UnionSet_SetBase_UnmodifiableSetMixin.prototype = {};
  42298. A.UnmodifiableSetView0.prototype = {};
  42299. A.UnmodifiableSetMixin.prototype = {
  42300. add$1(_, value) {
  42301. return A.UnmodifiableSetMixin__throw();
  42302. },
  42303. addAll$1(_, elements) {
  42304. return A.UnmodifiableSetMixin__throw();
  42305. },
  42306. remove$1(_, value) {
  42307. return A.UnmodifiableSetMixin__throw();
  42308. }
  42309. };
  42310. A._UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin.prototype = {};
  42311. A._DelegatingIterableBase.prototype = {
  42312. any$1(_, test) {
  42313. return J.any$1$ax(this.get$_base(), test);
  42314. },
  42315. contains$1(_, element) {
  42316. return J.contains$1$asx(this.get$_base(), element);
  42317. },
  42318. elementAt$1(_, index) {
  42319. return J.elementAt$1$ax(this.get$_base(), index);
  42320. },
  42321. every$1(_, test) {
  42322. return J.every$1$ax(this.get$_base(), test);
  42323. },
  42324. get$first(_) {
  42325. return J.get$first$ax(this.get$_base());
  42326. },
  42327. get$isEmpty(_) {
  42328. return J.get$isEmpty$asx(this.get$_base());
  42329. },
  42330. get$isNotEmpty(_) {
  42331. return J.get$isNotEmpty$asx(this.get$_base());
  42332. },
  42333. get$iterator(_) {
  42334. return J.get$iterator$ax(this.get$_base());
  42335. },
  42336. get$last(_) {
  42337. return J.get$last$ax(this.get$_base());
  42338. },
  42339. get$length(_) {
  42340. return J.get$length$asx(this.get$_base());
  42341. },
  42342. map$1$1(_, f, $T) {
  42343. return J.map$1$1$ax(this.get$_base(), f, $T);
  42344. },
  42345. get$single(_) {
  42346. return J.get$single$ax(this.get$_base());
  42347. },
  42348. skip$1(_, n) {
  42349. return J.skip$1$ax(this.get$_base(), n);
  42350. },
  42351. take$1(_, n) {
  42352. return J.take$1$ax(this.get$_base(), n);
  42353. },
  42354. toList$1$growable(_, growable) {
  42355. return J.toList$1$growable$ax(this.get$_base(), true);
  42356. },
  42357. toList$0(_) {
  42358. return this.toList$1$growable(0, true);
  42359. },
  42360. toSet$0(_) {
  42361. return J.toSet$0$ax(this.get$_base());
  42362. },
  42363. where$1(_, test) {
  42364. return J.where$1$ax(this.get$_base(), test);
  42365. },
  42366. toString$0(_) {
  42367. return J.toString$0$(this.get$_base());
  42368. },
  42369. $isIterable: 1
  42370. };
  42371. A.DelegatingSet.prototype = {
  42372. add$1(_, value) {
  42373. return this._base.add$1(0, value);
  42374. },
  42375. addAll$1(_, elements) {
  42376. this._base.addAll$1(0, elements);
  42377. },
  42378. toSet$0(_) {
  42379. return new A.DelegatingSet(this._base.toSet$0(0), A._instanceType(this)._eval$1("DelegatingSet<1>"));
  42380. },
  42381. $isEfficientLengthIterable: 1,
  42382. $isSet: 1,
  42383. get$_base() {
  42384. return this._base;
  42385. }
  42386. };
  42387. A.MapKeySet.prototype = {
  42388. get$_base() {
  42389. var t1 = this._baseMap;
  42390. return t1.get$keys(t1);
  42391. },
  42392. contains$1(_, element) {
  42393. return this._baseMap.containsKey$1(element);
  42394. },
  42395. get$isEmpty(_) {
  42396. var t1 = this._baseMap;
  42397. return t1.get$isEmpty(t1);
  42398. },
  42399. get$isNotEmpty(_) {
  42400. var t1 = this._baseMap;
  42401. return t1.get$isNotEmpty(t1);
  42402. },
  42403. get$length(_) {
  42404. var t1 = this._baseMap;
  42405. return t1.get$length(t1);
  42406. },
  42407. toString$0(_) {
  42408. return A.Iterable_iterableToFullString(this, "{", "}");
  42409. },
  42410. difference$1(other) {
  42411. return J.where$1$ax(this.get$_base(), new A.MapKeySet_difference_closure(this, other)).toSet$0(0);
  42412. },
  42413. $isEfficientLengthIterable: 1,
  42414. $isSet: 1
  42415. };
  42416. A.MapKeySet_difference_closure.prototype = {
  42417. call$1(element) {
  42418. return !this.other._source.contains$1(0, element);
  42419. },
  42420. $signature() {
  42421. return this.$this.$ti._eval$1("bool(1)");
  42422. }
  42423. };
  42424. A._MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin.prototype = {};
  42425. A.BufferModule.prototype = {};
  42426. A.BufferConstants.prototype = {};
  42427. A.Buffer.prototype = {};
  42428. A.ConsoleModule.prototype = {};
  42429. A.Console.prototype = {};
  42430. A.EventEmitter.prototype = {};
  42431. A.FS.prototype = {};
  42432. A.FSConstants.prototype = {};
  42433. A.FSWatcher.prototype = {};
  42434. A.ReadStream.prototype = {};
  42435. A.ReadStreamOptions.prototype = {};
  42436. A.WriteStream.prototype = {};
  42437. A.WriteStreamOptions.prototype = {};
  42438. A.FileOptions.prototype = {};
  42439. A.StatOptions.prototype = {};
  42440. A.MkdirOptions.prototype = {};
  42441. A.RmdirOptions.prototype = {};
  42442. A.WatchOptions.prototype = {};
  42443. A.WatchFileOptions.prototype = {};
  42444. A.Stats.prototype = {};
  42445. A.Promise.prototype = {};
  42446. A.Date.prototype = {};
  42447. A.JsError.prototype = {};
  42448. A.Atomics.prototype = {};
  42449. A.Modules.prototype = {};
  42450. A.Module.prototype = {};
  42451. A.Net.prototype = {};
  42452. A.Socket.prototype = {};
  42453. A.NetAddress.prototype = {};
  42454. A.NetServer.prototype = {};
  42455. A.NodeJsError.prototype = {};
  42456. A.JsAssertionError.prototype = {};
  42457. A.JsRangeError.prototype = {};
  42458. A.JsReferenceError.prototype = {};
  42459. A.JsSyntaxError.prototype = {};
  42460. A.JsTypeError.prototype = {};
  42461. A.JsSystemError.prototype = {};
  42462. A.Process.prototype = {};
  42463. A.CPUUsage.prototype = {};
  42464. A.Release.prototype = {};
  42465. A.StreamModule.prototype = {};
  42466. A.Readable.prototype = {};
  42467. A.Writable.prototype = {};
  42468. A.Duplex.prototype = {};
  42469. A.Transform.prototype = {};
  42470. A.WritableOptions.prototype = {};
  42471. A.ReadableOptions.prototype = {};
  42472. A.Immediate.prototype = {};
  42473. A.Timeout.prototype = {};
  42474. A.TTY.prototype = {};
  42475. A.TTYReadStream.prototype = {};
  42476. A.TTYWriteStream.prototype = {};
  42477. A.Util.prototype = {};
  42478. A.promiseToFuture_closure.prototype = {
  42479. call$1(value) {
  42480. this.completer.complete$1(value);
  42481. },
  42482. $signature: 54
  42483. };
  42484. A.promiseToFuture_closure0.prototype = {
  42485. call$1(error) {
  42486. this.completer.completeError$1(error);
  42487. },
  42488. $signature: 54
  42489. };
  42490. A.futureToPromise_closure.prototype = {
  42491. call$2(resolve, reject) {
  42492. this.future.then$1$2$onError(0, new A.futureToPromise__closure(resolve, this.T), reject, type$.dynamic);
  42493. },
  42494. $signature: 608
  42495. };
  42496. A.futureToPromise__closure.prototype = {
  42497. call$1(result) {
  42498. return this.resolve.call$1(result);
  42499. },
  42500. $signature() {
  42501. return this.T._eval$1("@(0)");
  42502. }
  42503. };
  42504. A.Context.prototype = {
  42505. absolute$15(part1, part2, part3, part4, part5, part6, part7, part8, part9, part10, part11, part12, part13, part14, part15) {
  42506. var t1;
  42507. A._validateArgList("absolute", A._setArrayType([part1, part2, part3, part4, part5, part6, part7, part8, part9, part10, part11, part12, part13, part14, part15], type$.JSArray_nullable_String));
  42508. if (part2 == null) {
  42509. t1 = this.style;
  42510. t1 = t1.rootLength$1(part1) > 0 && !t1.isRootRelative$1(part1);
  42511. } else
  42512. t1 = false;
  42513. if (t1)
  42514. return part1;
  42515. t1 = this._context$_current;
  42516. 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);
  42517. },
  42518. absolute$1(part1) {
  42519. var _null = null;
  42520. return this.absolute$15(part1, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  42521. },
  42522. dirname$1(path) {
  42523. var t1, t2,
  42524. parsed = A.ParsedPath_ParsedPath$parse(path, this.style);
  42525. parsed.removeTrailingSeparators$0();
  42526. t1 = parsed.parts;
  42527. t2 = t1.length;
  42528. if (t2 === 0) {
  42529. t1 = parsed.root;
  42530. return t1 == null ? "." : t1;
  42531. }
  42532. if (t2 === 1) {
  42533. t1 = parsed.root;
  42534. return t1 == null ? "." : t1;
  42535. }
  42536. B.JSArray_methods.removeLast$0(t1);
  42537. parsed.separators.pop();
  42538. parsed.removeTrailingSeparators$0();
  42539. return parsed.toString$0(0);
  42540. },
  42541. join$16(_, part1, part2, part3, part4, part5, part6, part7, part8, part9, part10, part11, part12, part13, part14, part15, part16) {
  42542. var parts = A._setArrayType([part1, part2, part3, part4, part5, part6, part7, part8, part9, part10, part11, part12, part13, part14, part15, part16], type$.JSArray_nullable_String);
  42543. A._validateArgList("join", parts);
  42544. return this.joinAll$1(new A.WhereTypeIterable(parts, type$.WhereTypeIterable_String));
  42545. },
  42546. join$2(_, part1, part2) {
  42547. var _null = null;
  42548. return this.join$16(0, part1, part2, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  42549. },
  42550. joinAll$1(parts) {
  42551. var t1, t2, t3, needsSeparator, isAbsoluteAndNotRootRelative, t4, t5, parsed, path;
  42552. 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();) {
  42553. t5 = t2.get$current(t2);
  42554. if (t3.isRootRelative$1(t5) && isAbsoluteAndNotRootRelative) {
  42555. parsed = A.ParsedPath_ParsedPath$parse(t5, t3);
  42556. path = t4.charCodeAt(0) == 0 ? t4 : t4;
  42557. t4 = B.JSString_methods.substring$2(path, 0, t3.rootLength$2$withDrive(path, true));
  42558. parsed.root = t4;
  42559. if (t3.needsSeparator$1(t4))
  42560. parsed.separators[0] = t3.get$separator(t3);
  42561. t4 = "" + parsed.toString$0(0);
  42562. } else if (t3.rootLength$1(t5) > 0) {
  42563. isAbsoluteAndNotRootRelative = !t3.isRootRelative$1(t5);
  42564. t4 = "" + t5;
  42565. } else {
  42566. if (!(t5.length !== 0 && t3.containsSeparator$1(t5[0])))
  42567. if (needsSeparator)
  42568. t4 += t3.get$separator(t3);
  42569. t4 += t5;
  42570. }
  42571. needsSeparator = t3.needsSeparator$1(t5);
  42572. }
  42573. return t4.charCodeAt(0) == 0 ? t4 : t4;
  42574. },
  42575. split$1(_, path) {
  42576. var parsed = A.ParsedPath_ParsedPath$parse(path, this.style),
  42577. t1 = parsed.parts,
  42578. t2 = A._arrayInstanceType(t1)._eval$1("WhereIterable<1>");
  42579. t2 = A.List_List$of(new A.WhereIterable(t1, new A.Context_split_closure(), t2), true, t2._eval$1("Iterable.E"));
  42580. parsed.parts = t2;
  42581. t1 = parsed.root;
  42582. if (t1 != null)
  42583. B.JSArray_methods.insert$2(t2, 0, t1);
  42584. return parsed.parts;
  42585. },
  42586. canonicalize$1(_, path) {
  42587. var t1, parsed;
  42588. path = this.absolute$1(path);
  42589. t1 = this.style;
  42590. if (t1 !== $.$get$Style_windows() && !this._needsNormalization$1(path))
  42591. return path;
  42592. parsed = A.ParsedPath_ParsedPath$parse(path, t1);
  42593. parsed.normalize$1$canonicalize(true);
  42594. return parsed.toString$0(0);
  42595. },
  42596. normalize$1(path) {
  42597. var parsed;
  42598. if (!this._needsNormalization$1(path))
  42599. return path;
  42600. parsed = A.ParsedPath_ParsedPath$parse(path, this.style);
  42601. parsed.normalize$0();
  42602. return parsed.toString$0(0);
  42603. },
  42604. _needsNormalization$1(path) {
  42605. var i, start, previous, t2, t3, previousPrevious, codeUnit, t4,
  42606. t1 = this.style,
  42607. root = t1.rootLength$1(path);
  42608. if (root !== 0) {
  42609. if (t1 === $.$get$Style_windows())
  42610. for (i = 0; i < root; ++i)
  42611. if (path.charCodeAt(i) === 47)
  42612. return true;
  42613. start = root;
  42614. previous = 47;
  42615. } else {
  42616. start = 0;
  42617. previous = null;
  42618. }
  42619. for (t2 = new A.CodeUnits(path)._string, t3 = t2.length, i = start, previousPrevious = null; i < t3; ++i, previousPrevious = previous, previous = codeUnit) {
  42620. codeUnit = t2.charCodeAt(i);
  42621. if (t1.isSeparator$1(codeUnit)) {
  42622. if (t1 === $.$get$Style_windows() && codeUnit === 47)
  42623. return true;
  42624. if (previous != null && t1.isSeparator$1(previous))
  42625. return true;
  42626. if (previous === 46)
  42627. t4 = previousPrevious == null || previousPrevious === 46 || t1.isSeparator$1(previousPrevious);
  42628. else
  42629. t4 = false;
  42630. if (t4)
  42631. return true;
  42632. }
  42633. }
  42634. if (previous == null)
  42635. return true;
  42636. if (t1.isSeparator$1(previous))
  42637. return true;
  42638. if (previous === 46)
  42639. t1 = previousPrevious == null || t1.isSeparator$1(previousPrevious) || previousPrevious === 46;
  42640. else
  42641. t1 = false;
  42642. if (t1)
  42643. return true;
  42644. return false;
  42645. },
  42646. relative$2$from(path, from) {
  42647. var fromParsed, pathParsed, t2, t3, _this = this,
  42648. _s26_ = 'Unable to find a path to "',
  42649. t1 = from == null;
  42650. if (t1 && _this.style.rootLength$1(path) <= 0)
  42651. return _this.normalize$1(path);
  42652. if (t1) {
  42653. t1 = _this._context$_current;
  42654. from = t1 == null ? A.current() : t1;
  42655. } else
  42656. from = _this.absolute$1(from);
  42657. t1 = _this.style;
  42658. if (t1.rootLength$1(from) <= 0 && t1.rootLength$1(path) > 0)
  42659. return _this.normalize$1(path);
  42660. if (t1.rootLength$1(path) <= 0 || t1.isRootRelative$1(path))
  42661. path = _this.absolute$1(path);
  42662. if (t1.rootLength$1(path) <= 0 && t1.rootLength$1(from) > 0)
  42663. throw A.wrapException(A.PathException$(_s26_ + path + '" from "' + from + '".'));
  42664. fromParsed = A.ParsedPath_ParsedPath$parse(from, t1);
  42665. fromParsed.normalize$0();
  42666. pathParsed = A.ParsedPath_ParsedPath$parse(path, t1);
  42667. pathParsed.normalize$0();
  42668. t2 = fromParsed.parts;
  42669. if (t2.length !== 0 && J.$eq$(t2[0], "."))
  42670. return pathParsed.toString$0(0);
  42671. t2 = fromParsed.root;
  42672. t3 = pathParsed.root;
  42673. if (t2 != t3)
  42674. t2 = t2 == null || t3 == null || !t1.pathsEqual$2(t2, t3);
  42675. else
  42676. t2 = false;
  42677. if (t2)
  42678. return pathParsed.toString$0(0);
  42679. while (true) {
  42680. t2 = fromParsed.parts;
  42681. if (t2.length !== 0) {
  42682. t3 = pathParsed.parts;
  42683. t2 = t3.length !== 0 && t1.pathsEqual$2(t2[0], t3[0]);
  42684. } else
  42685. t2 = false;
  42686. if (!t2)
  42687. break;
  42688. B.JSArray_methods.removeAt$1(fromParsed.parts, 0);
  42689. B.JSArray_methods.removeAt$1(fromParsed.separators, 1);
  42690. B.JSArray_methods.removeAt$1(pathParsed.parts, 0);
  42691. B.JSArray_methods.removeAt$1(pathParsed.separators, 1);
  42692. }
  42693. t2 = fromParsed.parts;
  42694. if (t2.length !== 0 && J.$eq$(t2[0], ".."))
  42695. throw A.wrapException(A.PathException$(_s26_ + path + '" from "' + from + '".'));
  42696. t2 = type$.String;
  42697. B.JSArray_methods.insertAll$2(pathParsed.parts, 0, A.List_List$filled(fromParsed.parts.length, "..", false, t2));
  42698. t3 = pathParsed.separators;
  42699. t3[0] = "";
  42700. B.JSArray_methods.insertAll$2(t3, 1, A.List_List$filled(fromParsed.parts.length, t1.get$separator(t1), false, t2));
  42701. t1 = pathParsed.parts;
  42702. t2 = t1.length;
  42703. if (t2 === 0)
  42704. return ".";
  42705. if (t2 > 1 && J.$eq$(B.JSArray_methods.get$last(t1), ".")) {
  42706. B.JSArray_methods.removeLast$0(pathParsed.parts);
  42707. t1 = pathParsed.separators;
  42708. t1.pop();
  42709. t1.pop();
  42710. t1.push("");
  42711. }
  42712. pathParsed.root = "";
  42713. pathParsed.removeTrailingSeparators$0();
  42714. return pathParsed.toString$0(0);
  42715. },
  42716. relative$1(path) {
  42717. return this.relative$2$from(path, null);
  42718. },
  42719. _isWithinOrEquals$2($parent, child) {
  42720. var relative, t1, parentIsAbsolute, childIsAbsolute, childIsRootRelative, parentIsRootRelative, result, exception, _this = this;
  42721. $parent = $parent;
  42722. child = child;
  42723. t1 = _this.style;
  42724. parentIsAbsolute = t1.rootLength$1($parent) > 0;
  42725. childIsAbsolute = t1.rootLength$1(child) > 0;
  42726. if (parentIsAbsolute && !childIsAbsolute) {
  42727. child = _this.absolute$1(child);
  42728. if (t1.isRootRelative$1($parent))
  42729. $parent = _this.absolute$1($parent);
  42730. } else if (childIsAbsolute && !parentIsAbsolute) {
  42731. $parent = _this.absolute$1($parent);
  42732. if (t1.isRootRelative$1(child))
  42733. child = _this.absolute$1(child);
  42734. } else if (childIsAbsolute && parentIsAbsolute) {
  42735. childIsRootRelative = t1.isRootRelative$1(child);
  42736. parentIsRootRelative = t1.isRootRelative$1($parent);
  42737. if (childIsRootRelative && !parentIsRootRelative)
  42738. child = _this.absolute$1(child);
  42739. else if (parentIsRootRelative && !childIsRootRelative)
  42740. $parent = _this.absolute$1($parent);
  42741. }
  42742. result = _this._isWithinOrEqualsFast$2($parent, child);
  42743. if (result !== B._PathRelation_inconclusive)
  42744. return result;
  42745. relative = null;
  42746. try {
  42747. relative = _this.relative$2$from(child, $parent);
  42748. } catch (exception) {
  42749. if (A.unwrapException(exception) instanceof A.PathException)
  42750. return B._PathRelation_different;
  42751. else
  42752. throw exception;
  42753. }
  42754. if (t1.rootLength$1(relative) > 0)
  42755. return B._PathRelation_different;
  42756. if (J.$eq$(relative, "."))
  42757. return B._PathRelation_equal;
  42758. if (J.$eq$(relative, ".."))
  42759. return B._PathRelation_different;
  42760. 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;
  42761. },
  42762. _isWithinOrEqualsFast$2($parent, child) {
  42763. var t1, parentRootLength, childRootLength, i, t2, t3, childIndex, parentIndex, lastCodeUnit, lastParentSeparator, parentCodeUnit, childCodeUnit, parentIndex0, direction, _this = this;
  42764. if ($parent === ".")
  42765. $parent = "";
  42766. t1 = _this.style;
  42767. parentRootLength = t1.rootLength$1($parent);
  42768. childRootLength = t1.rootLength$1(child);
  42769. if (parentRootLength !== childRootLength)
  42770. return B._PathRelation_different;
  42771. for (i = 0; i < parentRootLength; ++i)
  42772. if (!t1.codeUnitsEqual$2($parent.charCodeAt(i), child.charCodeAt(i)))
  42773. return B._PathRelation_different;
  42774. t2 = child.length;
  42775. t3 = $parent.length;
  42776. childIndex = childRootLength;
  42777. parentIndex = parentRootLength;
  42778. lastCodeUnit = 47;
  42779. lastParentSeparator = null;
  42780. while (true) {
  42781. if (!(parentIndex < t3 && childIndex < t2))
  42782. break;
  42783. c$0: {
  42784. parentCodeUnit = $parent.charCodeAt(parentIndex);
  42785. childCodeUnit = child.charCodeAt(childIndex);
  42786. if (t1.codeUnitsEqual$2(parentCodeUnit, childCodeUnit)) {
  42787. if (t1.isSeparator$1(parentCodeUnit))
  42788. lastParentSeparator = parentIndex;
  42789. ++parentIndex;
  42790. ++childIndex;
  42791. lastCodeUnit = parentCodeUnit;
  42792. break c$0;
  42793. }
  42794. if (t1.isSeparator$1(parentCodeUnit) && t1.isSeparator$1(lastCodeUnit)) {
  42795. parentIndex0 = parentIndex + 1;
  42796. lastParentSeparator = parentIndex;
  42797. parentIndex = parentIndex0;
  42798. break c$0;
  42799. } else if (t1.isSeparator$1(childCodeUnit) && t1.isSeparator$1(lastCodeUnit)) {
  42800. ++childIndex;
  42801. break c$0;
  42802. }
  42803. if (parentCodeUnit === 46 && t1.isSeparator$1(lastCodeUnit)) {
  42804. ++parentIndex;
  42805. if (parentIndex === t3)
  42806. break;
  42807. parentCodeUnit = $parent.charCodeAt(parentIndex);
  42808. if (t1.isSeparator$1(parentCodeUnit)) {
  42809. parentIndex0 = parentIndex + 1;
  42810. lastParentSeparator = parentIndex;
  42811. parentIndex = parentIndex0;
  42812. break c$0;
  42813. }
  42814. if (parentCodeUnit === 46) {
  42815. ++parentIndex;
  42816. if (parentIndex === t3 || t1.isSeparator$1($parent.charCodeAt(parentIndex)))
  42817. return B._PathRelation_inconclusive;
  42818. }
  42819. }
  42820. if (childCodeUnit === 46 && t1.isSeparator$1(lastCodeUnit)) {
  42821. ++childIndex;
  42822. if (childIndex === t2)
  42823. break;
  42824. childCodeUnit = child.charCodeAt(childIndex);
  42825. if (t1.isSeparator$1(childCodeUnit)) {
  42826. ++childIndex;
  42827. break c$0;
  42828. }
  42829. if (childCodeUnit === 46) {
  42830. ++childIndex;
  42831. if (childIndex === t2 || t1.isSeparator$1(child.charCodeAt(childIndex)))
  42832. return B._PathRelation_inconclusive;
  42833. }
  42834. }
  42835. if (_this._pathDirection$2(child, childIndex) !== B._PathDirection_yLX)
  42836. return B._PathRelation_inconclusive;
  42837. if (_this._pathDirection$2($parent, parentIndex) !== B._PathDirection_yLX)
  42838. return B._PathRelation_inconclusive;
  42839. return B._PathRelation_different;
  42840. }
  42841. }
  42842. if (childIndex === t2) {
  42843. if (parentIndex === t3 || t1.isSeparator$1($parent.charCodeAt(parentIndex)))
  42844. lastParentSeparator = parentIndex;
  42845. else if (lastParentSeparator == null)
  42846. lastParentSeparator = Math.max(0, parentRootLength - 1);
  42847. direction = _this._pathDirection$2($parent, lastParentSeparator);
  42848. if (direction === B._PathDirection_8OV)
  42849. return B._PathRelation_equal;
  42850. return direction === B._PathDirection_3KU ? B._PathRelation_inconclusive : B._PathRelation_different;
  42851. }
  42852. direction = _this._pathDirection$2(child, childIndex);
  42853. if (direction === B._PathDirection_8OV)
  42854. return B._PathRelation_equal;
  42855. if (direction === B._PathDirection_3KU)
  42856. return B._PathRelation_inconclusive;
  42857. return t1.isSeparator$1(child.charCodeAt(childIndex)) || t1.isSeparator$1(lastCodeUnit) ? B._PathRelation_within : B._PathRelation_different;
  42858. },
  42859. _pathDirection$2(path, index) {
  42860. var t1, t2, i, depth, reachedRoot, i0, t3;
  42861. for (t1 = path.length, t2 = this.style, i = index, depth = 0, reachedRoot = false; i < t1;) {
  42862. while (true) {
  42863. if (!(i < t1 && t2.isSeparator$1(path.charCodeAt(i))))
  42864. break;
  42865. ++i;
  42866. }
  42867. if (i === t1)
  42868. break;
  42869. i0 = i;
  42870. while (true) {
  42871. if (!(i0 < t1 && !t2.isSeparator$1(path.charCodeAt(i0))))
  42872. break;
  42873. ++i0;
  42874. }
  42875. t3 = i0 - i;
  42876. if (!(t3 === 1 && path.charCodeAt(i) === 46))
  42877. if (t3 === 2 && path.charCodeAt(i) === 46 && path.charCodeAt(i + 1) === 46) {
  42878. --depth;
  42879. if (depth < 0)
  42880. break;
  42881. if (depth === 0)
  42882. reachedRoot = true;
  42883. } else
  42884. ++depth;
  42885. if (i0 === t1)
  42886. break;
  42887. i = i0 + 1;
  42888. }
  42889. if (depth < 0)
  42890. return B._PathDirection_3KU;
  42891. if (depth === 0)
  42892. return B._PathDirection_8OV;
  42893. if (reachedRoot)
  42894. return B._PathDirection_e7w;
  42895. return B._PathDirection_yLX;
  42896. },
  42897. hash$1(path) {
  42898. var result, parsed, t1, _this = this;
  42899. path = _this.absolute$1(path);
  42900. result = _this._hashFast$1(path);
  42901. if (result != null)
  42902. return result;
  42903. parsed = A.ParsedPath_ParsedPath$parse(path, _this.style);
  42904. parsed.normalize$0();
  42905. t1 = _this._hashFast$1(parsed.toString$0(0));
  42906. t1.toString;
  42907. return t1;
  42908. },
  42909. _hashFast$1(path) {
  42910. var t1, t2, hash, beginning, wasSeparator, i, codeUnit, t3, next;
  42911. for (t1 = path.length, t2 = this.style, hash = 4603, beginning = true, wasSeparator = true, i = 0; i < t1; ++i) {
  42912. codeUnit = t2.canonicalizeCodeUnit$1(path.charCodeAt(i));
  42913. if (t2.isSeparator$1(codeUnit)) {
  42914. wasSeparator = true;
  42915. continue;
  42916. }
  42917. if (codeUnit === 46 && wasSeparator) {
  42918. t3 = i + 1;
  42919. if (t3 === t1)
  42920. break;
  42921. next = path.charCodeAt(t3);
  42922. if (t2.isSeparator$1(next))
  42923. continue;
  42924. if (!beginning)
  42925. if (next === 46) {
  42926. t3 = i + 2;
  42927. t3 = t3 === t1 || t2.isSeparator$1(path.charCodeAt(t3));
  42928. } else
  42929. t3 = false;
  42930. else
  42931. t3 = false;
  42932. if (t3)
  42933. return null;
  42934. }
  42935. hash = ((hash & 67108863) * 33 ^ codeUnit) >>> 0;
  42936. beginning = false;
  42937. wasSeparator = false;
  42938. }
  42939. return hash;
  42940. },
  42941. withoutExtension$1(path) {
  42942. var i,
  42943. parsed = A.ParsedPath_ParsedPath$parse(path, this.style);
  42944. for (i = parsed.parts.length - 1; i >= 0; --i)
  42945. if (J.get$length$asx(parsed.parts[i]) !== 0) {
  42946. parsed.parts[i] = parsed._splitExtension$0()[0];
  42947. break;
  42948. }
  42949. return parsed.toString$0(0);
  42950. },
  42951. toUri$1(path) {
  42952. var t2,
  42953. t1 = this.style;
  42954. if (t1.rootLength$1(path) <= 0)
  42955. return t1.relativePathToUri$1(path);
  42956. else {
  42957. t2 = this._context$_current;
  42958. return t1.absolutePathToUri$1(this.join$2(0, t2 == null ? A.current() : t2, path));
  42959. }
  42960. },
  42961. prettyUri$1(uri) {
  42962. var path, rel, _this = this,
  42963. typedUri = A._parseUri(uri);
  42964. if (typedUri.get$scheme() === "file" && _this.style === $.$get$Style_url())
  42965. return typedUri.toString$0(0);
  42966. else if (typedUri.get$scheme() !== "file" && typedUri.get$scheme() !== "" && _this.style !== $.$get$Style_url())
  42967. return typedUri.toString$0(0);
  42968. path = _this.normalize$1(_this.style.pathFromUri$1(A._parseUri(typedUri)));
  42969. rel = _this.relative$1(path);
  42970. return _this.split$1(0, rel).length > _this.split$1(0, path).length ? path : rel;
  42971. }
  42972. };
  42973. A.Context_joinAll_closure.prototype = {
  42974. call$1(part) {
  42975. return part !== "";
  42976. },
  42977. $signature: 4
  42978. };
  42979. A.Context_split_closure.prototype = {
  42980. call$1(part) {
  42981. return part.length !== 0;
  42982. },
  42983. $signature: 4
  42984. };
  42985. A._validateArgList_closure.prototype = {
  42986. call$1(arg) {
  42987. return arg == null ? "null" : '"' + arg + '"';
  42988. },
  42989. $signature: 626
  42990. };
  42991. A._PathDirection.prototype = {
  42992. toString$0(_) {
  42993. return this.name;
  42994. }
  42995. };
  42996. A._PathRelation.prototype = {
  42997. toString$0(_) {
  42998. return this.name;
  42999. }
  43000. };
  43001. A.InternalStyle.prototype = {
  43002. getRoot$1(path) {
  43003. var $length = this.rootLength$1(path);
  43004. if ($length > 0)
  43005. return B.JSString_methods.substring$2(path, 0, $length);
  43006. return this.isRootRelative$1(path) ? path[0] : null;
  43007. },
  43008. relativePathToUri$1(path) {
  43009. var segments, _null = null,
  43010. t1 = path.length;
  43011. if (t1 === 0)
  43012. return A._Uri__Uri(_null, _null, _null, _null);
  43013. segments = A.Context_Context(this).split$1(0, path);
  43014. if (this.isSeparator$1(path.charCodeAt(t1 - 1)))
  43015. B.JSArray_methods.add$1(segments, "");
  43016. return A._Uri__Uri(_null, _null, segments, _null);
  43017. },
  43018. codeUnitsEqual$2(codeUnit1, codeUnit2) {
  43019. return codeUnit1 === codeUnit2;
  43020. },
  43021. pathsEqual$2(path1, path2) {
  43022. return path1 === path2;
  43023. },
  43024. canonicalizeCodeUnit$1(codeUnit) {
  43025. return codeUnit;
  43026. },
  43027. canonicalizePart$1(part) {
  43028. return part;
  43029. }
  43030. };
  43031. A.ParsedPath.prototype = {
  43032. get$basename() {
  43033. var _this = this,
  43034. t1 = type$.String,
  43035. 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));
  43036. copy.removeTrailingSeparators$0();
  43037. t1 = copy.parts;
  43038. if (t1.length === 0) {
  43039. t1 = _this.root;
  43040. return t1 == null ? "" : t1;
  43041. }
  43042. return B.JSArray_methods.get$last(t1);
  43043. },
  43044. get$hasTrailingSeparator() {
  43045. var t1 = this.parts;
  43046. if (t1.length !== 0)
  43047. t1 = J.$eq$(B.JSArray_methods.get$last(t1), "") || !J.$eq$(B.JSArray_methods.get$last(this.separators), "");
  43048. else
  43049. t1 = false;
  43050. return t1;
  43051. },
  43052. removeTrailingSeparators$0() {
  43053. var t1, t2, _this = this;
  43054. while (true) {
  43055. t1 = _this.parts;
  43056. if (!(t1.length !== 0 && J.$eq$(B.JSArray_methods.get$last(t1), "")))
  43057. break;
  43058. B.JSArray_methods.removeLast$0(_this.parts);
  43059. _this.separators.pop();
  43060. }
  43061. t1 = _this.separators;
  43062. t2 = t1.length;
  43063. if (t2 !== 0)
  43064. t1[t2 - 1] = "";
  43065. },
  43066. normalize$1$canonicalize(canonicalize) {
  43067. var t1, t2, t3, leadingDoubles, _i, part, t4, _this = this,
  43068. newParts = A._setArrayType([], type$.JSArray_String);
  43069. 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) {
  43070. part = t1[_i];
  43071. t4 = J.getInterceptor$(part);
  43072. if (!(t4.$eq(part, ".") || t4.$eq(part, "")))
  43073. if (t4.$eq(part, ".."))
  43074. if (newParts.length !== 0)
  43075. newParts.pop();
  43076. else
  43077. ++leadingDoubles;
  43078. else
  43079. newParts.push(canonicalize ? t3.canonicalizePart$1(part) : part);
  43080. }
  43081. if (_this.root == null)
  43082. B.JSArray_methods.insertAll$2(newParts, 0, A.List_List$filled(leadingDoubles, "..", false, type$.String));
  43083. if (newParts.length === 0 && _this.root == null)
  43084. newParts.push(".");
  43085. _this.parts = newParts;
  43086. _this.separators = A.List_List$filled(newParts.length + 1, t3.get$separator(t3), true, type$.String);
  43087. t1 = _this.root;
  43088. if (t1 == null || newParts.length === 0 || !t3.needsSeparator$1(t1))
  43089. _this.separators[0] = "";
  43090. t1 = _this.root;
  43091. if (t1 != null && t3 === $.$get$Style_windows()) {
  43092. if (canonicalize)
  43093. t1 = _this.root = t1.toLowerCase();
  43094. t1.toString;
  43095. _this.root = A.stringReplaceAllUnchecked(t1, "/", "\\");
  43096. }
  43097. _this.removeTrailingSeparators$0();
  43098. },
  43099. normalize$0() {
  43100. return this.normalize$1$canonicalize(false);
  43101. },
  43102. toString$0(_) {
  43103. var i, _this = this,
  43104. t1 = _this.root;
  43105. t1 = t1 != null ? "" + t1 : "";
  43106. for (i = 0; i < _this.parts.length; ++i)
  43107. t1 = t1 + A.S(_this.separators[i]) + A.S(_this.parts[i]);
  43108. t1 += A.S(B.JSArray_methods.get$last(_this.separators));
  43109. return t1.charCodeAt(0) == 0 ? t1 : t1;
  43110. },
  43111. _kthLastIndexOf$3(path, character, k) {
  43112. var index, count, leftMostIndexedCharacter;
  43113. for (index = path.length - 1, count = 0, leftMostIndexedCharacter = 0; index >= 0; --index)
  43114. if (path[index] === character) {
  43115. ++count;
  43116. if (count === k)
  43117. return index;
  43118. leftMostIndexedCharacter = index;
  43119. }
  43120. return leftMostIndexedCharacter;
  43121. },
  43122. _splitExtension$1(level) {
  43123. var t1, file, lastDot;
  43124. if (level <= 0)
  43125. throw A.wrapException(A.RangeError$value(level, "level", "level's value must be greater than 0"));
  43126. t1 = this.parts;
  43127. t1 = new A.CastList(t1, A._arrayInstanceType(t1)._eval$1("CastList<1,String?>"));
  43128. file = t1.lastWhere$2$orElse(t1, new A.ParsedPath__splitExtension_closure(), new A.ParsedPath__splitExtension_closure0());
  43129. if (file == null)
  43130. return A._setArrayType(["", ""], type$.JSArray_String);
  43131. if (file === "..")
  43132. return A._setArrayType(["..", ""], type$.JSArray_String);
  43133. lastDot = this._kthLastIndexOf$3(file, ".", level);
  43134. if (lastDot <= 0)
  43135. return A._setArrayType([file, ""], type$.JSArray_String);
  43136. return A._setArrayType([B.JSString_methods.substring$2(file, 0, lastDot), B.JSString_methods.substring$1(file, lastDot)], type$.JSArray_String);
  43137. },
  43138. _splitExtension$0() {
  43139. return this._splitExtension$1(1);
  43140. }
  43141. };
  43142. A.ParsedPath__splitExtension_closure.prototype = {
  43143. call$1(p) {
  43144. return p !== "";
  43145. },
  43146. $signature: 257
  43147. };
  43148. A.ParsedPath__splitExtension_closure0.prototype = {
  43149. call$0() {
  43150. return null;
  43151. },
  43152. $signature: 1
  43153. };
  43154. A.PathException.prototype = {
  43155. toString$0(_) {
  43156. return "PathException: " + this.message;
  43157. },
  43158. $isException: 1,
  43159. get$message(receiver) {
  43160. return this.message;
  43161. }
  43162. };
  43163. A.PathMap.prototype = {};
  43164. A.PathMap__create_closure.prototype = {
  43165. call$2(path1, path2) {
  43166. if (path1 == null)
  43167. return path2 == null;
  43168. if (path2 == null)
  43169. return false;
  43170. return this._box_0.context._isWithinOrEquals$2(path1, path2) === B._PathRelation_equal;
  43171. },
  43172. $signature: 569
  43173. };
  43174. A.PathMap__create_closure0.prototype = {
  43175. call$1(path) {
  43176. return path == null ? 0 : this._box_0.context.hash$1(path);
  43177. },
  43178. $signature: 562
  43179. };
  43180. A.PathMap__create_closure1.prototype = {
  43181. call$1(path) {
  43182. return typeof path == "string" || path == null;
  43183. },
  43184. $signature: 128
  43185. };
  43186. A.Style.prototype = {
  43187. toString$0(_) {
  43188. return this.get$name(this);
  43189. }
  43190. };
  43191. A.PosixStyle.prototype = {
  43192. containsSeparator$1(path) {
  43193. return B.JSString_methods.contains$1(path, "/");
  43194. },
  43195. isSeparator$1(codeUnit) {
  43196. return codeUnit === 47;
  43197. },
  43198. needsSeparator$1(path) {
  43199. var t1 = path.length;
  43200. return t1 !== 0 && path.charCodeAt(t1 - 1) !== 47;
  43201. },
  43202. rootLength$2$withDrive(path, withDrive) {
  43203. if (path.length !== 0 && path.charCodeAt(0) === 47)
  43204. return 1;
  43205. return 0;
  43206. },
  43207. rootLength$1(path) {
  43208. return this.rootLength$2$withDrive(path, false);
  43209. },
  43210. isRootRelative$1(path) {
  43211. return false;
  43212. },
  43213. pathFromUri$1(uri) {
  43214. var t1;
  43215. if (uri.get$scheme() === "" || uri.get$scheme() === "file") {
  43216. t1 = uri.get$path(uri);
  43217. return A._Uri__uriDecode(t1, 0, t1.length, B.C_Utf8Codec, false);
  43218. }
  43219. throw A.wrapException(A.ArgumentError$("Uri " + uri.toString$0(0) + " must have scheme 'file:'.", null));
  43220. },
  43221. absolutePathToUri$1(path) {
  43222. var parsed = A.ParsedPath_ParsedPath$parse(path, this),
  43223. t1 = parsed.parts;
  43224. if (t1.length === 0)
  43225. B.JSArray_methods.addAll$1(t1, A._setArrayType(["", ""], type$.JSArray_String));
  43226. else if (parsed.get$hasTrailingSeparator())
  43227. B.JSArray_methods.add$1(parsed.parts, "");
  43228. return A._Uri__Uri(null, null, parsed.parts, "file");
  43229. },
  43230. get$name() {
  43231. return "posix";
  43232. },
  43233. get$separator() {
  43234. return "/";
  43235. }
  43236. };
  43237. A.UrlStyle.prototype = {
  43238. containsSeparator$1(path) {
  43239. return B.JSString_methods.contains$1(path, "/");
  43240. },
  43241. isSeparator$1(codeUnit) {
  43242. return codeUnit === 47;
  43243. },
  43244. needsSeparator$1(path) {
  43245. var t1 = path.length;
  43246. if (t1 === 0)
  43247. return false;
  43248. if (path.charCodeAt(t1 - 1) !== 47)
  43249. return true;
  43250. return B.JSString_methods.endsWith$1(path, "://") && this.rootLength$1(path) === t1;
  43251. },
  43252. rootLength$2$withDrive(path, withDrive) {
  43253. var i, codeUnit, index,
  43254. t1 = path.length;
  43255. if (t1 === 0)
  43256. return 0;
  43257. if (path.charCodeAt(0) === 47)
  43258. return 1;
  43259. for (i = 0; i < t1; ++i) {
  43260. codeUnit = path.charCodeAt(i);
  43261. if (codeUnit === 47)
  43262. return 0;
  43263. if (codeUnit === 58) {
  43264. if (i === 0)
  43265. return 0;
  43266. index = B.JSString_methods.indexOf$2(path, "/", B.JSString_methods.startsWith$2(path, "//", i + 1) ? i + 3 : i);
  43267. if (index <= 0)
  43268. return t1;
  43269. if (!withDrive || t1 < index + 3)
  43270. return index;
  43271. if (!B.JSString_methods.startsWith$1(path, "file://"))
  43272. return index;
  43273. t1 = A.driveLetterEnd(path, index + 1);
  43274. return t1 == null ? index : t1;
  43275. }
  43276. }
  43277. return 0;
  43278. },
  43279. rootLength$1(path) {
  43280. return this.rootLength$2$withDrive(path, false);
  43281. },
  43282. isRootRelative$1(path) {
  43283. return path.length !== 0 && path.charCodeAt(0) === 47;
  43284. },
  43285. pathFromUri$1(uri) {
  43286. return uri.toString$0(0);
  43287. },
  43288. relativePathToUri$1(path) {
  43289. return A.Uri_parse(path);
  43290. },
  43291. absolutePathToUri$1(path) {
  43292. return A.Uri_parse(path);
  43293. },
  43294. get$name() {
  43295. return "url";
  43296. },
  43297. get$separator() {
  43298. return "/";
  43299. }
  43300. };
  43301. A.WindowsStyle.prototype = {
  43302. containsSeparator$1(path) {
  43303. return B.JSString_methods.contains$1(path, "/");
  43304. },
  43305. isSeparator$1(codeUnit) {
  43306. return codeUnit === 47 || codeUnit === 92;
  43307. },
  43308. needsSeparator$1(path) {
  43309. var t1 = path.length;
  43310. if (t1 === 0)
  43311. return false;
  43312. t1 = path.charCodeAt(t1 - 1);
  43313. return !(t1 === 47 || t1 === 92);
  43314. },
  43315. rootLength$2$withDrive(path, withDrive) {
  43316. var index,
  43317. t1 = path.length;
  43318. if (t1 === 0)
  43319. return 0;
  43320. if (path.charCodeAt(0) === 47)
  43321. return 1;
  43322. if (path.charCodeAt(0) === 92) {
  43323. if (t1 < 2 || path.charCodeAt(1) !== 92)
  43324. return 1;
  43325. index = B.JSString_methods.indexOf$2(path, "\\", 2);
  43326. if (index > 0) {
  43327. index = B.JSString_methods.indexOf$2(path, "\\", index + 1);
  43328. if (index > 0)
  43329. return index;
  43330. }
  43331. return t1;
  43332. }
  43333. if (t1 < 3)
  43334. return 0;
  43335. if (!A.isAlphabetic(path.charCodeAt(0)))
  43336. return 0;
  43337. if (path.charCodeAt(1) !== 58)
  43338. return 0;
  43339. t1 = path.charCodeAt(2);
  43340. if (!(t1 === 47 || t1 === 92))
  43341. return 0;
  43342. return 3;
  43343. },
  43344. rootLength$1(path) {
  43345. return this.rootLength$2$withDrive(path, false);
  43346. },
  43347. isRootRelative$1(path) {
  43348. return this.rootLength$1(path) === 1;
  43349. },
  43350. pathFromUri$1(uri) {
  43351. var path, t1;
  43352. if (uri.get$scheme() !== "" && uri.get$scheme() !== "file")
  43353. throw A.wrapException(A.ArgumentError$("Uri " + uri.toString$0(0) + " must have scheme 'file:'.", null));
  43354. path = uri.get$path(uri);
  43355. if (uri.get$host() === "") {
  43356. if (path.length >= 3 && B.JSString_methods.startsWith$1(path, "/") && A.driveLetterEnd(path, 1) != null)
  43357. path = B.JSString_methods.replaceFirst$2(path, "/", "");
  43358. } else
  43359. path = "\\\\" + uri.get$host() + path;
  43360. t1 = A.stringReplaceAllUnchecked(path, "/", "\\");
  43361. return A._Uri__uriDecode(t1, 0, t1.length, B.C_Utf8Codec, false);
  43362. },
  43363. absolutePathToUri$1(path) {
  43364. var rootParts, t2,
  43365. parsed = A.ParsedPath_ParsedPath$parse(path, this),
  43366. t1 = parsed.root;
  43367. t1.toString;
  43368. if (B.JSString_methods.startsWith$1(t1, "\\\\")) {
  43369. rootParts = new A.WhereIterable(A._setArrayType(t1.split("\\"), type$.JSArray_String), new A.WindowsStyle_absolutePathToUri_closure(), type$.WhereIterable_String);
  43370. B.JSArray_methods.insert$2(parsed.parts, 0, rootParts.get$last(0));
  43371. if (parsed.get$hasTrailingSeparator())
  43372. B.JSArray_methods.add$1(parsed.parts, "");
  43373. return A._Uri__Uri(rootParts.get$first(0), null, parsed.parts, "file");
  43374. } else {
  43375. if (parsed.parts.length === 0 || parsed.get$hasTrailingSeparator())
  43376. B.JSArray_methods.add$1(parsed.parts, "");
  43377. t1 = parsed.parts;
  43378. t2 = parsed.root;
  43379. t2.toString;
  43380. t2 = A.stringReplaceAllUnchecked(t2, "/", "");
  43381. B.JSArray_methods.insert$2(t1, 0, A.stringReplaceAllUnchecked(t2, "\\", ""));
  43382. return A._Uri__Uri(null, null, parsed.parts, "file");
  43383. }
  43384. },
  43385. codeUnitsEqual$2(codeUnit1, codeUnit2) {
  43386. var upperCase1;
  43387. if (codeUnit1 === codeUnit2)
  43388. return true;
  43389. if (codeUnit1 === 47)
  43390. return codeUnit2 === 92;
  43391. if (codeUnit1 === 92)
  43392. return codeUnit2 === 47;
  43393. if ((codeUnit1 ^ codeUnit2) !== 32)
  43394. return false;
  43395. upperCase1 = codeUnit1 | 32;
  43396. return upperCase1 >= 97 && upperCase1 <= 122;
  43397. },
  43398. pathsEqual$2(path1, path2) {
  43399. var t1, i;
  43400. if (path1 === path2)
  43401. return true;
  43402. t1 = path1.length;
  43403. if (t1 !== path2.length)
  43404. return false;
  43405. for (i = 0; i < t1; ++i)
  43406. if (!this.codeUnitsEqual$2(path1.charCodeAt(i), path2.charCodeAt(i)))
  43407. return false;
  43408. return true;
  43409. },
  43410. canonicalizeCodeUnit$1(codeUnit) {
  43411. if (codeUnit === 47)
  43412. return 92;
  43413. if (codeUnit < 65)
  43414. return codeUnit;
  43415. if (codeUnit > 90)
  43416. return codeUnit;
  43417. return codeUnit | 32;
  43418. },
  43419. canonicalizePart$1(part) {
  43420. return part.toLowerCase();
  43421. },
  43422. get$name() {
  43423. return "windows";
  43424. },
  43425. get$separator() {
  43426. return "\\";
  43427. }
  43428. };
  43429. A.WindowsStyle_absolutePathToUri_closure.prototype = {
  43430. call$1(part) {
  43431. return part !== "";
  43432. },
  43433. $signature: 4
  43434. };
  43435. A.Version.prototype = {
  43436. get$min() {
  43437. return this;
  43438. },
  43439. get$max() {
  43440. return this;
  43441. },
  43442. get$includeMin() {
  43443. return true;
  43444. },
  43445. get$includeMax() {
  43446. return true;
  43447. },
  43448. $eq(_, other) {
  43449. var _this = this;
  43450. if (other == null)
  43451. return false;
  43452. 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);
  43453. },
  43454. get$hashCode(_) {
  43455. var _this = this;
  43456. return (_this.major ^ _this.minor ^ _this.patch ^ B.C_IterableEquality.hash$1(_this.preRelease) ^ B.C_IterableEquality.hash$1(_this.build)) >>> 0;
  43457. },
  43458. compareTo$1(_, other) {
  43459. var t1, t2, t3, comparison, _this = this;
  43460. if (other instanceof A.Version) {
  43461. t1 = _this.major;
  43462. t2 = other.major;
  43463. if (t1 !== t2)
  43464. return B.JSInt_methods.compareTo$1(t1, t2);
  43465. t1 = _this.minor;
  43466. t2 = other.minor;
  43467. if (t1 !== t2)
  43468. return B.JSInt_methods.compareTo$1(t1, t2);
  43469. t1 = _this.patch;
  43470. t2 = other.patch;
  43471. if (t1 !== t2)
  43472. return B.JSInt_methods.compareTo$1(t1, t2);
  43473. t1 = _this.preRelease;
  43474. t2 = t1.length === 0;
  43475. if (t2 && other.preRelease.length !== 0)
  43476. return 1;
  43477. t3 = other.preRelease;
  43478. if (t3.length === 0 && !t2)
  43479. return -1;
  43480. comparison = _this._compareLists$2(t1, t3);
  43481. if (comparison !== 0)
  43482. return comparison;
  43483. t1 = _this.build;
  43484. t2 = t1.length === 0;
  43485. if (t2 && other.build.length !== 0)
  43486. return -1;
  43487. t3 = other.build;
  43488. if (t3.length === 0 && !t2)
  43489. return 1;
  43490. return _this._compareLists$2(t1, t3);
  43491. } else
  43492. return -other.compareTo$1(0, _this);
  43493. },
  43494. toString$0(_) {
  43495. return this._version$_text;
  43496. },
  43497. _compareLists$2(a, b) {
  43498. var i, t1, t2, aPart, bPart;
  43499. for (i = 0; t1 = a.length, t2 = b.length, i < Math.max(t1, t2); ++i) {
  43500. aPart = i < t1 ? a[i] : null;
  43501. bPart = i < t2 ? b[i] : null;
  43502. if (J.$eq$(aPart, bPart))
  43503. continue;
  43504. if (aPart == null)
  43505. return -1;
  43506. if (bPart == null)
  43507. return 1;
  43508. if (typeof aPart == "number")
  43509. if (typeof bPart == "number")
  43510. return B.JSNumber_methods.compareTo$1(aPart, bPart);
  43511. else
  43512. return -1;
  43513. else if (typeof bPart == "number")
  43514. return 1;
  43515. else {
  43516. A._asString(aPart);
  43517. A._asString(bPart);
  43518. if (aPart === bPart)
  43519. t1 = 0;
  43520. else
  43521. t1 = aPart < bPart ? -1 : 1;
  43522. return t1;
  43523. }
  43524. }
  43525. return 0;
  43526. },
  43527. $isComparable: 1,
  43528. $isVersionRange: 1
  43529. };
  43530. A.Version__splitParts_closure.prototype = {
  43531. call$1(part) {
  43532. var t1 = A.Primitives_parseInt(part, null);
  43533. return t1 == null ? part : t1;
  43534. },
  43535. $signature: 530
  43536. };
  43537. A.VersionRange.prototype = {
  43538. $eq(_, other) {
  43539. var t1;
  43540. if (other == null)
  43541. return false;
  43542. if (!type$.VersionRange._is(other))
  43543. return false;
  43544. if (this.min == other.get$min())
  43545. if (J.$eq$(this.max, other.get$max())) {
  43546. t1 = !other.get$includeMin();
  43547. if (t1)
  43548. other.get$includeMax();
  43549. } else
  43550. t1 = false;
  43551. else
  43552. t1 = false;
  43553. return t1;
  43554. },
  43555. get$hashCode(_) {
  43556. var t1 = B.JSNull_methods.get$hashCode(this.min),
  43557. t2 = J.get$hashCode$(this.max);
  43558. return (t1 ^ t2 * 3 ^ 1090795 ^ 3633126) >>> 0;
  43559. },
  43560. allows$1(other) {
  43561. var t1 = this.max;
  43562. if (t1 != null)
  43563. if (other.compareTo$1(0, t1) > 0)
  43564. return false;
  43565. return true;
  43566. },
  43567. compareTo$1(_, other) {
  43568. if (other.get$min() == null)
  43569. return this._compareMax$1(other);
  43570. return -1;
  43571. },
  43572. _compareMax$1(other) {
  43573. var t2, result,
  43574. t1 = this.max;
  43575. if (t1 == null) {
  43576. if (other.get$max() == null)
  43577. return 0;
  43578. return 1;
  43579. } else if (other.get$max() == null)
  43580. return -1;
  43581. t2 = other.get$max();
  43582. t2.toString;
  43583. result = t1.compareTo$1(0, t2);
  43584. if (result !== 0)
  43585. return result;
  43586. other.get$includeMax();
  43587. return 0;
  43588. },
  43589. toString$0(_) {
  43590. var t2,
  43591. max = this.max,
  43592. t1 = max == null;
  43593. if (!t1)
  43594. t2 = "" + "<=" + max.toString$0(0);
  43595. else
  43596. t2 = "";
  43597. t1 = t1 ? t2 + "any" : t2;
  43598. return t1.charCodeAt(0) == 0 ? t1 : t1;
  43599. },
  43600. $isComparable: 1,
  43601. get$min() {
  43602. return this.min;
  43603. },
  43604. get$max() {
  43605. return this.max;
  43606. },
  43607. get$includeMin() {
  43608. return this.includeMin;
  43609. },
  43610. get$includeMax() {
  43611. return this.includeMax;
  43612. }
  43613. };
  43614. A.CssMediaQuery.prototype = {
  43615. merge$1(other) {
  43616. 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";
  43617. if (!_this.conjunction || !other.conjunction)
  43618. return B._SingletonCssMediaQueryMergeResult_1;
  43619. t1 = _this.modifier;
  43620. ourModifier = t1 == null ? _null : t1.toLowerCase();
  43621. t2 = _this.type;
  43622. t3 = t2 == null;
  43623. ourType = t3 ? _null : t2.toLowerCase();
  43624. t4 = other.modifier;
  43625. theirModifier = t4 == null ? _null : t4.toLowerCase();
  43626. t5 = other.type;
  43627. t6 = t5 == null;
  43628. theirType = t6 ? _null : t5.toLowerCase();
  43629. t7 = ourType == null;
  43630. if (t7 && theirType == null) {
  43631. t1 = A.List_List$of(_this.conditions, true, type$.String);
  43632. B.JSArray_methods.addAll$1(t1, other.conditions);
  43633. return new A.MediaQuerySuccessfulMergeResult(A.CssMediaQuery$condition(t1, true));
  43634. }
  43635. t8 = ourModifier === "not";
  43636. if (t8 !== (theirModifier === "not")) {
  43637. if (ourType == theirType) {
  43638. negativeConditions = t8 ? _this.conditions : other.conditions;
  43639. if (B.JSArray_methods.every$1(negativeConditions, B.JSArray_methods.get$contains(t8 ? other.conditions : _this.conditions)))
  43640. return B._SingletonCssMediaQueryMergeResult_0;
  43641. else
  43642. return B._SingletonCssMediaQueryMergeResult_1;
  43643. } else if (t3 || A.equalsIgnoreCase(t2, _s3_) || t6 || A.equalsIgnoreCase(t5, _s3_))
  43644. return B._SingletonCssMediaQueryMergeResult_1;
  43645. if (t8) {
  43646. conditions = other.conditions;
  43647. type = theirType;
  43648. modifier = theirModifier;
  43649. } else {
  43650. conditions = _this.conditions;
  43651. type = ourType;
  43652. modifier = ourModifier;
  43653. }
  43654. } else if (t8) {
  43655. if (ourType != theirType)
  43656. return B._SingletonCssMediaQueryMergeResult_1;
  43657. fewerConditions = _this.conditions;
  43658. fewerConditions0 = other.conditions;
  43659. t3 = fewerConditions.length > fewerConditions0.length;
  43660. moreConditions = t3 ? fewerConditions : fewerConditions0;
  43661. if (t3)
  43662. fewerConditions = fewerConditions0;
  43663. if (!B.JSArray_methods.every$1(fewerConditions, B.JSArray_methods.get$contains(moreConditions)))
  43664. return B._SingletonCssMediaQueryMergeResult_1;
  43665. conditions = moreConditions;
  43666. type = ourType;
  43667. modifier = ourModifier;
  43668. } else if (t3 || A.equalsIgnoreCase(t2, _s3_)) {
  43669. type = (t6 || A.equalsIgnoreCase(t5, _s3_)) && t7 ? _null : theirType;
  43670. t3 = A.List_List$of(_this.conditions, true, type$.String);
  43671. B.JSArray_methods.addAll$1(t3, other.conditions);
  43672. conditions = t3;
  43673. modifier = theirModifier;
  43674. } else {
  43675. if (t6 || A.equalsIgnoreCase(t5, _s3_)) {
  43676. t3 = A.List_List$of(_this.conditions, true, type$.String);
  43677. B.JSArray_methods.addAll$1(t3, other.conditions);
  43678. conditions = t3;
  43679. modifier = ourModifier;
  43680. } else {
  43681. if (ourType != theirType)
  43682. return B._SingletonCssMediaQueryMergeResult_0;
  43683. else {
  43684. modifier = ourModifier == null ? theirModifier : ourModifier;
  43685. t3 = A.List_List$of(_this.conditions, true, type$.String);
  43686. B.JSArray_methods.addAll$1(t3, other.conditions);
  43687. }
  43688. conditions = t3;
  43689. }
  43690. type = ourType;
  43691. }
  43692. t2 = type == ourType ? t2 : t5;
  43693. return new A.MediaQuerySuccessfulMergeResult(A.CssMediaQuery$type(t2, conditions, modifier == ourModifier ? t1 : t4));
  43694. },
  43695. $eq(_, other) {
  43696. if (other == null)
  43697. return false;
  43698. return other instanceof A.CssMediaQuery && other.modifier == this.modifier && other.type == this.type && B.C_ListEquality.equals$2(0, other.conditions, this.conditions);
  43699. },
  43700. get$hashCode(_) {
  43701. return J.get$hashCode$(this.modifier) ^ J.get$hashCode$(this.type) ^ B.C_ListEquality0.hash$1(this.conditions);
  43702. },
  43703. toString$0(_) {
  43704. var t2, _this = this,
  43705. t1 = _this.modifier;
  43706. t1 = t1 != null ? "" + (t1 + " ") : "";
  43707. t2 = _this.type;
  43708. if (t2 != null) {
  43709. t1 += t2;
  43710. if (_this.conditions.length !== 0)
  43711. t1 += " and ";
  43712. }
  43713. t2 = _this.conjunction ? " and " : " or ";
  43714. t2 = t1 + B.JSArray_methods.join$1(_this.conditions, t2);
  43715. return t2.charCodeAt(0) == 0 ? t2 : t2;
  43716. }
  43717. };
  43718. A._SingletonCssMediaQueryMergeResult.prototype = {
  43719. _enumToString$0() {
  43720. return "_SingletonCssMediaQueryMergeResult." + this._name;
  43721. }
  43722. };
  43723. A.MediaQuerySuccessfulMergeResult.prototype = {
  43724. toString$0(_) {
  43725. return this.query.toString$0(0);
  43726. }
  43727. };
  43728. A.ModifiableCssAtRule.prototype = {
  43729. accept$1$1(visitor) {
  43730. return visitor.visitCssAtRule$1(this);
  43731. },
  43732. accept$1(visitor) {
  43733. return this.accept$1$1(visitor, type$.dynamic);
  43734. },
  43735. equalsIgnoringChildren$1(other) {
  43736. var t1, t2;
  43737. if (other instanceof A.ModifiableCssAtRule) {
  43738. t1 = this.name;
  43739. t2 = other.name;
  43740. t1 = t1.$ti._is(t2) && J.$eq$(t2.value, t1.value) && J.$eq$(this.value, other.value) && this.isChildless === other.isChildless;
  43741. } else
  43742. t1 = false;
  43743. return t1;
  43744. },
  43745. copyWithoutChildren$0() {
  43746. var _this = this;
  43747. return A.ModifiableCssAtRule$(_this.name, _this.span, _this.isChildless, _this.value);
  43748. },
  43749. addChild$1(child) {
  43750. this.super$ModifiableCssParentNode$addChild(child);
  43751. },
  43752. get$isChildless() {
  43753. return this.isChildless;
  43754. },
  43755. get$span(receiver) {
  43756. return this.span;
  43757. }
  43758. };
  43759. A.ModifiableCssComment.prototype = {
  43760. accept$1$1(visitor) {
  43761. return visitor.visitCssComment$1(this);
  43762. },
  43763. accept$1(visitor) {
  43764. return this.accept$1$1(visitor, type$.dynamic);
  43765. },
  43766. $isCssComment: 1,
  43767. get$span(receiver) {
  43768. return this.span;
  43769. }
  43770. };
  43771. A.ModifiableCssDeclaration.prototype = {
  43772. accept$1$1(visitor) {
  43773. return visitor.visitCssDeclaration$1(this);
  43774. },
  43775. accept$1(visitor) {
  43776. return this.accept$1$1(visitor, type$.dynamic);
  43777. },
  43778. toString$0(_) {
  43779. return this.name.toString$0(0) + ": " + this.value.toString$0(0) + ";";
  43780. },
  43781. get$span(receiver) {
  43782. return this.span;
  43783. }
  43784. };
  43785. A.ModifiableCssImport.prototype = {
  43786. accept$1$1(visitor) {
  43787. return visitor.visitCssImport$1(this);
  43788. },
  43789. accept$1(visitor) {
  43790. return this.accept$1$1(visitor, type$.dynamic);
  43791. },
  43792. get$span(receiver) {
  43793. return this.span;
  43794. }
  43795. };
  43796. A.ModifiableCssKeyframeBlock.prototype = {
  43797. accept$1$1(visitor) {
  43798. return visitor.visitCssKeyframeBlock$1(this);
  43799. },
  43800. accept$1(visitor) {
  43801. return this.accept$1$1(visitor, type$.dynamic);
  43802. },
  43803. equalsIgnoringChildren$1(other) {
  43804. return other instanceof A.ModifiableCssKeyframeBlock && B.C_ListEquality.equals$2(0, this.selector.value, other.selector.value);
  43805. },
  43806. copyWithoutChildren$0() {
  43807. return A.ModifiableCssKeyframeBlock$(this.selector, this.span);
  43808. },
  43809. get$span(receiver) {
  43810. return this.span;
  43811. }
  43812. };
  43813. A.ModifiableCssMediaRule.prototype = {
  43814. accept$1$1(visitor) {
  43815. return visitor.visitCssMediaRule$1(this);
  43816. },
  43817. accept$1(visitor) {
  43818. return this.accept$1$1(visitor, type$.dynamic);
  43819. },
  43820. equalsIgnoringChildren$1(other) {
  43821. return other instanceof A.ModifiableCssMediaRule && B.C_ListEquality.equals$2(0, this.queries, other.queries);
  43822. },
  43823. copyWithoutChildren$0() {
  43824. return A.ModifiableCssMediaRule$(this.queries, this.span);
  43825. },
  43826. get$span(receiver) {
  43827. return this.span;
  43828. }
  43829. };
  43830. A.ModifiableCssNode.prototype = {
  43831. get$hasFollowingSibling() {
  43832. var t2,
  43833. t1 = this._parent;
  43834. if (t1 == null)
  43835. t1 = null;
  43836. else {
  43837. t1 = t1.children;
  43838. t2 = this._indexInParent;
  43839. t2.toString;
  43840. t1 = A.SubListIterable$(t1, t2 + 1, null, t1.$ti._eval$1("ListBase.E")).any$1(0, new A.ModifiableCssNode_hasFollowingSibling_closure());
  43841. }
  43842. return t1 === true;
  43843. },
  43844. get$isGroupEnd() {
  43845. return this.isGroupEnd;
  43846. }
  43847. };
  43848. A.ModifiableCssNode_hasFollowingSibling_closure.prototype = {
  43849. call$1(sibling) {
  43850. return !sibling.accept$1(B._IsInvisibleVisitor_true_false);
  43851. },
  43852. $signature: 111
  43853. };
  43854. A.ModifiableCssParentNode.prototype = {
  43855. get$isChildless() {
  43856. return false;
  43857. },
  43858. addChild$1(child) {
  43859. var t1;
  43860. child._parent = this;
  43861. t1 = this._children;
  43862. child._indexInParent = t1.length;
  43863. t1.push(child);
  43864. },
  43865. clearChildren$0() {
  43866. var t1, t2, _i, child;
  43867. for (t1 = this._children, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  43868. child = t1[_i];
  43869. child._indexInParent = child._parent = null;
  43870. }
  43871. B.JSArray_methods.clear$0(t1);
  43872. },
  43873. $isCssParentNode: 1,
  43874. get$children(receiver) {
  43875. return this.children;
  43876. }
  43877. };
  43878. A.ModifiableCssStyleRule.prototype = {
  43879. accept$1$1(visitor) {
  43880. return visitor.visitCssStyleRule$1(this);
  43881. },
  43882. accept$1(visitor) {
  43883. return this.accept$1$1(visitor, type$.dynamic);
  43884. },
  43885. equalsIgnoringChildren$1(other) {
  43886. var t1;
  43887. if (other instanceof A.ModifiableCssStyleRule)
  43888. t1 = B.C_ListEquality.equals$2(0, other._style_rule$_selector._box$_inner.value.components, this._style_rule$_selector._box$_inner.value.components);
  43889. else
  43890. t1 = false;
  43891. return t1;
  43892. },
  43893. copyWithoutChildren$0() {
  43894. return A.ModifiableCssStyleRule$(this._style_rule$_selector, this.span, false, this.originalSelector);
  43895. },
  43896. get$span(receiver) {
  43897. return this.span;
  43898. }
  43899. };
  43900. A.ModifiableCssStylesheet.prototype = {
  43901. accept$1$1(visitor) {
  43902. return visitor.visitCssStylesheet$1(this);
  43903. },
  43904. accept$1(visitor) {
  43905. return this.accept$1$1(visitor, type$.dynamic);
  43906. },
  43907. equalsIgnoringChildren$1(other) {
  43908. return other instanceof A.ModifiableCssStylesheet;
  43909. },
  43910. copyWithoutChildren$0() {
  43911. return A.ModifiableCssStylesheet$(this.span);
  43912. },
  43913. $isCssStylesheet: 1,
  43914. get$span(receiver) {
  43915. return this.span;
  43916. }
  43917. };
  43918. A.ModifiableCssSupportsRule.prototype = {
  43919. accept$1$1(visitor) {
  43920. return visitor.visitCssSupportsRule$1(this);
  43921. },
  43922. accept$1(visitor) {
  43923. return this.accept$1$1(visitor, type$.dynamic);
  43924. },
  43925. equalsIgnoringChildren$1(other) {
  43926. var t1, t2;
  43927. if (other instanceof A.ModifiableCssSupportsRule) {
  43928. t1 = this.condition;
  43929. t2 = other.condition;
  43930. t1 = t1.$ti._is(t2) && J.$eq$(t2.value, t1.value);
  43931. } else
  43932. t1 = false;
  43933. return t1;
  43934. },
  43935. copyWithoutChildren$0() {
  43936. return A.ModifiableCssSupportsRule$(this.condition, this.span);
  43937. },
  43938. get$span(receiver) {
  43939. return this.span;
  43940. }
  43941. };
  43942. A.CssNode.prototype = {
  43943. toString$0(_) {
  43944. return A.serialize(this, true, null, true, null, false, null, true)._0;
  43945. },
  43946. $isAstNode: 1
  43947. };
  43948. A.CssParentNode.prototype = {};
  43949. A._IsInvisibleVisitor.prototype = {
  43950. visitCssAtRule$1(rule) {
  43951. return false;
  43952. },
  43953. visitCssComment$1(comment) {
  43954. return this.includeComments && comment.text.charCodeAt(2) !== 33;
  43955. },
  43956. visitCssStyleRule$1(rule) {
  43957. var t1 = rule._style_rule$_selector._box$_inner;
  43958. return (this.includeBogus ? t1.value.accept$1(B._IsInvisibleVisitor_true) : t1.value.accept$1(B._IsInvisibleVisitor_false)) || this.super$EveryCssVisitor$visitCssStyleRule(rule);
  43959. }
  43960. };
  43961. A.__IsInvisibleVisitor_Object_EveryCssVisitor.prototype = {};
  43962. A.CssStylesheet.prototype = {
  43963. get$isGroupEnd() {
  43964. return false;
  43965. },
  43966. get$isChildless() {
  43967. return false;
  43968. },
  43969. accept$1$1(visitor) {
  43970. return visitor.visitCssStylesheet$1(this);
  43971. },
  43972. accept$1(visitor) {
  43973. return this.accept$1$1(visitor, type$.dynamic);
  43974. },
  43975. get$children(receiver) {
  43976. return this.children;
  43977. },
  43978. get$span(receiver) {
  43979. return this.span;
  43980. }
  43981. };
  43982. A.CssValue.prototype = {
  43983. $eq(_, other) {
  43984. if (other == null)
  43985. return false;
  43986. return this.$ti._is(other) && J.$eq$(other.value, this.value);
  43987. },
  43988. get$hashCode(_) {
  43989. return J.get$hashCode$(this.value);
  43990. },
  43991. toString$0(_) {
  43992. return J.toString$0$(this.value);
  43993. },
  43994. $isAstNode: 1,
  43995. get$span(receiver) {
  43996. return this.span;
  43997. }
  43998. };
  43999. A._FakeAstNode.prototype = {
  44000. get$span(_) {
  44001. return this._callback.call$0();
  44002. },
  44003. $isAstNode: 1
  44004. };
  44005. A.Argument.prototype = {
  44006. toString$0(_) {
  44007. var t1 = this.defaultValue,
  44008. t2 = this.name;
  44009. return t1 == null ? t2 : t2 + ": " + t1.toString$0(0);
  44010. },
  44011. $isAstNode: 1,
  44012. get$span(receiver) {
  44013. return this.span;
  44014. }
  44015. };
  44016. A.ArgumentDeclaration.prototype = {
  44017. get$spanWithName() {
  44018. var t3, t4,
  44019. t1 = this.span,
  44020. t2 = t1.file,
  44021. text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2._decodedChars, 0, null), 0, null),
  44022. i = A.FileLocation$_(t2, t1._file$_start).offset - 1;
  44023. while (true) {
  44024. if (i > 0) {
  44025. t3 = text.charCodeAt(i);
  44026. t3 = t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12;
  44027. } else
  44028. t3 = false;
  44029. if (!t3)
  44030. break;
  44031. --i;
  44032. }
  44033. t3 = text.charCodeAt(i);
  44034. if (!(t3 === 95 || A.CharacterExtension_get_isAlphabetic(t3) || t3 >= 128))
  44035. t3 = t3 >= 48 && t3 <= 57 || t3 === 45;
  44036. else
  44037. t3 = true;
  44038. if (!t3)
  44039. return t1;
  44040. --i;
  44041. while (true) {
  44042. if (i >= 0) {
  44043. t3 = text.charCodeAt(i);
  44044. if (t3 !== 95) {
  44045. if (!(t3 >= 97 && t3 <= 122))
  44046. t4 = t3 >= 65 && t3 <= 90;
  44047. else
  44048. t4 = true;
  44049. t4 = t4 || t3 >= 128;
  44050. } else
  44051. t4 = true;
  44052. if (!t4)
  44053. t3 = t3 >= 48 && t3 <= 57 || t3 === 45;
  44054. else
  44055. t3 = true;
  44056. } else
  44057. t3 = false;
  44058. if (!t3)
  44059. break;
  44060. --i;
  44061. }
  44062. t3 = i + 1;
  44063. t4 = text.charCodeAt(t3);
  44064. if (!(t4 === 95 || A.CharacterExtension_get_isAlphabetic(t4) || t4 >= 128))
  44065. return t1;
  44066. return A.SpanExtensions_trimRight(A.SpanExtensions_trimLeft(t2.span$2(0, t3, A.FileLocation$_(t2, t1._end).offset)));
  44067. },
  44068. verify$2(positional, names) {
  44069. var t1, t2, t3, namedUsed, i, argument, t4, unknownNames, _this = this,
  44070. _s10_ = "invocation",
  44071. _s8_ = "argument";
  44072. for (t1 = _this.$arguments, t2 = t1.length, t3 = names._baseMap, namedUsed = 0, i = 0; i < t2; ++i) {
  44073. argument = t1[i];
  44074. if (i < positional) {
  44075. t4 = argument.name;
  44076. if (t3.containsKey$1(t4))
  44077. throw A.wrapException(A.SassScriptException$("Argument " + _this._originalArgumentName$1(t4) + string$.x20was_p, null));
  44078. } else {
  44079. t4 = argument.name;
  44080. if (t3.containsKey$1(t4))
  44081. ++namedUsed;
  44082. else if (argument.defaultValue == null)
  44083. throw A.wrapException(A.MultiSpanSassScriptException$("Missing argument " + _this._originalArgumentName$1(t4) + ".", _s10_, A.LinkedHashMap_LinkedHashMap$_literal([_this.get$spanWithName(), "declaration"], type$.FileSpan, type$.String)));
  44084. }
  44085. }
  44086. if (_this.restArgument != null)
  44087. return;
  44088. if (positional > t2) {
  44089. t1 = names.get$isEmpty(0) ? "" : "positional ";
  44090. throw A.wrapException(A.MultiSpanSassScriptException$("Only " + t2 + " " + t1 + A.pluralize(_s8_, t2, null) + " allowed, but " + positional + " " + A.pluralize("was", positional, "were") + " passed.", _s10_, A.LinkedHashMap_LinkedHashMap$_literal([_this.get$spanWithName(), "declaration"], type$.FileSpan, type$.String)));
  44091. }
  44092. if (namedUsed < t3.get$length(t3)) {
  44093. t2 = type$.String;
  44094. unknownNames = A.LinkedHashSet_LinkedHashSet$of(names, t2);
  44095. unknownNames.removeAll$1(new A.MappedListIterable(t1, new A.ArgumentDeclaration_verify_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Object?>")));
  44096. throw A.wrapException(A.MultiSpanSassScriptException$("No " + A.pluralize(_s8_, unknownNames._collection$_length, null) + " named " + A.toSentence(unknownNames.map$1$1(0, new A.ArgumentDeclaration_verify_closure0(), type$.Object), "or") + ".", _s10_, A.LinkedHashMap_LinkedHashMap$_literal([_this.get$spanWithName(), "declaration"], type$.FileSpan, t2)));
  44097. }
  44098. },
  44099. _originalArgumentName$1($name) {
  44100. var t1, text, t2, _i, argument, t3, t4, end, _null = null;
  44101. if ($name === this.restArgument) {
  44102. t1 = this.span;
  44103. text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.file._decodedChars, t1._file$_start, t1._end), 0, _null);
  44104. 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, "."));
  44105. }
  44106. for (t1 = this.$arguments, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  44107. argument = t1[_i];
  44108. if (argument.name === $name) {
  44109. t1 = argument.defaultValue;
  44110. t2 = argument.span;
  44111. t3 = t2.file;
  44112. t4 = t2._file$_start;
  44113. t2 = t2._end;
  44114. if (t1 == null) {
  44115. t1 = t3._decodedChars;
  44116. t1 = A.String_String$fromCharCodes(new Uint32Array(t1.subarray(t4, A._checkValidRange(t4, t2, t1.length))), 0, _null);
  44117. } else {
  44118. t1 = t3._decodedChars;
  44119. text = A.String_String$fromCharCodes(new Uint32Array(t1.subarray(t4, A._checkValidRange(t4, t2, t1.length))), 0, _null);
  44120. t1 = B.JSString_methods.substring$2(text, 0, B.JSString_methods.indexOf$1(text, ":"));
  44121. end = A._lastNonWhitespace(t1, false);
  44122. t1 = end == null ? "" : B.JSString_methods.substring$2(t1, 0, end + 1);
  44123. }
  44124. return t1;
  44125. }
  44126. }
  44127. throw A.wrapException(A.ArgumentError$(string$.This_d + $name + '".', _null));
  44128. },
  44129. matches$2(positional, names) {
  44130. var t1, t2, t3, namedUsed, i, argument;
  44131. for (t1 = this.$arguments, t2 = t1.length, t3 = names._baseMap, namedUsed = 0, i = 0; i < t2; ++i) {
  44132. argument = t1[i];
  44133. if (i < positional) {
  44134. if (t3.containsKey$1(argument.name))
  44135. return false;
  44136. } else if (t3.containsKey$1(argument.name))
  44137. ++namedUsed;
  44138. else if (argument.defaultValue == null)
  44139. return false;
  44140. }
  44141. if (this.restArgument != null)
  44142. return true;
  44143. if (positional > t2)
  44144. return false;
  44145. if (namedUsed < t3.get$length(t3))
  44146. return false;
  44147. return true;
  44148. },
  44149. toString$0(_) {
  44150. var t2, t3, _i,
  44151. t1 = A._setArrayType([], type$.JSArray_String);
  44152. for (t2 = this.$arguments, t3 = t2.length, _i = 0; _i < t3; ++_i)
  44153. t1.push("$" + A.S(t2[_i]));
  44154. t2 = this.restArgument;
  44155. if (t2 != null)
  44156. t1.push("$" + t2 + "...");
  44157. return B.JSArray_methods.join$1(t1, ", ");
  44158. },
  44159. $isAstNode: 1,
  44160. get$span(receiver) {
  44161. return this.span;
  44162. }
  44163. };
  44164. A.ArgumentDeclaration_verify_closure.prototype = {
  44165. call$1(argument) {
  44166. return argument.name;
  44167. },
  44168. $signature: 525
  44169. };
  44170. A.ArgumentDeclaration_verify_closure0.prototype = {
  44171. call$1($name) {
  44172. return "$" + $name;
  44173. },
  44174. $signature: 5
  44175. };
  44176. A.ArgumentInvocation.prototype = {
  44177. get$isEmpty(_) {
  44178. var t1;
  44179. if (this.positional.length === 0) {
  44180. t1 = this.named;
  44181. t1 = t1.get$isEmpty(t1) && this.rest == null;
  44182. } else
  44183. t1 = false;
  44184. return t1;
  44185. },
  44186. toString$0(_) {
  44187. var t2, t3, _i, _1_0, _2_0, _this = this,
  44188. t1 = A._setArrayType([], type$.JSArray_String);
  44189. for (t2 = _this.positional, t3 = t2.length, _i = 0; _i < t3; ++_i)
  44190. t1.push(_this._parenthesizeArgument$1(t2[_i]));
  44191. for (t2 = A.MapExtensions_get_pairs(_this.named, type$.String, type$.Expression), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
  44192. t3 = t2.get$current(t2);
  44193. t1.push("$" + t3._0 + ": " + _this._parenthesizeArgument$1(t3._1));
  44194. }
  44195. _1_0 = _this.rest;
  44196. if (_1_0 != null)
  44197. t1.push(_this._parenthesizeArgument$1(_1_0) + "...");
  44198. _2_0 = _this.keywordRest;
  44199. if (_2_0 != null)
  44200. t1.push(_this._parenthesizeArgument$1(_2_0) + "...");
  44201. return "(" + B.JSArray_methods.join$1(t1, ", ") + ")";
  44202. },
  44203. _parenthesizeArgument$1(argument) {
  44204. var t1;
  44205. $label0$0: {
  44206. if (argument instanceof A.ListExpression && B.ListSeparator_ECn === argument.separator && !argument.hasBrackets && argument.contents.length >= 2) {
  44207. t1 = "(" + argument.toString$0(0) + ")";
  44208. break $label0$0;
  44209. }
  44210. t1 = argument.toString$0(0);
  44211. break $label0$0;
  44212. }
  44213. return t1;
  44214. },
  44215. $isAstNode: 1,
  44216. get$span(receiver) {
  44217. return this.span;
  44218. }
  44219. };
  44220. A.AtRootQuery.prototype = {
  44221. excludes$1(node) {
  44222. var t1, _this = this;
  44223. if (_this._all)
  44224. return !_this.include;
  44225. $label0$0: {
  44226. if (node instanceof A.ModifiableCssStyleRule) {
  44227. t1 = _this._at_root_query$_rule !== _this.include;
  44228. break $label0$0;
  44229. }
  44230. if (node instanceof A.ModifiableCssMediaRule) {
  44231. t1 = _this.excludesName$1("media");
  44232. break $label0$0;
  44233. }
  44234. if (node instanceof A.ModifiableCssSupportsRule) {
  44235. t1 = _this.excludesName$1("supports");
  44236. break $label0$0;
  44237. }
  44238. if (node instanceof A.ModifiableCssAtRule) {
  44239. t1 = _this.excludesName$1(node.name.value.toLowerCase());
  44240. break $label0$0;
  44241. }
  44242. t1 = false;
  44243. break $label0$0;
  44244. }
  44245. return t1;
  44246. },
  44247. excludesName$1($name) {
  44248. var t1 = this._all || this.names.contains$1(0, $name);
  44249. return t1 !== this.include;
  44250. }
  44251. };
  44252. A.ConfiguredVariable.prototype = {
  44253. toString$0(_) {
  44254. var t1 = this.expression.toString$0(0),
  44255. t2 = this.isGuarded ? " !default" : "";
  44256. return "$" + this.name + ": " + t1 + t2;
  44257. },
  44258. $isAstNode: 1,
  44259. get$span(receiver) {
  44260. return this.span;
  44261. }
  44262. };
  44263. A._IsCalculationSafeVisitor.prototype = {
  44264. visitBinaryOperationExpression$1(node) {
  44265. var t1;
  44266. if (B.Set_mqKz.contains$1(0, node.operator))
  44267. t1 = node.left.accept$1(this) || node.right.accept$1(this);
  44268. else
  44269. t1 = false;
  44270. return t1;
  44271. },
  44272. visitBooleanExpression$1(node) {
  44273. return false;
  44274. },
  44275. visitColorExpression$1(node) {
  44276. return false;
  44277. },
  44278. visitFunctionExpression$1(node) {
  44279. return true;
  44280. },
  44281. visitInterpolatedFunctionExpression$1(node) {
  44282. return true;
  44283. },
  44284. visitIfExpression$1(node) {
  44285. return true;
  44286. },
  44287. visitListExpression$1(node) {
  44288. var t1;
  44289. if (node.separator === B.ListSeparator_nbm)
  44290. if (!node.hasBrackets) {
  44291. t1 = node.contents;
  44292. t1 = t1.length > 1 && B.JSArray_methods.every$1(t1, new A._IsCalculationSafeVisitor_visitListExpression_closure(this));
  44293. } else
  44294. t1 = false;
  44295. else
  44296. t1 = false;
  44297. return t1;
  44298. },
  44299. visitMapExpression$1(node) {
  44300. return false;
  44301. },
  44302. visitNullExpression$1(node) {
  44303. return false;
  44304. },
  44305. visitNumberExpression$1(node) {
  44306. return true;
  44307. },
  44308. visitParenthesizedExpression$1(node) {
  44309. return node.expression.accept$1(this);
  44310. },
  44311. visitSelectorExpression$1(node) {
  44312. return false;
  44313. },
  44314. visitStringExpression$1(node) {
  44315. var text, t1, t2;
  44316. if (node.hasQuotes)
  44317. return false;
  44318. text = node.text.get$initialPlain();
  44319. if (!B.JSString_methods.startsWith$1(text, "!"))
  44320. if (!B.JSString_methods.startsWith$1(text, "#")) {
  44321. t1 = text.length;
  44322. if ((1 >= t1 ? null : text.charCodeAt(1)) !== 43) {
  44323. t2 = (3 >= t1 ? null : text.charCodeAt(3)) !== 40;
  44324. t1 = t2;
  44325. } else
  44326. t1 = false;
  44327. } else
  44328. t1 = false;
  44329. else
  44330. t1 = false;
  44331. return t1;
  44332. },
  44333. visitSupportsExpression$1(node) {
  44334. return false;
  44335. },
  44336. visitUnaryOperationExpression$1(node) {
  44337. return false;
  44338. },
  44339. visitValueExpression$1(node) {
  44340. return false;
  44341. },
  44342. visitVariableExpression$1(node) {
  44343. return true;
  44344. }
  44345. };
  44346. A._IsCalculationSafeVisitor_visitListExpression_closure.prototype = {
  44347. call$1(expression) {
  44348. return expression.accept$1(this.$this);
  44349. },
  44350. $signature: 110
  44351. };
  44352. A.BinaryOperationExpression.prototype = {
  44353. get$span(_) {
  44354. var right,
  44355. left = this.left;
  44356. for (; left instanceof A.BinaryOperationExpression;)
  44357. left = left.left;
  44358. right = this.right;
  44359. for (; right instanceof A.BinaryOperationExpression;)
  44360. right = right.right;
  44361. return left.get$span(left).expand$1(0, right.get$span(right));
  44362. },
  44363. get$operatorSpan() {
  44364. var t3, t4,
  44365. t1 = this.left,
  44366. t2 = t1.get$span(t1);
  44367. t2 = t2.get$file(t2);
  44368. t3 = this.right;
  44369. t4 = t3.get$span(t3);
  44370. if (t2 === t4.get$file(t4)) {
  44371. t2 = t1.get$span(t1);
  44372. t2 = t2.get$end(t2);
  44373. t4 = t3.get$span(t3);
  44374. t4 = t2.offset < t4.get$start(t4).offset;
  44375. t2 = t4;
  44376. } else
  44377. t2 = false;
  44378. if (t2) {
  44379. t2 = t1.get$span(t1);
  44380. t2 = t2.get$file(t2);
  44381. t1 = t1.get$span(t1);
  44382. t1 = t1.get$end(t1);
  44383. t3 = t3.get$span(t3);
  44384. t3 = A.SpanExtensions_trimRight(A.SpanExtensions_trimLeft(t2.span$2(0, t1.offset, t3.get$start(t3).offset)));
  44385. t1 = t3;
  44386. } else
  44387. t1 = this.get$span(0);
  44388. return t1;
  44389. },
  44390. accept$1$1(visitor) {
  44391. return visitor.visitBinaryOperationExpression$1(this);
  44392. },
  44393. accept$1(visitor) {
  44394. return this.accept$1$1(visitor, type$.dynamic);
  44395. },
  44396. toString$0(_) {
  44397. var t1, t2, right, operator, t3, _this = this,
  44398. _0_0 = _this.left;
  44399. $label0$0: {
  44400. if (_0_0 instanceof A.BinaryOperationExpression) {
  44401. t1 = _0_0.operator.precedence < _this.operator.precedence;
  44402. break $label0$0;
  44403. }
  44404. if (_0_0 instanceof A.ListExpression && !_0_0.hasBrackets && _0_0.contents.length >= 2) {
  44405. t1 = true;
  44406. break $label0$0;
  44407. }
  44408. t1 = false;
  44409. break $label0$0;
  44410. }
  44411. t2 = t1 ? "" + A.Primitives_stringFromCharCode(40) : "";
  44412. t2 += _0_0.toString$0(0);
  44413. t1 = t1 ? t2 + A.Primitives_stringFromCharCode(41) : t2;
  44414. t2 = _this.operator;
  44415. t1 = t1 + A.Primitives_stringFromCharCode(32) + t2.operator + A.Primitives_stringFromCharCode(32);
  44416. right = _this.right;
  44417. $label1$1: {
  44418. if (right instanceof A.BinaryOperationExpression) {
  44419. operator = right.operator;
  44420. if (operator.precedence <= t2.precedence) {
  44421. t3 = !(operator === t2 && operator.isAssociative);
  44422. t2 = t3;
  44423. } else
  44424. t2 = false;
  44425. break $label1$1;
  44426. }
  44427. if (right instanceof A.ListExpression && !right.hasBrackets && right.contents.length >= 2) {
  44428. t2 = true;
  44429. break $label1$1;
  44430. }
  44431. t2 = false;
  44432. break $label1$1;
  44433. }
  44434. if (t2)
  44435. t1 += A.Primitives_stringFromCharCode(40);
  44436. t1 += right.toString$0(0);
  44437. if (t2)
  44438. t1 += A.Primitives_stringFromCharCode(41);
  44439. return t1.charCodeAt(0) == 0 ? t1 : t1;
  44440. },
  44441. $isAstNode: 1,
  44442. $isExpression: 1
  44443. };
  44444. A.BinaryOperator.prototype = {
  44445. _enumToString$0() {
  44446. return "BinaryOperator." + this._name;
  44447. },
  44448. toString$0(_) {
  44449. return this.name;
  44450. }
  44451. };
  44452. A.BooleanExpression.prototype = {
  44453. accept$1$1(visitor) {
  44454. return visitor.visitBooleanExpression$1(this);
  44455. },
  44456. accept$1(visitor) {
  44457. return this.accept$1$1(visitor, type$.dynamic);
  44458. },
  44459. toString$0(_) {
  44460. return String(this.value);
  44461. },
  44462. $isAstNode: 1,
  44463. $isExpression: 1,
  44464. get$span(receiver) {
  44465. return this.span;
  44466. }
  44467. };
  44468. A.ColorExpression.prototype = {
  44469. accept$1$1(visitor) {
  44470. return visitor.visitColorExpression$1(this);
  44471. },
  44472. accept$1(visitor) {
  44473. return this.accept$1$1(visitor, type$.dynamic);
  44474. },
  44475. toString$0(_) {
  44476. return A.serializeValue(this.value, true, true);
  44477. },
  44478. $isAstNode: 1,
  44479. $isExpression: 1,
  44480. get$span(receiver) {
  44481. return this.span;
  44482. }
  44483. };
  44484. A.FunctionExpression.prototype = {
  44485. get$nameSpan() {
  44486. if (this.namespace == null)
  44487. return A.SpanExtensions_initialIdentifier(this.span);
  44488. return A.SpanExtensions_initialIdentifier(A.FileSpanExtension_subspan(A.SpanExtensions_withoutInitialIdentifier(this.span), 1, null));
  44489. },
  44490. accept$1$1(visitor) {
  44491. return visitor.visitFunctionExpression$1(this);
  44492. },
  44493. accept$1(visitor) {
  44494. return this.accept$1$1(visitor, type$.dynamic);
  44495. },
  44496. toString$0(_) {
  44497. var t1 = this.namespace;
  44498. t1 = t1 != null ? "" + (t1 + ".") : "";
  44499. t1 += this.originalName + this.$arguments.toString$0(0);
  44500. return t1.charCodeAt(0) == 0 ? t1 : t1;
  44501. },
  44502. $isAstNode: 1,
  44503. $isExpression: 1,
  44504. get$span(receiver) {
  44505. return this.span;
  44506. }
  44507. };
  44508. A.IfExpression.prototype = {
  44509. accept$1$1(visitor) {
  44510. return visitor.visitIfExpression$1(this);
  44511. },
  44512. accept$1(visitor) {
  44513. return this.accept$1$1(visitor, type$.dynamic);
  44514. },
  44515. toString$0(_) {
  44516. return "if" + this.$arguments.toString$0(0);
  44517. },
  44518. $isAstNode: 1,
  44519. $isExpression: 1,
  44520. get$span(receiver) {
  44521. return this.span;
  44522. }
  44523. };
  44524. A.InterpolatedFunctionExpression.prototype = {
  44525. accept$1$1(visitor) {
  44526. return visitor.visitInterpolatedFunctionExpression$1(this);
  44527. },
  44528. accept$1(visitor) {
  44529. return this.accept$1$1(visitor, type$.dynamic);
  44530. },
  44531. toString$0(_) {
  44532. return this.name.toString$0(0) + this.$arguments.toString$0(0);
  44533. },
  44534. $isAstNode: 1,
  44535. $isExpression: 1,
  44536. get$span(receiver) {
  44537. return this.span;
  44538. }
  44539. };
  44540. A.ListExpression.prototype = {
  44541. accept$1$1(visitor) {
  44542. return visitor.visitListExpression$1(this);
  44543. },
  44544. accept$1(visitor) {
  44545. return this.accept$1$1(visitor, type$.dynamic);
  44546. },
  44547. toString$0(_) {
  44548. var t2, t3, t4, t5, _this = this,
  44549. t1 = _this.hasBrackets;
  44550. if (t1)
  44551. t2 = "" + A.Primitives_stringFromCharCode(91);
  44552. else {
  44553. t2 = _this.contents.length;
  44554. if (t2 !== 0)
  44555. t2 = t2 === 1 && _this.separator === B.ListSeparator_ECn;
  44556. else
  44557. t2 = true;
  44558. t2 = t2 ? "" + A.Primitives_stringFromCharCode(40) : "";
  44559. }
  44560. t3 = _this.contents;
  44561. t4 = _this.separator === B.ListSeparator_ECn;
  44562. t5 = t4 ? ", " : " ";
  44563. t5 = t2 + new A.MappedListIterable(t3, new A.ListExpression_toString_closure(_this), A._arrayInstanceType(t3)._eval$1("MappedListIterable<1,String>")).join$1(0, t5);
  44564. if (t1)
  44565. t1 = t5 + A.Primitives_stringFromCharCode(93);
  44566. else {
  44567. t1 = t3.length;
  44568. if (t1 === 0)
  44569. t1 = t5 + A.Primitives_stringFromCharCode(41);
  44570. else
  44571. t1 = t1 === 1 && t4 ? t5 + ",)" : t5;
  44572. }
  44573. return t1.charCodeAt(0) == 0 ? t1 : t1;
  44574. },
  44575. _list0$_elementNeedsParens$1(expression) {
  44576. var childSeparator, t1, _0_13;
  44577. $label0$0: {
  44578. if (expression instanceof A.ListExpression && expression.contents.length >= 2 && !expression.hasBrackets) {
  44579. childSeparator = expression.separator;
  44580. t1 = this.separator === B.ListSeparator_ECn ? childSeparator === B.ListSeparator_ECn : childSeparator !== B.ListSeparator_undecided_null_undecided;
  44581. break $label0$0;
  44582. }
  44583. if (expression instanceof A.UnaryOperationExpression) {
  44584. _0_13 = expression.operator;
  44585. if (B.UnaryOperator_cLp !== _0_13)
  44586. t1 = B.UnaryOperator_AiQ === _0_13;
  44587. else
  44588. t1 = true;
  44589. } else
  44590. t1 = false;
  44591. if (t1) {
  44592. t1 = this.separator === B.ListSeparator_nbm;
  44593. break $label0$0;
  44594. }
  44595. t1 = false;
  44596. break $label0$0;
  44597. }
  44598. return t1;
  44599. },
  44600. $isAstNode: 1,
  44601. $isExpression: 1,
  44602. get$span(receiver) {
  44603. return this.span;
  44604. }
  44605. };
  44606. A.ListExpression_toString_closure.prototype = {
  44607. call$1(element) {
  44608. return this.$this._list0$_elementNeedsParens$1(element) ? "(" + element.toString$0(0) + ")" : element.toString$0(0);
  44609. },
  44610. $signature: 136
  44611. };
  44612. A.MapExpression.prototype = {
  44613. accept$1$1(visitor) {
  44614. return visitor.visitMapExpression$1(this);
  44615. },
  44616. accept$1(visitor) {
  44617. return this.accept$1$1(visitor, type$.dynamic);
  44618. },
  44619. toString$0(_) {
  44620. var t2, t3, _i, t4, key, value,
  44621. t1 = A._setArrayType([], type$.JSArray_String);
  44622. for (t2 = this.pairs, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  44623. t4 = t2[_i];
  44624. key = t4._0;
  44625. value = t4._1;
  44626. t1.push(key.toString$0(0) + ": " + value.toString$0(0));
  44627. }
  44628. return "(" + B.JSArray_methods.join$1(t1, ", ") + ")";
  44629. },
  44630. $isAstNode: 1,
  44631. $isExpression: 1,
  44632. get$span(receiver) {
  44633. return this.span;
  44634. }
  44635. };
  44636. A.NullExpression.prototype = {
  44637. accept$1$1(visitor) {
  44638. return visitor.visitNullExpression$1(this);
  44639. },
  44640. accept$1(visitor) {
  44641. return this.accept$1$1(visitor, type$.dynamic);
  44642. },
  44643. toString$0(_) {
  44644. return "null";
  44645. },
  44646. $isAstNode: 1,
  44647. $isExpression: 1,
  44648. get$span(receiver) {
  44649. return this.span;
  44650. }
  44651. };
  44652. A.NumberExpression.prototype = {
  44653. accept$1$1(visitor) {
  44654. return visitor.visitNumberExpression$1(this);
  44655. },
  44656. accept$1(visitor) {
  44657. return this.accept$1$1(visitor, type$.dynamic);
  44658. },
  44659. toString$0(_) {
  44660. return A.serializeValue(A.SassNumber_SassNumber(this.value, this.unit), true, true);
  44661. },
  44662. $isAstNode: 1,
  44663. $isExpression: 1,
  44664. get$span(receiver) {
  44665. return this.span;
  44666. }
  44667. };
  44668. A.ParenthesizedExpression.prototype = {
  44669. accept$1$1(visitor) {
  44670. return visitor.visitParenthesizedExpression$1(this);
  44671. },
  44672. accept$1(visitor) {
  44673. return this.accept$1$1(visitor, type$.dynamic);
  44674. },
  44675. toString$0(_) {
  44676. return "(" + this.expression.toString$0(0) + ")";
  44677. },
  44678. $isAstNode: 1,
  44679. $isExpression: 1,
  44680. get$span(receiver) {
  44681. return this.span;
  44682. }
  44683. };
  44684. A.SelectorExpression.prototype = {
  44685. accept$1$1(visitor) {
  44686. return visitor.visitSelectorExpression$1(this);
  44687. },
  44688. accept$1(visitor) {
  44689. return this.accept$1$1(visitor, type$.dynamic);
  44690. },
  44691. toString$0(_) {
  44692. return "&";
  44693. },
  44694. $isAstNode: 1,
  44695. $isExpression: 1,
  44696. get$span(receiver) {
  44697. return this.span;
  44698. }
  44699. };
  44700. A.StringExpression.prototype = {
  44701. get$span(_) {
  44702. return this.text.span;
  44703. },
  44704. accept$1$1(visitor) {
  44705. return visitor.visitStringExpression$1(this);
  44706. },
  44707. accept$1(visitor) {
  44708. return this.accept$1$1(visitor, type$.dynamic);
  44709. },
  44710. asInterpolation$1$static($static) {
  44711. var t1, t2, quote, t3, t4, buffer, t5, t6, _i, value;
  44712. if (!this.hasQuotes)
  44713. return this.text;
  44714. t1 = this.text;
  44715. t2 = t1.contents;
  44716. quote = A.StringExpression__bestQuote(new A.WhereTypeIterable(t2, type$.WhereTypeIterable_String));
  44717. t3 = new A.StringBuffer("");
  44718. t4 = A._setArrayType([], type$.JSArray_Object);
  44719. buffer = new A.InterpolationBuffer(t3, t4);
  44720. t5 = A.Primitives_stringFromCharCode(quote);
  44721. t3._contents += t5;
  44722. for (t5 = t2.length, t6 = type$.Expression, _i = 0; _i < t5; ++_i) {
  44723. value = t2[_i];
  44724. if (t6._is(value)) {
  44725. buffer._flushText$0();
  44726. t4.push(value);
  44727. continue;
  44728. }
  44729. if (typeof value == "string")
  44730. A.StringExpression__quoteInnerText(value, quote, buffer, $static);
  44731. }
  44732. t2 = A.Primitives_stringFromCharCode(quote);
  44733. t3._contents += t2;
  44734. return buffer.interpolation$1(t1.span);
  44735. },
  44736. asInterpolation$0() {
  44737. return this.asInterpolation$1$static(false);
  44738. },
  44739. toString$0(_) {
  44740. return this.asInterpolation$0().toString$0(0);
  44741. },
  44742. $isAstNode: 1,
  44743. $isExpression: 1
  44744. };
  44745. A.SupportsExpression.prototype = {
  44746. get$span(_) {
  44747. var t1 = this.condition;
  44748. return t1.get$span(t1);
  44749. },
  44750. accept$1$1(visitor) {
  44751. return visitor.visitSupportsExpression$1(this);
  44752. },
  44753. accept$1(visitor) {
  44754. return this.accept$1$1(visitor, type$.dynamic);
  44755. },
  44756. toString$0(_) {
  44757. return this.condition.toString$0(0);
  44758. },
  44759. $isAstNode: 1,
  44760. $isExpression: 1
  44761. };
  44762. A.UnaryOperationExpression.prototype = {
  44763. accept$1$1(visitor) {
  44764. return visitor.visitUnaryOperationExpression$1(this);
  44765. },
  44766. accept$1(visitor) {
  44767. return this.accept$1$1(visitor, type$.dynamic);
  44768. },
  44769. toString$0(_) {
  44770. var operand,
  44771. t1 = this.operator,
  44772. t2 = t1.operator;
  44773. t1 = t1 === B.UnaryOperator_not_not_not ? t2 + A.Primitives_stringFromCharCode(32) : t2;
  44774. operand = this.operand;
  44775. $label0$0: {
  44776. if (!(operand instanceof A.BinaryOperationExpression))
  44777. if (!(operand instanceof A.UnaryOperationExpression))
  44778. t2 = operand instanceof A.ListExpression && !operand.hasBrackets && operand.contents.length >= 2;
  44779. else
  44780. t2 = true;
  44781. else
  44782. t2 = true;
  44783. if (t2)
  44784. break $label0$0;
  44785. break $label0$0;
  44786. }
  44787. if (t2)
  44788. t1 += "40";
  44789. t1 += operand.toString$0(0);
  44790. if (t2)
  44791. t1 += "41";
  44792. return t1.charCodeAt(0) == 0 ? t1 : t1;
  44793. },
  44794. $isAstNode: 1,
  44795. $isExpression: 1,
  44796. get$span(receiver) {
  44797. return this.span;
  44798. }
  44799. };
  44800. A.UnaryOperator.prototype = {
  44801. _enumToString$0() {
  44802. return "UnaryOperator." + this._name;
  44803. },
  44804. toString$0(_) {
  44805. return this.name;
  44806. }
  44807. };
  44808. A.ValueExpression.prototype = {
  44809. accept$1$1(visitor) {
  44810. return visitor.visitValueExpression$1(this);
  44811. },
  44812. accept$1(visitor) {
  44813. return this.accept$1$1(visitor, type$.dynamic);
  44814. },
  44815. toString$0(_) {
  44816. return A.serializeValue(this.value, true, true);
  44817. },
  44818. $isAstNode: 1,
  44819. $isExpression: 1,
  44820. get$span(receiver) {
  44821. return this.span;
  44822. }
  44823. };
  44824. A.VariableExpression.prototype = {
  44825. accept$1$1(visitor) {
  44826. return visitor.visitVariableExpression$1(this);
  44827. },
  44828. accept$1(visitor) {
  44829. return this.accept$1$1(visitor, type$.dynamic);
  44830. },
  44831. toString$0(_) {
  44832. var t1 = this.span;
  44833. return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.file._decodedChars, t1._file$_start, t1._end), 0, null);
  44834. },
  44835. $isAstNode: 1,
  44836. $isExpression: 1,
  44837. get$span(receiver) {
  44838. return this.span;
  44839. }
  44840. };
  44841. A.DynamicImport.prototype = {
  44842. toString$0(_) {
  44843. return A.StringExpression_quoteText(this.urlString);
  44844. },
  44845. $isAstNode: 1,
  44846. $isImport: 1,
  44847. get$span(receiver) {
  44848. return this.span;
  44849. }
  44850. };
  44851. A.StaticImport.prototype = {
  44852. toString$0(_) {
  44853. var t1 = this.url.toString$0(0),
  44854. t2 = this.modifiers;
  44855. return t1 + (t2 == null ? "" : " " + t2.toString$0(0));
  44856. },
  44857. $isAstNode: 1,
  44858. $isImport: 1,
  44859. get$span(receiver) {
  44860. return this.span;
  44861. }
  44862. };
  44863. A.Interpolation.prototype = {
  44864. get$asPlain() {
  44865. var _0_1, t1, _0_6_isSet, _0_6, first, _null = null,
  44866. _0_0 = this.contents;
  44867. $label0$0: {
  44868. _0_1 = _0_0.length;
  44869. if (_0_1 <= 0) {
  44870. t1 = "";
  44871. break $label0$0;
  44872. }
  44873. _0_6_isSet = _0_1 === 1;
  44874. if (_0_6_isSet) {
  44875. _0_6 = _0_0[0];
  44876. t1 = _0_6;
  44877. t1 = typeof t1 == "string";
  44878. } else {
  44879. _0_6 = _null;
  44880. t1 = false;
  44881. }
  44882. if (t1) {
  44883. first = A._asString(_0_6_isSet ? _0_6 : _0_0[0]);
  44884. t1 = first;
  44885. break $label0$0;
  44886. }
  44887. t1 = _null;
  44888. break $label0$0;
  44889. }
  44890. return t1;
  44891. },
  44892. get$initialPlain() {
  44893. var _0_4_isSet, _0_4, t1, first,
  44894. _0_0 = this.contents;
  44895. $label0$0: {
  44896. _0_4_isSet = _0_0.length >= 1;
  44897. if (_0_4_isSet) {
  44898. _0_4 = _0_0[0];
  44899. t1 = _0_4;
  44900. t1 = typeof t1 == "string";
  44901. } else {
  44902. _0_4 = null;
  44903. t1 = false;
  44904. }
  44905. if (t1) {
  44906. first = A._asString(_0_4_isSet ? _0_4 : _0_0[0]);
  44907. t1 = first;
  44908. break $label0$0;
  44909. }
  44910. t1 = "";
  44911. break $label0$0;
  44912. }
  44913. return t1;
  44914. },
  44915. Interpolation$2(contents, span) {
  44916. var t1, t2, t3, i, t4, t5,
  44917. _s8_ = "contents";
  44918. for (t1 = this.contents, t2 = t1.length, t3 = type$.Expression, i = 0; i < t2; ++i) {
  44919. t4 = t1[i];
  44920. t5 = typeof t4 == "string";
  44921. if (!t5 && !t3._is(t4))
  44922. throw A.wrapException(A.ArgumentError$value(t1, _s8_, string$.May_on));
  44923. if (i !== 0 && typeof t1[i - 1] == "string" && t5)
  44924. throw A.wrapException(A.ArgumentError$value(t1, _s8_, "May not contain adjacent Strings."));
  44925. }
  44926. },
  44927. toString$0(_) {
  44928. var t1 = this.contents;
  44929. return new A.MappedListIterable(t1, new A.Interpolation_toString_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
  44930. },
  44931. $isAstNode: 1,
  44932. get$span(receiver) {
  44933. return this.span;
  44934. }
  44935. };
  44936. A.Interpolation_toString_closure.prototype = {
  44937. call$1(value) {
  44938. return typeof value == "string" ? value : "#{" + A.S(value) + "}";
  44939. },
  44940. $signature: 117
  44941. };
  44942. A.AtRootRule.prototype = {
  44943. accept$1$1(visitor) {
  44944. return visitor.visitAtRootRule$1(this);
  44945. },
  44946. accept$1(visitor) {
  44947. return this.accept$1$1(visitor, type$.dynamic);
  44948. },
  44949. toString$0(_) {
  44950. var buffer = new A.StringBuffer("@at-root "),
  44951. t1 = this.query;
  44952. if (t1 != null)
  44953. buffer._contents = "@at-root " + (t1.toString$0(0) + " ");
  44954. t1 = this.children;
  44955. return buffer.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  44956. },
  44957. get$span(receiver) {
  44958. return this.span;
  44959. }
  44960. };
  44961. A.AtRule.prototype = {
  44962. accept$1$1(visitor) {
  44963. return visitor.visitAtRule$1(this);
  44964. },
  44965. accept$1(visitor) {
  44966. return this.accept$1$1(visitor, type$.dynamic);
  44967. },
  44968. toString$0(_) {
  44969. var children,
  44970. t1 = "@" + this.name.toString$0(0),
  44971. buffer = new A.StringBuffer(t1),
  44972. t2 = this.value;
  44973. if (t2 != null)
  44974. buffer._contents = t1 + (" " + t2.toString$0(0));
  44975. children = this.children;
  44976. return children == null ? buffer.toString$0(0) + ";" : buffer.toString$0(0) + " {" + B.JSArray_methods.join$1(children, " ") + "}";
  44977. },
  44978. get$span(receiver) {
  44979. return this.span;
  44980. }
  44981. };
  44982. A.CallableDeclaration.prototype = {
  44983. get$span(receiver) {
  44984. return this.span;
  44985. }
  44986. };
  44987. A.ContentBlock.prototype = {
  44988. accept$1$1(visitor) {
  44989. return visitor.visitContentBlock$1(this);
  44990. },
  44991. accept$1(visitor) {
  44992. return this.accept$1$1(visitor, type$.dynamic);
  44993. },
  44994. toString$0(_) {
  44995. var t2,
  44996. t1 = this.$arguments;
  44997. t1 = t1.$arguments.length === 0 && t1.restArgument == null ? "" : " using (" + t1.toString$0(0) + ")";
  44998. t2 = this.children;
  44999. return t1 + (" {" + (t2 && B.JSArray_methods).join$1(t2, " ") + "}");
  45000. }
  45001. };
  45002. A.ContentRule.prototype = {
  45003. accept$1$1(visitor) {
  45004. return visitor.visitContentRule$1(this);
  45005. },
  45006. accept$1(visitor) {
  45007. return this.accept$1$1(visitor, type$.dynamic);
  45008. },
  45009. toString$0(_) {
  45010. var t1 = this.$arguments;
  45011. return t1.get$isEmpty(0) ? "@content;" : "@content(" + t1.toString$0(0) + ");";
  45012. },
  45013. $isAstNode: 1,
  45014. $isStatement: 1,
  45015. get$span(receiver) {
  45016. return this.span;
  45017. }
  45018. };
  45019. A.DebugRule.prototype = {
  45020. accept$1$1(visitor) {
  45021. return visitor.visitDebugRule$1(this);
  45022. },
  45023. accept$1(visitor) {
  45024. return this.accept$1$1(visitor, type$.dynamic);
  45025. },
  45026. toString$0(_) {
  45027. return "@debug " + this.expression.toString$0(0) + ";";
  45028. },
  45029. $isAstNode: 1,
  45030. $isStatement: 1,
  45031. get$span(receiver) {
  45032. return this.span;
  45033. }
  45034. };
  45035. A.Declaration.prototype = {
  45036. accept$1$1(visitor) {
  45037. return visitor.visitDeclaration$1(this);
  45038. },
  45039. accept$1(visitor) {
  45040. return this.accept$1$1(visitor, type$.dynamic);
  45041. },
  45042. toString$0(_) {
  45043. var t3, _0_0,
  45044. buffer = new A.StringBuffer(""),
  45045. t1 = this.name,
  45046. t2 = "" + t1.toString$0(0);
  45047. buffer._contents = t2;
  45048. t2 = buffer._contents = t2 + A.Primitives_stringFromCharCode(58);
  45049. t3 = this.value;
  45050. if (t3 != null) {
  45051. t1 = !B.JSString_methods.startsWith$1(t1.get$initialPlain(), "--") ? buffer._contents = t2 + A.Primitives_stringFromCharCode(32) : t2;
  45052. buffer._contents = t1 + t3.toString$0(0);
  45053. }
  45054. _0_0 = this.children;
  45055. if (_0_0 != null)
  45056. return buffer.toString$0(0) + " {" + B.JSArray_methods.join$1(_0_0, " ") + "}";
  45057. else
  45058. return buffer.toString$0(0) + ";";
  45059. },
  45060. get$span(receiver) {
  45061. return this.span;
  45062. }
  45063. };
  45064. A.EachRule.prototype = {
  45065. accept$1$1(visitor) {
  45066. return visitor.visitEachRule$1(this);
  45067. },
  45068. accept$1(visitor) {
  45069. return this.accept$1$1(visitor, type$.dynamic);
  45070. },
  45071. toString$0(_) {
  45072. var t1 = this.variables,
  45073. t2 = this.children;
  45074. 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) + " {" + (t2 && B.JSArray_methods).join$1(t2, " ") + "}";
  45075. },
  45076. get$span(receiver) {
  45077. return this.span;
  45078. }
  45079. };
  45080. A.EachRule_toString_closure.prototype = {
  45081. call$1(variable) {
  45082. return "$" + variable;
  45083. },
  45084. $signature: 5
  45085. };
  45086. A.ErrorRule.prototype = {
  45087. accept$1$1(visitor) {
  45088. return visitor.visitErrorRule$1(this);
  45089. },
  45090. accept$1(visitor) {
  45091. return this.accept$1$1(visitor, type$.dynamic);
  45092. },
  45093. toString$0(_) {
  45094. return "@error " + this.expression.toString$0(0) + ";";
  45095. },
  45096. $isAstNode: 1,
  45097. $isStatement: 1,
  45098. get$span(receiver) {
  45099. return this.span;
  45100. }
  45101. };
  45102. A.ExtendRule.prototype = {
  45103. accept$1$1(visitor) {
  45104. return visitor.visitExtendRule$1(this);
  45105. },
  45106. accept$1(visitor) {
  45107. return this.accept$1$1(visitor, type$.dynamic);
  45108. },
  45109. toString$0(_) {
  45110. var t1 = this.selector.toString$0(0),
  45111. t2 = this.isOptional ? " !optional" : "";
  45112. return "@extend " + t1 + t2 + ";";
  45113. },
  45114. $isAstNode: 1,
  45115. $isStatement: 1,
  45116. get$span(receiver) {
  45117. return this.span;
  45118. }
  45119. };
  45120. A.ForRule.prototype = {
  45121. accept$1$1(visitor) {
  45122. return visitor.visitForRule$1(this);
  45123. },
  45124. accept$1(visitor) {
  45125. return this.accept$1$1(visitor, type$.dynamic);
  45126. },
  45127. toString$0(_) {
  45128. var _this = this,
  45129. t1 = _this.from.toString$0(0),
  45130. t2 = _this.isExclusive ? "to" : "through",
  45131. t3 = _this.children;
  45132. return "@for $" + _this.variable + " from " + t1 + " " + t2 + " " + _this.to.toString$0(0) + " {" + (t3 && B.JSArray_methods).join$1(t3, " ") + "}";
  45133. },
  45134. get$span(receiver) {
  45135. return this.span;
  45136. }
  45137. };
  45138. A.ForwardRule.prototype = {
  45139. accept$1$1(visitor) {
  45140. return visitor.visitForwardRule$1(this);
  45141. },
  45142. accept$1(visitor) {
  45143. return this.accept$1$1(visitor, type$.dynamic);
  45144. },
  45145. toString$0(_) {
  45146. var t2, prefix, _this = this,
  45147. t1 = "@forward " + A.StringExpression_quoteText(_this.url.toString$0(0)),
  45148. shownMixinsAndFunctions = _this.shownMixinsAndFunctions,
  45149. hiddenMixinsAndFunctions = _this.hiddenMixinsAndFunctions;
  45150. if (shownMixinsAndFunctions != null) {
  45151. t2 = _this.shownVariables;
  45152. t2.toString;
  45153. t2 = t1 + " show " + _this._forward_rule$_memberList$2(shownMixinsAndFunctions, t2);
  45154. t1 = t2;
  45155. } else if (hiddenMixinsAndFunctions != null && hiddenMixinsAndFunctions._base.get$isNotEmpty(0)) {
  45156. t2 = _this.hiddenVariables;
  45157. t2.toString;
  45158. t2 = t1 + " hide " + _this._forward_rule$_memberList$2(hiddenMixinsAndFunctions, t2);
  45159. t1 = t2;
  45160. }
  45161. prefix = _this.prefix;
  45162. if (prefix != null)
  45163. t1 += " as " + prefix + "*";
  45164. t2 = _this.configuration;
  45165. t1 = (t2.length !== 0 ? t1 + (" with (" + B.JSArray_methods.join$1(t2, ", ") + ")") : t1) + ";";
  45166. return t1.charCodeAt(0) == 0 ? t1 : t1;
  45167. },
  45168. _forward_rule$_memberList$2(mixinsAndFunctions, variables) {
  45169. var t2,
  45170. t1 = A.List_List$of(mixinsAndFunctions, true, type$.String);
  45171. for (t2 = variables._base.get$iterator(0); t2.moveNext$0();)
  45172. t1.push("$" + t2.get$current(0));
  45173. return B.JSArray_methods.join$1(t1, ", ");
  45174. },
  45175. $isAstNode: 1,
  45176. $isStatement: 1,
  45177. get$span(receiver) {
  45178. return this.span;
  45179. }
  45180. };
  45181. A.FunctionRule.prototype = {
  45182. accept$1$1(visitor) {
  45183. return visitor.visitFunctionRule$1(this);
  45184. },
  45185. accept$1(visitor) {
  45186. return this.accept$1$1(visitor, type$.dynamic);
  45187. },
  45188. toString$0(_) {
  45189. var t1 = this.children;
  45190. return "@function " + this.name + "(" + this.$arguments.toString$0(0) + ") {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  45191. }
  45192. };
  45193. A.IfRule.prototype = {
  45194. accept$1$1(visitor) {
  45195. return visitor.visitIfRule$1(this);
  45196. },
  45197. accept$1(visitor) {
  45198. return this.accept$1$1(visitor, type$.dynamic);
  45199. },
  45200. toString$0(_) {
  45201. var result = A.ListExtensions_mapIndexed(this.clauses, new A.IfRule_toString_closure(), type$.IfClause, type$.String).join$1(0, " "),
  45202. lastClause = this.lastClause;
  45203. return lastClause != null ? result + (" " + lastClause.toString$0(0)) : result;
  45204. },
  45205. $isAstNode: 1,
  45206. $isStatement: 1,
  45207. get$span(receiver) {
  45208. return this.span;
  45209. }
  45210. };
  45211. A.IfRule_toString_closure.prototype = {
  45212. call$2(index, clause) {
  45213. var t1 = index === 0 ? "if" : "else if";
  45214. return "@" + t1 + " " + clause.expression.toString$0(0) + " {" + B.JSArray_methods.join$1(clause.children, " ") + "}";
  45215. },
  45216. $signature: 507
  45217. };
  45218. A.IfRuleClause.prototype = {};
  45219. A.IfRuleClause$__closure.prototype = {
  45220. call$1(child) {
  45221. var t1;
  45222. $label0$0: {
  45223. if (child instanceof A.VariableDeclaration || child instanceof A.FunctionRule || child instanceof A.MixinRule) {
  45224. t1 = true;
  45225. break $label0$0;
  45226. }
  45227. if (child instanceof A.ImportRule) {
  45228. t1 = B.JSArray_methods.any$1(child.imports, new A.IfRuleClause$___closure());
  45229. break $label0$0;
  45230. }
  45231. t1 = false;
  45232. break $label0$0;
  45233. }
  45234. return t1;
  45235. },
  45236. $signature: 153
  45237. };
  45238. A.IfRuleClause$___closure.prototype = {
  45239. call$1($import) {
  45240. return $import instanceof A.DynamicImport;
  45241. },
  45242. $signature: 154
  45243. };
  45244. A.IfClause.prototype = {
  45245. toString$0(_) {
  45246. return "@if " + this.expression.toString$0(0) + " {" + B.JSArray_methods.join$1(this.children, " ") + "}";
  45247. }
  45248. };
  45249. A.ElseClause.prototype = {
  45250. toString$0(_) {
  45251. return "@else {" + B.JSArray_methods.join$1(this.children, " ") + "}";
  45252. }
  45253. };
  45254. A.ImportRule.prototype = {
  45255. accept$1$1(visitor) {
  45256. return visitor.visitImportRule$1(this);
  45257. },
  45258. accept$1(visitor) {
  45259. return this.accept$1$1(visitor, type$.dynamic);
  45260. },
  45261. toString$0(_) {
  45262. return "@import " + B.JSArray_methods.join$1(this.imports, ", ") + ";";
  45263. },
  45264. $isAstNode: 1,
  45265. $isStatement: 1,
  45266. get$span(receiver) {
  45267. return this.span;
  45268. }
  45269. };
  45270. A.IncludeRule.prototype = {
  45271. get$spanWithoutContent() {
  45272. var t2, t3,
  45273. t1 = this.span;
  45274. if (!(this.content == null)) {
  45275. t2 = t1.file;
  45276. t3 = this.$arguments.span;
  45277. t3 = A.SpanExtensions_trimRight(A.SpanExtensions_trimLeft(t2.span$2(0, A.FileLocation$_(t2, t1._file$_start).offset, t3.get$end(t3).offset)));
  45278. t1 = t3;
  45279. }
  45280. return t1;
  45281. },
  45282. get$nameSpan() {
  45283. var startSpan, scanner, _null = null,
  45284. t1 = this.span,
  45285. t2 = t1._file$_start,
  45286. t3 = t1._end,
  45287. t4 = t1.file._decodedChars;
  45288. if (B.JSString_methods.startsWith$1(A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t4, t2, t3), 0, _null), "+"))
  45289. startSpan = A.SpanExtensions_trimLeft(A.FileSpanExtension_subspan(t1, 1, _null));
  45290. else {
  45291. scanner = A.StringScanner$(A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t4, t2, t3), 0, _null), _null, _null);
  45292. scanner.expectChar$1(64);
  45293. A._scanIdentifier(scanner);
  45294. startSpan = A.SpanExtensions_trimLeft(A.FileSpanExtension_subspan(t1, scanner._string_scanner$_position, _null));
  45295. }
  45296. return A.SpanExtensions_initialIdentifier(this.namespace != null ? A.FileSpanExtension_subspan(A.SpanExtensions_withoutInitialIdentifier(startSpan), 1, _null) : startSpan);
  45297. },
  45298. accept$1$1(visitor) {
  45299. return visitor.visitIncludeRule$1(this);
  45300. },
  45301. accept$1(visitor) {
  45302. return this.accept$1$1(visitor, type$.dynamic);
  45303. },
  45304. toString$0(_) {
  45305. var t2, _this = this,
  45306. t1 = _this.namespace;
  45307. t1 = t1 != null ? "@include " + (t1 + ".") : "@include ";
  45308. t1 += _this.name;
  45309. t2 = _this.$arguments;
  45310. if (!t2.get$isEmpty(0))
  45311. t1 += "(" + t2.toString$0(0) + ")";
  45312. t2 = _this.content;
  45313. t1 += t2 == null ? ";" : " " + t2.toString$0(0);
  45314. return t1.charCodeAt(0) == 0 ? t1 : t1;
  45315. },
  45316. $isAstNode: 1,
  45317. $isStatement: 1,
  45318. get$span(receiver) {
  45319. return this.span;
  45320. }
  45321. };
  45322. A.LoudComment.prototype = {
  45323. get$span(_) {
  45324. return this.text.span;
  45325. },
  45326. accept$1$1(visitor) {
  45327. return visitor.visitLoudComment$1(this);
  45328. },
  45329. accept$1(visitor) {
  45330. return this.accept$1$1(visitor, type$.dynamic);
  45331. },
  45332. toString$0(_) {
  45333. return this.text.toString$0(0);
  45334. },
  45335. $isAstNode: 1,
  45336. $isStatement: 1
  45337. };
  45338. A.MediaRule.prototype = {
  45339. accept$1$1(visitor) {
  45340. return visitor.visitMediaRule$1(this);
  45341. },
  45342. accept$1(visitor) {
  45343. return this.accept$1$1(visitor, type$.dynamic);
  45344. },
  45345. toString$0(_) {
  45346. var t1 = this.children;
  45347. return "@media " + this.query.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  45348. },
  45349. get$span(receiver) {
  45350. return this.span;
  45351. }
  45352. };
  45353. A.MixinRule.prototype = {
  45354. get$hasContent() {
  45355. var result, _this = this,
  45356. value = _this.__MixinRule_hasContent_FI;
  45357. if (value === $) {
  45358. result = J.$eq$(B.C__HasContentVisitor.visitChildren$1(_this.children), true);
  45359. _this.__MixinRule_hasContent_FI !== $ && A.throwUnnamedLateFieldADI();
  45360. _this.__MixinRule_hasContent_FI = result;
  45361. value = result;
  45362. }
  45363. return value;
  45364. },
  45365. accept$1$1(visitor) {
  45366. return visitor.visitMixinRule$1(this);
  45367. },
  45368. accept$1(visitor) {
  45369. return this.accept$1$1(visitor, type$.dynamic);
  45370. },
  45371. toString$0(_) {
  45372. var t1 = "@mixin " + this.name,
  45373. t2 = this.$arguments;
  45374. if (!(t2.$arguments.length === 0 && t2.restArgument == null))
  45375. t1 += "(" + t2.toString$0(0) + ")";
  45376. t2 = this.children;
  45377. t2 = t1 + (" {" + (t2 && B.JSArray_methods).join$1(t2, " ") + "}");
  45378. return t2.charCodeAt(0) == 0 ? t2 : t2;
  45379. }
  45380. };
  45381. A._HasContentVisitor.prototype = {
  45382. visitContentRule$1(_) {
  45383. return true;
  45384. }
  45385. };
  45386. A.__HasContentVisitor_Object_StatementSearchVisitor.prototype = {};
  45387. A.ParentStatement.prototype = {$isAstNode: 1, $isStatement: 1};
  45388. A.ParentStatement_closure.prototype = {
  45389. call$1(child) {
  45390. var t1;
  45391. $label0$0: {
  45392. if (child instanceof A.VariableDeclaration || child instanceof A.FunctionRule || child instanceof A.MixinRule) {
  45393. t1 = true;
  45394. break $label0$0;
  45395. }
  45396. if (child instanceof A.ImportRule) {
  45397. t1 = B.JSArray_methods.any$1(child.imports, new A.ParentStatement__closure());
  45398. break $label0$0;
  45399. }
  45400. t1 = false;
  45401. break $label0$0;
  45402. }
  45403. return t1;
  45404. },
  45405. $signature: 153
  45406. };
  45407. A.ParentStatement__closure.prototype = {
  45408. call$1($import) {
  45409. return $import instanceof A.DynamicImport;
  45410. },
  45411. $signature: 154
  45412. };
  45413. A.ReturnRule.prototype = {
  45414. accept$1$1(visitor) {
  45415. return visitor.visitReturnRule$1(this);
  45416. },
  45417. accept$1(visitor) {
  45418. return this.accept$1$1(visitor, type$.dynamic);
  45419. },
  45420. toString$0(_) {
  45421. return "@return " + this.expression.toString$0(0) + ";";
  45422. },
  45423. $isAstNode: 1,
  45424. $isStatement: 1,
  45425. get$span(receiver) {
  45426. return this.span;
  45427. }
  45428. };
  45429. A.SilentComment.prototype = {
  45430. accept$1$1(visitor) {
  45431. return visitor.visitSilentComment$1(this);
  45432. },
  45433. accept$1(visitor) {
  45434. return this.accept$1$1(visitor, type$.dynamic);
  45435. },
  45436. toString$0(_) {
  45437. return this.text;
  45438. },
  45439. $isAstNode: 1,
  45440. $isStatement: 1,
  45441. get$span(receiver) {
  45442. return this.span;
  45443. }
  45444. };
  45445. A.StyleRule.prototype = {
  45446. accept$1$1(visitor) {
  45447. return visitor.visitStyleRule$1(this);
  45448. },
  45449. accept$1(visitor) {
  45450. return this.accept$1$1(visitor, type$.dynamic);
  45451. },
  45452. toString$0(_) {
  45453. var t1 = this.children;
  45454. return this.selector.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  45455. },
  45456. get$span(receiver) {
  45457. return this.span;
  45458. }
  45459. };
  45460. A.Stylesheet.prototype = {
  45461. Stylesheet$internal$3$plainCss(children, span, plainCss) {
  45462. var t1, t2, t3, t4, _i, child;
  45463. for (t1 = this.children, t2 = t1.length, t3 = this._forwards, t4 = this._uses, _i = 0; _i < t2; ++_i) {
  45464. child = t1[_i];
  45465. if (child instanceof A.UseRule) {
  45466. t4.push(child);
  45467. continue;
  45468. }
  45469. if (child instanceof A.ForwardRule) {
  45470. t3.push(child);
  45471. continue;
  45472. }
  45473. if (child instanceof A.SilentComment || child instanceof A.LoudComment || child instanceof A.VariableDeclaration)
  45474. continue;
  45475. break;
  45476. }
  45477. },
  45478. accept$1$1(visitor) {
  45479. return visitor.visitStylesheet$1(this);
  45480. },
  45481. accept$1(visitor) {
  45482. return this.accept$1$1(visitor, type$.dynamic);
  45483. },
  45484. toString$0(_) {
  45485. var t1 = this.children;
  45486. return (t1 && B.JSArray_methods).join$1(t1, " ");
  45487. },
  45488. get$span(receiver) {
  45489. return this.span;
  45490. }
  45491. };
  45492. A.SupportsRule.prototype = {
  45493. accept$1$1(visitor) {
  45494. return visitor.visitSupportsRule$1(this);
  45495. },
  45496. accept$1(visitor) {
  45497. return this.accept$1$1(visitor, type$.dynamic);
  45498. },
  45499. toString$0(_) {
  45500. var t1 = this.children;
  45501. return "@supports " + this.condition.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  45502. },
  45503. get$span(receiver) {
  45504. return this.span;
  45505. }
  45506. };
  45507. A.UseRule.prototype = {
  45508. UseRule$4$configuration(url, namespace, span, configuration) {
  45509. var t1, t2, _i, variable;
  45510. for (t1 = this.configuration, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  45511. variable = t1[_i];
  45512. if (variable.isGuarded)
  45513. throw A.wrapException(A.ArgumentError$value(variable, "configured variable", "can't be guarded in a @use rule."));
  45514. }
  45515. },
  45516. accept$1$1(visitor) {
  45517. return visitor.visitUseRule$1(this);
  45518. },
  45519. accept$1(visitor) {
  45520. return this.accept$1$1(visitor, type$.dynamic);
  45521. },
  45522. toString$0(_) {
  45523. var t1 = this.url,
  45524. t2 = "@use " + A.StringExpression_quoteText(t1.toString$0(0)),
  45525. basename = t1.get$pathSegments().length === 0 ? "" : B.JSArray_methods.get$last(t1.get$pathSegments()),
  45526. dot = B.JSString_methods.indexOf$1(basename, ".");
  45527. t1 = this.namespace;
  45528. if (t1 !== B.JSString_methods.substring$2(basename, 0, dot === -1 ? basename.length : dot))
  45529. t1 = t2 + (" as " + (t1 == null ? "*" : t1));
  45530. else
  45531. t1 = t2;
  45532. t2 = this.configuration;
  45533. t1 = (t2.length !== 0 ? t1 + (" with (" + B.JSArray_methods.join$1(t2, ", ") + ")") : t1) + ";";
  45534. return t1.charCodeAt(0) == 0 ? t1 : t1;
  45535. },
  45536. $isAstNode: 1,
  45537. $isStatement: 1,
  45538. get$span(receiver) {
  45539. return this.span;
  45540. }
  45541. };
  45542. A.VariableDeclaration.prototype = {
  45543. accept$1$1(visitor) {
  45544. return visitor.visitVariableDeclaration$1(this);
  45545. },
  45546. accept$1(visitor) {
  45547. return this.accept$1$1(visitor, type$.dynamic);
  45548. },
  45549. toString$0(_) {
  45550. var t1 = this.namespace;
  45551. t1 = t1 != null ? "" + (t1 + ".") : "";
  45552. t1 += "$" + this.name + ": " + this.expression.toString$0(0) + ";";
  45553. return t1.charCodeAt(0) == 0 ? t1 : t1;
  45554. },
  45555. $isAstNode: 1,
  45556. $isStatement: 1,
  45557. get$span(receiver) {
  45558. return this.span;
  45559. }
  45560. };
  45561. A.WarnRule.prototype = {
  45562. accept$1$1(visitor) {
  45563. return visitor.visitWarnRule$1(this);
  45564. },
  45565. accept$1(visitor) {
  45566. return this.accept$1$1(visitor, type$.dynamic);
  45567. },
  45568. toString$0(_) {
  45569. return "@warn " + this.expression.toString$0(0) + ";";
  45570. },
  45571. $isAstNode: 1,
  45572. $isStatement: 1,
  45573. get$span(receiver) {
  45574. return this.span;
  45575. }
  45576. };
  45577. A.WhileRule.prototype = {
  45578. accept$1$1(visitor) {
  45579. return visitor.visitWhileRule$1(this);
  45580. },
  45581. accept$1(visitor) {
  45582. return this.accept$1$1(visitor, type$.dynamic);
  45583. },
  45584. toString$0(_) {
  45585. var t1 = this.children;
  45586. return "@while " + this.condition.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  45587. },
  45588. get$span(receiver) {
  45589. return this.span;
  45590. }
  45591. };
  45592. A.SupportsAnything.prototype = {
  45593. toString$0(_) {
  45594. return "(" + this.contents.toString$0(0) + ")";
  45595. },
  45596. $isAstNode: 1,
  45597. get$span(receiver) {
  45598. return this.span;
  45599. }
  45600. };
  45601. A.SupportsDeclaration.prototype = {
  45602. get$isCustomProperty() {
  45603. var t1,
  45604. _0_0 = this.name;
  45605. $label0$0: {
  45606. if (_0_0 instanceof A.StringExpression && !_0_0.hasQuotes) {
  45607. t1 = B.JSString_methods.startsWith$1(_0_0.text.get$initialPlain(), "--");
  45608. break $label0$0;
  45609. }
  45610. t1 = false;
  45611. break $label0$0;
  45612. }
  45613. return t1;
  45614. },
  45615. toString$0(_) {
  45616. return "(" + this.name.toString$0(0) + ": " + this.value.toString$0(0) + ")";
  45617. },
  45618. $isAstNode: 1,
  45619. get$span(receiver) {
  45620. return this.span;
  45621. }
  45622. };
  45623. A.SupportsFunction.prototype = {
  45624. toString$0(_) {
  45625. return this.name.toString$0(0) + "(" + this.$arguments.toString$0(0) + ")";
  45626. },
  45627. $isAstNode: 1,
  45628. get$span(receiver) {
  45629. return this.span;
  45630. }
  45631. };
  45632. A.SupportsInterpolation.prototype = {
  45633. toString$0(_) {
  45634. return "#{" + this.expression.toString$0(0) + "}";
  45635. },
  45636. $isAstNode: 1,
  45637. get$span(receiver) {
  45638. return this.span;
  45639. }
  45640. };
  45641. A.SupportsNegation.prototype = {
  45642. toString$0(_) {
  45643. var t1 = this.condition;
  45644. if (t1 instanceof A.SupportsNegation || t1 instanceof A.SupportsOperation)
  45645. return "not (" + t1.toString$0(0) + ")";
  45646. else
  45647. return "not " + t1.toString$0(0);
  45648. },
  45649. $isAstNode: 1,
  45650. get$span(receiver) {
  45651. return this.span;
  45652. }
  45653. };
  45654. A.SupportsOperation.prototype = {
  45655. toString$0(_) {
  45656. var _this = this;
  45657. return _this._operation$_parenthesize$1(_this.left) + " " + _this.operator + " " + _this._operation$_parenthesize$1(_this.right);
  45658. },
  45659. _operation$_parenthesize$1(condition) {
  45660. var t1;
  45661. if (!(condition instanceof A.SupportsNegation))
  45662. t1 = condition instanceof A.SupportsOperation && condition.operator === this.operator;
  45663. else
  45664. t1 = true;
  45665. return t1 ? "(" + condition.toString$0(0) + ")" : condition.toString$0(0);
  45666. },
  45667. $isAstNode: 1,
  45668. get$span(receiver) {
  45669. return this.span;
  45670. }
  45671. };
  45672. A.Selector.prototype = {
  45673. assertNotBogus$1$name($name) {
  45674. if (!this.accept$1(B._IsBogusVisitor_true))
  45675. return;
  45676. A.warnForDeprecation("$" + $name + ": " + (this.toString$0(0) + string$.x20is_nov), B.Deprecation_ido);
  45677. },
  45678. toString$0(_) {
  45679. var visitor = A._SerializeVisitor$(null, true, null, true, false, null, true);
  45680. this.accept$1(visitor);
  45681. return visitor._serialize$_buffer.toString$0(0);
  45682. },
  45683. $isAstNode: 1,
  45684. get$span(receiver) {
  45685. return this.span;
  45686. }
  45687. };
  45688. A._IsInvisibleVisitor0.prototype = {
  45689. visitSelectorList$1(list) {
  45690. return B.JSArray_methods.every$1(list.components, this.get$visitComplexSelector());
  45691. },
  45692. visitComplexSelector$1(complex) {
  45693. var t1;
  45694. if (!this.super$AnySelectorVisitor$visitComplexSelector(complex))
  45695. t1 = this.includeBogus && complex.accept$1(B._IsBogusVisitor_false);
  45696. else
  45697. t1 = true;
  45698. return t1;
  45699. },
  45700. visitPlaceholderSelector$1(placeholder) {
  45701. return true;
  45702. },
  45703. visitPseudoSelector$1(pseudo) {
  45704. var t1,
  45705. _0_0 = pseudo.selector;
  45706. if (_0_0 != null) {
  45707. if (pseudo.name === "not")
  45708. t1 = this.includeBogus && _0_0.accept$1(B._IsBogusVisitor_true);
  45709. else
  45710. t1 = this.visitSelectorList$1(_0_0);
  45711. return t1;
  45712. } else
  45713. return false;
  45714. }
  45715. };
  45716. A._IsBogusVisitor.prototype = {
  45717. visitComplexSelector$1(complex) {
  45718. var t2,
  45719. t1 = complex.components;
  45720. if (t1.length === 0)
  45721. return complex.leadingCombinators.length !== 0;
  45722. else {
  45723. t2 = this.includeLeadingCombinator ? 0 : 1;
  45724. 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));
  45725. }
  45726. },
  45727. visitPseudoSelector$1(pseudo) {
  45728. var selector = pseudo.selector;
  45729. if (selector == null)
  45730. return false;
  45731. return pseudo.name === "has" ? selector.accept$1(B._IsBogusVisitor_false) : selector.accept$1(B._IsBogusVisitor_true);
  45732. }
  45733. };
  45734. A._IsBogusVisitor_visitComplexSelector_closure.prototype = {
  45735. call$1(component) {
  45736. return component.combinators.length > 1 || this.$this.visitCompoundSelector$1(component.selector);
  45737. },
  45738. $signature: 50
  45739. };
  45740. A._IsUselessVisitor.prototype = {
  45741. visitComplexSelector$1(complex) {
  45742. return complex.leadingCombinators.length > 1 || B.JSArray_methods.any$1(complex.components, new A._IsUselessVisitor_visitComplexSelector_closure(this));
  45743. },
  45744. visitPseudoSelector$1(pseudo) {
  45745. return pseudo.accept$1(B._IsBogusVisitor_true);
  45746. }
  45747. };
  45748. A._IsUselessVisitor_visitComplexSelector_closure.prototype = {
  45749. call$1(component) {
  45750. return component.combinators.length > 1 || this.$this.visitCompoundSelector$1(component.selector);
  45751. },
  45752. $signature: 50
  45753. };
  45754. A.__IsBogusVisitor_Object_AnySelectorVisitor.prototype = {};
  45755. A.__IsInvisibleVisitor_Object_AnySelectorVisitor.prototype = {};
  45756. A.__IsUselessVisitor_Object_AnySelectorVisitor.prototype = {};
  45757. A.AttributeSelector.prototype = {
  45758. accept$1$1(visitor) {
  45759. return visitor.visitAttributeSelector$1(this);
  45760. },
  45761. accept$1(visitor) {
  45762. return this.accept$1$1(visitor, type$.dynamic);
  45763. },
  45764. $eq(_, other) {
  45765. var _this = this;
  45766. if (other == null)
  45767. return false;
  45768. return other instanceof A.AttributeSelector && other.name.$eq(0, _this.name) && other.op == _this.op && other.value == _this.value && other.modifier == _this.modifier;
  45769. },
  45770. get$hashCode(_) {
  45771. var _this = this,
  45772. t1 = _this.name;
  45773. 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;
  45774. }
  45775. };
  45776. A.AttributeOperator.prototype = {
  45777. _enumToString$0() {
  45778. return "AttributeOperator." + this._name;
  45779. },
  45780. toString$0(_) {
  45781. return this._attribute$_text;
  45782. }
  45783. };
  45784. A.ClassSelector.prototype = {
  45785. $eq(_, other) {
  45786. if (other == null)
  45787. return false;
  45788. return other instanceof A.ClassSelector && other.name === this.name;
  45789. },
  45790. accept$1$1(visitor) {
  45791. return visitor.visitClassSelector$1(this);
  45792. },
  45793. accept$1(visitor) {
  45794. return this.accept$1$1(visitor, type$.dynamic);
  45795. },
  45796. addSuffix$1(suffix) {
  45797. return new A.ClassSelector(this.name + suffix, this.span);
  45798. },
  45799. get$hashCode(_) {
  45800. return B.JSString_methods.get$hashCode(this.name);
  45801. }
  45802. };
  45803. A.Combinator.prototype = {
  45804. _enumToString$0() {
  45805. return "Combinator." + this._name;
  45806. },
  45807. toString$0(_) {
  45808. return this._combinator$_text;
  45809. }
  45810. };
  45811. A.ComplexSelector.prototype = {
  45812. get$specificity() {
  45813. var result, _this = this,
  45814. value = _this.__ComplexSelector_specificity_FI;
  45815. if (value === $) {
  45816. result = B.JSArray_methods.fold$2(_this.components, 0, new A.ComplexSelector_specificity_closure());
  45817. _this.__ComplexSelector_specificity_FI !== $ && A.throwUnnamedLateFieldADI();
  45818. _this.__ComplexSelector_specificity_FI = result;
  45819. value = result;
  45820. }
  45821. return value;
  45822. },
  45823. get$singleCompound() {
  45824. var _0_0, _0_4, t1, selector, _null = null;
  45825. if (this.leadingCombinators.length !== 0)
  45826. return _null;
  45827. _0_0 = this.components;
  45828. $label0$0: {
  45829. if (_0_0.length === 1) {
  45830. _0_4 = _0_0[0];
  45831. t1 = _0_4;
  45832. selector = t1.selector;
  45833. t1 = _0_4.combinators.length <= 0;
  45834. } else {
  45835. selector = _null;
  45836. t1 = false;
  45837. }
  45838. if (t1) {
  45839. t1 = selector;
  45840. break $label0$0;
  45841. }
  45842. t1 = _null;
  45843. break $label0$0;
  45844. }
  45845. return t1;
  45846. },
  45847. accept$1$1(visitor) {
  45848. return visitor.visitComplexSelector$1(this);
  45849. },
  45850. accept$1(visitor) {
  45851. return this.accept$1$1(visitor, type$.dynamic);
  45852. },
  45853. isSuperselector$1(other) {
  45854. return this.leadingCombinators.length === 0 && other.leadingCombinators.length === 0 && A.complexIsSuperselector(this.components, other.components);
  45855. },
  45856. withAdditionalCombinators$1(combinators) {
  45857. var _0_0, _0_1, t1, initial, last, _this = this;
  45858. if (combinators.length === 0)
  45859. return _this;
  45860. _0_0 = _this.components;
  45861. $label0$0: {
  45862. _0_1 = _0_0.length;
  45863. if (_0_1 >= 1) {
  45864. t1 = _0_1 - 1;
  45865. initial = B.JSArray_methods.sublist$2(_0_0, 0, t1);
  45866. last = _0_0[t1];
  45867. t1 = A.List_List$of(initial, true, type$.ComplexSelectorComponent);
  45868. t1.push(last.withAdditionalCombinators$1(combinators));
  45869. t1 = A.ComplexSelector$(_this.leadingCombinators, t1, _this.span, _this.lineBreak);
  45870. break $label0$0;
  45871. }
  45872. if (_0_1 <= 0) {
  45873. t1 = A.List_List$of(_this.leadingCombinators, true, type$.CssValue_Combinator);
  45874. B.JSArray_methods.addAll$1(t1, combinators);
  45875. t1 = A.ComplexSelector$(t1, B.List_empty0, _this.span, _this.lineBreak);
  45876. break $label0$0;
  45877. }
  45878. throw A.wrapException(A.ReachabilityError$(string$.None_o));
  45879. }
  45880. return t1;
  45881. },
  45882. concatenate$3$forceLineBreak(child, span, forceLineBreak) {
  45883. var t2, _0_1, initial, last, _this = this,
  45884. t1 = child.leadingCombinators,
  45885. _0_0 = _this.components;
  45886. if (t1.length === 0) {
  45887. t1 = A.List_List$of(_0_0, true, type$.ComplexSelectorComponent);
  45888. B.JSArray_methods.addAll$1(t1, child.components);
  45889. t2 = _this.lineBreak || child.lineBreak || forceLineBreak;
  45890. return A.ComplexSelector$(_this.leadingCombinators, t1, span, t2);
  45891. } else {
  45892. _0_1 = _0_0.length;
  45893. if (_0_1 >= 1) {
  45894. t2 = _0_1 - 1;
  45895. initial = B.JSArray_methods.sublist$2(_0_0, 0, t2);
  45896. last = _0_0[t2];
  45897. t2 = A.List_List$of(initial, true, type$.ComplexSelectorComponent);
  45898. t2.push(last.withAdditionalCombinators$1(t1));
  45899. B.JSArray_methods.addAll$1(t2, child.components);
  45900. t1 = _this.lineBreak || child.lineBreak || forceLineBreak;
  45901. return A.ComplexSelector$(_this.leadingCombinators, t2, span, t1);
  45902. } else {
  45903. t2 = A.List_List$of(_this.leadingCombinators, true, type$.CssValue_Combinator);
  45904. B.JSArray_methods.addAll$1(t2, t1);
  45905. t1 = _this.lineBreak || child.lineBreak || forceLineBreak;
  45906. return A.ComplexSelector$(t2, child.components, span, t1);
  45907. }
  45908. }
  45909. },
  45910. concatenate$2(child, span) {
  45911. return this.concatenate$3$forceLineBreak(child, span, false);
  45912. },
  45913. get$hashCode(_) {
  45914. return B.C_ListEquality0.hash$1(this.leadingCombinators) ^ B.C_ListEquality0.hash$1(this.components);
  45915. },
  45916. $eq(_, other) {
  45917. if (other == null)
  45918. return false;
  45919. 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);
  45920. }
  45921. };
  45922. A.ComplexSelector_specificity_closure.prototype = {
  45923. call$2(sum, component) {
  45924. return sum + component.selector.get$specificity();
  45925. },
  45926. $signature: 372
  45927. };
  45928. A.ComplexSelectorComponent.prototype = {
  45929. withAdditionalCombinators$1(combinators) {
  45930. var t1, t2, _this = this;
  45931. if (combinators.length === 0)
  45932. t1 = _this;
  45933. else {
  45934. t1 = type$.CssValue_Combinator;
  45935. t2 = A.List_List$of(_this.combinators, true, t1);
  45936. B.JSArray_methods.addAll$1(t2, combinators);
  45937. t1 = new A.ComplexSelectorComponent(_this.selector, A.List_List$unmodifiable(t2, t1), _this.span);
  45938. }
  45939. return t1;
  45940. },
  45941. get$hashCode(_) {
  45942. return B.C_ListEquality0.hash$1(this.selector.components) ^ B.C_ListEquality0.hash$1(this.combinators);
  45943. },
  45944. $eq(_, other) {
  45945. var t1;
  45946. if (other == null)
  45947. return false;
  45948. if (other instanceof A.ComplexSelectorComponent) {
  45949. t1 = B.C_ListEquality.equals$2(0, this.selector.components, other.selector.components);
  45950. t1 = t1 && B.C_ListEquality.equals$2(0, this.combinators, other.combinators);
  45951. } else
  45952. t1 = false;
  45953. return t1;
  45954. },
  45955. toString$0(_) {
  45956. var t1 = this.combinators;
  45957. 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, "");
  45958. }
  45959. };
  45960. A.ComplexSelectorComponent_toString_closure.prototype = {
  45961. call$1(combinator) {
  45962. return " " + combinator.toString$0(0);
  45963. },
  45964. $signature: 361
  45965. };
  45966. A.CompoundSelector.prototype = {
  45967. get$specificity() {
  45968. var result, _this = this,
  45969. value = _this.__CompoundSelector_specificity_FI;
  45970. if (value === $) {
  45971. result = B.JSArray_methods.fold$2(_this.components, 0, new A.CompoundSelector_specificity_closure());
  45972. _this.__CompoundSelector_specificity_FI !== $ && A.throwUnnamedLateFieldADI();
  45973. _this.__CompoundSelector_specificity_FI = result;
  45974. value = result;
  45975. }
  45976. return value;
  45977. },
  45978. accept$1$1(visitor) {
  45979. return visitor.visitCompoundSelector$1(this);
  45980. },
  45981. accept$1(visitor) {
  45982. return this.accept$1$1(visitor, type$.dynamic);
  45983. },
  45984. get$hashCode(_) {
  45985. return B.C_ListEquality0.hash$1(this.components);
  45986. },
  45987. $eq(_, other) {
  45988. if (other == null)
  45989. return false;
  45990. return other instanceof A.CompoundSelector && B.C_ListEquality.equals$2(0, this.components, other.components);
  45991. }
  45992. };
  45993. A.CompoundSelector_specificity_closure.prototype = {
  45994. call$2(sum, component) {
  45995. return sum + component.get$specificity();
  45996. },
  45997. $signature: 360
  45998. };
  45999. A.IDSelector.prototype = {
  46000. get$specificity() {
  46001. return A._asInt(Math.pow(A.SimpleSelector.prototype.get$specificity.call(this), 2));
  46002. },
  46003. accept$1$1(visitor) {
  46004. return visitor.visitIDSelector$1(this);
  46005. },
  46006. accept$1(visitor) {
  46007. return this.accept$1$1(visitor, type$.dynamic);
  46008. },
  46009. addSuffix$1(suffix) {
  46010. return new A.IDSelector(this.name + suffix, this.span);
  46011. },
  46012. unify$1(compound) {
  46013. if (B.JSArray_methods.any$1(compound, new A.IDSelector_unify_closure(this)))
  46014. return null;
  46015. return this.super$SimpleSelector$unify(compound);
  46016. },
  46017. $eq(_, other) {
  46018. if (other == null)
  46019. return false;
  46020. return other instanceof A.IDSelector && other.name === this.name;
  46021. },
  46022. get$hashCode(_) {
  46023. return B.JSString_methods.get$hashCode(this.name);
  46024. }
  46025. };
  46026. A.IDSelector_unify_closure.prototype = {
  46027. call$1(simple) {
  46028. var t1;
  46029. if (simple instanceof A.IDSelector)
  46030. t1 = this.$this.name !== simple.name;
  46031. else
  46032. t1 = false;
  46033. return t1;
  46034. },
  46035. $signature: 14
  46036. };
  46037. A.SelectorList.prototype = {
  46038. get$asSassList() {
  46039. var t1 = this.components;
  46040. return A.SassList$(new A.MappedListIterable(t1, new A.SelectorList_asSassList_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value>")), B.ListSeparator_ECn, false);
  46041. },
  46042. accept$1$1(visitor) {
  46043. return visitor.visitSelectorList$1(this);
  46044. },
  46045. accept$1(visitor) {
  46046. return this.accept$1$1(visitor, type$.dynamic);
  46047. },
  46048. unify$1(other) {
  46049. var t3, t4, t5, t6, _i, complex1, _i0, t7,
  46050. t1 = type$.JSArray_ComplexSelector,
  46051. t2 = A._setArrayType([], t1);
  46052. for (t3 = this.components, t4 = t3.length, t5 = other.components, t6 = t5.length, _i = 0; _i < t4; ++_i) {
  46053. complex1 = t3[_i];
  46054. for (_i0 = 0; _i0 < t6; ++_i0) {
  46055. t7 = A.unifyComplex(A._setArrayType([complex1, t5[_i0]], t1), complex1.span);
  46056. if (t7 != null)
  46057. B.JSArray_methods.addAll$1(t2, t7);
  46058. }
  46059. }
  46060. return t2.length === 0 ? null : A.SelectorList$(t2, this.span);
  46061. },
  46062. nestWithin$3$implicitParent$preserveParentSelectors($parent, implicitParent, preserveParentSelectors) {
  46063. var parentSelector, t1, _this = this;
  46064. if ($parent == null) {
  46065. if (preserveParentSelectors)
  46066. return _this;
  46067. parentSelector = B.C__ParentSelectorVisitor.visitSelectorList$1(_this);
  46068. if (parentSelector == null)
  46069. return _this;
  46070. throw A.wrapException(A.SassException$(string$.Top_les, parentSelector.span, null));
  46071. }
  46072. t1 = _this.components;
  46073. 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);
  46074. },
  46075. nestWithin$1($parent) {
  46076. return this.nestWithin$3$implicitParent$preserveParentSelectors($parent, true, false);
  46077. },
  46078. nestWithin$2$implicitParent($parent, implicitParent) {
  46079. return this.nestWithin$3$implicitParent$preserveParentSelectors($parent, implicitParent, false);
  46080. },
  46081. _nestWithinCompound$2(component, $parent) {
  46082. var resolvedSimples, parentSelector, error, stackTrace, t2, resolvedSimples0, exception,
  46083. t1 = component.selector,
  46084. simples = t1.components,
  46085. containsSelectorPseudo = J.any$1$ax(simples, new A.SelectorList__nestWithinCompound_closure());
  46086. if (!containsSelectorPseudo && !(J.get$first$ax(simples) instanceof A.ParentSelector))
  46087. return null;
  46088. if (containsSelectorPseudo) {
  46089. t2 = simples;
  46090. resolvedSimples0 = new A.MappedListIterable(t2, new A.SelectorList__nestWithinCompound_closure0($parent), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,SimpleSelector>"));
  46091. } else
  46092. resolvedSimples0 = simples;
  46093. resolvedSimples = resolvedSimples0;
  46094. parentSelector = J.get$first$ax(simples);
  46095. try {
  46096. if (!(parentSelector instanceof A.ParentSelector)) {
  46097. t2 = component.span;
  46098. t2 = A._setArrayType([A.ComplexSelector$(B.List_empty1, 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);
  46099. return t2;
  46100. } else if (J.get$length$asx(simples) === 1 && parentSelector.suffix == null) {
  46101. t1 = $parent.withAdditionalCombinators$1(component.combinators);
  46102. return t1.components;
  46103. }
  46104. } catch (exception) {
  46105. t1 = A.unwrapException(exception);
  46106. if (t1 instanceof A.SassException) {
  46107. error = t1;
  46108. stackTrace = A.getTraceFromException(exception);
  46109. A.throwWithTrace(error.withAdditionalSpan$2(parentSelector.span, "parent selector"), error, stackTrace);
  46110. } else
  46111. throw exception;
  46112. }
  46113. t1 = $parent.components;
  46114. return new A.MappedListIterable(t1, new A.SelectorList__nestWithinCompound_closure1(parentSelector, resolvedSimples, component), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector>"));
  46115. },
  46116. isSuperselector$1(other) {
  46117. return A.listIsSuperselector(this.components, other.components);
  46118. },
  46119. withAdditionalCombinators$1(combinators) {
  46120. var t1;
  46121. if (combinators.length === 0)
  46122. t1 = this;
  46123. else {
  46124. t1 = this.components;
  46125. t1 = A.SelectorList$(new A.MappedListIterable(t1, new A.SelectorList_withAdditionalCombinators_closure(combinators), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector>")), this.span);
  46126. }
  46127. return t1;
  46128. },
  46129. get$hashCode(_) {
  46130. return B.C_ListEquality0.hash$1(this.components);
  46131. },
  46132. $eq(_, other) {
  46133. if (other == null)
  46134. return false;
  46135. return other instanceof A.SelectorList && B.C_ListEquality.equals$2(0, this.components, other.components);
  46136. }
  46137. };
  46138. A.SelectorList_asSassList_closure.prototype = {
  46139. call$1(complex) {
  46140. var t3, t4, _i, component, t5, visitor, t6, t7, _i0,
  46141. t1 = type$.JSArray_Value,
  46142. t2 = A._setArrayType([], t1);
  46143. for (t3 = complex.leadingCombinators, t4 = t3.length, _i = 0; _i < t4; ++_i)
  46144. t2.push(new A.SassString(J.toString$0$(t3[_i].value), false));
  46145. for (t3 = complex.components, t4 = t3.length, _i = 0; _i < t4; ++_i) {
  46146. component = t3[_i];
  46147. t5 = component.selector;
  46148. visitor = A._SerializeVisitor$(null, true, null, true, false, null, true);
  46149. t5.accept$1(visitor);
  46150. t5 = A._setArrayType([new A.SassString(visitor._serialize$_buffer.toString$0(0), false)], t1);
  46151. for (t6 = component.combinators, t7 = t6.length, _i0 = 0; _i0 < t7; ++_i0)
  46152. t5.push(new A.SassString(J.toString$0$(t6[_i0].value), false));
  46153. B.JSArray_methods.addAll$1(t2, t5);
  46154. }
  46155. return A.SassList$(t2, B.ListSeparator_nbm, false);
  46156. },
  46157. $signature: 340
  46158. };
  46159. A.SelectorList_nestWithin_closure.prototype = {
  46160. call$1(complex) {
  46161. var t1, newComplexes, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, _i, component, resolved, i, t12, t13, t14, _i0, newComplex, t15, _this = this;
  46162. if (_this.preserveParentSelectors || complex.accept$1(B.C__ParentSelectorVisitor) == null) {
  46163. if (!_this.implicitParent)
  46164. return A._setArrayType([complex], type$.JSArray_ComplexSelector);
  46165. t1 = _this.parent.components;
  46166. return new A.MappedListIterable(t1, new A.SelectorList_nestWithin__closure(complex), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector>"));
  46167. }
  46168. t1 = type$.JSArray_ComplexSelector;
  46169. newComplexes = A._setArrayType([], t1);
  46170. 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) {
  46171. component = t2[_i];
  46172. resolved = t4._nestWithinCompound$2(component, t5);
  46173. if (resolved == null)
  46174. if (newComplexes.length === 0)
  46175. newComplexes.push(A.ComplexSelector$(t7, A._setArrayType([component], t11), t9, false));
  46176. else
  46177. for (i = 0; i < newComplexes.length; ++i) {
  46178. t12 = newComplexes[i];
  46179. t13 = t12.leadingCombinators;
  46180. t14 = A.List_List$of(t12.components, true, t10);
  46181. t14.push(component);
  46182. t12 = t12.lineBreak;
  46183. newComplexes[i] = A.ComplexSelector$(t13, t14, t9, t12);
  46184. }
  46185. else if (newComplexes.length === 0)
  46186. B.JSArray_methods.addAll$1(newComplexes, t8 ? resolved : J.map$1$1$ax(resolved, new A.SelectorList_nestWithin__closure0(complex), t6));
  46187. else {
  46188. t12 = A._setArrayType([], t1);
  46189. for (t13 = newComplexes.length, t14 = J.getInterceptor$ax(resolved), _i0 = 0; _i0 < newComplexes.length; newComplexes.length === t13 || (0, A.throwConcurrentModificationError)(newComplexes), ++_i0) {
  46190. newComplex = newComplexes[_i0];
  46191. for (t15 = t14.get$iterator(resolved); t15.moveNext$0();)
  46192. t12.push(newComplex.concatenate$2(t15.get$current(t15), newComplex.span));
  46193. }
  46194. newComplexes = t12;
  46195. }
  46196. }
  46197. return newComplexes;
  46198. },
  46199. $signature: 338
  46200. };
  46201. A.SelectorList_nestWithin__closure.prototype = {
  46202. call$1(parentComplex) {
  46203. var t1 = this.complex;
  46204. return parentComplex.concatenate$2(t1, t1.span);
  46205. },
  46206. $signature: 57
  46207. };
  46208. A.SelectorList_nestWithin__closure0.prototype = {
  46209. call$1(resolvedComplex) {
  46210. var t1 = resolvedComplex.leadingCombinators,
  46211. t2 = this.complex,
  46212. t3 = t2.leadingCombinators;
  46213. if (t1.length === 0)
  46214. t1 = t3;
  46215. else {
  46216. t3 = A.List_List$of(t3, true, type$.CssValue_Combinator);
  46217. B.JSArray_methods.addAll$1(t3, t1);
  46218. t1 = t3;
  46219. }
  46220. return A.ComplexSelector$(t1, resolvedComplex.components, t2.span, resolvedComplex.lineBreak);
  46221. },
  46222. $signature: 57
  46223. };
  46224. A.SelectorList__nestWithinCompound_closure.prototype = {
  46225. call$1(simple) {
  46226. var selector;
  46227. if (!(simple instanceof A.PseudoSelector))
  46228. return false;
  46229. selector = simple.selector;
  46230. return selector != null && selector.accept$1(B.C__ParentSelectorVisitor) != null;
  46231. },
  46232. $signature: 14
  46233. };
  46234. A.SelectorList__nestWithinCompound_closure0.prototype = {
  46235. call$1(simple) {
  46236. var _0_2, selector, t1;
  46237. $label0$0: {
  46238. if (simple instanceof A.PseudoSelector) {
  46239. _0_2 = simple.selector;
  46240. if (_0_2 != null) {
  46241. selector = _0_2 == null ? type$.SelectorList._as(_0_2) : _0_2;
  46242. t1 = selector.accept$1(B.C__ParentSelectorVisitor) != null;
  46243. } else {
  46244. selector = null;
  46245. t1 = false;
  46246. }
  46247. } else {
  46248. selector = null;
  46249. t1 = false;
  46250. }
  46251. if (t1) {
  46252. t1 = simple.withSelector$1(selector.nestWithin$2$implicitParent(this.parent, false));
  46253. break $label0$0;
  46254. }
  46255. t1 = simple;
  46256. break $label0$0;
  46257. }
  46258. return t1;
  46259. },
  46260. $signature: 327
  46261. };
  46262. A.SelectorList__nestWithinCompound_closure1.prototype = {
  46263. call$1(complex) {
  46264. var lastComponent, suffix, lastSimples, t1, t2, last, t3, error, stackTrace, t4, t5, t6, t7, exception, _this = this;
  46265. try {
  46266. t4 = complex.components;
  46267. lastComponent = B.JSArray_methods.get$last(t4);
  46268. if (lastComponent.combinators.length !== 0) {
  46269. 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);
  46270. throw A.wrapException(t1);
  46271. }
  46272. suffix = _this.parentSelector.suffix;
  46273. lastSimples = lastComponent.selector.components;
  46274. t5 = type$.SimpleSelector;
  46275. t6 = _this.resolvedSimples;
  46276. t7 = J.getInterceptor$ax(t6);
  46277. if (suffix == null) {
  46278. t1 = A.List_List$of(lastSimples, true, t5);
  46279. J.addAll$1$ax(t1, t7.skip$1(t6, 1));
  46280. t1 = t1;
  46281. } else {
  46282. t2 = A.List_List$of(A.IterableExtension_get_exceptLast(lastSimples), true, t5);
  46283. J.add$1$ax(t2, J.get$last$ax(lastSimples).addSuffix$1(suffix));
  46284. J.addAll$1$ax(t2, t7.skip$1(t6, 1));
  46285. t1 = t2;
  46286. }
  46287. t2 = _this.component;
  46288. last = A.CompoundSelector$(t1, t2.selector.span);
  46289. t3 = A.List_List$of(A.IterableExtension_get_exceptLast(t4), true, type$.ComplexSelectorComponent);
  46290. t4 = t2.span;
  46291. J.add$1$ax(t3, new A.ComplexSelectorComponent(last, A.List_List$unmodifiable(t2.combinators, type$.CssValue_Combinator), t4));
  46292. t4 = A.ComplexSelector$(complex.leadingCombinators, t3, t4, complex.lineBreak);
  46293. return t4;
  46294. } catch (exception) {
  46295. t1 = A.unwrapException(exception);
  46296. if (t1 instanceof A.SassException) {
  46297. error = t1;
  46298. stackTrace = A.getTraceFromException(exception);
  46299. A.throwWithTrace(error.withAdditionalSpan$2(_this.parentSelector.span, "parent selector"), error, stackTrace);
  46300. } else
  46301. throw exception;
  46302. }
  46303. },
  46304. $signature: 57
  46305. };
  46306. A.SelectorList_withAdditionalCombinators_closure.prototype = {
  46307. call$1(complex) {
  46308. return complex.withAdditionalCombinators$1(this.combinators);
  46309. },
  46310. $signature: 57
  46311. };
  46312. A._ParentSelectorVisitor.prototype = {
  46313. visitParentSelector$1(selector) {
  46314. return selector;
  46315. }
  46316. };
  46317. A.__ParentSelectorVisitor_Object_SelectorSearchVisitor.prototype = {};
  46318. A.ParentSelector.prototype = {
  46319. accept$1$1(visitor) {
  46320. return visitor.visitParentSelector$1(this);
  46321. },
  46322. accept$1(visitor) {
  46323. return this.accept$1$1(visitor, type$.dynamic);
  46324. },
  46325. unify$1(compound) {
  46326. return A.throwExpression(A.UnsupportedError$("& doesn't support unification."));
  46327. }
  46328. };
  46329. A.PlaceholderSelector.prototype = {
  46330. accept$1$1(visitor) {
  46331. return visitor.visitPlaceholderSelector$1(this);
  46332. },
  46333. accept$1(visitor) {
  46334. return this.accept$1$1(visitor, type$.dynamic);
  46335. },
  46336. addSuffix$1(suffix) {
  46337. return new A.PlaceholderSelector(this.name + suffix, this.span);
  46338. },
  46339. $eq(_, other) {
  46340. if (other == null)
  46341. return false;
  46342. return other instanceof A.PlaceholderSelector && other.name === this.name;
  46343. },
  46344. get$hashCode(_) {
  46345. return B.JSString_methods.get$hashCode(this.name);
  46346. }
  46347. };
  46348. A.PseudoSelector.prototype = {
  46349. get$isHostContext() {
  46350. return this.isClass && this.name === "host-context" && this.selector != null;
  46351. },
  46352. get$specificity() {
  46353. var result, _this = this,
  46354. value = _this.__PseudoSelector_specificity_FI;
  46355. if (value === $) {
  46356. result = new A.PseudoSelector_specificity_closure(_this).call$0();
  46357. _this.__PseudoSelector_specificity_FI !== $ && A.throwUnnamedLateFieldADI();
  46358. _this.__PseudoSelector_specificity_FI = result;
  46359. value = result;
  46360. }
  46361. return value;
  46362. },
  46363. withSelector$1(selector) {
  46364. var _this = this;
  46365. return A.PseudoSelector$(_this.name, _this.span, _this.argument, !_this.isClass, selector);
  46366. },
  46367. addSuffix$1(suffix) {
  46368. var _this = this;
  46369. if (_this.argument != null || _this.selector != null)
  46370. _this.super$SimpleSelector$addSuffix(suffix);
  46371. return A.PseudoSelector$(_this.name + suffix, _this.span, null, !_this.isClass, null);
  46372. },
  46373. unify$1(compound) {
  46374. var other, result, t2, addedThis, _i, simple, _this = this,
  46375. t1 = _this.name;
  46376. if (t1 === "host" || t1 === "host-context") {
  46377. if (!B.JSArray_methods.every$1(compound, new A.PseudoSelector_unify_closure()))
  46378. return null;
  46379. } else {
  46380. if (compound.length === 1) {
  46381. other = compound[0];
  46382. if (!(other instanceof A.UniversalSelector))
  46383. if (other instanceof A.PseudoSelector)
  46384. t1 = other.isClass && other.name === "host" || other.get$isHostContext();
  46385. else
  46386. t1 = false;
  46387. else
  46388. t1 = true;
  46389. } else {
  46390. other = null;
  46391. t1 = false;
  46392. }
  46393. if (t1)
  46394. return other.unify$1(A._setArrayType([_this], type$.JSArray_SimpleSelector));
  46395. }
  46396. if (B.JSArray_methods.contains$1(compound, _this))
  46397. return compound;
  46398. result = A._setArrayType([], type$.JSArray_SimpleSelector);
  46399. for (t1 = compound.length, t2 = !_this.isClass, addedThis = false, _i = 0; _i < compound.length; compound.length === t1 || (0, A.throwConcurrentModificationError)(compound), ++_i) {
  46400. simple = compound[_i];
  46401. if (simple instanceof A.PseudoSelector && !simple.isClass) {
  46402. if (t2)
  46403. return null;
  46404. result.push(_this);
  46405. addedThis = true;
  46406. }
  46407. result.push(simple);
  46408. }
  46409. if (!addedThis)
  46410. result.push(_this);
  46411. return result;
  46412. },
  46413. isSuperselector$1(other) {
  46414. var selector, t1, t2, _this = this;
  46415. if (_this.super$SimpleSelector$isSuperselector(other))
  46416. return true;
  46417. selector = _this.selector;
  46418. if (selector == null)
  46419. return _this.$eq(0, other);
  46420. if (other instanceof A.PseudoSelector && !_this.isClass && !other.isClass && _this.normalizedName === "slotted" && other.name === _this.name) {
  46421. t1 = A.NullableExtension_andThen(other.selector, selector.get$isSuperselector());
  46422. return t1 == null ? false : t1;
  46423. }
  46424. t1 = type$.JSArray_SimpleSelector;
  46425. t2 = _this.span;
  46426. return A.compoundIsSuperselector(A.CompoundSelector$(A._setArrayType([_this], t1), t2), A.CompoundSelector$(A._setArrayType([other], t1), t2), null);
  46427. },
  46428. accept$1$1(visitor) {
  46429. return visitor.visitPseudoSelector$1(this);
  46430. },
  46431. accept$1(visitor) {
  46432. return this.accept$1$1(visitor, type$.dynamic);
  46433. },
  46434. $eq(_, other) {
  46435. var _this = this;
  46436. if (other == null)
  46437. return false;
  46438. return other instanceof A.PseudoSelector && other.name === _this.name && other.isClass === _this.isClass && other.argument == _this.argument && J.$eq$(other.selector, _this.selector);
  46439. },
  46440. get$hashCode(_) {
  46441. var _this = this,
  46442. t1 = B.JSString_methods.get$hashCode(_this.name),
  46443. t2 = !_this.isClass ? 519018 : 218159;
  46444. return t1 ^ t2 ^ J.get$hashCode$(_this.argument) ^ J.get$hashCode$(_this.selector);
  46445. }
  46446. };
  46447. A.PseudoSelector_specificity_closure.prototype = {
  46448. call$0() {
  46449. var selector, t2,
  46450. t1 = this.$this;
  46451. if (!t1.isClass)
  46452. return 1;
  46453. selector = t1.selector;
  46454. if (selector == null)
  46455. return A.SimpleSelector.prototype.get$specificity.call(t1);
  46456. switch (t1.normalizedName) {
  46457. case "where":
  46458. return 0;
  46459. case "is":
  46460. case "not":
  46461. case "has":
  46462. case "matches":
  46463. t1 = selector.components;
  46464. return A.IterableIntegerExtension_get_max(new A.MappedListIterable(t1, new A.PseudoSelector_specificity__closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,int>")));
  46465. case "nth-child":
  46466. case "nth-last-child":
  46467. t1 = A.SimpleSelector.prototype.get$specificity.call(t1);
  46468. t2 = selector.components;
  46469. return t1 + A.IterableIntegerExtension_get_max(new A.MappedListIterable(t2, new A.PseudoSelector_specificity__closure0(), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,int>")));
  46470. default:
  46471. return A.SimpleSelector.prototype.get$specificity.call(t1);
  46472. }
  46473. },
  46474. $signature: 10
  46475. };
  46476. A.PseudoSelector_specificity__closure.prototype = {
  46477. call$1(component) {
  46478. return component.get$specificity();
  46479. },
  46480. $signature: 176
  46481. };
  46482. A.PseudoSelector_specificity__closure0.prototype = {
  46483. call$1(component) {
  46484. return component.get$specificity();
  46485. },
  46486. $signature: 176
  46487. };
  46488. A.PseudoSelector_unify_closure.prototype = {
  46489. call$1(simple) {
  46490. var t1;
  46491. if (simple instanceof A.PseudoSelector)
  46492. t1 = simple.isClass && simple.name === "host" || simple.selector != null;
  46493. else
  46494. t1 = false;
  46495. return t1;
  46496. },
  46497. $signature: 14
  46498. };
  46499. A.QualifiedName.prototype = {
  46500. $eq(_, other) {
  46501. if (other == null)
  46502. return false;
  46503. return other instanceof A.QualifiedName && other.name === this.name && other.namespace == this.namespace;
  46504. },
  46505. get$hashCode(_) {
  46506. return B.JSString_methods.get$hashCode(this.name) ^ J.get$hashCode$(this.namespace);
  46507. },
  46508. toString$0(_) {
  46509. var t1 = this.namespace,
  46510. t2 = this.name;
  46511. return t1 == null ? t2 : t1 + "|" + t2;
  46512. }
  46513. };
  46514. A.SimpleSelector.prototype = {
  46515. get$specificity() {
  46516. return 1000;
  46517. },
  46518. addSuffix$1(suffix) {
  46519. 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));
  46520. },
  46521. unify$1(compound) {
  46522. var other, t1, result, addedThis, _i, simple, _this = this;
  46523. if (compound.length === 1) {
  46524. other = compound[0];
  46525. if (!(other instanceof A.UniversalSelector))
  46526. if (other instanceof A.PseudoSelector)
  46527. t1 = other.isClass && other.name === "host" || other.get$isHostContext();
  46528. else
  46529. t1 = false;
  46530. else
  46531. t1 = true;
  46532. } else {
  46533. other = null;
  46534. t1 = false;
  46535. }
  46536. if (t1)
  46537. return other.unify$1(A._setArrayType([_this], type$.JSArray_SimpleSelector));
  46538. if (B.JSArray_methods.contains$1(compound, _this))
  46539. return compound;
  46540. result = A._setArrayType([], type$.JSArray_SimpleSelector);
  46541. for (t1 = compound.length, addedThis = false, _i = 0; _i < compound.length; compound.length === t1 || (0, A.throwConcurrentModificationError)(compound), ++_i) {
  46542. simple = compound[_i];
  46543. if (!addedThis && simple instanceof A.PseudoSelector) {
  46544. result.push(_this);
  46545. addedThis = true;
  46546. }
  46547. result.push(simple);
  46548. }
  46549. if (!addedThis)
  46550. result.push(_this);
  46551. return result;
  46552. },
  46553. isSuperselector$1(other) {
  46554. var list;
  46555. if (this.$eq(0, other))
  46556. return true;
  46557. if (other instanceof A.PseudoSelector && other.isClass) {
  46558. list = other.selector;
  46559. if (list != null && $._subselectorPseudos.contains$1(0, other.normalizedName))
  46560. return B.JSArray_methods.every$1(list.components, new A.SimpleSelector_isSuperselector_closure(this));
  46561. }
  46562. return false;
  46563. }
  46564. };
  46565. A.SimpleSelector_isSuperselector_closure.prototype = {
  46566. call$1(complex) {
  46567. var t1 = complex.components;
  46568. return t1.length !== 0 && B.JSArray_methods.any$1(B.JSArray_methods.get$last(t1).selector.components, new A.SimpleSelector_isSuperselector__closure(this.$this));
  46569. },
  46570. $signature: 16
  46571. };
  46572. A.SimpleSelector_isSuperselector__closure.prototype = {
  46573. call$1(simple) {
  46574. return this.$this.isSuperselector$1(simple);
  46575. },
  46576. $signature: 14
  46577. };
  46578. A.TypeSelector.prototype = {
  46579. get$specificity() {
  46580. return 1;
  46581. },
  46582. accept$1$1(visitor) {
  46583. return visitor.visitTypeSelector$1(this);
  46584. },
  46585. accept$1(visitor) {
  46586. return this.accept$1$1(visitor, type$.dynamic);
  46587. },
  46588. addSuffix$1(suffix) {
  46589. var t1 = this.name;
  46590. return new A.TypeSelector(new A.QualifiedName(t1.name + suffix, t1.namespace), this.span);
  46591. },
  46592. unify$1(compound) {
  46593. var unified, t1,
  46594. _0_0 = B.JSArray_methods.get$first(compound);
  46595. if (_0_0 instanceof A.UniversalSelector || _0_0 instanceof A.TypeSelector) {
  46596. unified = A.unifyUniversalAndElement(this, B.JSArray_methods.get$first(compound));
  46597. if (unified == null)
  46598. return null;
  46599. t1 = A._setArrayType([unified], type$.JSArray_SimpleSelector);
  46600. B.JSArray_methods.addAll$1(t1, A.SubListIterable$(compound, 1, null, A._arrayInstanceType(compound)._precomputed1));
  46601. return t1;
  46602. } else {
  46603. t1 = A._setArrayType([this], type$.JSArray_SimpleSelector);
  46604. B.JSArray_methods.addAll$1(t1, compound);
  46605. return t1;
  46606. }
  46607. },
  46608. isSuperselector$1(other) {
  46609. var t1, t2;
  46610. if (!this.super$SimpleSelector$isSuperselector(other))
  46611. if (other instanceof A.TypeSelector) {
  46612. t1 = this.name;
  46613. t2 = other.name;
  46614. if (t1.name === t2.name) {
  46615. t1 = t1.namespace;
  46616. t1 = t1 === "*" || t1 == t2.namespace;
  46617. } else
  46618. t1 = false;
  46619. } else
  46620. t1 = false;
  46621. else
  46622. t1 = true;
  46623. return t1;
  46624. },
  46625. $eq(_, other) {
  46626. if (other == null)
  46627. return false;
  46628. return other instanceof A.TypeSelector && other.name.$eq(0, this.name);
  46629. },
  46630. get$hashCode(_) {
  46631. var t1 = this.name;
  46632. return B.JSString_methods.get$hashCode(t1.name) ^ J.get$hashCode$(t1.namespace);
  46633. }
  46634. };
  46635. A.UniversalSelector.prototype = {
  46636. get$specificity() {
  46637. return 0;
  46638. },
  46639. accept$1$1(visitor) {
  46640. return visitor.visitUniversalSelector$1(this);
  46641. },
  46642. accept$1(visitor) {
  46643. return this.accept$1$1(visitor, type$.dynamic);
  46644. },
  46645. unify$1(compound) {
  46646. var _0_4, t1, rest, unified, _this = this, _null = null,
  46647. _0_1 = compound.length,
  46648. _0_4_isSet = _0_1 >= 1;
  46649. if (_0_4_isSet) {
  46650. _0_4 = compound[0];
  46651. t1 = _0_4;
  46652. if (!(t1 instanceof A.UniversalSelector))
  46653. t1 = _0_4 instanceof A.TypeSelector;
  46654. else
  46655. t1 = true;
  46656. rest = t1 ? B.JSArray_methods.sublist$1(compound, 1) : _null;
  46657. } else {
  46658. rest = _null;
  46659. _0_4 = rest;
  46660. t1 = false;
  46661. }
  46662. if (t1) {
  46663. unified = A.unifyUniversalAndElement(_this, B.JSArray_methods.get$first(compound));
  46664. if (unified == null)
  46665. return _null;
  46666. t1 = A._setArrayType([unified], type$.JSArray_SimpleSelector);
  46667. B.JSArray_methods.addAll$1(t1, rest);
  46668. return t1;
  46669. }
  46670. if (_0_1 === 1) {
  46671. if (_0_4_isSet)
  46672. t1 = _0_4;
  46673. else {
  46674. _0_4 = compound[0];
  46675. t1 = _0_4;
  46676. _0_4_isSet = true;
  46677. }
  46678. if (t1 instanceof A.PseudoSelector) {
  46679. t1 = _0_4_isSet ? _0_4 : compound[0];
  46680. type$.PseudoSelector._as(t1);
  46681. t1 = t1.isClass && t1.name === "host" || t1.get$isHostContext();
  46682. } else
  46683. t1 = false;
  46684. } else
  46685. t1 = false;
  46686. if (t1)
  46687. return _null;
  46688. if (_0_1 <= 0)
  46689. return A._setArrayType([_this], type$.JSArray_SimpleSelector);
  46690. t1 = _this.namespace;
  46691. if (t1 == null || t1 === "*")
  46692. t1 = compound;
  46693. else {
  46694. t1 = A._setArrayType([_this], type$.JSArray_SimpleSelector);
  46695. B.JSArray_methods.addAll$1(t1, compound);
  46696. }
  46697. return t1;
  46698. },
  46699. isSuperselector$1(other) {
  46700. var t1 = this.namespace;
  46701. if (t1 === "*")
  46702. return true;
  46703. if (other instanceof A.TypeSelector)
  46704. return t1 == other.name.namespace;
  46705. if (other instanceof A.UniversalSelector)
  46706. return t1 == other.namespace;
  46707. return t1 == null || this.super$SimpleSelector$isSuperselector(other);
  46708. },
  46709. $eq(_, other) {
  46710. if (other == null)
  46711. return false;
  46712. return other instanceof A.UniversalSelector && other.namespace == this.namespace;
  46713. },
  46714. get$hashCode(_) {
  46715. return J.get$hashCode$(this.namespace);
  46716. }
  46717. };
  46718. A._compileStylesheet_closure0.prototype = {
  46719. call$1(url) {
  46720. var t1;
  46721. if (url === "") {
  46722. t1 = this.stylesheet.span;
  46723. 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();
  46724. } else
  46725. t1 = this.importCache.sourceMapUrl$1(0, A.Uri_parse(url)).toString$0(0);
  46726. return t1;
  46727. },
  46728. $signature: 5
  46729. };
  46730. A.AsyncEnvironment.prototype = {
  46731. closure$0() {
  46732. var t4, t5, t6, _this = this,
  46733. t1 = _this._async_environment$_forwardedModules,
  46734. t2 = _this._async_environment$_nestedForwardedModules,
  46735. t3 = _this._async_environment$_variables;
  46736. t3 = A._setArrayType(t3.slice(0), A._arrayInstanceType(t3));
  46737. t4 = _this._async_environment$_variableNodes;
  46738. t4 = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
  46739. t5 = _this._async_environment$_functions;
  46740. t5 = A._setArrayType(t5.slice(0), A._arrayInstanceType(t5));
  46741. t6 = _this._async_environment$_mixins;
  46742. t6 = A._setArrayType(t6.slice(0), A._arrayInstanceType(t6));
  46743. 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);
  46744. },
  46745. forwardModule$2(module, rule) {
  46746. var view, t1, t2, _this = this,
  46747. forwardedModules = _this._async_environment$_forwardedModules;
  46748. if (forwardedModules == null)
  46749. forwardedModules = _this._async_environment$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable, type$.AstNode);
  46750. view = A.ForwardedModuleView_ifNecessary(module, rule, type$.AsyncCallable);
  46751. for (t1 = A.LinkedHashMapKeyIterator$(forwardedModules, forwardedModules.__js_helper$_modifications); t1.moveNext$0();) {
  46752. t2 = t1.__js_helper$_current;
  46753. _this._async_environment$_assertNoConflicts$5(view.get$variables(), t2.get$variables(), view, t2, "variable");
  46754. _this._async_environment$_assertNoConflicts$5(view.get$functions(view), t2.get$functions(t2), view, t2, "function");
  46755. _this._async_environment$_assertNoConflicts$5(view.get$mixins(), t2.get$mixins(), view, t2, "mixin");
  46756. }
  46757. _this._async_environment$_allModules.push(module);
  46758. forwardedModules.$indexSet(0, view, rule);
  46759. },
  46760. _async_environment$_assertNoConflicts$5(newMembers, oldMembers, newModule, oldModule, type) {
  46761. var larger, smaller, t1, t2, t3, t4, $name, small, large, span;
  46762. if (newMembers.get$length(newMembers) < oldMembers.get$length(oldMembers)) {
  46763. larger = oldMembers;
  46764. smaller = newMembers;
  46765. } else {
  46766. larger = newMembers;
  46767. smaller = oldMembers;
  46768. }
  46769. for (t1 = type$.String, t2 = A.MapExtensions_get_pairs(smaller, t1, type$.Object), t2 = t2.get$iterator(t2), t3 = type === "variable"; t2.moveNext$0();) {
  46770. t4 = t2.get$current(t2);
  46771. $name = t4._0;
  46772. small = t4._1;
  46773. large = larger.$index(0, $name);
  46774. if (large == null)
  46775. continue;
  46776. if (t3 ? newModule.variableIdentity$1($name) === oldModule.variableIdentity$1($name) : J.$eq$(large, small))
  46777. continue;
  46778. if (t3)
  46779. $name = "$" + $name;
  46780. t2 = this._async_environment$_forwardedModules;
  46781. if (t2 == null)
  46782. span = null;
  46783. else {
  46784. t2 = t2.$index(0, oldModule);
  46785. span = t2 == null ? null : J.get$span$z(t2);
  46786. }
  46787. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, t1);
  46788. if (span != null)
  46789. t2.$indexSet(0, span, "original @forward");
  46790. throw A.wrapException(A.MultiSpanSassScriptException$("Two forwarded modules both define a " + type + " named " + $name + ".", "new @forward", t2));
  46791. }
  46792. },
  46793. importForwards$1(module) {
  46794. var forwardedModules, t1, t2, t3, t4, node, t5, t6, t7, t8, t9, t10, _i, t11, shadowed, _length, _list, _this = this,
  46795. forwarded = module._async_environment$_environment._async_environment$_forwardedModules;
  46796. if (forwarded == null)
  46797. return;
  46798. forwardedModules = _this._async_environment$_forwardedModules;
  46799. if (forwardedModules != null) {
  46800. t1 = type$.Module_AsyncCallable;
  46801. t2 = type$.AstNode;
  46802. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  46803. for (t1 = A.MapExtensions_get_pairs(forwarded, t1, t2), t1 = t1.get$iterator(t1), t2 = _this._async_environment$_globalModules; t1.moveNext$0();) {
  46804. t4 = t1.get$current(t1);
  46805. module = t4._0;
  46806. node = t4._1;
  46807. if (!forwardedModules.containsKey$1(module) || !t2.containsKey$1(module))
  46808. t3.$indexSet(0, module, node);
  46809. }
  46810. forwarded = t3;
  46811. } else
  46812. forwardedModules = _this._async_environment$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable, type$.AstNode);
  46813. t1 = type$.String;
  46814. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  46815. for (t3 = A.LinkedHashMapKeyIterator$(forwarded, forwarded.__js_helper$_modifications); t3.moveNext$0();)
  46816. for (t4 = t3.__js_helper$_current.get$variables(), t4 = J.get$iterator$ax(t4.get$keys(t4)); t4.moveNext$0();)
  46817. t2.add$1(0, t4.get$current(t4));
  46818. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  46819. for (t4 = A.LinkedHashMapKeyIterator$(forwarded, forwarded.__js_helper$_modifications); t4.moveNext$0();) {
  46820. t5 = t4.__js_helper$_current;
  46821. for (t5 = t5.get$functions(t5), t5 = J.get$iterator$ax(t5.get$keys(t5)); t5.moveNext$0();)
  46822. t3.add$1(0, t5.get$current(t5));
  46823. }
  46824. t1 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  46825. for (t4 = A.LinkedHashMapKeyIterator$(forwarded, forwarded.__js_helper$_modifications); t4.moveNext$0();)
  46826. for (t5 = t4.__js_helper$_current.get$mixins(), t5 = J.get$iterator$ax(t5.get$keys(t5)); t5.moveNext$0();)
  46827. t1.add$1(0, t5.get$current(t5));
  46828. t4 = _this._async_environment$_variables;
  46829. t5 = t4.length;
  46830. if (t5 === 1) {
  46831. 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) {
  46832. t11 = t8[_i];
  46833. module = t11._0;
  46834. node = t11._1;
  46835. shadowed = A.ShadowedModuleView_ifNecessary(module, t3, t1, t2, t10);
  46836. if (shadowed != null) {
  46837. t5.remove$1(0, module);
  46838. t11 = shadowed.variables;
  46839. if (t11.get$isEmpty(t11)) {
  46840. t11 = shadowed.functions;
  46841. if (t11.get$isEmpty(t11)) {
  46842. t11 = shadowed.mixins;
  46843. if (t11.get$isEmpty(t11)) {
  46844. t11 = shadowed._shadowed_view$_inner;
  46845. t11 = t11.get$css(t11);
  46846. t11 = J.get$isEmpty$asx(t11.get$children(t11));
  46847. } else
  46848. t11 = false;
  46849. } else
  46850. t11 = false;
  46851. } else
  46852. t11 = false;
  46853. if (!t11)
  46854. t5.$indexSet(0, shadowed, node);
  46855. }
  46856. }
  46857. 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) {
  46858. t8 = t6[_i];
  46859. module = t8._0;
  46860. node = t8._1;
  46861. shadowed = A.ShadowedModuleView_ifNecessary(module, t3, t1, t2, t10);
  46862. if (shadowed != null) {
  46863. forwardedModules.remove$1(0, module);
  46864. t8 = shadowed.variables;
  46865. if (t8.get$isEmpty(t8)) {
  46866. t8 = shadowed.functions;
  46867. if (t8.get$isEmpty(t8)) {
  46868. t8 = shadowed.mixins;
  46869. if (t8.get$isEmpty(t8)) {
  46870. t8 = shadowed._shadowed_view$_inner;
  46871. t8 = t8.get$css(t8);
  46872. t8 = J.get$isEmpty$asx(t8.get$children(t8));
  46873. } else
  46874. t8 = false;
  46875. } else
  46876. t8 = false;
  46877. } else
  46878. t8 = false;
  46879. if (!t8)
  46880. forwardedModules.$indexSet(0, shadowed, node);
  46881. }
  46882. }
  46883. t5.addAll$1(0, forwarded);
  46884. forwardedModules.addAll$1(0, forwarded);
  46885. } else {
  46886. t6 = _this._async_environment$_nestedForwardedModules;
  46887. if (t6 == null) {
  46888. _length = t5 - 1;
  46889. _list = J.JSArray_JSArray$allocateGrowable(_length, type$.List_Module_AsyncCallable);
  46890. for (t5 = type$.JSArray_Module_AsyncCallable, _i = 0; _i < _length; ++_i)
  46891. _list[_i] = A._setArrayType([], t5);
  46892. _this._async_environment$_nestedForwardedModules = _list;
  46893. t5 = _list;
  46894. } else
  46895. t5 = t6;
  46896. B.JSArray_methods.addAll$1(B.JSArray_methods.get$last(t5), new A.LinkedHashMapKeyIterable(forwarded, A._instanceType(forwarded)._eval$1("LinkedHashMapKeyIterable<1>")));
  46897. }
  46898. for (t2 = A._LinkedHashSetIterator$(t2, t2._modifications, t2.$ti._precomputed1), t5 = _this._async_environment$_variableIndices, t6 = _this._async_environment$_variableNodes, t7 = t2.$ti._precomputed1; t2.moveNext$0();) {
  46899. t8 = t2._collection$_current;
  46900. if (t8 == null)
  46901. t8 = t7._as(t8);
  46902. t5.remove$1(0, t8);
  46903. J.remove$1$z(B.JSArray_methods.get$last(t4), t8);
  46904. J.remove$1$z(B.JSArray_methods.get$last(t6), t8);
  46905. }
  46906. for (t2 = A._LinkedHashSetIterator$(t3, t3._modifications, t3.$ti._precomputed1), t3 = _this._async_environment$_functionIndices, t4 = _this._async_environment$_functions, t5 = t2.$ti._precomputed1; t2.moveNext$0();) {
  46907. t6 = t2._collection$_current;
  46908. if (t6 == null)
  46909. t6 = t5._as(t6);
  46910. t3.remove$1(0, t6);
  46911. J.remove$1$z(B.JSArray_methods.get$last(t4), t6);
  46912. }
  46913. for (t1 = A._LinkedHashSetIterator$(t1, t1._modifications, t1.$ti._precomputed1), t2 = _this._async_environment$_mixinIndices, t3 = _this._async_environment$_mixins, t4 = t1.$ti._precomputed1; t1.moveNext$0();) {
  46914. t5 = t1._collection$_current;
  46915. if (t5 == null)
  46916. t5 = t4._as(t5);
  46917. t2.remove$1(0, t5);
  46918. J.remove$1$z(B.JSArray_methods.get$last(t3), t5);
  46919. }
  46920. },
  46921. getVariable$2$namespace($name, namespace) {
  46922. var t1, _0_0, _1_0, _this = this;
  46923. if (namespace != null)
  46924. return _this._async_environment$_getModule$1(namespace).get$variables().$index(0, $name);
  46925. if (_this._async_environment$_lastVariableName === $name) {
  46926. t1 = _this._async_environment$_lastVariableIndex;
  46927. t1.toString;
  46928. t1 = J.$index$asx(_this._async_environment$_variables[t1], $name);
  46929. return t1 == null ? _this._async_environment$_getVariableFromGlobalModule$1($name) : t1;
  46930. }
  46931. t1 = _this._async_environment$_variableIndices;
  46932. _0_0 = t1.$index(0, $name);
  46933. if (_0_0 != null) {
  46934. _this._async_environment$_lastVariableName = $name;
  46935. _this._async_environment$_lastVariableIndex = _0_0;
  46936. t1 = J.$index$asx(_this._async_environment$_variables[_0_0], $name);
  46937. return t1 == null ? _this._async_environment$_getVariableFromGlobalModule$1($name) : t1;
  46938. } else {
  46939. _1_0 = _this._async_environment$_variableIndex$1($name);
  46940. if (_1_0 != null) {
  46941. _this._async_environment$_lastVariableName = $name;
  46942. _this._async_environment$_lastVariableIndex = _1_0;
  46943. t1.$indexSet(0, $name, _1_0);
  46944. t1 = J.$index$asx(_this._async_environment$_variables[_1_0], $name);
  46945. return t1 == null ? _this._async_environment$_getVariableFromGlobalModule$1($name) : t1;
  46946. } else
  46947. return _this._async_environment$_getVariableFromGlobalModule$1($name);
  46948. }
  46949. },
  46950. getVariable$1($name) {
  46951. return this.getVariable$2$namespace($name, null);
  46952. },
  46953. _async_environment$_getVariableFromGlobalModule$1($name) {
  46954. return this._async_environment$_fromOneModule$3($name, "variable", new A.AsyncEnvironment__getVariableFromGlobalModule_closure($name));
  46955. },
  46956. getVariableNode$2$namespace($name, namespace) {
  46957. var t1, _0_0, _1_0, _this = this;
  46958. if (namespace != null)
  46959. return _this._async_environment$_getModule$1(namespace).get$variableNodes().$index(0, $name);
  46960. if (_this._async_environment$_lastVariableName === $name) {
  46961. t1 = _this._async_environment$_lastVariableIndex;
  46962. t1.toString;
  46963. t1 = J.$index$asx(_this._async_environment$_variableNodes[t1], $name);
  46964. return t1 == null ? _this._async_environment$_getVariableNodeFromGlobalModule$1($name) : t1;
  46965. }
  46966. t1 = _this._async_environment$_variableIndices;
  46967. _0_0 = t1.$index(0, $name);
  46968. if (_0_0 != null) {
  46969. _this._async_environment$_lastVariableName = $name;
  46970. _this._async_environment$_lastVariableIndex = _0_0;
  46971. t1 = J.$index$asx(_this._async_environment$_variableNodes[_0_0], $name);
  46972. return t1 == null ? _this._async_environment$_getVariableNodeFromGlobalModule$1($name) : t1;
  46973. } else {
  46974. _1_0 = _this._async_environment$_variableIndex$1($name);
  46975. if (_1_0 != null) {
  46976. _this._async_environment$_lastVariableName = $name;
  46977. _this._async_environment$_lastVariableIndex = _1_0;
  46978. t1.$indexSet(0, $name, _1_0);
  46979. t1 = J.$index$asx(_this._async_environment$_variableNodes[_1_0], $name);
  46980. return t1 == null ? _this._async_environment$_getVariableNodeFromGlobalModule$1($name) : t1;
  46981. } else
  46982. return _this._async_environment$_getVariableNodeFromGlobalModule$1($name);
  46983. }
  46984. },
  46985. _async_environment$_getVariableNodeFromGlobalModule$1($name) {
  46986. var t1, t2, _0_0;
  46987. for (t1 = this._async_environment$_importedModules, t2 = this._async_environment$_globalModules, t2 = new A.LinkedHashMapKeyIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapKeyIterable<1>")).followedBy$1(0, new A.LinkedHashMapKeyIterable(t2, A._instanceType(t2)._eval$1("LinkedHashMapKeyIterable<1>"))), t2 = new A.FollowedByIterator(J.get$iterator$ax(t2.__internal$_first), t2._second); t2.moveNext$0();) {
  46988. t1 = t2._currentIterator;
  46989. _0_0 = t1.get$current(t1).get$variableNodes().$index(0, $name);
  46990. if (_0_0 != null)
  46991. return _0_0;
  46992. }
  46993. return null;
  46994. },
  46995. globalVariableExists$2$namespace($name, namespace) {
  46996. if (namespace != null)
  46997. return this._async_environment$_getModule$1(namespace).get$variables().containsKey$1($name);
  46998. if (B.JSArray_methods.get$first(this._async_environment$_variables).containsKey$1($name))
  46999. return true;
  47000. return this._async_environment$_getVariableFromGlobalModule$1($name) != null;
  47001. },
  47002. globalVariableExists$1($name) {
  47003. return this.globalVariableExists$2$namespace($name, null);
  47004. },
  47005. _async_environment$_variableIndex$1($name) {
  47006. var t1, i;
  47007. for (t1 = this._async_environment$_variables, i = t1.length - 1; i >= 0; --i)
  47008. if (t1[i].containsKey$1($name))
  47009. return i;
  47010. return null;
  47011. },
  47012. setVariable$5$global$namespace($name, value, nodeWithSpan, global, namespace) {
  47013. var t1, moduleWithName, nestedForwardedModules, t2, t3, t4, t5, index, _this = this;
  47014. if (namespace != null) {
  47015. _this._async_environment$_getModule$1(namespace).setVariable$3($name, value, nodeWithSpan);
  47016. return;
  47017. }
  47018. if (global || _this._async_environment$_variables.length === 1) {
  47019. _this._async_environment$_variableIndices.putIfAbsent$2($name, new A.AsyncEnvironment_setVariable_closure(_this, $name));
  47020. t1 = _this._async_environment$_variables;
  47021. if (!B.JSArray_methods.get$first(t1).containsKey$1($name)) {
  47022. moduleWithName = _this._async_environment$_fromOneModule$3($name, "variable", new A.AsyncEnvironment_setVariable_closure0($name));
  47023. if (moduleWithName != null) {
  47024. moduleWithName.setVariable$3($name, value, nodeWithSpan);
  47025. return;
  47026. }
  47027. }
  47028. J.$indexSet$ax(B.JSArray_methods.get$first(t1), $name, value);
  47029. J.$indexSet$ax(B.JSArray_methods.get$first(_this._async_environment$_variableNodes), $name, nodeWithSpan);
  47030. return;
  47031. }
  47032. nestedForwardedModules = _this._async_environment$_nestedForwardedModules;
  47033. if (nestedForwardedModules != null && !_this._async_environment$_variableIndices.containsKey$1($name) && _this._async_environment$_variableIndex$1($name) == null)
  47034. 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();) {
  47035. t3 = t2.__internal$_current;
  47036. 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();) {
  47037. t5 = t3.__internal$_current;
  47038. if (t5 == null)
  47039. t5 = t4._as(t5);
  47040. if (t5.get$variables().containsKey$1($name)) {
  47041. t5.setVariable$3($name, value, nodeWithSpan);
  47042. return;
  47043. }
  47044. }
  47045. }
  47046. if (_this._async_environment$_lastVariableName === $name) {
  47047. t1 = _this._async_environment$_lastVariableIndex;
  47048. t1.toString;
  47049. index = t1;
  47050. } else
  47051. index = _this._async_environment$_variableIndices.putIfAbsent$2($name, new A.AsyncEnvironment_setVariable_closure1(_this, $name));
  47052. if (!_this._async_environment$_inSemiGlobalScope && index === 0) {
  47053. index = _this._async_environment$_variables.length - 1;
  47054. _this._async_environment$_variableIndices.$indexSet(0, $name, index);
  47055. }
  47056. _this._async_environment$_lastVariableName = $name;
  47057. _this._async_environment$_lastVariableIndex = index;
  47058. J.$indexSet$ax(_this._async_environment$_variables[index], $name, value);
  47059. J.$indexSet$ax(_this._async_environment$_variableNodes[index], $name, nodeWithSpan);
  47060. },
  47061. setVariable$4$global($name, value, nodeWithSpan, global) {
  47062. return this.setVariable$5$global$namespace($name, value, nodeWithSpan, global, null);
  47063. },
  47064. setLocalVariable$3($name, value, nodeWithSpan) {
  47065. var index, _this = this,
  47066. t1 = _this._async_environment$_variables,
  47067. t2 = t1.length;
  47068. _this._async_environment$_lastVariableName = $name;
  47069. index = _this._async_environment$_lastVariableIndex = t2 - 1;
  47070. _this._async_environment$_variableIndices.$indexSet(0, $name, index);
  47071. J.$indexSet$ax(t1[index], $name, value);
  47072. J.$indexSet$ax(_this._async_environment$_variableNodes[index], $name, nodeWithSpan);
  47073. },
  47074. getFunction$2$namespace($name, namespace) {
  47075. var t1, _0_0, _1_0, _this = this;
  47076. if (namespace != null) {
  47077. t1 = _this._async_environment$_getModule$1(namespace);
  47078. return t1.get$functions(t1).$index(0, $name);
  47079. }
  47080. t1 = _this._async_environment$_functionIndices;
  47081. _0_0 = t1.$index(0, $name);
  47082. if (_0_0 != null) {
  47083. t1 = J.$index$asx(_this._async_environment$_functions[_0_0], $name);
  47084. return t1 == null ? _this._async_environment$_getFunctionFromGlobalModule$1($name) : t1;
  47085. } else {
  47086. _1_0 = _this._async_environment$_functionIndex$1($name);
  47087. if (_1_0 != null) {
  47088. t1.$indexSet(0, $name, _1_0);
  47089. t1 = J.$index$asx(_this._async_environment$_functions[_1_0], $name);
  47090. return t1 == null ? _this._async_environment$_getFunctionFromGlobalModule$1($name) : t1;
  47091. } else
  47092. return _this._async_environment$_getFunctionFromGlobalModule$1($name);
  47093. }
  47094. },
  47095. getFunction$1($name) {
  47096. return this.getFunction$2$namespace($name, null);
  47097. },
  47098. _async_environment$_getFunctionFromGlobalModule$1($name) {
  47099. return this._async_environment$_fromOneModule$3($name, "function", new A.AsyncEnvironment__getFunctionFromGlobalModule_closure($name));
  47100. },
  47101. _async_environment$_functionIndex$1($name) {
  47102. var t1, i;
  47103. for (t1 = this._async_environment$_functions, i = t1.length - 1; i >= 0; --i)
  47104. if (t1[i].containsKey$1($name))
  47105. return i;
  47106. return null;
  47107. },
  47108. getMixin$2$namespace($name, namespace) {
  47109. var t1, _0_0, _1_0, _this = this;
  47110. if (namespace != null)
  47111. return _this._async_environment$_getModule$1(namespace).get$mixins().$index(0, $name);
  47112. t1 = _this._async_environment$_mixinIndices;
  47113. _0_0 = t1.$index(0, $name);
  47114. if (_0_0 != null) {
  47115. t1 = J.$index$asx(_this._async_environment$_mixins[_0_0], $name);
  47116. return t1 == null ? _this._async_environment$_getMixinFromGlobalModule$1($name) : t1;
  47117. } else {
  47118. _1_0 = _this._async_environment$_mixinIndex$1($name);
  47119. if (_1_0 != null) {
  47120. t1.$indexSet(0, $name, _1_0);
  47121. t1 = J.$index$asx(_this._async_environment$_mixins[_1_0], $name);
  47122. return t1 == null ? _this._async_environment$_getMixinFromGlobalModule$1($name) : t1;
  47123. } else
  47124. return _this._async_environment$_getMixinFromGlobalModule$1($name);
  47125. }
  47126. },
  47127. _async_environment$_getMixinFromGlobalModule$1($name) {
  47128. return this._async_environment$_fromOneModule$3($name, "mixin", new A.AsyncEnvironment__getMixinFromGlobalModule_closure($name));
  47129. },
  47130. _async_environment$_mixinIndex$1($name) {
  47131. var t1, i;
  47132. for (t1 = this._async_environment$_mixins, i = t1.length - 1; i >= 0; --i)
  47133. if (t1[i].containsKey$1($name))
  47134. return i;
  47135. return null;
  47136. },
  47137. withContent$2($content, callback) {
  47138. return this.withContent$body$AsyncEnvironment($content, callback);
  47139. },
  47140. withContent$body$AsyncEnvironment($content, callback) {
  47141. var $async$goto = 0,
  47142. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  47143. $async$self = this, oldContent;
  47144. var $async$withContent$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  47145. if ($async$errorCode === 1)
  47146. return A._asyncRethrow($async$result, $async$completer);
  47147. while (true)
  47148. switch ($async$goto) {
  47149. case 0:
  47150. // Function start
  47151. oldContent = $async$self._async_environment$_content;
  47152. $async$self._async_environment$_content = $content;
  47153. $async$goto = 2;
  47154. return A._asyncAwait(callback.call$0(), $async$withContent$2);
  47155. case 2:
  47156. // returning from await.
  47157. $async$self._async_environment$_content = oldContent;
  47158. // implicit return
  47159. return A._asyncReturn(null, $async$completer);
  47160. }
  47161. });
  47162. return A._asyncStartSync($async$withContent$2, $async$completer);
  47163. },
  47164. asMixin$1(callback) {
  47165. var $async$goto = 0,
  47166. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  47167. $async$self = this, oldInMixin;
  47168. var $async$asMixin$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  47169. if ($async$errorCode === 1)
  47170. return A._asyncRethrow($async$result, $async$completer);
  47171. while (true)
  47172. switch ($async$goto) {
  47173. case 0:
  47174. // Function start
  47175. oldInMixin = $async$self._async_environment$_inMixin;
  47176. $async$self._async_environment$_inMixin = true;
  47177. $async$goto = 2;
  47178. return A._asyncAwait(callback.call$0(), $async$asMixin$1);
  47179. case 2:
  47180. // returning from await.
  47181. $async$self._async_environment$_inMixin = oldInMixin;
  47182. // implicit return
  47183. return A._asyncReturn(null, $async$completer);
  47184. }
  47185. });
  47186. return A._asyncStartSync($async$asMixin$1, $async$completer);
  47187. },
  47188. scope$1$3$semiGlobal$when(callback, semiGlobal, when, $T) {
  47189. return this.scope$body$AsyncEnvironment(callback, semiGlobal, when, $T, $T);
  47190. },
  47191. scope$1$1(callback, $T) {
  47192. return this.scope$1$3$semiGlobal$when(callback, false, true, $T);
  47193. },
  47194. scope$1$2$when(callback, when, $T) {
  47195. return this.scope$1$3$semiGlobal$when(callback, false, when, $T);
  47196. },
  47197. scope$1$2$semiGlobal(callback, semiGlobal, $T) {
  47198. return this.scope$1$3$semiGlobal$when(callback, semiGlobal, true, $T);
  47199. },
  47200. scope$body$AsyncEnvironment(callback, semiGlobal, when, $T, $async$type) {
  47201. var $async$goto = 0,
  47202. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  47203. $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, wasInSemiGlobalScope, $name, name0, name1, t1, t2, t3, t4, t5, t6;
  47204. var $async$scope$1$3$semiGlobal$when = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  47205. if ($async$errorCode === 1) {
  47206. $async$currentError = $async$result;
  47207. $async$goto = $async$handler;
  47208. }
  47209. while (true)
  47210. switch ($async$goto) {
  47211. case 0:
  47212. // Function start
  47213. semiGlobal = semiGlobal && $async$self._async_environment$_inSemiGlobalScope;
  47214. wasInSemiGlobalScope = $async$self._async_environment$_inSemiGlobalScope;
  47215. $async$self._async_environment$_inSemiGlobalScope = semiGlobal;
  47216. $async$goto = !when ? 3 : 4;
  47217. break;
  47218. case 3:
  47219. // then
  47220. $async$handler = 5;
  47221. $async$goto = 8;
  47222. return A._asyncAwait(callback.call$0(), $async$scope$1$3$semiGlobal$when);
  47223. case 8:
  47224. // returning from await.
  47225. t1 = $async$result;
  47226. $async$returnValue = t1;
  47227. $async$next = [1];
  47228. // goto finally
  47229. $async$goto = 6;
  47230. break;
  47231. $async$next.push(7);
  47232. // goto finally
  47233. $async$goto = 6;
  47234. break;
  47235. case 5:
  47236. // uncaught
  47237. $async$next = [2];
  47238. case 6:
  47239. // finally
  47240. $async$handler = 2;
  47241. $async$self._async_environment$_inSemiGlobalScope = wasInSemiGlobalScope;
  47242. // goto the next finally handler
  47243. $async$goto = $async$next.pop();
  47244. break;
  47245. case 7:
  47246. // after finally
  47247. case 4:
  47248. // join
  47249. t1 = $async$self._async_environment$_variables;
  47250. t2 = type$.String;
  47251. B.JSArray_methods.add$1(t1, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.Value));
  47252. t3 = $async$self._async_environment$_variableNodes;
  47253. B.JSArray_methods.add$1(t3, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.AstNode));
  47254. t4 = $async$self._async_environment$_functions;
  47255. t5 = type$.AsyncCallable;
  47256. B.JSArray_methods.add$1(t4, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  47257. t6 = $async$self._async_environment$_mixins;
  47258. B.JSArray_methods.add$1(t6, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  47259. t5 = $async$self._async_environment$_nestedForwardedModules;
  47260. if (t5 != null)
  47261. t5.push(A._setArrayType([], type$.JSArray_Module_AsyncCallable));
  47262. $async$handler = 9;
  47263. $async$goto = 12;
  47264. return A._asyncAwait(callback.call$0(), $async$scope$1$3$semiGlobal$when);
  47265. case 12:
  47266. // returning from await.
  47267. t2 = $async$result;
  47268. $async$returnValue = t2;
  47269. $async$next = [1];
  47270. // goto finally
  47271. $async$goto = 10;
  47272. break;
  47273. $async$next.push(11);
  47274. // goto finally
  47275. $async$goto = 10;
  47276. break;
  47277. case 9:
  47278. // uncaught
  47279. $async$next = [2];
  47280. case 10:
  47281. // finally
  47282. $async$handler = 2;
  47283. $async$self._async_environment$_inSemiGlobalScope = wasInSemiGlobalScope;
  47284. $async$self._async_environment$_lastVariableIndex = $async$self._async_environment$_lastVariableName = null;
  47285. for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t1))), t2 = $async$self._async_environment$_variableIndices; t1.moveNext$0();) {
  47286. $name = t1.get$current(t1);
  47287. t2.remove$1(0, $name);
  47288. }
  47289. B.JSArray_methods.removeLast$0(t3);
  47290. for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t4))), t2 = $async$self._async_environment$_functionIndices; t1.moveNext$0();) {
  47291. name0 = t1.get$current(t1);
  47292. t2.remove$1(0, name0);
  47293. }
  47294. for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t6))), t2 = $async$self._async_environment$_mixinIndices; t1.moveNext$0();) {
  47295. name1 = t1.get$current(t1);
  47296. t2.remove$1(0, name1);
  47297. }
  47298. t1 = $async$self._async_environment$_nestedForwardedModules;
  47299. if (t1 != null)
  47300. t1.pop();
  47301. // goto the next finally handler
  47302. $async$goto = $async$next.pop();
  47303. break;
  47304. case 11:
  47305. // after finally
  47306. case 1:
  47307. // return
  47308. return A._asyncReturn($async$returnValue, $async$completer);
  47309. case 2:
  47310. // rethrow
  47311. return A._asyncRethrow($async$currentError, $async$completer);
  47312. }
  47313. });
  47314. return A._asyncStartSync($async$scope$1$3$semiGlobal$when, $async$completer);
  47315. },
  47316. toImplicitConfiguration$0() {
  47317. var t2, t3, t4, i, values, nodes, t5, t6, $name, value,
  47318. t1 = type$.String,
  47319. configuration = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.ConfiguredValue);
  47320. for (t2 = this._async_environment$_variables, t3 = type$.Value, t4 = this._async_environment$_variableNodes, i = 0; i < t2.length; ++i) {
  47321. values = t2[i];
  47322. nodes = t4[i];
  47323. for (t5 = A.MapExtensions_get_pairs(values, t1, t3), t5 = t5.get$iterator(t5); t5.moveNext$0();) {
  47324. t6 = t5.get$current(t5);
  47325. $name = t6._0;
  47326. value = t6._1;
  47327. t6 = nodes.$index(0, $name);
  47328. t6.toString;
  47329. configuration.$indexSet(0, $name, new A.ConfiguredValue(value, null, t6));
  47330. }
  47331. }
  47332. return new A.Configuration(configuration, null);
  47333. },
  47334. toModule$3(css, preModuleComments, extensionStore) {
  47335. return A._EnvironmentModule__EnvironmentModule0(this, css, preModuleComments, extensionStore, A.NullableExtension_andThen(this._async_environment$_forwardedModules, new A.AsyncEnvironment_toModule_closure()));
  47336. },
  47337. toDummyModule$0() {
  47338. 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()));
  47339. },
  47340. _async_environment$_getModule$1(namespace) {
  47341. var _0_0 = this._async_environment$_modules.$index(0, namespace);
  47342. if (_0_0 != null)
  47343. return _0_0;
  47344. throw A.wrapException(A.SassScriptException$('There is no module with the namespace "' + namespace + '".', null));
  47345. },
  47346. _async_environment$_fromOneModule$1$3($name, type, callback) {
  47347. var t1, t2, t3, t4, t5, _1_0, _2_0, value, identity, valueInModule, identityFromModule, module, node,
  47348. _0_0 = this._async_environment$_nestedForwardedModules;
  47349. if (_0_0 != null)
  47350. 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();) {
  47351. t3 = t2.__internal$_current;
  47352. 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();) {
  47353. t5 = t3.__internal$_current;
  47354. _1_0 = callback.call$1(t5 == null ? t4._as(t5) : t5);
  47355. if (_1_0 != null)
  47356. return _1_0;
  47357. }
  47358. }
  47359. for (t1 = this._async_environment$_importedModules, t1 = A.LinkedHashMapKeyIterator$(t1, t1.__js_helper$_modifications); t1.moveNext$0();) {
  47360. _2_0 = callback.call$1(t1.__js_helper$_current);
  47361. if (_2_0 != null)
  47362. return _2_0;
  47363. }
  47364. for (t1 = this._async_environment$_globalModules, t2 = A.LinkedHashMapKeyIterator$(t1, t1.__js_helper$_modifications), t3 = type$.AsyncCallable, value = null, identity = null; t2.moveNext$0();) {
  47365. t4 = t2.__js_helper$_current;
  47366. valueInModule = callback.call$1(t4);
  47367. if (valueInModule == null)
  47368. continue;
  47369. identityFromModule = t3._is(valueInModule) ? valueInModule : t4.variableIdentity$1($name);
  47370. if (identityFromModule.$eq(0, identity))
  47371. continue;
  47372. if (value != null) {
  47373. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  47374. for (t3 = A.MapExtensions_get_pairs(t1, type$.Module_AsyncCallable, type$.AstNode), t3 = t3.get$iterator(t3), t4 = "includes " + type; t3.moveNext$0();) {
  47375. t1 = t3.get$current(t3);
  47376. module = t1._0;
  47377. node = t1._1;
  47378. if (callback.call$1(module) != null)
  47379. t2.$indexSet(0, node.get$span(node), t4);
  47380. }
  47381. throw A.wrapException(A.MultiSpanSassScriptException$("This " + type + string$.x20is_av, type + " use", t2));
  47382. }
  47383. identity = identityFromModule;
  47384. value = valueInModule;
  47385. }
  47386. return value;
  47387. },
  47388. _async_environment$_fromOneModule$3($name, type, callback) {
  47389. return this._async_environment$_fromOneModule$1$3($name, type, callback, type$.dynamic);
  47390. }
  47391. };
  47392. A.AsyncEnvironment__getVariableFromGlobalModule_closure.prototype = {
  47393. call$1(module) {
  47394. return module.get$variables().$index(0, this.name);
  47395. },
  47396. $signature: 318
  47397. };
  47398. A.AsyncEnvironment_setVariable_closure.prototype = {
  47399. call$0() {
  47400. var t1 = this.$this;
  47401. t1._async_environment$_lastVariableName = this.name;
  47402. return t1._async_environment$_lastVariableIndex = 0;
  47403. },
  47404. $signature: 10
  47405. };
  47406. A.AsyncEnvironment_setVariable_closure0.prototype = {
  47407. call$1(module) {
  47408. return module.get$variables().containsKey$1(this.name) ? module : null;
  47409. },
  47410. $signature: 317
  47411. };
  47412. A.AsyncEnvironment_setVariable_closure1.prototype = {
  47413. call$0() {
  47414. var t1 = this.$this,
  47415. t2 = t1._async_environment$_variableIndex$1(this.name);
  47416. return t2 == null ? t1._async_environment$_variables.length - 1 : t2;
  47417. },
  47418. $signature: 10
  47419. };
  47420. A.AsyncEnvironment__getFunctionFromGlobalModule_closure.prototype = {
  47421. call$1(module) {
  47422. return module.get$functions(module).$index(0, this.name);
  47423. },
  47424. $signature: 178
  47425. };
  47426. A.AsyncEnvironment__getMixinFromGlobalModule_closure.prototype = {
  47427. call$1(module) {
  47428. return module.get$mixins().$index(0, this.name);
  47429. },
  47430. $signature: 178
  47431. };
  47432. A.AsyncEnvironment_toModule_closure.prototype = {
  47433. call$1(modules) {
  47434. return new A.MapKeySet(modules, type$.MapKeySet_Module_AsyncCallable);
  47435. },
  47436. $signature: 179
  47437. };
  47438. A.AsyncEnvironment_toDummyModule_closure.prototype = {
  47439. call$1(modules) {
  47440. return new A.MapKeySet(modules, type$.MapKeySet_Module_AsyncCallable);
  47441. },
  47442. $signature: 179
  47443. };
  47444. A._EnvironmentModule0.prototype = {
  47445. get$url(_) {
  47446. var t1 = this.css;
  47447. t1 = t1.get$span(t1);
  47448. return t1.get$sourceUrl(t1);
  47449. },
  47450. setVariable$3($name, value, nodeWithSpan) {
  47451. var t1, t2,
  47452. _0_0 = this._async_environment$_modulesByVariable.$index(0, $name);
  47453. if (_0_0 != null) {
  47454. _0_0.setVariable$3($name, value, nodeWithSpan);
  47455. return;
  47456. }
  47457. t1 = this._async_environment$_environment;
  47458. t2 = t1._async_environment$_variables;
  47459. if (!B.JSArray_methods.get$first(t2).containsKey$1($name))
  47460. throw A.wrapException(A.SassScriptException$("Undefined variable.", null));
  47461. J.$indexSet$ax(B.JSArray_methods.get$first(t2), $name, value);
  47462. J.$indexSet$ax(B.JSArray_methods.get$first(t1._async_environment$_variableNodes), $name, nodeWithSpan);
  47463. return;
  47464. },
  47465. variableIdentity$1($name) {
  47466. var module = this._async_environment$_modulesByVariable.$index(0, $name);
  47467. return module == null ? this : module.variableIdentity$1($name);
  47468. },
  47469. cloneCss$0() {
  47470. var _0_0, _this = this;
  47471. if (!_this.transitivelyContainsCss)
  47472. return _this;
  47473. _0_0 = A.cloneCssStylesheet(_this.css, _this.extensionStore);
  47474. 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);
  47475. },
  47476. toString$0(_) {
  47477. var t1 = this.css,
  47478. t2 = t1.get$span(t1);
  47479. if (t2.get$sourceUrl(t2) == null)
  47480. t1 = "<unknown url>";
  47481. else {
  47482. t1 = t1.get$span(t1);
  47483. t1 = t1.get$sourceUrl(t1);
  47484. t2 = $.$get$context();
  47485. t1.toString;
  47486. t1 = t2.prettyUri$1(t1);
  47487. }
  47488. return t1;
  47489. },
  47490. $isModule0: 1,
  47491. get$upstream() {
  47492. return this.upstream;
  47493. },
  47494. get$variables() {
  47495. return this.variables;
  47496. },
  47497. get$variableNodes() {
  47498. return this.variableNodes;
  47499. },
  47500. get$functions(receiver) {
  47501. return this.functions;
  47502. },
  47503. get$mixins() {
  47504. return this.mixins;
  47505. },
  47506. get$extensionStore() {
  47507. return this.extensionStore;
  47508. },
  47509. get$css(receiver) {
  47510. return this.css;
  47511. },
  47512. get$preModuleComments() {
  47513. return this.preModuleComments;
  47514. },
  47515. get$transitivelyContainsCss() {
  47516. return this.transitivelyContainsCss;
  47517. },
  47518. get$transitivelyContainsExtensions() {
  47519. return this.transitivelyContainsExtensions;
  47520. }
  47521. };
  47522. A._EnvironmentModule__EnvironmentModule_closure5.prototype = {
  47523. call$1(module) {
  47524. return module.get$variables();
  47525. },
  47526. $signature: 313
  47527. };
  47528. A._EnvironmentModule__EnvironmentModule_closure6.prototype = {
  47529. call$1(module) {
  47530. return module.get$variableNodes();
  47531. },
  47532. $signature: 312
  47533. };
  47534. A._EnvironmentModule__EnvironmentModule_closure7.prototype = {
  47535. call$1(module) {
  47536. return module.get$functions(module);
  47537. },
  47538. $signature: 184
  47539. };
  47540. A._EnvironmentModule__EnvironmentModule_closure8.prototype = {
  47541. call$1(module) {
  47542. return module.get$mixins();
  47543. },
  47544. $signature: 184
  47545. };
  47546. A._EnvironmentModule__EnvironmentModule_closure9.prototype = {
  47547. call$1(module) {
  47548. return module.get$transitivelyContainsCss();
  47549. },
  47550. $signature: 134
  47551. };
  47552. A._EnvironmentModule__EnvironmentModule_closure10.prototype = {
  47553. call$1(module) {
  47554. return module.get$transitivelyContainsExtensions();
  47555. },
  47556. $signature: 134
  47557. };
  47558. A.AsyncImportCache.prototype = {
  47559. canonicalize$4$baseImporter$baseUrl$forImport(_, url, baseImporter, baseUrl, forImport) {
  47560. return this.canonicalize$body$AsyncImportCache(0, url, baseImporter, baseUrl, forImport);
  47561. },
  47562. canonicalize$body$AsyncImportCache(_, url, baseImporter, baseUrl, forImport) {
  47563. var $async$goto = 0,
  47564. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl),
  47565. $async$returnValue, $async$self = this, t1, resolvedUrl, key, relativeResult, t2, t3, t4, t5, t6, cacheable, i, importer, perImporterKey, t7, _1_0, _1_2_isSet, _1_2, result, _2_0, _2_1, _2_5_isSet, _2_3, _2_5, _2_3_isSet, j;
  47566. var $async$canonicalize$4$baseImporter$baseUrl$forImport = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  47567. if ($async$errorCode === 1)
  47568. return A._asyncRethrow($async$result, $async$completer);
  47569. while (true)
  47570. switch ($async$goto) {
  47571. case 0:
  47572. // Function start
  47573. if (A.isBrowser())
  47574. t1 = (baseImporter == null || baseImporter instanceof A.NoOpImporter) && $async$self._async_import_cache$_importers.length === 0;
  47575. else
  47576. t1 = false;
  47577. if (t1)
  47578. throw A.wrapException(string$.Custom);
  47579. $async$goto = baseImporter != null && url.get$scheme() === "" ? 3 : 4;
  47580. break;
  47581. case 3:
  47582. // then
  47583. resolvedUrl = baseUrl == null ? null : baseUrl.resolveUri$1(url);
  47584. if (resolvedUrl == null)
  47585. resolvedUrl = url;
  47586. key = new A._Record_3_forImport(baseImporter, resolvedUrl, forImport);
  47587. $async$goto = 5;
  47588. 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);
  47589. case 5:
  47590. // returning from await.
  47591. relativeResult = $async$result;
  47592. if (relativeResult != null) {
  47593. $async$returnValue = relativeResult;
  47594. // goto return
  47595. $async$goto = 1;
  47596. break;
  47597. }
  47598. case 4:
  47599. // join
  47600. key = new A._Record_2_forImport(url, forImport);
  47601. t1 = $async$self._async_import_cache$_canonicalizeCache;
  47602. if (t1.containsKey$1(key)) {
  47603. $async$returnValue = t1.$index(0, key);
  47604. // goto return
  47605. $async$goto = 1;
  47606. break;
  47607. }
  47608. 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;
  47609. case 6:
  47610. // for condition
  47611. if (!(i < t2.length)) {
  47612. // goto after for
  47613. $async$goto = 8;
  47614. break;
  47615. }
  47616. importer = t2[i];
  47617. perImporterKey = new A._Record_3_forImport(importer, url, forImport);
  47618. if (t4.containsKey$1(perImporterKey)) {
  47619. t7 = t4.$index(0, perImporterKey);
  47620. _1_0 = new A._Record_1(t7 == null ? t5._as(t7) : t7);
  47621. } else
  47622. _1_0 = null;
  47623. _1_2_isSet = t3._is(_1_0);
  47624. if (_1_2_isSet) {
  47625. _1_2 = _1_0._0;
  47626. t7 = _1_2 != null;
  47627. if (t7) {
  47628. t6._as(_1_2);
  47629. result = _1_2;
  47630. } else
  47631. result = null;
  47632. } else {
  47633. _1_2 = null;
  47634. result = null;
  47635. t7 = false;
  47636. }
  47637. if (t7) {
  47638. $async$returnValue = result;
  47639. // goto return
  47640. $async$goto = 1;
  47641. break;
  47642. }
  47643. if (_1_2_isSet)
  47644. t7 = _1_2 == null;
  47645. else
  47646. t7 = false;
  47647. if (t7) {
  47648. // goto for update
  47649. $async$goto = 7;
  47650. break;
  47651. }
  47652. $async$goto = 10;
  47653. return A._asyncAwait($async$self._async_import_cache$_canonicalize$4(importer, url, baseUrl, forImport), $async$canonicalize$4$baseImporter$baseUrl$forImport);
  47654. case 10:
  47655. // returning from await.
  47656. _2_0 = $async$result;
  47657. _2_1 = _2_0._0;
  47658. _2_5_isSet = _2_1 != null;
  47659. if (_2_5_isSet) {
  47660. result = _2_1 == null ? t6._as(_2_1) : _2_1;
  47661. _2_3 = _2_0._1;
  47662. t7 = _2_3;
  47663. _2_5 = t7;
  47664. t7 = t7 && cacheable;
  47665. } else {
  47666. _2_5 = null;
  47667. _2_3 = null;
  47668. result = null;
  47669. t7 = false;
  47670. }
  47671. if (t7) {
  47672. t1.$indexSet(0, key, result);
  47673. $async$returnValue = result;
  47674. // goto return
  47675. $async$goto = 1;
  47676. break;
  47677. }
  47678. if (_2_5_isSet) {
  47679. t7 = _2_5;
  47680. _2_3_isSet = _2_5_isSet;
  47681. } else {
  47682. _2_3 = _2_0._1;
  47683. t7 = _2_3;
  47684. _2_3_isSet = true;
  47685. }
  47686. t7 = t7 && !cacheable;
  47687. if (t7) {
  47688. t4.$indexSet(0, perImporterKey, _2_1);
  47689. if (_2_1 != null) {
  47690. $async$returnValue = _2_1;
  47691. // goto return
  47692. $async$goto = 1;
  47693. break;
  47694. }
  47695. // goto break $label0$1
  47696. $async$goto = 9;
  47697. break;
  47698. }
  47699. t7 = false === (_2_3_isSet ? _2_3 : _2_0._1);
  47700. if (t7) {
  47701. if (cacheable) {
  47702. for (j = 0; j < i; ++j)
  47703. t4.$indexSet(0, new A._Record_3_forImport(t2[j], url, forImport), null);
  47704. cacheable = false;
  47705. }
  47706. if (_2_1 != null) {
  47707. $async$returnValue = _2_1;
  47708. // goto return
  47709. $async$goto = 1;
  47710. break;
  47711. }
  47712. }
  47713. case 9:
  47714. // break $label0$1
  47715. case 7:
  47716. // for update
  47717. ++i;
  47718. // goto for condition
  47719. $async$goto = 6;
  47720. break;
  47721. case 8:
  47722. // after for
  47723. if (cacheable)
  47724. t1.$indexSet(0, key, null);
  47725. $async$returnValue = null;
  47726. // goto return
  47727. $async$goto = 1;
  47728. break;
  47729. case 1:
  47730. // return
  47731. return A._asyncReturn($async$returnValue, $async$completer);
  47732. }
  47733. });
  47734. return A._asyncStartSync($async$canonicalize$4$baseImporter$baseUrl$forImport, $async$completer);
  47735. },
  47736. _async_import_cache$_canonicalize$4(importer, url, baseUrl, forImport) {
  47737. return this._canonicalize$body$AsyncImportCache(importer, url, baseUrl, forImport);
  47738. },
  47739. _canonicalize$body$AsyncImportCache(importer, url, baseUrl, forImport) {
  47740. var $async$goto = 0,
  47741. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_and_bool),
  47742. $async$returnValue, $async$self = this, t1, passContainingUrl, canonicalizeContext, result, cacheable;
  47743. var $async$_async_import_cache$_canonicalize$4 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  47744. if ($async$errorCode === 1)
  47745. return A._asyncRethrow($async$result, $async$completer);
  47746. while (true)
  47747. switch ($async$goto) {
  47748. case 0:
  47749. // Function start
  47750. $async$goto = baseUrl != null ? 3 : 5;
  47751. break;
  47752. case 3:
  47753. // then
  47754. $async$goto = url.get$scheme() !== "" ? 6 : 8;
  47755. break;
  47756. case 6:
  47757. // then
  47758. t1 = A._Future$value(importer.isNonCanonicalScheme$1(url.get$scheme()), type$.bool);
  47759. $async$goto = 9;
  47760. return A._asyncAwait(t1, $async$_async_import_cache$_canonicalize$4);
  47761. case 9:
  47762. // returning from await.
  47763. t1 = $async$result;
  47764. passContainingUrl = t1;
  47765. // goto join
  47766. $async$goto = 7;
  47767. break;
  47768. case 8:
  47769. // else
  47770. passContainingUrl = true;
  47771. case 7:
  47772. // join
  47773. // goto join
  47774. $async$goto = 4;
  47775. break;
  47776. case 5:
  47777. // else
  47778. passContainingUrl = false;
  47779. case 4:
  47780. // join
  47781. canonicalizeContext = new A.CanonicalizeContext(forImport, passContainingUrl ? baseUrl : null);
  47782. t1 = type$.nullable_Object;
  47783. t1 = A.runZoned(new A.AsyncImportCache__canonicalize_closure(importer, url), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__canonicalizeContext, canonicalizeContext], t1, t1), type$.FutureOr_nullable_Uri);
  47784. $async$goto = 10;
  47785. return A._asyncAwait(type$.Future_nullable_Uri._is(t1) ? t1 : A._Future$value(t1, type$.nullable_Uri), $async$_async_import_cache$_canonicalize$4);
  47786. case 10:
  47787. // returning from await.
  47788. result = $async$result;
  47789. cacheable = !passContainingUrl || !canonicalizeContext._wasContainingUrlAccessed;
  47790. if (result == null) {
  47791. $async$returnValue = new A._Record_2(null, cacheable);
  47792. // goto return
  47793. $async$goto = 1;
  47794. break;
  47795. }
  47796. $async$goto = result.get$scheme() === "" ? 11 : 13;
  47797. break;
  47798. case 11:
  47799. // then
  47800. A.WarnForDeprecation_warnForDeprecation($async$self._async_import_cache$_logger, B.Deprecation_IMm, "Importer " + importer.toString$0(0) + " canonicalized " + url.toString$0(0) + " to " + result.toString$0(0) + string$.x2e_Rela, null, null);
  47801. // goto join
  47802. $async$goto = 12;
  47803. break;
  47804. case 13:
  47805. // else
  47806. t1 = A._Future$value(importer.isNonCanonicalScheme$1(result.get$scheme()), type$.bool);
  47807. $async$goto = 14;
  47808. return A._asyncAwait(t1, $async$_async_import_cache$_canonicalize$4);
  47809. case 14:
  47810. // returning from await.
  47811. if ($async$result)
  47812. throw A.wrapException("Importer " + importer.toString$0(0) + " canonicalized " + url.toString$0(0) + " to " + result.toString$0(0) + string$.x2c_whicu);
  47813. case 12:
  47814. // join
  47815. $async$returnValue = new A._Record_2(new A._Record_3_originalUrl(importer, result, url), cacheable);
  47816. // goto return
  47817. $async$goto = 1;
  47818. break;
  47819. case 1:
  47820. // return
  47821. return A._asyncReturn($async$returnValue, $async$completer);
  47822. }
  47823. });
  47824. return A._asyncStartSync($async$_async_import_cache$_canonicalize$4, $async$completer);
  47825. },
  47826. importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, quiet) {
  47827. return this.importCanonical$body$AsyncImportCache(importer, canonicalUrl, originalUrl, quiet);
  47828. },
  47829. importCanonical$3$originalUrl(importer, canonicalUrl, originalUrl) {
  47830. return this.importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, false);
  47831. },
  47832. importCanonical$body$AsyncImportCache(importer, canonicalUrl, originalUrl, quiet) {
  47833. var $async$goto = 0,
  47834. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Stylesheet),
  47835. $async$returnValue, $async$self = this;
  47836. var $async$importCanonical$4$originalUrl$quiet = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  47837. if ($async$errorCode === 1)
  47838. return A._asyncRethrow($async$result, $async$completer);
  47839. while (true)
  47840. switch ($async$goto) {
  47841. case 0:
  47842. // Function start
  47843. $async$goto = 3;
  47844. return A._asyncAwait(A.putIfAbsentAsync($async$self._async_import_cache$_importCache, canonicalUrl, new A.AsyncImportCache_importCanonical_closure($async$self, importer, canonicalUrl, originalUrl, quiet), type$.Uri, type$.nullable_Stylesheet), $async$importCanonical$4$originalUrl$quiet);
  47845. case 3:
  47846. // returning from await.
  47847. $async$returnValue = $async$result;
  47848. // goto return
  47849. $async$goto = 1;
  47850. break;
  47851. case 1:
  47852. // return
  47853. return A._asyncReturn($async$returnValue, $async$completer);
  47854. }
  47855. });
  47856. return A._asyncStartSync($async$importCanonical$4$originalUrl$quiet, $async$completer);
  47857. },
  47858. humanize$1(canonicalUrl) {
  47859. var t1 = A.IterableNullableExtension_whereNotNull(this._async_import_cache$_canonicalizeCache.get$values(0), type$.Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl),
  47860. t2 = t1.$ti;
  47861. t2 = A.NullableExtension_andThen(A.minBy(new A.MappedIterable(new A.WhereIterable(t1, 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));
  47862. return t2 == null ? canonicalUrl : t2;
  47863. },
  47864. sourceMapUrl$1(_, canonicalUrl) {
  47865. var t1 = this._async_import_cache$_resultsCache.$index(0, canonicalUrl);
  47866. t1 = t1 == null ? null : t1.get$sourceMapUrl(0);
  47867. return t1 == null ? canonicalUrl : t1;
  47868. }
  47869. };
  47870. A.AsyncImportCache_canonicalize_closure.prototype = {
  47871. call$0() {
  47872. var $async$goto = 0,
  47873. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl),
  47874. $async$returnValue, $async$self = this, t1, t2, _0_0, result;
  47875. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  47876. if ($async$errorCode === 1)
  47877. return A._asyncRethrow($async$result, $async$completer);
  47878. while (true)
  47879. switch ($async$goto) {
  47880. case 0:
  47881. // Function start
  47882. t1 = $async$self.$this;
  47883. t2 = $async$self.baseUrl;
  47884. $async$goto = 3;
  47885. return A._asyncAwait(t1._async_import_cache$_canonicalize$4($async$self.baseImporter, $async$self.resolvedUrl, t2, $async$self.forImport), $async$call$0);
  47886. case 3:
  47887. // returning from await.
  47888. _0_0 = $async$result;
  47889. result = _0_0._0;
  47890. _0_0._1;
  47891. if (t2 != null)
  47892. t1._async_import_cache$_nonCanonicalRelativeUrls.$indexSet(0, $async$self.key, $async$self.url);
  47893. $async$returnValue = result;
  47894. // goto return
  47895. $async$goto = 1;
  47896. break;
  47897. case 1:
  47898. // return
  47899. return A._asyncReturn($async$returnValue, $async$completer);
  47900. }
  47901. });
  47902. return A._asyncStartSync($async$call$0, $async$completer);
  47903. },
  47904. $signature: 292
  47905. };
  47906. A.AsyncImportCache__canonicalize_closure.prototype = {
  47907. call$0() {
  47908. return this.importer.canonicalize$1(0, this.url);
  47909. },
  47910. $signature: 187
  47911. };
  47912. A.AsyncImportCache_importCanonical_closure.prototype = {
  47913. call$0() {
  47914. var $async$goto = 0,
  47915. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Stylesheet),
  47916. $async$returnValue, $async$self = this, t3, t4, t1, t2, result;
  47917. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  47918. if ($async$errorCode === 1)
  47919. return A._asyncRethrow($async$result, $async$completer);
  47920. while (true)
  47921. switch ($async$goto) {
  47922. case 0:
  47923. // Function start
  47924. t1 = $async$self.canonicalUrl;
  47925. t2 = A._Future$value($async$self.importer.load$1(0, t1), type$.nullable_ImporterResult);
  47926. $async$goto = 3;
  47927. return A._asyncAwait(t2, $async$call$0);
  47928. case 3:
  47929. // returning from await.
  47930. result = $async$result;
  47931. if (result == null) {
  47932. $async$returnValue = null;
  47933. // goto return
  47934. $async$goto = 1;
  47935. break;
  47936. }
  47937. t2 = $async$self.$this;
  47938. t2._async_import_cache$_resultsCache.$indexSet(0, t1, result);
  47939. t3 = result.contents;
  47940. t4 = result.syntax;
  47941. t1 = $async$self.originalUrl.resolveUri$1(t1);
  47942. $async$returnValue = A.Stylesheet_Stylesheet$parse(t3, t4, $async$self.quiet ? $.$get$Logger_quiet() : t2._async_import_cache$_logger, t1);
  47943. // goto return
  47944. $async$goto = 1;
  47945. break;
  47946. case 1:
  47947. // return
  47948. return A._asyncReturn($async$returnValue, $async$completer);
  47949. }
  47950. });
  47951. return A._asyncStartSync($async$call$0, $async$completer);
  47952. },
  47953. $signature: 270
  47954. };
  47955. A.AsyncImportCache_humanize_closure.prototype = {
  47956. call$1(result) {
  47957. return J.$eq$(result._1, this.canonicalUrl);
  47958. },
  47959. $signature: 278
  47960. };
  47961. A.AsyncImportCache_humanize_closure0.prototype = {
  47962. call$1(result) {
  47963. return result._2;
  47964. },
  47965. $signature: 289
  47966. };
  47967. A.AsyncImportCache_humanize_closure1.prototype = {
  47968. call$1(url) {
  47969. return url.get$path(url).length;
  47970. },
  47971. $signature: 85
  47972. };
  47973. A.AsyncImportCache_humanize_closure2.prototype = {
  47974. call$1(url) {
  47975. var t1 = $.$get$url(),
  47976. t2 = this.canonicalUrl;
  47977. return url.resolve$1(0, A.ParsedPath_ParsedPath$parse(t2.get$path(t2), t1.style).get$basename());
  47978. },
  47979. $signature: 46
  47980. };
  47981. A.AsyncBuiltInCallable.prototype = {
  47982. callbackFor$2(positional, names) {
  47983. return new A._Record_2(this._async_built_in$_arguments, this._async_built_in$_callback);
  47984. },
  47985. $isAsyncCallable: 1,
  47986. get$name(receiver) {
  47987. return this.name;
  47988. },
  47989. get$acceptsContent() {
  47990. return this.acceptsContent;
  47991. }
  47992. };
  47993. A.AsyncBuiltInCallable$mixin_closure.prototype = {
  47994. call$1($arguments) {
  47995. return this.$call$body$AsyncBuiltInCallable$mixin_closure($arguments);
  47996. },
  47997. $call$body$AsyncBuiltInCallable$mixin_closure($arguments) {
  47998. var $async$goto = 0,
  47999. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  48000. $async$returnValue, $async$self = this, t1;
  48001. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  48002. if ($async$errorCode === 1)
  48003. return A._asyncRethrow($async$result, $async$completer);
  48004. while (true)
  48005. switch ($async$goto) {
  48006. case 0:
  48007. // Function start
  48008. t1 = $async$self.callback.call$1($arguments);
  48009. $async$goto = 3;
  48010. return A._asyncAwait(t1 instanceof A._Future ? t1 : A._Future$value(t1, type$.void), $async$call$1);
  48011. case 3:
  48012. // returning from await.
  48013. $async$returnValue = B.C__SassNull;
  48014. // goto return
  48015. $async$goto = 1;
  48016. break;
  48017. case 1:
  48018. // return
  48019. return A._asyncReturn($async$returnValue, $async$completer);
  48020. }
  48021. });
  48022. return A._asyncStartSync($async$call$1, $async$completer);
  48023. },
  48024. $signature: 258
  48025. };
  48026. A.BuiltInCallable.prototype = {
  48027. callbackFor$2(positional, names) {
  48028. var t1, t2, fuzzyMatch, minMismatchDistance, _i, overload, t3, mismatchDistance, t4;
  48029. for (t1 = this._overloads, t2 = t1.length, fuzzyMatch = null, minMismatchDistance = null, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  48030. overload = t1[_i];
  48031. t3 = overload._0;
  48032. if (t3.matches$2(positional, names))
  48033. return overload;
  48034. mismatchDistance = t3.$arguments.length - positional;
  48035. if (minMismatchDistance != null) {
  48036. t3 = Math.abs(mismatchDistance);
  48037. t4 = Math.abs(minMismatchDistance);
  48038. if (t3 > t4)
  48039. continue;
  48040. if (t3 === t4 && mismatchDistance < 0)
  48041. continue;
  48042. }
  48043. minMismatchDistance = mismatchDistance;
  48044. fuzzyMatch = overload;
  48045. }
  48046. if (fuzzyMatch != null)
  48047. return fuzzyMatch;
  48048. throw A.wrapException(A.StateError$("BuiltInCallable " + this.name + " may not have empty overloads."));
  48049. },
  48050. withName$1($name) {
  48051. return new A.BuiltInCallable($name, this._overloads, this.acceptsContent);
  48052. },
  48053. $isCallable0: 1,
  48054. $isAsyncCallable: 1,
  48055. $isAsyncBuiltInCallable: 1,
  48056. get$name(receiver) {
  48057. return this.name;
  48058. },
  48059. get$acceptsContent() {
  48060. return this.acceptsContent;
  48061. }
  48062. };
  48063. A.BuiltInCallable$mixin_closure.prototype = {
  48064. call$1($arguments) {
  48065. this.callback.call$1($arguments);
  48066. return B.C__SassNull;
  48067. },
  48068. $signature: 6
  48069. };
  48070. A.PlainCssCallable.prototype = {
  48071. $eq(_, other) {
  48072. if (other == null)
  48073. return false;
  48074. return other instanceof A.PlainCssCallable && this.name === other.name;
  48075. },
  48076. get$hashCode(_) {
  48077. return B.JSString_methods.get$hashCode(this.name);
  48078. },
  48079. $isCallable0: 1,
  48080. $isAsyncCallable: 1,
  48081. get$name(receiver) {
  48082. return this.name;
  48083. }
  48084. };
  48085. A.UserDefinedCallable.prototype = {
  48086. get$name(_) {
  48087. return this.declaration.name;
  48088. },
  48089. $isCallable0: 1,
  48090. $isAsyncCallable: 1
  48091. };
  48092. A._compileStylesheet_closure.prototype = {
  48093. call$1(url) {
  48094. var t1;
  48095. if (url === "") {
  48096. t1 = this.stylesheet.span;
  48097. 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();
  48098. } else
  48099. t1 = this.importCache.sourceMapUrl$1(0, A.Uri_parse(url)).toString$0(0);
  48100. return t1;
  48101. },
  48102. $signature: 5
  48103. };
  48104. A.CompileResult.prototype = {};
  48105. A.Configuration.prototype = {
  48106. throughForward$1($forward) {
  48107. var _0_0, _1_0, _2_0, t1, hiddenVariables,
  48108. newValues = this._configuration$_values;
  48109. if (newValues.get$isEmpty(newValues))
  48110. return B.Configuration_Map_empty_null;
  48111. _0_0 = $forward.prefix;
  48112. if (_0_0 != null)
  48113. newValues = new A.UnprefixedMapView(newValues, _0_0, type$.UnprefixedMapView_ConfiguredValue);
  48114. _1_0 = $forward.shownVariables;
  48115. if (_1_0 != null)
  48116. newValues = new A.LimitedMapView(newValues, _1_0._base.intersection$1(new A.MapKeySet(newValues, type$.MapKeySet_nullable_Object)), type$.LimitedMapView_String_ConfiguredValue);
  48117. else {
  48118. _2_0 = $forward.hiddenVariables;
  48119. if (_2_0 != null) {
  48120. t1 = _2_0._base.get$isNotEmpty(0);
  48121. hiddenVariables = _2_0;
  48122. } else {
  48123. hiddenVariables = null;
  48124. t1 = false;
  48125. }
  48126. if (t1)
  48127. newValues = A.LimitedMapView$blocklist(newValues, hiddenVariables, type$.String, type$.ConfiguredValue);
  48128. }
  48129. return this._withValues$1(newValues);
  48130. },
  48131. _withValues$1(values) {
  48132. var t1 = this.__originalConfiguration;
  48133. return new A.Configuration(values, t1 == null ? this : t1);
  48134. },
  48135. toString$0(_) {
  48136. var t2, t3,
  48137. t1 = A._setArrayType([], type$.JSArray_String);
  48138. 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();) {
  48139. t3 = t2.get$current(t2);
  48140. t1.push("$" + t3._0 + ": " + t3._1.toString$0(0));
  48141. }
  48142. return "(" + B.JSArray_methods.join$1(t1, ",") + ")";
  48143. }
  48144. };
  48145. A.ExplicitConfiguration.prototype = {
  48146. _withValues$1(values) {
  48147. var t1 = this.__originalConfiguration;
  48148. if (t1 == null)
  48149. t1 = this;
  48150. return new A.ExplicitConfiguration(this.nodeWithSpan, values, t1);
  48151. }
  48152. };
  48153. A.ConfiguredValue.prototype = {
  48154. toString$0(_) {
  48155. return A.serializeValue(this.value, true, true);
  48156. }
  48157. };
  48158. A.Deprecation.prototype = {
  48159. _enumToString$0() {
  48160. return "Deprecation." + this._name;
  48161. },
  48162. toString$0(_) {
  48163. return this.id;
  48164. }
  48165. };
  48166. A.Deprecation_fromId_closure.prototype = {
  48167. call$1(deprecation) {
  48168. return deprecation.id === this.id;
  48169. },
  48170. $signature: 301
  48171. };
  48172. A.Environment.prototype = {
  48173. closure$0() {
  48174. var t4, t5, t6, _this = this,
  48175. t1 = _this._forwardedModules,
  48176. t2 = _this._nestedForwardedModules,
  48177. t3 = _this._variables;
  48178. t3 = A._setArrayType(t3.slice(0), A._arrayInstanceType(t3));
  48179. t4 = _this._variableNodes;
  48180. t4 = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
  48181. t5 = _this._functions;
  48182. t5 = A._setArrayType(t5.slice(0), A._arrayInstanceType(t5));
  48183. t6 = _this._mixins;
  48184. t6 = A._setArrayType(t6.slice(0), A._arrayInstanceType(t6));
  48185. return A.Environment$_(_this._environment$_modules, _this._namespaceNodes, _this._globalModules, _this._importedModules, t1, t2, _this._allModules, t3, t4, t5, t6, _this._content);
  48186. },
  48187. forwardModule$2(module, rule) {
  48188. var view, t1, t2, _this = this,
  48189. forwardedModules = _this._forwardedModules;
  48190. if (forwardedModules == null)
  48191. forwardedModules = _this._forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable, type$.AstNode);
  48192. view = A.ForwardedModuleView_ifNecessary(module, rule, type$.Callable);
  48193. for (t1 = A.LinkedHashMapKeyIterator$(forwardedModules, forwardedModules.__js_helper$_modifications); t1.moveNext$0();) {
  48194. t2 = t1.__js_helper$_current;
  48195. _this._assertNoConflicts$5(view.get$variables(), t2.get$variables(), view, t2, "variable");
  48196. _this._assertNoConflicts$5(view.get$functions(view), t2.get$functions(t2), view, t2, "function");
  48197. _this._assertNoConflicts$5(view.get$mixins(), t2.get$mixins(), view, t2, "mixin");
  48198. }
  48199. _this._allModules.push(module);
  48200. forwardedModules.$indexSet(0, view, rule);
  48201. },
  48202. _assertNoConflicts$5(newMembers, oldMembers, newModule, oldModule, type) {
  48203. var larger, smaller, t1, t2, t3, t4, $name, small, large, span;
  48204. if (newMembers.get$length(newMembers) < oldMembers.get$length(oldMembers)) {
  48205. larger = oldMembers;
  48206. smaller = newMembers;
  48207. } else {
  48208. larger = newMembers;
  48209. smaller = oldMembers;
  48210. }
  48211. for (t1 = type$.String, t2 = A.MapExtensions_get_pairs(smaller, t1, type$.Object), t2 = t2.get$iterator(t2), t3 = type === "variable"; t2.moveNext$0();) {
  48212. t4 = t2.get$current(t2);
  48213. $name = t4._0;
  48214. small = t4._1;
  48215. large = larger.$index(0, $name);
  48216. if (large == null)
  48217. continue;
  48218. if (t3 ? newModule.variableIdentity$1($name) === oldModule.variableIdentity$1($name) : J.$eq$(large, small))
  48219. continue;
  48220. if (t3)
  48221. $name = "$" + $name;
  48222. t2 = this._forwardedModules;
  48223. if (t2 == null)
  48224. span = null;
  48225. else {
  48226. t2 = t2.$index(0, oldModule);
  48227. span = t2 == null ? null : J.get$span$z(t2);
  48228. }
  48229. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, t1);
  48230. if (span != null)
  48231. t2.$indexSet(0, span, "original @forward");
  48232. throw A.wrapException(A.MultiSpanSassScriptException$("Two forwarded modules both define a " + type + " named " + $name + ".", "new @forward", t2));
  48233. }
  48234. },
  48235. importForwards$1(module) {
  48236. var forwardedModules, t1, t2, t3, t4, node, t5, t6, t7, t8, t9, t10, _i, t11, shadowed, _length, _list, _this = this,
  48237. forwarded = module._environment$_environment._forwardedModules;
  48238. if (forwarded == null)
  48239. return;
  48240. forwardedModules = _this._forwardedModules;
  48241. if (forwardedModules != null) {
  48242. t1 = type$.Module_Callable;
  48243. t2 = type$.AstNode;
  48244. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  48245. for (t1 = A.MapExtensions_get_pairs(forwarded, t1, t2), t1 = t1.get$iterator(t1), t2 = _this._globalModules; t1.moveNext$0();) {
  48246. t4 = t1.get$current(t1);
  48247. module = t4._0;
  48248. node = t4._1;
  48249. if (!forwardedModules.containsKey$1(module) || !t2.containsKey$1(module))
  48250. t3.$indexSet(0, module, node);
  48251. }
  48252. forwarded = t3;
  48253. } else
  48254. forwardedModules = _this._forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable, type$.AstNode);
  48255. t1 = type$.String;
  48256. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  48257. for (t3 = A.LinkedHashMapKeyIterator$(forwarded, forwarded.__js_helper$_modifications); t3.moveNext$0();)
  48258. for (t4 = t3.__js_helper$_current.get$variables(), t4 = J.get$iterator$ax(t4.get$keys(t4)); t4.moveNext$0();)
  48259. t2.add$1(0, t4.get$current(t4));
  48260. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  48261. for (t4 = A.LinkedHashMapKeyIterator$(forwarded, forwarded.__js_helper$_modifications); t4.moveNext$0();) {
  48262. t5 = t4.__js_helper$_current;
  48263. for (t5 = t5.get$functions(t5), t5 = J.get$iterator$ax(t5.get$keys(t5)); t5.moveNext$0();)
  48264. t3.add$1(0, t5.get$current(t5));
  48265. }
  48266. t1 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  48267. for (t4 = A.LinkedHashMapKeyIterator$(forwarded, forwarded.__js_helper$_modifications); t4.moveNext$0();)
  48268. for (t5 = t4.__js_helper$_current.get$mixins(), t5 = J.get$iterator$ax(t5.get$keys(t5)); t5.moveNext$0();)
  48269. t1.add$1(0, t5.get$current(t5));
  48270. t4 = _this._variables;
  48271. t5 = t4.length;
  48272. if (t5 === 1) {
  48273. 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) {
  48274. t11 = t8[_i];
  48275. module = t11._0;
  48276. node = t11._1;
  48277. shadowed = A.ShadowedModuleView_ifNecessary(module, t3, t1, t2, t10);
  48278. if (shadowed != null) {
  48279. t5.remove$1(0, module);
  48280. t11 = shadowed.variables;
  48281. if (t11.get$isEmpty(t11)) {
  48282. t11 = shadowed.functions;
  48283. if (t11.get$isEmpty(t11)) {
  48284. t11 = shadowed.mixins;
  48285. if (t11.get$isEmpty(t11)) {
  48286. t11 = shadowed._shadowed_view$_inner;
  48287. t11 = t11.get$css(t11);
  48288. t11 = J.get$isEmpty$asx(t11.get$children(t11));
  48289. } else
  48290. t11 = false;
  48291. } else
  48292. t11 = false;
  48293. } else
  48294. t11 = false;
  48295. if (!t11)
  48296. t5.$indexSet(0, shadowed, node);
  48297. }
  48298. }
  48299. 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) {
  48300. t8 = t6[_i];
  48301. module = t8._0;
  48302. node = t8._1;
  48303. shadowed = A.ShadowedModuleView_ifNecessary(module, t3, t1, t2, t10);
  48304. if (shadowed != null) {
  48305. forwardedModules.remove$1(0, module);
  48306. t8 = shadowed.variables;
  48307. if (t8.get$isEmpty(t8)) {
  48308. t8 = shadowed.functions;
  48309. if (t8.get$isEmpty(t8)) {
  48310. t8 = shadowed.mixins;
  48311. if (t8.get$isEmpty(t8)) {
  48312. t8 = shadowed._shadowed_view$_inner;
  48313. t8 = t8.get$css(t8);
  48314. t8 = J.get$isEmpty$asx(t8.get$children(t8));
  48315. } else
  48316. t8 = false;
  48317. } else
  48318. t8 = false;
  48319. } else
  48320. t8 = false;
  48321. if (!t8)
  48322. forwardedModules.$indexSet(0, shadowed, node);
  48323. }
  48324. }
  48325. t5.addAll$1(0, forwarded);
  48326. forwardedModules.addAll$1(0, forwarded);
  48327. } else {
  48328. t6 = _this._nestedForwardedModules;
  48329. if (t6 == null) {
  48330. _length = t5 - 1;
  48331. _list = J.JSArray_JSArray$allocateGrowable(_length, type$.List_Module_Callable);
  48332. for (t5 = type$.JSArray_Module_Callable, _i = 0; _i < _length; ++_i)
  48333. _list[_i] = A._setArrayType([], t5);
  48334. _this._nestedForwardedModules = _list;
  48335. t5 = _list;
  48336. } else
  48337. t5 = t6;
  48338. B.JSArray_methods.addAll$1(B.JSArray_methods.get$last(t5), new A.LinkedHashMapKeyIterable(forwarded, A._instanceType(forwarded)._eval$1("LinkedHashMapKeyIterable<1>")));
  48339. }
  48340. for (t2 = A._LinkedHashSetIterator$(t2, t2._modifications, t2.$ti._precomputed1), t5 = _this._variableIndices, t6 = _this._variableNodes, t7 = t2.$ti._precomputed1; t2.moveNext$0();) {
  48341. t8 = t2._collection$_current;
  48342. if (t8 == null)
  48343. t8 = t7._as(t8);
  48344. t5.remove$1(0, t8);
  48345. J.remove$1$z(B.JSArray_methods.get$last(t4), t8);
  48346. J.remove$1$z(B.JSArray_methods.get$last(t6), t8);
  48347. }
  48348. for (t2 = A._LinkedHashSetIterator$(t3, t3._modifications, t3.$ti._precomputed1), t3 = _this._functionIndices, t4 = _this._functions, t5 = t2.$ti._precomputed1; t2.moveNext$0();) {
  48349. t6 = t2._collection$_current;
  48350. if (t6 == null)
  48351. t6 = t5._as(t6);
  48352. t3.remove$1(0, t6);
  48353. J.remove$1$z(B.JSArray_methods.get$last(t4), t6);
  48354. }
  48355. for (t1 = A._LinkedHashSetIterator$(t1, t1._modifications, t1.$ti._precomputed1), t2 = _this._mixinIndices, t3 = _this._mixins, t4 = t1.$ti._precomputed1; t1.moveNext$0();) {
  48356. t5 = t1._collection$_current;
  48357. if (t5 == null)
  48358. t5 = t4._as(t5);
  48359. t2.remove$1(0, t5);
  48360. J.remove$1$z(B.JSArray_methods.get$last(t3), t5);
  48361. }
  48362. },
  48363. getVariable$2$namespace($name, namespace) {
  48364. var t1, _0_0, _1_0, _this = this;
  48365. if (namespace != null)
  48366. return _this._getModule$1(namespace).get$variables().$index(0, $name);
  48367. if (_this._lastVariableName === $name) {
  48368. t1 = _this._lastVariableIndex;
  48369. t1.toString;
  48370. t1 = J.$index$asx(_this._variables[t1], $name);
  48371. return t1 == null ? _this._getVariableFromGlobalModule$1($name) : t1;
  48372. }
  48373. t1 = _this._variableIndices;
  48374. _0_0 = t1.$index(0, $name);
  48375. if (_0_0 != null) {
  48376. _this._lastVariableName = $name;
  48377. _this._lastVariableIndex = _0_0;
  48378. t1 = J.$index$asx(_this._variables[_0_0], $name);
  48379. return t1 == null ? _this._getVariableFromGlobalModule$1($name) : t1;
  48380. } else {
  48381. _1_0 = _this._variableIndex$1($name);
  48382. if (_1_0 != null) {
  48383. _this._lastVariableName = $name;
  48384. _this._lastVariableIndex = _1_0;
  48385. t1.$indexSet(0, $name, _1_0);
  48386. t1 = J.$index$asx(_this._variables[_1_0], $name);
  48387. return t1 == null ? _this._getVariableFromGlobalModule$1($name) : t1;
  48388. } else
  48389. return _this._getVariableFromGlobalModule$1($name);
  48390. }
  48391. },
  48392. getVariable$1($name) {
  48393. return this.getVariable$2$namespace($name, null);
  48394. },
  48395. _getVariableFromGlobalModule$1($name) {
  48396. return this._fromOneModule$3($name, "variable", new A.Environment__getVariableFromGlobalModule_closure($name));
  48397. },
  48398. getVariableNode$2$namespace($name, namespace) {
  48399. var t1, _0_0, _1_0, _this = this;
  48400. if (namespace != null)
  48401. return _this._getModule$1(namespace).get$variableNodes().$index(0, $name);
  48402. if (_this._lastVariableName === $name) {
  48403. t1 = _this._lastVariableIndex;
  48404. t1.toString;
  48405. t1 = J.$index$asx(_this._variableNodes[t1], $name);
  48406. return t1 == null ? _this._getVariableNodeFromGlobalModule$1($name) : t1;
  48407. }
  48408. t1 = _this._variableIndices;
  48409. _0_0 = t1.$index(0, $name);
  48410. if (_0_0 != null) {
  48411. _this._lastVariableName = $name;
  48412. _this._lastVariableIndex = _0_0;
  48413. t1 = J.$index$asx(_this._variableNodes[_0_0], $name);
  48414. return t1 == null ? _this._getVariableNodeFromGlobalModule$1($name) : t1;
  48415. } else {
  48416. _1_0 = _this._variableIndex$1($name);
  48417. if (_1_0 != null) {
  48418. _this._lastVariableName = $name;
  48419. _this._lastVariableIndex = _1_0;
  48420. t1.$indexSet(0, $name, _1_0);
  48421. t1 = J.$index$asx(_this._variableNodes[_1_0], $name);
  48422. return t1 == null ? _this._getVariableNodeFromGlobalModule$1($name) : t1;
  48423. } else
  48424. return _this._getVariableNodeFromGlobalModule$1($name);
  48425. }
  48426. },
  48427. _getVariableNodeFromGlobalModule$1($name) {
  48428. var t1, t2, _0_0;
  48429. for (t1 = this._importedModules, t2 = this._globalModules, t2 = new A.LinkedHashMapKeyIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapKeyIterable<1>")).followedBy$1(0, new A.LinkedHashMapKeyIterable(t2, A._instanceType(t2)._eval$1("LinkedHashMapKeyIterable<1>"))), t2 = new A.FollowedByIterator(J.get$iterator$ax(t2.__internal$_first), t2._second); t2.moveNext$0();) {
  48430. t1 = t2._currentIterator;
  48431. _0_0 = t1.get$current(t1).get$variableNodes().$index(0, $name);
  48432. if (_0_0 != null)
  48433. return _0_0;
  48434. }
  48435. return null;
  48436. },
  48437. globalVariableExists$2$namespace($name, namespace) {
  48438. if (namespace != null)
  48439. return this._getModule$1(namespace).get$variables().containsKey$1($name);
  48440. if (B.JSArray_methods.get$first(this._variables).containsKey$1($name))
  48441. return true;
  48442. return this._getVariableFromGlobalModule$1($name) != null;
  48443. },
  48444. globalVariableExists$1($name) {
  48445. return this.globalVariableExists$2$namespace($name, null);
  48446. },
  48447. _variableIndex$1($name) {
  48448. var t1, i;
  48449. for (t1 = this._variables, i = t1.length - 1; i >= 0; --i)
  48450. if (t1[i].containsKey$1($name))
  48451. return i;
  48452. return null;
  48453. },
  48454. setVariable$5$global$namespace($name, value, nodeWithSpan, global, namespace) {
  48455. var t1, moduleWithName, nestedForwardedModules, t2, t3, t4, t5, index, _this = this;
  48456. if (namespace != null) {
  48457. _this._getModule$1(namespace).setVariable$3($name, value, nodeWithSpan);
  48458. return;
  48459. }
  48460. if (global || _this._variables.length === 1) {
  48461. _this._variableIndices.putIfAbsent$2($name, new A.Environment_setVariable_closure(_this, $name));
  48462. t1 = _this._variables;
  48463. if (!B.JSArray_methods.get$first(t1).containsKey$1($name)) {
  48464. moduleWithName = _this._fromOneModule$3($name, "variable", new A.Environment_setVariable_closure0($name));
  48465. if (moduleWithName != null) {
  48466. moduleWithName.setVariable$3($name, value, nodeWithSpan);
  48467. return;
  48468. }
  48469. }
  48470. J.$indexSet$ax(B.JSArray_methods.get$first(t1), $name, value);
  48471. J.$indexSet$ax(B.JSArray_methods.get$first(_this._variableNodes), $name, nodeWithSpan);
  48472. return;
  48473. }
  48474. nestedForwardedModules = _this._nestedForwardedModules;
  48475. if (nestedForwardedModules != null && !_this._variableIndices.containsKey$1($name) && _this._variableIndex$1($name) == null)
  48476. 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();) {
  48477. t3 = t2.__internal$_current;
  48478. 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();) {
  48479. t5 = t3.__internal$_current;
  48480. if (t5 == null)
  48481. t5 = t4._as(t5);
  48482. if (t5.get$variables().containsKey$1($name)) {
  48483. t5.setVariable$3($name, value, nodeWithSpan);
  48484. return;
  48485. }
  48486. }
  48487. }
  48488. if (_this._lastVariableName === $name) {
  48489. t1 = _this._lastVariableIndex;
  48490. t1.toString;
  48491. index = t1;
  48492. } else
  48493. index = _this._variableIndices.putIfAbsent$2($name, new A.Environment_setVariable_closure1(_this, $name));
  48494. if (!_this._inSemiGlobalScope && index === 0) {
  48495. index = _this._variables.length - 1;
  48496. _this._variableIndices.$indexSet(0, $name, index);
  48497. }
  48498. _this._lastVariableName = $name;
  48499. _this._lastVariableIndex = index;
  48500. J.$indexSet$ax(_this._variables[index], $name, value);
  48501. J.$indexSet$ax(_this._variableNodes[index], $name, nodeWithSpan);
  48502. },
  48503. setVariable$4$global($name, value, nodeWithSpan, global) {
  48504. return this.setVariable$5$global$namespace($name, value, nodeWithSpan, global, null);
  48505. },
  48506. setLocalVariable$3($name, value, nodeWithSpan) {
  48507. var index, _this = this,
  48508. t1 = _this._variables,
  48509. t2 = t1.length;
  48510. _this._lastVariableName = $name;
  48511. index = _this._lastVariableIndex = t2 - 1;
  48512. _this._variableIndices.$indexSet(0, $name, index);
  48513. J.$indexSet$ax(t1[index], $name, value);
  48514. J.$indexSet$ax(_this._variableNodes[index], $name, nodeWithSpan);
  48515. },
  48516. getFunction$2$namespace($name, namespace) {
  48517. var t1, _0_0, _1_0, _this = this;
  48518. if (namespace != null) {
  48519. t1 = _this._getModule$1(namespace);
  48520. return t1.get$functions(t1).$index(0, $name);
  48521. }
  48522. t1 = _this._functionIndices;
  48523. _0_0 = t1.$index(0, $name);
  48524. if (_0_0 != null) {
  48525. t1 = J.$index$asx(_this._functions[_0_0], $name);
  48526. return t1 == null ? _this._getFunctionFromGlobalModule$1($name) : t1;
  48527. } else {
  48528. _1_0 = _this._functionIndex$1($name);
  48529. if (_1_0 != null) {
  48530. t1.$indexSet(0, $name, _1_0);
  48531. t1 = J.$index$asx(_this._functions[_1_0], $name);
  48532. return t1 == null ? _this._getFunctionFromGlobalModule$1($name) : t1;
  48533. } else
  48534. return _this._getFunctionFromGlobalModule$1($name);
  48535. }
  48536. },
  48537. getFunction$1($name) {
  48538. return this.getFunction$2$namespace($name, null);
  48539. },
  48540. _getFunctionFromGlobalModule$1($name) {
  48541. return this._fromOneModule$3($name, "function", new A.Environment__getFunctionFromGlobalModule_closure($name));
  48542. },
  48543. _functionIndex$1($name) {
  48544. var t1, i;
  48545. for (t1 = this._functions, i = t1.length - 1; i >= 0; --i)
  48546. if (t1[i].containsKey$1($name))
  48547. return i;
  48548. return null;
  48549. },
  48550. getMixin$2$namespace($name, namespace) {
  48551. var t1, _0_0, _1_0, _this = this;
  48552. if (namespace != null)
  48553. return _this._getModule$1(namespace).get$mixins().$index(0, $name);
  48554. t1 = _this._mixinIndices;
  48555. _0_0 = t1.$index(0, $name);
  48556. if (_0_0 != null) {
  48557. t1 = J.$index$asx(_this._mixins[_0_0], $name);
  48558. return t1 == null ? _this._getMixinFromGlobalModule$1($name) : t1;
  48559. } else {
  48560. _1_0 = _this._mixinIndex$1($name);
  48561. if (_1_0 != null) {
  48562. t1.$indexSet(0, $name, _1_0);
  48563. t1 = J.$index$asx(_this._mixins[_1_0], $name);
  48564. return t1 == null ? _this._getMixinFromGlobalModule$1($name) : t1;
  48565. } else
  48566. return _this._getMixinFromGlobalModule$1($name);
  48567. }
  48568. },
  48569. _getMixinFromGlobalModule$1($name) {
  48570. return this._fromOneModule$3($name, "mixin", new A.Environment__getMixinFromGlobalModule_closure($name));
  48571. },
  48572. _mixinIndex$1($name) {
  48573. var t1, i;
  48574. for (t1 = this._mixins, i = t1.length - 1; i >= 0; --i)
  48575. if (t1[i].containsKey$1($name))
  48576. return i;
  48577. return null;
  48578. },
  48579. withContent$2($content, callback) {
  48580. var oldContent = this._content;
  48581. this._content = $content;
  48582. callback.call$0();
  48583. this._content = oldContent;
  48584. },
  48585. asMixin$1(callback) {
  48586. var oldInMixin = this._inMixin;
  48587. this._inMixin = true;
  48588. callback.call$0();
  48589. this._inMixin = oldInMixin;
  48590. },
  48591. scope$1$3$semiGlobal$when(callback, semiGlobal, when) {
  48592. var wasInSemiGlobalScope, $name, name0, name1, t1, t2, t3, t4, t5, t6, _this = this;
  48593. semiGlobal = semiGlobal && _this._inSemiGlobalScope;
  48594. wasInSemiGlobalScope = _this._inSemiGlobalScope;
  48595. _this._inSemiGlobalScope = semiGlobal;
  48596. if (!when)
  48597. try {
  48598. t1 = callback.call$0();
  48599. return t1;
  48600. } finally {
  48601. _this._inSemiGlobalScope = wasInSemiGlobalScope;
  48602. }
  48603. t1 = _this._variables;
  48604. t2 = type$.String;
  48605. B.JSArray_methods.add$1(t1, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.Value));
  48606. t3 = _this._variableNodes;
  48607. B.JSArray_methods.add$1(t3, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.AstNode));
  48608. t4 = _this._functions;
  48609. t5 = type$.Callable;
  48610. B.JSArray_methods.add$1(t4, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  48611. t6 = _this._mixins;
  48612. B.JSArray_methods.add$1(t6, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  48613. t5 = _this._nestedForwardedModules;
  48614. if (t5 != null)
  48615. t5.push(A._setArrayType([], type$.JSArray_Module_Callable));
  48616. try {
  48617. t2 = callback.call$0();
  48618. return t2;
  48619. } finally {
  48620. _this._inSemiGlobalScope = wasInSemiGlobalScope;
  48621. _this._lastVariableIndex = _this._lastVariableName = null;
  48622. for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t1))), t2 = _this._variableIndices; t1.moveNext$0();) {
  48623. $name = t1.get$current(t1);
  48624. t2.remove$1(0, $name);
  48625. }
  48626. B.JSArray_methods.removeLast$0(t3);
  48627. for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t4))), t2 = _this._functionIndices; t1.moveNext$0();) {
  48628. name0 = t1.get$current(t1);
  48629. t2.remove$1(0, name0);
  48630. }
  48631. for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t6))), t2 = _this._mixinIndices; t1.moveNext$0();) {
  48632. name1 = t1.get$current(t1);
  48633. t2.remove$1(0, name1);
  48634. }
  48635. t1 = _this._nestedForwardedModules;
  48636. if (t1 != null)
  48637. t1.pop();
  48638. }
  48639. },
  48640. scope$1$1(callback) {
  48641. return this.scope$1$3$semiGlobal$when(callback, false, true);
  48642. },
  48643. scope$1$2$when(callback, when) {
  48644. return this.scope$1$3$semiGlobal$when(callback, false, when);
  48645. },
  48646. scope$1$2$semiGlobal(callback, semiGlobal) {
  48647. return this.scope$1$3$semiGlobal$when(callback, semiGlobal, true);
  48648. },
  48649. toImplicitConfiguration$0() {
  48650. var t2, t3, t4, i, values, nodes, t5, t6, $name, value,
  48651. t1 = type$.String,
  48652. configuration = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.ConfiguredValue);
  48653. for (t2 = this._variables, t3 = type$.Value, t4 = this._variableNodes, i = 0; i < t2.length; ++i) {
  48654. values = t2[i];
  48655. nodes = t4[i];
  48656. for (t5 = A.MapExtensions_get_pairs(values, t1, t3), t5 = t5.get$iterator(t5); t5.moveNext$0();) {
  48657. t6 = t5.get$current(t5);
  48658. $name = t6._0;
  48659. value = t6._1;
  48660. t6 = nodes.$index(0, $name);
  48661. t6.toString;
  48662. configuration.$indexSet(0, $name, new A.ConfiguredValue(value, null, t6));
  48663. }
  48664. }
  48665. return new A.Configuration(configuration, null);
  48666. },
  48667. toModule$3(css, preModuleComments, extensionStore) {
  48668. return A._EnvironmentModule__EnvironmentModule(this, css, preModuleComments, extensionStore, A.NullableExtension_andThen(this._forwardedModules, new A.Environment_toModule_closure()));
  48669. },
  48670. toDummyModule$0() {
  48671. 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_empty0, B.C_EmptyExtensionStore, A.NullableExtension_andThen(this._forwardedModules, new A.Environment_toDummyModule_closure()));
  48672. },
  48673. _getModule$1(namespace) {
  48674. var _0_0 = this._environment$_modules.$index(0, namespace);
  48675. if (_0_0 != null)
  48676. return _0_0;
  48677. throw A.wrapException(A.SassScriptException$('There is no module with the namespace "' + namespace + '".', null));
  48678. },
  48679. _fromOneModule$1$3($name, type, callback) {
  48680. var t1, t2, t3, t4, t5, _1_0, _2_0, value, identity, valueInModule, identityFromModule, module, node,
  48681. _0_0 = this._nestedForwardedModules;
  48682. if (_0_0 != null)
  48683. 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();) {
  48684. t3 = t2.__internal$_current;
  48685. 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();) {
  48686. t5 = t3.__internal$_current;
  48687. _1_0 = callback.call$1(t5 == null ? t4._as(t5) : t5);
  48688. if (_1_0 != null)
  48689. return _1_0;
  48690. }
  48691. }
  48692. for (t1 = this._importedModules, t1 = A.LinkedHashMapKeyIterator$(t1, t1.__js_helper$_modifications); t1.moveNext$0();) {
  48693. _2_0 = callback.call$1(t1.__js_helper$_current);
  48694. if (_2_0 != null)
  48695. return _2_0;
  48696. }
  48697. for (t1 = this._globalModules, t2 = A.LinkedHashMapKeyIterator$(t1, t1.__js_helper$_modifications), t3 = type$.Callable, value = null, identity = null; t2.moveNext$0();) {
  48698. t4 = t2.__js_helper$_current;
  48699. valueInModule = callback.call$1(t4);
  48700. if (valueInModule == null)
  48701. continue;
  48702. identityFromModule = t3._is(valueInModule) ? valueInModule : t4.variableIdentity$1($name);
  48703. if (identityFromModule.$eq(0, identity))
  48704. continue;
  48705. if (value != null) {
  48706. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  48707. for (t3 = A.MapExtensions_get_pairs(t1, type$.Module_Callable, type$.AstNode), t3 = t3.get$iterator(t3), t4 = "includes " + type; t3.moveNext$0();) {
  48708. t1 = t3.get$current(t3);
  48709. module = t1._0;
  48710. node = t1._1;
  48711. if (callback.call$1(module) != null)
  48712. t2.$indexSet(0, node.get$span(node), t4);
  48713. }
  48714. throw A.wrapException(A.MultiSpanSassScriptException$("This " + type + string$.x20is_av, type + " use", t2));
  48715. }
  48716. identity = identityFromModule;
  48717. value = valueInModule;
  48718. }
  48719. return value;
  48720. },
  48721. _fromOneModule$3($name, type, callback) {
  48722. return this._fromOneModule$1$3($name, type, callback, type$.dynamic);
  48723. }
  48724. };
  48725. A.Environment__getVariableFromGlobalModule_closure.prototype = {
  48726. call$1(module) {
  48727. return module.get$variables().$index(0, this.name);
  48728. },
  48729. $signature: 384
  48730. };
  48731. A.Environment_setVariable_closure.prototype = {
  48732. call$0() {
  48733. var t1 = this.$this;
  48734. t1._lastVariableName = this.name;
  48735. return t1._lastVariableIndex = 0;
  48736. },
  48737. $signature: 10
  48738. };
  48739. A.Environment_setVariable_closure0.prototype = {
  48740. call$1(module) {
  48741. return module.get$variables().containsKey$1(this.name) ? module : null;
  48742. },
  48743. $signature: 310
  48744. };
  48745. A.Environment_setVariable_closure1.prototype = {
  48746. call$0() {
  48747. var t1 = this.$this,
  48748. t2 = t1._variableIndex$1(this.name);
  48749. return t2 == null ? t1._variables.length - 1 : t2;
  48750. },
  48751. $signature: 10
  48752. };
  48753. A.Environment__getFunctionFromGlobalModule_closure.prototype = {
  48754. call$1(module) {
  48755. return module.get$functions(module).$index(0, this.name);
  48756. },
  48757. $signature: 247
  48758. };
  48759. A.Environment__getMixinFromGlobalModule_closure.prototype = {
  48760. call$1(module) {
  48761. return module.get$mixins().$index(0, this.name);
  48762. },
  48763. $signature: 247
  48764. };
  48765. A.Environment_toModule_closure.prototype = {
  48766. call$1(modules) {
  48767. return new A.MapKeySet(modules, type$.MapKeySet_Module_Callable);
  48768. },
  48769. $signature: 246
  48770. };
  48771. A.Environment_toDummyModule_closure.prototype = {
  48772. call$1(modules) {
  48773. return new A.MapKeySet(modules, type$.MapKeySet_Module_Callable);
  48774. },
  48775. $signature: 246
  48776. };
  48777. A._EnvironmentModule.prototype = {
  48778. get$url(_) {
  48779. var t1 = this.css;
  48780. t1 = t1.get$span(t1);
  48781. return t1.get$sourceUrl(t1);
  48782. },
  48783. setVariable$3($name, value, nodeWithSpan) {
  48784. var t1, t2,
  48785. _0_0 = this._modulesByVariable.$index(0, $name);
  48786. if (_0_0 != null) {
  48787. _0_0.setVariable$3($name, value, nodeWithSpan);
  48788. return;
  48789. }
  48790. t1 = this._environment$_environment;
  48791. t2 = t1._variables;
  48792. if (!B.JSArray_methods.get$first(t2).containsKey$1($name))
  48793. throw A.wrapException(A.SassScriptException$("Undefined variable.", null));
  48794. J.$indexSet$ax(B.JSArray_methods.get$first(t2), $name, value);
  48795. J.$indexSet$ax(B.JSArray_methods.get$first(t1._variableNodes), $name, nodeWithSpan);
  48796. return;
  48797. },
  48798. variableIdentity$1($name) {
  48799. var module = this._modulesByVariable.$index(0, $name);
  48800. return module == null ? this : module.variableIdentity$1($name);
  48801. },
  48802. cloneCss$0() {
  48803. var _0_0, _this = this;
  48804. if (!_this.transitivelyContainsCss)
  48805. return _this;
  48806. _0_0 = A.cloneCssStylesheet(_this.css, _this.extensionStore);
  48807. 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);
  48808. },
  48809. toString$0(_) {
  48810. var t1 = this.css,
  48811. t2 = t1.get$span(t1);
  48812. if (t2.get$sourceUrl(t2) == null)
  48813. t1 = "<unknown url>";
  48814. else {
  48815. t1 = t1.get$span(t1);
  48816. t1 = t1.get$sourceUrl(t1);
  48817. t2 = $.$get$context();
  48818. t1.toString;
  48819. t1 = t2.prettyUri$1(t1);
  48820. }
  48821. return t1;
  48822. },
  48823. $isModule0: 1,
  48824. get$upstream() {
  48825. return this.upstream;
  48826. },
  48827. get$variables() {
  48828. return this.variables;
  48829. },
  48830. get$variableNodes() {
  48831. return this.variableNodes;
  48832. },
  48833. get$functions(receiver) {
  48834. return this.functions;
  48835. },
  48836. get$mixins() {
  48837. return this.mixins;
  48838. },
  48839. get$extensionStore() {
  48840. return this.extensionStore;
  48841. },
  48842. get$css(receiver) {
  48843. return this.css;
  48844. },
  48845. get$preModuleComments() {
  48846. return this.preModuleComments;
  48847. },
  48848. get$transitivelyContainsCss() {
  48849. return this.transitivelyContainsCss;
  48850. },
  48851. get$transitivelyContainsExtensions() {
  48852. return this.transitivelyContainsExtensions;
  48853. }
  48854. };
  48855. A._EnvironmentModule__EnvironmentModule_closure.prototype = {
  48856. call$1(module) {
  48857. return module.get$variables();
  48858. },
  48859. $signature: 316
  48860. };
  48861. A._EnvironmentModule__EnvironmentModule_closure0.prototype = {
  48862. call$1(module) {
  48863. return module.get$variableNodes();
  48864. },
  48865. $signature: 319
  48866. };
  48867. A._EnvironmentModule__EnvironmentModule_closure1.prototype = {
  48868. call$1(module) {
  48869. return module.get$functions(module);
  48870. },
  48871. $signature: 237
  48872. };
  48873. A._EnvironmentModule__EnvironmentModule_closure2.prototype = {
  48874. call$1(module) {
  48875. return module.get$mixins();
  48876. },
  48877. $signature: 237
  48878. };
  48879. A._EnvironmentModule__EnvironmentModule_closure3.prototype = {
  48880. call$1(module) {
  48881. return module.get$transitivelyContainsCss();
  48882. },
  48883. $signature: 130
  48884. };
  48885. A._EnvironmentModule__EnvironmentModule_closure4.prototype = {
  48886. call$1(module) {
  48887. return module.get$transitivelyContainsExtensions();
  48888. },
  48889. $signature: 130
  48890. };
  48891. A.SassException.prototype = {
  48892. get$trace(_) {
  48893. return A.Trace$(A._setArrayType([A.frameForSpan(A.SourceSpanException.prototype.get$span.call(this, 0), "root stylesheet", null)], type$.JSArray_Frame), null);
  48894. },
  48895. get$span(_) {
  48896. return A.SourceSpanException.prototype.get$span.call(this, 0);
  48897. },
  48898. withAdditionalSpan$2(span, label) {
  48899. 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);
  48900. },
  48901. withTrace$1(trace) {
  48902. var t1 = A.SourceSpanException.prototype.get$span.call(this, 0),
  48903. t2 = A.Set_Set$unmodifiable(this.loadedUrls, type$.Uri);
  48904. return new A.SassRuntimeException(trace, t2, this._span_exception$_message, t1);
  48905. },
  48906. withLoadedUrls$1(loadedUrls) {
  48907. var t1 = A.SourceSpanException.prototype.get$span.call(this, 0),
  48908. t2 = A.Set_Set$unmodifiable(loadedUrls, type$.Uri);
  48909. return new A.SassException(t2, this._span_exception$_message, t1);
  48910. },
  48911. toString$1$color(_, color) {
  48912. var t2, _i, frame, t3, _this = this,
  48913. buffer = new A.StringBuffer(""),
  48914. t1 = "" + ("Error: " + _this._span_exception$_message + "\n");
  48915. buffer._contents = t1;
  48916. buffer._contents = t1 + A.SourceSpanException.prototype.get$span.call(_this, 0).highlight$1$color(color);
  48917. for (t1 = _this.get$trace(_this).toString$0(0).split("\n"), t2 = t1.length, _i = 0; _i < t2; ++_i) {
  48918. frame = t1[_i];
  48919. if (J.get$length$asx(frame) === 0)
  48920. continue;
  48921. t3 = buffer._contents += "\n";
  48922. buffer._contents = t3 + (" " + A.S(frame));
  48923. }
  48924. t1 = buffer._contents;
  48925. return t1.charCodeAt(0) == 0 ? t1 : t1;
  48926. },
  48927. toString$0(_) {
  48928. return this.toString$1$color(0, null);
  48929. },
  48930. toCssString$0() {
  48931. var commentMessage, stringMessage, rune,
  48932. t1 = $._glyphs,
  48933. t2 = $._glyphs = B.C_AsciiGlyphSet,
  48934. t3 = this.toString$1$color(0, false);
  48935. t3 = A.stringReplaceAllUnchecked(t3, "*/", "*\u2215");
  48936. commentMessage = A.stringReplaceAllUnchecked(t3, "\r\n", "\n");
  48937. $._glyphs = t1 === B.C_AsciiGlyphSet ? t2 : B.C_UnicodeGlyphSet;
  48938. stringMessage = new A.StringBuffer("");
  48939. for (t1 = new A.RuneIterator(A.serializeValue(new A.SassString(this.toString$1$color(0, false), true), true, true)); t1.moveNext$0();) {
  48940. rune = t1._currentCodePoint;
  48941. if (rune > 127) {
  48942. t2 = A.Primitives_stringFromCharCode(92);
  48943. stringMessage._contents += t2;
  48944. t2 = B.JSInt_methods.toRadixString$1(rune, 16);
  48945. stringMessage._contents += t2;
  48946. t2 = A.Primitives_stringFromCharCode(32);
  48947. stringMessage._contents += t2;
  48948. } else {
  48949. t2 = A.Primitives_stringFromCharCode(rune);
  48950. stringMessage._contents += t2;
  48951. }
  48952. }
  48953. 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}";
  48954. }
  48955. };
  48956. A.MultiSpanSassException.prototype = {
  48957. withAdditionalSpan$2(span, label) {
  48958. var _this = this,
  48959. t1 = A.SourceSpanException.prototype.get$span.call(_this, 0),
  48960. t2 = A.LinkedHashMap_LinkedHashMap$of(_this.secondarySpans, type$.FileSpan, type$.String);
  48961. t2.$indexSet(0, span, label);
  48962. return A.MultiSpanSassException$(_this._span_exception$_message, t1, _this.primaryLabel, t2, _this.loadedUrls);
  48963. },
  48964. withTrace$1(trace) {
  48965. var _this = this;
  48966. return A.MultiSpanSassRuntimeException$(_this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(_this, 0), _this.primaryLabel, _this.secondarySpans, trace, _this.loadedUrls);
  48967. },
  48968. withLoadedUrls$1(loadedUrls) {
  48969. var _this = this;
  48970. return A.MultiSpanSassException$(_this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(_this, 0), _this.primaryLabel, _this.secondarySpans, loadedUrls);
  48971. },
  48972. toString$1$color(_, color) {
  48973. var t1, t2, _i, frame, t3, _this = this,
  48974. useColor = color === true,
  48975. buffer = new A.StringBuffer("Error: " + _this._span_exception$_message + "\n");
  48976. 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));
  48977. for (t1 = _this.get$trace(_this).toString$0(0).split("\n"), t2 = t1.length, _i = 0; _i < t2; ++_i) {
  48978. frame = t1[_i];
  48979. if (J.get$length$asx(frame) === 0)
  48980. continue;
  48981. buffer._contents += "\n";
  48982. t3 = " " + A.S(frame);
  48983. buffer._contents += t3;
  48984. }
  48985. t1 = buffer._contents;
  48986. return t1.charCodeAt(0) == 0 ? t1 : t1;
  48987. },
  48988. toString$0(_) {
  48989. return this.toString$1$color(0, null);
  48990. },
  48991. get$primaryLabel() {
  48992. return this.primaryLabel;
  48993. },
  48994. get$secondarySpans() {
  48995. return this.secondarySpans;
  48996. }
  48997. };
  48998. A.SassRuntimeException.prototype = {
  48999. withAdditionalSpan$2(span, label) {
  49000. var _this = this;
  49001. 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);
  49002. },
  49003. withLoadedUrls$1(loadedUrls) {
  49004. var t1 = A.SourceSpanException.prototype.get$span.call(this, 0),
  49005. t2 = A.Set_Set$unmodifiable(loadedUrls, type$.Uri);
  49006. return new A.SassRuntimeException(this.trace, t2, this._span_exception$_message, t1);
  49007. },
  49008. get$trace(receiver) {
  49009. return this.trace;
  49010. }
  49011. };
  49012. A.MultiSpanSassRuntimeException.prototype = {
  49013. withAdditionalSpan$2(span, label) {
  49014. var _this = this,
  49015. t1 = A.SourceSpanException.prototype.get$span.call(_this, 0),
  49016. t2 = A.LinkedHashMap_LinkedHashMap$of(_this.secondarySpans, type$.FileSpan, type$.String);
  49017. t2.$indexSet(0, span, label);
  49018. return A.MultiSpanSassRuntimeException$(_this._span_exception$_message, t1, _this.primaryLabel, t2, _this.trace, _this.loadedUrls);
  49019. },
  49020. withLoadedUrls$1(loadedUrls) {
  49021. var _this = this;
  49022. return A.MultiSpanSassRuntimeException$(_this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(_this, 0), _this.primaryLabel, _this.secondarySpans, _this.trace, loadedUrls);
  49023. },
  49024. $isSassRuntimeException: 1,
  49025. get$trace(receiver) {
  49026. return this.trace;
  49027. }
  49028. };
  49029. A.SassFormatException.prototype = {
  49030. get$source() {
  49031. var t1 = A.SourceSpanException.prototype.get$span.call(this, 0);
  49032. return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.get$file(t1)._decodedChars, 0, null), 0, null);
  49033. },
  49034. withAdditionalSpan$2(span, label) {
  49035. 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);
  49036. },
  49037. withLoadedUrls$1(loadedUrls) {
  49038. var t1 = A.SourceSpanException.prototype.get$span.call(this, 0),
  49039. t2 = A.Set_Set$unmodifiable(loadedUrls, type$.Uri);
  49040. return new A.SassFormatException(t2, this._span_exception$_message, t1);
  49041. },
  49042. $isFormatException: 1,
  49043. $isSourceSpanFormatException: 1
  49044. };
  49045. A.MultiSpanSassFormatException.prototype = {
  49046. get$source() {
  49047. var t1 = A.SourceSpanException.prototype.get$span.call(this, 0);
  49048. return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.get$file(t1)._decodedChars, 0, null), 0, null);
  49049. },
  49050. withAdditionalSpan$2(span, label) {
  49051. var _this = this,
  49052. t1 = A.SourceSpanException.prototype.get$span.call(_this, 0),
  49053. t2 = A.LinkedHashMap_LinkedHashMap$of(_this.secondarySpans, type$.FileSpan, type$.String);
  49054. t2.$indexSet(0, span, label);
  49055. return A.MultiSpanSassFormatException$(_this._span_exception$_message, t1, _this.primaryLabel, t2, _this.loadedUrls);
  49056. },
  49057. withLoadedUrls$1(loadedUrls) {
  49058. var _this = this;
  49059. return A.MultiSpanSassFormatException$(_this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(_this, 0), _this.primaryLabel, _this.secondarySpans, loadedUrls);
  49060. },
  49061. $isFormatException: 1,
  49062. $isSassFormatException: 1,
  49063. $isSourceSpanFormatException: 1,
  49064. $isMultiSourceSpanFormatException: 1
  49065. };
  49066. A.SassScriptException.prototype = {
  49067. withSpan$1(span) {
  49068. return new A.SassException(B.Set_empty, this.message, span);
  49069. },
  49070. toString$0(_) {
  49071. return this.message + string$.x0a_BUG_;
  49072. },
  49073. get$message(receiver) {
  49074. return this.message;
  49075. }
  49076. };
  49077. A.MultiSpanSassScriptException.prototype = {
  49078. withSpan$1(span) {
  49079. return A.MultiSpanSassException$(this.message, span, this.primaryLabel, this.secondarySpans, null);
  49080. }
  49081. };
  49082. A._writeSourceMap_closure.prototype = {
  49083. call$1(url) {
  49084. return this.options.sourceMapUrl$2(0, A.Uri_parse(url), this.destination).toString$0(0);
  49085. },
  49086. $signature: 5
  49087. };
  49088. A.ExecutableOptions.prototype = {
  49089. get$interactive() {
  49090. var result, _this = this,
  49091. value = _this.__ExecutableOptions_interactive_FI;
  49092. if (value === $) {
  49093. result = new A.ExecutableOptions_interactive_closure(_this).call$0();
  49094. _this.__ExecutableOptions_interactive_FI !== $ && A.throwUnnamedLateFieldADI();
  49095. _this.__ExecutableOptions_interactive_FI = result;
  49096. value = result;
  49097. }
  49098. return value;
  49099. },
  49100. get$color() {
  49101. var t1 = this._options;
  49102. return t1.wasParsed$1("color") ? A._asBool(t1.$index(0, "color")) : A.hasTerminal();
  49103. },
  49104. get$pkgImporters() {
  49105. var t2, t3, t4, _null = null,
  49106. t1 = A._setArrayType([], type$.JSArray_Importer);
  49107. for (t2 = J.get$iterator$ax(type$.List_String._as(this._options.$index(0, "pkg-importer"))); t2.moveNext$0();) {
  49108. t2.get$current(t2);
  49109. t3 = new A.NodePackageImporter();
  49110. t4 = self.process;
  49111. if (t4 == null)
  49112. t4 = _null;
  49113. else {
  49114. t4 = J.get$release$x(t4);
  49115. t4 = t4 == null ? _null : J.get$name$x(t4);
  49116. }
  49117. if (!J.$eq$(t4, "node") && self.document != null && typeof self.document.querySelector == "function")
  49118. A.throwExpression(string$.The_No);
  49119. t3.__NodePackageImporter__entryPointDirectory_F = $.$get$context().absolute$15(".", _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  49120. t1.push(t3);
  49121. }
  49122. return t1;
  49123. },
  49124. get$emitErrorCss() {
  49125. var t1 = A._asBoolQ(this._options.$index(0, "error-css"));
  49126. if (t1 == null) {
  49127. this._ensureSources$0();
  49128. t1 = this._sourcesToDestinations;
  49129. t1 = t1.get$values(t1).any$1(0, new A.ExecutableOptions_emitErrorCss_closure());
  49130. }
  49131. return t1;
  49132. },
  49133. _ensureSources$0() {
  49134. 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,
  49135. _s18_ = 'Duplicate source "';
  49136. if (_this._sourcesToDestinations != null)
  49137. return;
  49138. t1 = _this._options;
  49139. stdin = A._asBool(t1.$index(0, "stdin"));
  49140. t2 = t1.rest;
  49141. if (t2.get$length(0) === 0 && !stdin)
  49142. A.ExecutableOptions__fail("Compile Sass to CSS.");
  49143. t3 = type$.String;
  49144. $directories = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  49145. 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();) {
  49146. t7 = t6.__internal$_current;
  49147. if (t7 == null)
  49148. t7 = t4._as(t7);
  49149. t8 = t7.length;
  49150. if (t8 === 0)
  49151. A.ExecutableOptions__fail('Invalid argument "".');
  49152. if (A.stringContainsUnchecked(t7, ":", 0)) {
  49153. if (t8 > 2) {
  49154. t9 = t7.charCodeAt(0);
  49155. if (!(t9 >= 97 && t9 <= 122))
  49156. t9 = t9 >= 65 && t9 <= 90;
  49157. else
  49158. t9 = true;
  49159. t9 = t9 && t7.charCodeAt(1) === 58;
  49160. } else
  49161. t9 = false;
  49162. if (t9) {
  49163. if (2 > t8)
  49164. A.throwExpression(A.RangeError$range(2, 0, t8, _null, _null));
  49165. t8 = A.stringContainsUnchecked(t7, ":", 2);
  49166. } else
  49167. t8 = true;
  49168. } else
  49169. t8 = false;
  49170. if (t8)
  49171. colonArgs = true;
  49172. else if (A.dirExists(t7))
  49173. $directories.add$1(0, t7);
  49174. else
  49175. positionalArgs = true;
  49176. }
  49177. if (positionalArgs || t2.get$length(0) === 0) {
  49178. if (colonArgs)
  49179. A.ExecutableOptions__fail('Positional and ":" arguments may not both be used.');
  49180. else if (stdin) {
  49181. if (J.get$length$asx(t2._collection$_source) > 1)
  49182. A.ExecutableOptions__fail("Only one argument is allowed with --stdin.");
  49183. else if (A._asBool(t1.$index(0, "update")))
  49184. A.ExecutableOptions__fail("--update is not allowed with --stdin.");
  49185. else if (A._asBool(t1.$index(0, "watch")))
  49186. A.ExecutableOptions__fail("--watch is not allowed with --stdin.");
  49187. t1 = t2.get$length(0) === 0 ? _null : t2.get$first(t2);
  49188. t2 = type$.dynamic;
  49189. t3 = type$.nullable_String;
  49190. _this._sourcesToDestinations = A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_literal([null, t1], t2, t2), t3, t3);
  49191. } else {
  49192. t3 = t2._collection$_source;
  49193. t4 = J.getInterceptor$asx(t3);
  49194. if (t4.get$length(t3) > 2)
  49195. A.ExecutableOptions__fail("Only two positional args may be passed.");
  49196. else if ($directories._collection$_length !== 0) {
  49197. message = 'Directory "' + A.S($directories.get$first(0)) + '" may not be a positional arg.';
  49198. target = t2.get$last(t2);
  49199. A.ExecutableOptions__fail(J.$eq$($directories.get$first(0), t2.get$first(t2)) && !A.fileExists(target) ? message + ('\nTo compile all CSS in "' + A.S($directories.get$first(0)) + '" to "' + target + '", use `sass ' + A.S($directories.get$first(0)) + ":" + target + "`.") : message);
  49200. } else {
  49201. source = J.$eq$(t2.get$first(t2), "-") ? _null : t2.get$first(t2);
  49202. destination = t4.get$length(t3) === 1 ? _null : t2.get$last(t2);
  49203. if (destination == null)
  49204. if (A._asBool(t1.$index(0, "update")))
  49205. A.ExecutableOptions__fail("--update is not allowed when printing to stdout.");
  49206. else if (A._asBool(t1.$index(0, "watch")))
  49207. A.ExecutableOptions__fail("--watch is not allowed when printing to stdout.");
  49208. t1 = A.PathMap__create(_null, type$.nullable_String);
  49209. t1.$indexSet(0, source, destination);
  49210. _this._sourcesToDestinations = new A.UnmodifiableMapView(new A.PathMap(t1, type$.PathMap_nullable_String), type$.UnmodifiableMapView_of_nullable_String_and_nullable_String);
  49211. }
  49212. }
  49213. _this.__ExecutableOptions__sourceDirectoriesToDestinations_F !== $ && A.throwUnnamedLateFieldAI();
  49214. _this.__ExecutableOptions__sourceDirectoriesToDestinations_F = B.Map_empty;
  49215. return;
  49216. }
  49217. if (stdin)
  49218. A.ExecutableOptions__fail('--stdin may not be used with ":" arguments.');
  49219. seen = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  49220. t1 = A.PathMap__create(_null, t3);
  49221. t6 = type$.PathMap_String;
  49222. t3 = A.PathMap__create(_null, t3);
  49223. for (t2 = new A.ListIterator(t2, t2.get$length(0), t5); t2.moveNext$0();) {
  49224. t5 = t2.__internal$_current;
  49225. if (t5 == null)
  49226. t5 = t4._as(t5);
  49227. if ($directories.contains$1(0, t5)) {
  49228. if (!seen.add$1(0, t5))
  49229. A.ExecutableOptions__fail(_s18_ + t5 + '".');
  49230. t3.$indexSet(0, t5, t5);
  49231. t1.addAll$1(0, _this._listSourceDirectory$2(t5, t5));
  49232. continue;
  49233. }
  49234. _0_0 = _this._splitSourceAndDestination$1(t5);
  49235. source = _0_0._0;
  49236. destination = _0_0._1;
  49237. if (!seen.add$1(0, source))
  49238. A.ExecutableOptions__fail(_s18_ + source + '".');
  49239. if (source === "-")
  49240. t1.$indexSet(0, _null, destination);
  49241. else if (A.dirExists(source)) {
  49242. t3.$indexSet(0, source, destination);
  49243. t1.addAll$1(0, _this._listSourceDirectory$2(source, destination));
  49244. } else
  49245. t1.$indexSet(0, source, destination);
  49246. }
  49247. _this._sourcesToDestinations = new A.UnmodifiableMapView(new A.PathMap(t1, t6), type$.UnmodifiableMapView_of_nullable_String_and_nullable_String);
  49248. _this.__ExecutableOptions__sourceDirectoriesToDestinations_F !== $ && A.throwUnnamedLateFieldAI();
  49249. _this.__ExecutableOptions__sourceDirectoriesToDestinations_F = new A.UnmodifiableMapView(new A.PathMap(t3, t6), type$.UnmodifiableMapView_of_nullable_String_and_String);
  49250. },
  49251. _splitSourceAndDestination$1(argument) {
  49252. var t1, i, t2, t3, nextColon;
  49253. for (t1 = argument.length, i = 0; i < t1; ++i) {
  49254. if (i === 1) {
  49255. t2 = i - 1;
  49256. if (t1 > t2 + 2) {
  49257. t3 = argument.charCodeAt(t2);
  49258. if (!(t3 >= 97 && t3 <= 122))
  49259. t3 = t3 >= 65 && t3 <= 90;
  49260. else
  49261. t3 = true;
  49262. t2 = t3 && argument.charCodeAt(t2 + 1) === 58;
  49263. } else
  49264. t2 = false;
  49265. } else
  49266. t2 = false;
  49267. if (t2)
  49268. continue;
  49269. if (argument.charCodeAt(i) === 58) {
  49270. t2 = i + 1;
  49271. nextColon = B.JSString_methods.indexOf$2(argument, ":", t2);
  49272. if (nextColon === i + 2)
  49273. if (t1 > t2 + 2) {
  49274. t1 = argument.charCodeAt(t2);
  49275. if (!(t1 >= 97 && t1 <= 122))
  49276. t1 = t1 >= 65 && t1 <= 90;
  49277. else
  49278. t1 = true;
  49279. t1 = t1 && argument.charCodeAt(t2 + 1) === 58;
  49280. } else
  49281. t1 = false;
  49282. else
  49283. t1 = false;
  49284. if ((t1 ? B.JSString_methods.indexOf$2(argument, ":", nextColon + 1) : nextColon) !== -1)
  49285. A.ExecutableOptions__fail('"' + argument + '" may only contain one ":".');
  49286. return new A._Record_2(B.JSString_methods.substring$2(argument, 0, i), B.JSString_methods.substring$1(argument, t2));
  49287. }
  49288. }
  49289. throw A.wrapException(A.ArgumentError$('Expected "' + argument + '" to contain a colon.', null));
  49290. },
  49291. _listSourceDirectory$2(source, destination) {
  49292. var t2, t3, t4, t5,
  49293. t1 = type$.String;
  49294. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  49295. for (t2 = J.get$iterator$ax(A.listDir(source, true)), t3 = source === destination; t2.moveNext$0();) {
  49296. t4 = t2.get$current(t2);
  49297. if (this._isEntrypoint$1(t4))
  49298. t5 = !(t3 && A.ParsedPath_ParsedPath$parse(t4, $.$get$context().style)._splitExtension$1(1)[1] === ".css");
  49299. else
  49300. t5 = false;
  49301. if (t5) {
  49302. t5 = $.$get$context();
  49303. t1.$indexSet(0, t4, A.join(destination, t5.withoutExtension$1(t5.relative$2$from(t4, source)) + ".css", null));
  49304. }
  49305. }
  49306. return t1;
  49307. },
  49308. _isEntrypoint$1(path) {
  49309. var extension,
  49310. t1 = $.$get$context().style;
  49311. if (B.JSString_methods.startsWith$1(A.ParsedPath_ParsedPath$parse(path, t1).get$basename(), "_"))
  49312. return false;
  49313. extension = A.ParsedPath_ParsedPath$parse(path, t1)._splitExtension$1(1)[1];
  49314. return extension === ".scss" || extension === ".sass" || extension === ".css";
  49315. },
  49316. get$_writeToStdout() {
  49317. var t1, _this = this;
  49318. _this._ensureSources$0();
  49319. t1 = _this._sourcesToDestinations;
  49320. if (t1.get$length(t1) === 1) {
  49321. _this._ensureSources$0();
  49322. t1 = _this._sourcesToDestinations;
  49323. t1 = t1.get$values(t1);
  49324. t1 = t1.get$single(t1) == null;
  49325. } else
  49326. t1 = false;
  49327. return t1;
  49328. },
  49329. get$emitSourceMap() {
  49330. var _this = this,
  49331. _s10_ = "source-map",
  49332. _s15_ = "source-map-urls",
  49333. _s13_ = "embed-sources",
  49334. _s16_ = "embed-source-map",
  49335. t1 = _this._options;
  49336. if (!A._asBool(t1.$index(0, _s10_)))
  49337. if (t1.wasParsed$1(_s15_))
  49338. A.ExecutableOptions__fail("--source-map-urls isn't allowed with --no-source-map.");
  49339. else if (t1.wasParsed$1(_s13_))
  49340. A.ExecutableOptions__fail("--embed-sources isn't allowed with --no-source-map.");
  49341. else if (t1.wasParsed$1(_s16_))
  49342. A.ExecutableOptions__fail("--embed-source-map isn't allowed with --no-source-map.");
  49343. if (!_this.get$_writeToStdout())
  49344. return A._asBool(t1.$index(0, _s10_));
  49345. if (J.$eq$(_this._ifParsed$1(_s15_), "relative"))
  49346. A.ExecutableOptions__fail("--source-map-urls=relative isn't allowed when printing to stdout.");
  49347. if (A._asBool(t1.$index(0, _s16_)))
  49348. return A._asBool(t1.$index(0, _s10_));
  49349. else if (J.$eq$(_this._ifParsed$1(_s10_), true))
  49350. A.ExecutableOptions__fail("When printing to stdout, --source-map requires --embed-source-map.");
  49351. else if (t1.wasParsed$1(_s15_))
  49352. A.ExecutableOptions__fail("When printing to stdout, --source-map-urls requires --embed-source-map.");
  49353. else if (A._asBool(t1.$index(0, _s13_)))
  49354. A.ExecutableOptions__fail("When printing to stdout, --embed-sources requires --embed-source-map.");
  49355. else
  49356. return false;
  49357. },
  49358. sourceMapUrl$2(_, url, destination) {
  49359. var t1, path, t2, _null = null;
  49360. if (url.get$scheme().length !== 0 && url.get$scheme() !== "file")
  49361. return url;
  49362. t1 = $.$get$context();
  49363. path = t1.style.pathFromUri$1(A._parseUri(url));
  49364. if (J.$eq$(this._options.$index(0, "source-map-urls"), "relative") && !this.get$_writeToStdout()) {
  49365. destination.toString;
  49366. t2 = t1.relative$2$from(path, t1.dirname$1(destination));
  49367. } else
  49368. t2 = A.absolute(path, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  49369. return t1.toUri$1(t2);
  49370. },
  49371. get$silenceDeprecations(_) {
  49372. var t2, t3, t4,
  49373. t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.Deprecation);
  49374. for (t2 = J.get$iterator$ax(type$.List_String._as(this._options.$index(0, "silence-deprecation"))); t2.moveNext$0();) {
  49375. t3 = t2.get$current(t2);
  49376. t4 = A.Deprecation_fromId(t3);
  49377. t1.add$1(0, t4 == null ? A.ExecutableOptions__fail('Invalid deprecation "' + t3 + '".') : t4);
  49378. }
  49379. return t1;
  49380. },
  49381. get$fatalDeprecations(_) {
  49382. var t1 = this._fatalDeprecations;
  49383. return t1 == null ? this._fatalDeprecations = new A.ExecutableOptions_fatalDeprecations_closure(this).call$0() : t1;
  49384. },
  49385. get$futureDeprecations(_) {
  49386. var t2, t3, t4,
  49387. t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.Deprecation);
  49388. for (t2 = J.get$iterator$ax(type$.List_String._as(this._options.$index(0, "future-deprecation"))); t2.moveNext$0();) {
  49389. t3 = t2.get$current(t2);
  49390. t4 = A.Deprecation_fromId(t3);
  49391. t1.add$1(0, t4 == null ? A.ExecutableOptions__fail('Invalid deprecation "' + t3 + '".') : t4);
  49392. }
  49393. return t1;
  49394. },
  49395. _ifParsed$1($name) {
  49396. var t1 = this._options;
  49397. return t1.wasParsed$1($name) ? t1.$index(0, $name) : null;
  49398. }
  49399. };
  49400. A.ExecutableOptions__parser_closure.prototype = {
  49401. call$0() {
  49402. var t1 = type$.String,
  49403. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Option),
  49404. t3 = [],
  49405. 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);
  49406. parser.addOption$2$hide("precision", true);
  49407. parser.addFlag$2$hide("async", true);
  49408. t3.push(A.ExecutableOptions__separator("Input and Output"));
  49409. parser.addFlag$2$help("stdin", "Read the stylesheet from stdin.");
  49410. parser.addFlag$2$help("indented", "Use the indented syntax for input from stdin.");
  49411. parser.addMultiOption$5$abbr$help$splitCommas$valueHelp("load-path", "I", "A path to use when resolving imports.\nMay be passed multiple times.", false, "PATH");
  49412. t2 = type$.JSArray_String;
  49413. 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");
  49414. parser.addOption$6$abbr$allowed$defaultsTo$help$valueHelp("style", "s", A._setArrayType(["expanded", "compressed"], t2), "expanded", "Output style.", "NAME");
  49415. parser.addFlag$3$defaultsTo$help("charset", true, "Emit a @charset or BOM for CSS with non-ASCII characters.");
  49416. 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.");
  49417. parser.addFlag$3$help$negatable("update", "Only compile out-of-date stylesheets.", false);
  49418. t3.push(A.ExecutableOptions__separator("Source Maps"));
  49419. parser.addFlag$3$defaultsTo$help("source-map", true, "Whether to generate source maps.");
  49420. parser.addOption$4$allowed$defaultsTo$help("source-map-urls", A._setArrayType(["relative", "absolute"], t2), "relative", "How to link from source maps to source files.");
  49421. parser.addFlag$3$defaultsTo$help("embed-sources", false, "Embed source file contents in source maps.");
  49422. parser.addFlag$3$defaultsTo$help("embed-source-map", false, "Embed source map contents in CSS.");
  49423. t3.push(A.ExecutableOptions__separator("Warnings"));
  49424. parser.addFlag$3$abbr$help("quiet", "q", "Don't print warnings.");
  49425. parser.addFlag$2$help("quiet-deps", "Don't print compiler warnings from dependencies.\nStylesheets imported through load paths count as dependencies.");
  49426. parser.addFlag$2$help("verbose", "Print all deprecation warnings even when they're repetitive.");
  49427. 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.");
  49428. parser.addMultiOption$2$help("silence-deprecation", "Deprecations to ignore.");
  49429. parser.addMultiOption$2$help("future-deprecation", "Opt in to a deprecation early.");
  49430. t3.push(A.ExecutableOptions__separator("Other"));
  49431. parser.addFlag$4$abbr$help$negatable("watch", "w", "Watch stylesheets and recompile when they change.", false);
  49432. parser.addFlag$2$help("poll", "Manually check for changes rather than using a native watcher.\nOnly valid with --watch.");
  49433. parser.addFlag$2$help("stop-on-error", "Don't compile more files once an error is encountered.");
  49434. parser.addFlag$4$abbr$help$negatable("interactive", "i", "Run an interactive SassScript shell.", false);
  49435. parser.addFlag$3$abbr$help("color", "c", "Whether to use terminal colors for messages.");
  49436. parser.addFlag$2$help("unicode", "Whether to use Unicode characters for messages.");
  49437. parser.addFlag$2$help("trace", "Print full Dart stack traces for exceptions.");
  49438. parser.addFlag$4$abbr$help$negatable("help", "h", "Print this usage information.", false);
  49439. parser.addFlag$3$help$negatable("version", "Print the version of Dart Sass.", false);
  49440. return parser;
  49441. },
  49442. $signature: 328
  49443. };
  49444. A.ExecutableOptions_interactive_closure.prototype = {
  49445. call$0() {
  49446. var _0_0,
  49447. t1 = this.$this._options;
  49448. if (!A._asBool(t1.$index(0, "interactive")))
  49449. return false;
  49450. _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());
  49451. if (_0_0 != null)
  49452. throw A.wrapException(A.UsageException$("--" + _0_0 + " isn't allowed with --interactive."));
  49453. return true;
  49454. },
  49455. $signature: 30
  49456. };
  49457. A.ExecutableOptions_emitErrorCss_closure.prototype = {
  49458. call$1(destination) {
  49459. return destination != null;
  49460. },
  49461. $signature: 257
  49462. };
  49463. A.ExecutableOptions_fatalDeprecations_closure.prototype = {
  49464. call$0() {
  49465. var id, argVersion, sassVersion, t1, t2, _0_0, exception,
  49466. deprecations = A.LinkedHashSet_LinkedHashSet$_empty(type$.Deprecation);
  49467. for (t1 = J.get$iterator$ax(type$.List_String._as(this.$this._options.$index(0, "fatal-deprecation"))), t2 = type$.FormatException; t1.moveNext$0();) {
  49468. id = t1.get$current(t1);
  49469. _0_0 = A.Deprecation_fromId(id);
  49470. if (_0_0 != null) {
  49471. J.add$1$ax(deprecations, _0_0);
  49472. continue;
  49473. }
  49474. try {
  49475. argVersion = A.Version_Version$parse(id);
  49476. sassVersion = A.Version_Version$parse("1.77.2");
  49477. if (J.compareTo$1$ns(argVersion, sassVersion) > 0)
  49478. A.ExecutableOptions__fail("Invalid version " + A.S(argVersion) + ". --fatal-deprecation requires a version less than or equal to the current Dart Sass version.");
  49479. J.addAll$1$ax(deprecations, A.Deprecation_forVersion(argVersion));
  49480. } catch (exception) {
  49481. if (t2._is(A.unwrapException(exception)))
  49482. A.ExecutableOptions__fail('Invalid deprecation "' + A.S(id) + '".');
  49483. else
  49484. throw exception;
  49485. }
  49486. }
  49487. return deprecations;
  49488. },
  49489. $signature: 330
  49490. };
  49491. A.UsageException.prototype = {$isException: 1,
  49492. get$message(receiver) {
  49493. return this.message;
  49494. }
  49495. };
  49496. A.watch_closure.prototype = {
  49497. call$1(dir) {
  49498. for (; !A.dirExists(dir);)
  49499. dir = $.$get$context().dirname$1(dir);
  49500. return this.dirWatcher.watch$1(0, dir);
  49501. },
  49502. $signature: 332
  49503. };
  49504. A._Watcher.prototype = {
  49505. _delete$1(path) {
  49506. var buffer, t1, exception;
  49507. try {
  49508. A.deleteFile(path);
  49509. buffer = new A.StringBuffer("");
  49510. t1 = this._watch$_options;
  49511. if (t1.get$color())
  49512. buffer._contents += "\x1b[33m";
  49513. buffer._contents += "Deleted " + path + ".";
  49514. if (t1.get$color())
  49515. buffer._contents += "\x1b[0m";
  49516. A.print(buffer);
  49517. } catch (exception) {
  49518. if (!(A.unwrapException(exception) instanceof A.FileSystemException))
  49519. throw exception;
  49520. }
  49521. },
  49522. watch$1(_, watcher) {
  49523. return this.watch$body$_Watcher(0, watcher);
  49524. },
  49525. watch$body$_Watcher(_, watcher) {
  49526. var $async$goto = 0,
  49527. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  49528. $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, $event, extension, success, success0, success1, t2, t1;
  49529. var $async$watch$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  49530. if ($async$errorCode === 1) {
  49531. $async$currentError = $async$result;
  49532. $async$goto = $async$handler;
  49533. }
  49534. while (true)
  49535. switch ($async$goto) {
  49536. case 0:
  49537. // Function start
  49538. t1 = watcher._group.__StreamGroup__controller_A;
  49539. t1 === $ && A.throwUnnamedLateFieldNI();
  49540. t1 = new A._StreamIterator(A.checkNotNullable($async$self._debounceEvents$1(new A._ControllerStream(t1, A._instanceType(t1)._eval$1("_ControllerStream<1>"))), "stream", type$.Object));
  49541. $async$handler = 3;
  49542. t2 = $async$self._watch$_options._options;
  49543. case 6:
  49544. // for condition
  49545. $async$goto = 8;
  49546. return A._asyncAwait(t1.moveNext$0(), $async$watch$1);
  49547. case 8:
  49548. // returning from await.
  49549. if (!$async$result) {
  49550. // goto after for
  49551. $async$goto = 7;
  49552. break;
  49553. }
  49554. $event = t1.get$current(0);
  49555. extension = A.ParsedPath_ParsedPath$parse($event.path, $.$get$context().style)._splitExtension$1(1)[1];
  49556. if (!J.$eq$(extension, ".sass") && !J.$eq$(extension, ".scss") && !J.$eq$(extension, ".css")) {
  49557. // goto for condition
  49558. $async$goto = 6;
  49559. break;
  49560. }
  49561. case 9:
  49562. // switch
  49563. switch ($event.type) {
  49564. case B.ChangeType_modify:
  49565. // goto case
  49566. $async$goto = 11;
  49567. break;
  49568. case B.ChangeType_add:
  49569. // goto case
  49570. $async$goto = 12;
  49571. break;
  49572. case B.ChangeType_remove:
  49573. // goto case
  49574. $async$goto = 13;
  49575. break;
  49576. default:
  49577. // goto after switch
  49578. $async$goto = 10;
  49579. break;
  49580. }
  49581. break;
  49582. case 11:
  49583. // case
  49584. $async$goto = 14;
  49585. return A._asyncAwait($async$self._handleModify$1($event.path), $async$watch$1);
  49586. case 14:
  49587. // returning from await.
  49588. success = $async$result;
  49589. if (!success && A._asBool(t2.$index(0, "stop-on-error"))) {
  49590. $async$next = [1];
  49591. // goto finally
  49592. $async$goto = 4;
  49593. break;
  49594. }
  49595. // goto after switch
  49596. $async$goto = 10;
  49597. break;
  49598. case 12:
  49599. // case
  49600. $async$goto = 15;
  49601. return A._asyncAwait($async$self._handleAdd$1($event.path), $async$watch$1);
  49602. case 15:
  49603. // returning from await.
  49604. success0 = $async$result;
  49605. if (!success0 && A._asBool(t2.$index(0, "stop-on-error"))) {
  49606. $async$next = [1];
  49607. // goto finally
  49608. $async$goto = 4;
  49609. break;
  49610. }
  49611. // goto after switch
  49612. $async$goto = 10;
  49613. break;
  49614. case 13:
  49615. // case
  49616. $async$goto = 16;
  49617. return A._asyncAwait($async$self._handleRemove$1($event.path), $async$watch$1);
  49618. case 16:
  49619. // returning from await.
  49620. success1 = $async$result;
  49621. if (!success1 && A._asBool(t2.$index(0, "stop-on-error"))) {
  49622. $async$next = [1];
  49623. // goto finally
  49624. $async$goto = 4;
  49625. break;
  49626. }
  49627. // goto after switch
  49628. $async$goto = 10;
  49629. break;
  49630. case 10:
  49631. // after switch
  49632. // goto for condition
  49633. $async$goto = 6;
  49634. break;
  49635. case 7:
  49636. // after for
  49637. $async$next.push(5);
  49638. // goto finally
  49639. $async$goto = 4;
  49640. break;
  49641. case 3:
  49642. // uncaught
  49643. $async$next = [2];
  49644. case 4:
  49645. // finally
  49646. $async$handler = 2;
  49647. $async$goto = 17;
  49648. return A._asyncAwait(t1.cancel$0(), $async$watch$1);
  49649. case 17:
  49650. // returning from await.
  49651. // goto the next finally handler
  49652. $async$goto = $async$next.pop();
  49653. break;
  49654. case 5:
  49655. // after finally
  49656. case 1:
  49657. // return
  49658. return A._asyncReturn($async$returnValue, $async$completer);
  49659. case 2:
  49660. // rethrow
  49661. return A._asyncRethrow($async$currentError, $async$completer);
  49662. }
  49663. });
  49664. return A._asyncStartSync($async$watch$1, $async$completer);
  49665. },
  49666. _handleModify$1(path) {
  49667. return this._handleModify$body$_Watcher(path);
  49668. },
  49669. _handleModify$body$_Watcher(path) {
  49670. var $async$goto = 0,
  49671. $async$completer = A._makeAsyncAwaitCompleter(type$.bool),
  49672. $async$returnValue, $async$self = this, t2, t0, url, _0_0, t1;
  49673. var $async$_handleModify$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  49674. if ($async$errorCode === 1)
  49675. return A._asyncRethrow($async$result, $async$completer);
  49676. while (true)
  49677. switch ($async$goto) {
  49678. case 0:
  49679. // Function start
  49680. t1 = A.isNodeJs() ? self.process : null;
  49681. if (!J.$eq$(t1 == null ? null : J.get$platform$x(t1), "win32")) {
  49682. t1 = A.isNodeJs() ? self.process : null;
  49683. t1 = J.$eq$(t1 == null ? null : J.get$platform$x(t1), "darwin");
  49684. } else
  49685. t1 = true;
  49686. if (t1) {
  49687. t1 = $.$get$context();
  49688. t2 = A._realCasePath(A.absolute(t1.normalize$1(path), null, null, null, null, null, null, null, null, null, null, null, null, null, null));
  49689. t0 = t2;
  49690. t2 = t1;
  49691. t1 = t0;
  49692. } else {
  49693. t1 = $.$get$context();
  49694. t2 = t1.canonicalize$1(0, path);
  49695. t0 = t2;
  49696. t2 = t1;
  49697. t1 = t0;
  49698. }
  49699. url = t2.toUri$1(t1);
  49700. t1 = $async$self._graph;
  49701. _0_0 = t1._nodes.$index(0, url);
  49702. $async$goto = _0_0 != null ? 3 : 5;
  49703. break;
  49704. case 3:
  49705. // then
  49706. t1.reload$1(url);
  49707. $async$goto = 6;
  49708. return A._asyncAwait($async$self._recompileDownstream$1(A._setArrayType([_0_0], type$.JSArray_StylesheetNode)), $async$_handleModify$1);
  49709. case 6:
  49710. // returning from await.
  49711. $async$returnValue = $async$result;
  49712. // goto return
  49713. $async$goto = 1;
  49714. break;
  49715. // goto join
  49716. $async$goto = 4;
  49717. break;
  49718. case 5:
  49719. // else
  49720. $async$returnValue = $async$self._handleAdd$1(path);
  49721. // goto return
  49722. $async$goto = 1;
  49723. break;
  49724. case 4:
  49725. // join
  49726. case 1:
  49727. // return
  49728. return A._asyncReturn($async$returnValue, $async$completer);
  49729. }
  49730. });
  49731. return A._asyncStartSync($async$_handleModify$1, $async$completer);
  49732. },
  49733. _handleAdd$1(path) {
  49734. return this._handleAdd$body$_Watcher(path);
  49735. },
  49736. _handleAdd$body$_Watcher(path) {
  49737. var $async$goto = 0,
  49738. $async$completer = A._makeAsyncAwaitCompleter(type$.bool),
  49739. $async$returnValue, $async$self = this, t1, success, t2, t3, t0, destination;
  49740. var $async$_handleAdd$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  49741. if ($async$errorCode === 1)
  49742. return A._asyncRethrow($async$result, $async$completer);
  49743. while (true)
  49744. switch ($async$goto) {
  49745. case 0:
  49746. // Function start
  49747. destination = $async$self._destinationFor$1(path);
  49748. $async$goto = destination != null ? 3 : 5;
  49749. break;
  49750. case 3:
  49751. // then
  49752. t1 = type$.nullable_String;
  49753. $async$goto = 6;
  49754. return A._asyncAwait(A.compileStylesheets($async$self._watch$_options, $async$self._graph, A.LinkedHashMap_LinkedHashMap$_literal([path, destination], t1, t1), true), $async$_handleAdd$1);
  49755. case 6:
  49756. // returning from await.
  49757. success = $async$result;
  49758. // goto join
  49759. $async$goto = 4;
  49760. break;
  49761. case 5:
  49762. // else
  49763. success = true;
  49764. case 4:
  49765. // join
  49766. t1 = $.$get$FilesystemImporter_cwd();
  49767. t2 = A.isNodeJs() ? self.process : null;
  49768. if (!J.$eq$(t2 == null ? null : J.get$platform$x(t2), "win32")) {
  49769. t2 = A.isNodeJs() ? self.process : null;
  49770. t2 = J.$eq$(t2 == null ? null : J.get$platform$x(t2), "darwin");
  49771. } else
  49772. t2 = true;
  49773. if (t2) {
  49774. t2 = $.$get$context();
  49775. t3 = A._realCasePath(A.absolute(t2.normalize$1(path), null, null, null, null, null, null, null, null, null, null, null, null, null, null));
  49776. t0 = t3;
  49777. t3 = t2;
  49778. t2 = t0;
  49779. } else {
  49780. t2 = $.$get$context();
  49781. t3 = t2.canonicalize$1(0, path);
  49782. t0 = t3;
  49783. t3 = t2;
  49784. t2 = t0;
  49785. }
  49786. $async$goto = 7;
  49787. return A._asyncAwait($async$self._recompileDownstream$1($async$self._graph.addCanonical$3(t1, t3.toUri$1(t2), t3.toUri$1(path))), $async$_handleAdd$1);
  49788. case 7:
  49789. // returning from await.
  49790. $async$returnValue = $async$result && success;
  49791. // goto return
  49792. $async$goto = 1;
  49793. break;
  49794. case 1:
  49795. // return
  49796. return A._asyncReturn($async$returnValue, $async$completer);
  49797. }
  49798. });
  49799. return A._asyncStartSync($async$_handleAdd$1, $async$completer);
  49800. },
  49801. _handleRemove$1(path) {
  49802. return this._handleRemove$body$_Watcher(path);
  49803. },
  49804. _handleRemove$body$_Watcher(path) {
  49805. var $async$goto = 0,
  49806. $async$completer = A._makeAsyncAwaitCompleter(type$.bool),
  49807. $async$returnValue, $async$self = this, t2, t0, url, _0_0, t3, node, toRecompile, t1;
  49808. var $async$_handleRemove$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  49809. if ($async$errorCode === 1)
  49810. return A._asyncRethrow($async$result, $async$completer);
  49811. while (true)
  49812. switch ($async$goto) {
  49813. case 0:
  49814. // Function start
  49815. t1 = A.isNodeJs() ? self.process : null;
  49816. if (!J.$eq$(t1 == null ? null : J.get$platform$x(t1), "win32")) {
  49817. t1 = A.isNodeJs() ? self.process : null;
  49818. t1 = J.$eq$(t1 == null ? null : J.get$platform$x(t1), "darwin");
  49819. } else
  49820. t1 = true;
  49821. if (t1) {
  49822. t1 = $.$get$context();
  49823. t2 = A._realCasePath(A.absolute(t1.normalize$1(path), null, null, null, null, null, null, null, null, null, null, null, null, null, null));
  49824. t0 = t2;
  49825. t2 = t1;
  49826. t1 = t0;
  49827. } else {
  49828. t1 = $.$get$context();
  49829. t2 = t1.canonicalize$1(0, path);
  49830. t0 = t2;
  49831. t2 = t1;
  49832. t1 = t0;
  49833. }
  49834. url = t2.toUri$1(t1);
  49835. t1 = $async$self._graph;
  49836. t2 = t1._nodes;
  49837. if (t2.containsKey$1(url)) {
  49838. _0_0 = $async$self._destinationFor$1(path);
  49839. if (_0_0 != null)
  49840. $async$self._delete$1(_0_0);
  49841. }
  49842. t3 = $.$get$FilesystemImporter_cwd();
  49843. node = t2.remove$1(0, url);
  49844. t2 = node != null;
  49845. if (t2) {
  49846. t1._transitiveModificationTimes.clear$0(0);
  49847. t1.importCache.clearImport$1(url);
  49848. node._stylesheet_graph$_remove$0();
  49849. }
  49850. toRecompile = t1._recanonicalizeImports$2(t3, url);
  49851. if (t2)
  49852. toRecompile.addAll$1(0, node._downstream);
  49853. $async$goto = 3;
  49854. return A._asyncAwait($async$self._recompileDownstream$1(toRecompile), $async$_handleRemove$1);
  49855. case 3:
  49856. // returning from await.
  49857. $async$returnValue = $async$result;
  49858. // goto return
  49859. $async$goto = 1;
  49860. break;
  49861. case 1:
  49862. // return
  49863. return A._asyncReturn($async$returnValue, $async$completer);
  49864. }
  49865. });
  49866. return A._asyncStartSync($async$_handleRemove$1, $async$completer);
  49867. },
  49868. _debounceEvents$1(events) {
  49869. var t1 = type$.WatchEvent;
  49870. t1 = A.RateLimit__debounceAggregate(events, A.Duration$(25), A.instantiate1(A.rate_limit___collect$closure(), t1), false, true, t1, type$.List_WatchEvent);
  49871. return new A._ExpandStream(new A._Watcher__debounceEvents_closure(), t1, A._instanceType(t1)._eval$1("_ExpandStream<Stream.T,WatchEvent>"));
  49872. },
  49873. _recompileDownstream$1(nodes) {
  49874. return this._recompileDownstream$body$_Watcher(nodes);
  49875. },
  49876. _recompileDownstream$body$_Watcher(nodes) {
  49877. var $async$goto = 0,
  49878. $async$completer = A._makeAsyncAwaitCompleter(type$.bool),
  49879. $async$returnValue, $async$self = this, t1, t2, t3, t4, t5, allSucceeded, t6, t7, t8, sourcesToDestinations, success, _i, seen;
  49880. var $async$_recompileDownstream$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  49881. if ($async$errorCode === 1)
  49882. return A._asyncRethrow($async$result, $async$completer);
  49883. while (true)
  49884. switch ($async$goto) {
  49885. case 0:
  49886. // Function start
  49887. seen = A.LinkedHashSet_LinkedHashSet$_empty(type$.StylesheetNode);
  49888. t1 = type$.UnmodifiableSetView_StylesheetNode, t2 = type$.JSArray_StylesheetNode, t3 = $async$self._watch$_options, t4 = $async$self._graph, t5 = t3._options, allSucceeded = true;
  49889. case 3:
  49890. // for condition
  49891. if (!(t6 = J.getInterceptor$asx(nodes), t6.get$isNotEmpty(nodes))) {
  49892. // goto after for
  49893. $async$goto = 5;
  49894. break;
  49895. }
  49896. t7 = A._setArrayType([], t2);
  49897. for (t6 = t6.get$iterator(nodes); t6.moveNext$0();) {
  49898. t8 = t6.get$current(t6);
  49899. if (seen.add$1(0, t8))
  49900. t7.push(t8);
  49901. }
  49902. sourcesToDestinations = $async$self._sourceEntrypointsToDestinations$1(t7);
  49903. $async$goto = sourcesToDestinations.__js_helper$_length !== 0 ? 6 : 7;
  49904. break;
  49905. case 6:
  49906. // then
  49907. $async$goto = 8;
  49908. return A._asyncAwait(A.compileStylesheets(t3, t4, sourcesToDestinations, true), $async$_recompileDownstream$1);
  49909. case 8:
  49910. // returning from await.
  49911. success = $async$result;
  49912. if (!success && A._asBool(t5.$index(0, "stop-on-error"))) {
  49913. $async$returnValue = false;
  49914. // goto return
  49915. $async$goto = 1;
  49916. break;
  49917. }
  49918. allSucceeded = allSucceeded && success;
  49919. case 7:
  49920. // join
  49921. t6 = A._setArrayType([], t2);
  49922. for (t8 = t7.length, _i = 0; _i < t7.length; t7.length === t8 || (0, A.throwConcurrentModificationError)(t7), ++_i)
  49923. B.JSArray_methods.addAll$1(t6, new A.UnmodifiableSetView0(t7[_i]._downstream, t1));
  49924. case 4:
  49925. // for update
  49926. nodes = t6;
  49927. // goto for condition
  49928. $async$goto = 3;
  49929. break;
  49930. case 5:
  49931. // after for
  49932. $async$returnValue = allSucceeded;
  49933. // goto return
  49934. $async$goto = 1;
  49935. break;
  49936. case 1:
  49937. // return
  49938. return A._asyncReturn($async$returnValue, $async$completer);
  49939. }
  49940. });
  49941. return A._asyncStartSync($async$_recompileDownstream$1, $async$completer);
  49942. },
  49943. _sourceEntrypointsToDestinations$1(nodes) {
  49944. var _i, url, source, _0_0,
  49945. t1 = type$.String,
  49946. entrypoints = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  49947. for (t1 = nodes.length, _i = 0; _i < nodes.length; nodes.length === t1 || (0, A.throwConcurrentModificationError)(nodes), ++_i) {
  49948. url = nodes[_i].canonicalUrl;
  49949. if (url.get$scheme() !== "file")
  49950. continue;
  49951. source = $.$get$context().style.pathFromUri$1(A._parseUri(url));
  49952. _0_0 = this._destinationFor$1(source);
  49953. if (_0_0 != null)
  49954. entrypoints.$indexSet(0, source, _0_0);
  49955. }
  49956. return entrypoints;
  49957. },
  49958. _destinationFor$1(source) {
  49959. var t2, _0_0, t3, sourceDir, destinationDir, destination,
  49960. t1 = this._watch$_options;
  49961. t1._ensureSources$0();
  49962. t2 = type$.String;
  49963. _0_0 = t1._sourcesToDestinations.cast$2$0(0, t2, t2).$index(0, source);
  49964. if (_0_0 != null)
  49965. return _0_0;
  49966. t3 = $.$get$context();
  49967. if (B.JSString_methods.startsWith$1(A.ParsedPath_ParsedPath$parse(source, t3.style).get$basename(), "_"))
  49968. return null;
  49969. t1._ensureSources$0();
  49970. t1 = t1.__ExecutableOptions__sourceDirectoriesToDestinations_F;
  49971. t1 === $ && A.throwUnnamedLateFieldNI();
  49972. t2 = A.MapExtensions_get_pairs(t1.cast$2$0(0, t2, t2), t2, t2);
  49973. t2 = t2.get$iterator(t2);
  49974. for (; t2.moveNext$0();) {
  49975. t1 = t2.get$current(t2);
  49976. sourceDir = t1._0;
  49977. destinationDir = t1._1;
  49978. if (t3._isWithinOrEquals$2(sourceDir, source) !== B._PathRelation_within)
  49979. continue;
  49980. destination = A.join(destinationDir, t3.withoutExtension$1(t3.relative$2$from(source, sourceDir)) + ".css", null);
  49981. if (t3._isWithinOrEquals$2(destination, source) !== B._PathRelation_equal)
  49982. return destination;
  49983. }
  49984. return null;
  49985. }
  49986. };
  49987. A._Watcher__debounceEvents_closure.prototype = {
  49988. call$1(buffer) {
  49989. var t3, t4, t5, oldType, newType, _1_1,
  49990. t1 = type$.ChangeType,
  49991. t2 = A.PathMap__create(null, t1);
  49992. for (t3 = J.get$iterator$ax(buffer); t3.moveNext$0();) {
  49993. t4 = t3.get$current(t3);
  49994. t5 = t4.path;
  49995. oldType = t2.$index(0, t5);
  49996. newType = t4.type;
  49997. $label0$0: {
  49998. if (oldType == null) {
  49999. t4 = newType;
  50000. break $label0$0;
  50001. }
  50002. if (B.ChangeType_remove === newType) {
  50003. t4 = B.ChangeType_remove;
  50004. break $label0$0;
  50005. }
  50006. if (B.ChangeType_add === oldType) {
  50007. t4 = B.ChangeType_add;
  50008. break $label0$0;
  50009. }
  50010. t4 = B.ChangeType_modify;
  50011. break $label0$0;
  50012. }
  50013. t2.$indexSet(0, t5, t4);
  50014. }
  50015. t3 = A._setArrayType([], type$.JSArray_WatchEvent);
  50016. 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();) {
  50017. t2 = t1.get$current(t1);
  50018. _1_1 = t2._0;
  50019. t4 = _1_1;
  50020. t4.toString;
  50021. _1_1.toString;
  50022. t3.push(new A.WatchEvent(t2._1, _1_1));
  50023. }
  50024. return t3;
  50025. },
  50026. $signature: 334
  50027. };
  50028. A.EmptyExtensionStore.prototype = {
  50029. get$_extensions() {
  50030. return A.throwExpression(A.NoSuchMethodError_NoSuchMethodError$withInvocation(this, A.JSInvocationMirror$(B.Symbol__extensions, "get$_empty_extension_store$_extensions", 1, [], [], 0)));
  50031. },
  50032. get$_sourceSpecificity() {
  50033. return A.throwExpression(A.NoSuchMethodError_NoSuchMethodError$withInvocation(this, A.JSInvocationMirror$(B.Symbol__sourceSpecificity, "get$_empty_extension_store$_sourceSpecificity", 1, [], [], 0)));
  50034. },
  50035. get$isEmpty(_) {
  50036. return true;
  50037. },
  50038. get$simpleSelectors() {
  50039. return B.C_EmptyUnmodifiableSet;
  50040. },
  50041. extensionsWhereTarget$1(callback) {
  50042. return B.List_empty5;
  50043. },
  50044. addExtensions$1(extenders) {
  50045. throw A.wrapException(A.UnsupportedError$(string$.addExt));
  50046. },
  50047. clone$0() {
  50048. return B.Record2_EmptyExtensionStore_Map_empty;
  50049. },
  50050. $isExtensionStore: 1
  50051. };
  50052. A.Extension.prototype = {
  50053. toString$0(_) {
  50054. var t1 = this.extender.toString$0(0),
  50055. t2 = this.target.toString$0(0),
  50056. t3 = this.isOptional ? " !optional" : "";
  50057. return t1 + " {@extend " + t2 + t3 + "}";
  50058. }
  50059. };
  50060. A.Extender.prototype = {
  50061. assertCompatibleMediaContext$1(mediaContext) {
  50062. var expectedMediaContext,
  50063. extension = this._extension;
  50064. if (extension == null)
  50065. return;
  50066. expectedMediaContext = extension.mediaContext;
  50067. if (expectedMediaContext == null)
  50068. return;
  50069. if (mediaContext != null && B.C_ListEquality.equals$2(0, expectedMediaContext, mediaContext))
  50070. return;
  50071. throw A.wrapException(A.SassException$(string$.You_ma, extension.span, null));
  50072. },
  50073. toString$0(_) {
  50074. return A.serializeSelector(this.selector, true);
  50075. }
  50076. };
  50077. A.ExtensionStore.prototype = {
  50078. get$isEmpty(_) {
  50079. return this._extensions.__js_helper$_length === 0;
  50080. },
  50081. get$simpleSelectors() {
  50082. return new A.MapKeySet(this._selectors, type$.MapKeySet_SimpleSelector);
  50083. },
  50084. extensionsWhereTarget$1(callback) {
  50085. return new A._SyncStarIterable(this.extensionsWhereTarget$body$ExtensionStore(callback), type$._SyncStarIterable_Extension);
  50086. },
  50087. extensionsWhereTarget$body$ExtensionStore($async$callback) {
  50088. var $async$self = this;
  50089. return function() {
  50090. var callback = $async$callback;
  50091. var $async$goto = 0, $async$handler = 1, $async$currentError, t1, t2, simple, sources, t3;
  50092. return function $async$extensionsWhereTarget$1($async$iterator, $async$errorCode, $async$result) {
  50093. if ($async$errorCode === 1) {
  50094. $async$currentError = $async$result;
  50095. $async$goto = $async$handler;
  50096. }
  50097. while (true)
  50098. switch ($async$goto) {
  50099. case 0:
  50100. // Function start
  50101. t1 = A.MapExtensions_get_pairs($async$self._extensions, type$.SimpleSelector, type$.Map_ComplexSelector_Extension), t1 = t1.get$iterator(t1);
  50102. case 2:
  50103. // for condition
  50104. if (!t1.moveNext$0()) {
  50105. // goto after for
  50106. $async$goto = 3;
  50107. break;
  50108. }
  50109. t2 = t1.get$current(t1);
  50110. simple = t2._0;
  50111. sources = t2._1;
  50112. if (!callback.call$1(simple)) {
  50113. // goto for condition
  50114. $async$goto = 2;
  50115. break;
  50116. }
  50117. t2 = sources.get$values(sources), t2 = t2.get$iterator(t2);
  50118. case 4:
  50119. // for condition
  50120. if (!t2.moveNext$0()) {
  50121. // goto after for
  50122. $async$goto = 5;
  50123. break;
  50124. }
  50125. t3 = t2.get$current(t2);
  50126. $async$goto = t3 instanceof A.MergedExtension ? 6 : 8;
  50127. break;
  50128. case 6:
  50129. // then
  50130. t3 = t3.unmerge$0();
  50131. $async$goto = 9;
  50132. return $async$iterator._yieldStar$1(new A.WhereIterable(t3, new A.ExtensionStore_extensionsWhereTarget_closure(), t3.$ti._eval$1("WhereIterable<Iterable.E>")));
  50133. case 9:
  50134. // after yield
  50135. // goto join
  50136. $async$goto = 7;
  50137. break;
  50138. case 8:
  50139. // else
  50140. $async$goto = !t3.isOptional ? 10 : 11;
  50141. break;
  50142. case 10:
  50143. // then
  50144. $async$goto = 12;
  50145. return $async$iterator._async$_current = t3, 1;
  50146. case 12:
  50147. // after yield
  50148. case 11:
  50149. // join
  50150. case 7:
  50151. // join
  50152. // goto for condition
  50153. $async$goto = 4;
  50154. break;
  50155. case 5:
  50156. // after for
  50157. // goto for condition
  50158. $async$goto = 2;
  50159. break;
  50160. case 3:
  50161. // after for
  50162. // implicit return
  50163. return 0;
  50164. case 1:
  50165. // rethrow
  50166. return $async$iterator._datum = $async$currentError, 3;
  50167. }
  50168. };
  50169. };
  50170. },
  50171. addSelector$2(selector, mediaContext) {
  50172. var originalSelector, error, stackTrace, t1, exception, t2, t3, t4, modifiableSelector, _this = this;
  50173. selector = selector;
  50174. originalSelector = selector;
  50175. if (!originalSelector.accept$1(B._IsInvisibleVisitor_true))
  50176. _this._originals.addAll$1(0, originalSelector.components);
  50177. t1 = _this._extensions;
  50178. if (t1.__js_helper$_length !== 0)
  50179. try {
  50180. selector = _this._extendList$3(originalSelector, t1, mediaContext);
  50181. } catch (exception) {
  50182. t1 = A.unwrapException(exception);
  50183. if (t1 instanceof A.SassException) {
  50184. error = t1;
  50185. stackTrace = A.getTraceFromException(exception);
  50186. t1 = error;
  50187. t2 = J.getInterceptor$z(t1);
  50188. t1 = A.SourceSpanException.prototype.get$span.call(t2, t1).message$1(0, "");
  50189. t2 = error._span_exception$_message;
  50190. t3 = error;
  50191. t4 = J.getInterceptor$z(t3);
  50192. t3 = A.SourceSpanException.prototype.get$span.call(t4, t3);
  50193. A.throwWithTrace(new A.SassException(B.Set_empty, "From " + t1 + "\n" + t2, t3), error, stackTrace);
  50194. } else
  50195. throw exception;
  50196. }
  50197. modifiableSelector = new A.ModifiableBox(selector, type$.ModifiableBox_SelectorList);
  50198. if (mediaContext != null)
  50199. _this._mediaContexts.$indexSet(0, modifiableSelector, mediaContext);
  50200. _this._registerSelector$2(selector, modifiableSelector);
  50201. return new A.Box(modifiableSelector, type$.Box_SelectorList);
  50202. },
  50203. _registerSelector$2(list, selector) {
  50204. var t1, t2, t3, t4, _i, t5, t6, _i0, t7, t8, _i1, simple, _0_2_isSet, _0_2, t9, selectorInPseudo;
  50205. for (t1 = list.components, t2 = t1.length, t3 = this._selectors, t4 = type$.SelectorList, _i = 0; _i < t2; ++_i)
  50206. for (t5 = t1[_i].components, t6 = t5.length, _i0 = 0; _i0 < t6; ++_i0)
  50207. for (t7 = t5[_i0].selector.components, t8 = t7.length, _i1 = 0; _i1 < t8; ++_i1) {
  50208. simple = t7[_i1];
  50209. J.add$1$ax(t3.putIfAbsent$2(simple, new A.ExtensionStore__registerSelector_closure()), selector);
  50210. _0_2_isSet = simple instanceof A.PseudoSelector;
  50211. if (_0_2_isSet) {
  50212. _0_2 = simple.selector;
  50213. t9 = _0_2 != null;
  50214. } else {
  50215. _0_2 = null;
  50216. t9 = false;
  50217. }
  50218. if (t9) {
  50219. selectorInPseudo = _0_2_isSet ? _0_2 : simple.selector;
  50220. this._registerSelector$2(selectorInPseudo == null ? t4._as(selectorInPseudo) : selectorInPseudo, selector);
  50221. }
  50222. }
  50223. },
  50224. addExtension$4(extender, target, extend, mediaContext) {
  50225. var t2, t3, t4, t5, t6, t7, t8, t9, t10, newExtensions, _i, complex, t11, extension, _0_0, t12, newExtensionsByTarget, additionalExtensions, _this = this,
  50226. selectors = _this._selectors.$index(0, target),
  50227. t1 = _this._extensionsByExtender,
  50228. existingExtensions = t1.$index(0, target),
  50229. sources = _this._extensions.putIfAbsent$2(target, new A.ExtensionStore_addExtension_closure());
  50230. 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) {
  50231. complex = t2[_i];
  50232. if (complex.accept$1(B.C__IsUselessVisitor))
  50233. continue;
  50234. complex.get$specificity();
  50235. t11 = new A.Extender(complex, false);
  50236. extension = t11._extension = new A.Extension(t11, target, mediaContext, t7, t6);
  50237. _0_0 = sources.$index(0, complex);
  50238. if (_0_0 != null) {
  50239. sources.$indexSet(0, complex, A.MergedExtension_merge(_0_0, extension));
  50240. continue;
  50241. }
  50242. sources.$indexSet(0, complex, extension);
  50243. for (t11 = new A._SyncStarIterator(_this._simpleSelectors$1(complex)._outerHelper()); t11.moveNext$0();) {
  50244. t12 = t11._async$_current;
  50245. J.add$1$ax(t1.putIfAbsent$2(t12, new A.ExtensionStore_addExtension_closure0()), extension);
  50246. t5.putIfAbsent$2(t12, new A.ExtensionStore_addExtension_closure1(complex));
  50247. }
  50248. if (!t4 || t8) {
  50249. if (newExtensions == null)
  50250. newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t9, t10);
  50251. newExtensions.$indexSet(0, complex, extension);
  50252. }
  50253. }
  50254. if (newExtensions == null)
  50255. return;
  50256. t1 = type$.SimpleSelector;
  50257. newExtensionsByTarget = A.LinkedHashMap_LinkedHashMap$_literal([target, newExtensions], t1, type$.Map_ComplexSelector_Extension);
  50258. if (t8) {
  50259. additionalExtensions = _this._extendExistingExtensions$2(existingExtensions, newExtensionsByTarget);
  50260. if (additionalExtensions != null)
  50261. A.mapAddAll2(newExtensionsByTarget, additionalExtensions, t1, t9, t10);
  50262. }
  50263. if (!t4)
  50264. _this._extendExistingSelectors$2(selectors, newExtensionsByTarget);
  50265. },
  50266. _simpleSelectors$1(complex) {
  50267. return new A._SyncStarIterable(this._simpleSelectors$body$ExtensionStore(complex), type$._SyncStarIterable_SimpleSelector);
  50268. },
  50269. _simpleSelectors$body$ExtensionStore($async$complex) {
  50270. var $async$self = this;
  50271. return function() {
  50272. var complex = $async$complex;
  50273. var $async$goto = 0, $async$handler = 1, $async$currentError, t1, t2, t3, _i, t4, t5, _i0, simple, _0_2_isSet, _0_2, t6, selector, t7, _i1;
  50274. return function $async$_simpleSelectors$1($async$iterator, $async$errorCode, $async$result) {
  50275. if ($async$errorCode === 1) {
  50276. $async$currentError = $async$result;
  50277. $async$goto = $async$handler;
  50278. }
  50279. while (true)
  50280. switch ($async$goto) {
  50281. case 0:
  50282. // Function start
  50283. t1 = complex.components, t2 = t1.length, t3 = type$.SelectorList, _i = 0;
  50284. case 2:
  50285. // for condition
  50286. if (!(_i < t2)) {
  50287. // goto after for
  50288. $async$goto = 4;
  50289. break;
  50290. }
  50291. t4 = t1[_i].selector.components, t5 = t4.length, _i0 = 0;
  50292. case 5:
  50293. // for condition
  50294. if (!(_i0 < t5)) {
  50295. // goto after for
  50296. $async$goto = 7;
  50297. break;
  50298. }
  50299. simple = t4[_i0];
  50300. $async$goto = 8;
  50301. return $async$iterator._async$_current = simple, 1;
  50302. case 8:
  50303. // after yield
  50304. _0_2_isSet = simple instanceof A.PseudoSelector;
  50305. if (_0_2_isSet) {
  50306. _0_2 = simple.selector;
  50307. t6 = _0_2 != null;
  50308. } else {
  50309. _0_2 = null;
  50310. t6 = false;
  50311. }
  50312. $async$goto = t6 ? 9 : 10;
  50313. break;
  50314. case 9:
  50315. // then
  50316. selector = _0_2_isSet ? _0_2 : simple.selector;
  50317. t6 = (selector == null ? t3._as(selector) : selector).components, t7 = t6.length, _i1 = 0;
  50318. case 11:
  50319. // for condition
  50320. if (!(_i1 < t7)) {
  50321. // goto after for
  50322. $async$goto = 13;
  50323. break;
  50324. }
  50325. $async$goto = 14;
  50326. return $async$iterator._yieldStar$1($async$self._simpleSelectors$1(t6[_i1]));
  50327. case 14:
  50328. // after yield
  50329. case 12:
  50330. // for update
  50331. ++_i1;
  50332. // goto for condition
  50333. $async$goto = 11;
  50334. break;
  50335. case 13:
  50336. // after for
  50337. case 10:
  50338. // join
  50339. case 6:
  50340. // for update
  50341. ++_i0;
  50342. // goto for condition
  50343. $async$goto = 5;
  50344. break;
  50345. case 7:
  50346. // after for
  50347. case 3:
  50348. // for update
  50349. ++_i;
  50350. // goto for condition
  50351. $async$goto = 2;
  50352. break;
  50353. case 4:
  50354. // after for
  50355. // implicit return
  50356. return 0;
  50357. case 1:
  50358. // rethrow
  50359. return $async$iterator._datum = $async$currentError, 3;
  50360. }
  50361. };
  50362. };
  50363. },
  50364. _extendExistingExtensions$2(extensions, newExtensions) {
  50365. 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;
  50366. 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) {
  50367. extension = t1[_i];
  50368. t7 = t6.$index(0, extension.target);
  50369. t7.toString;
  50370. selectors = null;
  50371. try {
  50372. selectors = this._extendComplex$3(extension.extender.selector, newExtensions, extension.mediaContext);
  50373. if (selectors == null)
  50374. continue;
  50375. } catch (exception) {
  50376. t8 = A.unwrapException(exception);
  50377. if (t8 instanceof A.SassException) {
  50378. error = t8;
  50379. stackTrace = A.getTraceFromException(exception);
  50380. A.throwWithTrace(error.withAdditionalSpan$2(extension.extender.selector.span, "target selector"), error, stackTrace);
  50381. } else
  50382. throw exception;
  50383. }
  50384. t8 = J.get$first$ax(selectors);
  50385. t9 = extension.extender.selector;
  50386. if (B.C_ListEquality.equals$2(0, t8.leadingCombinators, t9.leadingCombinators) && B.C_ListEquality.equals$2(0, t8.components, t9.components)) {
  50387. t8 = selectors;
  50388. t9 = A._arrayInstanceType(t8);
  50389. selectors0 = new A.SubListIterable(t8, 1, null, t9._eval$1("SubListIterable<1>"));
  50390. selectors0.SubListIterable$3(t8, 1, null, t9._precomputed1);
  50391. selectors = selectors0;
  50392. }
  50393. for (t8 = J.get$iterator$ax(selectors); t8.moveNext$0();) {
  50394. t9 = t8.get$current(t8);
  50395. t10 = extension;
  50396. t11 = t10.target;
  50397. t12 = t10.span;
  50398. t13 = t10.mediaContext;
  50399. t10 = t10.isOptional;
  50400. t9.get$specificity();
  50401. t14 = new A.Extender(t9, false);
  50402. withExtender = t14._extension = new A.Extension(t14, t11, t13, t10, t12);
  50403. _0_0 = t7.$index(0, t9);
  50404. if (_0_0 != null)
  50405. t7.$indexSet(0, t9, A.MergedExtension_merge(_0_0, withExtender));
  50406. else {
  50407. t7.$indexSet(0, t9, withExtender);
  50408. for (t10 = t9.components, t11 = t10.length, _i0 = 0; _i0 < t11; ++_i0)
  50409. for (t12 = t10[_i0].selector.components, t13 = t12.length, _i1 = 0; _i1 < t13; ++_i1)
  50410. J.add$1$ax(t3.putIfAbsent$2(t12[_i1], new A.ExtensionStore__extendExistingExtensions_closure()), withExtender);
  50411. if (newExtensions.containsKey$1(extension.target)) {
  50412. if (additionalExtensions == null)
  50413. additionalExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t4, t5);
  50414. additionalExtensions.putIfAbsent$2(extension.target, new A.ExtensionStore__extendExistingExtensions_closure0()).$indexSet(0, t9, withExtender);
  50415. }
  50416. }
  50417. }
  50418. }
  50419. return additionalExtensions;
  50420. },
  50421. _extendExistingSelectors$2(selectors, newExtensions) {
  50422. var selector, error, stackTrace, t1, t2, oldValue, exception, t3, t4, t5, t6;
  50423. for (t1 = selectors.get$iterator(selectors), t2 = this._mediaContexts; t1.moveNext$0();) {
  50424. selector = t1.get$current(t1);
  50425. oldValue = selector.value;
  50426. try {
  50427. selector.value = this._extendList$3(selector.value, newExtensions, t2.$index(0, selector));
  50428. } catch (exception) {
  50429. t3 = A.unwrapException(exception);
  50430. if (t3 instanceof A.SassException) {
  50431. error = t3;
  50432. stackTrace = A.getTraceFromException(exception);
  50433. t3 = selector.value.span.message$1(0, "");
  50434. t4 = error._span_exception$_message;
  50435. t5 = error;
  50436. t6 = J.getInterceptor$z(t5);
  50437. t5 = A.SourceSpanException.prototype.get$span.call(t6, t5);
  50438. A.throwWithTrace(new A.SassException(B.Set_empty, "From " + t3 + "\n" + t4, t5), error, stackTrace);
  50439. } else
  50440. throw exception;
  50441. }
  50442. if (oldValue === selector.value)
  50443. continue;
  50444. this._registerSelector$2(selector.value, selector);
  50445. }
  50446. },
  50447. addExtensions$1(extensionStores) {
  50448. 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;
  50449. 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();) {
  50450. t12 = t1.get$current(t1);
  50451. if (t12.get$isEmpty(t12))
  50452. continue;
  50453. t11.addAll$1(0, t12.get$_sourceSpecificity());
  50454. for (t12 = A.MapExtensions_get_pairs(t12.get$_extensions(), t2, t3), t12 = t12.get$iterator(t12); t12.moveNext$0();) {
  50455. t13 = t12.get$current(t12);
  50456. target = t13._0;
  50457. newSources = t13._1;
  50458. if (target instanceof A.PlaceholderSelector) {
  50459. first = target.name.charCodeAt(0);
  50460. t13 = first === 45 || first === 95;
  50461. } else
  50462. t13 = false;
  50463. if (t13)
  50464. continue;
  50465. extensionsForTarget = t8.$index(0, target);
  50466. t13 = extensionsForTarget == null;
  50467. if (!t13) {
  50468. if (extensionsToExtend == null) {
  50469. extensionsToExtend = A._setArrayType([], t9);
  50470. t14 = extensionsToExtend;
  50471. } else
  50472. t14 = extensionsToExtend;
  50473. B.JSArray_methods.addAll$1(t14, extensionsForTarget);
  50474. }
  50475. selectorsForTarget = t7.$index(0, target);
  50476. t14 = selectorsForTarget != null;
  50477. if (t14) {
  50478. if (selectorsToExtend == null) {
  50479. selectorsToExtend = A.LinkedHashSet_LinkedHashSet$_empty(t10);
  50480. t15 = selectorsToExtend;
  50481. } else
  50482. t15 = selectorsToExtend;
  50483. t15.addAll$1(0, selectorsForTarget);
  50484. }
  50485. _2_0 = t4.$index(0, target);
  50486. if (_2_0 != null)
  50487. for (t15 = A.MapExtensions_get_pairs(newSources, t5, t6), t15 = t15.get$iterator(t15); t15.moveNext$0();) {
  50488. t16 = t15.get$current(t15);
  50489. extender = t16._0;
  50490. extension = t16._1;
  50491. if (_2_0.containsKey$1(extender)) {
  50492. t16 = _2_0.$index(0, extender);
  50493. extension = A.MergedExtension_merge(t16 == null ? t6._as(t16) : t16, extension);
  50494. _2_0.$indexSet(0, extender, extension);
  50495. } else
  50496. _2_0.$indexSet(0, extender, extension);
  50497. if (!t13 || t14) {
  50498. if (newExtensions == null) {
  50499. newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t2, t3);
  50500. t16 = newExtensions;
  50501. } else
  50502. t16 = newExtensions;
  50503. J.$indexSet$ax(t16.putIfAbsent$2(target, new A.ExtensionStore_addExtensions_closure()), extender, extension);
  50504. }
  50505. }
  50506. else {
  50507. t15 = A.LinkedHashMap_LinkedHashMap(_null, _null, _null, t5, t6);
  50508. t15.addAll$1(0, newSources);
  50509. t4.$indexSet(0, target, t15);
  50510. if (!t13 || t14) {
  50511. if (newExtensions == null) {
  50512. newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t2, t3);
  50513. t13 = newExtensions;
  50514. } else
  50515. t13 = newExtensions;
  50516. t14 = A.LinkedHashMap_LinkedHashMap(_null, _null, _null, t5, t6);
  50517. t14.addAll$1(0, newSources);
  50518. t13.$indexSet(0, target, t14);
  50519. }
  50520. }
  50521. }
  50522. }
  50523. if (newExtensions != null) {
  50524. if (extensionsToExtend != null)
  50525. _this._extendExistingExtensions$2(extensionsToExtend, newExtensions);
  50526. if (selectorsToExtend != null)
  50527. _this._extendExistingSelectors$2(selectorsToExtend, newExtensions);
  50528. }
  50529. },
  50530. _extendList$3(list, extensions, mediaQueryContext) {
  50531. var t1, t2, t3, extended, i, complex, result, t4;
  50532. for (t1 = list.components, t2 = t1.length, t3 = type$.JSArray_ComplexSelector, extended = null, i = 0; i < t2; ++i) {
  50533. complex = t1[i];
  50534. result = this._extendComplex$3(complex, extensions, mediaQueryContext);
  50535. if (result == null) {
  50536. if (extended != null)
  50537. extended.push(complex);
  50538. } else {
  50539. if (extended == null)
  50540. if (i === 0)
  50541. extended = A._setArrayType([], t3);
  50542. else {
  50543. t4 = B.JSArray_methods.sublist$2(t1, 0, i);
  50544. extended = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
  50545. }
  50546. B.JSArray_methods.addAll$1(extended, result);
  50547. }
  50548. }
  50549. if (extended == null)
  50550. return list;
  50551. t1 = this._originals;
  50552. return A.SelectorList$(this._trim$2(extended, t1.get$contains(t1)), list.span);
  50553. },
  50554. _extendList$2(list, extensions) {
  50555. return this._extendList$3(list, extensions, null);
  50556. },
  50557. _extendComplex$3(complex, extensions, mediaQueryContext) {
  50558. var isOriginal, t3, t4, t5, t6, t7, t8, t9, t10, extendedNotExpanded, i, component, extended, t11, t12, t13, t14, _box_0 = {},
  50559. t1 = complex.leadingCombinators,
  50560. t2 = t1.length;
  50561. if (t2 > 1)
  50562. return null;
  50563. isOriginal = this._originals.contains$1(0, complex);
  50564. 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) {
  50565. component = t3[i];
  50566. extended = this._extendCompound$4$inOriginal(component, extensions, mediaQueryContext, isOriginal);
  50567. if (extended == null) {
  50568. if (extendedNotExpanded != null)
  50569. extendedNotExpanded.push(A._setArrayType([A.ComplexSelector$(B.List_empty1, A._setArrayType([component], t10), t8, t6)], t9));
  50570. } else if (extendedNotExpanded != null)
  50571. extendedNotExpanded.push(extended);
  50572. else if (i !== 0) {
  50573. t11 = A._arrayInstanceType(t3);
  50574. t12 = new A.SubListIterable(t3, 0, i, t11._eval$1("SubListIterable<1>"));
  50575. t12.SubListIterable$3(t3, 0, i, t11._precomputed1);
  50576. extendedNotExpanded = A._setArrayType([A._setArrayType([A.ComplexSelector$(t1, t12, t8, t6)], t9), extended], t5);
  50577. } else if (t2)
  50578. extendedNotExpanded = A._setArrayType([extended], t5);
  50579. else {
  50580. t11 = A._setArrayType([], t9);
  50581. for (t12 = J.get$iterator$ax(extended); t12.moveNext$0();) {
  50582. t13 = t12.get$current(t12);
  50583. t14 = t13.leadingCombinators;
  50584. if (t14.length === 0 || B.C_ListEquality.equals$2(0, t1, t14)) {
  50585. t14 = t13.components;
  50586. t11.push(A.ComplexSelector$(t1, t14, t8, !t7 || t13.lineBreak));
  50587. }
  50588. }
  50589. extendedNotExpanded = A._setArrayType([t11], t5);
  50590. }
  50591. }
  50592. if (extendedNotExpanded == null)
  50593. return null;
  50594. _box_0.first = true;
  50595. t1 = type$.ComplexSelector;
  50596. t1 = J.expand$1$1$ax(A.paths(extendedNotExpanded, t1), new A.ExtensionStore__extendComplex_closure(_box_0, this, complex), t1);
  50597. return A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E"));
  50598. },
  50599. _extendCompound$4$inOriginal(component, extensions, mediaQueryContext, inOriginal) {
  50600. 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,
  50601. t1 = _this._mode,
  50602. targetsUsed = t1 === B.ExtendMode_normal_normal || extensions.__js_helper$_length < 2 ? _null : A.LinkedHashSet_LinkedHashSet$_empty(type$.SimpleSelector),
  50603. t2 = component.selector,
  50604. simples = t2.components;
  50605. 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) {
  50606. simple = simples[i];
  50607. extended = _this._extendSimple$4(simple, extensions, mediaQueryContext, targetsUsed);
  50608. if (extended == null) {
  50609. if (options != null)
  50610. options.push(A._setArrayType([_this._extenderForSimple$1(simple)], t5));
  50611. } else {
  50612. if (options == null) {
  50613. options = A._setArrayType([], t4);
  50614. if (i !== 0) {
  50615. t12 = new A.SubListIterable(simples, 0, i, t8);
  50616. t12.SubListIterable$3(simples, 0, i, t9);
  50617. result = A.List_List$from(t12, false, t11);
  50618. result.fixed$length = Array;
  50619. result.immutable$list = Array;
  50620. t12 = result;
  50621. compound = new A.CompoundSelector(t12, t10);
  50622. if (t12.length === 0)
  50623. A.throwExpression(A.ArgumentError$("components may not be empty.", _null));
  50624. result = A.List_List$from(B.List_empty1, false, t6);
  50625. result.fixed$length = Array;
  50626. result.immutable$list = Array;
  50627. t12 = A.ComplexSelector$(B.List_empty1, A._setArrayType([new A.ComplexSelectorComponent(compound, result, t10)], t7), t10, false);
  50628. _this._sourceSpecificityFor$1(compound);
  50629. options.push(A._setArrayType([new A.Extender(t12, true)], t5));
  50630. }
  50631. }
  50632. B.JSArray_methods.addAll$1(options, extended);
  50633. }
  50634. }
  50635. if (options == null)
  50636. return _null;
  50637. if (targetsUsed != null && targetsUsed._collection$_length !== extensions.__js_helper$_length)
  50638. return _null;
  50639. if (options.length === 1) {
  50640. for (t1 = J.get$iterator$ax(options[0]), t2 = component.combinators, t3 = type$.JSArray_ComplexSelector, result = _null; t1.moveNext$0();) {
  50641. t4 = t1.get$current(t1);
  50642. t4.assertCompatibleMediaContext$1(mediaQueryContext);
  50643. complex = t4.selector.withAdditionalCombinators$1(t2);
  50644. if (complex.accept$1(B.C__IsUselessVisitor))
  50645. continue;
  50646. if (result == null)
  50647. result = A._setArrayType([], t3);
  50648. result.push(complex);
  50649. }
  50650. return result;
  50651. }
  50652. extenderPaths = A.paths(options, type$.Extender);
  50653. t3 = A._setArrayType([], type$.JSArray_ComplexSelector);
  50654. t1 = t1 === B.ExtendMode_replace_replace;
  50655. t4 = !t1;
  50656. if (t4)
  50657. t3.push(A.ComplexSelector$(B.List_empty1, 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));
  50658. t2 = J.skip$1$ax(extenderPaths, t1 ? 0 : 1);
  50659. t5 = t2.$ti;
  50660. t2 = new A.ListIterator(t2, t2.get$length(0), t5._eval$1("ListIterator<ListIterable.E>"));
  50661. t6 = component.combinators;
  50662. t5 = t5._eval$1("ListIterable.E");
  50663. for (; t2.moveNext$0();) {
  50664. t1 = t2.__internal$_current;
  50665. extended = _this._unifyExtenders$3(t1 == null ? t5._as(t1) : t1, mediaQueryContext, t10);
  50666. if (extended == null)
  50667. continue;
  50668. for (t1 = J.get$iterator$ax(extended); t1.moveNext$0();) {
  50669. withCombinators = t1.get$current(t1).withAdditionalCombinators$1(t6);
  50670. if (!withCombinators.accept$1(B.C__IsUselessVisitor))
  50671. t3.push(withCombinators);
  50672. }
  50673. }
  50674. isOriginal = new A.ExtensionStore__extendCompound_closure0();
  50675. return _this._trim$2(t3, inOriginal && t4 ? new A.ExtensionStore__extendCompound_closure1(B.JSArray_methods.get$first(t3)) : isOriginal);
  50676. },
  50677. _unifyExtenders$3(extenders, mediaQueryContext, span) {
  50678. var t1, t2, t3, originals, originalsLineBreak, t4, complexes, _null = null,
  50679. toUnify = A.QueueList$(_null, type$.ComplexSelector);
  50680. for (t1 = J.getInterceptor$ax(extenders), t2 = t1.get$iterator(extenders), t3 = type$.JSArray_SimpleSelector, originals = _null, originalsLineBreak = false; t2.moveNext$0();) {
  50681. t4 = t2.get$current(t2);
  50682. if (t4.isOriginal) {
  50683. if (originals == null)
  50684. originals = A._setArrayType([], t3);
  50685. t4 = t4.selector;
  50686. B.JSArray_methods.addAll$1(originals, B.JSArray_methods.get$last(t4.components).selector.components);
  50687. originalsLineBreak = originalsLineBreak || t4.lineBreak;
  50688. } else {
  50689. t4 = t4.selector;
  50690. if (t4.accept$1(B.C__IsUselessVisitor))
  50691. return _null;
  50692. else
  50693. toUnify._queue_list$_add$1(t4);
  50694. }
  50695. }
  50696. if (originals != null)
  50697. toUnify.addFirst$1(A.ComplexSelector$(B.List_empty1, A._setArrayType([new A.ComplexSelectorComponent(A.CompoundSelector$(originals, span), A.List_List$unmodifiable(B.List_empty1, type$.CssValue_Combinator), span)], type$.JSArray_ComplexSelectorComponent), span, originalsLineBreak));
  50698. complexes = A.unifyComplex(toUnify, span);
  50699. if (complexes == null)
  50700. return _null;
  50701. for (t1 = t1.get$iterator(extenders); t1.moveNext$0();)
  50702. t1.get$current(t1).assertCompatibleMediaContext$1(mediaQueryContext);
  50703. return complexes;
  50704. },
  50705. _extendSimple$4(simple, extensions, mediaQueryContext, targetsUsed) {
  50706. var t2, _1_0,
  50707. t1 = new A.ExtensionStore__extendSimple_withoutPseudo(this, extensions, targetsUsed);
  50708. if (simple instanceof A.PseudoSelector)
  50709. t2 = simple.selector != null;
  50710. else
  50711. t2 = false;
  50712. if (t2) {
  50713. _1_0 = this._extendPseudo$3(simple, extensions, mediaQueryContext);
  50714. if (_1_0 != null)
  50715. return new A.MappedListIterable(_1_0, new A.ExtensionStore__extendSimple_closure(this, t1), A._arrayInstanceType(_1_0)._eval$1("MappedListIterable<1,List<Extender>>"));
  50716. }
  50717. return A.NullableExtension_andThen(t1.call$1(simple), new A.ExtensionStore__extendSimple_closure0());
  50718. },
  50719. _extenderForSimple$1(simple) {
  50720. var t1 = simple.span;
  50721. t1 = A.ComplexSelector$(B.List_empty1, A._setArrayType([new A.ComplexSelectorComponent(A.CompoundSelector$(A._setArrayType([simple], type$.JSArray_SimpleSelector), t1), A.List_List$unmodifiable(B.List_empty1, type$.CssValue_Combinator), t1)], type$.JSArray_ComplexSelectorComponent), t1, false);
  50722. this._sourceSpecificity.$index(0, simple);
  50723. return new A.Extender(t1, true);
  50724. },
  50725. _extendPseudo$3(pseudo, extensions, mediaQueryContext) {
  50726. var extended, complexes, t1, result,
  50727. selector = pseudo.selector;
  50728. if (selector == null)
  50729. throw A.wrapException(A.ArgumentError$("Selector " + pseudo.toString$0(0) + " must have a selector argument.", null));
  50730. extended = this._extendList$3(selector, extensions, mediaQueryContext);
  50731. if (extended === selector)
  50732. return null;
  50733. complexes = extended.components;
  50734. t1 = pseudo.normalizedName === "not";
  50735. 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()))
  50736. complexes = new A.WhereIterable(complexes, new A.ExtensionStore__extendPseudo_closure1(), A._arrayInstanceType(complexes)._eval$1("WhereIterable<1>"));
  50737. complexes = J.expand$1$1$ax(complexes, new A.ExtensionStore__extendPseudo_closure2(pseudo), type$.ComplexSelector);
  50738. if (t1 && selector.components.length === 1) {
  50739. t1 = A.MappedIterable_MappedIterable(complexes, new A.ExtensionStore__extendPseudo_closure3(pseudo, selector), complexes.$ti._eval$1("Iterable.E"), type$.PseudoSelector);
  50740. result = A.List_List$of(t1, true, A._instanceType(t1)._eval$1("Iterable.E"));
  50741. return result.length === 0 ? null : result;
  50742. } else
  50743. return A._setArrayType([pseudo.withSelector$1(A.SelectorList$(complexes, selector.span))], type$.JSArray_PseudoSelector);
  50744. },
  50745. _trim$2(selectors, isOriginal) {
  50746. var result, i, t1, t2, numOriginals, _box_0, complex1, j, t3, t4, _i, t5, maxSpecificity;
  50747. if (selectors.length > 100)
  50748. return selectors;
  50749. result = A.QueueList$(null, type$.ComplexSelector);
  50750. $label0$0:
  50751. for (i = selectors.length - 1, t1 = A._arrayInstanceType(selectors), t2 = t1._precomputed1, t1 = t1._eval$1("SubListIterable<1>"), numOriginals = 0; i >= 0; --i) {
  50752. _box_0 = {};
  50753. complex1 = selectors[i];
  50754. if (isOriginal.call$1(complex1)) {
  50755. for (j = 0; j < numOriginals; ++j)
  50756. if (J.$eq$(result.$index(0, j), complex1)) {
  50757. A.rotateSlice(result, 0, j + 1);
  50758. continue $label0$0;
  50759. }
  50760. ++numOriginals;
  50761. result.addFirst$1(complex1);
  50762. continue $label0$0;
  50763. }
  50764. _box_0.maxSpecificity = 0;
  50765. for (t3 = complex1.components, t4 = t3.length, _i = 0, t5 = 0; _i < t4; ++_i, t5 = maxSpecificity) {
  50766. maxSpecificity = Math.max(t5, this._sourceSpecificityFor$1(t3[_i].selector));
  50767. _box_0.maxSpecificity = maxSpecificity;
  50768. }
  50769. if (result.any$1(result, new A.ExtensionStore__trim_closure(_box_0, complex1)))
  50770. continue $label0$0;
  50771. t3 = new A.SubListIterable(selectors, 0, i, t1);
  50772. t3.SubListIterable$3(selectors, 0, i, t2);
  50773. if (t3.any$1(0, new A.ExtensionStore__trim_closure0(_box_0, complex1)))
  50774. continue $label0$0;
  50775. result.addFirst$1(complex1);
  50776. }
  50777. return result;
  50778. },
  50779. _sourceSpecificityFor$1(compound) {
  50780. var t1, t2, t3, specificity, _i, t4;
  50781. for (t1 = compound.components, t2 = t1.length, t3 = this._sourceSpecificity, specificity = 0, _i = 0; _i < t2; ++_i) {
  50782. t4 = t3.$index(0, t1[_i]);
  50783. specificity = Math.max(specificity, A.checkNum(t4 == null ? 0 : t4));
  50784. }
  50785. return specificity;
  50786. },
  50787. clone$0() {
  50788. var t2, t3, t4, _this = this,
  50789. t1 = type$.SimpleSelector,
  50790. newSelectors = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Set_ModifiableBox_SelectorList),
  50791. newMediaContexts = A.LinkedHashMap_LinkedHashMap$_empty(type$.ModifiableBox_SelectorList, type$.List_CssMediaQuery),
  50792. oldToNewSelectors = new A.JsIdentityLinkedHashMap(type$.JsIdentityLinkedHashMap_of_SelectorList_and_Box_SelectorList);
  50793. _this._selectors.forEach$1(0, new A.ExtensionStore_clone_closure(_this, newSelectors, oldToNewSelectors, newMediaContexts));
  50794. t2 = type$.Extension;
  50795. t3 = A.copyMapOfMap(_this._extensions, t1, type$.ComplexSelector, t2);
  50796. t2 = A.copyMapOfList(_this._extensionsByExtender, t1, t2);
  50797. t1 = new A.JsIdentityLinkedHashMap(type$.JsIdentityLinkedHashMap_SimpleSelector_int);
  50798. t1.addAll$1(0, _this._sourceSpecificity);
  50799. t4 = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_ComplexSelector);
  50800. t4.addAll$1(0, _this._originals);
  50801. return new A._Record_2(new A.ExtensionStore(newSelectors, t3, t2, newMediaContexts, t1, t4, B.ExtendMode_normal_normal), oldToNewSelectors);
  50802. },
  50803. get$_extensions() {
  50804. return this._extensions;
  50805. },
  50806. get$_sourceSpecificity() {
  50807. return this._sourceSpecificity;
  50808. }
  50809. };
  50810. A.ExtensionStore_extensionsWhereTarget_closure.prototype = {
  50811. call$1(extension) {
  50812. return !extension.isOptional;
  50813. },
  50814. $signature: 341
  50815. };
  50816. A.ExtensionStore__registerSelector_closure.prototype = {
  50817. call$0() {
  50818. return A.LinkedHashSet_LinkedHashSet$_empty(type$.ModifiableBox_SelectorList);
  50819. },
  50820. $signature: 342
  50821. };
  50822. A.ExtensionStore_addExtension_closure.prototype = {
  50823. call$0() {
  50824. return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector, type$.Extension);
  50825. },
  50826. $signature: 129
  50827. };
  50828. A.ExtensionStore_addExtension_closure0.prototype = {
  50829. call$0() {
  50830. return A._setArrayType([], type$.JSArray_Extension);
  50831. },
  50832. $signature: 221
  50833. };
  50834. A.ExtensionStore_addExtension_closure1.prototype = {
  50835. call$0() {
  50836. return this.complex.get$specificity();
  50837. },
  50838. $signature: 10
  50839. };
  50840. A.ExtensionStore__extendExistingExtensions_closure.prototype = {
  50841. call$0() {
  50842. return A._setArrayType([], type$.JSArray_Extension);
  50843. },
  50844. $signature: 221
  50845. };
  50846. A.ExtensionStore__extendExistingExtensions_closure0.prototype = {
  50847. call$0() {
  50848. return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector, type$.Extension);
  50849. },
  50850. $signature: 129
  50851. };
  50852. A.ExtensionStore_addExtensions_closure.prototype = {
  50853. call$0() {
  50854. return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector, type$.Extension);
  50855. },
  50856. $signature: 129
  50857. };
  50858. A.ExtensionStore__extendComplex_closure.prototype = {
  50859. call$1(path) {
  50860. var t1 = this.complex;
  50861. 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);
  50862. },
  50863. $signature: 345
  50864. };
  50865. A.ExtensionStore__extendComplex__closure.prototype = {
  50866. call$1(outputComplex) {
  50867. var _this = this,
  50868. t1 = _this._box_0;
  50869. if (t1.first && _this.$this._originals.contains$1(0, _this.complex))
  50870. _this.$this._originals.add$1(0, outputComplex);
  50871. t1.first = false;
  50872. return outputComplex;
  50873. },
  50874. $signature: 57
  50875. };
  50876. A.ExtensionStore__extendCompound_closure.prototype = {
  50877. call$1(extender) {
  50878. return B.JSArray_methods.get$last(extender.selector.components).selector.components;
  50879. },
  50880. $signature: 347
  50881. };
  50882. A.ExtensionStore__extendCompound_closure0.prototype = {
  50883. call$1(_) {
  50884. return false;
  50885. },
  50886. $signature: 16
  50887. };
  50888. A.ExtensionStore__extendCompound_closure1.prototype = {
  50889. call$1(complex) {
  50890. return complex.$eq(0, this.original);
  50891. },
  50892. $signature: 16
  50893. };
  50894. A.ExtensionStore__extendSimple_withoutPseudo.prototype = {
  50895. call$1(simple) {
  50896. var t1, t2,
  50897. extensionsForSimple = this.extensions.$index(0, simple);
  50898. if (extensionsForSimple == null)
  50899. return null;
  50900. t1 = this.targetsUsed;
  50901. if (t1 != null)
  50902. t1.add$1(0, simple);
  50903. t1 = A._setArrayType([], type$.JSArray_Extender);
  50904. t2 = this.$this;
  50905. if (t2._mode !== B.ExtendMode_replace_replace)
  50906. t1.push(t2._extenderForSimple$1(simple));
  50907. for (t2 = extensionsForSimple.get$values(extensionsForSimple), t2 = t2.get$iterator(t2); t2.moveNext$0();)
  50908. t1.push(t2.get$current(t2).extender);
  50909. return t1;
  50910. },
  50911. $signature: 349
  50912. };
  50913. A.ExtensionStore__extendSimple_closure.prototype = {
  50914. call$1(pseudo) {
  50915. var t1 = this.withoutPseudo.call$1(pseudo);
  50916. return t1 == null ? A._setArrayType([this.$this._extenderForSimple$1(pseudo)], type$.JSArray_Extender) : t1;
  50917. },
  50918. $signature: 350
  50919. };
  50920. A.ExtensionStore__extendSimple_closure0.prototype = {
  50921. call$1(result) {
  50922. return A._setArrayType([result], type$.JSArray_List_Extender);
  50923. },
  50924. $signature: 351
  50925. };
  50926. A.ExtensionStore__extendPseudo_closure.prototype = {
  50927. call$1(complex) {
  50928. return complex.components.length > 1;
  50929. },
  50930. $signature: 16
  50931. };
  50932. A.ExtensionStore__extendPseudo_closure0.prototype = {
  50933. call$1(complex) {
  50934. return complex.components.length === 1;
  50935. },
  50936. $signature: 16
  50937. };
  50938. A.ExtensionStore__extendPseudo_closure1.prototype = {
  50939. call$1(complex) {
  50940. return complex.components.length <= 1;
  50941. },
  50942. $signature: 16
  50943. };
  50944. A.ExtensionStore__extendPseudo_closure2.prototype = {
  50945. call$1(complex) {
  50946. var innerPseudo, innerSelector,
  50947. t1 = complex.get$singleCompound();
  50948. if (t1 == null)
  50949. innerPseudo = null;
  50950. else {
  50951. t1 = t1.components;
  50952. innerPseudo = t1.length === 1 ? B.JSArray_methods.get$first(t1) : null;
  50953. }
  50954. if (!(innerPseudo instanceof A.PseudoSelector))
  50955. return A._setArrayType([complex], type$.JSArray_ComplexSelector);
  50956. innerSelector = innerPseudo.selector;
  50957. if (innerSelector == null)
  50958. return A._setArrayType([complex], type$.JSArray_ComplexSelector);
  50959. t1 = this.pseudo;
  50960. switch (t1.normalizedName) {
  50961. case "not":
  50962. if (!B.Set_mlzm2.contains$1(0, innerPseudo.normalizedName))
  50963. return A._setArrayType([], type$.JSArray_ComplexSelector);
  50964. return innerSelector.components;
  50965. case "is":
  50966. case "matches":
  50967. case "where":
  50968. case "any":
  50969. case "current":
  50970. case "nth-child":
  50971. case "nth-last-child":
  50972. if (innerPseudo.name !== t1.name)
  50973. return A._setArrayType([], type$.JSArray_ComplexSelector);
  50974. if (innerPseudo.argument != t1.argument)
  50975. return A._setArrayType([], type$.JSArray_ComplexSelector);
  50976. return innerSelector.components;
  50977. case "has":
  50978. case "host":
  50979. case "host-context":
  50980. case "slotted":
  50981. return A._setArrayType([complex], type$.JSArray_ComplexSelector);
  50982. default:
  50983. return A._setArrayType([], type$.JSArray_ComplexSelector);
  50984. }
  50985. },
  50986. $signature: 362
  50987. };
  50988. A.ExtensionStore__extendPseudo_closure3.prototype = {
  50989. call$1(complex) {
  50990. return this.pseudo.withSelector$1(A.SelectorList$(A._setArrayType([complex], type$.JSArray_ComplexSelector), this.selector.span));
  50991. },
  50992. $signature: 363
  50993. };
  50994. A.ExtensionStore__trim_closure.prototype = {
  50995. call$1(complex2) {
  50996. return complex2.get$specificity() >= this._box_0.maxSpecificity && complex2.isSuperselector$1(this.complex1);
  50997. },
  50998. $signature: 16
  50999. };
  51000. A.ExtensionStore__trim_closure0.prototype = {
  51001. call$1(complex2) {
  51002. return complex2.get$specificity() >= this._box_0.maxSpecificity && complex2.isSuperselector$1(this.complex1);
  51003. },
  51004. $signature: 16
  51005. };
  51006. A.ExtensionStore_clone_closure.prototype = {
  51007. call$2(simple, selectors) {
  51008. var t2, t3, t4, t5, t6, t7, newSelector, _0_0, _this = this,
  51009. t1 = type$.ModifiableBox_SelectorList,
  51010. newSelectorSet = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  51011. _this.newSelectors.$indexSet(0, simple, newSelectorSet);
  51012. for (t2 = selectors.get$iterator(selectors), t3 = _this.oldToNewSelectors, t4 = type$.Box_SelectorList, t5 = _this.$this._mediaContexts, t6 = _this.newMediaContexts; t2.moveNext$0();) {
  51013. t7 = t2.get$current(t2);
  51014. newSelector = new A.ModifiableBox(t7.value, t1);
  51015. newSelectorSet.add$1(0, newSelector);
  51016. t3.$indexSet(0, t7.value, new A.Box(newSelector, t4));
  51017. _0_0 = t5.$index(0, t7);
  51018. if (_0_0 != null)
  51019. t6.$indexSet(0, newSelector, _0_0);
  51020. }
  51021. },
  51022. $signature: 379
  51023. };
  51024. A.unifyComplex_closure.prototype = {
  51025. call$1(complex) {
  51026. return complex.lineBreak;
  51027. },
  51028. $signature: 16
  51029. };
  51030. A._weaveParents_closure.prototype = {
  51031. call$2(group1, group2) {
  51032. var t1, unified;
  51033. if (B.C_ListEquality.equals$2(0, group1, group2))
  51034. return group1;
  51035. if (A._complexIsParentSuperselector(group1, group2))
  51036. return group2;
  51037. if (A._complexIsParentSuperselector(group2, group1))
  51038. return group1;
  51039. if (!A._mustUnify(group1, group2))
  51040. return null;
  51041. t1 = this.span;
  51042. unified = A.unifyComplex(A._setArrayType([A.ComplexSelector$(B.List_empty1, group1, t1, false), A.ComplexSelector$(B.List_empty1, group2, t1, false)], type$.JSArray_ComplexSelector), t1);
  51043. if (unified == null)
  51044. t1 = null;
  51045. else {
  51046. t1 = A.IterableExtension_get_singleOrNull(unified);
  51047. t1 = t1 == null ? null : t1.components;
  51048. }
  51049. return t1;
  51050. },
  51051. $signature: 380
  51052. };
  51053. A._weaveParents_closure0.prototype = {
  51054. call$1(sequence) {
  51055. return A._complexIsParentSuperselector(sequence.get$first(sequence), this.group);
  51056. },
  51057. $signature: 209
  51058. };
  51059. A._weaveParents_closure1.prototype = {
  51060. call$1(sequence) {
  51061. return sequence.get$length(0) === 0;
  51062. },
  51063. $signature: 209
  51064. };
  51065. A._weaveParents_closure2.prototype = {
  51066. call$1(choice) {
  51067. return J.get$isNotEmpty$asx(choice);
  51068. },
  51069. $signature: 382
  51070. };
  51071. A._mustUnify_closure.prototype = {
  51072. call$1(component) {
  51073. return B.JSArray_methods.any$1(component.selector.components, new A._mustUnify__closure(this.uniqueSelectors));
  51074. },
  51075. $signature: 50
  51076. };
  51077. A._mustUnify__closure.prototype = {
  51078. call$1(simple) {
  51079. var t1;
  51080. if (!(simple instanceof A.IDSelector))
  51081. t1 = simple instanceof A.PseudoSelector && !simple.isClass;
  51082. else
  51083. t1 = true;
  51084. return t1 && this.uniqueSelectors.contains$1(0, simple);
  51085. },
  51086. $signature: 14
  51087. };
  51088. A.paths_closure.prototype = {
  51089. call$2(paths, choice) {
  51090. var t1 = this.T;
  51091. t1 = J.expand$1$1$ax(choice, new A.paths__closure(paths, t1), t1._eval$1("List<0>"));
  51092. return A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E"));
  51093. },
  51094. $signature() {
  51095. return this.T._eval$1("List<List<0>>(List<List<0>>,List<0>)");
  51096. }
  51097. };
  51098. A.paths__closure.prototype = {
  51099. call$1(option) {
  51100. var t1 = this.T;
  51101. return J.map$1$1$ax(this.paths, new A.paths___closure(option, t1), t1._eval$1("List<0>"));
  51102. },
  51103. $signature() {
  51104. return this.T._eval$1("Iterable<List<0>>(0)");
  51105. }
  51106. };
  51107. A.paths___closure.prototype = {
  51108. call$1(path) {
  51109. var t1 = A.List_List$of(path, true, this.T);
  51110. t1.push(this.option);
  51111. return t1;
  51112. },
  51113. $signature() {
  51114. return this.T._eval$1("List<0>(List<0>)");
  51115. }
  51116. };
  51117. A.listIsSuperselector_closure.prototype = {
  51118. call$1(complex1) {
  51119. return B.JSArray_methods.any$1(this.list1, new A.listIsSuperselector__closure(complex1));
  51120. },
  51121. $signature: 16
  51122. };
  51123. A.listIsSuperselector__closure.prototype = {
  51124. call$1(complex2) {
  51125. return complex2.isSuperselector$1(this.complex1);
  51126. },
  51127. $signature: 16
  51128. };
  51129. A.complexIsSuperselector_closure.prototype = {
  51130. call$1($parent) {
  51131. return $parent.combinators.length > 1;
  51132. },
  51133. $signature: 50
  51134. };
  51135. A.complexIsSuperselector_closure0.prototype = {
  51136. call$1(component) {
  51137. return A._isSupercombinator(this.combinator1, A.IterableExtension_get_firstOrNull(component.combinators));
  51138. },
  51139. $signature: 50
  51140. };
  51141. A._compatibleWithPreviousCombinator_closure.prototype = {
  51142. call$1(component) {
  51143. var t1 = component.combinators,
  51144. t2 = A.IterableExtension_get_firstOrNull(t1);
  51145. if (!J.$eq$(t2 == null ? null : t2.value, B.Combinator_y18)) {
  51146. t1 = A.IterableExtension_get_firstOrNull(t1);
  51147. t1 = J.$eq$(t1 == null ? null : t1.value, B.Combinator_gRV);
  51148. } else
  51149. t1 = true;
  51150. return t1;
  51151. },
  51152. $signature: 50
  51153. };
  51154. A._selectorPseudoIsSuperselector_closure.prototype = {
  51155. call$1(selector2) {
  51156. return A.listIsSuperselector(this.selector1.components, selector2.components);
  51157. },
  51158. $signature: 74
  51159. };
  51160. A._selectorPseudoIsSuperselector_closure0.prototype = {
  51161. call$1(complex1) {
  51162. var t1, t2;
  51163. if (complex1.leadingCombinators.length === 0) {
  51164. t1 = A._setArrayType([], type$.JSArray_ComplexSelectorComponent);
  51165. t2 = this.parents;
  51166. if (t2 != null)
  51167. B.JSArray_methods.addAll$1(t1, t2);
  51168. t2 = this.compound2;
  51169. t1.push(new A.ComplexSelectorComponent(t2, A.List_List$unmodifiable(B.List_empty1, type$.CssValue_Combinator), t2.span));
  51170. t1 = A.complexIsSuperselector(complex1.components, t1);
  51171. } else
  51172. t1 = false;
  51173. return t1;
  51174. },
  51175. $signature: 16
  51176. };
  51177. A._selectorPseudoIsSuperselector_closure1.prototype = {
  51178. call$1(selector2) {
  51179. return A.listIsSuperselector(this.selector1.components, selector2.components);
  51180. },
  51181. $signature: 74
  51182. };
  51183. A._selectorPseudoIsSuperselector_closure2.prototype = {
  51184. call$1(selector2) {
  51185. return A.listIsSuperselector(this.selector1.components, selector2.components);
  51186. },
  51187. $signature: 74
  51188. };
  51189. A._selectorPseudoIsSuperselector_closure3.prototype = {
  51190. call$1(complex) {
  51191. if (complex.accept$1(B._IsBogusVisitor_true))
  51192. return false;
  51193. return B.JSArray_methods.any$1(this.compound2.components, new A._selectorPseudoIsSuperselector__closure(complex, this.pseudo1));
  51194. },
  51195. $signature: 16
  51196. };
  51197. A._selectorPseudoIsSuperselector__closure.prototype = {
  51198. call$1(simple2) {
  51199. var t1, _0_4, selector2, _this = this;
  51200. $label0$1: {
  51201. if (simple2 instanceof A.TypeSelector) {
  51202. t1 = B.JSArray_methods.any$1(B.JSArray_methods.get$last(_this.complex.components).selector.components, new A._selectorPseudoIsSuperselector___closure(simple2));
  51203. break $label0$1;
  51204. }
  51205. if (simple2 instanceof A.IDSelector) {
  51206. t1 = B.JSArray_methods.any$1(B.JSArray_methods.get$last(_this.complex.components).selector.components, new A._selectorPseudoIsSuperselector___closure0(simple2));
  51207. break $label0$1;
  51208. }
  51209. if (simple2 instanceof A.PseudoSelector) {
  51210. _0_4 = simple2.selector;
  51211. if (_0_4 != null) {
  51212. selector2 = _0_4 == null ? type$.SelectorList._as(_0_4) : _0_4;
  51213. t1 = simple2.name === _this.pseudo1.name;
  51214. } else {
  51215. selector2 = null;
  51216. t1 = false;
  51217. }
  51218. } else {
  51219. selector2 = null;
  51220. t1 = false;
  51221. }
  51222. if (t1) {
  51223. t1 = A.listIsSuperselector(selector2.components, A._setArrayType([_this.complex], type$.JSArray_ComplexSelector));
  51224. break $label0$1;
  51225. }
  51226. t1 = false;
  51227. break $label0$1;
  51228. }
  51229. return t1;
  51230. },
  51231. $signature: 14
  51232. };
  51233. A._selectorPseudoIsSuperselector___closure.prototype = {
  51234. call$1(simple1) {
  51235. var t1;
  51236. if (simple1 instanceof A.TypeSelector) {
  51237. t1 = this.simple2;
  51238. t1 = !(t1 instanceof A.TypeSelector && t1.name.$eq(0, simple1.name));
  51239. } else
  51240. t1 = false;
  51241. return t1;
  51242. },
  51243. $signature: 14
  51244. };
  51245. A._selectorPseudoIsSuperselector___closure0.prototype = {
  51246. call$1(simple1) {
  51247. var t1;
  51248. if (simple1 instanceof A.IDSelector) {
  51249. t1 = this.simple2;
  51250. t1 = !(t1 instanceof A.IDSelector && t1.name === simple1.name);
  51251. } else
  51252. t1 = false;
  51253. return t1;
  51254. },
  51255. $signature: 14
  51256. };
  51257. A._selectorPseudoIsSuperselector_closure4.prototype = {
  51258. call$1(selector2) {
  51259. var t1 = B.C_ListEquality.equals$2(0, this.selector1.components, selector2.components);
  51260. return t1;
  51261. },
  51262. $signature: 74
  51263. };
  51264. A._selectorPseudoIsSuperselector_closure5.prototype = {
  51265. call$1(pseudo2) {
  51266. var t1, selector2;
  51267. if (!(pseudo2 instanceof A.PseudoSelector))
  51268. return false;
  51269. t1 = this.pseudo1;
  51270. if (pseudo2.name !== t1.name)
  51271. return false;
  51272. if (pseudo2.argument != t1.argument)
  51273. return false;
  51274. selector2 = pseudo2.selector;
  51275. if (selector2 == null)
  51276. return false;
  51277. return A.listIsSuperselector(this.selector1.components, selector2.components);
  51278. },
  51279. $signature: 14
  51280. };
  51281. A._selectorPseudoArgs_closure.prototype = {
  51282. call$1(pseudo) {
  51283. return pseudo.isClass === this.isClass && pseudo.name === this.name;
  51284. },
  51285. $signature: 383
  51286. };
  51287. A._selectorPseudoArgs_closure0.prototype = {
  51288. call$1(pseudo) {
  51289. return pseudo.selector;
  51290. },
  51291. $signature: 388
  51292. };
  51293. A.MergedExtension.prototype = {
  51294. unmerge$0() {
  51295. return new A._SyncStarIterable(this.unmerge$body$MergedExtension(), type$._SyncStarIterable_Extension);
  51296. },
  51297. unmerge$body$MergedExtension() {
  51298. var $async$self = this;
  51299. return function() {
  51300. var $async$goto = 0, $async$handler = 1, $async$currentError, right, left;
  51301. return function $async$unmerge$0($async$iterator, $async$errorCode, $async$result) {
  51302. if ($async$errorCode === 1) {
  51303. $async$currentError = $async$result;
  51304. $async$goto = $async$handler;
  51305. }
  51306. while (true)
  51307. switch ($async$goto) {
  51308. case 0:
  51309. // Function start
  51310. left = $async$self.left;
  51311. $async$goto = left instanceof A.MergedExtension ? 2 : 4;
  51312. break;
  51313. case 2:
  51314. // then
  51315. $async$goto = 5;
  51316. return $async$iterator._yieldStar$1(left.unmerge$0());
  51317. case 5:
  51318. // after yield
  51319. // goto join
  51320. $async$goto = 3;
  51321. break;
  51322. case 4:
  51323. // else
  51324. $async$goto = 6;
  51325. return $async$iterator._async$_current = left, 1;
  51326. case 6:
  51327. // after yield
  51328. case 3:
  51329. // join
  51330. right = $async$self.right;
  51331. $async$goto = right instanceof A.MergedExtension ? 7 : 9;
  51332. break;
  51333. case 7:
  51334. // then
  51335. $async$goto = 10;
  51336. return $async$iterator._yieldStar$1(right.unmerge$0());
  51337. case 10:
  51338. // after yield
  51339. // goto join
  51340. $async$goto = 8;
  51341. break;
  51342. case 9:
  51343. // else
  51344. $async$goto = 11;
  51345. return $async$iterator._async$_current = right, 1;
  51346. case 11:
  51347. // after yield
  51348. case 8:
  51349. // join
  51350. // implicit return
  51351. return 0;
  51352. case 1:
  51353. // rethrow
  51354. return $async$iterator._datum = $async$currentError, 3;
  51355. }
  51356. };
  51357. };
  51358. }
  51359. };
  51360. A.ExtendMode.prototype = {
  51361. _enumToString$0() {
  51362. return "ExtendMode." + this._name;
  51363. },
  51364. toString$0(_) {
  51365. return this.name;
  51366. }
  51367. };
  51368. A.globalFunctions_closure.prototype = {
  51369. call$1($arguments) {
  51370. var t1 = J.getInterceptor$asx($arguments);
  51371. return t1.$index($arguments, 0).get$isTruthy() ? t1.$index($arguments, 1) : t1.$index($arguments, 2);
  51372. },
  51373. $signature: 6
  51374. };
  51375. A.global_closure0.prototype = {
  51376. call$1($arguments) {
  51377. return A._rgb("rgb", $arguments);
  51378. },
  51379. $signature: 6
  51380. };
  51381. A.global_closure1.prototype = {
  51382. call$1($arguments) {
  51383. return A._rgb("rgb", $arguments);
  51384. },
  51385. $signature: 6
  51386. };
  51387. A.global_closure2.prototype = {
  51388. call$1($arguments) {
  51389. return A._rgbTwoArg("rgb", $arguments);
  51390. },
  51391. $signature: 6
  51392. };
  51393. A.global_closure3.prototype = {
  51394. call$1($arguments) {
  51395. var parsed = A._parseChannels("rgb", A._setArrayType(["$red", "$green", "$blue"], type$.JSArray_String), J.get$first$ax($arguments));
  51396. return parsed instanceof A.SassString ? parsed : A._rgb("rgb", type$.List_Value._as(parsed));
  51397. },
  51398. $signature: 6
  51399. };
  51400. A.global_closure4.prototype = {
  51401. call$1($arguments) {
  51402. return A._rgb("rgba", $arguments);
  51403. },
  51404. $signature: 6
  51405. };
  51406. A.global_closure5.prototype = {
  51407. call$1($arguments) {
  51408. return A._rgb("rgba", $arguments);
  51409. },
  51410. $signature: 6
  51411. };
  51412. A.global_closure6.prototype = {
  51413. call$1($arguments) {
  51414. return A._rgbTwoArg("rgba", $arguments);
  51415. },
  51416. $signature: 6
  51417. };
  51418. A.global_closure7.prototype = {
  51419. call$1($arguments) {
  51420. var parsed = A._parseChannels("rgba", A._setArrayType(["$red", "$green", "$blue"], type$.JSArray_String), J.get$first$ax($arguments));
  51421. return parsed instanceof A.SassString ? parsed : A._rgb("rgba", type$.List_Value._as(parsed));
  51422. },
  51423. $signature: 6
  51424. };
  51425. A.global_closure8.prototype = {
  51426. call$1($arguments) {
  51427. var color, t2,
  51428. t1 = J.getInterceptor$asx($arguments),
  51429. weight = t1.$index($arguments, 1).assertNumber$1("weight");
  51430. if (t1.$index($arguments, 0) instanceof A.SassNumber || t1.$index($arguments, 0).get$isSpecialNumber()) {
  51431. if (weight._number$_value !== 100 || !weight.hasUnit$1("%"))
  51432. throw A.wrapException(string$.Only_oa);
  51433. return A._functionString("invert", t1.take$1($arguments, 1));
  51434. }
  51435. color = t1.$index($arguments, 0).assertColor$1("color");
  51436. t1 = color.get$red(0);
  51437. t2 = color.get$green(0);
  51438. return A._mixColors(color.changeRgb$3$blue$green$red(255 - color.get$blue(0), 255 - t2, 255 - t1), color, weight);
  51439. },
  51440. $signature: 6
  51441. };
  51442. A.global_closure9.prototype = {
  51443. call$1($arguments) {
  51444. return A._hsl("hsl", $arguments);
  51445. },
  51446. $signature: 6
  51447. };
  51448. A.global_closure10.prototype = {
  51449. call$1($arguments) {
  51450. return A._hsl("hsl", $arguments);
  51451. },
  51452. $signature: 6
  51453. };
  51454. A.global_closure11.prototype = {
  51455. call$1($arguments) {
  51456. var t1 = J.getInterceptor$asx($arguments);
  51457. if (t1.$index($arguments, 0).get$isVar() || t1.$index($arguments, 1).get$isVar())
  51458. return A._functionString("hsl", $arguments);
  51459. else
  51460. throw A.wrapException(A.SassScriptException$("Missing argument $lightness.", null));
  51461. },
  51462. $signature: 17
  51463. };
  51464. A.global_closure12.prototype = {
  51465. call$1($arguments) {
  51466. var parsed = A._parseChannels("hsl", A._setArrayType(["$hue", "$saturation", "$lightness"], type$.JSArray_String), J.get$first$ax($arguments));
  51467. return parsed instanceof A.SassString ? parsed : A._hsl("hsl", type$.List_Value._as(parsed));
  51468. },
  51469. $signature: 6
  51470. };
  51471. A.global_closure13.prototype = {
  51472. call$1($arguments) {
  51473. return A._hsl("hsla", $arguments);
  51474. },
  51475. $signature: 6
  51476. };
  51477. A.global_closure14.prototype = {
  51478. call$1($arguments) {
  51479. return A._hsl("hsla", $arguments);
  51480. },
  51481. $signature: 6
  51482. };
  51483. A.global_closure15.prototype = {
  51484. call$1($arguments) {
  51485. var t1 = J.getInterceptor$asx($arguments);
  51486. if (t1.$index($arguments, 0).get$isVar() || t1.$index($arguments, 1).get$isVar())
  51487. return A._functionString("hsla", $arguments);
  51488. else
  51489. throw A.wrapException(A.SassScriptException$("Missing argument $lightness.", null));
  51490. },
  51491. $signature: 17
  51492. };
  51493. A.global_closure16.prototype = {
  51494. call$1($arguments) {
  51495. var parsed = A._parseChannels("hsla", A._setArrayType(["$hue", "$saturation", "$lightness"], type$.JSArray_String), J.get$first$ax($arguments));
  51496. return parsed instanceof A.SassString ? parsed : A._hsl("hsla", type$.List_Value._as(parsed));
  51497. },
  51498. $signature: 6
  51499. };
  51500. A.global_closure17.prototype = {
  51501. call$1($arguments) {
  51502. var t1 = J.getInterceptor$asx($arguments);
  51503. if (t1.$index($arguments, 0) instanceof A.SassNumber || t1.$index($arguments, 0).get$isSpecialNumber())
  51504. return A._functionString("grayscale", $arguments);
  51505. return t1.$index($arguments, 0).assertColor$1("color").changeHsl$1$saturation(0);
  51506. },
  51507. $signature: 6
  51508. };
  51509. A.global_closure18.prototype = {
  51510. call$1($arguments) {
  51511. var t1 = J.getInterceptor$asx($arguments),
  51512. color = t1.$index($arguments, 0).assertColor$1("color"),
  51513. degrees = A._angleValue(t1.$index($arguments, 1), "degrees");
  51514. return color.changeHsl$1$hue(color.get$hue(0) + degrees);
  51515. },
  51516. $signature: 29
  51517. };
  51518. A.global_closure19.prototype = {
  51519. call$1($arguments) {
  51520. var t1 = J.getInterceptor$asx($arguments),
  51521. color = t1.$index($arguments, 0).assertColor$1("color"),
  51522. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  51523. return color.changeHsl$1$lightness(B.JSNumber_methods.clamp$2(color.get$lightness(0) + amount.valueInRange$3(0, 100, "amount"), 0, 100));
  51524. },
  51525. $signature: 29
  51526. };
  51527. A.global_closure20.prototype = {
  51528. call$1($arguments) {
  51529. var t1 = J.getInterceptor$asx($arguments),
  51530. color = t1.$index($arguments, 0).assertColor$1("color"),
  51531. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  51532. return color.changeHsl$1$lightness(B.JSNumber_methods.clamp$2(color.get$lightness(0) - amount.valueInRange$3(0, 100, "amount"), 0, 100));
  51533. },
  51534. $signature: 29
  51535. };
  51536. A.global_closure21.prototype = {
  51537. call$1($arguments) {
  51538. var t1 = J.getInterceptor$asx($arguments);
  51539. if (t1.$index($arguments, 0) instanceof A.SassNumber || t1.$index($arguments, 0).get$isSpecialNumber())
  51540. return A._functionString("saturate", $arguments);
  51541. return new A.SassString("saturate(" + A.serializeValue(t1.$index($arguments, 0).assertNumber$1("amount"), false, true) + ")", false);
  51542. },
  51543. $signature: 17
  51544. };
  51545. A.global_closure22.prototype = {
  51546. call$1($arguments) {
  51547. var t1 = J.getInterceptor$asx($arguments),
  51548. color = t1.$index($arguments, 0).assertColor$1("color"),
  51549. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  51550. return color.changeHsl$1$saturation(B.JSNumber_methods.clamp$2(color.get$saturation(0) + amount.valueInRange$3(0, 100, "amount"), 0, 100));
  51551. },
  51552. $signature: 29
  51553. };
  51554. A.global_closure23.prototype = {
  51555. call$1($arguments) {
  51556. var t1 = J.getInterceptor$asx($arguments),
  51557. color = t1.$index($arguments, 0).assertColor$1("color"),
  51558. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  51559. return color.changeHsl$1$saturation(B.JSNumber_methods.clamp$2(color.get$saturation(0) - amount.valueInRange$3(0, 100, "amount"), 0, 100));
  51560. },
  51561. $signature: 29
  51562. };
  51563. A.global_closure24.prototype = {
  51564. call$1($arguments) {
  51565. var argument = J.$index$asx($arguments, 0);
  51566. if (argument instanceof A.SassString && !argument._hasQuotes && B.JSString_methods.contains$1(argument._string$_text, $.$get$_microsoftFilterStart()))
  51567. return A._functionString("alpha", $arguments);
  51568. return A.SassNumber_SassNumber(argument.assertColor$1("color")._alpha, null);
  51569. },
  51570. $signature: 6
  51571. };
  51572. A.global_closure25.prototype = {
  51573. call$1($arguments) {
  51574. var t1,
  51575. argList = J.$index$asx($arguments, 0).get$asList();
  51576. if (argList.length !== 0 && B.JSArray_methods.every$1(argList, new A.global__closure()))
  51577. return A._functionString("alpha", $arguments);
  51578. t1 = argList.length;
  51579. if (t1 === 0)
  51580. throw A.wrapException(A.SassScriptException$("Missing argument $color.", null));
  51581. else
  51582. throw A.wrapException(A.SassScriptException$("Only 1 argument allowed, but " + t1 + " were passed.", null));
  51583. },
  51584. $signature: 17
  51585. };
  51586. A.global__closure.prototype = {
  51587. call$1(argument) {
  51588. return argument instanceof A.SassString && !argument._hasQuotes && B.JSString_methods.contains$1(argument._string$_text, $.$get$_microsoftFilterStart());
  51589. },
  51590. $signature: 73
  51591. };
  51592. A.global_closure26.prototype = {
  51593. call$1($arguments) {
  51594. var t1 = J.getInterceptor$asx($arguments);
  51595. if (t1.$index($arguments, 0) instanceof A.SassNumber || t1.$index($arguments, 0).get$isSpecialNumber())
  51596. return A._functionString("opacity", $arguments);
  51597. return A.SassNumber_SassNumber(t1.$index($arguments, 0).assertColor$1("color")._alpha, null);
  51598. },
  51599. $signature: 6
  51600. };
  51601. A.module_closure1.prototype = {
  51602. call$1($arguments) {
  51603. var result, color, t2,
  51604. t1 = J.getInterceptor$asx($arguments),
  51605. weight = t1.$index($arguments, 1).assertNumber$1("weight");
  51606. if (t1.$index($arguments, 0) instanceof A.SassNumber) {
  51607. if (weight._number$_value !== 100 || !weight.hasUnit$1("%"))
  51608. throw A.wrapException(string$.Only_oa);
  51609. result = A._functionString("invert", t1.take$1($arguments, 1));
  51610. A.warnForDeprecation("Passing a number (" + A.S(t1.$index($arguments, 0)) + string$.x29x20to_ci + result.toString$0(0), B.Deprecation_iDZ);
  51611. return result;
  51612. }
  51613. color = t1.$index($arguments, 0).assertColor$1("color");
  51614. t1 = color.get$red(0);
  51615. t2 = color.get$green(0);
  51616. return A._mixColors(color.changeRgb$3$blue$green$red(255 - color.get$blue(0), 255 - t2, 255 - t1), color, weight);
  51617. },
  51618. $signature: 6
  51619. };
  51620. A.module_closure2.prototype = {
  51621. call$1($arguments) {
  51622. var result,
  51623. t1 = J.getInterceptor$asx($arguments);
  51624. if (t1.$index($arguments, 0) instanceof A.SassNumber) {
  51625. result = A._functionString("grayscale", t1.take$1($arguments, 1));
  51626. A.warnForDeprecation("Passing a number (" + A.S(t1.$index($arguments, 0)) + string$.x29x20to_cg + result.toString$0(0), B.Deprecation_iDZ);
  51627. return result;
  51628. }
  51629. return t1.$index($arguments, 0).assertColor$1("color").changeHsl$1$saturation(0);
  51630. },
  51631. $signature: 6
  51632. };
  51633. A.module_closure3.prototype = {
  51634. call$1($arguments) {
  51635. return A._hwb($arguments);
  51636. },
  51637. $signature: 6
  51638. };
  51639. A.module_closure4.prototype = {
  51640. call$1($arguments) {
  51641. var parsed = A._parseChannels("hwb", A._setArrayType(["$hue", "$whiteness", "$blackness"], type$.JSArray_String), J.get$first$ax($arguments));
  51642. if (parsed instanceof A.SassString)
  51643. throw A.wrapException(A.SassScriptException$('Expected numeric channels, got "' + parsed.toString$0(0) + '".', null));
  51644. else
  51645. return A._hwb(type$.List_Value._as(parsed));
  51646. },
  51647. $signature: 6
  51648. };
  51649. A.module_closure5.prototype = {
  51650. call$1($arguments) {
  51651. return A.SassNumber_SassNumber(J.get$first$ax($arguments).assertColor$1("color").get$whiteness(0), "%");
  51652. },
  51653. $signature: 11
  51654. };
  51655. A.module_closure6.prototype = {
  51656. call$1($arguments) {
  51657. return A.SassNumber_SassNumber(J.get$first$ax($arguments).assertColor$1("color").get$blackness(0), "%");
  51658. },
  51659. $signature: 11
  51660. };
  51661. A.module_closure7.prototype = {
  51662. call$1($arguments) {
  51663. var result,
  51664. argument = J.$index$asx($arguments, 0);
  51665. if (argument instanceof A.SassString && !argument._hasQuotes && B.JSString_methods.contains$1(argument._string$_text, $.$get$_microsoftFilterStart())) {
  51666. result = A._functionString("alpha", $arguments);
  51667. A.warnForDeprecation(string$.Using_c + result.toString$0(0), B.Deprecation_iDZ);
  51668. return result;
  51669. }
  51670. return A.SassNumber_SassNumber(argument.assertColor$1("color")._alpha, null);
  51671. },
  51672. $signature: 6
  51673. };
  51674. A.module_closure8.prototype = {
  51675. call$1($arguments) {
  51676. var result,
  51677. t1 = J.getInterceptor$asx($arguments);
  51678. if (B.JSArray_methods.every$1(t1.$index($arguments, 0).get$asList(), new A.module__closure1())) {
  51679. result = A._functionString("alpha", $arguments);
  51680. A.warnForDeprecation(string$.Using_c + result.toString$0(0), B.Deprecation_iDZ);
  51681. return result;
  51682. }
  51683. throw A.wrapException(A.SassScriptException$("Only 1 argument allowed, but " + t1.get$length($arguments) + " were passed.", null));
  51684. },
  51685. $signature: 17
  51686. };
  51687. A.module__closure1.prototype = {
  51688. call$1(argument) {
  51689. return argument instanceof A.SassString && !argument._hasQuotes && B.JSString_methods.contains$1(argument._string$_text, $.$get$_microsoftFilterStart());
  51690. },
  51691. $signature: 73
  51692. };
  51693. A.module_closure9.prototype = {
  51694. call$1($arguments) {
  51695. var result,
  51696. t1 = J.getInterceptor$asx($arguments);
  51697. if (t1.$index($arguments, 0) instanceof A.SassNumber) {
  51698. result = A._functionString("opacity", $arguments);
  51699. A.warnForDeprecation("Passing a number (" + A.S(t1.$index($arguments, 0)) + string$.x20to_co + result.toString$0(0), B.Deprecation_iDZ);
  51700. return result;
  51701. }
  51702. return A.SassNumber_SassNumber(t1.$index($arguments, 0).assertColor$1("color")._alpha, null);
  51703. },
  51704. $signature: 6
  51705. };
  51706. A._red_closure.prototype = {
  51707. call$1($arguments) {
  51708. return A.SassNumber_SassNumber(J.get$first$ax($arguments).assertColor$1("color").get$red(0), null);
  51709. },
  51710. $signature: 11
  51711. };
  51712. A._green_closure.prototype = {
  51713. call$1($arguments) {
  51714. return A.SassNumber_SassNumber(J.get$first$ax($arguments).assertColor$1("color").get$green(0), null);
  51715. },
  51716. $signature: 11
  51717. };
  51718. A._blue_closure.prototype = {
  51719. call$1($arguments) {
  51720. return A.SassNumber_SassNumber(J.get$first$ax($arguments).assertColor$1("color").get$blue(0), null);
  51721. },
  51722. $signature: 11
  51723. };
  51724. A._mix_closure.prototype = {
  51725. call$1($arguments) {
  51726. var t1 = J.getInterceptor$asx($arguments);
  51727. return A._mixColors(t1.$index($arguments, 0).assertColor$1("color1"), t1.$index($arguments, 1).assertColor$1("color2"), t1.$index($arguments, 2).assertNumber$1("weight"));
  51728. },
  51729. $signature: 29
  51730. };
  51731. A._hue_closure.prototype = {
  51732. call$1($arguments) {
  51733. return A.SassNumber_SassNumber(J.get$first$ax($arguments).assertColor$1("color").get$hue(0), "deg");
  51734. },
  51735. $signature: 11
  51736. };
  51737. A._saturation_closure.prototype = {
  51738. call$1($arguments) {
  51739. return A.SassNumber_SassNumber(J.get$first$ax($arguments).assertColor$1("color").get$saturation(0), "%");
  51740. },
  51741. $signature: 11
  51742. };
  51743. A._lightness_closure.prototype = {
  51744. call$1($arguments) {
  51745. return A.SassNumber_SassNumber(J.get$first$ax($arguments).assertColor$1("color").get$lightness(0), "%");
  51746. },
  51747. $signature: 11
  51748. };
  51749. A._complement_closure.prototype = {
  51750. call$1($arguments) {
  51751. var color = J.$index$asx($arguments, 0).assertColor$1("color");
  51752. return color.changeHsl$1$hue(color.get$hue(0) + 180);
  51753. },
  51754. $signature: 29
  51755. };
  51756. A._adjust_closure.prototype = {
  51757. call$1($arguments) {
  51758. return A._updateComponents($arguments, true, false, false);
  51759. },
  51760. $signature: 29
  51761. };
  51762. A._scale_closure.prototype = {
  51763. call$1($arguments) {
  51764. return A._updateComponents($arguments, false, false, true);
  51765. },
  51766. $signature: 29
  51767. };
  51768. A._change_closure.prototype = {
  51769. call$1($arguments) {
  51770. return A._updateComponents($arguments, false, true, false);
  51771. },
  51772. $signature: 29
  51773. };
  51774. A._ieHexStr_closure.prototype = {
  51775. call$1($arguments) {
  51776. var color = J.$index$asx($arguments, 0).assertColor$1("color"),
  51777. t1 = new A._ieHexStr_closure_hexString();
  51778. return new A.SassString("#" + A.S(t1.call$1(A.fuzzyRound(color._alpha * 255))) + A.S(t1.call$1(color.get$red(0))) + A.S(t1.call$1(color.get$green(0))) + A.S(t1.call$1(color.get$blue(0))), false);
  51779. },
  51780. $signature: 17
  51781. };
  51782. A._ieHexStr_closure_hexString.prototype = {
  51783. call$1(component) {
  51784. return B.JSString_methods.padLeft$2(B.JSInt_methods.toRadixString$1(component, 16), 2, "0").toUpperCase();
  51785. },
  51786. $signature: 194
  51787. };
  51788. A._updateComponents_getParam.prototype = {
  51789. call$5$assertPercent$checkPercent$checkUnitless($name, max, assertPercent, checkPercent, checkUnitless) {
  51790. var t2, _this = this,
  51791. t1 = _this.keywords.remove$1(0, $name),
  51792. number = t1 == null ? null : t1.assertNumber$1($name);
  51793. if (number == null)
  51794. return null;
  51795. t1 = _this.scale;
  51796. t2 = !t1;
  51797. if (t2 && checkUnitless)
  51798. if (number.get$hasUnits())
  51799. A.warnForDeprecation("$" + $name + ": Passing a number with unit " + number.get$unitString() + string$.x20is_de + number.unitSuggestion$1($name) + string$.x0a_Morex3a, B.Deprecation_2jN);
  51800. if (t2 && checkPercent)
  51801. A._checkPercent(number, $name);
  51802. if (!t2 || assertPercent)
  51803. number.assertUnit$2("%", $name);
  51804. if (t1)
  51805. max = 100;
  51806. if (!t2 || assertPercent)
  51807. t1 = number.valueInRange$3(_this.change ? 0 : -max, max, $name);
  51808. else {
  51809. t1 = _this.change ? 0 : -max;
  51810. t1 = number.valueInRangeWithUnit$4(t1, max, $name, checkPercent ? "%" : "");
  51811. }
  51812. return t1;
  51813. },
  51814. call$2($name, max) {
  51815. return this.call$5$assertPercent$checkPercent$checkUnitless($name, max, false, false, false);
  51816. },
  51817. call$3$checkUnitless($name, max, checkUnitless) {
  51818. return this.call$5$assertPercent$checkPercent$checkUnitless($name, max, false, false, checkUnitless);
  51819. },
  51820. call$3$checkPercent($name, max, checkPercent) {
  51821. return this.call$5$assertPercent$checkPercent$checkUnitless($name, max, false, checkPercent, false);
  51822. },
  51823. call$3$assertPercent($name, max, assertPercent) {
  51824. return this.call$5$assertPercent$checkPercent$checkUnitless($name, max, assertPercent, false, false);
  51825. },
  51826. $signature: 193
  51827. };
  51828. A._updateComponents_closure.prototype = {
  51829. call$1(hue) {
  51830. return A._angleValue(hue, "hue");
  51831. },
  51832. $signature: 103
  51833. };
  51834. A._updateComponents_closure0.prototype = {
  51835. call$1($name) {
  51836. return "$" + $name;
  51837. },
  51838. $signature: 5
  51839. };
  51840. A._updateComponents_updateValue.prototype = {
  51841. call$3(current, param, max) {
  51842. var t1;
  51843. if (param == null)
  51844. return current;
  51845. if (this.change)
  51846. return param;
  51847. if (this.adjust)
  51848. return B.JSNumber_methods.clamp$2(current + param, 0, max);
  51849. t1 = param > 0 ? max - current : current;
  51850. return current + t1 * (param / 100);
  51851. },
  51852. $signature: 189
  51853. };
  51854. A._updateComponents_updateRgb.prototype = {
  51855. call$2(current, param) {
  51856. return A.fuzzyRound(this.updateValue.call$3(current, param, 255));
  51857. },
  51858. $signature: 254
  51859. };
  51860. A._functionString_closure.prototype = {
  51861. call$1(argument) {
  51862. return A.serializeValue(argument, false, true);
  51863. },
  51864. $signature: 446
  51865. };
  51866. A._removedColorFunction_closure.prototype = {
  51867. call$1($arguments) {
  51868. var t1 = this.name,
  51869. t2 = J.getInterceptor$asx($arguments),
  51870. t3 = A.S(t2.$index($arguments, 0)),
  51871. t4 = this.negative ? "-" : "";
  51872. throw A.wrapException(A.SassScriptException$("The function " + t1 + string$.x28__isn + t3 + ", $" + this.argument + ": " + t4 + A.S(t2.$index($arguments, 1)) + string$.x29x0a_Mor + t1, null));
  51873. },
  51874. $signature: 458
  51875. };
  51876. A._rgb_closure.prototype = {
  51877. call$1(alpha) {
  51878. return A._percentageOrUnitless(alpha.assertNumber$1("alpha"), 1, "alpha");
  51879. },
  51880. $signature: 103
  51881. };
  51882. A._hsl_closure.prototype = {
  51883. call$1(alpha) {
  51884. return A._percentageOrUnitless(alpha.assertNumber$1("alpha"), 1, "alpha");
  51885. },
  51886. $signature: 103
  51887. };
  51888. A._hwb_closure.prototype = {
  51889. call$1(alpha) {
  51890. return A._percentageOrUnitless(alpha.assertNumber$1("alpha"), 1, "alpha");
  51891. },
  51892. $signature: 103
  51893. };
  51894. A._parseChannels_closure.prototype = {
  51895. call$1(value) {
  51896. return value.get$isVar();
  51897. },
  51898. $signature: 73
  51899. };
  51900. A._length_closure0.prototype = {
  51901. call$1($arguments) {
  51902. return A.SassNumber_SassNumber(J.$index$asx($arguments, 0).get$asList().length, null);
  51903. },
  51904. $signature: 11
  51905. };
  51906. A._nth_closure.prototype = {
  51907. call$1($arguments) {
  51908. var t1 = J.getInterceptor$asx($arguments),
  51909. list = t1.$index($arguments, 0),
  51910. index = t1.$index($arguments, 1);
  51911. return list.get$asList()[list.sassIndexToListIndex$2(index, "n")];
  51912. },
  51913. $signature: 6
  51914. };
  51915. A._setNth_closure.prototype = {
  51916. call$1($arguments) {
  51917. var newList,
  51918. t1 = J.getInterceptor$asx($arguments),
  51919. list = t1.$index($arguments, 0),
  51920. index = t1.$index($arguments, 1),
  51921. value = t1.$index($arguments, 2);
  51922. t1 = list.get$asList();
  51923. newList = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
  51924. newList[list.sassIndexToListIndex$2(index, "n")] = value;
  51925. return list.withListContents$1(newList);
  51926. },
  51927. $signature: 23
  51928. };
  51929. A._join_closure.prototype = {
  51930. call$1($arguments) {
  51931. var _0_1, _0_4, _0_3, t2, _0_40, separator, bracketed, _null = null,
  51932. t1 = J.getInterceptor$asx($arguments),
  51933. list1 = t1.$index($arguments, 0),
  51934. list2 = t1.$index($arguments, 1),
  51935. separatorParam = t1.$index($arguments, 2).assertString$1("separator"),
  51936. bracketedParam = t1.$index($arguments, 3),
  51937. _1_0 = separatorParam._string$_text;
  51938. $label1$1: {
  51939. if ("auto" === _1_0) {
  51940. _0_1 = list1.get$separator(list1);
  51941. _0_4 = list2.get$separator(list2);
  51942. $label0$0: {
  51943. _0_3 = B.ListSeparator_undecided_null_undecided === _0_1;
  51944. t1 = _0_3;
  51945. if (t1) {
  51946. t2 = B.ListSeparator_undecided_null_undecided === _0_4;
  51947. _0_40 = _0_4;
  51948. } else {
  51949. _0_40 = _null;
  51950. t2 = false;
  51951. }
  51952. if (t2) {
  51953. t1 = B.ListSeparator_nbm;
  51954. break $label0$0;
  51955. }
  51956. if (_0_3)
  51957. separator = t1 ? _0_40 : _0_4;
  51958. else
  51959. separator = _null;
  51960. if (!_0_3)
  51961. separator = _0_1;
  51962. t1 = separator;
  51963. break $label0$0;
  51964. }
  51965. break $label1$1;
  51966. }
  51967. if ("space" === _1_0) {
  51968. t1 = B.ListSeparator_nbm;
  51969. break $label1$1;
  51970. }
  51971. if ("comma" === _1_0) {
  51972. t1 = B.ListSeparator_ECn;
  51973. break $label1$1;
  51974. }
  51975. if ("slash" === _1_0) {
  51976. t1 = B.ListSeparator_cQA;
  51977. break $label1$1;
  51978. }
  51979. t1 = A.throwExpression(A.SassScriptException$(string$.x24separ, _null));
  51980. }
  51981. bracketed = bracketedParam instanceof A.SassString && bracketedParam._string$_text === "auto" ? list1.get$hasBrackets() : bracketedParam.get$isTruthy();
  51982. t2 = A.List_List$of(list1.get$asList(), true, type$.Value);
  51983. B.JSArray_methods.addAll$1(t2, list2.get$asList());
  51984. return A.SassList$(t2, t1, bracketed);
  51985. },
  51986. $signature: 23
  51987. };
  51988. A._append_closure0.prototype = {
  51989. call$1($arguments) {
  51990. var t2,
  51991. t1 = J.getInterceptor$asx($arguments),
  51992. list = t1.$index($arguments, 0),
  51993. value = t1.$index($arguments, 1),
  51994. _0_0 = t1.$index($arguments, 2).assertString$1("separator")._string$_text;
  51995. $label0$0: {
  51996. if ("auto" === _0_0) {
  51997. t1 = list.get$separator(list) === B.ListSeparator_undecided_null_undecided ? B.ListSeparator_nbm : list.get$separator(list);
  51998. break $label0$0;
  51999. }
  52000. if ("space" === _0_0) {
  52001. t1 = B.ListSeparator_nbm;
  52002. break $label0$0;
  52003. }
  52004. if ("comma" === _0_0) {
  52005. t1 = B.ListSeparator_ECn;
  52006. break $label0$0;
  52007. }
  52008. if ("slash" === _0_0) {
  52009. t1 = B.ListSeparator_cQA;
  52010. break $label0$0;
  52011. }
  52012. t1 = A.throwExpression(A.SassScriptException$(string$.x24separ, null));
  52013. }
  52014. t2 = A.List_List$of(list.get$asList(), true, type$.Value);
  52015. t2.push(value);
  52016. return list.withListContents$2$separator(t2, t1);
  52017. },
  52018. $signature: 23
  52019. };
  52020. A._zip_closure.prototype = {
  52021. call$1($arguments) {
  52022. var results, result, _box_0 = {},
  52023. t1 = J.$index$asx($arguments, 0).get$asList(),
  52024. t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,List<Value>>"),
  52025. lists = A.List_List$of(new A.MappedListIterable(t1, new A._zip__closure(), t2), true, t2._eval$1("ListIterable.E"));
  52026. if (lists.length === 0)
  52027. return B.SassList_bdS;
  52028. _box_0.i = 0;
  52029. results = A._setArrayType([], type$.JSArray_SassList);
  52030. 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));) {
  52031. result = A.List_List$from(new A.MappedListIterable(lists, new A._zip__closure1(_box_0), t1), false, t2);
  52032. result.fixed$length = Array;
  52033. result.immutable$list = Array;
  52034. results.push(new A.SassList(result, B.ListSeparator_nbm, false));
  52035. ++_box_0.i;
  52036. }
  52037. return A.SassList$(results, B.ListSeparator_ECn, false);
  52038. },
  52039. $signature: 23
  52040. };
  52041. A._zip__closure.prototype = {
  52042. call$1(list) {
  52043. return list.get$asList();
  52044. },
  52045. $signature: 527
  52046. };
  52047. A._zip__closure0.prototype = {
  52048. call$1(list) {
  52049. return this._box_0.i !== J.get$length$asx(list);
  52050. },
  52051. $signature: 553
  52052. };
  52053. A._zip__closure1.prototype = {
  52054. call$1(list) {
  52055. return J.$index$asx(list, this._box_0.i);
  52056. },
  52057. $signature: 6
  52058. };
  52059. A._index_closure0.prototype = {
  52060. call$1($arguments) {
  52061. var t1 = J.getInterceptor$asx($arguments),
  52062. index = B.JSArray_methods.indexOf$1(t1.$index($arguments, 0).get$asList(), t1.$index($arguments, 1));
  52063. return index === -1 ? B.C__SassNull : A.SassNumber_SassNumber(index + 1, null);
  52064. },
  52065. $signature: 6
  52066. };
  52067. A._separator_closure.prototype = {
  52068. call$1($arguments) {
  52069. var t1,
  52070. _0_0 = J.get$separator$x(J.$index$asx($arguments, 0));
  52071. $label0$0: {
  52072. if (B.ListSeparator_ECn === _0_0) {
  52073. t1 = new A.SassString("comma", false);
  52074. break $label0$0;
  52075. }
  52076. if (B.ListSeparator_cQA === _0_0) {
  52077. t1 = new A.SassString("slash", false);
  52078. break $label0$0;
  52079. }
  52080. t1 = new A.SassString("space", false);
  52081. break $label0$0;
  52082. }
  52083. return t1;
  52084. },
  52085. $signature: 17
  52086. };
  52087. A._isBracketed_closure.prototype = {
  52088. call$1($arguments) {
  52089. return J.$index$asx($arguments, 0).get$hasBrackets() ? B.SassBoolean_true : B.SassBoolean_false;
  52090. },
  52091. $signature: 20
  52092. };
  52093. A._slash_closure.prototype = {
  52094. call$1($arguments) {
  52095. var list = J.$index$asx($arguments, 0).get$asList();
  52096. if (list.length < 2)
  52097. throw A.wrapException(A.SassScriptException$("At least two elements are required.", null));
  52098. return A.SassList$(list, B.ListSeparator_cQA, false);
  52099. },
  52100. $signature: 23
  52101. };
  52102. A._get_closure.prototype = {
  52103. call$1($arguments) {
  52104. var value,
  52105. t1 = J.getInterceptor$asx($arguments),
  52106. map = t1.$index($arguments, 0).assertMap$1("map"),
  52107. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value);
  52108. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  52109. for (t1 = A.IterableExtension_get_exceptLast(t2), t1 = t1.get$iterator(t1); t1.moveNext$0(); map = value) {
  52110. value = map._map$_contents.$index(0, t1.get$current(t1));
  52111. if (!(value instanceof A.SassMap))
  52112. return B.C__SassNull;
  52113. }
  52114. t1 = map._map$_contents.$index(0, B.JSArray_methods.get$last(t2));
  52115. return t1 == null ? B.C__SassNull : t1;
  52116. },
  52117. $signature: 6
  52118. };
  52119. A._set_closure.prototype = {
  52120. call$1($arguments) {
  52121. var t1 = J.getInterceptor$asx($arguments);
  52122. 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);
  52123. },
  52124. $signature: 6
  52125. };
  52126. A._set__closure0.prototype = {
  52127. call$1(_) {
  52128. return J.$index$asx(this.$arguments, 2);
  52129. },
  52130. $signature: 42
  52131. };
  52132. A._set_closure0.prototype = {
  52133. call$1($arguments) {
  52134. var keys, t3, t1 = {},
  52135. t2 = J.getInterceptor$asx($arguments),
  52136. map = t2.$index($arguments, 0).assertMap$1("map"),
  52137. _0_0 = t2.$index($arguments, 1).get$asList(),
  52138. _0_1 = _0_0.length;
  52139. if (_0_1 <= 0)
  52140. throw A.wrapException(A.SassScriptException$("Expected $args to contain a key.", null));
  52141. if (_0_1 === 1)
  52142. throw A.wrapException(A.SassScriptException$("Expected $args to contain a value.", null));
  52143. keys = t1.value = null;
  52144. t2 = _0_1 >= 1;
  52145. if (t2) {
  52146. t3 = _0_1 - 1;
  52147. keys = B.JSArray_methods.sublist$2(_0_0, 0, t3);
  52148. t1.value = _0_0[t3];
  52149. }
  52150. if (t2)
  52151. return A._modify(map, keys, new A._set__closure(t1), true);
  52152. throw A.wrapException("[BUG] Unreachable code");
  52153. },
  52154. $signature: 6
  52155. };
  52156. A._set__closure.prototype = {
  52157. call$1(_) {
  52158. return this._box_0.value;
  52159. },
  52160. $signature: 42
  52161. };
  52162. A._merge_closure.prototype = {
  52163. call$1($arguments) {
  52164. var t2,
  52165. t1 = J.getInterceptor$asx($arguments),
  52166. map1 = t1.$index($arguments, 0).assertMap$1("map1"),
  52167. map2 = t1.$index($arguments, 1).assertMap$1("map2");
  52168. t1 = type$.Value;
  52169. t2 = A.LinkedHashMap_LinkedHashMap$of(map1._map$_contents, t1, t1);
  52170. t2.addAll$1(0, map2._map$_contents);
  52171. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  52172. },
  52173. $signature: 36
  52174. };
  52175. A._merge_closure0.prototype = {
  52176. call$1($arguments) {
  52177. var t2, keys, last, _null = null,
  52178. t1 = J.getInterceptor$asx($arguments),
  52179. map1 = t1.$index($arguments, 0).assertMap$1("map1"),
  52180. _0_0 = t1.$index($arguments, 1).get$asList(),
  52181. _0_1 = _0_0.length;
  52182. if (_0_1 <= 0)
  52183. throw A.wrapException(A.SassScriptException$("Expected $args to contain a key.", _null));
  52184. if (_0_1 === 1)
  52185. throw A.wrapException(A.SassScriptException$("Expected $args to contain a map.", _null));
  52186. t1 = _0_1 >= 1;
  52187. if (t1) {
  52188. t2 = _0_1 - 1;
  52189. keys = B.JSArray_methods.sublist$2(_0_0, 0, t2);
  52190. last = _0_0[t2];
  52191. } else {
  52192. last = _null;
  52193. keys = last;
  52194. }
  52195. if (t1)
  52196. return A._modify(map1, keys, new A._merge__closure(last.assertMap$1("map2")), true);
  52197. throw A.wrapException("[BUG] Unreachable code");
  52198. },
  52199. $signature: 6
  52200. };
  52201. A._merge__closure.prototype = {
  52202. call$1(oldValue) {
  52203. var t1, t2,
  52204. nestedMap = oldValue.tryMap$0();
  52205. if (nestedMap == null)
  52206. return this.map2;
  52207. t1 = type$.Value;
  52208. t2 = A.LinkedHashMap_LinkedHashMap$of(nestedMap._map$_contents, t1, t1);
  52209. t2.addAll$1(0, this.map2._map$_contents);
  52210. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  52211. },
  52212. $signature: 627
  52213. };
  52214. A._deepMerge_closure.prototype = {
  52215. call$1($arguments) {
  52216. var t1 = J.getInterceptor$asx($arguments);
  52217. return A._deepMergeImpl(t1.$index($arguments, 0).assertMap$1("map1"), t1.$index($arguments, 1).assertMap$1("map2"));
  52218. },
  52219. $signature: 36
  52220. };
  52221. A._deepRemove_closure.prototype = {
  52222. call$1($arguments) {
  52223. var t1 = J.getInterceptor$asx($arguments),
  52224. map = t1.$index($arguments, 0).assertMap$1("map"),
  52225. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value);
  52226. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  52227. return A._modify(map, A.IterableExtension_get_exceptLast(t2), new A._deepRemove__closure(t2), false);
  52228. },
  52229. $signature: 6
  52230. };
  52231. A._deepRemove__closure.prototype = {
  52232. call$1(value) {
  52233. var t1, nestedMap, t2,
  52234. _0_0 = value.tryMap$0();
  52235. if (_0_0 != null) {
  52236. t1 = _0_0._map$_contents.containsKey$1(B.JSArray_methods.get$last(this.keys));
  52237. nestedMap = _0_0;
  52238. } else {
  52239. nestedMap = null;
  52240. t1 = false;
  52241. }
  52242. if (t1) {
  52243. t1 = type$.Value;
  52244. t2 = A.LinkedHashMap_LinkedHashMap$of(nestedMap._map$_contents, t1, t1);
  52245. t2.remove$1(0, B.JSArray_methods.get$last(this.keys));
  52246. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  52247. }
  52248. return value;
  52249. },
  52250. $signature: 42
  52251. };
  52252. A._remove_closure.prototype = {
  52253. call$1($arguments) {
  52254. return J.$index$asx($arguments, 0).assertMap$1("map");
  52255. },
  52256. $signature: 36
  52257. };
  52258. A._remove_closure0.prototype = {
  52259. call$1($arguments) {
  52260. var mutableMap, t3, _i,
  52261. t1 = J.getInterceptor$asx($arguments),
  52262. map = t1.$index($arguments, 0).assertMap$1("map"),
  52263. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value);
  52264. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  52265. t1 = type$.Value;
  52266. mutableMap = A.LinkedHashMap_LinkedHashMap$of(map._map$_contents, t1, t1);
  52267. for (t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i)
  52268. mutableMap.remove$1(0, t2[_i]);
  52269. return new A.SassMap(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  52270. },
  52271. $signature: 36
  52272. };
  52273. A._keys_closure.prototype = {
  52274. call$1($arguments) {
  52275. var t1 = J.$index$asx($arguments, 0).assertMap$1("map")._map$_contents;
  52276. return A.SassList$(t1.get$keys(t1), B.ListSeparator_ECn, false);
  52277. },
  52278. $signature: 23
  52279. };
  52280. A._values_closure.prototype = {
  52281. call$1($arguments) {
  52282. var t1 = J.$index$asx($arguments, 0).assertMap$1("map")._map$_contents;
  52283. return A.SassList$(t1.get$values(t1), B.ListSeparator_ECn, false);
  52284. },
  52285. $signature: 23
  52286. };
  52287. A._hasKey_closure.prototype = {
  52288. call$1($arguments) {
  52289. var value,
  52290. t1 = J.getInterceptor$asx($arguments),
  52291. map = t1.$index($arguments, 0).assertMap$1("map"),
  52292. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value);
  52293. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  52294. for (t1 = A.IterableExtension_get_exceptLast(t2), t1 = t1.get$iterator(t1); t1.moveNext$0(); map = value) {
  52295. value = map._map$_contents.$index(0, t1.get$current(t1));
  52296. if (!(value instanceof A.SassMap))
  52297. return B.SassBoolean_false;
  52298. }
  52299. return map._map$_contents.containsKey$1(B.JSArray_methods.get$last(t2)) ? B.SassBoolean_true : B.SassBoolean_false;
  52300. },
  52301. $signature: 20
  52302. };
  52303. A._modify_modifyNestedMap.prototype = {
  52304. call$1(map) {
  52305. var nestedMap, _this = this,
  52306. t1 = type$.Value,
  52307. mutableMap = A.LinkedHashMap_LinkedHashMap$of(map._map$_contents, t1, t1),
  52308. t2 = _this.keyIterator,
  52309. key = t2.get$current(t2);
  52310. if (!t2.moveNext$0()) {
  52311. t2 = mutableMap.$index(0, key);
  52312. if (t2 == null)
  52313. t2 = B.C__SassNull;
  52314. mutableMap.$indexSet(0, key, _this.modify.call$1(t2));
  52315. return new A.SassMap(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  52316. }
  52317. t2 = mutableMap.$index(0, key);
  52318. nestedMap = t2 == null ? null : t2.tryMap$0();
  52319. t2 = nestedMap == null;
  52320. if (t2 && !_this.addNesting)
  52321. return new A.SassMap(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  52322. mutableMap.$indexSet(0, key, _this.call$1(t2 ? B.SassMap_Map_empty : nestedMap));
  52323. return new A.SassMap(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  52324. },
  52325. $signature: 629
  52326. };
  52327. A.global_closure.prototype = {
  52328. call$1($arguments) {
  52329. var t1,
  52330. number = J.$index$asx($arguments, 0).assertNumber$1("number");
  52331. if (number.hasUnit$1("%"))
  52332. A.warnForDeprecation(string$.Passinp + number.toString$0(0) + ")\nTo emit a CSS abs() now: abs(#{" + number.toString$0(0) + string$.x7d__Mor, B.Deprecation_GFc);
  52333. t1 = number.get$numeratorUnits(number);
  52334. return A.SassNumber_SassNumber$withUnits(Math.abs(number._number$_value), number.get$denominatorUnits(number), t1);
  52335. },
  52336. $signature: 11
  52337. };
  52338. A.module_closure0.prototype = {
  52339. call$1(value) {
  52340. return Math.abs(value);
  52341. },
  52342. $signature: 38
  52343. };
  52344. A._ceil_closure.prototype = {
  52345. call$1(value) {
  52346. return B.JSNumber_methods.ceil$0(value);
  52347. },
  52348. $signature: 38
  52349. };
  52350. A._clamp_closure.prototype = {
  52351. call$1($arguments) {
  52352. var t1 = J.getInterceptor$asx($arguments),
  52353. min = t1.$index($arguments, 0).assertNumber$1("min"),
  52354. number = t1.$index($arguments, 1).assertNumber$1("number"),
  52355. max = t1.$index($arguments, 2).assertNumber$1("max");
  52356. number.convertValueToMatch$3(min, "number", "min");
  52357. max.convertValueToMatch$3(min, "max", "min");
  52358. if (min.greaterThanOrEquals$1(max).value)
  52359. return min;
  52360. if (min.greaterThanOrEquals$1(number).value)
  52361. return min;
  52362. if (number.greaterThanOrEquals$1(max).value)
  52363. return max;
  52364. return number;
  52365. },
  52366. $signature: 11
  52367. };
  52368. A._floor_closure.prototype = {
  52369. call$1(value) {
  52370. return B.JSNumber_methods.floor$0(value);
  52371. },
  52372. $signature: 38
  52373. };
  52374. A._max_closure.prototype = {
  52375. call$1($arguments) {
  52376. var t1, t2, max, _i, number;
  52377. 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) {
  52378. number = t1[_i].assertNumber$0();
  52379. if (max == null || max.lessThan$1(number).value)
  52380. max = number;
  52381. }
  52382. if (max != null)
  52383. return max;
  52384. throw A.wrapException(A.SassScriptException$("At least one argument must be passed.", null));
  52385. },
  52386. $signature: 11
  52387. };
  52388. A._min_closure.prototype = {
  52389. call$1($arguments) {
  52390. var t1, t2, min, _i, number;
  52391. 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) {
  52392. number = t1[_i].assertNumber$0();
  52393. if (min == null || min.greaterThan$1(number).value)
  52394. min = number;
  52395. }
  52396. if (min != null)
  52397. return min;
  52398. throw A.wrapException(A.SassScriptException$("At least one argument must be passed.", null));
  52399. },
  52400. $signature: 11
  52401. };
  52402. A._round_closure.prototype = {
  52403. call$1(number) {
  52404. return B.JSNumber_methods.round$0(number);
  52405. },
  52406. $signature: 38
  52407. };
  52408. A._hypot_closure.prototype = {
  52409. call$1($arguments) {
  52410. var subtotal, i, i0, t3, t4,
  52411. t1 = J.$index$asx($arguments, 0).get$asList(),
  52412. t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,SassNumber>"),
  52413. numbers = A.List_List$of(new A.MappedListIterable(t1, new A._hypot__closure(), t2), true, t2._eval$1("ListIterable.E"));
  52414. t1 = numbers.length;
  52415. if (t1 === 0)
  52416. throw A.wrapException(A.SassScriptException$("At least one argument must be passed.", null));
  52417. for (subtotal = 0, i = 0; i < t1; i = i0) {
  52418. i0 = i + 1;
  52419. subtotal += Math.pow(numbers[i].convertValueToMatch$3(numbers[0], "numbers[" + i0 + "]", "numbers[1]"), 2);
  52420. }
  52421. t1 = Math.sqrt(subtotal);
  52422. t2 = numbers[0];
  52423. t3 = J.getInterceptor$x(t2);
  52424. t4 = t3.get$numeratorUnits(t2);
  52425. return A.SassNumber_SassNumber$withUnits(t1, t3.get$denominatorUnits(t2), t4);
  52426. },
  52427. $signature: 11
  52428. };
  52429. A._hypot__closure.prototype = {
  52430. call$1(argument) {
  52431. return argument.assertNumber$0();
  52432. },
  52433. $signature: 609
  52434. };
  52435. A._log_closure.prototype = {
  52436. call$1($arguments) {
  52437. var base,
  52438. _s18_ = " to have no units.",
  52439. _null = null,
  52440. t1 = J.getInterceptor$asx($arguments),
  52441. number = t1.$index($arguments, 0).assertNumber$1("number");
  52442. if (number.get$hasUnits())
  52443. throw A.wrapException(A.SassScriptException$("$number: Expected " + number.toString$0(0) + _s18_, _null));
  52444. else if (J.$eq$(t1.$index($arguments, 1), B.C__SassNull))
  52445. return A.SassNumber_SassNumber(Math.log(number._number$_value), _null);
  52446. base = t1.$index($arguments, 1).assertNumber$1("base");
  52447. if (base.get$hasUnits())
  52448. throw A.wrapException(A.SassScriptException$("$base: Expected " + base.toString$0(0) + _s18_, _null));
  52449. else
  52450. return A.SassNumber_SassNumber(Math.log(number._number$_value) / Math.log(base._number$_value), _null);
  52451. },
  52452. $signature: 11
  52453. };
  52454. A._pow_closure.prototype = {
  52455. call$1($arguments) {
  52456. var t1 = J.getInterceptor$asx($arguments);
  52457. return A.pow0(t1.$index($arguments, 0).assertNumber$1("base"), t1.$index($arguments, 1).assertNumber$1("exponent"));
  52458. },
  52459. $signature: 11
  52460. };
  52461. A._atan2_closure.prototype = {
  52462. call$1($arguments) {
  52463. var t1 = J.getInterceptor$asx($arguments),
  52464. y = t1.$index($arguments, 0).assertNumber$1("y");
  52465. 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));
  52466. },
  52467. $signature: 11
  52468. };
  52469. A._compatible_closure.prototype = {
  52470. call$1($arguments) {
  52471. var t1 = J.getInterceptor$asx($arguments);
  52472. return t1.$index($arguments, 0).assertNumber$1("number1").isComparableTo$1(t1.$index($arguments, 1).assertNumber$1("number2")) ? B.SassBoolean_true : B.SassBoolean_false;
  52473. },
  52474. $signature: 20
  52475. };
  52476. A._isUnitless_closure.prototype = {
  52477. call$1($arguments) {
  52478. return !J.$index$asx($arguments, 0).assertNumber$1("number").get$hasUnits() ? B.SassBoolean_true : B.SassBoolean_false;
  52479. },
  52480. $signature: 20
  52481. };
  52482. A._unit_closure.prototype = {
  52483. call$1($arguments) {
  52484. return new A.SassString(J.$index$asx($arguments, 0).assertNumber$1("number").get$unitString(), true);
  52485. },
  52486. $signature: 17
  52487. };
  52488. A._percentage_closure.prototype = {
  52489. call$1($arguments) {
  52490. var number = J.$index$asx($arguments, 0).assertNumber$1("number");
  52491. number.assertNoUnits$1("number");
  52492. return A.SassNumber_SassNumber(number._number$_value * 100, "%");
  52493. },
  52494. $signature: 11
  52495. };
  52496. A._randomFunction_closure.prototype = {
  52497. call$1($arguments) {
  52498. var limit, limitScalar,
  52499. t1 = J.getInterceptor$asx($arguments);
  52500. if (J.$eq$(t1.$index($arguments, 0), B.C__SassNull))
  52501. return A.SassNumber_SassNumber($.$get$_random0().nextDouble$0(), null);
  52502. limit = t1.$index($arguments, 0).assertNumber$1("limit");
  52503. if (limit.get$hasUnits())
  52504. 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_2jN);
  52505. limitScalar = limit.assertInt$1("limit");
  52506. if (limitScalar < 1)
  52507. throw A.wrapException(A.SassScriptException$("$limit: Must be greater than 0, was " + limit.toString$0(0) + ".", null));
  52508. return A.SassNumber_SassNumber($.$get$_random0().nextInt$1(limitScalar) + 1, null);
  52509. },
  52510. $signature: 11
  52511. };
  52512. A._div_closure.prototype = {
  52513. call$1($arguments) {
  52514. var t1 = J.getInterceptor$asx($arguments),
  52515. number1 = t1.$index($arguments, 0),
  52516. number2 = t1.$index($arguments, 1);
  52517. if (!(number1 instanceof A.SassNumber) || !(number2 instanceof A.SassNumber))
  52518. A.warn(string$.math_d);
  52519. return number1.dividedBy$1(number2);
  52520. },
  52521. $signature: 6
  52522. };
  52523. A._singleArgumentMathFunc_closure.prototype = {
  52524. call$1($arguments) {
  52525. return this.mathFunc.call$1(J.$index$asx($arguments, 0).assertNumber$1("number"));
  52526. },
  52527. $signature: 11
  52528. };
  52529. A._numberFunction_closure.prototype = {
  52530. call$1($arguments) {
  52531. var number = J.$index$asx($arguments, 0).assertNumber$1("number"),
  52532. t1 = this.transform.call$1(number._number$_value),
  52533. t2 = number.get$numeratorUnits(number);
  52534. return A.SassNumber_SassNumber$withUnits(t1, number.get$denominatorUnits(number), t2);
  52535. },
  52536. $signature: 11
  52537. };
  52538. A.global_closure27.prototype = {
  52539. call$1($arguments) {
  52540. return $._features.contains$1(0, J.$index$asx($arguments, 0).assertString$1("feature")._string$_text) ? B.SassBoolean_true : B.SassBoolean_false;
  52541. },
  52542. $signature: 20
  52543. };
  52544. A.global_closure28.prototype = {
  52545. call$1($arguments) {
  52546. return new A.SassString(A.serializeValue(J.get$first$ax($arguments), true, true), false);
  52547. },
  52548. $signature: 17
  52549. };
  52550. A.global_closure29.prototype = {
  52551. call$1($arguments) {
  52552. var t1 = J.getInterceptor$asx($arguments),
  52553. _0_0 = t1.$index($arguments, 0);
  52554. $label0$0: {
  52555. if (_0_0 instanceof A.SassArgumentList) {
  52556. t1 = "arglist";
  52557. break $label0$0;
  52558. }
  52559. if (_0_0 instanceof A.SassBoolean) {
  52560. t1 = "bool";
  52561. break $label0$0;
  52562. }
  52563. if (_0_0 instanceof A.SassColor) {
  52564. t1 = "color";
  52565. break $label0$0;
  52566. }
  52567. if (_0_0 instanceof A.SassList) {
  52568. t1 = "list";
  52569. break $label0$0;
  52570. }
  52571. if (_0_0 instanceof A.SassMap) {
  52572. t1 = "map";
  52573. break $label0$0;
  52574. }
  52575. if (B.C__SassNull === _0_0) {
  52576. t1 = "null";
  52577. break $label0$0;
  52578. }
  52579. if (_0_0 instanceof A.SassNumber) {
  52580. t1 = "number";
  52581. break $label0$0;
  52582. }
  52583. if (_0_0 instanceof A.SassFunction) {
  52584. t1 = "function";
  52585. break $label0$0;
  52586. }
  52587. if (_0_0 instanceof A.SassMixin) {
  52588. t1 = "mixin";
  52589. break $label0$0;
  52590. }
  52591. if (_0_0 instanceof A.SassCalculation) {
  52592. t1 = "calculation";
  52593. break $label0$0;
  52594. }
  52595. if (_0_0 instanceof A.SassString) {
  52596. t1 = "string";
  52597. break $label0$0;
  52598. }
  52599. t1 = A.throwExpression("[BUG] Unknown value type " + A.S(t1.$index($arguments, 0)));
  52600. }
  52601. return new A.SassString(t1, false);
  52602. },
  52603. $signature: 17
  52604. };
  52605. A.global_closure30.prototype = {
  52606. call$1($arguments) {
  52607. var t2, t3, t4,
  52608. t1 = J.getInterceptor$asx($arguments),
  52609. _1_0 = t1.$index($arguments, 0);
  52610. if (_1_0 instanceof A.SassArgumentList) {
  52611. _1_0._wereKeywordsAccessed = true;
  52612. t1 = type$.Value;
  52613. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  52614. for (t3 = A.MapExtensions_get_pairs(_1_0._keywords, type$.String, t1), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  52615. t4 = t3.get$current(t3);
  52616. t2.$indexSet(0, new A.SassString(t4._0, false), t4._1);
  52617. }
  52618. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  52619. } else
  52620. throw A.wrapException("$args: " + A.S(t1.$index($arguments, 0)) + " is not an argument list.");
  52621. },
  52622. $signature: 36
  52623. };
  52624. A.local_closure.prototype = {
  52625. call$1($arguments) {
  52626. return new A.SassString(J.$index$asx($arguments, 0).assertCalculation$1("calc").name, true);
  52627. },
  52628. $signature: 17
  52629. };
  52630. A.local_closure0.prototype = {
  52631. call$1($arguments) {
  52632. var t1 = J.$index$asx($arguments, 0).assertCalculation$1("calc").$arguments;
  52633. return A.SassList$(new A.MappedListIterable(t1, new A.local__closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value>")), B.ListSeparator_ECn, false);
  52634. },
  52635. $signature: 23
  52636. };
  52637. A.local__closure.prototype = {
  52638. call$1(argument) {
  52639. return argument instanceof A.Value ? argument : new A.SassString(J.toString$0$(argument), false);
  52640. },
  52641. $signature: 606
  52642. };
  52643. A.local_closure1.prototype = {
  52644. call$1($arguments) {
  52645. var _0_2_isSet, _0_2, acceptsContent, t1, _0_5_isSet, _0_5, hasContent,
  52646. mixin = J.$index$asx($arguments, 0).assertMixin$1("mixin"),
  52647. _0_0 = mixin.callable;
  52648. $label0$0: {
  52649. _0_2_isSet = type$.AsyncBuiltInCallable._is(_0_0);
  52650. if (_0_2_isSet) {
  52651. _0_2 = _0_0.get$acceptsContent();
  52652. acceptsContent = _0_2;
  52653. } else
  52654. acceptsContent = null;
  52655. if (!_0_2_isSet) {
  52656. _0_2_isSet = _0_0 instanceof A.BuiltInCallable;
  52657. if (_0_2_isSet) {
  52658. _0_2 = _0_0.acceptsContent;
  52659. acceptsContent = _0_2;
  52660. }
  52661. t1 = _0_2_isSet;
  52662. } else
  52663. t1 = true;
  52664. if (t1) {
  52665. t1 = acceptsContent;
  52666. break $label0$0;
  52667. }
  52668. _0_5_isSet = _0_0 instanceof A.UserDefinedCallable;
  52669. if (_0_5_isSet) {
  52670. _0_5 = _0_0.declaration;
  52671. t1 = _0_5 instanceof A.MixinRule;
  52672. } else {
  52673. _0_5 = null;
  52674. t1 = false;
  52675. }
  52676. if (t1) {
  52677. t1 = _0_5_isSet ? _0_5 : _0_0.declaration;
  52678. hasContent = type$.MixinRule._as(t1).get$hasContent();
  52679. t1 = hasContent;
  52680. break $label0$0;
  52681. }
  52682. t1 = A.throwExpression(A.UnsupportedError$("Unknown callable type " + mixin.toString$0(0) + "."));
  52683. }
  52684. return t1 ? B.SassBoolean_true : B.SassBoolean_false;
  52685. },
  52686. $signature: 20
  52687. };
  52688. A._nest_closure.prototype = {
  52689. call$1($arguments) {
  52690. var t1 = {},
  52691. selectors = J.$index$asx($arguments, 0).get$asList();
  52692. if (selectors.length === 0)
  52693. throw A.wrapException(A.SassScriptException$(string$.x24selec, null));
  52694. t1.first = true;
  52695. 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();
  52696. },
  52697. $signature: 23
  52698. };
  52699. A._nest__closure.prototype = {
  52700. call$1(selector) {
  52701. var t1 = this._box_0,
  52702. result = A.SassApiValue_assertSelector(selector, !t1.first, null);
  52703. t1.first = false;
  52704. return result;
  52705. },
  52706. $signature: 139
  52707. };
  52708. A._nest__closure0.prototype = {
  52709. call$2($parent, child) {
  52710. return child.nestWithin$1($parent);
  52711. },
  52712. $signature: 140
  52713. };
  52714. A._append_closure.prototype = {
  52715. call$1($arguments) {
  52716. var t1,
  52717. selectors = J.$index$asx($arguments, 0).get$asList();
  52718. if (selectors.length === 0)
  52719. throw A.wrapException(A.SassScriptException$(string$.x24selec, null));
  52720. t1 = A.EvaluationContext_currentOrNull();
  52721. 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();
  52722. },
  52723. $signature: 23
  52724. };
  52725. A._append__closure.prototype = {
  52726. call$1(selector) {
  52727. return A.SassApiValue_assertSelector(selector, false, null);
  52728. },
  52729. $signature: 139
  52730. };
  52731. A._append__closure0.prototype = {
  52732. call$2($parent, child) {
  52733. var t1 = child.components,
  52734. t2 = this.span;
  52735. 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);
  52736. },
  52737. $signature: 140
  52738. };
  52739. A._append___closure.prototype = {
  52740. call$1(complex) {
  52741. var _0_0, t1, component, rest, newCompound, t2, _null = null;
  52742. if (complex.leadingCombinators.length !== 0)
  52743. throw A.wrapException(A.SassScriptException$("Can't append " + complex.toString$0(0) + " to " + this.parent.toString$0(0) + ".", _null));
  52744. _0_0 = complex.components;
  52745. t1 = _0_0.length >= 1;
  52746. if (t1) {
  52747. component = _0_0[0];
  52748. rest = B.JSArray_methods.sublist$1(_0_0, 1);
  52749. } else {
  52750. rest = _null;
  52751. component = rest;
  52752. }
  52753. if (!t1)
  52754. throw A.wrapException(A.StateError$("Pattern matching error"));
  52755. newCompound = A._prependParent(component.selector);
  52756. if (newCompound == null)
  52757. throw A.wrapException(A.SassScriptException$("Can't append " + complex.toString$0(0) + " to " + this.parent.toString$0(0) + ".", _null));
  52758. t1 = this.span;
  52759. t2 = A._setArrayType([new A.ComplexSelectorComponent(newCompound, A.List_List$unmodifiable(component.combinators, type$.CssValue_Combinator), t1)], type$.JSArray_ComplexSelectorComponent);
  52760. B.JSArray_methods.addAll$1(t2, rest);
  52761. return A.ComplexSelector$(B.List_empty1, t2, t1, false);
  52762. },
  52763. $signature: 57
  52764. };
  52765. A._extend_closure.prototype = {
  52766. call$1($arguments) {
  52767. var target, source,
  52768. _s8_ = "selector",
  52769. _s8_0 = "extendee",
  52770. _s8_1 = "extender",
  52771. t1 = J.getInterceptor$asx($arguments),
  52772. selector = A.SassApiValue_assertSelector(t1.$index($arguments, 0), false, _s8_);
  52773. selector.assertNotBogus$1$name(_s8_);
  52774. target = A.SassApiValue_assertSelector(t1.$index($arguments, 1), false, _s8_0);
  52775. target.assertNotBogus$1$name(_s8_0);
  52776. source = A.SassApiValue_assertSelector(t1.$index($arguments, 2), false, _s8_1);
  52777. source.assertNotBogus$1$name(_s8_1);
  52778. t1 = A.EvaluationContext_currentOrNull();
  52779. return A.ExtensionStore__extendOrReplace(selector, source, target, B.ExtendMode_allTargets_allTargets, (t1 == null ? A.throwExpression(A.StateError$(string$.No_Sass)) : t1).get$currentCallableSpan()).get$asSassList();
  52780. },
  52781. $signature: 23
  52782. };
  52783. A._replace_closure.prototype = {
  52784. call$1($arguments) {
  52785. var target, source,
  52786. _s8_ = "selector",
  52787. _s8_0 = "original",
  52788. _s11_ = "replacement",
  52789. t1 = J.getInterceptor$asx($arguments),
  52790. selector = A.SassApiValue_assertSelector(t1.$index($arguments, 0), false, _s8_);
  52791. selector.assertNotBogus$1$name(_s8_);
  52792. target = A.SassApiValue_assertSelector(t1.$index($arguments, 1), false, _s8_0);
  52793. target.assertNotBogus$1$name(_s8_0);
  52794. source = A.SassApiValue_assertSelector(t1.$index($arguments, 2), false, _s11_);
  52795. source.assertNotBogus$1$name(_s11_);
  52796. t1 = A.EvaluationContext_currentOrNull();
  52797. return A.ExtensionStore__extendOrReplace(selector, source, target, B.ExtendMode_replace_replace, (t1 == null ? A.throwExpression(A.StateError$(string$.No_Sass)) : t1).get$currentCallableSpan()).get$asSassList();
  52798. },
  52799. $signature: 23
  52800. };
  52801. A._unify_closure.prototype = {
  52802. call$1($arguments) {
  52803. var selector2,
  52804. _s9_ = "selector1",
  52805. _s9_0 = "selector2",
  52806. t1 = J.getInterceptor$asx($arguments),
  52807. selector1 = A.SassApiValue_assertSelector(t1.$index($arguments, 0), false, _s9_);
  52808. selector1.assertNotBogus$1$name(_s9_);
  52809. selector2 = A.SassApiValue_assertSelector(t1.$index($arguments, 1), false, _s9_0);
  52810. selector2.assertNotBogus$1$name(_s9_0);
  52811. t1 = selector1.unify$1(selector2);
  52812. t1 = t1 == null ? null : t1.get$asSassList();
  52813. return t1 == null ? B.C__SassNull : t1;
  52814. },
  52815. $signature: 6
  52816. };
  52817. A._isSuperselector_closure.prototype = {
  52818. call$1($arguments) {
  52819. var selector2,
  52820. t1 = J.getInterceptor$asx($arguments),
  52821. selector1 = A.SassApiValue_assertSelector(t1.$index($arguments, 0), false, "super");
  52822. selector1.assertNotBogus$1$name("super");
  52823. selector2 = A.SassApiValue_assertSelector(t1.$index($arguments, 1), false, "sub");
  52824. selector2.assertNotBogus$1$name("sub");
  52825. return A.listIsSuperselector(selector1.components, selector2.components) ? B.SassBoolean_true : B.SassBoolean_false;
  52826. },
  52827. $signature: 20
  52828. };
  52829. A._simpleSelectors_closure.prototype = {
  52830. call$1($arguments) {
  52831. var t1 = A.SassApiValue_assertCompoundSelector(J.$index$asx($arguments, 0), "selector").components;
  52832. return A.SassList$(new A.MappedListIterable(t1, new A._simpleSelectors__closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value>")), B.ListSeparator_ECn, false);
  52833. },
  52834. $signature: 23
  52835. };
  52836. A._simpleSelectors__closure.prototype = {
  52837. call$1(simple) {
  52838. return new A.SassString(A.serializeSelector(simple, true), false);
  52839. },
  52840. $signature: 605
  52841. };
  52842. A._parse_closure.prototype = {
  52843. call$1($arguments) {
  52844. return A.SassApiValue_assertSelector(J.$index$asx($arguments, 0), false, "selector").get$asSassList();
  52845. },
  52846. $signature: 23
  52847. };
  52848. A.module_closure.prototype = {
  52849. call$1($arguments) {
  52850. var limit, t2, chunks, i, lastEnd, match, t3,
  52851. t1 = J.getInterceptor$asx($arguments),
  52852. string = t1.$index($arguments, 0).assertString$1("string"),
  52853. separator = t1.$index($arguments, 1).assertString$1("separator");
  52854. t1 = t1.$index($arguments, 2).get$realNull();
  52855. limit = t1 == null ? null : t1.assertNumber$1("limit").assertInt$1("limit");
  52856. if (limit != null && limit < 1)
  52857. throw A.wrapException(A.SassScriptException$("$limit: Must be 1 or greater, was " + A.S(limit) + ".", null));
  52858. t1 = string._string$_text;
  52859. if (t1.length === 0)
  52860. return B.SassList_bdS0;
  52861. else {
  52862. t2 = separator._string$_text;
  52863. if (t2.length === 0)
  52864. 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_ECn, true);
  52865. }
  52866. chunks = A._setArrayType([], type$.JSArray_String);
  52867. 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();) {
  52868. match = t2.__js_helper$_current;
  52869. t3 = match.start;
  52870. chunks.push(B.JSString_methods.substring$2(t1, lastEnd, t3));
  52871. lastEnd = t3 + match.pattern.length;
  52872. ++i;
  52873. if (i === limit)
  52874. break;
  52875. }
  52876. chunks.push(B.JSString_methods.substring$1(t1, lastEnd));
  52877. return A.SassList$(new A.MappedListIterable(chunks, new A.module__closure0(string), type$.MappedListIterable_String_Value), B.ListSeparator_ECn, true);
  52878. },
  52879. $signature: 23
  52880. };
  52881. A.module__closure.prototype = {
  52882. call$1(rune) {
  52883. return new A.SassString(A.Primitives_stringFromCharCode(rune), this.string._hasQuotes);
  52884. },
  52885. $signature: 591
  52886. };
  52887. A.module__closure0.prototype = {
  52888. call$1(chunk) {
  52889. return new A.SassString(chunk, this.string._hasQuotes);
  52890. },
  52891. $signature: 590
  52892. };
  52893. A._unquote_closure.prototype = {
  52894. call$1($arguments) {
  52895. var string = J.$index$asx($arguments, 0).assertString$1("string");
  52896. if (!string._hasQuotes)
  52897. return string;
  52898. return new A.SassString(string._string$_text, false);
  52899. },
  52900. $signature: 17
  52901. };
  52902. A._quote_closure.prototype = {
  52903. call$1($arguments) {
  52904. var string = J.$index$asx($arguments, 0).assertString$1("string");
  52905. if (string._hasQuotes)
  52906. return string;
  52907. return new A.SassString(string._string$_text, true);
  52908. },
  52909. $signature: 17
  52910. };
  52911. A._length_closure.prototype = {
  52912. call$1($arguments) {
  52913. return A.SassNumber_SassNumber(J.$index$asx($arguments, 0).assertString$1("string").get$_sassLength(), null);
  52914. },
  52915. $signature: 11
  52916. };
  52917. A._insert_closure.prototype = {
  52918. call$1($arguments) {
  52919. var indexInt, codeUnitIndex, _s5_ = "index",
  52920. t1 = J.getInterceptor$asx($arguments),
  52921. string = t1.$index($arguments, 0).assertString$1("string"),
  52922. insert = t1.$index($arguments, 1).assertString$1("insert"),
  52923. index = t1.$index($arguments, 2).assertNumber$1(_s5_);
  52924. index.assertNoUnits$1(_s5_);
  52925. indexInt = index.assertInt$1(_s5_);
  52926. if (indexInt < 0)
  52927. indexInt = Math.max(string.get$_sassLength() + indexInt + 2, 0);
  52928. t1 = string._string$_text;
  52929. codeUnitIndex = A.codepointIndexToCodeUnitIndex(t1, A._codepointForIndex(indexInt, string.get$_sassLength(), false));
  52930. return new A.SassString(B.JSString_methods.replaceRange$3(t1, codeUnitIndex, codeUnitIndex, insert._string$_text), string._hasQuotes);
  52931. },
  52932. $signature: 17
  52933. };
  52934. A._index_closure.prototype = {
  52935. call$1($arguments) {
  52936. var t1 = J.getInterceptor$asx($arguments),
  52937. t2 = t1.$index($arguments, 0).assertString$1("string")._string$_text,
  52938. codeUnitIndex = B.JSString_methods.indexOf$1(t2, t1.$index($arguments, 1).assertString$1("substring")._string$_text);
  52939. if (codeUnitIndex === -1)
  52940. return B.C__SassNull;
  52941. return A.SassNumber_SassNumber(A.codeUnitIndexToCodepointIndex(t2, codeUnitIndex) + 1, null);
  52942. },
  52943. $signature: 6
  52944. };
  52945. A._slice_closure.prototype = {
  52946. call$1($arguments) {
  52947. var lengthInCodepoints, endInt, startCodepoint, endCodepoint,
  52948. _s8_ = "start-at",
  52949. t1 = J.getInterceptor$asx($arguments),
  52950. string = t1.$index($arguments, 0).assertString$1("string"),
  52951. start = t1.$index($arguments, 1).assertNumber$1(_s8_),
  52952. end = t1.$index($arguments, 2).assertNumber$1("end-at");
  52953. start.assertNoUnits$1(_s8_);
  52954. end.assertNoUnits$1("end-at");
  52955. lengthInCodepoints = string.get$_sassLength();
  52956. endInt = end.assertInt$0();
  52957. if (endInt === 0)
  52958. return string._hasQuotes ? $.$get$_emptyQuoted() : $.$get$_emptyUnquoted();
  52959. startCodepoint = A._codepointForIndex(start.assertInt$0(), lengthInCodepoints, false);
  52960. endCodepoint = A._codepointForIndex(endInt, lengthInCodepoints, true);
  52961. if (endCodepoint === lengthInCodepoints)
  52962. --endCodepoint;
  52963. if (endCodepoint < startCodepoint)
  52964. return string._hasQuotes ? $.$get$_emptyQuoted() : $.$get$_emptyUnquoted();
  52965. t1 = string._string$_text;
  52966. return new A.SassString(B.JSString_methods.substring$2(t1, A.codepointIndexToCodeUnitIndex(t1, startCodepoint), A.codepointIndexToCodeUnitIndex(t1, endCodepoint + 1)), string._hasQuotes);
  52967. },
  52968. $signature: 17
  52969. };
  52970. A._toUpperCase_closure.prototype = {
  52971. call$1($arguments) {
  52972. var t1, t2, i, t3, t4,
  52973. string = J.$index$asx($arguments, 0).assertString$1("string");
  52974. for (t1 = string._string$_text, t2 = t1.length, i = 0, t3 = ""; i < t2; ++i) {
  52975. t4 = t1.charCodeAt(i);
  52976. t3 += A.Primitives_stringFromCharCode(t4 >= 97 && t4 <= 122 ? t4 & 4294967263 : t4);
  52977. }
  52978. return new A.SassString(t3.charCodeAt(0) == 0 ? t3 : t3, string._hasQuotes);
  52979. },
  52980. $signature: 17
  52981. };
  52982. A._toLowerCase_closure.prototype = {
  52983. call$1($arguments) {
  52984. var t1, t2, i, t3, t4,
  52985. string = J.$index$asx($arguments, 0).assertString$1("string");
  52986. for (t1 = string._string$_text, t2 = t1.length, i = 0, t3 = ""; i < t2; ++i) {
  52987. t4 = t1.charCodeAt(i);
  52988. t3 += A.Primitives_stringFromCharCode(t4 >= 65 && t4 <= 90 ? t4 | 32 : t4);
  52989. }
  52990. return new A.SassString(t3.charCodeAt(0) == 0 ? t3 : t3, string._hasQuotes);
  52991. },
  52992. $signature: 17
  52993. };
  52994. A._uniqueId_closure.prototype = {
  52995. call$1($arguments) {
  52996. var t1 = $.$get$_previousUniqueId() + ($.$get$_random().nextInt$1(36) + 1);
  52997. $._previousUniqueId = t1;
  52998. if (t1 > Math.pow(36, 6))
  52999. $._previousUniqueId = B.JSInt_methods.$mod($.$get$_previousUniqueId(), A._asInt(Math.pow(36, 6)));
  53000. return new A.SassString("u" + B.JSString_methods.padLeft$2(B.JSInt_methods.toRadixString$1($.$get$_previousUniqueId(), 36), 6, "0"), false);
  53001. },
  53002. $signature: 17
  53003. };
  53004. A.ImportCache.prototype = {
  53005. canonicalize$4$baseImporter$baseUrl$forImport(_, url, baseImporter, baseUrl, forImport) {
  53006. var t1, resolvedUrl, key, relativeResult, t2, t3, t4, t5, t6, cacheable, i, importer, perImporterKey, t7, _1_0, _1_2_isSet, _1_2, result, _2_0, _2_1, _2_5_isSet, _2_3, _2_5, _2_3_isSet, j, _this = this, _null = null;
  53007. if (A.isBrowser())
  53008. t1 = (baseImporter == null || baseImporter instanceof A.NoOpImporter) && _this._importers.length === 0;
  53009. else
  53010. t1 = false;
  53011. if (t1)
  53012. throw A.wrapException(string$.Custom);
  53013. if (baseImporter != null && url.get$scheme() === "") {
  53014. resolvedUrl = baseUrl == null ? _null : baseUrl.resolveUri$1(url);
  53015. if (resolvedUrl == null)
  53016. resolvedUrl = url;
  53017. key = new A._Record_3_forImport(baseImporter, resolvedUrl, forImport);
  53018. relativeResult = _this._perImporterCanonicalizeCache.putIfAbsent$2(key, new A.ImportCache_canonicalize_closure(_this, baseImporter, resolvedUrl, baseUrl, forImport, key, url));
  53019. if (relativeResult != null)
  53020. return relativeResult;
  53021. }
  53022. key = new A._Record_2_forImport(url, forImport);
  53023. t1 = _this._canonicalizeCache;
  53024. if (t1.containsKey$1(key))
  53025. return t1.$index(0, key);
  53026. 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) {
  53027. importer = t2[i];
  53028. perImporterKey = new A._Record_3_forImport(importer, url, forImport);
  53029. if (t4.containsKey$1(perImporterKey)) {
  53030. t7 = t4.$index(0, perImporterKey);
  53031. _1_0 = new A._Record_1(t7 == null ? t5._as(t7) : t7);
  53032. } else
  53033. _1_0 = _null;
  53034. _1_2_isSet = t3._is(_1_0);
  53035. if (_1_2_isSet) {
  53036. _1_2 = _1_0._0;
  53037. t7 = _1_2 != null;
  53038. if (t7) {
  53039. t6._as(_1_2);
  53040. result = _1_2;
  53041. } else
  53042. result = _null;
  53043. } else {
  53044. result = _null;
  53045. _1_2 = result;
  53046. t7 = false;
  53047. }
  53048. if (t7)
  53049. return result;
  53050. if (_1_2_isSet)
  53051. t7 = _1_2 == null;
  53052. else
  53053. t7 = false;
  53054. if (t7)
  53055. continue;
  53056. $label0$1: {
  53057. _2_0 = _this._canonicalize$4(importer, url, baseUrl, forImport);
  53058. _2_1 = _2_0._0;
  53059. _2_5_isSet = _2_1 != null;
  53060. if (_2_5_isSet) {
  53061. result = _2_1 == null ? t6._as(_2_1) : _2_1;
  53062. _2_3 = _2_0._1;
  53063. t7 = _2_3;
  53064. _2_5 = t7;
  53065. t7 = t7 && cacheable;
  53066. } else {
  53067. result = _null;
  53068. _2_3 = result;
  53069. _2_5 = _2_3;
  53070. t7 = false;
  53071. }
  53072. if (t7) {
  53073. t1.$indexSet(0, key, result);
  53074. return result;
  53075. }
  53076. if (_2_5_isSet) {
  53077. t7 = _2_5;
  53078. _2_3_isSet = _2_5_isSet;
  53079. } else {
  53080. _2_3 = _2_0._1;
  53081. t7 = _2_3;
  53082. _2_3_isSet = true;
  53083. }
  53084. t7 = t7 && !cacheable;
  53085. if (t7) {
  53086. t4.$indexSet(0, perImporterKey, _2_1);
  53087. if (_2_1 != null)
  53088. return _2_1;
  53089. break $label0$1;
  53090. }
  53091. t7 = false === (_2_3_isSet ? _2_3 : _2_0._1);
  53092. if (t7) {
  53093. if (cacheable) {
  53094. for (j = 0; j < i; ++j)
  53095. t4.$indexSet(0, new A._Record_3_forImport(t2[j], url, forImport), _null);
  53096. cacheable = false;
  53097. }
  53098. if (_2_1 != null)
  53099. return _2_1;
  53100. }
  53101. }
  53102. }
  53103. if (cacheable)
  53104. t1.$indexSet(0, key, _null);
  53105. return _null;
  53106. },
  53107. canonicalize$3$baseImporter$baseUrl(_, url, baseImporter, baseUrl) {
  53108. return this.canonicalize$4$baseImporter$baseUrl$forImport(0, url, baseImporter, baseUrl, false);
  53109. },
  53110. _canonicalize$4(importer, url, baseUrl, forImport) {
  53111. var passContainingUrl, canonicalizeContext, t1, result, cacheable, _null = null;
  53112. if (baseUrl != null)
  53113. passContainingUrl = url.get$scheme() === "" || importer.isNonCanonicalScheme$1(url.get$scheme());
  53114. else
  53115. passContainingUrl = false;
  53116. canonicalizeContext = new A.CanonicalizeContext(forImport, passContainingUrl ? baseUrl : _null);
  53117. t1 = type$.nullable_Object;
  53118. result = A.runZoned(new A.ImportCache__canonicalize_closure(importer, url), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__canonicalizeContext, canonicalizeContext], t1, t1), type$.nullable_Uri);
  53119. cacheable = !passContainingUrl || !canonicalizeContext._wasContainingUrlAccessed;
  53120. if (result == null)
  53121. return new A._Record_2(_null, cacheable);
  53122. if (result.get$scheme() === "")
  53123. A.WarnForDeprecation_warnForDeprecation(this._logger, B.Deprecation_IMm, "Importer " + importer.toString$0(0) + " canonicalized " + url.toString$0(0) + " to " + result.toString$0(0) + string$.x2e_Rela, _null, _null);
  53124. else if (importer.isNonCanonicalScheme$1(result.get$scheme()))
  53125. throw A.wrapException("Importer " + importer.toString$0(0) + " canonicalized " + url.toString$0(0) + " to " + result.toString$0(0) + string$.x2c_whicu);
  53126. return new A._Record_2(new A._Record_3_originalUrl(importer, result, url), cacheable);
  53127. },
  53128. importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, quiet) {
  53129. return this._importCache.putIfAbsent$2(canonicalUrl, new A.ImportCache_importCanonical_closure(this, importer, canonicalUrl, originalUrl, quiet));
  53130. },
  53131. importCanonical$3$originalUrl(importer, canonicalUrl, originalUrl) {
  53132. return this.importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, false);
  53133. },
  53134. importCanonical$2(importer, canonicalUrl) {
  53135. return this.importCanonical$4$originalUrl$quiet(importer, canonicalUrl, null, false);
  53136. },
  53137. humanize$1(canonicalUrl) {
  53138. var t1 = A.IterableNullableExtension_whereNotNull(this._canonicalizeCache.get$values(0), type$.Record_3_Importer_and_Uri_and_Uri_originalUrl),
  53139. t2 = t1.$ti;
  53140. t2 = A.NullableExtension_andThen(A.minBy(new A.MappedIterable(new A.WhereIterable(t1, 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));
  53141. return t2 == null ? canonicalUrl : t2;
  53142. },
  53143. sourceMapUrl$1(_, canonicalUrl) {
  53144. var t1 = this._resultsCache.$index(0, canonicalUrl);
  53145. t1 = t1 == null ? null : t1.get$sourceMapUrl(0);
  53146. return t1 == null ? canonicalUrl : t1;
  53147. },
  53148. clearCanonicalize$1(url) {
  53149. var t1 = this._canonicalizeCache;
  53150. t1.remove$1(0, new A._Record_2_forImport(url, false));
  53151. t1.remove$1(0, new A._Record_2_forImport(url, true));
  53152. this._perImporterCanonicalizeCache.removeWhere$1(0, new A.ImportCache_clearCanonicalize_closure(this, url));
  53153. },
  53154. clearImport$1(canonicalUrl) {
  53155. this._resultsCache.remove$1(0, canonicalUrl);
  53156. this._importCache.remove$1(0, canonicalUrl);
  53157. }
  53158. };
  53159. A.ImportCache_canonicalize_closure.prototype = {
  53160. call$0() {
  53161. var _this = this,
  53162. t1 = _this.$this,
  53163. t2 = _this.baseUrl,
  53164. _0_0 = t1._canonicalize$4(_this.baseImporter, _this.resolvedUrl, t2, _this.forImport);
  53165. if (t2 != null)
  53166. t1._nonCanonicalRelativeUrls.$indexSet(0, _this.key, _this.url);
  53167. return _0_0._0;
  53168. },
  53169. $signature: 119
  53170. };
  53171. A.ImportCache__canonicalize_closure.prototype = {
  53172. call$0() {
  53173. return this.importer.canonicalize$1(0, this.url);
  53174. },
  53175. $signature: 141
  53176. };
  53177. A.ImportCache_importCanonical_closure.prototype = {
  53178. call$0() {
  53179. var t2, t3, t4, t5, _this = this,
  53180. t1 = _this.canonicalUrl,
  53181. result = _this.importer.load$1(0, t1);
  53182. if (result == null)
  53183. return null;
  53184. t2 = _this.$this;
  53185. t2._resultsCache.$indexSet(0, t1, result);
  53186. t3 = result.contents;
  53187. t4 = result.syntax;
  53188. t5 = _this.originalUrl;
  53189. t1 = t5 == null ? t1 : t5.resolveUri$1(t1);
  53190. return A.Stylesheet_Stylesheet$parse(t3, t4, _this.quiet ? $.$get$Logger_quiet() : t2._logger, t1);
  53191. },
  53192. $signature: 91
  53193. };
  53194. A.ImportCache_humanize_closure.prototype = {
  53195. call$1(result) {
  53196. return J.$eq$(result._1, this.canonicalUrl);
  53197. },
  53198. $signature: 541
  53199. };
  53200. A.ImportCache_humanize_closure0.prototype = {
  53201. call$1(result) {
  53202. return result._2;
  53203. },
  53204. $signature: 540
  53205. };
  53206. A.ImportCache_humanize_closure1.prototype = {
  53207. call$1(url) {
  53208. return url.get$path(url).length;
  53209. },
  53210. $signature: 85
  53211. };
  53212. A.ImportCache_humanize_closure2.prototype = {
  53213. call$1(url) {
  53214. var t1 = $.$get$url(),
  53215. t2 = this.canonicalUrl;
  53216. return url.resolve$1(0, A.ParsedPath_ParsedPath$parse(t2.get$path(t2), t1.style).get$basename());
  53217. },
  53218. $signature: 46
  53219. };
  53220. A.ImportCache_clearCanonicalize_closure.prototype = {
  53221. call$2(key, _) {
  53222. var t1 = this.url;
  53223. return J.$eq$(key._1, t1) || J.$eq$(this.$this._nonCanonicalRelativeUrls.$index(0, key), t1);
  53224. },
  53225. $signature: 538
  53226. };
  53227. A.Importer.prototype = {
  53228. modificationTime$1(url) {
  53229. return new A.DateTime(Date.now(), false);
  53230. },
  53231. couldCanonicalize$2(url, canonicalUrl) {
  53232. return true;
  53233. },
  53234. isNonCanonicalScheme$1(scheme) {
  53235. return false;
  53236. }
  53237. };
  53238. A.AsyncImporter.prototype = {};
  53239. A.CanonicalizeContext.prototype = {};
  53240. A.FilesystemImporter.prototype = {
  53241. canonicalize$1(_, url) {
  53242. var resolved, _0_0;
  53243. if (url.get$scheme() === "file")
  53244. resolved = A.resolveImportPath($.$get$context().style.pathFromUri$1(A._parseUri(url)));
  53245. else if (url.get$scheme() !== "")
  53246. return null;
  53247. else {
  53248. _0_0 = this._loadPath;
  53249. if (_0_0 != null) {
  53250. resolved = A.resolveImportPath(A.join(_0_0, $.$get$context().style.pathFromUri$1(A._parseUri(url)), null));
  53251. if (resolved != null && this._loadPathDeprecated)
  53252. A.warnForDeprecation(string$.Using_t, B.Deprecation_B4v);
  53253. } else
  53254. return null;
  53255. }
  53256. return A.NullableExtension_andThen(resolved, new A.FilesystemImporter_canonicalize_closure());
  53257. },
  53258. load$1(_, url) {
  53259. var path = $.$get$context().style.pathFromUri$1(A._parseUri(url)),
  53260. t1 = A.readFile(path),
  53261. t2 = A.Syntax_forPath(path),
  53262. t3 = url.get$scheme();
  53263. if (t3 === "")
  53264. A.throwExpression(A.ArgumentError$value(url, "sourceMapUrl", "must be absolute"));
  53265. return new A.ImporterResult(t1, url, t2);
  53266. },
  53267. modificationTime$1(url) {
  53268. return A.modificationTime($.$get$context().style.pathFromUri$1(A._parseUri(url)));
  53269. },
  53270. couldCanonicalize$2(url, canonicalUrl) {
  53271. var t1, t2, basename, canonicalBasename;
  53272. if (url.get$scheme() !== "file" && url.get$scheme() !== "")
  53273. return false;
  53274. if (canonicalUrl.get$scheme() !== "file")
  53275. return false;
  53276. t1 = $.$get$url();
  53277. t2 = t1.style;
  53278. basename = A.ParsedPath_ParsedPath$parse(url.get$path(url), t2).get$basename();
  53279. canonicalBasename = A.ParsedPath_ParsedPath$parse(canonicalUrl.get$path(canonicalUrl), t2).get$basename();
  53280. if (!B.JSString_methods.startsWith$1(basename, "_") && B.JSString_methods.startsWith$1(canonicalBasename, "_"))
  53281. canonicalBasename = B.JSString_methods.substring$1(canonicalBasename, 1);
  53282. return basename === canonicalBasename || basename === t1.withoutExtension$1(canonicalBasename);
  53283. },
  53284. toString$0(_) {
  53285. var t1 = this._loadPath;
  53286. return t1 == null ? "<absolute file importer>" : t1;
  53287. }
  53288. };
  53289. A.FilesystemImporter_canonicalize_closure.prototype = {
  53290. call$1(resolved) {
  53291. var t2, t0, _null = null,
  53292. t1 = A.isNodeJs() ? self.process : _null;
  53293. if (!J.$eq$(t1 == null ? _null : J.get$platform$x(t1), "win32")) {
  53294. t1 = A.isNodeJs() ? self.process : _null;
  53295. t1 = J.$eq$(t1 == null ? _null : J.get$platform$x(t1), "darwin");
  53296. } else
  53297. t1 = true;
  53298. if (t1) {
  53299. t1 = $.$get$context();
  53300. t2 = A._realCasePath(A.absolute(t1.normalize$1(resolved), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null));
  53301. t0 = t2;
  53302. t2 = t1;
  53303. t1 = t0;
  53304. } else {
  53305. t1 = $.$get$context();
  53306. t2 = t1.canonicalize$1(0, resolved);
  53307. t0 = t2;
  53308. t2 = t1;
  53309. t1 = t0;
  53310. }
  53311. return t2.toUri$1(t1);
  53312. },
  53313. $signature: 142
  53314. };
  53315. A.NoOpImporter.prototype = {};
  53316. A.NodePackageImporter.prototype = {
  53317. isNonCanonicalScheme$1(scheme) {
  53318. return scheme === "pkg";
  53319. },
  53320. canonicalize$1(_, url) {
  53321. 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;
  53322. if (url.get$scheme() === "file")
  53323. return $.$get$FilesystemImporter_cwd().canonicalize$1(0, url);
  53324. if (url.get$scheme() !== "pkg")
  53325. return _null;
  53326. if (url.get$hasAuthority())
  53327. throw A.wrapException(string$.A_pkg_h);
  53328. else {
  53329. t1 = $.$get$url();
  53330. t2 = t1.style;
  53331. if (t2.rootLength$1(url.get$path(url)) > 0)
  53332. throw A.wrapException("A pkg: URL's path must not begin with /.");
  53333. else if (url.get$path(url).length === 0)
  53334. throw A.wrapException("A pkg: URL must not have an empty path.");
  53335. else if (url.get$hasQuery() || url.get$hasFragment())
  53336. throw A.wrapException(string$.A_pkg_q);
  53337. }
  53338. t3 = A.canonicalizeContext();
  53339. t3._wasContainingUrlAccessed = true;
  53340. t3 = t3._containingUrl;
  53341. if ((t3 == null ? _null : t3.get$scheme()) === "file") {
  53342. t3 = A.canonicalizeContext();
  53343. t3._wasContainingUrlAccessed = true;
  53344. t3 = t3._containingUrl;
  53345. t3.toString;
  53346. t4 = $.$get$context();
  53347. baseDirectory = t4.dirname$1(t4.style.pathFromUri$1(A._parseUri(t3)));
  53348. } else {
  53349. t3 = _this.__NodePackageImporter__entryPointDirectory_F;
  53350. t3 === $ && A.throwUnnamedLateFieldNI();
  53351. baseDirectory = t3;
  53352. }
  53353. packageName = null;
  53354. parts = t1.split$1(0, url.get$path(url));
  53355. t3 = B.JSArray_methods.removeAt$1(parts, 0);
  53356. t4 = $.$get$context();
  53357. t3.toString;
  53358. t5 = t4.style;
  53359. $name = t5.pathFromUri$1(A._parseUri(t3));
  53360. if (B.JSString_methods.startsWith$1($name, "@"))
  53361. $name = parts.length !== 0 ? t1.join$2(0, $name, B.JSArray_methods.removeAt$1(parts, 0)) : $name;
  53362. subpath = parts.length !== 0 ? t5.pathFromUri$1(A._parseUri(t1.joinAll$1(parts))) : _null;
  53363. packageName = $name;
  53364. if (!J.startsWith$1$s(packageName, "."))
  53365. if (!J.contains$1$asx(packageName, "\\"))
  53366. if (!J.contains$1$asx(packageName, "%"))
  53367. t1 = J.startsWith$1$s(packageName, "@") && !J.contains$1$asx(packageName, t2.get$separator(t2));
  53368. else
  53369. t1 = true;
  53370. else
  53371. t1 = true;
  53372. else
  53373. t1 = true;
  53374. if (t1)
  53375. return _null;
  53376. packageRoot = _this._resolvePackageRoot$2(packageName, baseDirectory);
  53377. if (packageRoot == null)
  53378. return _null;
  53379. jsonPath = A.join(packageRoot, "package.json", _null);
  53380. jsonString = A.readFile(jsonPath);
  53381. packageManifest = null;
  53382. try {
  53383. packageManifest = type$.Map_String_dynamic._as(B.C_JsonCodec.decode$1(jsonString));
  53384. } catch (exception) {
  53385. e = A.unwrapException(exception);
  53386. t1 = A.S(jsonPath);
  53387. t2 = A.S(packageName);
  53388. t3 = A.S(e);
  53389. throw A.wrapException("Failed to parse " + t1 + ' for "pkg:' + t2 + '": ' + t3);
  53390. }
  53391. _1_0 = _this._resolvePackageExports$4(packageRoot, subpath, packageManifest, packageName);
  53392. if (_1_0 != null)
  53393. if (B.Set_0.contains$1(0, A.ParsedPath_ParsedPath$parse(_1_0, t5)._splitExtension$1(1)[1]))
  53394. return t4.toUri$1(t4.canonicalize$1(0, _1_0));
  53395. else {
  53396. t1 = subpath == null ? "root" : subpath;
  53397. throw A.wrapException("The export for '" + t1 + "' in '" + A.S(packageName) + "' resolved to '" + _1_0 + string$.x27x2c_whi);
  53398. }
  53399. if (subpath == null) {
  53400. rootPath = _this._resolvePackageRootValues$2(packageRoot, packageManifest);
  53401. return rootPath != null ? t4.toUri$1(t4.canonicalize$1(0, rootPath)) : _null;
  53402. }
  53403. subpathInRoot = A.join(packageRoot, subpath, _null);
  53404. return $.$get$FilesystemImporter_cwd().canonicalize$1(0, t4.toUri$1(subpathInRoot));
  53405. },
  53406. load$1(_, url) {
  53407. return $.$get$FilesystemImporter_cwd().load$1(0, url);
  53408. },
  53409. _resolvePackageRoot$2(packageName, baseDirectory) {
  53410. var potentialPackage, t1;
  53411. for (; true;) {
  53412. potentialPackage = A.join(baseDirectory, "node_modules", packageName);
  53413. if (A.dirExists(potentialPackage))
  53414. return potentialPackage;
  53415. t1 = $.$get$context();
  53416. if (t1.split$1(0, baseDirectory).length === 1)
  53417. return null;
  53418. baseDirectory = t1.dirname$1(baseDirectory);
  53419. }
  53420. },
  53421. _resolvePackageRootValues$2(packageRoot, packageManifest) {
  53422. var t1, sassValue, _1_0, styleValue, _null = null,
  53423. _0_0 = packageManifest.$index(0, "sass");
  53424. if (typeof _0_0 == "string") {
  53425. t1 = B.Set_0.contains$1(0, A.ParsedPath_ParsedPath$parse(_0_0, $.$get$url().style)._splitExtension$1(1)[1]);
  53426. sassValue = _0_0;
  53427. } else {
  53428. sassValue = _null;
  53429. t1 = false;
  53430. }
  53431. if (t1)
  53432. return A.join(packageRoot, sassValue, _null);
  53433. else {
  53434. _1_0 = packageManifest.$index(0, "style");
  53435. if (typeof _1_0 == "string") {
  53436. t1 = B.Set_0.contains$1(0, A.ParsedPath_ParsedPath$parse(_1_0, $.$get$url().style)._splitExtension$1(1)[1]);
  53437. styleValue = _1_0;
  53438. } else {
  53439. styleValue = _null;
  53440. t1 = false;
  53441. }
  53442. if (t1)
  53443. return A.join(packageRoot, styleValue, _null);
  53444. }
  53445. return A.resolveImportPath(A.join(packageRoot, "index", _null));
  53446. },
  53447. _resolvePackageExports$4(packageRoot, subpath, packageManifest, packageName) {
  53448. var _0_0, _1_0, _this = this,
  53449. exports = packageManifest.$index(0, "exports");
  53450. if (exports == null)
  53451. return null;
  53452. _0_0 = _this._nodePackageExportsResolve$5(packageRoot, _this._exportsToCheck$1(subpath), exports, subpath, packageName);
  53453. if (_0_0 != null)
  53454. return _0_0;
  53455. if (subpath != null && A.ParsedPath_ParsedPath$parse(subpath, $.$get$url().style)._splitExtension$1(1)[1].length !== 0)
  53456. return null;
  53457. _1_0 = _this._nodePackageExportsResolve$5(packageRoot, _this._exportsToCheck$2$addIndex(subpath, true), exports, subpath, packageName);
  53458. if (_1_0 != null)
  53459. return _1_0;
  53460. return null;
  53461. },
  53462. _nodePackageExportsResolve$5(packageRoot, subpathVariants, exports, subpath, packageName) {
  53463. var t1, matches, _1_1, path;
  53464. if (type$.Map_String_dynamic._is(exports) && J.any$1$ax(exports.get$keys(exports), new A.NodePackageImporter__nodePackageExportsResolve_closure()) && J.any$1$ax(exports.get$keys(exports), new A.NodePackageImporter__nodePackageExportsResolve_closure0()))
  53465. throw A.wrapException("`exports` in " + packageName + string$.x20can_n + J.map$1$1$ax(J.get$keys$z(exports), new A.NodePackageImporter__nodePackageExportsResolve_closure1(), type$.String).join$1(0, ",") + " in " + A.join(packageRoot, "package.json", null) + ".");
  53466. t1 = A.IterableNullableExtension_whereNotNull(new A.MappedListIterable(subpathVariants, new A.NodePackageImporter__nodePackageExportsResolve_closure2(this, exports, packageRoot), A._arrayInstanceType(subpathVariants)._eval$1("MappedListIterable<1,String?>")), type$.String);
  53467. matches = A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E"));
  53468. $label0$1: {
  53469. _1_1 = matches.length;
  53470. if (_1_1 === 1) {
  53471. path = matches[0];
  53472. t1 = path;
  53473. break $label0$1;
  53474. }
  53475. if (_1_1 <= 0) {
  53476. t1 = null;
  53477. break $label0$1;
  53478. }
  53479. t1 = subpath == null ? "root" : subpath;
  53480. t1 = A.throwExpression(string$.Unable + t1 + " in " + packageName + " should be used. \n\nFound:\n" + B.JSArray_methods.join$1(matches, "\n"));
  53481. }
  53482. return t1;
  53483. },
  53484. _compareExpansionKeys$2(keyA, keyB) {
  53485. var t1 = B.JSString_methods.contains$1(keyA, "*"),
  53486. baseLengthA = t1 ? B.JSString_methods.indexOf$1(keyA, "*") + 1 : keyA.length,
  53487. t2 = B.JSString_methods.contains$1(keyB, "*"),
  53488. baseLengthB = t2 ? B.JSString_methods.indexOf$1(keyB, "*") + 1 : keyB.length;
  53489. if (baseLengthA > baseLengthB)
  53490. return -1;
  53491. if (baseLengthB > baseLengthA)
  53492. return 1;
  53493. if (!t1)
  53494. return 1;
  53495. if (!t2)
  53496. return -1;
  53497. t1 = keyA.length;
  53498. t2 = keyB.length;
  53499. if (t1 > t2)
  53500. return -1;
  53501. if (t2 > t1)
  53502. return 1;
  53503. return 0;
  53504. },
  53505. _packageTargetResolve$4(subpath, exports, packageRoot, patternMatch) {
  53506. var t2, string, path, map, key, value, _1_0, array, _2_0, _null = null,
  53507. t1 = typeof exports == "string";
  53508. if (t1) {
  53509. t2 = !B.JSString_methods.startsWith$1(exports, "./");
  53510. string = exports;
  53511. } else {
  53512. string = _null;
  53513. t2 = false;
  53514. }
  53515. if (t2)
  53516. throw A.wrapException("Export '" + A.S(string) + string$.x27x20must + packageRoot + "'.");
  53517. if (t1) {
  53518. t2 = patternMatch != null;
  53519. string = exports;
  53520. } else {
  53521. string = _null;
  53522. t2 = false;
  53523. }
  53524. if (t2) {
  53525. t1 = J.replaceFirst$2$s(string, "*", patternMatch);
  53526. t2 = $.$get$context();
  53527. path = t2.normalize$1(A.join(packageRoot, t2.style.pathFromUri$1(A._parseUri(t1)), _null));
  53528. return A.fileExists(path) ? path : _null;
  53529. }
  53530. string = t1 ? exports : _null;
  53531. if (t1) {
  53532. t1 = $.$get$context();
  53533. string.toString;
  53534. return A.join(packageRoot, t1.style.pathFromUri$1(A._parseUri(string)), _null);
  53535. }
  53536. t1 = type$.Map_String_dynamic._is(exports);
  53537. map = t1 ? exports : _null;
  53538. if (t1) {
  53539. for (t1 = A.MapExtensions_get_pairs(map, type$.String, type$.dynamic), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  53540. t2 = t1.get$current(t1);
  53541. key = t2._0;
  53542. value = t2._1;
  53543. if (!B.Set_TnQrk.contains$1(0, key))
  53544. continue;
  53545. if (value == null)
  53546. continue;
  53547. _1_0 = this._packageTargetResolve$4(subpath, value, packageRoot, patternMatch);
  53548. if (_1_0 != null)
  53549. return _1_0;
  53550. }
  53551. return _null;
  53552. }
  53553. if (type$.List_nullable_Object._is(exports) && J.get$length$asx(exports) <= 0)
  53554. return _null;
  53555. t1 = type$.List_dynamic._is(exports);
  53556. array = t1 ? exports : _null;
  53557. if (t1) {
  53558. for (t1 = J.get$iterator$ax(array); t1.moveNext$0();) {
  53559. value = t1.get$current(t1);
  53560. if (value == null)
  53561. continue;
  53562. _2_0 = this._packageTargetResolve$4(subpath, value, packageRoot, patternMatch);
  53563. if (_2_0 != null)
  53564. return _2_0;
  53565. }
  53566. return _null;
  53567. }
  53568. throw A.wrapException("Invalid 'exports' value " + A.S(exports) + " in " + A.join(packageRoot, "package.json", _null) + ".");
  53569. },
  53570. _packageTargetResolve$3(subpath, exports, packageRoot) {
  53571. return this._packageTargetResolve$4(subpath, exports, packageRoot, null);
  53572. },
  53573. _getMainExport$1(exports) {
  53574. var t1, t2, map, _0_4, $export;
  53575. $label0$0: {
  53576. if (typeof exports == "string") {
  53577. t1 = exports;
  53578. break $label0$0;
  53579. }
  53580. if (type$.List_String._is(exports)) {
  53581. t1 = exports;
  53582. break $label0$0;
  53583. }
  53584. t1 = type$.Map_String_dynamic._is(exports);
  53585. if (t1) {
  53586. t2 = !J.any$1$ax(exports.get$keys(exports), new A.NodePackageImporter__getMainExport_closure());
  53587. map = exports;
  53588. } else {
  53589. map = null;
  53590. t2 = false;
  53591. }
  53592. if (t2) {
  53593. t1 = map;
  53594. break $label0$0;
  53595. }
  53596. if (t1) {
  53597. _0_4 = exports.$index(0, ".");
  53598. if (_0_4 == null)
  53599. t2 = exports.containsKey$1(".");
  53600. else
  53601. t2 = true;
  53602. if (t2)
  53603. t2 = _0_4 != null;
  53604. else
  53605. t2 = false;
  53606. } else {
  53607. _0_4 = null;
  53608. t2 = false;
  53609. }
  53610. if (t2) {
  53611. $export = t1 ? _0_4 : J.$index$asx(exports, ".");
  53612. t1 = $export;
  53613. break $label0$0;
  53614. }
  53615. t1 = null;
  53616. break $label0$0;
  53617. }
  53618. return t1;
  53619. },
  53620. _exportsToCheck$2$addIndex(subpath, addIndex) {
  53621. var basename, dirname, t3, t4, _i, path,
  53622. t1 = type$.JSArray_String,
  53623. paths = A._setArrayType([], t1),
  53624. t2 = subpath == null;
  53625. if (t2 && addIndex)
  53626. subpath = "index";
  53627. else if (!t2 && addIndex)
  53628. subpath = A.join(subpath, "index", null);
  53629. if (subpath == null)
  53630. return A._setArrayType([null], type$.JSArray_nullable_String);
  53631. if (B.Set_0.contains$1(0, A.ParsedPath_ParsedPath$parse(subpath, $.$get$url().style)._splitExtension$1(1)[1]))
  53632. paths.push(subpath);
  53633. else
  53634. B.JSArray_methods.addAll$1(paths, A._setArrayType([subpath, subpath + ".scss", subpath + ".sass", subpath + ".css"], t1));
  53635. t1 = $.$get$context();
  53636. t2 = t1.style;
  53637. basename = A.ParsedPath_ParsedPath$parse(subpath, t2).get$basename();
  53638. dirname = t1.dirname$1(subpath);
  53639. if (B.JSString_methods.startsWith$1(basename, "_"))
  53640. return paths;
  53641. t1 = A.List_List$of(paths, true, type$.nullable_String);
  53642. for (t3 = paths.length, t4 = dirname === ".", _i = 0; _i < paths.length; paths.length === t3 || (0, A.throwConcurrentModificationError)(paths), ++_i) {
  53643. path = paths[_i];
  53644. if (t4)
  53645. t1.push("_" + A.ParsedPath_ParsedPath$parse(path, t2).get$basename());
  53646. else
  53647. t1.push(A.join(dirname, "_" + A.ParsedPath_ParsedPath$parse(path, t2).get$basename(), null));
  53648. }
  53649. return t1;
  53650. },
  53651. _exportsToCheck$1(subpath) {
  53652. return this._exportsToCheck$2$addIndex(subpath, false);
  53653. }
  53654. };
  53655. A.NodePackageImporter__nodePackageExportsResolve_closure.prototype = {
  53656. call$1(key) {
  53657. return B.JSString_methods.startsWith$1(key, ".");
  53658. },
  53659. $signature: 4
  53660. };
  53661. A.NodePackageImporter__nodePackageExportsResolve_closure0.prototype = {
  53662. call$1(key) {
  53663. return !B.JSString_methods.startsWith$1(key, ".");
  53664. },
  53665. $signature: 4
  53666. };
  53667. A.NodePackageImporter__nodePackageExportsResolve_closure1.prototype = {
  53668. call$1(key) {
  53669. return '"' + key + '"';
  53670. },
  53671. $signature: 5
  53672. };
  53673. A.NodePackageImporter__nodePackageExportsResolve_closure2.prototype = {
  53674. call$1(variant) {
  53675. var t1, matchKey, t2, t3, t4, t5, t6, _i, expansionKey, _0_0, t7, patternBase, patternTrailer, t8, target, _this = this, _null = null;
  53676. if (variant == null) {
  53677. t1 = _this.$this;
  53678. return A.NullableExtension_andThen(t1._getMainExport$1(_this.exports), new A.NodePackageImporter__nodePackageExportsResolve__closure(t1, variant, _this.packageRoot));
  53679. } else {
  53680. t1 = _this.exports;
  53681. if (!type$.Map_String_dynamic._is(t1) || J.every$1$ax(t1.get$keys(t1), new A.NodePackageImporter__nodePackageExportsResolve__closure0()))
  53682. return _null;
  53683. }
  53684. matchKey = "./" + $.$get$context().toUri$1(variant).toString$0(0);
  53685. if (t1.containsKey$1(matchKey) && J.$index$asx(t1, matchKey) != null && !B.JSString_methods.contains$1(matchKey, "*")) {
  53686. t1 = J.$index$asx(t1, matchKey);
  53687. if (t1 == null)
  53688. t1 = type$.Object._as(t1);
  53689. return _this.$this._packageTargetResolve$3(matchKey, t1, _this.packageRoot);
  53690. }
  53691. t2 = A._setArrayType([], type$.JSArray_String);
  53692. for (t3 = J.getInterceptor$z(t1), t4 = J.get$iterator$ax(t3.get$keys(t1)); t4.moveNext$0();) {
  53693. t5 = t4.get$current(t4);
  53694. if (B.JSString_methods.allMatches$1("*", t5).get$length(0) === 1)
  53695. t2.push(t5);
  53696. }
  53697. t4 = _this.$this;
  53698. B.JSArray_methods.sort$1(t2, t4.get$_compareExpansionKeys());
  53699. for (t5 = t2.length, t6 = matchKey.length, _i = 0; _i < t2.length; t2.length === t5 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  53700. expansionKey = t2[_i];
  53701. _0_0 = expansionKey.split("*");
  53702. t7 = _0_0.length === 2;
  53703. if (t7) {
  53704. patternBase = _0_0[0];
  53705. patternTrailer = _0_0[1];
  53706. patternTrailer = patternTrailer;
  53707. } else {
  53708. patternTrailer = _null;
  53709. patternBase = patternTrailer;
  53710. }
  53711. if (!t7)
  53712. throw A.wrapException(A.StateError$("Pattern matching error"));
  53713. if (!B.JSString_methods.startsWith$1(matchKey, patternBase))
  53714. continue;
  53715. if (matchKey === patternBase)
  53716. continue;
  53717. t7 = patternTrailer.length;
  53718. if (t7 !== 0)
  53719. t8 = B.JSString_methods.endsWith$1(matchKey, patternTrailer) && t6 >= expansionKey.length;
  53720. else
  53721. t8 = true;
  53722. if (t8) {
  53723. target = t3.$index(t1, expansionKey);
  53724. if (target == null)
  53725. continue;
  53726. return t4._packageTargetResolve$4(variant, target, _this.packageRoot, B.JSString_methods.substring$2(matchKey, patternBase.length, t6 - t7));
  53727. }
  53728. }
  53729. return _null;
  53730. },
  53731. $signature: 144
  53732. };
  53733. A.NodePackageImporter__nodePackageExportsResolve__closure.prototype = {
  53734. call$1(mainExport) {
  53735. return this.$this._packageTargetResolve$3(this.variant, mainExport, this.packageRoot);
  53736. },
  53737. $signature: 145
  53738. };
  53739. A.NodePackageImporter__nodePackageExportsResolve__closure0.prototype = {
  53740. call$1(key) {
  53741. return !B.JSString_methods.startsWith$1(key, ".");
  53742. },
  53743. $signature: 4
  53744. };
  53745. A.NodePackageImporter__getMainExport_closure.prototype = {
  53746. call$1(key) {
  53747. return B.JSString_methods.startsWith$1(key, ".");
  53748. },
  53749. $signature: 4
  53750. };
  53751. A.ImporterResult.prototype = {
  53752. get$sourceMapUrl(_) {
  53753. return this._sourceMapUrl;
  53754. }
  53755. };
  53756. A.resolveImportPath_closure.prototype = {
  53757. call$0() {
  53758. return A._exactlyOne(A._tryPath($.$get$context().withoutExtension$1(this.path) + ".import" + this.extension));
  53759. },
  53760. $signature: 44
  53761. };
  53762. A.resolveImportPath_closure0.prototype = {
  53763. call$0() {
  53764. return A._exactlyOne(A._tryPathWithExtensions(this.path + ".import"));
  53765. },
  53766. $signature: 44
  53767. };
  53768. A._tryPathAsDirectory_closure.prototype = {
  53769. call$0() {
  53770. return A._exactlyOne(A._tryPathWithExtensions(A.join(this.path, "index.import", null)));
  53771. },
  53772. $signature: 44
  53773. };
  53774. A._exactlyOne_closure.prototype = {
  53775. call$1(path) {
  53776. var t1 = $.$get$context();
  53777. return " " + t1.prettyUri$1(t1.toUri$1(path));
  53778. },
  53779. $signature: 5
  53780. };
  53781. A.InterpolationBuffer.prototype = {
  53782. writeCharCode$1(character) {
  53783. var t1 = this._interpolation_buffer$_text,
  53784. t2 = A.Primitives_stringFromCharCode(character);
  53785. t1._contents += t2;
  53786. return null;
  53787. },
  53788. addInterpolation$1(interpolation) {
  53789. var _0_4_isSet, _0_4, first, rest, t2, _this = this,
  53790. toAdd = interpolation.contents,
  53791. t1 = toAdd.length;
  53792. if (t1 === 0)
  53793. return;
  53794. _0_4_isSet = t1 >= 1;
  53795. if (_0_4_isSet) {
  53796. _0_4 = toAdd[0];
  53797. t1 = _0_4;
  53798. t1 = typeof t1 == "string";
  53799. } else {
  53800. _0_4 = null;
  53801. t1 = false;
  53802. }
  53803. if (t1) {
  53804. first = A._asString(_0_4_isSet ? _0_4 : toAdd[0]);
  53805. rest = B.JSArray_methods.sublist$1(toAdd, 1);
  53806. t1 = _this._interpolation_buffer$_text;
  53807. t1._contents += first;
  53808. toAdd = rest;
  53809. }
  53810. _this._flushText$0();
  53811. t1 = _this._interpolation_buffer$_contents;
  53812. B.JSArray_methods.addAll$1(t1, toAdd);
  53813. if (typeof B.JSArray_methods.get$last(t1) == "string") {
  53814. t2 = _this._interpolation_buffer$_text;
  53815. t1 = A.S(t1.pop());
  53816. t2._contents += t1;
  53817. }
  53818. },
  53819. _flushText$0() {
  53820. var t1 = this._interpolation_buffer$_text,
  53821. t2 = t1._contents;
  53822. if (t2.length === 0)
  53823. return;
  53824. this._interpolation_buffer$_contents.push(t2.charCodeAt(0) == 0 ? t2 : t2);
  53825. t1._contents = "";
  53826. },
  53827. interpolation$1(span) {
  53828. var t1 = A.List_List$of(this._interpolation_buffer$_contents, true, type$.Object),
  53829. t2 = this._interpolation_buffer$_text._contents;
  53830. if (t2.length !== 0)
  53831. t1.push(t2.charCodeAt(0) == 0 ? t2 : t2);
  53832. return A.Interpolation$(t1, span);
  53833. },
  53834. toString$0(_) {
  53835. var t1, t2, _i, t3, element;
  53836. for (t1 = this._interpolation_buffer$_contents, t2 = t1.length, _i = 0, t3 = ""; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  53837. element = t1[_i];
  53838. t3 = typeof element == "string" ? t3 + element : t3 + "#{" + A.S(element) + A.Primitives_stringFromCharCode(125);
  53839. }
  53840. t1 = t3 + this._interpolation_buffer$_text.toString$0(0);
  53841. return t1.charCodeAt(0) == 0 ? t1 : t1;
  53842. }
  53843. };
  53844. A.InterpolationMap.prototype = {
  53845. mapException$1(error) {
  53846. var t3, t4, _this = this,
  53847. target = error.get$span(error),
  53848. source = _this.mapSpan$1(target),
  53849. startIndex = _this._indexInContents$1(target.get$start(target)),
  53850. endIndex = _this._indexInContents$1(target.get$end(target)),
  53851. t1 = _this._interpolation.contents,
  53852. t2 = error._span_exception$_message;
  53853. if (!A.SubListIterable$(t1, startIndex, null, A._arrayInstanceType(t1)._precomputed1).take$1(0, endIndex - startIndex + 1).any$1(0, new A.InterpolationMap_mapException_closure()))
  53854. return new A.SourceSpanFormatException(error.get$source(), t2, source);
  53855. else {
  53856. t1 = type$.SourceSpan;
  53857. t3 = type$.String;
  53858. t4 = A.LinkedHashMap_LinkedHashMap$_literal([target, "error in interpolated output"], t1, t3);
  53859. return new A.MultiSourceSpanFormatException(error.get$source(), "", A.ConstantMap_ConstantMap$from(t4, t1, t3), t2, source);
  53860. }
  53861. },
  53862. mapSpan$1(target) {
  53863. var _0_10, t1, _0_2_isSet, _0_20, t2, start, end, _this = this, _null = null,
  53864. _0_1 = _this._mapLocation$1(target.get$start(target)),
  53865. _0_2 = _this._mapLocation$1(target.get$end(target));
  53866. $label0$0: {
  53867. _0_10 = _0_1;
  53868. t1 = type$.FileSpan;
  53869. _0_2_isSet = t1._is(_0_1);
  53870. if (_0_2_isSet) {
  53871. t1._as(_0_10);
  53872. _0_20 = _0_2;
  53873. t2 = t1._is(_0_2);
  53874. start = _0_10;
  53875. _0_1 = start;
  53876. } else {
  53877. start = _null;
  53878. _0_20 = start;
  53879. _0_1 = _0_10;
  53880. t2 = false;
  53881. }
  53882. if (t2) {
  53883. t1 = start.expand$1(0, t1._as(_0_2_isSet ? _0_20 : _0_2));
  53884. break $label0$0;
  53885. }
  53886. if (t1._is(_0_1)) {
  53887. if (_0_2_isSet)
  53888. t2 = _0_20;
  53889. else {
  53890. t2 = _0_2;
  53891. _0_20 = t2;
  53892. _0_2_isSet = true;
  53893. }
  53894. t2 = t2 instanceof A.FileLocation;
  53895. start = _0_1;
  53896. } else {
  53897. start = _null;
  53898. t2 = false;
  53899. }
  53900. if (t2) {
  53901. t1 = _0_2_isSet ? _0_20 : _0_2;
  53902. type$.FileLocation._as(t1);
  53903. t2 = _this._interpolation.span;
  53904. t1 = t2.get$file(t2).span$2(0, _this._expandInterpolationSpanLeft$1(start.get$start(start)), t1.offset);
  53905. break $label0$0;
  53906. }
  53907. if (_0_1 instanceof A.FileLocation) {
  53908. if (_0_2_isSet)
  53909. t2 = _0_20;
  53910. else {
  53911. t2 = _0_2;
  53912. _0_20 = t2;
  53913. _0_2_isSet = true;
  53914. }
  53915. t2 = t1._is(t2);
  53916. start = _0_1;
  53917. } else {
  53918. start = _null;
  53919. t2 = false;
  53920. }
  53921. if (t2) {
  53922. end = t1._as(_0_2_isSet ? _0_20 : _0_2);
  53923. t1 = _this._interpolation.span;
  53924. t1 = t1.get$file(t1).span$2(0, start.offset, _this._expandInterpolationSpanRight$1(end.get$end(end)));
  53925. break $label0$0;
  53926. }
  53927. if (_0_1 instanceof A.FileLocation) {
  53928. if (_0_2_isSet)
  53929. t1 = _0_20;
  53930. else {
  53931. t1 = _0_2;
  53932. _0_20 = t1;
  53933. _0_2_isSet = true;
  53934. }
  53935. t1 = t1 instanceof A.FileLocation;
  53936. start = _0_1;
  53937. } else {
  53938. start = _null;
  53939. t1 = false;
  53940. }
  53941. if (t1) {
  53942. t1 = _0_2_isSet ? _0_20 : _0_2;
  53943. type$.FileLocation._as(t1);
  53944. t2 = _this._interpolation.span;
  53945. t1 = t2.get$file(t2).span$2(0, start.offset, t1.offset);
  53946. break $label0$0;
  53947. }
  53948. t1 = A.throwExpression("[BUG] Unreachable");
  53949. }
  53950. return t1;
  53951. },
  53952. _mapLocation$1(target) {
  53953. var t4, previousLocation, _this = this,
  53954. index = _this._indexInContents$1(target),
  53955. t1 = _this._interpolation,
  53956. t2 = t1.contents,
  53957. _0_0 = t2[index],
  53958. t3 = type$.Expression;
  53959. if (t3._is(_0_0))
  53960. return _0_0.get$span(_0_0);
  53961. t4 = index === 0;
  53962. t1 = t1.span;
  53963. if (t4)
  53964. previousLocation = t1.get$start(t1);
  53965. else {
  53966. t1 = t1.get$file(t1);
  53967. t2 = t3._as(t2[index - 1]);
  53968. t2 = t2.get$span(t2);
  53969. previousLocation = A.FileLocation$_(t1, _this._expandInterpolationSpanRight$1(t2.get$end(t2)));
  53970. }
  53971. t1 = t4 ? 0 : _this._targetLocations[index - 1].get$offset();
  53972. return A.FileLocation$_(previousLocation.file, previousLocation.offset + (target.offset - t1));
  53973. },
  53974. _indexInContents$1(target) {
  53975. var t1, t2, t3, i;
  53976. for (t1 = this._targetLocations, t2 = t1.length, t3 = target.offset, i = 0; i < t2; ++i)
  53977. if (t3 < t1[i].get$offset())
  53978. return i;
  53979. return this._interpolation.contents.length - 1;
  53980. },
  53981. _expandInterpolationSpanLeft$1(start) {
  53982. var i0, prev, char,
  53983. source = start.file._decodedChars,
  53984. i = start.offset - 1;
  53985. for (; i >= 0;) {
  53986. i0 = i - 1;
  53987. prev = source[i];
  53988. if (prev === 123) {
  53989. if (source[i0] === 35) {
  53990. i = i0;
  53991. break;
  53992. }
  53993. i = i0;
  53994. } else if (prev === 47) {
  53995. i = i0 - 1;
  53996. if (source[i0] === 42)
  53997. for (; true;) {
  53998. i0 = i - 1;
  53999. if (source[i] !== 42) {
  54000. i = i0;
  54001. continue;
  54002. }
  54003. i = i0;
  54004. do {
  54005. i0 = i - 1;
  54006. char = source[i];
  54007. if (char === 42) {
  54008. i = i0;
  54009. continue;
  54010. } else
  54011. break;
  54012. } while (true);
  54013. if (char === 47) {
  54014. i = i0;
  54015. break;
  54016. }
  54017. i = i0;
  54018. }
  54019. } else
  54020. i = i0;
  54021. }
  54022. return i;
  54023. },
  54024. _expandInterpolationSpanRight$1(end) {
  54025. var t1, i0, next, second, t2, char,
  54026. source = end.file._decodedChars,
  54027. i = end.offset;
  54028. for (t1 = source.length; i < t1;) {
  54029. i0 = i + 1;
  54030. next = source[i];
  54031. if (next === 125) {
  54032. i = i0;
  54033. break;
  54034. }
  54035. if (next === 47) {
  54036. i = i0 + 1;
  54037. second = source[i0];
  54038. if (second === 47) {
  54039. while (true) {
  54040. i0 = i + 1;
  54041. t2 = source[i];
  54042. if (!!(t2 === 10 || t2 === 13 || t2 === 12))
  54043. break;
  54044. i = i0;
  54045. }
  54046. i = i0;
  54047. } else if (second === 42)
  54048. for (; true;) {
  54049. i0 = i + 1;
  54050. if (source[i] !== 42) {
  54051. i = i0;
  54052. continue;
  54053. }
  54054. i = i0;
  54055. do {
  54056. i0 = i + 1;
  54057. char = source[i];
  54058. if (char === 42) {
  54059. i = i0;
  54060. continue;
  54061. } else
  54062. break;
  54063. } while (true);
  54064. if (char === 47) {
  54065. i = i0;
  54066. break;
  54067. }
  54068. i = i0;
  54069. }
  54070. } else
  54071. i = i0;
  54072. }
  54073. return i;
  54074. }
  54075. };
  54076. A.InterpolationMap_mapException_closure.prototype = {
  54077. call$1($content) {
  54078. return type$.Expression._is($content);
  54079. },
  54080. $signature: 67
  54081. };
  54082. A._realCasePath_helper.prototype = {
  54083. call$1(path) {
  54084. var dirname = $.$get$context().dirname$1(path);
  54085. if (dirname === path)
  54086. return path;
  54087. return $._realCaseCache.putIfAbsent$2(path, new A._realCasePath_helper_closure(this, dirname, path));
  54088. },
  54089. $signature: 5
  54090. };
  54091. A._realCasePath_helper_closure.prototype = {
  54092. call$0() {
  54093. var matches, t1, _0_0, match, exception,
  54094. realDirname = this.helper.call$1(this.dirname),
  54095. t2 = this.path,
  54096. basename = A.ParsedPath_ParsedPath$parse(t2, $.$get$context().style).get$basename();
  54097. try {
  54098. matches = J.where$1$ax(A.listDir(realDirname, false), new A._realCasePath_helper__closure(basename)).toList$0(0);
  54099. t1 = null;
  54100. _0_0 = matches;
  54101. $label0$0: {
  54102. match = null;
  54103. if (J.get$length$asx(_0_0) === 1) {
  54104. match = J.$index$asx(_0_0, 0);
  54105. t1 = match;
  54106. break $label0$0;
  54107. }
  54108. t1 = A.join(realDirname, basename, null);
  54109. break $label0$0;
  54110. }
  54111. t1 = t1;
  54112. return t1;
  54113. } catch (exception) {
  54114. if (A.unwrapException(exception) instanceof A.FileSystemException)
  54115. return t2;
  54116. else
  54117. throw exception;
  54118. }
  54119. },
  54120. $signature: 25
  54121. };
  54122. A._realCasePath_helper__closure.prototype = {
  54123. call$1(realPath) {
  54124. return A.equalsIgnoreCase(A.ParsedPath_ParsedPath$parse(realPath, $.$get$context().style).get$basename(), this.basename);
  54125. },
  54126. $signature: 4
  54127. };
  54128. A.FileSystemException.prototype = {
  54129. toString$0(_) {
  54130. var t1 = $.$get$context();
  54131. return t1.prettyUri$1(t1.toUri$1(this.path)) + ": " + this.message;
  54132. },
  54133. get$message(receiver) {
  54134. return this.message;
  54135. }
  54136. };
  54137. A._readFile_closure.prototype = {
  54138. call$0() {
  54139. return J.readFileSync$2$x(A.fs(), this.path, this.encoding);
  54140. },
  54141. $signature: 62
  54142. };
  54143. A.writeFile_closure.prototype = {
  54144. call$0() {
  54145. return J.writeFileSync$2$x(A.fs(), this.path, this.contents);
  54146. },
  54147. $signature: 0
  54148. };
  54149. A.deleteFile_closure.prototype = {
  54150. call$0() {
  54151. return J.unlinkSync$1$x(A.fs(), this.path);
  54152. },
  54153. $signature: 0
  54154. };
  54155. A.readStdin_closure.prototype = {
  54156. call$1(result) {
  54157. this._box_0.contents = result;
  54158. this.completer.complete$1(result);
  54159. },
  54160. $signature: 92
  54161. };
  54162. A.readStdin_closure0.prototype = {
  54163. call$1(chunk) {
  54164. this.sink.add$1(0, type$.List_int._as(chunk));
  54165. },
  54166. call$0() {
  54167. return this.call$1(null);
  54168. },
  54169. "call*": "call$1",
  54170. $requiredArgCount: 0,
  54171. $defaultValues() {
  54172. return [null];
  54173. },
  54174. $signature: 104
  54175. };
  54176. A.readStdin_closure1.prototype = {
  54177. call$1(_) {
  54178. this.sink.close$0(0);
  54179. },
  54180. call$0() {
  54181. return this.call$1(null);
  54182. },
  54183. "call*": "call$1",
  54184. $requiredArgCount: 0,
  54185. $defaultValues() {
  54186. return [null];
  54187. },
  54188. $signature: 104
  54189. };
  54190. A.readStdin_closure2.prototype = {
  54191. call$1(e) {
  54192. A.printError("Failed to read from stdin");
  54193. A.printError(e);
  54194. e.toString;
  54195. this.completer.completeError$1(e);
  54196. },
  54197. call$0() {
  54198. return this.call$1(null);
  54199. },
  54200. "call*": "call$1",
  54201. $requiredArgCount: 0,
  54202. $defaultValues() {
  54203. return [null];
  54204. },
  54205. $signature: 104
  54206. };
  54207. A.fileExists_closure.prototype = {
  54208. call$0() {
  54209. var error, systemError, exception,
  54210. t1 = this.path;
  54211. if (!J.existsSync$1$x(A.fs(), t1))
  54212. return false;
  54213. try {
  54214. t1 = J.isFile$0$x(J.statSync$1$x(A.fs(), t1));
  54215. return t1;
  54216. } catch (exception) {
  54217. error = A.unwrapException(exception);
  54218. systemError = type$.JsSystemError._as(error);
  54219. if (J.$eq$(J.get$code$x(systemError), "ENOENT"))
  54220. return false;
  54221. throw exception;
  54222. }
  54223. },
  54224. $signature: 30
  54225. };
  54226. A.dirExists_closure.prototype = {
  54227. call$0() {
  54228. var error, systemError, exception,
  54229. t1 = this.path;
  54230. if (!J.existsSync$1$x(A.fs(), t1))
  54231. return false;
  54232. try {
  54233. t1 = J.isDirectory$0$x(J.statSync$1$x(A.fs(), t1));
  54234. return t1;
  54235. } catch (exception) {
  54236. error = A.unwrapException(exception);
  54237. systemError = type$.JsSystemError._as(error);
  54238. if (J.$eq$(J.get$code$x(systemError), "ENOENT"))
  54239. return false;
  54240. throw exception;
  54241. }
  54242. },
  54243. $signature: 30
  54244. };
  54245. A.ensureDir_closure.prototype = {
  54246. call$0() {
  54247. var error, systemError, exception, t1;
  54248. try {
  54249. J.mkdirSync$1$x(A.fs(), this.path);
  54250. } catch (exception) {
  54251. error = A.unwrapException(exception);
  54252. systemError = type$.JsSystemError._as(error);
  54253. if (J.$eq$(J.get$code$x(systemError), "EEXIST"))
  54254. return;
  54255. if (!J.$eq$(J.get$code$x(systemError), "ENOENT"))
  54256. throw exception;
  54257. t1 = this.path;
  54258. A.ensureDir($.$get$context().dirname$1(t1));
  54259. J.mkdirSync$1$x(A.fs(), t1);
  54260. }
  54261. },
  54262. $signature: 0
  54263. };
  54264. A.listDir_closure.prototype = {
  54265. call$0() {
  54266. var t1 = this.path;
  54267. if (!this.recursive)
  54268. 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());
  54269. else
  54270. return new A.listDir_closure_list().call$1(t1);
  54271. },
  54272. $signature: 146
  54273. };
  54274. A.listDir__closure.prototype = {
  54275. call$1(child) {
  54276. return A.join(this.path, A._asString(child), null);
  54277. },
  54278. $signature: 125
  54279. };
  54280. A.listDir__closure0.prototype = {
  54281. call$1(child) {
  54282. return !A.dirExists(child);
  54283. },
  54284. $signature: 4
  54285. };
  54286. A.listDir_closure_list.prototype = {
  54287. call$1($parent) {
  54288. return J.expand$1$1$ax(J.readdirSync$1$x(A.fs(), $parent), new A.listDir__list_closure($parent, this), type$.String);
  54289. },
  54290. $signature: 147
  54291. };
  54292. A.listDir__list_closure.prototype = {
  54293. call$1(child) {
  54294. var path = A.join(this.parent, A._asString(child), null);
  54295. return A.dirExists(path) ? this.list.call$1(path) : A._setArrayType([path], type$.JSArray_String);
  54296. },
  54297. $signature: 148
  54298. };
  54299. A.modificationTime_closure.prototype = {
  54300. call$0() {
  54301. var t1 = J.getTime$0$x(J.get$mtime$x(J.statSync$1$x(A.fs(), this.path)));
  54302. if (Math.abs(t1) > 864e13)
  54303. A.throwExpression(A.ArgumentError$("DateTime is outside valid range: " + A.S(t1), null));
  54304. A.checkNotNullable(false, "isUtc", type$.bool);
  54305. return new A.DateTime(t1, false);
  54306. },
  54307. $signature: 149
  54308. };
  54309. A.watchDir_closure.prototype = {
  54310. call$2(path, _) {
  54311. var t1 = this._box_0.controller;
  54312. return t1 == null ? null : t1.add$1(0, new A.WatchEvent(B.ChangeType_add, path));
  54313. },
  54314. call$1(path) {
  54315. return this.call$2(path, null);
  54316. },
  54317. "call*": "call$2",
  54318. $requiredArgCount: 1,
  54319. $defaultValues() {
  54320. return [null];
  54321. },
  54322. $signature: 150
  54323. };
  54324. A.watchDir_closure0.prototype = {
  54325. call$2(path, _) {
  54326. var t1 = this._box_0.controller;
  54327. return t1 == null ? null : t1.add$1(0, new A.WatchEvent(B.ChangeType_modify, path));
  54328. },
  54329. call$1(path) {
  54330. return this.call$2(path, null);
  54331. },
  54332. "call*": "call$2",
  54333. $requiredArgCount: 1,
  54334. $defaultValues() {
  54335. return [null];
  54336. },
  54337. $signature: 150
  54338. };
  54339. A.watchDir_closure1.prototype = {
  54340. call$1(path) {
  54341. var t1 = this._box_0.controller;
  54342. return t1 == null ? null : t1.add$1(0, new A.WatchEvent(B.ChangeType_remove, path));
  54343. },
  54344. $signature: 92
  54345. };
  54346. A.watchDir_closure2.prototype = {
  54347. call$1(error) {
  54348. var t1 = this._box_0.controller;
  54349. return t1 == null ? null : t1.addError$1(error);
  54350. },
  54351. $signature: 82
  54352. };
  54353. A.watchDir_closure3.prototype = {
  54354. call$0() {
  54355. var controller = A.StreamController_StreamController(new A.watchDir__closure(this.watcher), null, null, null, false, type$.WatchEvent);
  54356. this._box_0.controller = controller;
  54357. this.completer.complete$1(new A._ControllerStream(controller, A._instanceType(controller)._eval$1("_ControllerStream<1>")));
  54358. },
  54359. $signature: 1
  54360. };
  54361. A.watchDir__closure.prototype = {
  54362. call$0() {
  54363. J.close$0$x(this.watcher);
  54364. },
  54365. $signature: 1
  54366. };
  54367. A.JSArray0.prototype = {};
  54368. A.Chokidar.prototype = {};
  54369. A.ChokidarOptions.prototype = {};
  54370. A.ChokidarWatcher.prototype = {};
  54371. A.JSFunction.prototype = {};
  54372. A.ImmutableList.prototype = {};
  54373. A.ImmutableMap.prototype = {};
  54374. A.NodeImporterResult.prototype = {};
  54375. A.RenderContext.prototype = {};
  54376. A.RenderContextOptions.prototype = {};
  54377. A.RenderContextResult.prototype = {};
  54378. A.RenderContextResultStats.prototype = {};
  54379. A.JSModule.prototype = {};
  54380. A.JSModuleRequire.prototype = {};
  54381. A.JSClass.prototype = {};
  54382. A.JSUrl.prototype = {};
  54383. A._PropertyDescriptor.prototype = {};
  54384. A._RequireMain.prototype = {};
  54385. A.LoggerWithDeprecationType0.prototype = {
  54386. warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
  54387. this.internalWarn$4$deprecation$span$trace(message, deprecation ? B.Deprecation_JeE : null, span, trace);
  54388. },
  54389. warn$3$span$trace(_, message, span, trace) {
  54390. return this.warn$4$deprecation$span$trace(0, message, false, span, trace);
  54391. },
  54392. warn$2$span(_, message, span) {
  54393. return this.warn$4$deprecation$span$trace(0, message, false, span, null);
  54394. },
  54395. warn$2$trace(_, message, trace) {
  54396. return this.warn$4$deprecation$span$trace(0, message, false, null, trace);
  54397. }
  54398. };
  54399. A._QuietLogger.prototype = {
  54400. warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
  54401. },
  54402. warn$1(_, message) {
  54403. return this.warn$4$deprecation$span$trace(0, message, false, null, null);
  54404. },
  54405. warn$3$span$trace(_, message, span, trace) {
  54406. return this.warn$4$deprecation$span$trace(0, message, false, span, trace);
  54407. },
  54408. warn$2$span(_, message, span) {
  54409. return this.warn$4$deprecation$span$trace(0, message, false, span, null);
  54410. },
  54411. debug$2(_, message, span) {
  54412. }
  54413. };
  54414. A.DeprecationProcessingLogger.prototype = {
  54415. DeprecationProcessingLogger$5$fatalDeprecations$futureDeprecations$limitRepetition$silenceDeprecations(_inner, fatalDeprecations, futureDeprecations, limitRepetition, silenceDeprecations) {
  54416. var t1, t2, t3, t4, t5, t6, _1_7, _this = this, _null = null;
  54417. for (t1 = _this.fatalDeprecations, t1 = t1.get$iterator(t1), t2 = _this.silenceDeprecations, t3 = _this.futureDeprecations, t4 = _this._inner; t1.moveNext$0();) {
  54418. t5 = t1.get$current(t1);
  54419. if (t5.isFuture && !t3.contains$1(0, t5)) {
  54420. t5 = t5.toString$0(0);
  54421. t4.warn$3$span$trace(0, "Future " + t5 + string$.x20deprex20m, _null, _null);
  54422. continue;
  54423. }
  54424. t6 = t2.contains$1(0, t5);
  54425. if (t6) {
  54426. t5 = t5.toString$0(0);
  54427. t4.warn$3$span$trace(0, "Ignoring setting to silence " + t5 + string$.x20deprex2c, _null, _null);
  54428. continue;
  54429. }
  54430. }
  54431. for (t1 = A._LinkedHashSetIterator$(t2, t2._modifications, A._instanceType(t2)._precomputed1), t2 = t1.$ti._precomputed1; t1.moveNext$0();) {
  54432. t5 = t1._collection$_current;
  54433. if (t5 == null)
  54434. t5 = t2._as(t5);
  54435. if (B.Deprecation_JeE === t5) {
  54436. t4.warn$3$span$trace(0, string$.User_a, _null, _null);
  54437. continue;
  54438. }
  54439. _1_7 = t5.isFuture;
  54440. if (_1_7 && t3.contains$1(0, t5)) {
  54441. t5 = t5.toString$0(0);
  54442. t4.warn$3$span$trace(0, "Conflicting options for future " + t5 + " deprecation cancel each other out.", _null, _null);
  54443. continue;
  54444. }
  54445. if (_1_7) {
  54446. t5 = t5.toString$0(0);
  54447. t4.warn$3$span$trace(0, "Future " + t5 + string$.x20deprex20i, _null, _null);
  54448. continue;
  54449. }
  54450. }
  54451. for (t1 = A._LinkedHashSetIterator$(t3, t3._modifications, A._instanceType(t3)._precomputed1), t2 = t1.$ti._precomputed1; t1.moveNext$0();) {
  54452. t3 = t1._collection$_current;
  54453. if (t3 == null)
  54454. t3 = t2._as(t3);
  54455. if (!t3.isFuture) {
  54456. t3 = t3.toString$0(0);
  54457. t4.warn$3$span$trace(0, t3 + string$.x20is_noaf, _null, _null);
  54458. }
  54459. }
  54460. },
  54461. internalWarn$4$deprecation$span$trace(message, deprecation, span, trace) {
  54462. if (deprecation != null)
  54463. this._handleDeprecation$4$span$trace(deprecation, message, span, trace);
  54464. else
  54465. this._inner.warn$3$span$trace(0, message, span, trace);
  54466. },
  54467. _handleDeprecation$4$span$trace(deprecation, message, span, trace) {
  54468. var _0_3_isSet, span0, t1, _0_3, t2, count, _this = this, _null = null;
  54469. if (deprecation.isFuture && !_this.futureDeprecations.contains$1(0, deprecation))
  54470. return;
  54471. if (_this.fatalDeprecations.contains$1(0, deprecation)) {
  54472. message += string$.x0a_This + deprecation.toString$0(0) + string$.x20deprex20t;
  54473. $label0$0: {
  54474. _0_3_isSet = span != null;
  54475. if (_0_3_isSet) {
  54476. span0 = span == null ? type$.FileSpan._as(span) : span;
  54477. t1 = trace != null;
  54478. _0_3 = trace;
  54479. } else {
  54480. span0 = _null;
  54481. _0_3 = span0;
  54482. t1 = false;
  54483. }
  54484. if (t1) {
  54485. if (_0_3_isSet)
  54486. trace = _0_3;
  54487. t1 = A.SassRuntimeException$(message, span0, trace == null ? type$.Trace._as(trace) : trace, _null);
  54488. break $label0$0;
  54489. }
  54490. if (span != null)
  54491. t1 = (_0_3_isSet ? _0_3 : trace) == null;
  54492. else {
  54493. span = _null;
  54494. t1 = false;
  54495. }
  54496. if (t1) {
  54497. t1 = A.SassException$(message, span, _null);
  54498. break $label0$0;
  54499. }
  54500. t1 = A.SassScriptException$(message, _null);
  54501. break $label0$0;
  54502. }
  54503. throw A.wrapException(t1);
  54504. }
  54505. if (_this.silenceDeprecations.contains$1(0, deprecation))
  54506. return;
  54507. if (_this.limitRepetition) {
  54508. t1 = _this._warningCounts;
  54509. t2 = t1.$index(0, deprecation);
  54510. count = (t2 == null ? 0 : t2) + 1;
  54511. t1.$indexSet(0, deprecation, count);
  54512. if (count > 5)
  54513. return;
  54514. }
  54515. _this._inner.warn$4$deprecation$span$trace(0, message, true, span, trace);
  54516. },
  54517. debug$2(_, message, span) {
  54518. return this._inner.debug$2(0, message, span);
  54519. },
  54520. summarize$1$js(js) {
  54521. var t1 = this._warningCounts.get$values(0),
  54522. t2 = A._instanceType(t1),
  54523. total = A.IterableIntegerExtension_get_sum(new A.MappedIterable(new A.WhereIterable(t1, new A.DeprecationProcessingLogger_summarize_closure(), t2._eval$1("WhereIterable<Iterable.E>")), new A.DeprecationProcessingLogger_summarize_closure0(), t2._eval$1("MappedIterable<Iterable.E,int>")));
  54524. if (total > 0) {
  54525. t1 = js ? "" : string$.x0aRun_i;
  54526. this._inner.warn$1(0, "" + total + string$.x20repet + t1);
  54527. }
  54528. }
  54529. };
  54530. A.DeprecationProcessingLogger_summarize_closure.prototype = {
  54531. call$1(count) {
  54532. return count > 5;
  54533. },
  54534. $signature: 45
  54535. };
  54536. A.DeprecationProcessingLogger_summarize_closure0.prototype = {
  54537. call$1(count) {
  54538. return count - 5;
  54539. },
  54540. $signature: 151
  54541. };
  54542. A.StderrLogger.prototype = {
  54543. warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
  54544. var t2,
  54545. result = new A.StringBuffer(""),
  54546. t1 = this.color;
  54547. if (t1) {
  54548. t2 = result._contents = "" + "\x1b[33m\x1b[1m";
  54549. t2 = result._contents = (deprecation ? result._contents = t2 + "Deprecation " : t2) + "Warning\x1b[0m";
  54550. } else
  54551. t2 = result._contents = (deprecation ? result._contents = "" + "DEPRECATION " : "") + "WARNING";
  54552. if (span == null)
  54553. t1 = result._contents = t2 + (": " + message + "\n");
  54554. else if (trace != null) {
  54555. t1 = t2 + (": " + message + "\n\n" + span.highlight$1$color(t1) + "\n");
  54556. result._contents = t1;
  54557. } else {
  54558. t1 = t2 + (" on " + span.message$2$color(0, "\n" + message, t1) + "\n");
  54559. result._contents = t1;
  54560. }
  54561. if (trace != null)
  54562. result._contents = t1 + (A.indent(B.JSString_methods.trimRight$0(trace.toString$0(0)), 4) + "\n");
  54563. A.printError(result);
  54564. },
  54565. warn$1(_, message) {
  54566. return this.warn$4$deprecation$span$trace(0, message, false, null, null);
  54567. },
  54568. warn$3$span$trace(_, message, span, trace) {
  54569. return this.warn$4$deprecation$span$trace(0, message, false, span, trace);
  54570. },
  54571. warn$2$span(_, message, span) {
  54572. return this.warn$4$deprecation$span$trace(0, message, false, span, null);
  54573. },
  54574. warn$2$trace(_, message, trace) {
  54575. return this.warn$4$deprecation$span$trace(0, message, false, null, trace);
  54576. },
  54577. debug$2(_, message, span) {
  54578. var url, t3, t4,
  54579. t1 = span.file,
  54580. t2 = span._file$_start;
  54581. if (A.FileLocation$_(t1, t2).file.url == null)
  54582. url = "-";
  54583. else {
  54584. t3 = A.FileLocation$_(t1, t2).file.url;
  54585. t4 = $.$get$context();
  54586. t3.toString;
  54587. url = t4.prettyUri$1(t3);
  54588. }
  54589. t1 = A.FileLocation$_(t1, t2);
  54590. t1 = t1.file.getLine$1(t1.offset);
  54591. t2 = this.color ? "\x1b[1mDebug\x1b[0m" : "DEBUG";
  54592. t2 = "" + (url + ":" + (t1 + 1) + " ") + t2 + (": " + message);
  54593. A.printError(t2.charCodeAt(0) == 0 ? t2 : t2);
  54594. }
  54595. };
  54596. A.TrackingLogger.prototype = {
  54597. warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
  54598. this._emittedWarning = true;
  54599. this._tracking$_logger.warn$4$deprecation$span$trace(0, message, deprecation, span, trace);
  54600. },
  54601. warn$1(_, message) {
  54602. return this.warn$4$deprecation$span$trace(0, message, false, null, null);
  54603. },
  54604. warn$3$span$trace(_, message, span, trace) {
  54605. return this.warn$4$deprecation$span$trace(0, message, false, span, trace);
  54606. },
  54607. debug$2(_, message, span) {
  54608. this._emittedDebug = true;
  54609. this._tracking$_logger.debug$2(0, message, span);
  54610. }
  54611. };
  54612. A.BuiltInModule.prototype = {
  54613. get$upstream() {
  54614. return B.List_empty7;
  54615. },
  54616. get$variableNodes() {
  54617. return B.Map_empty4;
  54618. },
  54619. get$extensionStore() {
  54620. return B.C_EmptyExtensionStore;
  54621. },
  54622. get$css(_) {
  54623. return new A.CssStylesheet(B.List_empty3, A.SourceFile$decoded(B.List_empty4, this.url).span$2(0, 0, 0));
  54624. },
  54625. get$preModuleComments() {
  54626. return B.Map_empty2;
  54627. },
  54628. get$transitivelyContainsCss() {
  54629. return false;
  54630. },
  54631. get$transitivelyContainsExtensions() {
  54632. return false;
  54633. },
  54634. setVariable$3($name, value, nodeWithSpan) {
  54635. if (!this.variables.containsKey$1($name))
  54636. throw A.wrapException(A.SassScriptException$("Undefined variable.", null));
  54637. throw A.wrapException(A.SassScriptException$("Cannot modify built-in variable.", null));
  54638. },
  54639. variableIdentity$1($name) {
  54640. return this;
  54641. },
  54642. cloneCss$0() {
  54643. return this;
  54644. },
  54645. $isModule0: 1,
  54646. get$url(receiver) {
  54647. return this.url;
  54648. },
  54649. get$functions(receiver) {
  54650. return this.functions;
  54651. },
  54652. get$mixins() {
  54653. return this.mixins;
  54654. },
  54655. get$variables() {
  54656. return this.variables;
  54657. }
  54658. };
  54659. A.ForwardedModuleView.prototype = {
  54660. get$url(_) {
  54661. var t1 = this._forwarded_view$_inner;
  54662. return t1.get$url(t1);
  54663. },
  54664. get$upstream() {
  54665. return this._forwarded_view$_inner.get$upstream();
  54666. },
  54667. get$extensionStore() {
  54668. return this._forwarded_view$_inner.get$extensionStore();
  54669. },
  54670. get$css(_) {
  54671. var t1 = this._forwarded_view$_inner;
  54672. return t1.get$css(t1);
  54673. },
  54674. get$preModuleComments() {
  54675. return this._forwarded_view$_inner.get$preModuleComments();
  54676. },
  54677. get$transitivelyContainsCss() {
  54678. return this._forwarded_view$_inner.get$transitivelyContainsCss();
  54679. },
  54680. get$transitivelyContainsExtensions() {
  54681. return this._forwarded_view$_inner.get$transitivelyContainsExtensions();
  54682. },
  54683. setVariable$3($name, value, nodeWithSpan) {
  54684. var t2, _1_0, _2_0,
  54685. _s19_ = "Undefined variable.",
  54686. t1 = this._rule,
  54687. _0_0 = t1.shownVariables;
  54688. if (_0_0 != null)
  54689. t2 = !_0_0._base.contains$1(0, $name);
  54690. else
  54691. t2 = false;
  54692. if (t2)
  54693. throw A.wrapException(A.SassScriptException$(_s19_, null));
  54694. else {
  54695. _1_0 = t1.hiddenVariables;
  54696. if (_1_0 != null)
  54697. t2 = _1_0._base.contains$1(0, $name);
  54698. else
  54699. t2 = false;
  54700. if (t2)
  54701. throw A.wrapException(A.SassScriptException$(_s19_, null));
  54702. }
  54703. _2_0 = t1.prefix;
  54704. if (_2_0 != null) {
  54705. if (!B.JSString_methods.startsWith$1($name, _2_0))
  54706. throw A.wrapException(A.SassScriptException$(_s19_, null));
  54707. $name = B.JSString_methods.substring$1($name, _2_0.length);
  54708. }
  54709. return this._forwarded_view$_inner.setVariable$3($name, value, nodeWithSpan);
  54710. },
  54711. variableIdentity$1($name) {
  54712. var _0_0 = this._rule.prefix;
  54713. if (_0_0 != null)
  54714. $name = B.JSString_methods.substring$1($name, _0_0.length);
  54715. return this._forwarded_view$_inner.variableIdentity$1($name);
  54716. },
  54717. $eq(_, other) {
  54718. if (other == null)
  54719. return false;
  54720. return other instanceof A.ForwardedModuleView && this._forwarded_view$_inner.$eq(0, other._forwarded_view$_inner) && this._rule === other._rule;
  54721. },
  54722. get$hashCode(_) {
  54723. var t1 = this._forwarded_view$_inner;
  54724. return (t1.get$hashCode(t1) ^ A.Primitives_objectHashCode(this._rule)) >>> 0;
  54725. },
  54726. cloneCss$0() {
  54727. return A.ForwardedModuleView$(this._forwarded_view$_inner.cloneCss$0(), this._rule, this.$ti._precomputed1);
  54728. },
  54729. toString$0(_) {
  54730. return "forwarded " + this._forwarded_view$_inner.toString$0(0);
  54731. },
  54732. $isModule0: 1,
  54733. get$variables() {
  54734. return this.variables;
  54735. },
  54736. get$variableNodes() {
  54737. return this.variableNodes;
  54738. },
  54739. get$functions(receiver) {
  54740. return this.functions;
  54741. },
  54742. get$mixins() {
  54743. return this.mixins;
  54744. }
  54745. };
  54746. A.ShadowedModuleView.prototype = {
  54747. get$url(_) {
  54748. var t1 = this._shadowed_view$_inner;
  54749. return t1.get$url(t1);
  54750. },
  54751. get$upstream() {
  54752. return this._shadowed_view$_inner.get$upstream();
  54753. },
  54754. get$extensionStore() {
  54755. return this._shadowed_view$_inner.get$extensionStore();
  54756. },
  54757. get$css(_) {
  54758. var t1 = this._shadowed_view$_inner;
  54759. return t1.get$css(t1);
  54760. },
  54761. get$preModuleComments() {
  54762. return this._shadowed_view$_inner.get$preModuleComments();
  54763. },
  54764. get$transitivelyContainsCss() {
  54765. return this._shadowed_view$_inner.get$transitivelyContainsCss();
  54766. },
  54767. get$transitivelyContainsExtensions() {
  54768. return this._shadowed_view$_inner.get$transitivelyContainsExtensions();
  54769. },
  54770. setVariable$3($name, value, nodeWithSpan) {
  54771. if (!this.variables.containsKey$1($name))
  54772. throw A.wrapException(A.SassScriptException$("Undefined variable.", null));
  54773. else
  54774. this._shadowed_view$_inner.setVariable$3($name, value, nodeWithSpan);
  54775. },
  54776. variableIdentity$1($name) {
  54777. return this._shadowed_view$_inner.variableIdentity$1($name);
  54778. },
  54779. $eq(_, other) {
  54780. var t1, t2, _this = this;
  54781. if (other == null)
  54782. return false;
  54783. if (other instanceof A.ShadowedModuleView)
  54784. if (_this._shadowed_view$_inner.$eq(0, other._shadowed_view$_inner)) {
  54785. t1 = _this.variables;
  54786. t1 = t1.get$keys(t1);
  54787. t2 = other.variables;
  54788. if (B.C_IterableEquality.equals$2(0, t1, t2.get$keys(t2))) {
  54789. t1 = _this.functions;
  54790. t1 = t1.get$keys(t1);
  54791. t2 = other.functions;
  54792. if (B.C_IterableEquality.equals$2(0, t1, t2.get$keys(t2))) {
  54793. t1 = _this.mixins;
  54794. t1 = t1.get$keys(t1);
  54795. t2 = other.mixins;
  54796. t2 = B.C_IterableEquality.equals$2(0, t1, t2.get$keys(t2));
  54797. t1 = t2;
  54798. } else
  54799. t1 = false;
  54800. } else
  54801. t1 = false;
  54802. } else
  54803. t1 = false;
  54804. else
  54805. t1 = false;
  54806. return t1;
  54807. },
  54808. get$hashCode(_) {
  54809. var t1 = this._shadowed_view$_inner;
  54810. return t1.get$hashCode(t1);
  54811. },
  54812. cloneCss$0() {
  54813. var _this = this;
  54814. return new A.ShadowedModuleView(_this._shadowed_view$_inner.cloneCss$0(), _this.variables, _this.variableNodes, _this.functions, _this.mixins, _this.$ti);
  54815. },
  54816. toString$0(_) {
  54817. return "shadowed " + this._shadowed_view$_inner.toString$0(0);
  54818. },
  54819. $isModule0: 1,
  54820. get$variables() {
  54821. return this.variables;
  54822. },
  54823. get$variableNodes() {
  54824. return this.variableNodes;
  54825. },
  54826. get$functions(receiver) {
  54827. return this.functions;
  54828. },
  54829. get$mixins() {
  54830. return this.mixins;
  54831. }
  54832. };
  54833. A.AtRootQueryParser.prototype = {
  54834. parse$0() {
  54835. return this.wrapSpanFormatException$1(new A.AtRootQueryParser_parse_closure(this));
  54836. }
  54837. };
  54838. A.AtRootQueryParser_parse_closure.prototype = {
  54839. call$0() {
  54840. var include, atRules,
  54841. t1 = this.$this,
  54842. t2 = t1.scanner;
  54843. t2.expectChar$1(40);
  54844. t1.whitespace$0();
  54845. include = t1.scanIdentifier$1("with");
  54846. if (!include)
  54847. t1.expectIdentifier$2$name("without", '"with" or "without"');
  54848. t1.whitespace$0();
  54849. t2.expectChar$1(58);
  54850. t1.whitespace$0();
  54851. atRules = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
  54852. do {
  54853. atRules.add$1(0, t1.identifier$0().toLowerCase());
  54854. t1.whitespace$0();
  54855. } while (t1.lookingAtIdentifier$0());
  54856. t2.expectChar$1(41);
  54857. t2.expectDone$0();
  54858. return new A.AtRootQuery(include, atRules, atRules.contains$1(0, "all"), atRules.contains$1(0, "rule"));
  54859. },
  54860. $signature: 515
  54861. };
  54862. A._disallowedFunctionNames_closure.prototype = {
  54863. call$1($function) {
  54864. return $function.name;
  54865. },
  54866. $signature: 514
  54867. };
  54868. A.CssParser.prototype = {
  54869. get$plainCss() {
  54870. return true;
  54871. },
  54872. silentComment$0() {
  54873. var t1, t2, _this = this;
  54874. if (_this._inExpression)
  54875. return false;
  54876. t1 = _this.scanner;
  54877. t2 = t1._string_scanner$_position;
  54878. _this.super$Parser$silentComment();
  54879. _this.error$2(0, string$.Silent, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  54880. },
  54881. atRule$2$root(child, root) {
  54882. var $name, _0_0, _this = this,
  54883. t1 = _this.scanner,
  54884. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  54885. t1.expectChar$1(64);
  54886. $name = _this.interpolatedIdentifier$0();
  54887. _this.whitespace$0();
  54888. _0_0 = $name.get$asPlain();
  54889. $label0$0: {
  54890. if ("at-root" === _0_0 || "content" === _0_0 || "debug" === _0_0 || "each" === _0_0 || "error" === _0_0 || "extend" === _0_0 || "for" === _0_0 || "function" === _0_0 || "if" === _0_0 || "include" === _0_0 || "mixin" === _0_0 || "return" === _0_0 || "warn" === _0_0 || "while" === _0_0)
  54891. _this._forbiddenAtRoot$1(start);
  54892. if ("import" === _0_0) {
  54893. t1 = _this._cssImportRule$1(start);
  54894. break $label0$0;
  54895. }
  54896. if ("media" === _0_0) {
  54897. t1 = _this.mediaRule$1(start);
  54898. break $label0$0;
  54899. }
  54900. if ("-moz-document" === _0_0) {
  54901. t1 = _this.mozDocumentRule$2(start, $name);
  54902. break $label0$0;
  54903. }
  54904. if ("supports" === _0_0) {
  54905. t1 = _this.supportsRule$1(start);
  54906. break $label0$0;
  54907. }
  54908. t1 = _this.unknownAtRule$2(start, $name);
  54909. break $label0$0;
  54910. }
  54911. return t1;
  54912. },
  54913. _forbiddenAtRoot$1(start) {
  54914. this.almostAnyValue$0();
  54915. this.error$2(0, "This at-rule isn't allowed in plain CSS.", this.scanner.spanFrom$1(start));
  54916. },
  54917. _cssImportRule$1(start) {
  54918. var t2, urlSpan, modifiers, _this = this,
  54919. t1 = _this.scanner,
  54920. urlStart = new A._SpanScannerState(t1, t1._string_scanner$_position),
  54921. _0_0 = t1.peekChar$0();
  54922. $label0$0: {
  54923. if (117 === _0_0 || 85 === _0_0) {
  54924. t2 = _this.dynamicUrl$0();
  54925. break $label0$0;
  54926. }
  54927. t2 = new A.StringExpression(_this.interpolatedString$0().asInterpolation$1$static(true), false);
  54928. break $label0$0;
  54929. }
  54930. urlSpan = t1.spanFrom$1(urlStart);
  54931. _this.whitespace$0();
  54932. modifiers = _this.tryImportModifiers$0();
  54933. _this.expectStatementSeparator$1("@import rule");
  54934. t2 = A._setArrayType([new A.StaticImport(A.Interpolation$(A._setArrayType([t2], type$.JSArray_Object), urlSpan), modifiers, t1.spanFrom$1(urlStart))], type$.JSArray_Import);
  54935. t1 = t1.spanFrom$1(start);
  54936. return new A.ImportRule(A.List_List$unmodifiable(t2, type$.Import), t1);
  54937. },
  54938. parentheses$0() {
  54939. var expression,
  54940. t1 = this.scanner,
  54941. t2 = t1._string_scanner$_position;
  54942. t1.expectChar$1(40);
  54943. this.whitespace$0();
  54944. expression = this.expressionUntilComma$0();
  54945. t1.expectChar$1(41);
  54946. return new A.ParenthesizedExpression(expression, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  54947. },
  54948. identifierLike$0() {
  54949. var t2, allowEmptySecondArg, $arguments, t3, t4, _this = this,
  54950. t1 = _this.scanner,
  54951. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  54952. identifier = _this.interpolatedIdentifier$0(),
  54953. plain = identifier.get$asPlain(),
  54954. lower = plain.toLowerCase(),
  54955. _0_0 = _this.trySpecialFunction$2(lower, start);
  54956. if (_0_0 != null)
  54957. return _0_0;
  54958. t2 = t1._string_scanner$_position;
  54959. if (t1.scanChar$1(46))
  54960. return _this.namespacedExpression$2(plain, start);
  54961. if (!t1.scanChar$1(40))
  54962. return new A.StringExpression(identifier, false);
  54963. allowEmptySecondArg = lower === "var";
  54964. $arguments = A._setArrayType([], type$.JSArray_Expression);
  54965. if (!t1.scanChar$1(41)) {
  54966. do {
  54967. _this.whitespace$0();
  54968. if (allowEmptySecondArg && $arguments.length === 1 && t1.peekChar$0() === 41) {
  54969. t3 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  54970. t4 = t3.offset;
  54971. t4 = A._FileSpan$(t3.file, t4, t4);
  54972. $arguments.push(new A.StringExpression(A.Interpolation$(A._setArrayType([""], type$.JSArray_Object), t4), false));
  54973. break;
  54974. }
  54975. $arguments.push(_this.expressionUntilComma$1$singleEquals(true));
  54976. _this.whitespace$0();
  54977. } while (t1.scanChar$1(44));
  54978. t1.expectChar$1(41);
  54979. }
  54980. if ($.$get$_disallowedFunctionNames().contains$1(0, plain))
  54981. _this.error$2(0, string$.This_f, t1.spanFrom$1(start));
  54982. t2 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  54983. t3 = type$.Expression;
  54984. t4 = A.List_List$unmodifiable($arguments, t3);
  54985. t3 = A.ConstantMap_ConstantMap$from(B.Map_empty6, type$.String, t3);
  54986. t1 = t1.spanFrom$1(start);
  54987. return new A.FunctionExpression(null, A.stringReplaceAllUnchecked(plain, "_", "-"), plain, new A.ArgumentInvocation(t4, t3, null, null, t2), t1);
  54988. },
  54989. namespacedExpression$2(namespace, start) {
  54990. var expression = this.super$StylesheetParser$namespacedExpression(namespace, start);
  54991. this.error$2(0, string$.Modulen, expression.get$span(expression));
  54992. }
  54993. };
  54994. A.KeyframeSelectorParser.prototype = {
  54995. parse$0() {
  54996. return this.wrapSpanFormatException$1(new A.KeyframeSelectorParser_parse_closure(this));
  54997. },
  54998. _percentage$0() {
  54999. var $self, _0_0,
  55000. t1 = this.scanner,
  55001. t2 = t1.scanChar$1(43) ? "" + A.Primitives_stringFromCharCode(43) : "",
  55002. second = t1.peekChar$0();
  55003. if (!(second != null && second >= 48 && second <= 57) && second !== 46)
  55004. t1.error$1(0, "Expected number.");
  55005. while (true) {
  55006. $self = t1.peekChar$0();
  55007. if (!($self != null && $self >= 48 && $self <= 57))
  55008. break;
  55009. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  55010. }
  55011. if (t1.peekChar$0() === 46) {
  55012. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  55013. while (true) {
  55014. $self = t1.peekChar$0();
  55015. if (!($self != null && $self >= 48 && $self <= 57))
  55016. break;
  55017. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  55018. }
  55019. }
  55020. if (this.scanIdentChar$1(101)) {
  55021. t2 += A.Primitives_stringFromCharCode(101);
  55022. _0_0 = t1.peekChar$0();
  55023. if (43 === _0_0 || 45 === _0_0)
  55024. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  55025. $self = t1.peekChar$0();
  55026. if (!($self != null && $self >= 48 && $self <= 57))
  55027. t1.error$1(0, "Expected digit.");
  55028. do {
  55029. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  55030. $self = t1.peekChar$0();
  55031. } while ($self != null && $self >= 48 && $self <= 57);
  55032. }
  55033. t1.expectChar$1(37);
  55034. t2 += A.Primitives_stringFromCharCode(37);
  55035. return t2.charCodeAt(0) == 0 ? t2 : t2;
  55036. }
  55037. };
  55038. A.KeyframeSelectorParser_parse_closure.prototype = {
  55039. call$0() {
  55040. var selectors = A._setArrayType([], type$.JSArray_String),
  55041. t1 = this.$this,
  55042. t2 = t1.scanner;
  55043. do {
  55044. t1.whitespace$0();
  55045. if (t1.lookingAtIdentifier$0())
  55046. if (t1.scanIdentifier$1("from"))
  55047. selectors.push("from");
  55048. else {
  55049. t1.expectIdentifier$2$name("to", '"to" or "from"');
  55050. selectors.push("to");
  55051. }
  55052. else
  55053. selectors.push(t1._percentage$0());
  55054. t1.whitespace$0();
  55055. } while (t2.scanChar$1(44));
  55056. t2.expectDone$0();
  55057. return selectors;
  55058. },
  55059. $signature: 126
  55060. };
  55061. A.MediaQueryParser.prototype = {
  55062. parse$0() {
  55063. return this.wrapSpanFormatException$1(new A.MediaQueryParser_parse_closure(this));
  55064. },
  55065. _mediaQuery$0() {
  55066. var conditions, conjunction, t1, identifier1, identifier2, type, modifier, _this = this, _s3_ = "and", _null = null;
  55067. if (_this.scanner.peekChar$0() === 40) {
  55068. conditions = A._setArrayType([_this._mediaInParens$0()], type$.JSArray_String);
  55069. _this.whitespace$0();
  55070. if (_this.scanIdentifier$1(_s3_)) {
  55071. _this.expectWhitespace$0();
  55072. B.JSArray_methods.addAll$1(conditions, _this._mediaLogicSequence$1(_s3_));
  55073. conjunction = true;
  55074. } else {
  55075. t1 = _this.scanIdentifier$1("or");
  55076. if (t1) {
  55077. _this.expectWhitespace$0();
  55078. B.JSArray_methods.addAll$1(conditions, _this._mediaLogicSequence$1("or"));
  55079. }
  55080. conjunction = !t1;
  55081. }
  55082. return A.CssMediaQuery$condition(conditions, conjunction);
  55083. }
  55084. identifier1 = _this.identifier$0();
  55085. if (A.equalsIgnoreCase(identifier1, "not")) {
  55086. _this.expectWhitespace$0();
  55087. if (!_this.lookingAtIdentifier$0())
  55088. return A.CssMediaQuery$condition(A._setArrayType(["(not " + _this._mediaInParens$0() + ")"], type$.JSArray_String), _null);
  55089. }
  55090. _this.whitespace$0();
  55091. if (!_this.lookingAtIdentifier$0())
  55092. return A.CssMediaQuery$type(identifier1, _null, _null);
  55093. identifier2 = _this.identifier$0();
  55094. if (A.equalsIgnoreCase(identifier2, _s3_)) {
  55095. _this.expectWhitespace$0();
  55096. type = identifier1;
  55097. modifier = _null;
  55098. } else {
  55099. _this.whitespace$0();
  55100. if (_this.scanIdentifier$1(_s3_))
  55101. _this.expectWhitespace$0();
  55102. else
  55103. return A.CssMediaQuery$type(identifier2, _null, identifier1);
  55104. type = identifier2;
  55105. modifier = identifier1;
  55106. }
  55107. if (_this.scanIdentifier$1("not")) {
  55108. _this.expectWhitespace$0();
  55109. return A.CssMediaQuery$type(type, A._setArrayType(["(not " + _this._mediaInParens$0() + ")"], type$.JSArray_String), modifier);
  55110. }
  55111. return A.CssMediaQuery$type(type, _this._mediaLogicSequence$1(_s3_), modifier);
  55112. },
  55113. _mediaLogicSequence$1(operator) {
  55114. var t1, t2, _this = this,
  55115. result = A._setArrayType([], type$.JSArray_String);
  55116. for (t1 = _this.scanner; true;) {
  55117. t1.expectChar$2$name(40, "media condition in parentheses");
  55118. t2 = _this.declarationValue$0();
  55119. t1.expectChar$1(41);
  55120. result.push("(" + t2 + ")");
  55121. _this.whitespace$0();
  55122. if (!_this.scanIdentifier$1(operator))
  55123. return result;
  55124. _this.expectWhitespace$0();
  55125. }
  55126. },
  55127. _mediaInParens$0() {
  55128. var t2,
  55129. t1 = this.scanner;
  55130. t1.expectChar$2$name(40, "media condition in parentheses");
  55131. t2 = this.declarationValue$0();
  55132. t1.expectChar$1(41);
  55133. return "(" + t2 + ")";
  55134. }
  55135. };
  55136. A.MediaQueryParser_parse_closure.prototype = {
  55137. call$0() {
  55138. var queries = A._setArrayType([], type$.JSArray_CssMediaQuery),
  55139. t1 = this.$this,
  55140. t2 = t1.scanner;
  55141. do {
  55142. t1.whitespace$0();
  55143. queries.push(t1._mediaQuery$0());
  55144. t1.whitespace$0();
  55145. } while (t2.scanChar$1(44));
  55146. t2.expectDone$0();
  55147. return queries;
  55148. },
  55149. $signature: 509
  55150. };
  55151. A.Parser.prototype = {
  55152. _parseIdentifier$0() {
  55153. return this.wrapSpanFormatException$1(new A.Parser__parseIdentifier_closure(this));
  55154. },
  55155. _isVariableDeclarationLike$0() {
  55156. var _this = this,
  55157. t1 = _this.scanner;
  55158. if (!t1.scanChar$1(36))
  55159. return false;
  55160. if (!_this.lookingAtIdentifier$0())
  55161. return false;
  55162. _this.identifier$0();
  55163. _this.whitespace$0();
  55164. return t1.scanChar$1(58);
  55165. },
  55166. whitespace$0() {
  55167. do
  55168. this.whitespaceWithoutComments$0();
  55169. while (this.scanComment$0());
  55170. },
  55171. whitespaceWithoutComments$0() {
  55172. var t3,
  55173. t1 = this.scanner,
  55174. t2 = t1.string.length;
  55175. while (true) {
  55176. if (t1._string_scanner$_position !== t2) {
  55177. t3 = t1.peekChar$0();
  55178. t3 = t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12;
  55179. } else
  55180. t3 = false;
  55181. if (!t3)
  55182. break;
  55183. t1.readChar$0();
  55184. }
  55185. },
  55186. spaces$0() {
  55187. var t3,
  55188. t1 = this.scanner,
  55189. t2 = t1.string.length;
  55190. while (true) {
  55191. if (t1._string_scanner$_position !== t2) {
  55192. t3 = t1.peekChar$0();
  55193. t3 = t3 === 32 || t3 === 9;
  55194. } else
  55195. t3 = false;
  55196. if (!t3)
  55197. break;
  55198. t1.readChar$0();
  55199. }
  55200. },
  55201. scanComment$0() {
  55202. var _0_0,
  55203. t1 = this.scanner;
  55204. if (t1.peekChar$0() !== 47)
  55205. return false;
  55206. _0_0 = t1.peekChar$1(1);
  55207. if (47 === _0_0)
  55208. return this.silentComment$0();
  55209. if (42 === _0_0) {
  55210. this.loudComment$0();
  55211. return true;
  55212. }
  55213. return false;
  55214. },
  55215. expectWhitespace$0() {
  55216. var t2, t3,
  55217. t1 = this.scanner;
  55218. if (t1._string_scanner$_position !== t1.string.length) {
  55219. t2 = t1.peekChar$0();
  55220. t3 = !(t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12 || this.scanComment$0());
  55221. t2 = t3;
  55222. } else
  55223. t2 = true;
  55224. if (t2)
  55225. t1.error$1(0, "Expected whitespace.");
  55226. this.whitespace$0();
  55227. },
  55228. silentComment$0() {
  55229. var t2, t3,
  55230. t1 = this.scanner;
  55231. t1.expect$1("//");
  55232. t2 = t1.string.length;
  55233. while (true) {
  55234. if (t1._string_scanner$_position !== t2) {
  55235. t3 = t1.peekChar$0();
  55236. t3 = !(t3 === 10 || t3 === 13 || t3 === 12);
  55237. } else
  55238. t3 = false;
  55239. if (!t3)
  55240. break;
  55241. t1.readChar$0();
  55242. }
  55243. return true;
  55244. },
  55245. loudComment$0() {
  55246. var next,
  55247. t1 = this.scanner;
  55248. t1.expect$1("/*");
  55249. for (; true;) {
  55250. if (t1.readChar$0() !== 42)
  55251. continue;
  55252. do
  55253. next = t1.readChar$0();
  55254. while (next === 42);
  55255. if (next === 47)
  55256. break;
  55257. }
  55258. },
  55259. identifier$2$normalize$unit(normalize, unit) {
  55260. var t2, _0_0, _this = this,
  55261. _s20_ = "Expected identifier.",
  55262. text = new A.StringBuffer(""),
  55263. t1 = _this.scanner;
  55264. if (t1.scanChar$1(45)) {
  55265. t2 = text._contents = "" + A.Primitives_stringFromCharCode(45);
  55266. if (t1.scanChar$1(45)) {
  55267. text._contents = t2 + A.Primitives_stringFromCharCode(45);
  55268. _this._identifierBody$3$normalize$unit(text, normalize, unit);
  55269. t1 = text._contents;
  55270. return t1.charCodeAt(0) == 0 ? t1 : t1;
  55271. }
  55272. } else
  55273. t2 = "";
  55274. $label0$0: {
  55275. _0_0 = t1.peekChar$0();
  55276. if (_0_0 == null)
  55277. t1.error$1(0, _s20_);
  55278. if (95 === _0_0 && normalize) {
  55279. t1.readChar$0();
  55280. text._contents = t2 + A.Primitives_stringFromCharCode(45);
  55281. break $label0$0;
  55282. }
  55283. if (_0_0 === 95 || A.CharacterExtension_get_isAlphabetic(_0_0) || _0_0 >= 128) {
  55284. text._contents = t2 + A.Primitives_stringFromCharCode(t1.readChar$0());
  55285. break $label0$0;
  55286. }
  55287. if (92 === _0_0) {
  55288. text._contents = t2 + _this.escape$1$identifierStart(true);
  55289. break $label0$0;
  55290. }
  55291. t1.error$1(0, _s20_);
  55292. }
  55293. _this._identifierBody$3$normalize$unit(text, normalize, unit);
  55294. t1 = text._contents;
  55295. return t1.charCodeAt(0) == 0 ? t1 : t1;
  55296. },
  55297. identifier$0() {
  55298. return this.identifier$2$normalize$unit(false, false);
  55299. },
  55300. identifier$1$normalize(normalize) {
  55301. return this.identifier$2$normalize$unit(normalize, false);
  55302. },
  55303. identifier$1$unit(unit) {
  55304. return this.identifier$2$normalize$unit(false, unit);
  55305. },
  55306. _identifierBody$3$normalize$unit(text, normalize, unit) {
  55307. var t1, _1_0, _0_0, t2;
  55308. for (t1 = this.scanner; true;) {
  55309. _1_0 = t1.peekChar$0();
  55310. if (_1_0 == null)
  55311. break;
  55312. if (45 === _1_0 && unit) {
  55313. _0_0 = t1.peekChar$1(1);
  55314. if (46 !== _0_0)
  55315. t2 = A._isInt(_0_0) && _0_0 >= 48 && _0_0 <= 57;
  55316. else
  55317. t2 = true;
  55318. if (t2)
  55319. break;
  55320. t2 = A.Primitives_stringFromCharCode(t1.readChar$0());
  55321. text._contents += t2;
  55322. continue;
  55323. }
  55324. if (95 === _1_0 && normalize) {
  55325. t1.readChar$0();
  55326. t2 = A.Primitives_stringFromCharCode(45);
  55327. text._contents += t2;
  55328. continue;
  55329. }
  55330. if (_1_0 !== 95) {
  55331. if (!(_1_0 >= 97 && _1_0 <= 122))
  55332. t2 = _1_0 >= 65 && _1_0 <= 90;
  55333. else
  55334. t2 = true;
  55335. t2 = t2 || _1_0 >= 128;
  55336. } else
  55337. t2 = true;
  55338. if (!t2)
  55339. t2 = _1_0 >= 48 && _1_0 <= 57 || _1_0 === 45;
  55340. else
  55341. t2 = true;
  55342. if (t2) {
  55343. t2 = A.Primitives_stringFromCharCode(t1.readChar$0());
  55344. text._contents += t2;
  55345. continue;
  55346. }
  55347. if (92 === _1_0) {
  55348. t2 = this.escape$0();
  55349. text._contents += t2;
  55350. continue;
  55351. }
  55352. break;
  55353. }
  55354. },
  55355. _identifierBody$1(text) {
  55356. return this._identifierBody$3$normalize$unit(text, false, false);
  55357. },
  55358. string$0() {
  55359. var buffer, _0_0, t2,
  55360. t1 = this.scanner,
  55361. quote = t1.readChar$0();
  55362. if (quote !== 39 && quote !== 34)
  55363. t1.error$2$position(0, "Expected string.", t1._string_scanner$_position - 1);
  55364. buffer = new A.StringBuffer("");
  55365. for (; true;) {
  55366. _0_0 = t1.peekChar$0();
  55367. if (_0_0 === quote) {
  55368. t1.readChar$0();
  55369. break;
  55370. }
  55371. if (_0_0 == null || _0_0 === 10 || _0_0 === 13 || _0_0 === 12)
  55372. t1.error$1(0, "Expected " + A.Primitives_stringFromCharCode(quote) + ".");
  55373. if (92 === _0_0) {
  55374. t2 = t1.peekChar$1(1);
  55375. if (t2 === 10 || t2 === 13 || t2 === 12) {
  55376. t1.readChar$0();
  55377. t1.readChar$0();
  55378. } else {
  55379. t2 = A.Primitives_stringFromCharCode(A.consumeEscapedCharacter(t1));
  55380. buffer._contents += t2;
  55381. }
  55382. continue;
  55383. }
  55384. t2 = A.Primitives_stringFromCharCode(t1.readChar$0());
  55385. buffer._contents += t2;
  55386. }
  55387. t1 = buffer._contents;
  55388. return t1.charCodeAt(0) == 0 ? t1 : t1;
  55389. },
  55390. declarationValue$1$allowEmpty(allowEmpty) {
  55391. var t1, t2, wroteNewline, next, t3, start, end, _0_0, _this = this,
  55392. buffer = new A.StringBuffer(""),
  55393. brackets = A._setArrayType([], type$.JSArray_int);
  55394. for (t1 = _this.scanner, t2 = _this.get$string(), wroteNewline = false; true;) {
  55395. next = t1.peekChar$0();
  55396. if (next == null)
  55397. break;
  55398. if (92 === next) {
  55399. t3 = _this.escape$1$identifierStart(true);
  55400. buffer._contents += t3;
  55401. wroteNewline = false;
  55402. continue;
  55403. }
  55404. if (34 === next || 39 === next) {
  55405. start = t1._string_scanner$_position;
  55406. t2.call$0();
  55407. end = t1._string_scanner$_position;
  55408. buffer._contents += B.JSString_methods.substring$2(t1.string, start, end);
  55409. wroteNewline = false;
  55410. continue;
  55411. }
  55412. if (47 === next) {
  55413. if (t1.peekChar$1(1) === 42) {
  55414. t3 = _this.get$loudComment();
  55415. start = t1._string_scanner$_position;
  55416. t3.call$0();
  55417. end = t1._string_scanner$_position;
  55418. buffer._contents += B.JSString_methods.substring$2(t1.string, start, end);
  55419. } else {
  55420. t3 = A.Primitives_stringFromCharCode(t1.readChar$0());
  55421. buffer._contents += t3;
  55422. }
  55423. wroteNewline = false;
  55424. continue;
  55425. }
  55426. if (32 === next || 9 === next) {
  55427. if (!wroteNewline) {
  55428. t3 = t1.peekChar$1(1);
  55429. t3 = !(t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12);
  55430. } else
  55431. t3 = true;
  55432. if (t3) {
  55433. t3 = A.Primitives_stringFromCharCode(32);
  55434. buffer._contents += t3;
  55435. }
  55436. t1.readChar$0();
  55437. continue;
  55438. }
  55439. if (10 === next || 13 === next || 12 === next) {
  55440. t3 = t1.peekChar$1(-1);
  55441. if (!(t3 === 10 || t3 === 13 || t3 === 12))
  55442. buffer._contents += "\n";
  55443. t1.readChar$0();
  55444. wroteNewline = true;
  55445. continue;
  55446. }
  55447. if (40 === next || 123 === next || 91 === next) {
  55448. t3 = A.Primitives_stringFromCharCode(next);
  55449. buffer._contents += t3;
  55450. brackets.push(A.opposite(t1.readChar$0()));
  55451. wroteNewline = false;
  55452. continue;
  55453. }
  55454. if (41 === next || 125 === next || 93 === next) {
  55455. if (brackets.length === 0)
  55456. break;
  55457. t3 = A.Primitives_stringFromCharCode(next);
  55458. buffer._contents += t3;
  55459. t1.expectChar$1(brackets.pop());
  55460. wroteNewline = false;
  55461. continue;
  55462. }
  55463. if (59 === next) {
  55464. if (brackets.length === 0)
  55465. break;
  55466. t3 = A.Primitives_stringFromCharCode(t1.readChar$0());
  55467. buffer._contents += t3;
  55468. continue;
  55469. }
  55470. if (117 === next || 85 === next) {
  55471. _0_0 = _this.tryUrl$0();
  55472. if (_0_0 != null)
  55473. buffer._contents += _0_0;
  55474. else {
  55475. t3 = A.Primitives_stringFromCharCode(t1.readChar$0());
  55476. buffer._contents += t3;
  55477. }
  55478. wroteNewline = false;
  55479. continue;
  55480. }
  55481. if (_this.lookingAtIdentifier$0()) {
  55482. t3 = _this.identifier$0();
  55483. buffer._contents += t3;
  55484. } else {
  55485. t3 = A.Primitives_stringFromCharCode(t1.readChar$0());
  55486. buffer._contents += t3;
  55487. }
  55488. wroteNewline = false;
  55489. }
  55490. if (brackets.length !== 0)
  55491. t1.expectChar$1(B.JSArray_methods.get$last(brackets));
  55492. if (!allowEmpty && buffer._contents.length === 0)
  55493. t1.error$1(0, "Expected token.");
  55494. t1 = buffer._contents;
  55495. return t1.charCodeAt(0) == 0 ? t1 : t1;
  55496. },
  55497. declarationValue$0() {
  55498. return this.declarationValue$1$allowEmpty(false);
  55499. },
  55500. tryUrl$0() {
  55501. var buffer, _0_0, t2, _this = this,
  55502. t1 = _this.scanner,
  55503. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  55504. if (!_this.scanIdentifier$1("url"))
  55505. return null;
  55506. if (!t1.scanChar$1(40)) {
  55507. t1.set$state(start);
  55508. return null;
  55509. }
  55510. _this.whitespace$0();
  55511. buffer = new A.StringBuffer("");
  55512. buffer._contents = "" + "url(";
  55513. for (; true;) {
  55514. _0_0 = t1.peekChar$0();
  55515. if (_0_0 == null)
  55516. break;
  55517. if (92 === _0_0) {
  55518. t2 = _this.escape$0();
  55519. buffer._contents += t2;
  55520. continue;
  55521. }
  55522. if (37 !== _0_0)
  55523. if (38 !== _0_0)
  55524. if (35 !== _0_0)
  55525. t2 = _0_0 >= 42 && _0_0 <= 126 || _0_0 >= 128;
  55526. else
  55527. t2 = true;
  55528. else
  55529. t2 = true;
  55530. else
  55531. t2 = true;
  55532. if (t2) {
  55533. t2 = A.Primitives_stringFromCharCode(t1.readChar$0());
  55534. buffer._contents += t2;
  55535. continue;
  55536. }
  55537. if (_0_0 === 32 || _0_0 === 9 || _0_0 === 10 || _0_0 === 13 || _0_0 === 12) {
  55538. _this.whitespace$0();
  55539. if (t1.peekChar$0() !== 41)
  55540. break;
  55541. continue;
  55542. }
  55543. if (41 === _0_0) {
  55544. t2 = A.Primitives_stringFromCharCode(t1.readChar$0());
  55545. t2 = buffer._contents += t2;
  55546. return t2.charCodeAt(0) == 0 ? t2 : t2;
  55547. }
  55548. break;
  55549. }
  55550. t1.set$state(start);
  55551. return null;
  55552. },
  55553. variableName$0() {
  55554. this.scanner.expectChar$1(36);
  55555. return this.identifier$1$normalize(true);
  55556. },
  55557. escape$1$identifierStart(identifierStart) {
  55558. var value, _0_0, i, next, t2, exception,
  55559. _s25_ = "Expected escape sequence.",
  55560. t1 = this.scanner,
  55561. start = t1._string_scanner$_position;
  55562. t1.expectChar$1(92);
  55563. value = 0;
  55564. $label0$1: {
  55565. _0_0 = t1.peekChar$0();
  55566. if (_0_0 == null)
  55567. t1.error$1(0, _s25_);
  55568. if (_0_0 === 10 || _0_0 === 13 || _0_0 === 12)
  55569. t1.error$1(0, _s25_);
  55570. if (A.CharacterExtension_get_isHex(_0_0)) {
  55571. for (i = 0; i < 6; ++i) {
  55572. next = t1.peekChar$0();
  55573. if (next != null) {
  55574. if (!(next >= 48 && next <= 57))
  55575. if (!(next >= 97 && next <= 102))
  55576. t2 = next >= 65 && next <= 70;
  55577. else
  55578. t2 = true;
  55579. else
  55580. t2 = true;
  55581. t2 = !t2;
  55582. } else
  55583. t2 = true;
  55584. if (t2)
  55585. break;
  55586. value *= 16;
  55587. value += A.asHex(t1.readChar$0());
  55588. }
  55589. this.scanCharIf$1(new A.Parser_escape_closure());
  55590. break $label0$1;
  55591. }
  55592. value = t1.readChar$0();
  55593. }
  55594. if (identifierStart) {
  55595. t2 = value;
  55596. t2 = t2 === 95 || A.CharacterExtension_get_isAlphabetic(t2) || t2 >= 128;
  55597. } else {
  55598. t2 = value;
  55599. if (!(t2 === 95 || A.CharacterExtension_get_isAlphabetic(t2) || t2 >= 128))
  55600. t2 = t2 >= 48 && t2 <= 57 || t2 === 45;
  55601. else
  55602. t2 = true;
  55603. }
  55604. if (t2)
  55605. try {
  55606. t2 = A.Primitives_stringFromCharCode(value);
  55607. return t2;
  55608. } catch (exception) {
  55609. if (type$.RangeError._is(A.unwrapException(exception)))
  55610. t1.error$3$length$position(0, "Invalid Unicode code point.", t1._string_scanner$_position - start, start);
  55611. else
  55612. throw exception;
  55613. }
  55614. else {
  55615. if (!(value <= 31))
  55616. if (!J.$eq$(value, 127))
  55617. if (identifierStart) {
  55618. t1 = value;
  55619. t1 = t1 >= 48 && t1 <= 57;
  55620. } else
  55621. t1 = false;
  55622. else
  55623. t1 = true;
  55624. else
  55625. t1 = true;
  55626. if (t1) {
  55627. t1 = "" + A.Primitives_stringFromCharCode(92);
  55628. if (value > 15)
  55629. t1 += A.Primitives_stringFromCharCode(A.hexCharFor(B.JSNumber_methods._shrOtherPositive$1(value, 4)));
  55630. t1 = t1 + A.Primitives_stringFromCharCode(A.hexCharFor(value & 15)) + A.Primitives_stringFromCharCode(32);
  55631. return t1.charCodeAt(0) == 0 ? t1 : t1;
  55632. } else
  55633. return A.String_String$fromCharCodes(A._setArrayType([92, value], type$.JSArray_int), 0, null);
  55634. }
  55635. },
  55636. escape$0() {
  55637. return this.escape$1$identifierStart(false);
  55638. },
  55639. scanCharIf$1(condition) {
  55640. var t1 = this.scanner;
  55641. if (!condition.call$1(t1.peekChar$0()))
  55642. return false;
  55643. t1.readChar$0();
  55644. return true;
  55645. },
  55646. scanIdentChar$2$caseSensitive(char, caseSensitive) {
  55647. var t3,
  55648. t1 = new A.Parser_scanIdentChar_matches(caseSensitive, char),
  55649. t2 = this.scanner,
  55650. _0_0 = t2.peekChar$0();
  55651. if (_0_0 != null) {
  55652. t3 = t1.call$1(_0_0);
  55653. t3 = t3;
  55654. } else
  55655. t3 = false;
  55656. if (t3) {
  55657. t2.readChar$0();
  55658. return true;
  55659. }
  55660. if (92 === _0_0) {
  55661. t3 = t2._string_scanner$_position;
  55662. if (t1.call$1(A.consumeEscapedCharacter(t2)))
  55663. return true;
  55664. t2.set$state(new A._SpanScannerState(t2, t3));
  55665. }
  55666. return false;
  55667. },
  55668. scanIdentChar$1(char) {
  55669. return this.scanIdentChar$2$caseSensitive(char, false);
  55670. },
  55671. expectIdentChar$1(letter) {
  55672. var t1;
  55673. if (this.scanIdentChar$2$caseSensitive(letter, false))
  55674. return;
  55675. t1 = this.scanner;
  55676. t1.error$2$position(0, 'Expected "' + A.Primitives_stringFromCharCode(letter) + '".', t1._string_scanner$_position);
  55677. },
  55678. lookingAtIdentifier$1($forward) {
  55679. var t1, _1_0, t2, _0_0;
  55680. if ($forward == null)
  55681. $forward = 0;
  55682. t1 = this.scanner;
  55683. _1_0 = t1.peekChar$1($forward);
  55684. $label0$0: {
  55685. if (A._isInt(_1_0))
  55686. t2 = _1_0 === 95 || A.CharacterExtension_get_isAlphabetic(_1_0) || _1_0 >= 128;
  55687. else
  55688. t2 = false;
  55689. if (t2 || 92 === _1_0) {
  55690. t1 = true;
  55691. break $label0$0;
  55692. }
  55693. if (45 === _1_0) {
  55694. _0_0 = t1.peekChar$1($forward + 1);
  55695. $label1$1: {
  55696. if (A._isInt(_0_0))
  55697. t1 = _0_0 === 95 || A.CharacterExtension_get_isAlphabetic(_0_0) || _0_0 >= 128;
  55698. else
  55699. t1 = false;
  55700. t1 = t1 || 92 === _0_0 || 45 === _0_0;
  55701. if (t1)
  55702. break $label1$1;
  55703. break $label1$1;
  55704. }
  55705. break $label0$0;
  55706. }
  55707. t1 = false;
  55708. break $label0$0;
  55709. }
  55710. return t1;
  55711. },
  55712. lookingAtIdentifier$0() {
  55713. return this.lookingAtIdentifier$1(null);
  55714. },
  55715. lookingAtIdentifierBody$0() {
  55716. var t1,
  55717. next = this.scanner.peekChar$0();
  55718. if (next != null) {
  55719. if (!(next === 95 || A.CharacterExtension_get_isAlphabetic(next) || next >= 128))
  55720. t1 = next >= 48 && next <= 57 || next === 45;
  55721. else
  55722. t1 = true;
  55723. t1 = t1 || next === 92;
  55724. } else
  55725. t1 = false;
  55726. return t1;
  55727. },
  55728. scanIdentifier$2$caseSensitive(text, caseSensitive) {
  55729. var t1, t2, _this = this;
  55730. if (!_this.lookingAtIdentifier$0())
  55731. return false;
  55732. t1 = _this.scanner;
  55733. t2 = t1._string_scanner$_position;
  55734. if (_this._consumeIdentifier$2(text, caseSensitive) && !_this.lookingAtIdentifierBody$0())
  55735. return true;
  55736. else {
  55737. t1.set$state(new A._SpanScannerState(t1, t2));
  55738. return false;
  55739. }
  55740. },
  55741. scanIdentifier$1(text) {
  55742. return this.scanIdentifier$2$caseSensitive(text, false);
  55743. },
  55744. _consumeIdentifier$2(text, caseSensitive) {
  55745. var t1, t2, t3;
  55746. 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();) {
  55747. t3 = t1.__internal$_current;
  55748. if (!this.scanIdentChar$2$caseSensitive(t3 == null ? t2._as(t3) : t3, caseSensitive))
  55749. return false;
  55750. }
  55751. return true;
  55752. },
  55753. expectIdentifier$2$name(text, $name) {
  55754. var t1, start, t2, t3, t4, t5, t6;
  55755. if ($name == null)
  55756. $name = '"' + text + '"';
  55757. t1 = this.scanner;
  55758. start = t1._string_scanner$_position;
  55759. 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();) {
  55760. t6 = t2.__internal$_current;
  55761. if (this.scanIdentChar$2$caseSensitive(t6 == null ? t3._as(t6) : t6, false))
  55762. continue;
  55763. t1.error$2$position(0, t5, start);
  55764. }
  55765. if (!this.lookingAtIdentifierBody$0())
  55766. return;
  55767. t1.error$2$position(0, t4, start);
  55768. },
  55769. expectIdentifier$1(text) {
  55770. return this.expectIdentifier$2$name(text, null);
  55771. },
  55772. rawText$1(consumer) {
  55773. var t1 = this.scanner,
  55774. start = t1._string_scanner$_position;
  55775. consumer.call$0();
  55776. return t1.substring$1(0, start);
  55777. },
  55778. spanFrom$1(state) {
  55779. var span = this.scanner.spanFrom$1(state);
  55780. return this._interpolationMap == null ? span : new A.LazyFileSpan(new A.Parser_spanFrom_closure(this, span));
  55781. },
  55782. error$3(_, message, span, trace) {
  55783. var exception = new A.StringScannerException(this.scanner.string, message, span);
  55784. if (trace == null)
  55785. throw A.wrapException(exception);
  55786. else
  55787. A.throwWithTrace(exception, this.get$error(this), trace);
  55788. },
  55789. error$2(_, message, span) {
  55790. return this.error$3(0, message, span, null);
  55791. },
  55792. withErrorMessage$1$2(message, callback) {
  55793. var error, stackTrace, t1, exception;
  55794. try {
  55795. t1 = callback.call$0();
  55796. return t1;
  55797. } catch (exception) {
  55798. t1 = A.unwrapException(exception);
  55799. if (type$.SourceSpanFormatException._is(t1)) {
  55800. error = t1;
  55801. stackTrace = A.getTraceFromException(exception);
  55802. t1 = J.get$span$z(error);
  55803. A.throwWithTrace(new A.SourceSpanFormatException(error.get$source(), message, t1), error, stackTrace);
  55804. } else
  55805. throw exception;
  55806. }
  55807. },
  55808. withErrorMessage$2(message, callback) {
  55809. return this.withErrorMessage$1$2(message, callback, type$.dynamic);
  55810. },
  55811. wrapSpanFormatException$1$1(callback) {
  55812. var error, stackTrace, map, error0, stackTrace0, span, error1, stackTrace1, span0, secondarySpans, t1, t2, span1, description, _0_0, t3, exception, t4, _this = this,
  55813. _s8_ = "expected";
  55814. try {
  55815. try {
  55816. t3 = callback.call$0();
  55817. return t3;
  55818. } catch (exception) {
  55819. t3 = A.unwrapException(exception);
  55820. if (type$.SourceSpanFormatException._is(t3)) {
  55821. error = t3;
  55822. stackTrace = A.getTraceFromException(exception);
  55823. map = _this._interpolationMap;
  55824. if (map == null)
  55825. throw exception;
  55826. A.throwWithTrace(map.mapException$1(error), error, stackTrace);
  55827. } else
  55828. throw exception;
  55829. }
  55830. } catch (exception) {
  55831. t3 = A.unwrapException(exception);
  55832. if (type$.SourceSpanFormatException._is(t3)) {
  55833. error0 = t3;
  55834. stackTrace0 = A.getTraceFromException(exception);
  55835. span = J.get$span$z(error0);
  55836. if (A.startsWithIgnoreCase(error0._span_exception$_message, _s8_))
  55837. span = _this._adjustExceptionSpan$1(span);
  55838. t1 = error0._span_exception$_message;
  55839. t2 = span;
  55840. A.throwWithTrace(new A.SassFormatException(B.Set_empty, t1, t2), error0, stackTrace0);
  55841. } else if (type$.MultiSourceSpanFormatException._is(t3)) {
  55842. error1 = t3;
  55843. stackTrace1 = A.getTraceFromException(exception);
  55844. span0 = J.get$span$z(error1);
  55845. t3 = type$.FileSpan;
  55846. t4 = type$.String;
  55847. secondarySpans = error1.get$secondarySpans().cast$2$0(0, t3, t4);
  55848. if (A.startsWithIgnoreCase(error1._span_exception$_message, _s8_)) {
  55849. span0 = _this._adjustExceptionSpan$1(span0);
  55850. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t3, t4);
  55851. for (t3 = A.MapExtensions_get_pairs(secondarySpans, t3, t4), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  55852. t2 = t3.get$current(t3);
  55853. span1 = null;
  55854. description = null;
  55855. _0_0 = t2;
  55856. span1 = _0_0._0;
  55857. description = _0_0._1;
  55858. J.$indexSet$ax(t1, _this._adjustExceptionSpan$1(span1), description);
  55859. }
  55860. secondarySpans = t1;
  55861. }
  55862. A.throwWithTrace(A.MultiSpanSassFormatException$(error1._span_exception$_message, span0, error1.get$primaryLabel(), secondarySpans, null), error1, stackTrace1);
  55863. } else
  55864. throw exception;
  55865. }
  55866. },
  55867. wrapSpanFormatException$1(callback) {
  55868. return this.wrapSpanFormatException$1$1(callback, type$.dynamic);
  55869. },
  55870. _adjustExceptionSpan$1(span) {
  55871. var start, t1;
  55872. if (span.get$length(span) > 0)
  55873. return span;
  55874. start = this._firstNewlineBefore$1(span.get$start(span));
  55875. if (start.$eq(0, span.get$start(span)))
  55876. t1 = span;
  55877. else {
  55878. t1 = start.offset;
  55879. t1 = A._FileSpan$(start.file, t1, t1);
  55880. }
  55881. return t1;
  55882. },
  55883. _firstNewlineBefore$1($location) {
  55884. var lastNewline, codeUnit,
  55885. t1 = $location.file,
  55886. t2 = $location.offset,
  55887. text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1._decodedChars, 0, t2), 0, null),
  55888. index = t2 - 1;
  55889. for (lastNewline = null; index >= 0;) {
  55890. codeUnit = text.charCodeAt(index);
  55891. if (!(codeUnit === 32 || codeUnit === 9 || codeUnit === 10 || codeUnit === 13 || codeUnit === 12)) {
  55892. if (lastNewline == null)
  55893. t1 = $location;
  55894. else {
  55895. t2 = new A.FileLocation(t1, lastNewline);
  55896. t2.FileLocation$_$2(t1, lastNewline);
  55897. t1 = t2;
  55898. }
  55899. return t1;
  55900. }
  55901. if (codeUnit === 10 || codeUnit === 13 || codeUnit === 12)
  55902. lastNewline = index;
  55903. --index;
  55904. }
  55905. return $location;
  55906. }
  55907. };
  55908. A.Parser__parseIdentifier_closure.prototype = {
  55909. call$0() {
  55910. var t1 = this.$this,
  55911. result = t1.identifier$0();
  55912. t1.scanner.expectDone$0();
  55913. return result;
  55914. },
  55915. $signature: 25
  55916. };
  55917. A.Parser_escape_closure.prototype = {
  55918. call$1(char) {
  55919. return char === 32 || char === 9 || char === 10 || char === 13 || char === 12;
  55920. },
  55921. $signature: 28
  55922. };
  55923. A.Parser_scanIdentChar_matches.prototype = {
  55924. call$1(actual) {
  55925. var t1 = this.char;
  55926. return this.caseSensitive ? actual === t1 : A.characterEqualsIgnoreCase(t1, actual);
  55927. },
  55928. $signature: 45
  55929. };
  55930. A.Parser_spanFrom_closure.prototype = {
  55931. call$0() {
  55932. return this.$this._interpolationMap.mapSpan$1(this.span);
  55933. },
  55934. $signature: 26
  55935. };
  55936. A.SassParser.prototype = {
  55937. get$currentIndentation() {
  55938. return this._currentIndentation;
  55939. },
  55940. get$indented() {
  55941. return true;
  55942. },
  55943. styleRuleSelector$0() {
  55944. var t4,
  55945. t1 = this.scanner,
  55946. t2 = t1._string_scanner$_position,
  55947. t3 = new A.StringBuffer(""),
  55948. buffer = new A.InterpolationBuffer(t3, A._setArrayType([], type$.JSArray_Object));
  55949. do {
  55950. buffer.addInterpolation$1(this.almostAnyValue$1$omitComments(true));
  55951. t4 = A.Primitives_stringFromCharCode(10);
  55952. t4 = t3._contents += t4;
  55953. } 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()));
  55954. return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  55955. },
  55956. expectStatementSeparator$1($name) {
  55957. var t1, _this = this;
  55958. if (!_this.atEndOfStatement$0())
  55959. _this._expectNewline$0();
  55960. if (_this._peekIndentation$0() <= _this._currentIndentation)
  55961. return;
  55962. t1 = $name == null ? "here" : "beneath a " + $name;
  55963. _this.scanner.error$2$position(0, "Nothing may be indented " + t1 + ".", _this._nextIndentationEnd.position);
  55964. },
  55965. expectStatementSeparator$0() {
  55966. return this.expectStatementSeparator$1(null);
  55967. },
  55968. atEndOfStatement$0() {
  55969. var t1 = this.scanner.peekChar$0();
  55970. if (t1 == null)
  55971. t1 = null;
  55972. else
  55973. t1 = t1 === 10 || t1 === 13 || t1 === 12;
  55974. return t1 !== false;
  55975. },
  55976. lookingAtChildren$0() {
  55977. return this.atEndOfStatement$0() && this._peekIndentation$0() > this._currentIndentation;
  55978. },
  55979. importArgument$0() {
  55980. var url, span, innerError, stackTrace, t1, _0_0, start, next, t2, exception, _this = this;
  55981. $label0$0: {
  55982. t1 = _this.scanner;
  55983. _0_0 = t1.peekChar$0();
  55984. if (117 === _0_0 || 85 === _0_0) {
  55985. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  55986. if (_this.scanIdentifier$1("url"))
  55987. if (t1.scanChar$1(40)) {
  55988. t1.set$state(start);
  55989. return _this.super$StylesheetParser$importArgument();
  55990. } else
  55991. t1.set$state(start);
  55992. break $label0$0;
  55993. }
  55994. if (39 === _0_0 || 34 === _0_0)
  55995. return _this.super$StylesheetParser$importArgument();
  55996. }
  55997. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  55998. next = t1.peekChar$0();
  55999. while (true) {
  56000. if (next != null)
  56001. if (next !== 44)
  56002. if (next !== 59)
  56003. t2 = !(next === 10 || next === 13 || next === 12);
  56004. else
  56005. t2 = false;
  56006. else
  56007. t2 = false;
  56008. else
  56009. t2 = false;
  56010. if (!t2)
  56011. break;
  56012. t1.readChar$0();
  56013. next = t1.peekChar$0();
  56014. }
  56015. url = t1.substring$1(0, start.position);
  56016. span = t1.spanFrom$1(start);
  56017. if (_this.isPlainImportUrl$1(url))
  56018. return new A.StaticImport(A.Interpolation$(A._setArrayType([A.serializeValue(new A.SassString(url, true), true, true)], type$.JSArray_Object), span), null, span);
  56019. else
  56020. try {
  56021. t1 = _this.parseImportUrl$1(url);
  56022. return new A.DynamicImport(t1, span);
  56023. } catch (exception) {
  56024. t1 = A.unwrapException(exception);
  56025. if (type$.FormatException._is(t1)) {
  56026. innerError = t1;
  56027. stackTrace = A.getTraceFromException(exception);
  56028. _this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), span, stackTrace);
  56029. } else
  56030. throw exception;
  56031. }
  56032. },
  56033. scanElse$1(ifIndentation) {
  56034. var t1, t2, startIndentation, startNextIndentation, startNextIndentationEnd, _this = this;
  56035. if (_this._peekIndentation$0() !== ifIndentation)
  56036. return false;
  56037. t1 = _this.scanner;
  56038. t2 = t1._string_scanner$_position;
  56039. startIndentation = _this._currentIndentation;
  56040. startNextIndentation = _this._nextIndentation;
  56041. startNextIndentationEnd = _this._nextIndentationEnd;
  56042. _this._readIndentation$0();
  56043. if (t1.scanChar$1(64) && _this.scanIdentifier$1("else"))
  56044. return true;
  56045. t1.set$state(new A._SpanScannerState(t1, t2));
  56046. _this._currentIndentation = startIndentation;
  56047. _this._nextIndentation = startNextIndentation;
  56048. _this._nextIndentationEnd = startNextIndentationEnd;
  56049. return false;
  56050. },
  56051. children$1(_, child) {
  56052. var children = A._setArrayType([], type$.JSArray_Statement);
  56053. this._whileIndentedLower$1(new A.SassParser_children_closure(this, child, children));
  56054. return children;
  56055. },
  56056. statements$1(statement) {
  56057. var statements, t2, _1_0,
  56058. t1 = this.scanner,
  56059. _0_0 = t1.peekChar$0();
  56060. if (9 === _0_0 || 32 === _0_0)
  56061. t1.error$3$length$position(0, string$.Indent, t1._string_scanner$_position, 0);
  56062. statements = A._setArrayType([], type$.JSArray_Statement);
  56063. for (t2 = t1.string.length; t1._string_scanner$_position !== t2;) {
  56064. _1_0 = this._child$1(statement);
  56065. if (_1_0 != null)
  56066. statements.push(_1_0);
  56067. this._readIndentation$0();
  56068. }
  56069. return statements;
  56070. },
  56071. _child$1(child) {
  56072. var _0_0, _this = this,
  56073. t1 = _this.scanner,
  56074. _1_0 = t1.peekChar$0();
  56075. $label0$0: {
  56076. if (13 === _1_0 || 10 === _1_0 || 12 === _1_0) {
  56077. t1 = null;
  56078. break $label0$0;
  56079. }
  56080. if (36 === _1_0) {
  56081. t1 = _this.variableDeclarationWithoutNamespace$0();
  56082. break $label0$0;
  56083. }
  56084. if (47 === _1_0) {
  56085. _0_0 = t1.peekChar$1(1);
  56086. $label1$1: {
  56087. if (47 === _0_0) {
  56088. t1 = _this._silentComment$0();
  56089. break $label1$1;
  56090. }
  56091. if (42 === _0_0) {
  56092. t1 = _this._loudComment$0();
  56093. break $label1$1;
  56094. }
  56095. t1 = child.call$0();
  56096. break $label1$1;
  56097. }
  56098. break $label0$0;
  56099. }
  56100. t1 = child.call$0();
  56101. break $label0$0;
  56102. }
  56103. return t1;
  56104. },
  56105. _silentComment$0() {
  56106. var buffer, parentIndentation, t3, t4, t5, commentPrefix, i, t6, i0, t7, _this = this,
  56107. t1 = _this.scanner,
  56108. t2 = t1._string_scanner$_position;
  56109. t1.expect$1("//");
  56110. buffer = new A.StringBuffer("");
  56111. parentIndentation = _this._currentIndentation;
  56112. t3 = t1.string.length;
  56113. t4 = 1 + parentIndentation;
  56114. t5 = 2 + parentIndentation;
  56115. $label0$0:
  56116. do {
  56117. commentPrefix = t1.scanChar$1(47) ? "///" : "//";
  56118. for (i = commentPrefix.length; true;) {
  56119. t6 = buffer._contents += commentPrefix;
  56120. for (i0 = i; i0 < _this._currentIndentation - parentIndentation; ++i0) {
  56121. t6 += A.Primitives_stringFromCharCode(32);
  56122. buffer._contents = t6;
  56123. }
  56124. while (true) {
  56125. if (t1._string_scanner$_position !== t3) {
  56126. t7 = t1.peekChar$0();
  56127. t7 = !(t7 === 10 || t7 === 13 || t7 === 12);
  56128. } else
  56129. t7 = false;
  56130. if (!t7)
  56131. break;
  56132. t6 += A.Primitives_stringFromCharCode(t1.readChar$0());
  56133. buffer._contents = t6;
  56134. }
  56135. buffer._contents = t6 + "\n";
  56136. if (_this._peekIndentation$0() < parentIndentation)
  56137. break $label0$0;
  56138. if (_this._peekIndentation$0() === parentIndentation) {
  56139. if (t1.peekChar$1(t4) === 47 && t1.peekChar$1(t5) === 47)
  56140. _this._readIndentation$0();
  56141. break;
  56142. }
  56143. _this._readIndentation$0();
  56144. }
  56145. } while (t1.scan$1("//"));
  56146. t3 = buffer._contents;
  56147. return _this.lastSilentComment = new A.SilentComment(t3.charCodeAt(0) == 0 ? t3 : t3, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  56148. },
  56149. _loudComment$0() {
  56150. var t3, t4, buffer, parentIndentation, t5, t6, first, beginningOfComment, t7, end, i, _0_0, _this = this,
  56151. t1 = _this.scanner,
  56152. t2 = t1._string_scanner$_position;
  56153. t1.expect$1("/*");
  56154. t3 = new A.StringBuffer("");
  56155. t4 = A._setArrayType([], type$.JSArray_Object);
  56156. buffer = new A.InterpolationBuffer(t3, t4);
  56157. t3._contents = "" + "/*";
  56158. parentIndentation = _this._currentIndentation;
  56159. for (t5 = t1.string, t6 = t5.length, first = true; true; first = false) {
  56160. if (first) {
  56161. beginningOfComment = t1._string_scanner$_position;
  56162. _this.spaces$0();
  56163. t7 = t1.peekChar$0();
  56164. if (t7 === 10 || t7 === 13 || t7 === 12) {
  56165. _this._readIndentation$0();
  56166. t7 = A.Primitives_stringFromCharCode(32);
  56167. t3._contents += t7;
  56168. } else {
  56169. end = t1._string_scanner$_position;
  56170. t3._contents += B.JSString_methods.substring$2(t5, beginningOfComment, end);
  56171. }
  56172. } else {
  56173. t7 = t3._contents += "\n";
  56174. t3._contents = t7 + " * ";
  56175. }
  56176. for (i = 3; i < _this._currentIndentation - parentIndentation; ++i) {
  56177. t7 = A.Primitives_stringFromCharCode(32);
  56178. t3._contents += t7;
  56179. }
  56180. for (; t1._string_scanner$_position !== t6;) {
  56181. _0_0 = t1.peekChar$0();
  56182. if (10 === _0_0 || 13 === _0_0 || 12 === _0_0)
  56183. break;
  56184. if (35 === _0_0) {
  56185. if (t1.peekChar$1(1) === 123) {
  56186. t7 = _this.singleInterpolation$0();
  56187. buffer._flushText$0();
  56188. t4.push(t7);
  56189. } else {
  56190. t7 = A.Primitives_stringFromCharCode(t1.readChar$0());
  56191. t3._contents += t7;
  56192. }
  56193. continue;
  56194. }
  56195. t7 = A.Primitives_stringFromCharCode(t1.readChar$0());
  56196. t3._contents += t7;
  56197. }
  56198. if (_this._peekIndentation$0() <= parentIndentation)
  56199. break;
  56200. for (; _this._lookingAtDoubleNewline$0();) {
  56201. _this._expectNewline$0();
  56202. t7 = t3._contents += "\n";
  56203. t3._contents = t7 + " *";
  56204. }
  56205. _this._readIndentation$0();
  56206. }
  56207. t4 = t3._contents;
  56208. if (!B.JSString_methods.endsWith$1(B.JSString_methods.trimRight$0(t4.charCodeAt(0) == 0 ? t4 : t4), "*/"))
  56209. t3._contents += " */";
  56210. return new A.LoudComment(buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2))));
  56211. },
  56212. whitespaceWithoutComments$0() {
  56213. var t1, t2, next;
  56214. for (t1 = this.scanner, t2 = t1.string.length; t1._string_scanner$_position !== t2;) {
  56215. next = t1.peekChar$0();
  56216. if (next !== 9 && next !== 32)
  56217. break;
  56218. t1.readChar$0();
  56219. }
  56220. },
  56221. loudComment$0() {
  56222. var next,
  56223. t1 = this.scanner;
  56224. t1.expect$1("/*");
  56225. for (; true;) {
  56226. next = t1.readChar$0();
  56227. if (next === 10 || next === 13 || next === 12)
  56228. t1.error$1(0, "expected */.");
  56229. if (next !== 42)
  56230. continue;
  56231. do
  56232. next = t1.readChar$0();
  56233. while (next === 42);
  56234. if (next === 47)
  56235. break;
  56236. }
  56237. },
  56238. _expectNewline$0() {
  56239. var t1 = this.scanner,
  56240. _0_0 = t1.peekChar$0();
  56241. if (59 === _0_0)
  56242. t1.error$1(0, string$.semico);
  56243. if (13 === _0_0) {
  56244. t1.readChar$0();
  56245. if (t1.peekChar$0() === 10)
  56246. t1.readChar$0();
  56247. return;
  56248. }
  56249. if (10 === _0_0 || 12 === _0_0) {
  56250. t1.readChar$0();
  56251. return;
  56252. }
  56253. t1.error$1(0, "expected newline.");
  56254. },
  56255. _lookingAtDoubleNewline$0() {
  56256. var _0_0,
  56257. t1 = this.scanner,
  56258. _1_0 = t1.peekChar$0();
  56259. $label1$1: {
  56260. if (13 === _1_0) {
  56261. _0_0 = t1.peekChar$1(1);
  56262. $label0$0: {
  56263. if (10 === _0_0) {
  56264. t1 = t1.peekChar$1(2);
  56265. t1 = t1 === 10 || t1 === 13 || t1 === 12;
  56266. break $label0$0;
  56267. }
  56268. if (13 === _0_0 || 12 === _0_0) {
  56269. t1 = true;
  56270. break $label0$0;
  56271. }
  56272. t1 = false;
  56273. break $label0$0;
  56274. }
  56275. break $label1$1;
  56276. }
  56277. if (10 === _1_0 || 12 === _1_0) {
  56278. t1 = t1.peekChar$1(1);
  56279. t1 = t1 === 10 || t1 === 13 || t1 === 12;
  56280. break $label1$1;
  56281. }
  56282. t1 = false;
  56283. break $label1$1;
  56284. }
  56285. return t1;
  56286. },
  56287. _whileIndentedLower$1(body) {
  56288. var t1, t2, childIndentation, indentation, t3, t4, _this = this,
  56289. parentIndentation = _this._currentIndentation;
  56290. for (t1 = _this.scanner, t2 = t1._sourceFile, childIndentation = null; _this._peekIndentation$0() > parentIndentation;) {
  56291. indentation = _this._readIndentation$0();
  56292. if (childIndentation == null)
  56293. childIndentation = indentation;
  56294. if (childIndentation !== indentation) {
  56295. t3 = t1._string_scanner$_position;
  56296. t4 = t2.getColumn$1(t3);
  56297. t1.error$3$length$position(0, "Inconsistent indentation, expected " + childIndentation + " spaces.", t2.getColumn$1(t1._string_scanner$_position), t3 - t4);
  56298. }
  56299. body.call$0();
  56300. }
  56301. },
  56302. _readIndentation$0() {
  56303. var t1, _this = this,
  56304. currentIndentation = _this._nextIndentation;
  56305. if (currentIndentation == null)
  56306. currentIndentation = _this._nextIndentation = _this._peekIndentation$0();
  56307. _this._currentIndentation = currentIndentation;
  56308. t1 = _this._nextIndentationEnd;
  56309. t1.toString;
  56310. _this.scanner.set$state(t1);
  56311. _this._nextIndentationEnd = _this._nextIndentation = null;
  56312. return currentIndentation;
  56313. },
  56314. _peekIndentation$0() {
  56315. var t1, t2, t3, start, containsTab, containsSpace, nextIndentation, _1_0, t4, _this = this,
  56316. _0_0 = _this._nextIndentation;
  56317. if (_0_0 != null)
  56318. return _0_0;
  56319. t1 = _this.scanner;
  56320. t2 = t1._string_scanner$_position;
  56321. t3 = t1.string.length;
  56322. if (t2 === t3) {
  56323. _this._nextIndentation = 0;
  56324. _this._nextIndentationEnd = new A._SpanScannerState(t1, t2);
  56325. return 0;
  56326. }
  56327. start = new A._SpanScannerState(t1, t2);
  56328. if (!_this.scanCharIf$1(new A.SassParser__peekIndentation_closure()))
  56329. t1.error$2$position(0, "Expected newline.", t1._string_scanner$_position);
  56330. containsTab = A._Cell$();
  56331. containsSpace = A._Cell$();
  56332. nextIndentation = A._Cell$();
  56333. do {
  56334. containsSpace.__late_helper$_value = containsTab.__late_helper$_value = false;
  56335. nextIndentation.__late_helper$_value = 0;
  56336. for (; true;) {
  56337. $label0$0: {
  56338. _1_0 = t1.peekChar$0();
  56339. if (32 === _1_0) {
  56340. containsSpace.__late_helper$_value = true;
  56341. break $label0$0;
  56342. }
  56343. if (9 === _1_0) {
  56344. containsTab.__late_helper$_value = true;
  56345. break $label0$0;
  56346. }
  56347. break;
  56348. }
  56349. t2 = nextIndentation.__late_helper$_value;
  56350. if (t2 === nextIndentation)
  56351. A.throwExpression(A.LateError$localNI(""));
  56352. nextIndentation.__late_helper$_value = t2 + 1;
  56353. t1.readChar$0();
  56354. }
  56355. t2 = t1._string_scanner$_position;
  56356. if (t2 === t3) {
  56357. _this._nextIndentation = 0;
  56358. _this._nextIndentationEnd = new A._SpanScannerState(t1, t2);
  56359. t1.set$state(start);
  56360. return 0;
  56361. }
  56362. } while (_this.scanCharIf$1(new A.SassParser__peekIndentation_closure0()));
  56363. t2 = containsTab._readLocal$0();
  56364. t3 = containsSpace._readLocal$0();
  56365. if (t2) {
  56366. if (t3) {
  56367. t2 = t1._string_scanner$_position;
  56368. t3 = t1._sourceFile;
  56369. t4 = t3.getColumn$1(t2);
  56370. t1.error$3$length$position(0, "Tabs and spaces may not be mixed.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
  56371. } else if (_this._spaces === true) {
  56372. t2 = t1._string_scanner$_position;
  56373. t3 = t1._sourceFile;
  56374. t4 = t3.getColumn$1(t2);
  56375. t1.error$3$length$position(0, "Expected spaces, was tabs.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
  56376. }
  56377. } else if (t3 && _this._spaces === false) {
  56378. t2 = t1._string_scanner$_position;
  56379. t3 = t1._sourceFile;
  56380. t4 = t3.getColumn$1(t2);
  56381. t1.error$3$length$position(0, "Expected tabs, was spaces.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
  56382. }
  56383. _this._nextIndentation = nextIndentation._readLocal$0();
  56384. if (nextIndentation._readLocal$0() > 0)
  56385. if (_this._spaces == null)
  56386. _this._spaces = containsSpace._readLocal$0();
  56387. _this._nextIndentationEnd = new A._SpanScannerState(t1, t1._string_scanner$_position);
  56388. t1.set$state(start);
  56389. return nextIndentation._readLocal$0();
  56390. }
  56391. };
  56392. A.SassParser_styleRuleSelector_closure.prototype = {
  56393. call$1(char) {
  56394. return char === 10 || char === 13 || char === 12;
  56395. },
  56396. $signature: 28
  56397. };
  56398. A.SassParser_children_closure.prototype = {
  56399. call$0() {
  56400. var _0_0 = this.$this._child$1(this.child);
  56401. if (_0_0 != null)
  56402. this.children.push(_0_0);
  56403. },
  56404. $signature: 0
  56405. };
  56406. A.SassParser__peekIndentation_closure.prototype = {
  56407. call$1(char) {
  56408. return char === 10 || char === 13 || char === 12;
  56409. },
  56410. $signature: 28
  56411. };
  56412. A.SassParser__peekIndentation_closure0.prototype = {
  56413. call$1(char) {
  56414. return char === 10 || char === 13 || char === 12;
  56415. },
  56416. $signature: 28
  56417. };
  56418. A.ScssParser.prototype = {
  56419. get$indented() {
  56420. return false;
  56421. },
  56422. get$currentIndentation() {
  56423. return 0;
  56424. },
  56425. styleRuleSelector$0() {
  56426. return this.almostAnyValue$0();
  56427. },
  56428. expectStatementSeparator$1($name) {
  56429. var t1, _0_0;
  56430. this.whitespaceWithoutComments$0();
  56431. t1 = this.scanner;
  56432. if (t1._string_scanner$_position === t1.string.length)
  56433. return;
  56434. _0_0 = t1.peekChar$0();
  56435. if (59 === _0_0 || 125 === _0_0)
  56436. return;
  56437. t1.expectChar$1(59);
  56438. },
  56439. expectStatementSeparator$0() {
  56440. return this.expectStatementSeparator$1(null);
  56441. },
  56442. atEndOfStatement$0() {
  56443. var next = this.scanner.peekChar$0();
  56444. return next == null || next === 59 || next === 125 || next === 123;
  56445. },
  56446. lookingAtChildren$0() {
  56447. return this.scanner.peekChar$0() === 123;
  56448. },
  56449. scanElse$1(ifIndentation) {
  56450. var t3, _this = this,
  56451. t1 = _this.scanner,
  56452. t2 = t1._string_scanner$_position;
  56453. _this.whitespace$0();
  56454. t3 = t1._string_scanner$_position;
  56455. if (t1.scanChar$1(64)) {
  56456. if (_this.scanIdentifier$2$caseSensitive("else", true))
  56457. return true;
  56458. if (_this.scanIdentifier$2$caseSensitive("elseif", true)) {
  56459. A.WarnForDeprecation_warnForDeprecation(_this.logger, B.Deprecation_EJz, string$.x40elsei, t1.spanFrom$1(new A._SpanScannerState(t1, t3)), null);
  56460. t1.set$position(t1._string_scanner$_position - 2);
  56461. return true;
  56462. }
  56463. }
  56464. t1.set$state(new A._SpanScannerState(t1, t2));
  56465. return false;
  56466. },
  56467. children$1(_, child) {
  56468. var children, _this = this,
  56469. t1 = _this.scanner;
  56470. t1.expectChar$1(123);
  56471. _this.whitespaceWithoutComments$0();
  56472. children = A._setArrayType([], type$.JSArray_Statement);
  56473. for (; true;)
  56474. switch (t1.peekChar$0()) {
  56475. case 36:
  56476. children.push(_this.variableDeclarationWithoutNamespace$0());
  56477. break;
  56478. case 47:
  56479. switch (t1.peekChar$1(1)) {
  56480. case 47:
  56481. children.push(_this._scss$_silentComment$0());
  56482. _this.whitespaceWithoutComments$0();
  56483. break;
  56484. case 42:
  56485. children.push(_this._scss$_loudComment$0());
  56486. _this.whitespaceWithoutComments$0();
  56487. break;
  56488. default:
  56489. children.push(child.call$0());
  56490. }
  56491. break;
  56492. case 59:
  56493. t1.readChar$0();
  56494. _this.whitespaceWithoutComments$0();
  56495. break;
  56496. case 125:
  56497. t1.expectChar$1(125);
  56498. return children;
  56499. default:
  56500. children.push(child.call$0());
  56501. }
  56502. },
  56503. statements$1(statement) {
  56504. var t1, t2, _0_0, _1_0, _this = this,
  56505. statements = A._setArrayType([], type$.JSArray_Statement);
  56506. _this.whitespaceWithoutComments$0();
  56507. for (t1 = _this.scanner, t2 = t1.string.length; t1._string_scanner$_position !== t2;)
  56508. switch (t1.peekChar$0()) {
  56509. case 36:
  56510. statements.push(_this.variableDeclarationWithoutNamespace$0());
  56511. break;
  56512. case 47:
  56513. switch (t1.peekChar$1(1)) {
  56514. case 47:
  56515. statements.push(_this._scss$_silentComment$0());
  56516. _this.whitespaceWithoutComments$0();
  56517. break;
  56518. case 42:
  56519. statements.push(_this._scss$_loudComment$0());
  56520. _this.whitespaceWithoutComments$0();
  56521. break;
  56522. default:
  56523. _0_0 = statement.call$0();
  56524. if (_0_0 != null)
  56525. statements.push(_0_0);
  56526. }
  56527. break;
  56528. case 59:
  56529. t1.readChar$0();
  56530. _this.whitespaceWithoutComments$0();
  56531. break;
  56532. default:
  56533. _1_0 = statement.call$0();
  56534. if (_1_0 != null)
  56535. statements.push(_1_0);
  56536. }
  56537. return statements;
  56538. },
  56539. _scss$_silentComment$0() {
  56540. var t2, t3, _this = this,
  56541. t1 = _this.scanner,
  56542. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  56543. t1.expect$1("//");
  56544. t2 = t1.string.length;
  56545. do {
  56546. while (true) {
  56547. if (t1._string_scanner$_position !== t2) {
  56548. t3 = t1.readChar$0();
  56549. t3 = !(t3 === 10 || t3 === 13 || t3 === 12);
  56550. } else
  56551. t3 = false;
  56552. if (!t3)
  56553. break;
  56554. }
  56555. if (t1._string_scanner$_position === t2)
  56556. break;
  56557. _this.spaces$0();
  56558. } while (t1.scan$1("//"));
  56559. if (_this.get$plainCss())
  56560. _this.error$2(0, string$.Silent, t1.spanFrom$1(start));
  56561. return _this.lastSilentComment = new A.SilentComment(t1.substring$1(0, start.position), t1.spanFrom$1(start));
  56562. },
  56563. _scss$_loudComment$0() {
  56564. var t3, t4, buffer, t5, endPosition, t6, result,
  56565. t1 = this.scanner,
  56566. t2 = t1._string_scanner$_position;
  56567. t1.expect$1("/*");
  56568. t3 = new A.StringBuffer("");
  56569. t4 = A._setArrayType([], type$.JSArray_Object);
  56570. buffer = new A.InterpolationBuffer(t3, t4);
  56571. t3._contents = "" + "/*";
  56572. $label0$1:
  56573. for (; true;)
  56574. switch (t1.peekChar$0()) {
  56575. case 35:
  56576. if (t1.peekChar$1(1) === 123) {
  56577. t5 = this.singleInterpolation$0();
  56578. buffer._flushText$0();
  56579. t4.push(t5);
  56580. } else {
  56581. t5 = A.Primitives_stringFromCharCode(t1.readChar$0());
  56582. t3._contents += t5;
  56583. }
  56584. break;
  56585. case 42:
  56586. t5 = A.Primitives_stringFromCharCode(t1.readChar$0());
  56587. t3._contents += t5;
  56588. if (t1.peekChar$0() !== 47)
  56589. continue $label0$1;
  56590. t5 = A.Primitives_stringFromCharCode(t1.readChar$0());
  56591. t3._contents += t5;
  56592. endPosition = t1._string_scanner$_position;
  56593. t5 = t1._sourceFile;
  56594. t6 = new A._SpanScannerState(t1, t2).position;
  56595. t1 = new A._FileSpan(t5, t6, endPosition);
  56596. t1._FileSpan$3(t5, t6, endPosition);
  56597. t6 = type$.Object;
  56598. t5 = A.List_List$of(t4, true, t6);
  56599. t2 = t3._contents;
  56600. if (t2.length !== 0)
  56601. t5.push(t2.charCodeAt(0) == 0 ? t2 : t2);
  56602. result = A.List_List$from(t5, false, t6);
  56603. result.fixed$length = Array;
  56604. result.immutable$list = Array;
  56605. t2 = new A.Interpolation(result, t1);
  56606. t2.Interpolation$2(t5, t1);
  56607. return new A.LoudComment(t2);
  56608. case 13:
  56609. t1.readChar$0();
  56610. if (t1.peekChar$0() !== 10) {
  56611. t5 = A.Primitives_stringFromCharCode(10);
  56612. t3._contents += t5;
  56613. }
  56614. break;
  56615. case 12:
  56616. t1.readChar$0();
  56617. t5 = A.Primitives_stringFromCharCode(10);
  56618. t3._contents += t5;
  56619. break;
  56620. default:
  56621. t5 = A.Primitives_stringFromCharCode(t1.readChar$0());
  56622. t3._contents += t5;
  56623. }
  56624. }
  56625. };
  56626. A.SelectorParser.prototype = {
  56627. parse$0() {
  56628. return this.wrapSpanFormatException$1(new A.SelectorParser_parse_closure(this));
  56629. },
  56630. parseCompoundSelector$0() {
  56631. return this.wrapSpanFormatException$1(new A.SelectorParser_parseCompoundSelector_closure(this));
  56632. },
  56633. _selectorList$0() {
  56634. var t4, t5, lineBreak, _this = this,
  56635. t1 = _this.scanner,
  56636. t2 = t1._string_scanner$_position,
  56637. t3 = t1._sourceFile,
  56638. previousLine = t3.getLine$1(t2),
  56639. components = A._setArrayType([_this._complexSelector$0()], type$.JSArray_ComplexSelector);
  56640. _this.whitespace$0();
  56641. for (t4 = t1.string.length; t1.scanChar$1(44);) {
  56642. _this.whitespace$0();
  56643. if (t1.peekChar$0() === 44)
  56644. continue;
  56645. t5 = t1._string_scanner$_position;
  56646. if (t5 === t4)
  56647. break;
  56648. lineBreak = t3.getLine$1(t5) !== previousLine;
  56649. if (lineBreak)
  56650. previousLine = t3.getLine$1(t1._string_scanner$_position);
  56651. components.push(_this._complexSelector$1$lineBreak(lineBreak));
  56652. }
  56653. return A.SelectorList$(components, _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  56654. },
  56655. _complexSelector$1$lineBreak(lineBreak) {
  56656. var t4, lastCompound, initialCombinators, _0_0, t5, result, _this = this,
  56657. _s18_ = "expected selector.",
  56658. t1 = _this.scanner,
  56659. t2 = t1._string_scanner$_position,
  56660. componentStart = new A._SpanScannerState(t1, t2),
  56661. t3 = type$.JSArray_CssValue_Combinator,
  56662. combinators = A._setArrayType([], t3),
  56663. components = A._setArrayType([], type$.JSArray_ComplexSelectorComponent);
  56664. for (t4 = type$.CssValue_Combinator, lastCompound = null, initialCombinators = null; true;) {
  56665. _this.whitespace$0();
  56666. _0_0 = t1.peekChar$0();
  56667. if (43 === _0_0) {
  56668. t5 = t1._string_scanner$_position;
  56669. t1.readChar$0();
  56670. combinators.push(new A.CssValue(B.Combinator_gRV, _this.spanFrom$1(new A._SpanScannerState(t1, t5)), t4));
  56671. continue;
  56672. }
  56673. if (62 === _0_0) {
  56674. t5 = t1._string_scanner$_position;
  56675. t1.readChar$0();
  56676. combinators.push(new A.CssValue(B.Combinator_8I8, _this.spanFrom$1(new A._SpanScannerState(t1, t5)), t4));
  56677. continue;
  56678. }
  56679. if (126 === _0_0) {
  56680. t5 = t1._string_scanner$_position;
  56681. t1.readChar$0();
  56682. combinators.push(new A.CssValue(B.Combinator_y18, _this.spanFrom$1(new A._SpanScannerState(t1, t5)), t4));
  56683. continue;
  56684. }
  56685. if (_0_0 == null)
  56686. break;
  56687. if (91 !== _0_0)
  56688. if (46 !== _0_0)
  56689. if (35 !== _0_0)
  56690. if (37 !== _0_0)
  56691. if (58 !== _0_0)
  56692. if (38 !== _0_0)
  56693. if (42 !== _0_0)
  56694. if (124 !== _0_0)
  56695. t5 = _this.lookingAtIdentifier$0();
  56696. else
  56697. t5 = true;
  56698. else
  56699. t5 = true;
  56700. else
  56701. t5 = true;
  56702. else
  56703. t5 = true;
  56704. else
  56705. t5 = true;
  56706. else
  56707. t5 = true;
  56708. else
  56709. t5 = true;
  56710. else
  56711. t5 = true;
  56712. if (t5) {
  56713. if (lastCompound != null) {
  56714. t5 = _this.spanFrom$1(componentStart);
  56715. result = A.List_List$from(combinators, false, t4);
  56716. result.fixed$length = Array;
  56717. result.immutable$list = Array;
  56718. components.push(new A.ComplexSelectorComponent(lastCompound, result, t5));
  56719. } else if (combinators.length !== 0) {
  56720. componentStart = new A._SpanScannerState(t1, t1._string_scanner$_position);
  56721. initialCombinators = combinators;
  56722. }
  56723. lastCompound = _this._compoundSelector$0();
  56724. combinators = A._setArrayType([], t3);
  56725. if (t1.peekChar$0() === 38)
  56726. t1.error$1(0, string$.x22x26__ma);
  56727. continue;
  56728. }
  56729. break;
  56730. }
  56731. t3 = combinators.length !== 0;
  56732. if (t3 && _this._plainCss)
  56733. t1.error$1(0, _s18_);
  56734. else if (lastCompound != null) {
  56735. t3 = _this.spanFrom$1(componentStart);
  56736. components.push(new A.ComplexSelectorComponent(lastCompound, A.List_List$unmodifiable(combinators, t4), t3));
  56737. } else if (t3)
  56738. initialCombinators = combinators;
  56739. else
  56740. t1.error$1(0, _s18_);
  56741. t3 = initialCombinators == null ? B.List_empty1 : initialCombinators;
  56742. return A.ComplexSelector$(t3, components, _this.spanFrom$1(new A._SpanScannerState(t1, t2)), lineBreak);
  56743. },
  56744. _complexSelector$0() {
  56745. return this._complexSelector$1$lineBreak(false);
  56746. },
  56747. _compoundSelector$0() {
  56748. var t3, _this = this,
  56749. t1 = _this.scanner,
  56750. t2 = t1._string_scanner$_position,
  56751. components = A._setArrayType([_this._simpleSelector$0()], type$.JSArray_SimpleSelector);
  56752. for (t3 = _this._plainCss; _this._isSimpleSelectorStart$1(t1.peekChar$0());)
  56753. components.push(_this._simpleSelector$1$allowParent(t3));
  56754. return A.CompoundSelector$(components, _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  56755. },
  56756. _simpleSelector$1$allowParent(allowParent) {
  56757. var t2, $name, text, t3, suffix, _this = this,
  56758. t1 = _this.scanner,
  56759. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  56760. if (allowParent == null)
  56761. allowParent = _this._allowParent;
  56762. switch (t1.peekChar$0()) {
  56763. case 91:
  56764. return _this._attributeSelector$0();
  56765. case 46:
  56766. t2 = t1._string_scanner$_position;
  56767. t1.expectChar$1(46);
  56768. return new A.ClassSelector(_this.identifier$0(), _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  56769. case 35:
  56770. t2 = t1._string_scanner$_position;
  56771. t1.expectChar$1(35);
  56772. return new A.IDSelector(_this.identifier$0(), _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  56773. case 37:
  56774. t2 = t1._string_scanner$_position;
  56775. t1.expectChar$1(37);
  56776. $name = _this.identifier$0();
  56777. t2 = _this.spanFrom$1(new A._SpanScannerState(t1, t2));
  56778. if (_this._plainCss)
  56779. _this.error$2(0, string$.Placeh, t1.spanFrom$1(start));
  56780. return new A.PlaceholderSelector($name, t2);
  56781. case 58:
  56782. return _this._pseudoSelector$0();
  56783. case 38:
  56784. t2 = t1._string_scanner$_position;
  56785. t1.expectChar$1(38);
  56786. if (_this.lookingAtIdentifierBody$0()) {
  56787. text = new A.StringBuffer("");
  56788. _this._identifierBody$1(text);
  56789. if (text._contents.length === 0)
  56790. t1.error$1(0, "Expected identifier body.");
  56791. t3 = text._contents;
  56792. suffix = t3.charCodeAt(0) == 0 ? t3 : t3;
  56793. } else
  56794. suffix = null;
  56795. if (_this._plainCss && suffix != null)
  56796. t1.error$3$length$position(0, string$.Parent, t1._string_scanner$_position - t2, t2);
  56797. t2 = _this.spanFrom$1(new A._SpanScannerState(t1, t2));
  56798. if (!allowParent)
  56799. _this.error$2(0, "Parent selectors aren't allowed here.", t1.spanFrom$1(start));
  56800. return new A.ParentSelector(suffix, t2);
  56801. default:
  56802. return _this._typeOrUniversalSelector$0();
  56803. }
  56804. },
  56805. _simpleSelector$0() {
  56806. return this._simpleSelector$1$allowParent(null);
  56807. },
  56808. _attributeSelector$0() {
  56809. var $name, operator, next, value, modifier, _this = this, _null = null,
  56810. t1 = _this.scanner,
  56811. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  56812. t1.expectChar$1(91);
  56813. _this.whitespace$0();
  56814. $name = _this._attributeName$0();
  56815. _this.whitespace$0();
  56816. if (t1.scanChar$1(93))
  56817. return new A.AttributeSelector($name, _null, _null, _null, _this.spanFrom$1(start));
  56818. operator = _this._attributeOperator$0();
  56819. _this.whitespace$0();
  56820. next = t1.peekChar$0();
  56821. value = next === 39 || next === 34 ? _this.string$0() : _this.identifier$0();
  56822. _this.whitespace$0();
  56823. next = t1.peekChar$0();
  56824. modifier = next != null && A.CharacterExtension_get_isAlphabetic(next) ? A.Primitives_stringFromCharCode(t1.readChar$0()) : _null;
  56825. t1.expectChar$1(93);
  56826. return new A.AttributeSelector($name, operator, value, modifier, _this.spanFrom$1(start));
  56827. },
  56828. _attributeName$0() {
  56829. var nameOrNamespace, _this = this,
  56830. t1 = _this.scanner;
  56831. if (t1.scanChar$1(42)) {
  56832. t1.expectChar$1(124);
  56833. return new A.QualifiedName(_this.identifier$0(), "*");
  56834. }
  56835. if (t1.scanChar$1(124))
  56836. return new A.QualifiedName(_this.identifier$0(), "");
  56837. nameOrNamespace = _this.identifier$0();
  56838. if (t1.peekChar$0() !== 124 || t1.peekChar$1(1) === 61)
  56839. return new A.QualifiedName(nameOrNamespace, null);
  56840. t1.readChar$0();
  56841. return new A.QualifiedName(_this.identifier$0(), nameOrNamespace);
  56842. },
  56843. _attributeOperator$0() {
  56844. var t1 = this.scanner,
  56845. t2 = t1._string_scanner$_position;
  56846. switch (t1.readChar$0()) {
  56847. case 61:
  56848. return B.AttributeOperator_4QF;
  56849. case 126:
  56850. t1.expectChar$1(61);
  56851. return B.AttributeOperator_yT8;
  56852. case 124:
  56853. t1.expectChar$1(61);
  56854. return B.AttributeOperator_jqB;
  56855. case 94:
  56856. t1.expectChar$1(61);
  56857. return B.AttributeOperator_cMb;
  56858. case 36:
  56859. t1.expectChar$1(61);
  56860. return B.AttributeOperator_qhE;
  56861. case 42:
  56862. t1.expectChar$1(61);
  56863. return B.AttributeOperator_61T;
  56864. default:
  56865. t1.error$2$position(0, 'Expected "]".', t2);
  56866. }
  56867. },
  56868. _pseudoSelector$0() {
  56869. var element, $name, unvendored, selector, argument, t2, _this = this, _null = null,
  56870. t1 = _this.scanner,
  56871. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  56872. t1.expectChar$1(58);
  56873. element = t1.scanChar$1(58);
  56874. $name = _this.identifier$0();
  56875. if (!t1.scanChar$1(40))
  56876. return A.PseudoSelector$($name, _this.spanFrom$1(start), _null, element, _null);
  56877. _this.whitespace$0();
  56878. unvendored = A.unvendor($name);
  56879. if (element)
  56880. if ($._selectorPseudoElements.contains$1(0, unvendored)) {
  56881. selector = _this._selectorList$0();
  56882. argument = _null;
  56883. } else {
  56884. argument = _this.declarationValue$1$allowEmpty(true);
  56885. selector = _null;
  56886. }
  56887. else if ($._selectorPseudoClasses.contains$1(0, unvendored)) {
  56888. selector = _this._selectorList$0();
  56889. argument = _null;
  56890. } else if (unvendored === "nth-child" || unvendored === "nth-last-child") {
  56891. argument = _this._aNPlusB$0();
  56892. _this.whitespace$0();
  56893. t2 = t1.peekChar$1(-1);
  56894. if ((t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12) && t1.peekChar$0() !== 41) {
  56895. _this.expectIdentifier$1("of");
  56896. argument += " of";
  56897. _this.whitespace$0();
  56898. selector = _this._selectorList$0();
  56899. } else
  56900. selector = _null;
  56901. } else {
  56902. argument = B.JSString_methods.trimRight$0(_this.declarationValue$1$allowEmpty(true));
  56903. selector = _null;
  56904. }
  56905. t1.expectChar$1(41);
  56906. return A.PseudoSelector$($name, _this.spanFrom$1(start), argument, element, selector);
  56907. },
  56908. _aNPlusB$0() {
  56909. var t1, _0_0, t2, $self, next, _this = this;
  56910. $label0$0: {
  56911. t1 = _this.scanner;
  56912. _0_0 = t1.peekChar$0();
  56913. if (101 === _0_0 || 69 === _0_0) {
  56914. _this.expectIdentifier$1("even");
  56915. return "even";
  56916. }
  56917. if (111 === _0_0 || 79 === _0_0) {
  56918. _this.expectIdentifier$1("odd");
  56919. return "odd";
  56920. }
  56921. if (43 === _0_0 || 45 === _0_0) {
  56922. t2 = "" + A.Primitives_stringFromCharCode(t1.readChar$0());
  56923. break $label0$0;
  56924. }
  56925. t2 = "";
  56926. }
  56927. $self = t1.peekChar$0();
  56928. if ($self != null && $self >= 48 && $self <= 57) {
  56929. do {
  56930. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  56931. $self = t1.peekChar$0();
  56932. } while ($self != null && $self >= 48 && $self <= 57);
  56933. _this.whitespace$0();
  56934. if (!_this.scanIdentChar$1(110))
  56935. return t2.charCodeAt(0) == 0 ? t2 : t2;
  56936. } else
  56937. _this.expectIdentChar$1(110);
  56938. t2 += A.Primitives_stringFromCharCode(110);
  56939. _this.whitespace$0();
  56940. next = t1.peekChar$0();
  56941. if (next !== 43 && next !== 45)
  56942. return t2.charCodeAt(0) == 0 ? t2 : t2;
  56943. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  56944. _this.whitespace$0();
  56945. $self = t1.peekChar$0();
  56946. if (!($self != null && $self >= 48 && $self <= 57))
  56947. t1.error$1(0, "Expected a number.");
  56948. do {
  56949. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  56950. $self = t1.peekChar$0();
  56951. } while ($self != null && $self >= 48 && $self <= 57);
  56952. return t2.charCodeAt(0) == 0 ? t2 : t2;
  56953. },
  56954. _typeOrUniversalSelector$0() {
  56955. var nameOrNamespace, _this = this,
  56956. t1 = _this.scanner,
  56957. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  56958. if (t1.scanChar$1(42)) {
  56959. if (!t1.scanChar$1(124))
  56960. return new A.UniversalSelector(null, _this.spanFrom$1(start));
  56961. 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));
  56962. } else if (t1.scanChar$1(124))
  56963. 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));
  56964. nameOrNamespace = _this.identifier$0();
  56965. if (!t1.scanChar$1(124))
  56966. return new A.TypeSelector(new A.QualifiedName(nameOrNamespace, null), _this.spanFrom$1(start));
  56967. else if (t1.scanChar$1(42))
  56968. return new A.UniversalSelector(nameOrNamespace, _this.spanFrom$1(start));
  56969. else
  56970. return new A.TypeSelector(new A.QualifiedName(_this.identifier$0(), nameOrNamespace), _this.spanFrom$1(start));
  56971. },
  56972. _isSimpleSelectorStart$1(character) {
  56973. var t1;
  56974. $label0$0: {
  56975. if (42 === character || 91 === character || 46 === character || 35 === character || 37 === character || 58 === character) {
  56976. t1 = true;
  56977. break $label0$0;
  56978. }
  56979. if (38 === character) {
  56980. t1 = this._plainCss;
  56981. break $label0$0;
  56982. }
  56983. t1 = false;
  56984. break $label0$0;
  56985. }
  56986. return t1;
  56987. }
  56988. };
  56989. A.SelectorParser_parse_closure.prototype = {
  56990. call$0() {
  56991. var t1 = this.$this,
  56992. selector = t1._selectorList$0();
  56993. t1 = t1.scanner;
  56994. if (t1._string_scanner$_position !== t1.string.length)
  56995. t1.error$1(0, "expected selector.");
  56996. return selector;
  56997. },
  56998. $signature: 500
  56999. };
  57000. A.SelectorParser_parseCompoundSelector_closure.prototype = {
  57001. call$0() {
  57002. var t1 = this.$this,
  57003. compound = t1._compoundSelector$0();
  57004. t1 = t1.scanner;
  57005. if (t1._string_scanner$_position !== t1.string.length)
  57006. t1.error$1(0, "expected selector.");
  57007. return compound;
  57008. },
  57009. $signature: 498
  57010. };
  57011. A.StylesheetParser.prototype = {
  57012. parse$0() {
  57013. return this.wrapSpanFormatException$1(new A.StylesheetParser_parse_closure(this));
  57014. },
  57015. parseArgumentDeclaration$0() {
  57016. return this._parseSingleProduction$1$1(new A.StylesheetParser_parseArgumentDeclaration_closure(this), type$.ArgumentDeclaration);
  57017. },
  57018. parseVariableDeclaration$0() {
  57019. return this._parseSingleProduction$1$1(new A.StylesheetParser_parseVariableDeclaration_closure(this), type$.VariableDeclaration);
  57020. },
  57021. parseUseRule$0() {
  57022. return this._parseSingleProduction$1$1(new A.StylesheetParser_parseUseRule_closure(this), type$.UseRule);
  57023. },
  57024. _parseSingleProduction$1$1(production, $T) {
  57025. return this.wrapSpanFormatException$1(new A.StylesheetParser__parseSingleProduction_closure(this, production, $T));
  57026. },
  57027. _statement$1$root(root) {
  57028. var t2, _this = this,
  57029. t1 = _this.scanner,
  57030. _0_0 = t1.peekChar$0();
  57031. if (64 === _0_0)
  57032. return _this.atRule$2$root(new A.StylesheetParser__statement_closure(_this), root);
  57033. if (43 === _0_0) {
  57034. if (!_this.get$indented() || !_this.lookingAtIdentifier$1(1))
  57035. return _this._styleRule$0();
  57036. _this._isUseAllowed = false;
  57037. t2 = t1._string_scanner$_position;
  57038. t1.readChar$0();
  57039. return _this._includeRule$1(new A._SpanScannerState(t1, t2));
  57040. }
  57041. if (61 === _0_0) {
  57042. if (!_this.get$indented())
  57043. return _this._styleRule$0();
  57044. _this._isUseAllowed = false;
  57045. t2 = t1._string_scanner$_position;
  57046. t1.readChar$0();
  57047. _this.whitespace$0();
  57048. return _this._mixinRule$1(new A._SpanScannerState(t1, t2));
  57049. }
  57050. if (125 === _0_0)
  57051. t1.error$2$length(0, 'unmatched "}".', 1);
  57052. return _this._inStyleRule || _this._stylesheet$_inUnknownAtRule || _this._stylesheet$_inMixin || _this._inContentBlock ? _this._declarationOrStyleRule$0() : _this._variableDeclarationOrStyleRule$0();
  57053. },
  57054. _statement$0() {
  57055. return this._statement$1$root(false);
  57056. },
  57057. _variableDeclarationWithNamespace$0() {
  57058. var t1 = this.scanner,
  57059. t2 = t1._string_scanner$_position,
  57060. namespace = this.identifier$0();
  57061. t1.expectChar$1(46);
  57062. return this.variableDeclarationWithoutNamespace$2(namespace, new A._SpanScannerState(t1, t2));
  57063. },
  57064. variableDeclarationWithoutNamespace$2(namespace, start_) {
  57065. var t1, start, $name, t2, value, flagStart, t3, guarded, global, _0_0, endPosition, t4, t5, t6, declaration, _this = this,
  57066. precedingComment = _this.lastSilentComment;
  57067. _this.lastSilentComment = null;
  57068. if (start_ == null) {
  57069. t1 = _this.scanner;
  57070. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  57071. } else
  57072. start = start_;
  57073. $name = _this.variableName$0();
  57074. t1 = namespace != null;
  57075. if (t1)
  57076. _this._assertPublic$2($name, new A.StylesheetParser_variableDeclarationWithoutNamespace_closure(_this, start));
  57077. if (_this.get$plainCss())
  57078. _this.error$2(0, string$.Sass_v, _this.scanner.spanFrom$1(start));
  57079. _this.whitespace$0();
  57080. t2 = _this.scanner;
  57081. t2.expectChar$1(58);
  57082. _this.whitespace$0();
  57083. value = _this._expression$0();
  57084. flagStart = new A._SpanScannerState(t2, t2._string_scanner$_position);
  57085. for (t3 = _this.logger, guarded = false, global = false; t2.scanChar$1(33);) {
  57086. $label0$0: {
  57087. _0_0 = _this.identifier$0();
  57088. if ("default" === _0_0) {
  57089. if (guarded) {
  57090. endPosition = t2._string_scanner$_position;
  57091. t4 = t2._sourceFile;
  57092. t5 = flagStart.position;
  57093. t6 = new A._FileSpan(t4, t5, endPosition);
  57094. t6._FileSpan$3(t4, t5, endPosition);
  57095. A.WarnForDeprecation_warnForDeprecation(t3, B.Deprecation_4uL, string$.x21defau, t6, null);
  57096. }
  57097. guarded = true;
  57098. break $label0$0;
  57099. }
  57100. if ("global" === _0_0) {
  57101. if (t1) {
  57102. endPosition = t2._string_scanner$_position;
  57103. t4 = t2._sourceFile;
  57104. t5 = flagStart.position;
  57105. t6 = new A._FileSpan(t4, t5, endPosition);
  57106. t6._FileSpan$3(t4, t5, endPosition);
  57107. _this.error$2(0, string$.x21globai, t6);
  57108. } else if (global) {
  57109. endPosition = t2._string_scanner$_position;
  57110. t4 = t2._sourceFile;
  57111. t5 = flagStart.position;
  57112. t6 = new A._FileSpan(t4, t5, endPosition);
  57113. t6._FileSpan$3(t4, t5, endPosition);
  57114. A.WarnForDeprecation_warnForDeprecation(t3, B.Deprecation_4uL, string$.x21globas, t6, null);
  57115. }
  57116. global = true;
  57117. break $label0$0;
  57118. }
  57119. endPosition = t2._string_scanner$_position;
  57120. t4 = t2._sourceFile;
  57121. t5 = flagStart.position;
  57122. t6 = new A._FileSpan(t4, t5, endPosition);
  57123. t6._FileSpan$3(t4, t5, endPosition);
  57124. _this.error$2(0, "Invalid flag name.", t6);
  57125. }
  57126. _this.whitespace$0();
  57127. flagStart = new A._SpanScannerState(t2, t2._string_scanner$_position);
  57128. }
  57129. _this.expectStatementSeparator$1("variable declaration");
  57130. declaration = A.VariableDeclaration$($name, value, t2.spanFrom$1(start), precedingComment, global, guarded, namespace);
  57131. if (global)
  57132. _this._globalVariables.putIfAbsent$2($name, new A.StylesheetParser_variableDeclarationWithoutNamespace_closure0(declaration));
  57133. return declaration;
  57134. },
  57135. variableDeclarationWithoutNamespace$0() {
  57136. return this.variableDeclarationWithoutNamespace$2(null, null);
  57137. },
  57138. _variableDeclarationOrStyleRule$0() {
  57139. var t1, t2, variableOrInterpolation, t3, _this = this;
  57140. if (_this.get$plainCss())
  57141. return _this._styleRule$0();
  57142. if (_this.get$indented() && _this.scanner.scanChar$1(92))
  57143. return _this._styleRule$0();
  57144. if (!_this.lookingAtIdentifier$0())
  57145. return _this._styleRule$0();
  57146. t1 = _this.scanner;
  57147. t2 = t1._string_scanner$_position;
  57148. variableOrInterpolation = _this._variableDeclarationOrInterpolation$0();
  57149. if (variableOrInterpolation instanceof A.VariableDeclaration)
  57150. t1 = variableOrInterpolation;
  57151. else {
  57152. t3 = new A.InterpolationBuffer(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object));
  57153. t3.addInterpolation$1(type$.Interpolation._as(variableOrInterpolation));
  57154. t2 = _this._styleRule$2(t3, new A._SpanScannerState(t1, t2));
  57155. t1 = t2;
  57156. }
  57157. return t1;
  57158. },
  57159. _declarationOrStyleRule$0() {
  57160. var t1, t2, declarationOrBuffer, _this = this;
  57161. if (_this.get$indented() && _this.scanner.scanChar$1(92))
  57162. return _this._styleRule$0();
  57163. t1 = _this.scanner;
  57164. t2 = t1._string_scanner$_position;
  57165. declarationOrBuffer = _this._declarationOrBuffer$0();
  57166. return type$.Statement._is(declarationOrBuffer) ? declarationOrBuffer : _this._styleRule$2(type$.InterpolationBuffer._as(declarationOrBuffer), new A._SpanScannerState(t1, t2));
  57167. },
  57168. _declarationOrBuffer$0() {
  57169. var midBuffer, couldBeSelector, beforeDeclaration, value, additional, t2, t3, variableOrInterpolation, t4, t5, $name, postColonWhitespace, _0_0, exception, _1_0, _this = this,
  57170. t1 = _this.scanner,
  57171. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  57172. nameBuffer = new A.InterpolationBuffer(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object)),
  57173. startsWithPunctuation = _this._lookingAtPotentialPropertyHack$0();
  57174. if (startsWithPunctuation) {
  57175. t2 = t1.readChar$0();
  57176. t3 = nameBuffer._interpolation_buffer$_text;
  57177. t2 = A.Primitives_stringFromCharCode(t2);
  57178. t3._contents += t2;
  57179. t2 = _this.rawText$1(_this.get$whitespace());
  57180. t3 = nameBuffer._interpolation_buffer$_text;
  57181. t3._contents += t2;
  57182. }
  57183. if (!_this._lookingAtInterpolatedIdentifier$0())
  57184. return nameBuffer;
  57185. variableOrInterpolation = startsWithPunctuation ? _this.interpolatedIdentifier$0() : _this._variableDeclarationOrInterpolation$0();
  57186. if (variableOrInterpolation instanceof A.VariableDeclaration)
  57187. return variableOrInterpolation;
  57188. else
  57189. nameBuffer.addInterpolation$1(type$.Interpolation._as(variableOrInterpolation));
  57190. _this._isUseAllowed = false;
  57191. if (t1.matches$1("/*")) {
  57192. t2 = _this.rawText$1(_this.get$loudComment());
  57193. t3 = nameBuffer._interpolation_buffer$_text;
  57194. t3._contents += t2;
  57195. }
  57196. midBuffer = new A.StringBuffer("");
  57197. t2 = midBuffer;
  57198. t3 = _this.get$whitespace();
  57199. t4 = _this.rawText$1(t3);
  57200. t2._contents += t4;
  57201. t4 = t1._string_scanner$_position;
  57202. if (!t1.scanChar$1(58)) {
  57203. if (midBuffer._contents.length !== 0) {
  57204. t1 = nameBuffer._interpolation_buffer$_text;
  57205. t2 = A.Primitives_stringFromCharCode(32);
  57206. t1._contents += t2;
  57207. }
  57208. return nameBuffer;
  57209. }
  57210. t2 = midBuffer;
  57211. t5 = A.Primitives_stringFromCharCode(58);
  57212. t2._contents += t5;
  57213. $name = nameBuffer.interpolation$1(t1.spanFrom$2(start, new A._SpanScannerState(t1, t4)));
  57214. if (B.JSString_methods.startsWith$1($name.get$initialPlain(), "--")) {
  57215. t2 = _this._interpolatedDeclarationValue$0();
  57216. _this.expectStatementSeparator$1("custom property");
  57217. return A.Declaration$($name, new A.StringExpression(t2, false), t1.spanFrom$1(start));
  57218. }
  57219. if (t1.scanChar$1(58)) {
  57220. t1 = nameBuffer;
  57221. t2 = t1._interpolation_buffer$_text;
  57222. t3 = A.S(midBuffer);
  57223. t2._contents += t3;
  57224. t3 = A.Primitives_stringFromCharCode(58);
  57225. t2._contents += t3;
  57226. return t1;
  57227. } else if (_this.get$indented() && _this._lookingAtInterpolatedIdentifier$0()) {
  57228. t1 = nameBuffer;
  57229. t2 = t1._interpolation_buffer$_text;
  57230. t3 = A.S(midBuffer);
  57231. t2._contents += t3;
  57232. return t1;
  57233. }
  57234. postColonWhitespace = _this.rawText$1(t3);
  57235. _0_0 = _this._tryDeclarationChildren$2($name, start);
  57236. if (_0_0 != null)
  57237. return _0_0;
  57238. midBuffer._contents += postColonWhitespace;
  57239. couldBeSelector = postColonWhitespace.length === 0 && _this._lookingAtInterpolatedIdentifier$0();
  57240. beforeDeclaration = new A._SpanScannerState(t1, t1._string_scanner$_position);
  57241. value = null;
  57242. try {
  57243. value = _this._expression$0();
  57244. if (_this.lookingAtChildren$0()) {
  57245. if (couldBeSelector)
  57246. _this.expectStatementSeparator$0();
  57247. } else if (!_this.atEndOfStatement$0())
  57248. _this.expectStatementSeparator$0();
  57249. } catch (exception) {
  57250. if (type$.FormatException._is(A.unwrapException(exception))) {
  57251. if (!couldBeSelector)
  57252. throw exception;
  57253. t1.set$state(beforeDeclaration);
  57254. additional = _this.almostAnyValue$0();
  57255. if (!_this.get$indented() && t1.peekChar$0() === 59)
  57256. throw exception;
  57257. t1 = nameBuffer._interpolation_buffer$_text;
  57258. t2 = A.S(midBuffer);
  57259. t1._contents += t2;
  57260. nameBuffer.addInterpolation$1(additional);
  57261. return nameBuffer;
  57262. } else
  57263. throw exception;
  57264. }
  57265. _1_0 = _this._tryDeclarationChildren$3$value($name, start, value);
  57266. if (_1_0 != null)
  57267. return _1_0;
  57268. else {
  57269. _this.expectStatementSeparator$0();
  57270. return A.Declaration$($name, value, t1.spanFrom$1(start));
  57271. }
  57272. },
  57273. _variableDeclarationOrInterpolation$0() {
  57274. var t1, start, identifier, t2, buffer, _this = this;
  57275. if (!_this.lookingAtIdentifier$0())
  57276. return _this.interpolatedIdentifier$0();
  57277. t1 = _this.scanner;
  57278. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  57279. identifier = _this.identifier$0();
  57280. if (t1.matches$1(".$")) {
  57281. t1.readChar$0();
  57282. return _this.variableDeclarationWithoutNamespace$2(identifier, start);
  57283. } else {
  57284. t2 = new A.StringBuffer("");
  57285. buffer = new A.InterpolationBuffer(t2, A._setArrayType([], type$.JSArray_Object));
  57286. t2._contents = "" + identifier;
  57287. if (_this._lookingAtInterpolatedIdentifierBody$0())
  57288. buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  57289. return buffer.interpolation$1(t1.spanFrom$1(start));
  57290. }
  57291. },
  57292. _styleRule$2(buffer, start_) {
  57293. var t2, start, interpolation, wasInStyleRule, _this = this, t1 = {};
  57294. _this._isUseAllowed = false;
  57295. if (start_ == null) {
  57296. t2 = _this.scanner;
  57297. start = new A._SpanScannerState(t2, t2._string_scanner$_position);
  57298. } else
  57299. start = start_;
  57300. interpolation = t1.interpolation = _this.styleRuleSelector$0();
  57301. if (buffer != null) {
  57302. buffer.addInterpolation$1(interpolation);
  57303. t2 = t1.interpolation = buffer.interpolation$1(_this.scanner.spanFrom$1(start));
  57304. } else
  57305. t2 = interpolation;
  57306. if (t2.contents.length === 0)
  57307. _this.scanner.error$1(0, 'expected "}".');
  57308. wasInStyleRule = _this._inStyleRule;
  57309. _this._inStyleRule = true;
  57310. return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser__styleRule_closure(t1, _this, wasInStyleRule, start));
  57311. },
  57312. _styleRule$0() {
  57313. return this._styleRule$2(null, null);
  57314. },
  57315. _propertyOrVariableDeclaration$1$parseCustomProperties(parseCustomProperties) {
  57316. var t2, nameBuffer, t3, $name, variableOrInterpolation, _0_0, value, _1_0, _this = this,
  57317. t1 = _this.scanner,
  57318. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  57319. if (_this._lookingAtPotentialPropertyHack$0()) {
  57320. t2 = new A.StringBuffer("");
  57321. nameBuffer = new A.InterpolationBuffer(t2, A._setArrayType([], type$.JSArray_Object));
  57322. t3 = A.Primitives_stringFromCharCode(t1.readChar$0());
  57323. t2._contents += t3;
  57324. t3 = _this.rawText$1(_this.get$whitespace());
  57325. t2._contents += t3;
  57326. nameBuffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  57327. $name = nameBuffer.interpolation$1(t1.spanFrom$1(start));
  57328. } else if (!_this.get$plainCss()) {
  57329. variableOrInterpolation = _this._variableDeclarationOrInterpolation$0();
  57330. if (variableOrInterpolation instanceof A.VariableDeclaration)
  57331. return variableOrInterpolation;
  57332. else
  57333. type$.Interpolation._as(variableOrInterpolation);
  57334. $name = variableOrInterpolation;
  57335. } else
  57336. $name = _this.interpolatedIdentifier$0();
  57337. _this.whitespace$0();
  57338. t1.expectChar$1(58);
  57339. _this.whitespace$0();
  57340. _0_0 = _this._tryDeclarationChildren$2($name, start);
  57341. if (_0_0 != null)
  57342. return _0_0;
  57343. value = _this._expression$0();
  57344. _1_0 = _this._tryDeclarationChildren$3$value($name, start, value);
  57345. if (_1_0 != null)
  57346. return _1_0;
  57347. else {
  57348. _this.expectStatementSeparator$0();
  57349. return A.Declaration$($name, value, t1.spanFrom$1(start));
  57350. }
  57351. },
  57352. _tryDeclarationChildren$3$value($name, start, value) {
  57353. var _this = this;
  57354. if (!_this.lookingAtChildren$0())
  57355. return null;
  57356. if (_this.get$plainCss())
  57357. _this.scanner.error$1(0, string$.Nested);
  57358. return _this._withChildren$3(_this.get$_declarationChild(), start, new A.StylesheetParser__tryDeclarationChildren_closure($name, value));
  57359. },
  57360. _tryDeclarationChildren$2($name, start) {
  57361. return this._tryDeclarationChildren$3$value($name, start, null);
  57362. },
  57363. _declarationChild$0() {
  57364. return this.scanner.peekChar$0() === 64 ? this._declarationAtRule$0() : this._propertyOrVariableDeclaration$1$parseCustomProperties(false);
  57365. },
  57366. atRule$2$root(child, root) {
  57367. var $name, wasUseAllowed, value, optional, _this = this,
  57368. t1 = _this.scanner,
  57369. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  57370. t1.expectChar$2$name(64, "@-rule");
  57371. $name = _this.interpolatedIdentifier$0();
  57372. _this.whitespace$0();
  57373. wasUseAllowed = _this._isUseAllowed;
  57374. _this._isUseAllowed = false;
  57375. switch ($name.get$asPlain()) {
  57376. case "at-root":
  57377. return _this._atRootRule$1(start);
  57378. case "content":
  57379. return _this._contentRule$1(start);
  57380. case "debug":
  57381. return _this._debugRule$1(start);
  57382. case "each":
  57383. return _this._eachRule$2(start, child);
  57384. case "else":
  57385. return _this._disallowedAtRule$1(start);
  57386. case "error":
  57387. return _this._errorRule$1(start);
  57388. case "extend":
  57389. if (!_this._inStyleRule && !_this._stylesheet$_inMixin && !_this._inContentBlock)
  57390. _this.error$2(0, string$.x40exten, t1.spanFrom$1(start));
  57391. value = _this.almostAnyValue$0();
  57392. optional = t1.scanChar$1(33);
  57393. if (optional)
  57394. _this.expectIdentifier$1("optional");
  57395. _this.expectStatementSeparator$1("@extend rule");
  57396. return new A.ExtendRule(value, optional, t1.spanFrom$1(start));
  57397. case "for":
  57398. return _this._forRule$2(start, child);
  57399. case "forward":
  57400. _this._isUseAllowed = wasUseAllowed;
  57401. if (!root)
  57402. _this._disallowedAtRule$1(start);
  57403. return _this._forwardRule$1(start);
  57404. case "function":
  57405. return _this._functionRule$1(start);
  57406. case "if":
  57407. return _this._ifRule$2(start, child);
  57408. case "import":
  57409. return _this._importRule$1(start);
  57410. case "include":
  57411. return _this._includeRule$1(start);
  57412. case "media":
  57413. return _this.mediaRule$1(start);
  57414. case "mixin":
  57415. return _this._mixinRule$1(start);
  57416. case "-moz-document":
  57417. return _this.mozDocumentRule$2(start, $name);
  57418. case "return":
  57419. return _this._disallowedAtRule$1(start);
  57420. case "supports":
  57421. return _this.supportsRule$1(start);
  57422. case "use":
  57423. _this._isUseAllowed = wasUseAllowed;
  57424. if (!root)
  57425. _this._disallowedAtRule$1(start);
  57426. return _this._useRule$1(start);
  57427. case "warn":
  57428. return _this._warnRule$1(start);
  57429. case "while":
  57430. return _this._whileRule$2(start, child);
  57431. default:
  57432. return _this.unknownAtRule$2(start, $name);
  57433. }
  57434. },
  57435. _declarationAtRule$0() {
  57436. var _this = this,
  57437. t1 = _this.scanner,
  57438. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  57439. _0_0 = _this._plainAtRuleName$0();
  57440. $label0$0: {
  57441. if ("content" === _0_0) {
  57442. t1 = _this._contentRule$1(start);
  57443. break $label0$0;
  57444. }
  57445. if ("debug" === _0_0) {
  57446. t1 = _this._debugRule$1(start);
  57447. break $label0$0;
  57448. }
  57449. if ("each" === _0_0) {
  57450. t1 = _this._eachRule$2(start, _this.get$_declarationChild());
  57451. break $label0$0;
  57452. }
  57453. if ("else" === _0_0)
  57454. _this._disallowedAtRule$1(start);
  57455. if ("error" === _0_0) {
  57456. t1 = _this._errorRule$1(start);
  57457. break $label0$0;
  57458. }
  57459. if ("for" === _0_0) {
  57460. t1 = _this._forRule$2(start, _this.get$_declarationChild());
  57461. break $label0$0;
  57462. }
  57463. if ("if" === _0_0) {
  57464. t1 = _this._ifRule$2(start, _this.get$_declarationChild());
  57465. break $label0$0;
  57466. }
  57467. if ("include" === _0_0) {
  57468. t1 = _this._includeRule$1(start);
  57469. break $label0$0;
  57470. }
  57471. if ("warn" === _0_0) {
  57472. t1 = _this._warnRule$1(start);
  57473. break $label0$0;
  57474. }
  57475. if ("while" === _0_0) {
  57476. t1 = _this._whileRule$2(start, _this.get$_declarationChild());
  57477. break $label0$0;
  57478. }
  57479. t1 = _this._disallowedAtRule$1(start);
  57480. }
  57481. return t1;
  57482. },
  57483. _functionChild$0() {
  57484. var state, variableDeclarationError, stackTrace, statement, t2, exception, t3, start, _0_0, value, _this = this,
  57485. t1 = _this.scanner;
  57486. if (t1.peekChar$0() !== 64) {
  57487. state = new A._SpanScannerState(t1, t1._string_scanner$_position);
  57488. try {
  57489. t2 = _this._variableDeclarationWithNamespace$0();
  57490. return t2;
  57491. } catch (exception) {
  57492. t2 = A.unwrapException(exception);
  57493. t3 = type$.SourceSpanFormatException;
  57494. if (t3._is(t2)) {
  57495. variableDeclarationError = t2;
  57496. stackTrace = A.getTraceFromException(exception);
  57497. t1.set$state(state);
  57498. statement = null;
  57499. try {
  57500. statement = _this._declarationOrStyleRule$0();
  57501. } catch (exception) {
  57502. if (t3._is(A.unwrapException(exception)))
  57503. throw A.wrapException(variableDeclarationError);
  57504. else
  57505. throw exception;
  57506. }
  57507. t2 = statement instanceof A.StyleRule ? "style rules" : "declarations";
  57508. _this.error$3(0, "@function rules may not contain " + t2 + ".", J.get$span$z(statement), stackTrace);
  57509. } else
  57510. throw exception;
  57511. }
  57512. }
  57513. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  57514. _0_0 = _this._plainAtRuleName$0();
  57515. $label0$0: {
  57516. if ("debug" === _0_0) {
  57517. t1 = _this._debugRule$1(start);
  57518. break $label0$0;
  57519. }
  57520. if ("each" === _0_0) {
  57521. t1 = _this._eachRule$2(start, _this.get$_functionChild());
  57522. break $label0$0;
  57523. }
  57524. if ("else" === _0_0)
  57525. _this._disallowedAtRule$1(start);
  57526. if ("error" === _0_0) {
  57527. t1 = _this._errorRule$1(start);
  57528. break $label0$0;
  57529. }
  57530. if ("for" === _0_0) {
  57531. t1 = _this._forRule$2(start, _this.get$_functionChild());
  57532. break $label0$0;
  57533. }
  57534. if ("if" === _0_0) {
  57535. t1 = _this._ifRule$2(start, _this.get$_functionChild());
  57536. break $label0$0;
  57537. }
  57538. if ("return" === _0_0) {
  57539. value = _this._expression$0();
  57540. _this.expectStatementSeparator$1("@return rule");
  57541. t1 = new A.ReturnRule(value, t1.spanFrom$1(start));
  57542. break $label0$0;
  57543. }
  57544. if ("warn" === _0_0) {
  57545. t1 = _this._warnRule$1(start);
  57546. break $label0$0;
  57547. }
  57548. if ("while" === _0_0) {
  57549. t1 = _this._whileRule$2(start, _this.get$_functionChild());
  57550. break $label0$0;
  57551. }
  57552. t1 = _this._disallowedAtRule$1(start);
  57553. }
  57554. return t1;
  57555. },
  57556. _plainAtRuleName$0() {
  57557. this.scanner.expectChar$2$name(64, "@-rule");
  57558. var $name = this.identifier$0();
  57559. this.whitespace$0();
  57560. return $name;
  57561. },
  57562. _atRootRule$1(start) {
  57563. var t2, t3, t4, buffer, t5, query, _this = this,
  57564. t1 = _this.scanner;
  57565. if (t1.peekChar$0() === 40) {
  57566. t2 = t1._string_scanner$_position;
  57567. t3 = new A.StringBuffer("");
  57568. t4 = A._setArrayType([], type$.JSArray_Object);
  57569. buffer = new A.InterpolationBuffer(t3, t4);
  57570. t1.expectChar$1(40);
  57571. t5 = A.Primitives_stringFromCharCode(40);
  57572. t3._contents += t5;
  57573. _this.whitespace$0();
  57574. t5 = _this._expression$0();
  57575. buffer._flushText$0();
  57576. t4.push(t5);
  57577. if (t1.scanChar$1(58)) {
  57578. _this.whitespace$0();
  57579. t5 = A.Primitives_stringFromCharCode(58);
  57580. t3._contents += t5;
  57581. t5 = A.Primitives_stringFromCharCode(32);
  57582. t3._contents += t5;
  57583. t5 = _this._expression$0();
  57584. buffer._flushText$0();
  57585. t4.push(t5);
  57586. }
  57587. t1.expectChar$1(41);
  57588. _this.whitespace$0();
  57589. t4 = A.Primitives_stringFromCharCode(41);
  57590. t3._contents += t4;
  57591. query = buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  57592. _this.whitespace$0();
  57593. return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser__atRootRule_closure(query));
  57594. } else if (_this.lookingAtChildren$0())
  57595. return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser__atRootRule_closure0());
  57596. else
  57597. return A.AtRootRule$(A._setArrayType([_this._styleRule$0()], type$.JSArray_Statement), t1.spanFrom$1(start), null);
  57598. },
  57599. _contentRule$1(start) {
  57600. var t1, $arguments, t2, t3, _this = this;
  57601. if (!_this._stylesheet$_inMixin)
  57602. _this.error$2(0, string$.x40conte, _this.scanner.spanFrom$1(start));
  57603. _this.whitespace$0();
  57604. t1 = _this.scanner;
  57605. if (t1.peekChar$0() === 40)
  57606. $arguments = _this._argumentInvocation$1$mixin(true);
  57607. else {
  57608. t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  57609. t3 = t2.offset;
  57610. $arguments = A.ArgumentInvocation$empty(A._FileSpan$(t2.file, t3, t3));
  57611. }
  57612. _this.expectStatementSeparator$1("@content rule");
  57613. return new A.ContentRule($arguments, t1.spanFrom$1(start));
  57614. },
  57615. _debugRule$1(start) {
  57616. var value = this._expression$0();
  57617. this.expectStatementSeparator$1("@debug rule");
  57618. return new A.DebugRule(value, this.scanner.spanFrom$1(start));
  57619. },
  57620. _eachRule$2(start, child) {
  57621. var variables, t1, _this = this,
  57622. wasInControlDirective = _this._inControlDirective;
  57623. _this._inControlDirective = true;
  57624. variables = A._setArrayType([_this.variableName$0()], type$.JSArray_String);
  57625. _this.whitespace$0();
  57626. for (t1 = _this.scanner; t1.scanChar$1(44);) {
  57627. _this.whitespace$0();
  57628. t1.expectChar$1(36);
  57629. variables.push(_this.identifier$1$normalize(true));
  57630. _this.whitespace$0();
  57631. }
  57632. _this.expectIdentifier$1("in");
  57633. _this.whitespace$0();
  57634. return _this._withChildren$3(child, start, new A.StylesheetParser__eachRule_closure(_this, wasInControlDirective, variables, _this._expression$0()));
  57635. },
  57636. _errorRule$1(start) {
  57637. var value = this._expression$0();
  57638. this.expectStatementSeparator$1("@error rule");
  57639. return new A.ErrorRule(value, this.scanner.spanFrom$1(start));
  57640. },
  57641. _functionRule$1(start) {
  57642. var t1, t2, $name, $arguments, _0_0, _this = this,
  57643. precedingComment = _this.lastSilentComment;
  57644. _this.lastSilentComment = null;
  57645. t1 = _this.scanner;
  57646. t2 = t1._string_scanner$_position;
  57647. $name = _this.identifier$0();
  57648. if (B.JSString_methods.startsWith$1($name, "--"))
  57649. A.WarnForDeprecation_warnForDeprecation(_this.logger, B.Deprecation_HJ0, string$.Sass__fm, t1.spanFrom$1(new A._SpanScannerState(t1, t2)), null);
  57650. _this.whitespace$0();
  57651. $arguments = _this._argumentDeclaration$0();
  57652. if (_this._stylesheet$_inMixin || _this._inContentBlock)
  57653. _this.error$2(0, string$.Mixinscf, t1.spanFrom$1(start));
  57654. else if (_this._inControlDirective)
  57655. _this.error$2(0, string$.Functi, t1.spanFrom$1(start));
  57656. _0_0 = A.unvendor($name);
  57657. 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)
  57658. _this.error$2(0, "Invalid function name.", t1.spanFrom$1(start));
  57659. _this.whitespace$0();
  57660. return _this._withChildren$3(_this.get$_functionChild(), start, new A.StylesheetParser__functionRule_closure($name, $arguments, precedingComment));
  57661. },
  57662. _forRule$2(start, child) {
  57663. var variable, from, _this = this, t1 = {},
  57664. wasInControlDirective = _this._inControlDirective;
  57665. _this._inControlDirective = true;
  57666. variable = _this.variableName$0();
  57667. _this.whitespace$0();
  57668. _this.expectIdentifier$1("from");
  57669. _this.whitespace$0();
  57670. t1.exclusive = null;
  57671. from = _this._expression$1$until(new A.StylesheetParser__forRule_closure(t1, _this));
  57672. if (t1.exclusive == null)
  57673. _this.scanner.error$1(0, 'Expected "to" or "through".');
  57674. _this.whitespace$0();
  57675. return _this._withChildren$3(child, start, new A.StylesheetParser__forRule_closure0(t1, _this, wasInControlDirective, variable, from, _this._expression$0()));
  57676. },
  57677. _forwardRule$1(start) {
  57678. var prefix, _0_0, shownMixinsAndFunctions, shownVariables, hiddenVariables, hiddenMixinsAndFunctions, _1_0, configuration, span, t1, t2, t3, t4, _this = this, _null = null,
  57679. url = _this._urlString$0();
  57680. _this.whitespace$0();
  57681. if (_this.scanIdentifier$1("as")) {
  57682. _this.whitespace$0();
  57683. prefix = _this.identifier$1$normalize(true);
  57684. _this.scanner.expectChar$1(42);
  57685. _this.whitespace$0();
  57686. } else
  57687. prefix = _null;
  57688. if (_this.scanIdentifier$1("show")) {
  57689. _0_0 = _this._memberList$0();
  57690. shownMixinsAndFunctions = _0_0._0;
  57691. shownVariables = _0_0._1;
  57692. hiddenVariables = _null;
  57693. hiddenMixinsAndFunctions = hiddenVariables;
  57694. } else {
  57695. if (_this.scanIdentifier$1("hide")) {
  57696. _1_0 = _this._memberList$0();
  57697. hiddenMixinsAndFunctions = _1_0._0;
  57698. hiddenVariables = _1_0._1;
  57699. } else {
  57700. hiddenVariables = _null;
  57701. hiddenMixinsAndFunctions = hiddenVariables;
  57702. }
  57703. shownVariables = _null;
  57704. shownMixinsAndFunctions = shownVariables;
  57705. }
  57706. configuration = _this._stylesheet$_configuration$1$allowGuarded(true);
  57707. _this.expectStatementSeparator$1("@forward rule");
  57708. span = _this.scanner.spanFrom$1(start);
  57709. if (!_this._isUseAllowed)
  57710. _this.error$2(0, string$.x40forwa, span);
  57711. if (shownMixinsAndFunctions != null) {
  57712. shownVariables.toString;
  57713. t1 = type$.String;
  57714. t2 = A.LinkedHashSet_LinkedHashSet$of(shownMixinsAndFunctions, t1);
  57715. t3 = type$.UnmodifiableSetView_String;
  57716. t1 = A.LinkedHashSet_LinkedHashSet$of(shownVariables, t1);
  57717. t4 = configuration == null ? B.List_empty10 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable);
  57718. return new A.ForwardRule(url, new A.UnmodifiableSetView0(t2, t3), new A.UnmodifiableSetView0(t1, t3), _null, _null, prefix, t4, span);
  57719. } else if (hiddenMixinsAndFunctions != null) {
  57720. hiddenVariables.toString;
  57721. t1 = type$.String;
  57722. t2 = A.LinkedHashSet_LinkedHashSet$of(hiddenMixinsAndFunctions, t1);
  57723. t3 = type$.UnmodifiableSetView_String;
  57724. t1 = A.LinkedHashSet_LinkedHashSet$of(hiddenVariables, t1);
  57725. t4 = configuration == null ? B.List_empty10 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable);
  57726. return new A.ForwardRule(url, _null, _null, new A.UnmodifiableSetView0(t2, t3), new A.UnmodifiableSetView0(t1, t3), prefix, t4, span);
  57727. } else
  57728. return new A.ForwardRule(url, _null, _null, _null, _null, prefix, configuration == null ? B.List_empty10 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable), span);
  57729. },
  57730. _memberList$0() {
  57731. var _this = this,
  57732. t1 = type$.String,
  57733. identifiers = A.LinkedHashSet_LinkedHashSet$_empty(t1),
  57734. variables = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  57735. t1 = _this.scanner;
  57736. do {
  57737. _this.whitespace$0();
  57738. _this.withErrorMessage$2(string$.Expect, new A.StylesheetParser__memberList_closure(_this, variables, identifiers));
  57739. _this.whitespace$0();
  57740. } while (t1.scanChar$1(44));
  57741. return new A._Record_2(identifiers, variables);
  57742. },
  57743. _ifRule$2(start, child) {
  57744. var condition, children, clauses, lastClause, span, _this = this,
  57745. ifIndentation = _this.get$currentIndentation(),
  57746. wasInControlDirective = _this._inControlDirective;
  57747. _this._inControlDirective = true;
  57748. condition = _this._expression$0();
  57749. children = _this.children$1(0, child);
  57750. _this.whitespaceWithoutComments$0();
  57751. clauses = A._setArrayType([A.IfClause$(condition, children)], type$.JSArray_IfClause);
  57752. while (true) {
  57753. if (!_this.scanElse$1(ifIndentation)) {
  57754. lastClause = null;
  57755. break;
  57756. }
  57757. _this.whitespace$0();
  57758. if (_this.scanIdentifier$1("if")) {
  57759. _this.whitespace$0();
  57760. clauses.push(A.IfClause$(_this._expression$0(), _this.children$1(0, child)));
  57761. } else {
  57762. lastClause = A.ElseClause$(_this.children$1(0, child));
  57763. break;
  57764. }
  57765. }
  57766. _this._inControlDirective = wasInControlDirective;
  57767. span = _this.scanner.spanFrom$1(start);
  57768. _this.whitespaceWithoutComments$0();
  57769. return new A.IfRule(A.List_List$unmodifiable(clauses, type$.IfClause), lastClause, span);
  57770. },
  57771. _importRule$1(start) {
  57772. var argument, t3, _this = this,
  57773. imports = A._setArrayType([], type$.JSArray_Import),
  57774. t1 = _this.scanner,
  57775. t2 = _this.logger;
  57776. do {
  57777. _this.whitespace$0();
  57778. argument = _this.importArgument$0();
  57779. t3 = argument instanceof A.DynamicImport;
  57780. if (t3)
  57781. A.WarnForDeprecation_warnForDeprecation(t2, B.Deprecation_import_null_true_import, string$.Sass__i, argument.span, null);
  57782. if ((_this._inControlDirective || _this._stylesheet$_inMixin) && t3)
  57783. _this._disallowedAtRule$1(start);
  57784. imports.push(argument);
  57785. _this.whitespace$0();
  57786. } while (t1.scanChar$1(44));
  57787. _this.expectStatementSeparator$1("@import rule");
  57788. t1 = t1.spanFrom$1(start);
  57789. return new A.ImportRule(A.List_List$unmodifiable(imports, type$.Import), t1);
  57790. },
  57791. importArgument$0() {
  57792. var url, urlSpan, innerError, stackTrace, modifiers, t2, exception, _this = this,
  57793. t1 = _this.scanner,
  57794. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  57795. _0_0 = t1.peekChar$0();
  57796. if (117 === _0_0 || 85 === _0_0) {
  57797. url = _this.dynamicUrl$0();
  57798. _this.whitespace$0();
  57799. modifiers = _this.tryImportModifiers$0();
  57800. return new A.StaticImport(A.Interpolation$(A._setArrayType([url], type$.JSArray_Object), t1.spanFrom$1(start)), modifiers, t1.spanFrom$1(start));
  57801. }
  57802. url = _this.string$0();
  57803. urlSpan = t1.spanFrom$1(start);
  57804. _this.whitespace$0();
  57805. modifiers = _this.tryImportModifiers$0();
  57806. if (_this.isPlainImportUrl$1(url) || modifiers != null) {
  57807. t2 = urlSpan;
  57808. return new A.StaticImport(A.Interpolation$(A._setArrayType([A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2.file._decodedChars, t2._file$_start, t2._end), 0, null)], type$.JSArray_Object), urlSpan), modifiers, t1.spanFrom$1(start));
  57809. } else
  57810. try {
  57811. t1 = _this.parseImportUrl$1(url);
  57812. return new A.DynamicImport(t1, urlSpan);
  57813. } catch (exception) {
  57814. t1 = A.unwrapException(exception);
  57815. if (type$.FormatException._is(t1)) {
  57816. innerError = t1;
  57817. stackTrace = A.getTraceFromException(exception);
  57818. _this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), urlSpan, stackTrace);
  57819. } else
  57820. throw exception;
  57821. }
  57822. },
  57823. parseImportUrl$1(url) {
  57824. var t1 = $.$get$windows();
  57825. if (t1.style.rootLength$1(url) > 0 && !$.$get$url().style.isRootRelative$1(url))
  57826. return t1.toUri$1(url).toString$0(0);
  57827. A.Uri_parse(url);
  57828. return url;
  57829. },
  57830. isPlainImportUrl$1(url) {
  57831. var _0_0, t1;
  57832. if (url.length < 5)
  57833. return false;
  57834. if (B.JSString_methods.endsWith$1(url, ".css"))
  57835. return true;
  57836. _0_0 = url.charCodeAt(0);
  57837. $label0$0: {
  57838. if (47 === _0_0) {
  57839. t1 = url.charCodeAt(1) === 47;
  57840. break $label0$0;
  57841. }
  57842. if (104 === _0_0) {
  57843. t1 = B.JSString_methods.startsWith$1(url, "http://") || B.JSString_methods.startsWith$1(url, "https://");
  57844. break $label0$0;
  57845. }
  57846. t1 = false;
  57847. break $label0$0;
  57848. }
  57849. return t1;
  57850. },
  57851. tryImportModifiers$0() {
  57852. var t1, start, t2, t3, buffer, t4, identifier, $name, query, t5, endPosition, result, _this = this;
  57853. if (!_this._lookingAtInterpolatedIdentifier$0() && _this.scanner.peekChar$0() !== 40)
  57854. return null;
  57855. t1 = _this.scanner;
  57856. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  57857. t2 = new A.StringBuffer("");
  57858. t3 = A._setArrayType([], type$.JSArray_Object);
  57859. buffer = new A.InterpolationBuffer(t2, t3);
  57860. for (; true;)
  57861. if (_this._lookingAtInterpolatedIdentifier$0()) {
  57862. if (!(t3.length === 0 && t2._contents.length === 0)) {
  57863. t4 = A.Primitives_stringFromCharCode(32);
  57864. t2._contents += t4;
  57865. }
  57866. identifier = _this.interpolatedIdentifier$0();
  57867. buffer.addInterpolation$1(identifier);
  57868. t4 = identifier.get$asPlain();
  57869. $name = t4 == null ? null : t4.toLowerCase();
  57870. if ($name !== "and" && t1.scanChar$1(40)) {
  57871. if ($name === "supports") {
  57872. query = _this._importSupportsQuery$0();
  57873. t4 = !(query instanceof A.SupportsDeclaration);
  57874. if (t4) {
  57875. t5 = A.Primitives_stringFromCharCode(40);
  57876. t2._contents += t5;
  57877. }
  57878. buffer._flushText$0();
  57879. t3.push(new A.SupportsExpression(query));
  57880. if (t4) {
  57881. t4 = A.Primitives_stringFromCharCode(41);
  57882. t2._contents += t4;
  57883. }
  57884. } else {
  57885. t4 = A.Primitives_stringFromCharCode(40);
  57886. t2._contents += t4;
  57887. buffer.addInterpolation$1(_this._interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(true, true));
  57888. t4 = A.Primitives_stringFromCharCode(41);
  57889. t2._contents += t4;
  57890. }
  57891. t1.expectChar$1(41);
  57892. _this.whitespace$0();
  57893. } else {
  57894. _this.whitespace$0();
  57895. if (t1.scanChar$1(44)) {
  57896. t2._contents += ", ";
  57897. buffer.addInterpolation$1(_this._mediaQueryList$0());
  57898. endPosition = t1._string_scanner$_position;
  57899. t4 = t1._sourceFile;
  57900. t5 = start.position;
  57901. t1 = new A._FileSpan(t4, t5, endPosition);
  57902. t1._FileSpan$3(t4, t5, endPosition);
  57903. t5 = type$.Object;
  57904. t4 = A.List_List$of(t3, true, t5);
  57905. t3 = t2._contents;
  57906. if (t3.length !== 0)
  57907. t4.push(t3.charCodeAt(0) == 0 ? t3 : t3);
  57908. result = A.List_List$from(t4, false, t5);
  57909. result.fixed$length = Array;
  57910. result.immutable$list = Array;
  57911. t2 = new A.Interpolation(result, t1);
  57912. t2.Interpolation$2(t4, t1);
  57913. return t2;
  57914. }
  57915. }
  57916. } else if (t1.peekChar$0() === 40) {
  57917. if (!(t3.length === 0 && t2._contents.length === 0)) {
  57918. t4 = A.Primitives_stringFromCharCode(32);
  57919. t2._contents += t4;
  57920. }
  57921. buffer.addInterpolation$1(_this._mediaQueryList$0());
  57922. endPosition = t1._string_scanner$_position;
  57923. t1 = t1._sourceFile;
  57924. t4 = start.position;
  57925. t5 = new A._FileSpan(t1, t4, endPosition);
  57926. t5._FileSpan$3(t1, t4, endPosition);
  57927. t4 = type$.Object;
  57928. t3 = A.List_List$of(t3, true, t4);
  57929. t1 = t2._contents;
  57930. if (t1.length !== 0)
  57931. t3.push(t1.charCodeAt(0) == 0 ? t1 : t1);
  57932. result = A.List_List$from(t3, false, t4);
  57933. result.fixed$length = Array;
  57934. result.immutable$list = Array;
  57935. t1 = new A.Interpolation(result, t5);
  57936. t1.Interpolation$2(t3, t5);
  57937. return t1;
  57938. } else {
  57939. endPosition = t1._string_scanner$_position;
  57940. t1 = t1._sourceFile;
  57941. t4 = start.position;
  57942. t5 = new A._FileSpan(t1, t4, endPosition);
  57943. t5._FileSpan$3(t1, t4, endPosition);
  57944. t4 = type$.Object;
  57945. t3 = A.List_List$of(t3, true, t4);
  57946. t1 = t2._contents;
  57947. if (t1.length !== 0)
  57948. t3.push(t1.charCodeAt(0) == 0 ? t1 : t1);
  57949. result = A.List_List$from(t3, false, t4);
  57950. result.fixed$length = Array;
  57951. result.immutable$list = Array;
  57952. t1 = new A.Interpolation(result, t5);
  57953. t1.Interpolation$2(t3, t5);
  57954. return t1;
  57955. }
  57956. },
  57957. _importSupportsQuery$0() {
  57958. var t1, t2, _0_0, $name, _this = this;
  57959. if (_this.scanIdentifier$1("not")) {
  57960. _this.whitespace$0();
  57961. t1 = _this.scanner;
  57962. t2 = t1._string_scanner$_position;
  57963. return new A.SupportsNegation(_this._supportsConditionInParens$0(), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  57964. } else {
  57965. t1 = _this.scanner;
  57966. if (t1.peekChar$0() === 40)
  57967. return _this._supportsCondition$0();
  57968. else {
  57969. _0_0 = _this._tryImportSupportsFunction$0();
  57970. if (_0_0 != null)
  57971. return _0_0;
  57972. t2 = t1._string_scanner$_position;
  57973. $name = _this._expression$0();
  57974. t1.expectChar$1(58);
  57975. return _this._supportsDeclarationValue$2($name, new A._SpanScannerState(t1, t2));
  57976. }
  57977. }
  57978. },
  57979. _tryImportSupportsFunction$0() {
  57980. var t1, start, $name, value, _this = this;
  57981. if (!_this._lookingAtInterpolatedIdentifier$0())
  57982. return null;
  57983. t1 = _this.scanner;
  57984. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  57985. $name = _this.interpolatedIdentifier$0();
  57986. if (!t1.scanChar$1(40)) {
  57987. t1.set$state(start);
  57988. return null;
  57989. }
  57990. value = _this._interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(true, true);
  57991. t1.expectChar$1(41);
  57992. return new A.SupportsFunction($name, value, t1.spanFrom$1(start));
  57993. },
  57994. _includeRule$1(start) {
  57995. var name0, namespace, $arguments, t2, t3, contentArguments, contentArguments_, wasInContentBlock, $content, span, _this = this, _null = null,
  57996. $name = _this.identifier$0(),
  57997. t1 = _this.scanner;
  57998. if (t1.scanChar$1(46)) {
  57999. name0 = _this._publicIdentifier$0();
  58000. namespace = $name;
  58001. $name = name0;
  58002. } else
  58003. namespace = _null;
  58004. _this.whitespace$0();
  58005. if (t1.peekChar$0() === 40)
  58006. $arguments = _this._argumentInvocation$1$mixin(true);
  58007. else {
  58008. t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  58009. t3 = t2.offset;
  58010. $arguments = A.ArgumentInvocation$empty(A._FileSpan$(t2.file, t3, t3));
  58011. }
  58012. _this.whitespace$0();
  58013. if (_this.scanIdentifier$1("using")) {
  58014. _this.whitespace$0();
  58015. contentArguments = _this._argumentDeclaration$0();
  58016. _this.whitespace$0();
  58017. } else
  58018. contentArguments = _null;
  58019. t2 = contentArguments == null;
  58020. if (!t2 || _this.lookingAtChildren$0()) {
  58021. if (t2) {
  58022. t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  58023. t3 = t2.offset;
  58024. contentArguments_ = new A.ArgumentDeclaration(B.List_empty11, _null, A._FileSpan$(t2.file, t3, t3));
  58025. } else
  58026. contentArguments_ = contentArguments;
  58027. wasInContentBlock = _this._inContentBlock;
  58028. _this._inContentBlock = true;
  58029. $content = _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser__includeRule_closure(contentArguments_));
  58030. _this._inContentBlock = wasInContentBlock;
  58031. } else {
  58032. _this.expectStatementSeparator$0();
  58033. $content = _null;
  58034. }
  58035. t1 = t1.spanFrom$2(start, start);
  58036. t2 = $content == null ? $arguments : $content;
  58037. span = t1.expand$1(0, t2.get$span(t2));
  58038. return new A.IncludeRule(namespace, A.stringReplaceAllUnchecked($name, "_", "-"), $name, $arguments, $content, span);
  58039. },
  58040. mediaRule$1(start) {
  58041. return this._withChildren$3(this.get$_statement(), start, new A.StylesheetParser_mediaRule_closure(this._mediaQueryList$0()));
  58042. },
  58043. _mixinRule$1(start) {
  58044. var t1, t2, $name, $arguments, t3, _this = this,
  58045. precedingComment = _this.lastSilentComment;
  58046. _this.lastSilentComment = null;
  58047. t1 = _this.scanner;
  58048. t2 = t1._string_scanner$_position;
  58049. $name = _this.identifier$0();
  58050. if (B.JSString_methods.startsWith$1($name, "--"))
  58051. A.WarnForDeprecation_warnForDeprecation(_this.logger, B.Deprecation_HJ0, string$.Sass__m, t1.spanFrom$1(new A._SpanScannerState(t1, t2)), null);
  58052. _this.whitespace$0();
  58053. if (t1.peekChar$0() === 40)
  58054. $arguments = _this._argumentDeclaration$0();
  58055. else {
  58056. t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  58057. t3 = t2.offset;
  58058. $arguments = new A.ArgumentDeclaration(B.List_empty11, null, A._FileSpan$(t2.file, t3, t3));
  58059. }
  58060. if (_this._stylesheet$_inMixin || _this._inContentBlock)
  58061. _this.error$2(0, string$.Mixinscm, t1.spanFrom$1(start));
  58062. else if (_this._inControlDirective)
  58063. _this.error$2(0, string$.Mixinsb, t1.spanFrom$1(start));
  58064. _this.whitespace$0();
  58065. _this._stylesheet$_inMixin = true;
  58066. return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser__mixinRule_closure(_this, $name, $arguments, precedingComment));
  58067. },
  58068. mozDocumentRule$2(start, $name) {
  58069. var t5, t6, identifier, _0_0, argument, trailing, endPosition, t7, t8, start0, end, _this = this, _box_0 = {},
  58070. t1 = _this.scanner,
  58071. t2 = t1._string_scanner$_position,
  58072. t3 = new A.StringBuffer(""),
  58073. t4 = A._setArrayType([], type$.JSArray_Object),
  58074. buffer = new A.InterpolationBuffer(t3, t4);
  58075. _box_0.needsDeprecationWarning = false;
  58076. for (t5 = _this.get$whitespace(); true;) {
  58077. if (t1.peekChar$0() === 35) {
  58078. t6 = _this.singleInterpolation$0();
  58079. buffer._flushText$0();
  58080. t4.push(t6);
  58081. _box_0.needsDeprecationWarning = true;
  58082. } else {
  58083. t6 = t1._string_scanner$_position;
  58084. identifier = _this.identifier$0();
  58085. $label0$0: {
  58086. if ("url" === identifier || "url-prefix" === identifier || "domain" === identifier) {
  58087. _0_0 = _this._tryUrlContents$2$name(new A._SpanScannerState(t1, t6), identifier);
  58088. if (_0_0 != null)
  58089. buffer.addInterpolation$1(_0_0);
  58090. else {
  58091. t1.expectChar$1(40);
  58092. _this.whitespace$0();
  58093. argument = _this.interpolatedString$0();
  58094. t1.expectChar$1(41);
  58095. t3._contents += identifier;
  58096. t6 = A.Primitives_stringFromCharCode(40);
  58097. t3._contents += t6;
  58098. buffer.addInterpolation$1(argument.asInterpolation$0());
  58099. t6 = A.Primitives_stringFromCharCode(41);
  58100. t3._contents += t6;
  58101. }
  58102. t6 = t3._contents;
  58103. trailing = t6.charCodeAt(0) == 0 ? t6 : t6;
  58104. 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("")'))
  58105. _box_0.needsDeprecationWarning = true;
  58106. break $label0$0;
  58107. }
  58108. if ("regexp" === identifier) {
  58109. t3._contents += "regexp(";
  58110. t1.expectChar$1(40);
  58111. buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
  58112. t1.expectChar$1(41);
  58113. t6 = A.Primitives_stringFromCharCode(41);
  58114. t3._contents += t6;
  58115. _box_0.needsDeprecationWarning = true;
  58116. break $label0$0;
  58117. }
  58118. endPosition = t1._string_scanner$_position;
  58119. t7 = t1._sourceFile;
  58120. t8 = new A._FileSpan(t7, t6, endPosition);
  58121. t8._FileSpan$3(t7, t6, endPosition);
  58122. _this.error$2(0, "Invalid function name.", t8);
  58123. }
  58124. }
  58125. _this.whitespace$0();
  58126. if (!t1.scanChar$1(44))
  58127. break;
  58128. t6 = A.Primitives_stringFromCharCode(44);
  58129. t3._contents += t6;
  58130. start0 = t1._string_scanner$_position;
  58131. t5.call$0();
  58132. end = t1._string_scanner$_position;
  58133. t3._contents += B.JSString_methods.substring$2(t1.string, start0, end);
  58134. }
  58135. return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser_mozDocumentRule_closure(_box_0, _this, $name, buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)))));
  58136. },
  58137. supportsRule$1(start) {
  58138. var _this = this,
  58139. condition = _this._supportsCondition$0();
  58140. _this.whitespace$0();
  58141. return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser_supportsRule_closure(condition));
  58142. },
  58143. _useRule$1(start) {
  58144. var namespace, configuration, span, t1, _this = this,
  58145. _s9_ = "@use rule",
  58146. url = _this._urlString$0();
  58147. _this.whitespace$0();
  58148. namespace = _this._useNamespace$2(url, start);
  58149. _this.whitespace$0();
  58150. configuration = _this._stylesheet$_configuration$0();
  58151. _this.expectStatementSeparator$1(_s9_);
  58152. span = _this.scanner.spanFrom$1(start);
  58153. if (!_this._isUseAllowed)
  58154. _this.error$2(0, string$.x40use_r, span);
  58155. _this.expectStatementSeparator$1(_s9_);
  58156. t1 = new A.UseRule(url, namespace, configuration == null ? B.List_empty10 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable), span);
  58157. t1.UseRule$4$configuration(url, namespace, span, configuration);
  58158. return t1;
  58159. },
  58160. _useNamespace$2(url, start) {
  58161. var namespace, basename, dot, t1, exception, _this = this;
  58162. if (_this.scanIdentifier$1("as")) {
  58163. _this.whitespace$0();
  58164. return _this.scanner.scanChar$1(42) ? null : _this.identifier$0();
  58165. }
  58166. basename = url.get$pathSegments().length === 0 ? "" : B.JSArray_methods.get$last(url.get$pathSegments());
  58167. dot = B.JSString_methods.indexOf$1(basename, ".");
  58168. t1 = B.JSString_methods.startsWith$1(basename, "_") ? 1 : 0;
  58169. namespace = B.JSString_methods.substring$2(basename, t1, dot === -1 ? basename.length : dot);
  58170. try {
  58171. t1 = A.SpanScanner$(namespace, null);
  58172. t1 = new A.Parser(t1, _this.logger, null)._parseIdentifier$0();
  58173. return t1;
  58174. } catch (exception) {
  58175. if (type$.SassFormatException._is(A.unwrapException(exception)))
  58176. _this.error$2(0, 'The default namespace "' + A.S(namespace) + string$.x22x20is_n, _this.scanner.spanFrom$1(start));
  58177. else
  58178. throw exception;
  58179. }
  58180. },
  58181. _stylesheet$_configuration$1$allowGuarded(allowGuarded) {
  58182. var variableNames, configuration, t1, t2, $name, expression, t3, guarded, endPosition, t4, t5, span, _this = this;
  58183. if (!_this.scanIdentifier$1("with"))
  58184. return null;
  58185. variableNames = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
  58186. configuration = A._setArrayType([], type$.JSArray_ConfiguredVariable);
  58187. _this.whitespace$0();
  58188. t1 = _this.scanner;
  58189. t1.expectChar$1(40);
  58190. for (; true;) {
  58191. _this.whitespace$0();
  58192. t2 = t1._string_scanner$_position;
  58193. t1.expectChar$1(36);
  58194. $name = _this.identifier$1$normalize(true);
  58195. _this.whitespace$0();
  58196. t1.expectChar$1(58);
  58197. _this.whitespace$0();
  58198. expression = _this.expressionUntilComma$0();
  58199. t3 = t1._string_scanner$_position;
  58200. if (allowGuarded && t1.scanChar$1(33)) {
  58201. guarded = _this.identifier$0() === "default";
  58202. if (guarded)
  58203. _this.whitespace$0();
  58204. else {
  58205. endPosition = t1._string_scanner$_position;
  58206. t4 = t1._sourceFile;
  58207. t5 = new A._FileSpan(t4, t3, endPosition);
  58208. t5._FileSpan$3(t4, t3, endPosition);
  58209. _this.error$2(0, "Invalid flag name.", t5);
  58210. }
  58211. } else
  58212. guarded = false;
  58213. endPosition = t1._string_scanner$_position;
  58214. t3 = t1._sourceFile;
  58215. span = new A._FileSpan(t3, t2, endPosition);
  58216. span._FileSpan$3(t3, t2, endPosition);
  58217. if (variableNames.contains$1(0, $name))
  58218. _this.error$2(0, string$.The_sa, span);
  58219. variableNames.add$1(0, $name);
  58220. configuration.push(new A.ConfiguredVariable($name, expression, guarded, span));
  58221. if (!t1.scanChar$1(44))
  58222. break;
  58223. _this.whitespace$0();
  58224. if (!_this._lookingAtExpression$0())
  58225. break;
  58226. }
  58227. t1.expectChar$1(41);
  58228. return configuration;
  58229. },
  58230. _stylesheet$_configuration$0() {
  58231. return this._stylesheet$_configuration$1$allowGuarded(false);
  58232. },
  58233. _warnRule$1(start) {
  58234. var value = this._expression$0();
  58235. this.expectStatementSeparator$1("@warn rule");
  58236. return new A.WarnRule(value, this.scanner.spanFrom$1(start));
  58237. },
  58238. _whileRule$2(start, child) {
  58239. var _this = this,
  58240. wasInControlDirective = _this._inControlDirective;
  58241. _this._inControlDirective = true;
  58242. return _this._withChildren$3(child, start, new A.StylesheetParser__whileRule_closure(_this, wasInControlDirective, _this._expression$0()));
  58243. },
  58244. unknownAtRule$2(start, $name) {
  58245. var t2, t3, rule, _this = this, t1 = {},
  58246. wasInUnknownAtRule = _this._stylesheet$_inUnknownAtRule;
  58247. _this._stylesheet$_inUnknownAtRule = true;
  58248. t1.value = null;
  58249. t2 = _this.scanner;
  58250. t3 = t2.peekChar$0() !== 33 && !_this.atEndOfStatement$0() ? t1.value = _this.almostAnyValue$0() : null;
  58251. if (_this.lookingAtChildren$0())
  58252. rule = _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser_unknownAtRule_closure(t1, $name));
  58253. else {
  58254. _this.expectStatementSeparator$0();
  58255. rule = A.AtRule$($name, t2.spanFrom$1(start), null, t3);
  58256. }
  58257. _this._stylesheet$_inUnknownAtRule = wasInUnknownAtRule;
  58258. return rule;
  58259. },
  58260. _disallowedAtRule$1(start) {
  58261. this.almostAnyValue$0();
  58262. this.error$2(0, "This at-rule is not allowed here.", this.scanner.spanFrom$1(start));
  58263. },
  58264. _argumentDeclaration$0() {
  58265. var $arguments, named, restArgument, t3, $name, defaultValue, endPosition, t4, t5, _this = this,
  58266. t1 = _this.scanner,
  58267. t2 = t1._string_scanner$_position;
  58268. t1.expectChar$1(40);
  58269. _this.whitespace$0();
  58270. $arguments = A._setArrayType([], type$.JSArray_Argument);
  58271. named = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
  58272. while (true) {
  58273. if (!(t1.peekChar$0() === 36)) {
  58274. restArgument = null;
  58275. break;
  58276. }
  58277. t3 = t1._string_scanner$_position;
  58278. t1.expectChar$1(36);
  58279. $name = _this.identifier$1$normalize(true);
  58280. _this.whitespace$0();
  58281. if (t1.scanChar$1(58)) {
  58282. _this.whitespace$0();
  58283. defaultValue = _this.expressionUntilComma$0();
  58284. } else {
  58285. if (t1.scanChar$1(46)) {
  58286. t1.expectChar$1(46);
  58287. t1.expectChar$1(46);
  58288. _this.whitespace$0();
  58289. restArgument = $name;
  58290. break;
  58291. }
  58292. defaultValue = null;
  58293. }
  58294. endPosition = t1._string_scanner$_position;
  58295. t4 = t1._sourceFile;
  58296. t5 = new A._FileSpan(t4, t3, endPosition);
  58297. t5._FileSpan$3(t4, t3, endPosition);
  58298. $arguments.push(new A.Argument($name, defaultValue, t5));
  58299. if (!named.add$1(0, $name))
  58300. _this.error$2(0, "Duplicate argument.", B.JSArray_methods.get$last($arguments).span);
  58301. if (!t1.scanChar$1(44)) {
  58302. restArgument = null;
  58303. break;
  58304. }
  58305. _this.whitespace$0();
  58306. }
  58307. t1.expectChar$1(41);
  58308. t1 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  58309. return new A.ArgumentDeclaration(A.List_List$unmodifiable($arguments, type$.Argument), restArgument, t1);
  58310. },
  58311. _argumentInvocation$2$allowEmptySecondArg$mixin(allowEmptySecondArg, mixin) {
  58312. var positional, t3, t4, named, keywordRest, t5, rest, expression, t6, t7, result, _this = this, _null = null,
  58313. t1 = _this.scanner,
  58314. t2 = t1._string_scanner$_position;
  58315. t1.expectChar$1(40);
  58316. _this.whitespace$0();
  58317. positional = A._setArrayType([], type$.JSArray_Expression);
  58318. t3 = type$.String;
  58319. t4 = type$.Expression;
  58320. named = A.LinkedHashMap_LinkedHashMap$_empty(t3, t4);
  58321. t5 = !mixin;
  58322. rest = _null;
  58323. while (true) {
  58324. if (!_this._lookingAtExpression$0()) {
  58325. keywordRest = _null;
  58326. break;
  58327. }
  58328. expression = _this.expressionUntilComma$1$singleEquals(t5);
  58329. _this.whitespace$0();
  58330. if (expression instanceof A.VariableExpression && t1.scanChar$1(58)) {
  58331. _this.whitespace$0();
  58332. t6 = expression.name;
  58333. if (named.containsKey$1(t6))
  58334. _this.error$2(0, "Duplicate argument.", expression.span);
  58335. named.$indexSet(0, t6, _this.expressionUntilComma$1$singleEquals(t5));
  58336. } else if (t1.scanChar$1(46)) {
  58337. t1.expectChar$1(46);
  58338. t1.expectChar$1(46);
  58339. if (rest != null) {
  58340. _this.whitespace$0();
  58341. keywordRest = expression;
  58342. break;
  58343. }
  58344. rest = expression;
  58345. } else if (named.__js_helper$_length !== 0)
  58346. _this.error$2(0, string$.Positi, expression.get$span(expression));
  58347. else
  58348. positional.push(expression);
  58349. _this.whitespace$0();
  58350. if (!t1.scanChar$1(44)) {
  58351. keywordRest = _null;
  58352. break;
  58353. }
  58354. _this.whitespace$0();
  58355. if (allowEmptySecondArg && positional.length === 1 && named.__js_helper$_length === 0 && rest == null && t1.peekChar$0() === 41) {
  58356. t5 = t1._sourceFile;
  58357. t6 = t1._string_scanner$_position;
  58358. new A.FileLocation(t5, t6).FileLocation$_$2(t5, t6);
  58359. t7 = new A._FileSpan(t5, t6, t6);
  58360. t7._FileSpan$3(t5, t6, t6);
  58361. t6 = A._setArrayType([""], type$.JSArray_Object);
  58362. result = A.List_List$from(t6, false, type$.Object);
  58363. result.fixed$length = Array;
  58364. result.immutable$list = Array;
  58365. t5 = new A.Interpolation(result, t7);
  58366. t5.Interpolation$2(t6, t7);
  58367. positional.push(new A.StringExpression(t5, false));
  58368. keywordRest = _null;
  58369. break;
  58370. }
  58371. }
  58372. t1.expectChar$1(41);
  58373. t1 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  58374. return new A.ArgumentInvocation(A.List_List$unmodifiable(positional, t4), A.ConstantMap_ConstantMap$from(named, t3, t4), rest, keywordRest, t1);
  58375. },
  58376. _argumentInvocation$0() {
  58377. return this._argumentInvocation$2$allowEmptySecondArg$mixin(false, false);
  58378. },
  58379. _argumentInvocation$1$allowEmptySecondArg(allowEmptySecondArg) {
  58380. return this._argumentInvocation$2$allowEmptySecondArg$mixin(allowEmptySecondArg, false);
  58381. },
  58382. _argumentInvocation$1$mixin(mixin) {
  58383. return this._argumentInvocation$2$allowEmptySecondArg$mixin(false, mixin);
  58384. },
  58385. _expression$3$bracketList$singleEquals$until(bracketList, singleEquals, until) {
  58386. var t2, beforeBracket, start, wasInExpression, wasInParentheses, resetState, resolveOneOperation, resolveOperations, addSingleExpression, addOperator, resolveSpaceExpressions, t3, _3_0, _1_0, t4, _3_28, _2_0, _3_32, _3_40, commaExpressions, spaceExpressions, singleExpression, _this = this,
  58387. _s20_ = "Expected expression.",
  58388. _box_0 = {},
  58389. t1 = until != null;
  58390. if (t1 && until.call$0())
  58391. _this.scanner.error$1(0, _s20_);
  58392. if (bracketList) {
  58393. t2 = _this.scanner;
  58394. beforeBracket = new A._SpanScannerState(t2, t2._string_scanner$_position);
  58395. t2.expectChar$1(91);
  58396. _this.whitespace$0();
  58397. if (t2.scanChar$1(93)) {
  58398. t1 = A._setArrayType([], type$.JSArray_Expression);
  58399. t2 = t2.spanFrom$1(beforeBracket);
  58400. return new A.ListExpression(A.List_List$unmodifiable(t1, type$.Expression), B.ListSeparator_undecided_null_undecided, true, t2);
  58401. }
  58402. } else
  58403. beforeBracket = null;
  58404. t2 = _this.scanner;
  58405. start = new A._SpanScannerState(t2, t2._string_scanner$_position);
  58406. wasInExpression = _this._inExpression;
  58407. wasInParentheses = _this._inParentheses;
  58408. _this._inExpression = true;
  58409. _box_0.operands_ = _box_0.operators_ = _box_0.spaceExpressions_ = _box_0.commaExpressions_ = null;
  58410. _box_0.allowSlash = true;
  58411. _box_0.singleExpression_ = _this._singleExpression$0();
  58412. resetState = new A.StylesheetParser__expression_resetState(_box_0, _this, start);
  58413. resolveOneOperation = new A.StylesheetParser__expression_resolveOneOperation(_box_0, _this);
  58414. resolveOperations = new A.StylesheetParser__expression_resolveOperations(_box_0, resolveOneOperation);
  58415. addSingleExpression = new A.StylesheetParser__expression_addSingleExpression(_box_0, _this, resetState, resolveOperations);
  58416. addOperator = new A.StylesheetParser__expression_addOperator(_box_0, _this, resolveOneOperation);
  58417. resolveSpaceExpressions = new A.StylesheetParser__expression_resolveSpaceExpressions(_box_0, _this, resolveOperations);
  58418. for (t3 = type$.JSArray_Expression; true;) {
  58419. _this.whitespace$0();
  58420. if (t1 && until.call$0())
  58421. break;
  58422. _3_0 = t2.peekChar$0();
  58423. if (_3_0 == null)
  58424. break;
  58425. if (40 === _3_0) {
  58426. addSingleExpression.call$1(_this.parentheses$0());
  58427. continue;
  58428. }
  58429. if (91 === _3_0) {
  58430. addSingleExpression.call$1(_this._expression$1$bracketList(true));
  58431. continue;
  58432. }
  58433. if (36 === _3_0) {
  58434. addSingleExpression.call$1(_this._variable$0());
  58435. continue;
  58436. }
  58437. if (38 === _3_0) {
  58438. addSingleExpression.call$1(_this._selector$0());
  58439. continue;
  58440. }
  58441. if (39 === _3_0 || 34 === _3_0) {
  58442. addSingleExpression.call$1(_this.interpolatedString$0());
  58443. continue;
  58444. }
  58445. if (35 === _3_0) {
  58446. addSingleExpression.call$1(_this._hashExpression$0());
  58447. continue;
  58448. }
  58449. if (61 === _3_0) {
  58450. t2.readChar$0();
  58451. if (singleEquals && t2.peekChar$0() !== 61)
  58452. addOperator.call$1(B.BinaryOperator_wdM);
  58453. else {
  58454. t2.expectChar$1(61);
  58455. addOperator.call$1(B.BinaryOperator_g8k);
  58456. }
  58457. continue;
  58458. }
  58459. if (33 === _3_0) {
  58460. $label0$1: {
  58461. _1_0 = t2.peekChar$1(1);
  58462. if (61 === _1_0) {
  58463. t2.readChar$0();
  58464. t2.readChar$0();
  58465. addOperator.call$1(B.BinaryOperator_icU);
  58466. break $label0$1;
  58467. }
  58468. if (_1_0 != null)
  58469. if (105 !== _1_0)
  58470. if (73 !== _1_0)
  58471. t4 = _1_0 === 32 || _1_0 === 9 || _1_0 === 10 || _1_0 === 13 || _1_0 === 12;
  58472. else
  58473. t4 = true;
  58474. else
  58475. t4 = true;
  58476. else
  58477. t4 = true;
  58478. if (t4) {
  58479. addSingleExpression.call$1(_this._importantExpression$0());
  58480. break $label0$1;
  58481. }
  58482. break;
  58483. }
  58484. continue;
  58485. }
  58486. if (60 === _3_0) {
  58487. t2.readChar$0();
  58488. addOperator.call$1(t2.scanChar$1(61) ? B.BinaryOperator_SPQ : B.BinaryOperator_miq);
  58489. continue;
  58490. }
  58491. if (62 === _3_0) {
  58492. t2.readChar$0();
  58493. addOperator.call$1(t2.scanChar$1(61) ? B.BinaryOperator_oEm : B.BinaryOperator_bEa);
  58494. continue;
  58495. }
  58496. if (42 === _3_0) {
  58497. t2.readChar$0();
  58498. addOperator.call$1(B.BinaryOperator_2No);
  58499. continue;
  58500. }
  58501. _3_28 = 43 === _3_0;
  58502. if (_3_28 && _box_0.singleExpression_ == null) {
  58503. addSingleExpression.call$1(_this._unaryOperation$0());
  58504. continue;
  58505. }
  58506. if (_3_28) {
  58507. t2.readChar$0();
  58508. addOperator.call$1(B.BinaryOperator_u15);
  58509. continue;
  58510. }
  58511. if (45 === _3_0) {
  58512. _2_0 = t2.peekChar$1(1);
  58513. if (A._isInt(_2_0) && _2_0 >= 48 && _2_0 <= 57 || 46 === _2_0)
  58514. if (_box_0.singleExpression_ != null) {
  58515. t4 = t2.peekChar$1(-1);
  58516. t4 = t4 === 32 || t4 === 9 || t4 === 10 || t4 === 13 || t4 === 12;
  58517. } else
  58518. t4 = true;
  58519. else
  58520. t4 = false;
  58521. if (t4)
  58522. addSingleExpression.call$1(_this._number$0());
  58523. else if (_this._lookingAtInterpolatedIdentifier$0())
  58524. addSingleExpression.call$1(_this.identifierLike$0());
  58525. else if (_box_0.singleExpression_ == null)
  58526. addSingleExpression.call$1(_this._unaryOperation$0());
  58527. else {
  58528. t2.readChar$0();
  58529. addOperator.call$1(B.BinaryOperator_SjO);
  58530. }
  58531. continue;
  58532. }
  58533. _3_32 = 47 === _3_0;
  58534. if (_3_32 && _box_0.singleExpression_ == null) {
  58535. addSingleExpression.call$1(_this._unaryOperation$0());
  58536. continue;
  58537. }
  58538. if (_3_32) {
  58539. t2.readChar$0();
  58540. addOperator.call$1(B.BinaryOperator_U77);
  58541. continue;
  58542. }
  58543. if (37 === _3_0) {
  58544. t2.readChar$0();
  58545. addOperator.call$1(B.BinaryOperator_KNx);
  58546. continue;
  58547. }
  58548. if (_3_0 >= 48 && _3_0 <= 57) {
  58549. addSingleExpression.call$1(_this._number$0());
  58550. continue;
  58551. }
  58552. _3_40 = 46 === _3_0;
  58553. if (_3_40 && t2.peekChar$1(1) === 46)
  58554. break;
  58555. if (_3_40) {
  58556. addSingleExpression.call$1(_this._number$0());
  58557. continue;
  58558. }
  58559. if (97 === _3_0 && !_this.get$plainCss() && _this.scanIdentifier$1("and")) {
  58560. addOperator.call$1(B.BinaryOperator_eDt);
  58561. continue;
  58562. }
  58563. if (111 === _3_0 && !_this.get$plainCss() && _this.scanIdentifier$1("or")) {
  58564. addOperator.call$1(B.BinaryOperator_qNM);
  58565. continue;
  58566. }
  58567. if ((117 === _3_0 || 85 === _3_0) && t2.peekChar$1(1) === 43) {
  58568. addSingleExpression.call$1(_this._unicodeRange$0());
  58569. continue;
  58570. }
  58571. if (!(_3_0 >= 97 && _3_0 <= 122))
  58572. t4 = _3_0 >= 65 && _3_0 <= 90 || 95 === _3_0 || 92 === _3_0 || _3_0 >= 128;
  58573. else
  58574. t4 = true;
  58575. if (t4) {
  58576. addSingleExpression.call$1(_this.identifierLike$0());
  58577. continue;
  58578. }
  58579. if (44 === _3_0) {
  58580. if (_this._inParentheses) {
  58581. _this._inParentheses = false;
  58582. if (_box_0.allowSlash) {
  58583. resetState.call$0();
  58584. continue;
  58585. }
  58586. }
  58587. commaExpressions = _box_0.commaExpressions_;
  58588. if (commaExpressions == null)
  58589. commaExpressions = _box_0.commaExpressions_ = A._setArrayType([], t3);
  58590. if (_box_0.singleExpression_ == null)
  58591. t2.error$1(0, _s20_);
  58592. resolveSpaceExpressions.call$0();
  58593. t4 = _box_0.singleExpression_;
  58594. t4.toString;
  58595. commaExpressions.push(t4);
  58596. t2.readChar$0();
  58597. _box_0.allowSlash = true;
  58598. _box_0.singleExpression_ = null;
  58599. continue;
  58600. }
  58601. break;
  58602. }
  58603. if (bracketList)
  58604. t2.expectChar$1(93);
  58605. commaExpressions = _box_0.commaExpressions_;
  58606. spaceExpressions = _box_0.spaceExpressions_;
  58607. if (commaExpressions != null) {
  58608. resolveSpaceExpressions.call$0();
  58609. _this._inParentheses = wasInParentheses;
  58610. singleExpression = _box_0.singleExpression_;
  58611. if (singleExpression != null)
  58612. commaExpressions.push(singleExpression);
  58613. _this._inExpression = wasInExpression;
  58614. t1 = t2.spanFrom$1(beforeBracket == null ? start : beforeBracket);
  58615. return new A.ListExpression(A.List_List$unmodifiable(commaExpressions, type$.Expression), B.ListSeparator_ECn, bracketList, t1);
  58616. } else if (bracketList && spaceExpressions != null) {
  58617. resolveOperations.call$0();
  58618. _this._inExpression = wasInExpression;
  58619. t1 = _box_0.singleExpression_;
  58620. t1.toString;
  58621. spaceExpressions.push(t1);
  58622. beforeBracket.toString;
  58623. t2 = t2.spanFrom$1(beforeBracket);
  58624. return new A.ListExpression(A.List_List$unmodifiable(spaceExpressions, type$.Expression), B.ListSeparator_nbm, true, t2);
  58625. } else {
  58626. resolveSpaceExpressions.call$0();
  58627. if (bracketList) {
  58628. t1 = _box_0.singleExpression_;
  58629. t1.toString;
  58630. t3 = A._setArrayType([t1], t3);
  58631. beforeBracket.toString;
  58632. t2 = t2.spanFrom$1(beforeBracket);
  58633. _box_0.singleExpression_ = new A.ListExpression(A.List_List$unmodifiable(t3, type$.Expression), B.ListSeparator_undecided_null_undecided, true, t2);
  58634. }
  58635. _this._inExpression = wasInExpression;
  58636. t1 = _box_0.singleExpression_;
  58637. t1.toString;
  58638. return t1;
  58639. }
  58640. },
  58641. _expression$0() {
  58642. return this._expression$3$bracketList$singleEquals$until(false, false, null);
  58643. },
  58644. _expression$2$singleEquals$until(singleEquals, until) {
  58645. return this._expression$3$bracketList$singleEquals$until(false, singleEquals, until);
  58646. },
  58647. _expression$1$bracketList(bracketList) {
  58648. return this._expression$3$bracketList$singleEquals$until(bracketList, false, null);
  58649. },
  58650. _expression$1$until(until) {
  58651. return this._expression$3$bracketList$singleEquals$until(false, false, until);
  58652. },
  58653. expressionUntilComma$1$singleEquals(singleEquals) {
  58654. return this._expression$2$singleEquals$until(singleEquals, new A.StylesheetParser_expressionUntilComma_closure(this));
  58655. },
  58656. expressionUntilComma$0() {
  58657. return this.expressionUntilComma$1$singleEquals(false);
  58658. },
  58659. _isSlashOperand$1(expression) {
  58660. var t1;
  58661. if (!(expression instanceof A.NumberExpression))
  58662. if (!(expression instanceof A.FunctionExpression))
  58663. t1 = expression instanceof A.BinaryOperationExpression && expression.allowsSlash;
  58664. else
  58665. t1 = true;
  58666. else
  58667. t1 = true;
  58668. return t1;
  58669. },
  58670. _singleExpression$0() {
  58671. var next, t2, _this = this,
  58672. _s20_ = "Expected expression.",
  58673. t1 = _this.scanner,
  58674. _0_0 = t1.peekChar$0();
  58675. $label0$0: {
  58676. if (_0_0 == null)
  58677. t1.error$1(0, _s20_);
  58678. if (40 === _0_0) {
  58679. t1 = _this.parentheses$0();
  58680. break $label0$0;
  58681. }
  58682. if (47 === _0_0) {
  58683. t1 = _this._unaryOperation$0();
  58684. break $label0$0;
  58685. }
  58686. if (46 === _0_0) {
  58687. t1 = _this._number$0();
  58688. break $label0$0;
  58689. }
  58690. if (91 === _0_0) {
  58691. t1 = _this._expression$1$bracketList(true);
  58692. break $label0$0;
  58693. }
  58694. if (36 === _0_0) {
  58695. t1 = _this._variable$0();
  58696. break $label0$0;
  58697. }
  58698. if (38 === _0_0) {
  58699. t1 = _this._selector$0();
  58700. break $label0$0;
  58701. }
  58702. if (39 === _0_0 || 34 === _0_0) {
  58703. t1 = _this.interpolatedString$0();
  58704. break $label0$0;
  58705. }
  58706. if (35 === _0_0) {
  58707. t1 = _this._hashExpression$0();
  58708. break $label0$0;
  58709. }
  58710. if (43 === _0_0) {
  58711. next = t1.peekChar$1(1);
  58712. t1 = next != null && next >= 48 && next <= 57 || next === 46 ? _this._number$0() : _this._unaryOperation$0();
  58713. break $label0$0;
  58714. }
  58715. if (45 === _0_0) {
  58716. t1 = _this._minusExpression$0();
  58717. break $label0$0;
  58718. }
  58719. if (33 === _0_0) {
  58720. t1 = _this._importantExpression$0();
  58721. break $label0$0;
  58722. }
  58723. if ((117 === _0_0 || 85 === _0_0) && t1.peekChar$1(1) === 43) {
  58724. t1 = _this._unicodeRange$0();
  58725. break $label0$0;
  58726. }
  58727. if (_0_0 >= 48 && _0_0 <= 57) {
  58728. t1 = _this._number$0();
  58729. break $label0$0;
  58730. }
  58731. if (!(_0_0 >= 97 && _0_0 <= 122))
  58732. t2 = _0_0 >= 65 && _0_0 <= 90 || 95 === _0_0 || 92 === _0_0 || _0_0 >= 128;
  58733. else
  58734. t2 = true;
  58735. if (t2) {
  58736. t1 = _this.identifierLike$0();
  58737. break $label0$0;
  58738. }
  58739. t1 = t1.error$1(0, _s20_);
  58740. }
  58741. return t1;
  58742. },
  58743. parentheses$0() {
  58744. var start, first, expressions, t1, t2, _this = this,
  58745. wasInParentheses = _this._inParentheses;
  58746. _this._inParentheses = true;
  58747. try {
  58748. t1 = _this.scanner;
  58749. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  58750. t1.expectChar$1(40);
  58751. _this.whitespace$0();
  58752. if (!_this._lookingAtExpression$0()) {
  58753. t1.expectChar$1(41);
  58754. t2 = A._setArrayType([], type$.JSArray_Expression);
  58755. t1 = t1.spanFrom$1(start);
  58756. t2 = A.List_List$unmodifiable(t2, type$.Expression);
  58757. return new A.ListExpression(t2, B.ListSeparator_undecided_null_undecided, false, t1);
  58758. }
  58759. first = _this.expressionUntilComma$0();
  58760. if (t1.scanChar$1(58)) {
  58761. _this.whitespace$0();
  58762. t1 = _this._stylesheet$_map$2(first, start);
  58763. return t1;
  58764. }
  58765. if (!t1.scanChar$1(44)) {
  58766. t1.expectChar$1(41);
  58767. t1 = t1.spanFrom$1(start);
  58768. return new A.ParenthesizedExpression(first, t1);
  58769. }
  58770. _this.whitespace$0();
  58771. expressions = A._setArrayType([first], type$.JSArray_Expression);
  58772. for (; true;) {
  58773. if (!_this._lookingAtExpression$0())
  58774. break;
  58775. J.add$1$ax(expressions, _this.expressionUntilComma$0());
  58776. if (!t1.scanChar$1(44))
  58777. break;
  58778. _this.whitespace$0();
  58779. }
  58780. t1.expectChar$1(41);
  58781. t1 = t1.spanFrom$1(start);
  58782. t2 = A.List_List$unmodifiable(expressions, type$.Expression);
  58783. return new A.ListExpression(t2, B.ListSeparator_ECn, false, t1);
  58784. } finally {
  58785. _this._inParentheses = wasInParentheses;
  58786. }
  58787. },
  58788. _stylesheet$_map$2(first, start) {
  58789. var t1, key, _this = this,
  58790. pairs = A._setArrayType([new A._Record_2(first, _this.expressionUntilComma$0())], type$.JSArray_Record_2_Expression_and_Expression);
  58791. for (t1 = _this.scanner; t1.scanChar$1(44);) {
  58792. _this.whitespace$0();
  58793. if (!_this._lookingAtExpression$0())
  58794. break;
  58795. key = _this.expressionUntilComma$0();
  58796. t1.expectChar$1(58);
  58797. _this.whitespace$0();
  58798. pairs.push(new A._Record_2(key, _this.expressionUntilComma$0()));
  58799. }
  58800. t1.expectChar$1(41);
  58801. t1 = t1.spanFrom$1(start);
  58802. return new A.MapExpression(A.List_List$unmodifiable(pairs, type$.Record_2_Expression_and_Expression), t1);
  58803. },
  58804. _hashExpression$0() {
  58805. var start, t2, identifier, buffer, t3, _this = this,
  58806. t1 = _this.scanner;
  58807. if (t1.peekChar$1(1) === 123)
  58808. return _this.identifierLike$0();
  58809. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  58810. t1.expectChar$1(35);
  58811. t2 = t1.peekChar$0();
  58812. if (t2 == null)
  58813. t2 = null;
  58814. else
  58815. t2 = t2 >= 48 && t2 <= 57;
  58816. if (t2 === true)
  58817. return new A.ColorExpression(_this._hexColorContents$1(start), t1.spanFrom$1(start));
  58818. t2 = t1._string_scanner$_position;
  58819. identifier = _this.interpolatedIdentifier$0();
  58820. if (_this._isHexColor$1(identifier)) {
  58821. t1.set$state(new A._SpanScannerState(t1, t2));
  58822. return new A.ColorExpression(_this._hexColorContents$1(start), t1.spanFrom$1(start));
  58823. }
  58824. t2 = new A.StringBuffer("");
  58825. buffer = new A.InterpolationBuffer(t2, A._setArrayType([], type$.JSArray_Object));
  58826. t3 = A.Primitives_stringFromCharCode(35);
  58827. t2._contents += t3;
  58828. buffer.addInterpolation$1(identifier);
  58829. return new A.StringExpression(buffer.interpolation$1(t1.spanFrom$1(start)), false);
  58830. },
  58831. _hexColorContents$1(start) {
  58832. var red, green, blue, alpha, digit4, t2, t3, t4, _this = this,
  58833. digit1 = _this._hexDigit$0(),
  58834. digit2 = _this._hexDigit$0(),
  58835. digit3 = _this._hexDigit$0(),
  58836. t1 = _this.scanner,
  58837. $self = t1.peekChar$0();
  58838. if (!($self != null && A.CharacterExtension_get_isHex($self))) {
  58839. red = (digit1 << 4 >>> 0) + digit1;
  58840. green = (digit2 << 4 >>> 0) + digit2;
  58841. blue = (digit3 << 4 >>> 0) + digit3;
  58842. alpha = null;
  58843. } else {
  58844. digit4 = _this._hexDigit$0();
  58845. $self = t1.peekChar$0();
  58846. t2 = $self != null && A.CharacterExtension_get_isHex($self);
  58847. t3 = digit1 << 4 >>> 0;
  58848. t4 = digit3 << 4 >>> 0;
  58849. if (!t2) {
  58850. red = t3 + digit1;
  58851. green = (digit2 << 4 >>> 0) + digit2;
  58852. blue = t4 + digit3;
  58853. alpha = ((digit4 << 4 >>> 0) + digit4) / 255;
  58854. } else {
  58855. red = t3 + digit2;
  58856. green = t4 + digit4;
  58857. blue = (_this._hexDigit$0() << 4 >>> 0) + _this._hexDigit$0();
  58858. $self = t1.peekChar$0();
  58859. alpha = $self != null && A.CharacterExtension_get_isHex($self) ? ((_this._hexDigit$0() << 4 >>> 0) + _this._hexDigit$0()) / 255 : null;
  58860. }
  58861. }
  58862. t2 = alpha == null;
  58863. t3 = t2 ? 1 : alpha;
  58864. return A.SassColor$rgbInternal(red, green, blue, t3, t2 ? new A.SpanColorFormat(t1.spanFrom$1(start)) : null);
  58865. },
  58866. _isHexColor$1(interpolation) {
  58867. var _0_2, t1,
  58868. plain = interpolation.get$asPlain();
  58869. if (typeof plain == "string") {
  58870. _0_2 = plain.length;
  58871. if (3 !== _0_2)
  58872. if (4 !== _0_2)
  58873. if (6 !== _0_2)
  58874. t1 = 8 === _0_2;
  58875. else
  58876. t1 = true;
  58877. else
  58878. t1 = true;
  58879. else
  58880. t1 = true;
  58881. } else
  58882. t1 = false;
  58883. if (t1) {
  58884. t1 = new A.CodeUnits(plain);
  58885. return t1.every$1(t1, new A.StylesheetParser__isHexColor_closure());
  58886. } else
  58887. return false;
  58888. },
  58889. _hexDigit$0() {
  58890. var t1 = this.scanner,
  58891. t2 = t1.peekChar$0();
  58892. t2 = t2 == null ? null : A.CharacterExtension_get_isHex(t2);
  58893. return t2 === true ? A.asHex(t1.readChar$0()) : t1.error$1(0, "Expected hex digit.");
  58894. },
  58895. _minusExpression$0() {
  58896. var _this = this,
  58897. _0_0 = _this.scanner.peekChar$1(1);
  58898. if (A._isInt(_0_0) && _0_0 >= 48 && _0_0 <= 57 || 46 === _0_0)
  58899. return _this._number$0();
  58900. if (_this._lookingAtInterpolatedIdentifier$0())
  58901. return _this.identifierLike$0();
  58902. return _this._unaryOperation$0();
  58903. },
  58904. _importantExpression$0() {
  58905. var t1 = this.scanner,
  58906. t2 = t1._string_scanner$_position;
  58907. t1.readChar$0();
  58908. this.whitespace$0();
  58909. this.expectIdentifier$1("important");
  58910. t2 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  58911. return new A.StringExpression(A.Interpolation$(A._setArrayType(["!important"], type$.JSArray_Object), t2), false);
  58912. },
  58913. _unaryOperation$0() {
  58914. var _this = this,
  58915. t1 = _this.scanner,
  58916. t2 = t1._string_scanner$_position,
  58917. operator = _this._unaryOperatorFor$1(t1.readChar$0());
  58918. if (operator == null)
  58919. t1.error$2$position(0, "Expected unary operator.", t1._string_scanner$_position - 1);
  58920. else if (_this.get$plainCss() && operator !== B.UnaryOperator_SJr)
  58921. t1.error$3$length$position(0, "Operators aren't allowed in plain CSS.", 1, t1._string_scanner$_position - 1);
  58922. _this.whitespace$0();
  58923. return new A.UnaryOperationExpression(operator, _this._singleExpression$0(), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  58924. },
  58925. _unaryOperatorFor$1(character) {
  58926. var t1;
  58927. $label0$0: {
  58928. if (43 === character) {
  58929. t1 = B.UnaryOperator_cLp;
  58930. break $label0$0;
  58931. }
  58932. if (45 === character) {
  58933. t1 = B.UnaryOperator_AiQ;
  58934. break $label0$0;
  58935. }
  58936. if (47 === character) {
  58937. t1 = B.UnaryOperator_SJr;
  58938. break $label0$0;
  58939. }
  58940. t1 = null;
  58941. break $label0$0;
  58942. }
  58943. return t1;
  58944. },
  58945. _number$0() {
  58946. var number, unit, _this = this,
  58947. t1 = _this.scanner,
  58948. t2 = t1._string_scanner$_position,
  58949. first = t1.peekChar$0(),
  58950. t3 = first !== 43;
  58951. if (!t3 || first === 45)
  58952. t1.readChar$0();
  58953. if (t1.peekChar$0() !== 46)
  58954. _this._consumeNaturalNumber$0();
  58955. _this._tryDecimal$1$allowTrailingDot(t1._string_scanner$_position !== t2 && t3 && first !== 45);
  58956. _this._tryExponent$0();
  58957. number = A.double_parse(t1.substring$1(0, t2));
  58958. if (t1.scanChar$1(37))
  58959. unit = "%";
  58960. else {
  58961. if (_this.lookingAtIdentifier$0())
  58962. t3 = t1.peekChar$0() !== 45 || t1.peekChar$1(1) !== 45;
  58963. else
  58964. t3 = false;
  58965. unit = t3 ? _this.identifier$1$unit(true) : null;
  58966. }
  58967. return new A.NumberExpression(number, unit, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  58968. },
  58969. _consumeNaturalNumber$0() {
  58970. var $self,
  58971. t1 = this.scanner,
  58972. t2 = t1.readChar$0();
  58973. if (!(t2 >= 48 && t2 <= 57))
  58974. t1.error$2$position(0, "Expected digit.", t1._string_scanner$_position - 1);
  58975. while (true) {
  58976. $self = t1.peekChar$0();
  58977. if (!($self != null && $self >= 48 && $self <= 57))
  58978. break;
  58979. t1.readChar$0();
  58980. }
  58981. },
  58982. _tryDecimal$1$allowTrailingDot(allowTrailingDot) {
  58983. var $self,
  58984. t1 = this.scanner;
  58985. if (t1.peekChar$0() !== 46)
  58986. return;
  58987. $self = t1.peekChar$1(1);
  58988. if (!($self != null && $self >= 48 && $self <= 57)) {
  58989. if (allowTrailingDot)
  58990. return;
  58991. t1.error$2$position(0, "Expected digit.", t1._string_scanner$_position + 1);
  58992. }
  58993. t1.readChar$0();
  58994. while (true) {
  58995. $self = t1.peekChar$0();
  58996. if (!($self != null && $self >= 48 && $self <= 57))
  58997. break;
  58998. t1.readChar$0();
  58999. }
  59000. },
  59001. _tryExponent$0() {
  59002. var next, $self,
  59003. t1 = this.scanner,
  59004. first = t1.peekChar$0();
  59005. if (first !== 101 && first !== 69)
  59006. return;
  59007. next = t1.peekChar$1(1);
  59008. if (!(next != null && next >= 48 && next <= 57) && next !== 45 && next !== 43)
  59009. return;
  59010. t1.readChar$0();
  59011. if (43 === next || 45 === next)
  59012. t1.readChar$0();
  59013. $self = t1.peekChar$0();
  59014. if (!($self != null && $self >= 48 && $self <= 57))
  59015. t1.error$1(0, "Expected digit.");
  59016. while (true) {
  59017. $self = t1.peekChar$0();
  59018. if (!($self != null && $self >= 48 && $self <= 57))
  59019. break;
  59020. t1.readChar$0();
  59021. }
  59022. },
  59023. _unicodeRange$0() {
  59024. var firstRangeLength, hasQuestionMark, t2, secondRangeLength, _this = this,
  59025. _s26_ = "Expected at most 6 digits.",
  59026. t1 = _this.scanner,
  59027. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  59028. _this.expectIdentChar$1(117);
  59029. t1.expectChar$1(43);
  59030. for (firstRangeLength = 0; _this.scanCharIf$1(new A.StylesheetParser__unicodeRange_closure());)
  59031. ++firstRangeLength;
  59032. for (hasQuestionMark = false; t1.scanChar$1(63); hasQuestionMark = true)
  59033. ++firstRangeLength;
  59034. if (firstRangeLength === 0)
  59035. t1.error$1(0, 'Expected hex digit or "?".');
  59036. else if (firstRangeLength > 6)
  59037. _this.error$2(0, _s26_, t1.spanFrom$1(start));
  59038. else if (hasQuestionMark) {
  59039. t2 = t1.substring$1(0, start.position);
  59040. t1 = t1.spanFrom$1(start);
  59041. return new A.StringExpression(A.Interpolation$(A._setArrayType([t2], type$.JSArray_Object), t1), false);
  59042. }
  59043. if (t1.scanChar$1(45)) {
  59044. t2 = t1._string_scanner$_position;
  59045. for (secondRangeLength = 0; _this.scanCharIf$1(new A.StylesheetParser__unicodeRange_closure0());)
  59046. ++secondRangeLength;
  59047. if (secondRangeLength === 0)
  59048. t1.error$1(0, "Expected hex digit.");
  59049. else if (secondRangeLength > 6)
  59050. _this.error$2(0, _s26_, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  59051. }
  59052. if (_this._lookingAtInterpolatedIdentifierBody$0())
  59053. t1.error$1(0, "Expected end of identifier.");
  59054. t2 = t1.substring$1(0, start.position);
  59055. t1 = t1.spanFrom$1(start);
  59056. return new A.StringExpression(A.Interpolation$(A._setArrayType([t2], type$.JSArray_Object), t1), false);
  59057. },
  59058. _variable$0() {
  59059. var _this = this,
  59060. t1 = _this.scanner,
  59061. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  59062. $name = _this.variableName$0();
  59063. if (_this.get$plainCss())
  59064. _this.error$2(0, string$.Sass_v, t1.spanFrom$1(start));
  59065. return new A.VariableExpression(null, $name, t1.spanFrom$1(start));
  59066. },
  59067. _selector$0() {
  59068. var t1, start, _this = this;
  59069. if (_this.get$plainCss())
  59070. _this.scanner.error$2$length(0, string$.The_pa, 1);
  59071. t1 = _this.scanner;
  59072. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  59073. t1.expectChar$1(38);
  59074. if (t1.scanChar$1(38)) {
  59075. _this.logger.warn$2$span(0, string$.In_Sas, t1.spanFrom$1(start));
  59076. t1.set$position(t1._string_scanner$_position - 1);
  59077. }
  59078. return new A.SelectorExpression(t1.spanFrom$1(start));
  59079. },
  59080. interpolatedString$0() {
  59081. var t3, t4, buffer, _0_0, second, t5,
  59082. t1 = this.scanner,
  59083. t2 = t1._string_scanner$_position,
  59084. quote = t1.readChar$0();
  59085. if (quote !== 39 && quote !== 34)
  59086. t1.error$2$position(0, "Expected string.", t2);
  59087. t3 = new A.StringBuffer("");
  59088. t4 = A._setArrayType([], type$.JSArray_Object);
  59089. buffer = new A.InterpolationBuffer(t3, t4);
  59090. for (; true;) {
  59091. _0_0 = t1.peekChar$0();
  59092. if (_0_0 === quote) {
  59093. t1.readChar$0();
  59094. break;
  59095. }
  59096. if (_0_0 == null || _0_0 === 10 || _0_0 === 13 || _0_0 === 12)
  59097. t1.error$1(0, "Expected " + A.Primitives_stringFromCharCode(quote) + ".");
  59098. if (92 === _0_0) {
  59099. second = t1.peekChar$1(1);
  59100. if (second === 10 || second === 13 || second === 12) {
  59101. t1.readChar$0();
  59102. t1.readChar$0();
  59103. if (second === 13)
  59104. t1.scanChar$1(10);
  59105. } else {
  59106. t5 = A.Primitives_stringFromCharCode(A.consumeEscapedCharacter(t1));
  59107. t3._contents += t5;
  59108. }
  59109. continue;
  59110. }
  59111. if (35 === _0_0 && t1.peekChar$1(1) === 123) {
  59112. t5 = this.singleInterpolation$0();
  59113. buffer._flushText$0();
  59114. t4.push(t5);
  59115. continue;
  59116. }
  59117. t5 = A.Primitives_stringFromCharCode(t1.readChar$0());
  59118. t3._contents += t5;
  59119. }
  59120. return new A.StringExpression(buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2))), true);
  59121. },
  59122. identifierLike$0() {
  59123. var invocation, expression, _0_0, _1_0, _2_0, _2_2, _2_4, _this = this,
  59124. t1 = _this.scanner,
  59125. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  59126. identifier = _this.interpolatedIdentifier$0(),
  59127. plain = identifier.get$asPlain(),
  59128. lower = A._Cell$(),
  59129. t2 = plain != null;
  59130. if (t2) {
  59131. if (plain === "if" && t1.peekChar$0() === 40) {
  59132. invocation = _this._argumentInvocation$0();
  59133. return new A.IfExpression(invocation, identifier.span.expand$1(0, invocation.span));
  59134. } else if (plain === "not") {
  59135. _this.whitespace$0();
  59136. expression = _this._singleExpression$0();
  59137. return new A.UnaryOperationExpression(B.UnaryOperator_not_not_not, expression, identifier.span.expand$1(0, expression.get$span(expression)));
  59138. }
  59139. lower.__late_helper$_value = plain.toLowerCase();
  59140. if (t1.peekChar$0() !== 40) {
  59141. switch (plain) {
  59142. case "false":
  59143. return new A.BooleanExpression(false, identifier.span);
  59144. case "null":
  59145. return new A.NullExpression(identifier.span);
  59146. case "true":
  59147. return new A.BooleanExpression(true, identifier.span);
  59148. }
  59149. _0_0 = $.$get$colorsByName().$index(0, lower._readLocal$0());
  59150. if (_0_0 != null) {
  59151. t1 = identifier.span;
  59152. return new A.ColorExpression(A.SassColor$rgbInternal(_0_0.get$red(0), _0_0.get$green(0), _0_0.get$blue(0), _0_0._alpha, new A.SpanColorFormat(t1)), t1);
  59153. }
  59154. }
  59155. _1_0 = _this.trySpecialFunction$2(lower._readLocal$0(), start);
  59156. if (_1_0 != null)
  59157. return _1_0;
  59158. }
  59159. _2_0 = t1.peekChar$0();
  59160. _2_2 = 46 === _2_0;
  59161. if (_2_2 && t1.peekChar$1(1) === 46)
  59162. return new A.StringExpression(identifier, false);
  59163. if (_2_2) {
  59164. t1.readChar$0();
  59165. if (t2)
  59166. return _this.namespacedExpression$2(plain, start);
  59167. _this.error$2(0, string$.Interpn, identifier.span);
  59168. }
  59169. _2_4 = 40 === _2_0;
  59170. if (_2_4 && t2) {
  59171. t2 = _this._argumentInvocation$1$allowEmptySecondArg(J.$eq$(lower._readLocal$0(), "var"));
  59172. t1 = t1.spanFrom$1(start);
  59173. return new A.FunctionExpression(null, A.stringReplaceAllUnchecked(plain, "_", "-"), plain, t2, t1);
  59174. }
  59175. if (_2_4)
  59176. return new A.InterpolatedFunctionExpression(identifier, _this._argumentInvocation$0(), t1.spanFrom$1(start));
  59177. return new A.StringExpression(identifier, false);
  59178. },
  59179. namespacedExpression$2(namespace, start) {
  59180. var $name, t2, t3, _this = this,
  59181. t1 = _this.scanner;
  59182. if (t1.peekChar$0() === 36) {
  59183. $name = _this.variableName$0();
  59184. _this._assertPublic$2($name, new A.StylesheetParser_namespacedExpression_closure(_this, start));
  59185. return new A.VariableExpression(namespace, $name, t1.spanFrom$1(start));
  59186. }
  59187. t2 = _this._publicIdentifier$0();
  59188. t3 = _this._argumentInvocation$0();
  59189. t1 = t1.spanFrom$1(start);
  59190. return new A.FunctionExpression(namespace, A.stringReplaceAllUnchecked(t2, "_", "-"), t2, t3, t1);
  59191. },
  59192. trySpecialFunction$2($name, start) {
  59193. var t1, buffer, t2, next, t3, _this = this,
  59194. normalized = A.unvendor($name);
  59195. $label0$0: {
  59196. if (!("calc" === normalized && normalized !== $name && _this.scanner.scanChar$1(40)))
  59197. t1 = ("element" === normalized || "expression" === normalized) && _this.scanner.scanChar$1(40);
  59198. else
  59199. t1 = true;
  59200. if (t1) {
  59201. t1 = new A.StringBuffer("");
  59202. buffer = new A.InterpolationBuffer(t1, A._setArrayType([], type$.JSArray_Object));
  59203. t1._contents = "" + $name;
  59204. t2 = A.Primitives_stringFromCharCode(40);
  59205. t1._contents += t2;
  59206. break $label0$0;
  59207. }
  59208. if ("progid" === normalized && _this.scanner.scanChar$1(58)) {
  59209. t1 = new A.StringBuffer("");
  59210. buffer = new A.InterpolationBuffer(t1, A._setArrayType([], type$.JSArray_Object));
  59211. t1._contents = "" + $name;
  59212. t2 = A.Primitives_stringFromCharCode(58);
  59213. t1._contents += t2;
  59214. t2 = _this.scanner;
  59215. next = t2.peekChar$0();
  59216. while (true) {
  59217. if (next != null) {
  59218. if (!(next >= 97 && next <= 122))
  59219. t3 = next >= 65 && next <= 90;
  59220. else
  59221. t3 = true;
  59222. t3 = t3 || next === 46;
  59223. } else
  59224. t3 = false;
  59225. if (!t3)
  59226. break;
  59227. t3 = A.Primitives_stringFromCharCode(t2.readChar$0());
  59228. t1._contents += t3;
  59229. next = t2.peekChar$0();
  59230. }
  59231. t2.expectChar$1(40);
  59232. t2 = A.Primitives_stringFromCharCode(40);
  59233. t1._contents += t2;
  59234. break $label0$0;
  59235. }
  59236. if ("url" === normalized)
  59237. return A.NullableExtension_andThen(_this._tryUrlContents$1(start), new A.StylesheetParser_trySpecialFunction_closure());
  59238. return null;
  59239. }
  59240. buffer.addInterpolation$1(_this._interpolatedDeclarationValue$1$allowEmpty(true));
  59241. t1 = _this.scanner;
  59242. t1.expectChar$1(41);
  59243. t2 = buffer._interpolation_buffer$_text;
  59244. t3 = A.Primitives_stringFromCharCode(41);
  59245. t2._contents += t3;
  59246. return new A.StringExpression(buffer.interpolation$1(t1.spanFrom$1(start)), false);
  59247. },
  59248. _tryUrlContents$2$name(start, $name) {
  59249. var t3, t4, buffer, t5, _0_0, _0_6, endPosition, result, _this = this,
  59250. t1 = _this.scanner,
  59251. t2 = t1._string_scanner$_position;
  59252. if (!t1.scanChar$1(40))
  59253. return null;
  59254. _this.whitespaceWithoutComments$0();
  59255. t3 = new A.StringBuffer("");
  59256. t4 = A._setArrayType([], type$.JSArray_Object);
  59257. buffer = new A.InterpolationBuffer(t3, t4);
  59258. t3._contents = "" + ($name == null ? "url" : $name);
  59259. t5 = A.Primitives_stringFromCharCode(40);
  59260. t3._contents += t5;
  59261. for (; true;) {
  59262. _0_0 = t1.peekChar$0();
  59263. if (_0_0 == null)
  59264. break;
  59265. if (92 === _0_0) {
  59266. t5 = _this.escape$0();
  59267. t3._contents += t5;
  59268. continue;
  59269. }
  59270. _0_6 = 35 === _0_0;
  59271. if (_0_6 && t1.peekChar$1(1) === 123) {
  59272. t5 = _this.singleInterpolation$0();
  59273. buffer._flushText$0();
  59274. t4.push(t5);
  59275. continue;
  59276. }
  59277. if (33 !== _0_0)
  59278. if (37 !== _0_0)
  59279. if (38 !== _0_0)
  59280. if (!_0_6)
  59281. t5 = _0_0 >= 42 && _0_0 <= 126 || _0_0 >= 128;
  59282. else
  59283. t5 = true;
  59284. else
  59285. t5 = true;
  59286. else
  59287. t5 = true;
  59288. else
  59289. t5 = true;
  59290. if (t5) {
  59291. t5 = A.Primitives_stringFromCharCode(t1.readChar$0());
  59292. t3._contents += t5;
  59293. continue;
  59294. }
  59295. if (_0_0 === 32 || _0_0 === 9 || _0_0 === 10 || _0_0 === 13 || _0_0 === 12) {
  59296. _this.whitespaceWithoutComments$0();
  59297. if (t1.peekChar$0() !== 41)
  59298. break;
  59299. continue;
  59300. }
  59301. if (41 === _0_0) {
  59302. t2 = A.Primitives_stringFromCharCode(t1.readChar$0());
  59303. t3._contents += t2;
  59304. endPosition = t1._string_scanner$_position;
  59305. t2 = t1._sourceFile;
  59306. t5 = start.position;
  59307. t1 = new A._FileSpan(t2, t5, endPosition);
  59308. t1._FileSpan$3(t2, t5, endPosition);
  59309. t5 = type$.Object;
  59310. t2 = A.List_List$of(t4, true, t5);
  59311. t4 = t3._contents;
  59312. if (t4.length !== 0)
  59313. t2.push(t4.charCodeAt(0) == 0 ? t4 : t4);
  59314. result = A.List_List$from(t2, false, t5);
  59315. result.fixed$length = Array;
  59316. result.immutable$list = Array;
  59317. t3 = new A.Interpolation(result, t1);
  59318. t3.Interpolation$2(t2, t1);
  59319. return t3;
  59320. }
  59321. break;
  59322. }
  59323. t1.set$state(new A._SpanScannerState(t1, t2));
  59324. return null;
  59325. },
  59326. _tryUrlContents$1(start) {
  59327. return this._tryUrlContents$2$name(start, null);
  59328. },
  59329. dynamicUrl$0() {
  59330. var _0_0, _this = this,
  59331. t1 = _this.scanner,
  59332. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  59333. _this.expectIdentifier$1("url");
  59334. _0_0 = _this._tryUrlContents$1(start);
  59335. if (_0_0 != null)
  59336. return new A.StringExpression(_0_0, false);
  59337. return new A.InterpolatedFunctionExpression(A.Interpolation$(A._setArrayType(["url"], type$.JSArray_Object), t1.spanFrom$1(start)), _this._argumentInvocation$0(), t1.spanFrom$1(start));
  59338. },
  59339. almostAnyValue$1$omitComments(omitComments) {
  59340. var t4, t5, t6, _1_0, t7, commentStart, end, _0_0, _this = this,
  59341. t1 = _this.scanner,
  59342. t2 = t1._string_scanner$_position,
  59343. t3 = new A.StringBuffer(""),
  59344. buffer = new A.InterpolationBuffer(t3, A._setArrayType([], type$.JSArray_Object));
  59345. for (t4 = t1.string, t5 = t4.length, t6 = !omitComments; true;)
  59346. $label0$0: {
  59347. _1_0 = t1.peekChar$0();
  59348. if (92 === _1_0) {
  59349. t7 = A.Primitives_stringFromCharCode(t1.readChar$0());
  59350. t3._contents += t7;
  59351. t7 = A.Primitives_stringFromCharCode(t1.readChar$0());
  59352. t3._contents += t7;
  59353. break $label0$0;
  59354. }
  59355. if (34 === _1_0 || 39 === _1_0) {
  59356. buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
  59357. break $label0$0;
  59358. }
  59359. if (47 === _1_0) {
  59360. commentStart = t1._string_scanner$_position;
  59361. if (_this.scanComment$0()) {
  59362. if (t6) {
  59363. end = t1._string_scanner$_position;
  59364. t3._contents += B.JSString_methods.substring$2(t4, commentStart, end);
  59365. }
  59366. } else {
  59367. t7 = A.Primitives_stringFromCharCode(t1.readChar$0());
  59368. t3._contents += t7;
  59369. }
  59370. break $label0$0;
  59371. }
  59372. if (35 === _1_0 && t1.peekChar$1(1) === 123) {
  59373. buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  59374. break $label0$0;
  59375. }
  59376. if (13 === _1_0 || 10 === _1_0 || 12 === _1_0) {
  59377. if (_this.get$indented())
  59378. break;
  59379. t7 = A.Primitives_stringFromCharCode(t1.readChar$0());
  59380. t3._contents += t7;
  59381. break $label0$0;
  59382. }
  59383. if (33 === _1_0 || 59 === _1_0 || 123 === _1_0 || 125 === _1_0)
  59384. break;
  59385. if (117 === _1_0 || 85 === _1_0) {
  59386. t7 = t1._string_scanner$_position;
  59387. if (!_this.scanIdentifier$1("url")) {
  59388. t7 = A.Primitives_stringFromCharCode(t1.readChar$0());
  59389. t3._contents += t7;
  59390. continue;
  59391. }
  59392. _0_0 = _this._tryUrlContents$1(new A._SpanScannerState(t1, t7));
  59393. if (_0_0 != null)
  59394. buffer.addInterpolation$1(_0_0);
  59395. else {
  59396. if ((t7 === 0 ? 1 / t7 < 0 : t7 < 0) || t7 > t5)
  59397. A.throwExpression(A.ArgumentError$("Invalid position " + t7, null));
  59398. t1._string_scanner$_position = t7;
  59399. t1._lastMatch = null;
  59400. t7 = A.Primitives_stringFromCharCode(t1.readChar$0());
  59401. t3._contents += t7;
  59402. }
  59403. break $label0$0;
  59404. }
  59405. if (_1_0 == null)
  59406. break;
  59407. t7 = _this.lookingAtIdentifier$0();
  59408. if (t7) {
  59409. t7 = _this.identifier$0();
  59410. t3._contents += t7;
  59411. break $label0$0;
  59412. }
  59413. t7 = A.Primitives_stringFromCharCode(t1.readChar$0());
  59414. t3._contents += t7;
  59415. }
  59416. return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  59417. },
  59418. almostAnyValue$0() {
  59419. return this.almostAnyValue$1$omitComments(false);
  59420. },
  59421. _interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(allowColon, allowEmpty, allowSemicolon) {
  59422. var t4, t5, t6, t7, wroteNewline, _1_0, t8, start, end, _1_14_isSet, _1_14, _1_18_isSet, _1_18, _1_20_isSet, _1_20, bracket, _0_0, _this = this, _null = null,
  59423. t1 = _this.scanner,
  59424. t2 = t1._string_scanner$_position,
  59425. t3 = new A.StringBuffer(""),
  59426. buffer = new A.InterpolationBuffer(t3, A._setArrayType([], type$.JSArray_Object)),
  59427. brackets = A._setArrayType([], type$.JSArray_int);
  59428. for (t4 = t1.string, t5 = t4.length, t6 = !allowColon, t7 = !allowSemicolon, wroteNewline = false; true;)
  59429. $label0$0: {
  59430. _1_0 = t1.peekChar$0();
  59431. if (92 === _1_0) {
  59432. t8 = _this.escape$1$identifierStart(true);
  59433. t3._contents += t8;
  59434. wroteNewline = false;
  59435. break $label0$0;
  59436. }
  59437. if (34 === _1_0 || 39 === _1_0) {
  59438. buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
  59439. wroteNewline = false;
  59440. break $label0$0;
  59441. }
  59442. if (47 === _1_0 && t1.peekChar$1(1) === 42) {
  59443. t8 = _this.get$loudComment();
  59444. start = t1._string_scanner$_position;
  59445. t8.call$0();
  59446. end = t1._string_scanner$_position;
  59447. t3._contents += B.JSString_methods.substring$2(t4, start, end);
  59448. wroteNewline = false;
  59449. break $label0$0;
  59450. }
  59451. if (35 === _1_0 && t1.peekChar$1(1) === 123) {
  59452. buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  59453. wroteNewline = false;
  59454. break $label0$0;
  59455. }
  59456. _1_14_isSet = 32 !== _1_0;
  59457. if (_1_14_isSet) {
  59458. _1_14 = 9 === _1_0;
  59459. t8 = _1_14;
  59460. } else {
  59461. _1_14 = _null;
  59462. t8 = true;
  59463. }
  59464. if (t8)
  59465. if (!wroteNewline) {
  59466. t8 = t1.peekChar$1(1);
  59467. t8 = t8 === 32 || t8 === 9 || t8 === 10 || t8 === 13 || t8 === 12;
  59468. } else
  59469. t8 = false;
  59470. else
  59471. t8 = false;
  59472. if (t8) {
  59473. t1.readChar$0();
  59474. break $label0$0;
  59475. }
  59476. if (_1_14_isSet)
  59477. t8 = _1_14;
  59478. else
  59479. t8 = true;
  59480. if (t8) {
  59481. t8 = A.Primitives_stringFromCharCode(t1.readChar$0());
  59482. t3._contents += t8;
  59483. break $label0$0;
  59484. }
  59485. _1_18_isSet = 10 !== _1_0;
  59486. if (_1_18_isSet) {
  59487. _1_18 = 13 === _1_0;
  59488. _1_20_isSet = !_1_18;
  59489. if (_1_20_isSet) {
  59490. _1_20 = 12 === _1_0;
  59491. t8 = _1_20;
  59492. } else {
  59493. _1_20 = _null;
  59494. t8 = true;
  59495. }
  59496. } else {
  59497. _1_20 = _null;
  59498. _1_18 = _1_20;
  59499. _1_20_isSet = false;
  59500. t8 = true;
  59501. }
  59502. if (t8 && _this.get$indented())
  59503. break;
  59504. if (_1_18_isSet)
  59505. if (!_1_18)
  59506. t8 = _1_20_isSet ? _1_20 : 12 === _1_0;
  59507. else
  59508. t8 = true;
  59509. else
  59510. t8 = true;
  59511. if (t8) {
  59512. t8 = t1.peekChar$1(-1);
  59513. if (!(t8 === 10 || t8 === 13 || t8 === 12))
  59514. t3._contents += "\n";
  59515. t1.readChar$0();
  59516. wroteNewline = true;
  59517. break $label0$0;
  59518. }
  59519. if (40 === _1_0 || 123 === _1_0 || 91 === _1_0) {
  59520. bracket = t1.readChar$0();
  59521. t8 = A.Primitives_stringFromCharCode(bracket);
  59522. t3._contents += t8;
  59523. brackets.push(A.opposite(bracket));
  59524. wroteNewline = false;
  59525. break $label0$0;
  59526. }
  59527. if (41 === _1_0 || 125 === _1_0 || 93 === _1_0) {
  59528. if (brackets.length === 0)
  59529. break;
  59530. bracket = brackets.pop();
  59531. t1.expectChar$1(bracket);
  59532. t8 = A.Primitives_stringFromCharCode(bracket);
  59533. t3._contents += t8;
  59534. wroteNewline = false;
  59535. break $label0$0;
  59536. }
  59537. if (59 === _1_0) {
  59538. if (t7 && brackets.length === 0)
  59539. break;
  59540. t8 = A.Primitives_stringFromCharCode(t1.readChar$0());
  59541. t3._contents += t8;
  59542. wroteNewline = false;
  59543. break $label0$0;
  59544. }
  59545. if (58 === _1_0) {
  59546. if (t6 && brackets.length === 0)
  59547. break;
  59548. t8 = A.Primitives_stringFromCharCode(t1.readChar$0());
  59549. t3._contents += t8;
  59550. wroteNewline = false;
  59551. break $label0$0;
  59552. }
  59553. if (117 === _1_0 || 85 === _1_0) {
  59554. t8 = t1._string_scanner$_position;
  59555. if (!_this.scanIdentifier$1("url")) {
  59556. t8 = A.Primitives_stringFromCharCode(t1.readChar$0());
  59557. t3._contents += t8;
  59558. wroteNewline = false;
  59559. continue;
  59560. }
  59561. _0_0 = _this._tryUrlContents$1(new A._SpanScannerState(t1, t8));
  59562. if (_0_0 != null)
  59563. buffer.addInterpolation$1(_0_0);
  59564. else {
  59565. if ((t8 === 0 ? 1 / t8 < 0 : t8 < 0) || t8 > t5)
  59566. A.throwExpression(A.ArgumentError$("Invalid position " + t8, _null));
  59567. t1._string_scanner$_position = t8;
  59568. t1._lastMatch = null;
  59569. t8 = A.Primitives_stringFromCharCode(t1.readChar$0());
  59570. t3._contents += t8;
  59571. }
  59572. wroteNewline = false;
  59573. break $label0$0;
  59574. }
  59575. if (_1_0 == null)
  59576. break;
  59577. t8 = _this.lookingAtIdentifier$0();
  59578. if (t8) {
  59579. t8 = _this.identifier$0();
  59580. t3._contents += t8;
  59581. wroteNewline = false;
  59582. break $label0$0;
  59583. }
  59584. t8 = A.Primitives_stringFromCharCode(t1.readChar$0());
  59585. t3._contents += t8;
  59586. wroteNewline = false;
  59587. }
  59588. if (brackets.length !== 0)
  59589. t1.expectChar$1(B.JSArray_methods.get$last(brackets));
  59590. if (!allowEmpty && buffer._interpolation_buffer$_contents.length === 0 && t3._contents.length === 0)
  59591. t1.error$1(0, "Expected token.");
  59592. return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  59593. },
  59594. _interpolatedDeclarationValue$1$allowEmpty(allowEmpty) {
  59595. return this._interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(true, allowEmpty, false);
  59596. },
  59597. _interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(allowEmpty, allowSemicolon) {
  59598. return this._interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(true, allowEmpty, allowSemicolon);
  59599. },
  59600. _interpolatedDeclarationValue$0() {
  59601. return this._interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(true, false, false);
  59602. },
  59603. interpolatedIdentifier$0() {
  59604. var t4, _0_0, _this = this,
  59605. _s20_ = "Expected identifier.",
  59606. t1 = _this.scanner,
  59607. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  59608. t2 = new A.StringBuffer(""),
  59609. t3 = A._setArrayType([], type$.JSArray_Object),
  59610. buffer = new A.InterpolationBuffer(t2, t3);
  59611. if (t1.scanChar$1(45)) {
  59612. t4 = A.Primitives_stringFromCharCode(45);
  59613. t2._contents += t4;
  59614. if (t1.scanChar$1(45)) {
  59615. t3 = A.Primitives_stringFromCharCode(45);
  59616. t2._contents += t3;
  59617. _this._interpolatedIdentifierBody$1(buffer);
  59618. return buffer.interpolation$1(t1.spanFrom$1(start));
  59619. }
  59620. }
  59621. $label0$0: {
  59622. _0_0 = t1.peekChar$0();
  59623. if (_0_0 == null)
  59624. t1.error$1(0, _s20_);
  59625. if (_0_0 === 95 || A.CharacterExtension_get_isAlphabetic(_0_0) || _0_0 >= 128) {
  59626. t3 = A.Primitives_stringFromCharCode(t1.readChar$0());
  59627. t2._contents += t3;
  59628. break $label0$0;
  59629. }
  59630. if (92 === _0_0) {
  59631. t3 = _this.escape$1$identifierStart(true);
  59632. t2._contents += t3;
  59633. break $label0$0;
  59634. }
  59635. if (35 === _0_0 && t1.peekChar$1(1) === 123) {
  59636. t2 = _this.singleInterpolation$0();
  59637. buffer._flushText$0();
  59638. t3.push(t2);
  59639. break $label0$0;
  59640. }
  59641. t1.error$1(0, _s20_);
  59642. }
  59643. _this._interpolatedIdentifierBody$1(buffer);
  59644. return buffer.interpolation$1(t1.spanFrom$1(start));
  59645. },
  59646. _interpolatedIdentifierBody$1(buffer) {
  59647. var t1, t2, t3, _0_0, t4;
  59648. for (t1 = buffer._interpolation_buffer$_contents, t2 = this.scanner, t3 = buffer._interpolation_buffer$_text; true;) {
  59649. _0_0 = t2.peekChar$0();
  59650. if (_0_0 == null)
  59651. break;
  59652. if (95 !== _0_0)
  59653. if (45 !== _0_0) {
  59654. if (!(_0_0 >= 97 && _0_0 <= 122))
  59655. t4 = _0_0 >= 65 && _0_0 <= 90;
  59656. else
  59657. t4 = true;
  59658. if (!t4)
  59659. t4 = _0_0 >= 48 && _0_0 <= 57;
  59660. else
  59661. t4 = true;
  59662. t4 = t4 || _0_0 >= 128;
  59663. } else
  59664. t4 = true;
  59665. else
  59666. t4 = true;
  59667. if (t4) {
  59668. t4 = A.Primitives_stringFromCharCode(t2.readChar$0());
  59669. t3._contents += t4;
  59670. continue;
  59671. }
  59672. if (92 === _0_0) {
  59673. t4 = this.escape$0();
  59674. t3._contents += t4;
  59675. continue;
  59676. }
  59677. if (35 === _0_0 && t2.peekChar$1(1) === 123) {
  59678. t4 = this.singleInterpolation$0();
  59679. buffer._flushText$0();
  59680. t1.push(t4);
  59681. continue;
  59682. }
  59683. break;
  59684. }
  59685. },
  59686. singleInterpolation$0() {
  59687. var contents, _this = this,
  59688. t1 = _this.scanner,
  59689. t2 = t1._string_scanner$_position;
  59690. t1.expect$1("#{");
  59691. _this.whitespace$0();
  59692. contents = _this._expression$0();
  59693. t1.expectChar$1(125);
  59694. if (_this.get$plainCss())
  59695. _this.error$2(0, string$.Interpp, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  59696. return contents;
  59697. },
  59698. _mediaQueryList$0() {
  59699. var t4, _this = this,
  59700. t1 = _this.scanner,
  59701. t2 = t1._string_scanner$_position,
  59702. t3 = new A.StringBuffer(""),
  59703. buffer = new A.InterpolationBuffer(t3, A._setArrayType([], type$.JSArray_Object));
  59704. for (; true;) {
  59705. _this.whitespace$0();
  59706. _this._stylesheet$_mediaQuery$1(buffer);
  59707. _this.whitespace$0();
  59708. if (!t1.scanChar$1(44))
  59709. break;
  59710. t4 = A.Primitives_stringFromCharCode(44);
  59711. t3._contents += t4;
  59712. t4 = A.Primitives_stringFromCharCode(32);
  59713. t3._contents += t4;
  59714. }
  59715. return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  59716. },
  59717. _stylesheet$_mediaQuery$1(buffer) {
  59718. var identifier1, t1, t2, identifier2, _this = this, _s3_ = "and";
  59719. if (_this.scanner.peekChar$0() === 40) {
  59720. _this._stylesheet$_mediaInParens$1(buffer);
  59721. _this.whitespace$0();
  59722. if (_this.scanIdentifier$1(_s3_)) {
  59723. buffer._interpolation_buffer$_text._contents += " and ";
  59724. _this.expectWhitespace$0();
  59725. _this._stylesheet$_mediaLogicSequence$2(buffer, _s3_);
  59726. } else if (_this.scanIdentifier$1("or")) {
  59727. buffer._interpolation_buffer$_text._contents += " or ";
  59728. _this.expectWhitespace$0();
  59729. _this._stylesheet$_mediaLogicSequence$2(buffer, "or");
  59730. }
  59731. return;
  59732. }
  59733. identifier1 = _this.interpolatedIdentifier$0();
  59734. if (A.equalsIgnoreCase(identifier1.get$asPlain(), "not")) {
  59735. _this.expectWhitespace$0();
  59736. if (!_this._lookingAtInterpolatedIdentifier$0()) {
  59737. buffer._interpolation_buffer$_text._contents += "not ";
  59738. _this._mediaOrInterp$1(buffer);
  59739. return;
  59740. }
  59741. }
  59742. _this.whitespace$0();
  59743. buffer.addInterpolation$1(identifier1);
  59744. if (!_this._lookingAtInterpolatedIdentifier$0())
  59745. return;
  59746. t1 = buffer._interpolation_buffer$_text;
  59747. t2 = A.Primitives_stringFromCharCode(32);
  59748. t1._contents += t2;
  59749. identifier2 = _this.interpolatedIdentifier$0();
  59750. if (A.equalsIgnoreCase(identifier2.get$asPlain(), _s3_)) {
  59751. _this.expectWhitespace$0();
  59752. t1._contents += " and ";
  59753. } else {
  59754. _this.whitespace$0();
  59755. buffer.addInterpolation$1(identifier2);
  59756. if (_this.scanIdentifier$1(_s3_)) {
  59757. _this.expectWhitespace$0();
  59758. t1._contents += " and ";
  59759. } else
  59760. return;
  59761. }
  59762. if (_this.scanIdentifier$1("not")) {
  59763. _this.expectWhitespace$0();
  59764. t1._contents += "not ";
  59765. _this._mediaOrInterp$1(buffer);
  59766. return;
  59767. }
  59768. _this._stylesheet$_mediaLogicSequence$2(buffer, _s3_);
  59769. return;
  59770. },
  59771. _stylesheet$_mediaLogicSequence$2(buffer, operator) {
  59772. var t1, t2, _this = this;
  59773. for (t1 = buffer._interpolation_buffer$_text; true;) {
  59774. _this._mediaOrInterp$1(buffer);
  59775. _this.whitespace$0();
  59776. if (!_this.scanIdentifier$1(operator))
  59777. return;
  59778. _this.expectWhitespace$0();
  59779. t2 = A.Primitives_stringFromCharCode(32);
  59780. t2 = t1._contents += t2;
  59781. t1._contents = t2 + operator;
  59782. t2 = A.Primitives_stringFromCharCode(32);
  59783. t1._contents += t2;
  59784. }
  59785. },
  59786. _mediaOrInterp$1(buffer) {
  59787. var interpolation;
  59788. if (this.scanner.peekChar$0() === 35) {
  59789. interpolation = this.singleInterpolation$0();
  59790. buffer.addInterpolation$1(A.Interpolation$(A._setArrayType([interpolation], type$.JSArray_Object), interpolation.get$span(interpolation)));
  59791. } else
  59792. this._stylesheet$_mediaInParens$1(buffer);
  59793. },
  59794. _stylesheet$_mediaInParens$1(buffer) {
  59795. var t2, t3, t4, next, t5, _this = this,
  59796. t1 = _this.scanner;
  59797. t1.expectChar$2$name(40, "media condition in parentheses");
  59798. t2 = buffer._interpolation_buffer$_text;
  59799. t3 = A.Primitives_stringFromCharCode(40);
  59800. t2._contents += t3;
  59801. _this.whitespace$0();
  59802. if (t1.peekChar$0() === 40) {
  59803. _this._stylesheet$_mediaInParens$1(buffer);
  59804. _this.whitespace$0();
  59805. if (_this.scanIdentifier$1("and")) {
  59806. t2._contents += " and ";
  59807. _this.expectWhitespace$0();
  59808. _this._stylesheet$_mediaLogicSequence$2(buffer, "and");
  59809. } else if (_this.scanIdentifier$1("or")) {
  59810. t2._contents += " or ";
  59811. _this.expectWhitespace$0();
  59812. _this._stylesheet$_mediaLogicSequence$2(buffer, "or");
  59813. }
  59814. } else if (_this.scanIdentifier$1("not")) {
  59815. t2._contents += "not ";
  59816. _this.expectWhitespace$0();
  59817. _this._mediaOrInterp$1(buffer);
  59818. } else {
  59819. t3 = _this._expressionUntilComparison$0();
  59820. buffer._flushText$0();
  59821. t4 = buffer._interpolation_buffer$_contents;
  59822. t4.push(t3);
  59823. if (t1.scanChar$1(58)) {
  59824. _this.whitespace$0();
  59825. t3 = A.Primitives_stringFromCharCode(58);
  59826. t2._contents += t3;
  59827. t3 = A.Primitives_stringFromCharCode(32);
  59828. t2._contents += t3;
  59829. t3 = _this._expression$0();
  59830. buffer._flushText$0();
  59831. t4.push(t3);
  59832. } else {
  59833. next = t1.peekChar$0();
  59834. t3 = 60 !== next;
  59835. if (!t3 || 62 === next || 61 === next) {
  59836. t5 = A.Primitives_stringFromCharCode(32);
  59837. t2._contents += t5;
  59838. t5 = A.Primitives_stringFromCharCode(t1.readChar$0());
  59839. t2._contents += t5;
  59840. if ((!t3 || 62 === next) && t1.scanChar$1(61)) {
  59841. t5 = A.Primitives_stringFromCharCode(61);
  59842. t2._contents += t5;
  59843. }
  59844. t5 = A.Primitives_stringFromCharCode(32);
  59845. t2._contents += t5;
  59846. _this.whitespace$0();
  59847. t5 = _this._expressionUntilComparison$0();
  59848. buffer._flushText$0();
  59849. t4.push(t5);
  59850. if (!t3 || 62 === next) {
  59851. next.toString;
  59852. t3 = t1.scanChar$1(next);
  59853. } else
  59854. t3 = false;
  59855. if (t3) {
  59856. t3 = A.Primitives_stringFromCharCode(32);
  59857. t2._contents += t3;
  59858. t3 = A.Primitives_stringFromCharCode(next);
  59859. t2._contents += t3;
  59860. if (t1.scanChar$1(61)) {
  59861. t3 = A.Primitives_stringFromCharCode(61);
  59862. t2._contents += t3;
  59863. }
  59864. t3 = A.Primitives_stringFromCharCode(32);
  59865. t2._contents += t3;
  59866. _this.whitespace$0();
  59867. t3 = _this._expressionUntilComparison$0();
  59868. buffer._flushText$0();
  59869. t4.push(t3);
  59870. }
  59871. }
  59872. }
  59873. }
  59874. t1.expectChar$1(41);
  59875. _this.whitespace$0();
  59876. t1 = A.Primitives_stringFromCharCode(41);
  59877. t2._contents += t1;
  59878. },
  59879. _expressionUntilComparison$0() {
  59880. return this._expression$1$until(new A.StylesheetParser__expressionUntilComparison_closure(this));
  59881. },
  59882. _supportsCondition$0() {
  59883. var condition, operator, right, endPosition, t3, t4, lowerOperator, _this = this,
  59884. t1 = _this.scanner,
  59885. t2 = t1._string_scanner$_position;
  59886. if (_this.scanIdentifier$1("not")) {
  59887. _this.whitespace$0();
  59888. return new A.SupportsNegation(_this._supportsConditionInParens$0(), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  59889. }
  59890. condition = _this._supportsConditionInParens$0();
  59891. _this.whitespace$0();
  59892. for (operator = null; _this.lookingAtIdentifier$0();) {
  59893. if (operator != null)
  59894. _this.expectIdentifier$1(operator);
  59895. else if (_this.scanIdentifier$1("or"))
  59896. operator = "or";
  59897. else {
  59898. _this.expectIdentifier$1("and");
  59899. operator = "and";
  59900. }
  59901. _this.whitespace$0();
  59902. right = _this._supportsConditionInParens$0();
  59903. endPosition = t1._string_scanner$_position;
  59904. t3 = t1._sourceFile;
  59905. t4 = new A._FileSpan(t3, t2, endPosition);
  59906. t4._FileSpan$3(t3, t2, endPosition);
  59907. condition = new A.SupportsOperation(condition, right, operator, t4);
  59908. lowerOperator = operator.toLowerCase();
  59909. if (lowerOperator !== "and" && lowerOperator !== "or")
  59910. A.throwExpression(A.ArgumentError$value(operator, "operator", 'may only be "and" or "or".'));
  59911. _this.whitespace$0();
  59912. }
  59913. return condition;
  59914. },
  59915. _supportsConditionInParens$0() {
  59916. var $name, nameStart, wasInParentheses, identifier, _1_0, operation, contents, identifier0, t2, $arguments, _0_0, _0_4_isSet, _0_4, condition, exception, declaration, _this = this, _null = null,
  59917. t1 = _this.scanner,
  59918. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  59919. if (_this._lookingAtInterpolatedIdentifier$0()) {
  59920. identifier0 = _this.interpolatedIdentifier$0();
  59921. t2 = identifier0.get$asPlain();
  59922. if ((t2 == null ? _null : t2.toLowerCase()) === "not")
  59923. _this.error$2(0, '"not" is not a valid identifier here.', identifier0.span);
  59924. if (t1.scanChar$1(40)) {
  59925. $arguments = _this._interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(true, true);
  59926. t1.expectChar$1(41);
  59927. return new A.SupportsFunction(identifier0, $arguments, t1.spanFrom$1(start));
  59928. } else {
  59929. _0_0 = identifier0.contents;
  59930. _0_4_isSet = _0_0.length === 1;
  59931. if (_0_4_isSet) {
  59932. _0_4 = _0_0[0];
  59933. t2 = _0_4;
  59934. t2 = type$.Expression._is(t2);
  59935. } else {
  59936. _0_4 = _null;
  59937. t2 = false;
  59938. }
  59939. if (t2) {
  59940. t2 = _0_4_isSet ? _0_4 : _0_0[0];
  59941. return new A.SupportsInterpolation(type$.Expression._as(t2), t1.spanFrom$1(start));
  59942. } else
  59943. _this.error$2(0, "Expected @supports condition.", identifier0.span);
  59944. }
  59945. }
  59946. t1.expectChar$1(40);
  59947. _this.whitespace$0();
  59948. if (_this.scanIdentifier$1("not")) {
  59949. _this.whitespace$0();
  59950. condition = _this._supportsConditionInParens$0();
  59951. t1.expectChar$1(41);
  59952. return new A.SupportsNegation(condition, t1.spanFrom$1(start));
  59953. } else if (t1.peekChar$0() === 40) {
  59954. condition = _this._supportsCondition$0();
  59955. t1.expectChar$1(41);
  59956. return condition;
  59957. }
  59958. $name = null;
  59959. nameStart = new A._SpanScannerState(t1, t1._string_scanner$_position);
  59960. wasInParentheses = _this._inParentheses;
  59961. try {
  59962. $name = _this._expression$0();
  59963. t1.expectChar$1(58);
  59964. } catch (exception) {
  59965. if (type$.FormatException._is(A.unwrapException(exception))) {
  59966. t1.set$state(nameStart);
  59967. _this._inParentheses = wasInParentheses;
  59968. identifier = _this.interpolatedIdentifier$0();
  59969. _1_0 = _this._trySupportsOperation$2(identifier, nameStart);
  59970. operation = null;
  59971. if (_1_0 != null) {
  59972. operation = _1_0;
  59973. t1.expectChar$1(41);
  59974. return operation;
  59975. }
  59976. t2 = new A.InterpolationBuffer(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object));
  59977. t2.addInterpolation$1(identifier);
  59978. t2.addInterpolation$1(_this._interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(false, true, true));
  59979. contents = t2.interpolation$1(t1.spanFrom$1(nameStart));
  59980. if (t1.peekChar$0() === 58)
  59981. throw exception;
  59982. t1.expectChar$1(41);
  59983. return new A.SupportsAnything(contents, t1.spanFrom$1(start));
  59984. } else
  59985. throw exception;
  59986. }
  59987. declaration = _this._supportsDeclarationValue$2($name, start);
  59988. t1.expectChar$1(41);
  59989. return declaration;
  59990. },
  59991. _supportsDeclarationValue$2($name, start) {
  59992. var t1, value, _this = this;
  59993. if ($name instanceof A.StringExpression)
  59994. if (!$name.hasQuotes)
  59995. t1 = B.JSString_methods.startsWith$1($name.text.get$initialPlain(), "--");
  59996. else
  59997. t1 = false;
  59998. else
  59999. t1 = false;
  60000. if (t1)
  60001. value = new A.StringExpression(_this._interpolatedDeclarationValue$0(), false);
  60002. else {
  60003. _this.whitespace$0();
  60004. value = _this._expression$0();
  60005. }
  60006. return new A.SupportsDeclaration($name, value, _this.scanner.spanFrom$1(start));
  60007. },
  60008. _trySupportsOperation$2(interpolation, start) {
  60009. var expression, beforeWhitespace, t2, t3, operator, operation, right, t4, endPosition, t5, t6, lowerOperator, _this = this, _null = null,
  60010. t1 = interpolation.contents;
  60011. if (t1.length !== 1)
  60012. return _null;
  60013. expression = B.JSArray_methods.get$first(t1);
  60014. if (!type$.Expression._is(expression))
  60015. return _null;
  60016. t1 = _this.scanner;
  60017. beforeWhitespace = new A._SpanScannerState(t1, t1._string_scanner$_position);
  60018. _this.whitespace$0();
  60019. for (t2 = start.position, t3 = interpolation.span, operator = _null, operation = operator; _this.lookingAtIdentifier$0();) {
  60020. if (operator != null)
  60021. _this.expectIdentifier$1(operator);
  60022. else if (_this.scanIdentifier$1("and"))
  60023. operator = "and";
  60024. else {
  60025. if (!_this.scanIdentifier$1("or")) {
  60026. if (beforeWhitespace._scanner !== t1)
  60027. A.throwExpression(A.ArgumentError$(string$.The_gi, _null));
  60028. t2 = beforeWhitespace.position;
  60029. if ((t2 === 0 ? 1 / t2 < 0 : t2 < 0) || t2 > t1.string.length)
  60030. A.throwExpression(A.ArgumentError$("Invalid position " + t2, _null));
  60031. t1._string_scanner$_position = t2;
  60032. return t1._lastMatch = null;
  60033. }
  60034. operator = "or";
  60035. }
  60036. _this.whitespace$0();
  60037. right = _this._supportsConditionInParens$0();
  60038. t4 = operation == null ? new A.SupportsInterpolation(expression, t3) : operation;
  60039. endPosition = t1._string_scanner$_position;
  60040. t5 = t1._sourceFile;
  60041. t6 = new A._FileSpan(t5, t2, endPosition);
  60042. t6._FileSpan$3(t5, t2, endPosition);
  60043. operation = new A.SupportsOperation(t4, right, operator, t6);
  60044. lowerOperator = operator.toLowerCase();
  60045. if (lowerOperator !== "and" && lowerOperator !== "or")
  60046. A.throwExpression(A.ArgumentError$value(operator, "operator", 'may only be "and" or "or".'));
  60047. _this.whitespace$0();
  60048. }
  60049. return operation;
  60050. },
  60051. _lookingAtInterpolatedIdentifier$0() {
  60052. var _0_0,
  60053. t1 = this.scanner,
  60054. _1_0 = t1.peekChar$0();
  60055. $label0$0: {
  60056. if (_1_0 == null) {
  60057. t1 = false;
  60058. break $label0$0;
  60059. }
  60060. if (_1_0 === 95 || A.CharacterExtension_get_isAlphabetic(_1_0) || _1_0 >= 128 || 92 === _1_0) {
  60061. t1 = true;
  60062. break $label0$0;
  60063. }
  60064. if (35 === _1_0) {
  60065. t1 = t1.peekChar$1(1) === 123;
  60066. break $label0$0;
  60067. }
  60068. if (45 === _1_0) {
  60069. _0_0 = t1.peekChar$1(1);
  60070. $label1$1: {
  60071. if (_0_0 == null) {
  60072. t1 = false;
  60073. break $label1$1;
  60074. }
  60075. if (35 === _0_0) {
  60076. t1 = t1.peekChar$1(2) === 123;
  60077. break $label1$1;
  60078. }
  60079. if (_0_0 === 95 || A.CharacterExtension_get_isAlphabetic(_0_0) || _0_0 >= 128 || 92 === _0_0 || 45 === _0_0) {
  60080. t1 = true;
  60081. break $label1$1;
  60082. }
  60083. t1 = false;
  60084. break $label1$1;
  60085. }
  60086. break $label0$0;
  60087. }
  60088. t1 = false;
  60089. break $label0$0;
  60090. }
  60091. return t1;
  60092. },
  60093. _lookingAtPotentialPropertyHack$0() {
  60094. var t1 = this.scanner,
  60095. _0_0 = t1.peekChar$0();
  60096. $label0$0: {
  60097. if (58 === _0_0 || 42 === _0_0 || 46 === _0_0) {
  60098. t1 = true;
  60099. break $label0$0;
  60100. }
  60101. if (35 === _0_0) {
  60102. t1 = t1.peekChar$1(1) !== 123;
  60103. break $label0$0;
  60104. }
  60105. t1 = false;
  60106. break $label0$0;
  60107. }
  60108. return t1;
  60109. },
  60110. _lookingAtInterpolatedIdentifierBody$0() {
  60111. var t2,
  60112. t1 = this.scanner,
  60113. _0_0 = t1.peekChar$0();
  60114. $label0$0: {
  60115. if (_0_0 == null) {
  60116. t1 = false;
  60117. break $label0$0;
  60118. }
  60119. if (!(_0_0 === 95 || A.CharacterExtension_get_isAlphabetic(_0_0) || _0_0 >= 128))
  60120. t2 = _0_0 >= 48 && _0_0 <= 57 || _0_0 === 45;
  60121. else
  60122. t2 = true;
  60123. if (t2 || 92 === _0_0) {
  60124. t1 = true;
  60125. break $label0$0;
  60126. }
  60127. if (35 === _0_0) {
  60128. t1 = t1.peekChar$1(1) === 123;
  60129. break $label0$0;
  60130. }
  60131. t1 = false;
  60132. break $label0$0;
  60133. }
  60134. return t1;
  60135. },
  60136. _lookingAtExpression$0() {
  60137. var _0_0,
  60138. t1 = this.scanner,
  60139. _1_0 = t1.peekChar$0();
  60140. $label0$0: {
  60141. if (_1_0 == null) {
  60142. t1 = false;
  60143. break $label0$0;
  60144. }
  60145. if (46 === _1_0) {
  60146. t1 = t1.peekChar$1(1) !== 46;
  60147. break $label0$0;
  60148. }
  60149. if (33 === _1_0) {
  60150. _0_0 = t1.peekChar$1(1);
  60151. $label1$1: {
  60152. if (_0_0 != null)
  60153. if (105 !== _0_0)
  60154. if (73 !== _0_0)
  60155. t1 = _0_0 === 32 || _0_0 === 9 || _0_0 === 10 || _0_0 === 13 || _0_0 === 12;
  60156. else
  60157. t1 = true;
  60158. else
  60159. t1 = true;
  60160. else
  60161. t1 = true;
  60162. if (t1)
  60163. break $label1$1;
  60164. break $label1$1;
  60165. }
  60166. break $label0$0;
  60167. }
  60168. if (40 !== _1_0)
  60169. if (47 !== _1_0)
  60170. if (91 !== _1_0)
  60171. if (39 !== _1_0)
  60172. if (34 !== _1_0)
  60173. if (35 !== _1_0)
  60174. if (43 !== _1_0)
  60175. if (45 !== _1_0)
  60176. if (92 !== _1_0)
  60177. if (36 !== _1_0)
  60178. if (38 !== _1_0)
  60179. if (!(_1_0 === 95 || A.CharacterExtension_get_isAlphabetic(_1_0) || _1_0 >= 128))
  60180. t1 = _1_0 >= 48 && _1_0 <= 57;
  60181. else
  60182. t1 = true;
  60183. else
  60184. t1 = true;
  60185. else
  60186. t1 = true;
  60187. else
  60188. t1 = true;
  60189. else
  60190. t1 = true;
  60191. else
  60192. t1 = true;
  60193. else
  60194. t1 = true;
  60195. else
  60196. t1 = true;
  60197. else
  60198. t1 = true;
  60199. else
  60200. t1 = true;
  60201. else
  60202. t1 = true;
  60203. else
  60204. t1 = true;
  60205. if (t1) {
  60206. t1 = true;
  60207. break $label0$0;
  60208. }
  60209. t1 = false;
  60210. break $label0$0;
  60211. }
  60212. return t1;
  60213. },
  60214. _withChildren$1$3(child, start, create) {
  60215. var result = create.call$2(this.children$1(0, child), this.scanner.spanFrom$1(start));
  60216. this.whitespaceWithoutComments$0();
  60217. return result;
  60218. },
  60219. _withChildren$3(child, start, create) {
  60220. return this._withChildren$1$3(child, start, create, type$.dynamic);
  60221. },
  60222. _urlString$0() {
  60223. var innerError, stackTrace, t2, exception,
  60224. t1 = this.scanner,
  60225. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  60226. url = this.string$0();
  60227. try {
  60228. t2 = A.Uri_parse(url);
  60229. return t2;
  60230. } catch (exception) {
  60231. t2 = A.unwrapException(exception);
  60232. if (type$.FormatException._is(t2)) {
  60233. innerError = t2;
  60234. stackTrace = A.getTraceFromException(exception);
  60235. this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), t1.spanFrom$1(start), stackTrace);
  60236. } else
  60237. throw exception;
  60238. }
  60239. },
  60240. _publicIdentifier$0() {
  60241. var _this = this,
  60242. t1 = _this.scanner,
  60243. t2 = t1._string_scanner$_position,
  60244. result = _this.identifier$0();
  60245. _this._assertPublic$2(result, new A.StylesheetParser__publicIdentifier_closure(_this, new A._SpanScannerState(t1, t2)));
  60246. return result;
  60247. },
  60248. _assertPublic$2(identifier, span) {
  60249. var first = identifier.charCodeAt(0);
  60250. if (!(first === 45 || first === 95))
  60251. return;
  60252. this.error$2(0, string$.Privat, span.call$0());
  60253. },
  60254. get$plainCss() {
  60255. return false;
  60256. }
  60257. };
  60258. A.StylesheetParser_parse_closure.prototype = {
  60259. call$0() {
  60260. var statements, t4,
  60261. t1 = this.$this,
  60262. t2 = t1.scanner,
  60263. t3 = t2._string_scanner$_position;
  60264. t2.scanChar$1(65279);
  60265. statements = t1.statements$1(new A.StylesheetParser_parse__closure(t1));
  60266. t2.expectDone$0();
  60267. t4 = t1._globalVariables.get$values(0);
  60268. B.JSArray_methods.addAll$1(statements, A.MappedIterable_MappedIterable(t4, new A.StylesheetParser_parse__closure0(), A._instanceType(t4)._eval$1("Iterable.E"), type$.Statement));
  60269. return A.Stylesheet$internal(statements, t2.spanFrom$1(new A._SpanScannerState(t2, t3)), t1.get$plainCss());
  60270. },
  60271. $signature: 463
  60272. };
  60273. A.StylesheetParser_parse__closure.prototype = {
  60274. call$0() {
  60275. var t1 = this.$this;
  60276. if (t1.scanner.scan$1("@charset")) {
  60277. t1.whitespace$0();
  60278. t1.string$0();
  60279. return null;
  60280. }
  60281. return t1._statement$1$root(true);
  60282. },
  60283. $signature: 462
  60284. };
  60285. A.StylesheetParser_parse__closure0.prototype = {
  60286. call$1(declaration) {
  60287. var t1 = declaration.expression;
  60288. return A.VariableDeclaration$(declaration.name, new A.NullExpression(t1.get$span(t1)), declaration.span, null, false, true, null);
  60289. },
  60290. $signature: 456
  60291. };
  60292. A.StylesheetParser_parseArgumentDeclaration_closure.prototype = {
  60293. call$0() {
  60294. var $arguments,
  60295. t1 = this.$this,
  60296. t2 = t1.scanner;
  60297. t2.expectChar$2$name(64, "@-rule");
  60298. t1.identifier$0();
  60299. t1.whitespace$0();
  60300. t1.identifier$0();
  60301. $arguments = t1._argumentDeclaration$0();
  60302. t1.whitespace$0();
  60303. t2.expectChar$1(123);
  60304. return $arguments;
  60305. },
  60306. $signature: 444
  60307. };
  60308. A.StylesheetParser_parseVariableDeclaration_closure.prototype = {
  60309. call$0() {
  60310. var t1 = this.$this;
  60311. return t1.lookingAtIdentifier$0() ? t1._variableDeclarationWithNamespace$0() : t1.variableDeclarationWithoutNamespace$0();
  60312. },
  60313. $signature: 155
  60314. };
  60315. A.StylesheetParser_parseUseRule_closure.prototype = {
  60316. call$0() {
  60317. var t1 = this.$this,
  60318. t2 = t1.scanner,
  60319. t3 = t2._string_scanner$_position;
  60320. t2.expectChar$2$name(64, "@-rule");
  60321. t1.expectIdentifier$1("use");
  60322. t1.whitespace$0();
  60323. return t1._useRule$1(new A._SpanScannerState(t2, t3));
  60324. },
  60325. $signature: 443
  60326. };
  60327. A.StylesheetParser__parseSingleProduction_closure.prototype = {
  60328. call$0() {
  60329. var result = this.production.call$0();
  60330. this.$this.scanner.expectDone$0();
  60331. return result;
  60332. },
  60333. $signature() {
  60334. return this.T._eval$1("0()");
  60335. }
  60336. };
  60337. A.StylesheetParser__statement_closure.prototype = {
  60338. call$0() {
  60339. return this.$this._statement$0();
  60340. },
  60341. $signature: 124
  60342. };
  60343. A.StylesheetParser_variableDeclarationWithoutNamespace_closure.prototype = {
  60344. call$0() {
  60345. return this.$this.scanner.spanFrom$1(this.start);
  60346. },
  60347. $signature: 26
  60348. };
  60349. A.StylesheetParser_variableDeclarationWithoutNamespace_closure0.prototype = {
  60350. call$0() {
  60351. return this.declaration;
  60352. },
  60353. $signature: 155
  60354. };
  60355. A.StylesheetParser__styleRule_closure.prototype = {
  60356. call$2(children, span) {
  60357. var _this = this,
  60358. t1 = _this.$this;
  60359. if (t1.get$indented() && children.length === 0)
  60360. t1.logger.warn$2$span(0, string$.This_s, _this._box_0.interpolation.span);
  60361. t1._inStyleRule = _this.wasInStyleRule;
  60362. return A.StyleRule$(_this._box_0.interpolation, children, t1.scanner.spanFrom$1(_this.start));
  60363. },
  60364. $signature: 439
  60365. };
  60366. A.StylesheetParser__tryDeclarationChildren_closure.prototype = {
  60367. call$2(children, span) {
  60368. return A.Declaration$nested(this.name, children, span, this.value);
  60369. },
  60370. $signature: 435
  60371. };
  60372. A.StylesheetParser__atRootRule_closure.prototype = {
  60373. call$2(children, span) {
  60374. return A.AtRootRule$(children, span, this.query);
  60375. },
  60376. $signature: 156
  60377. };
  60378. A.StylesheetParser__atRootRule_closure0.prototype = {
  60379. call$2(children, span) {
  60380. return A.AtRootRule$(children, span, null);
  60381. },
  60382. $signature: 156
  60383. };
  60384. A.StylesheetParser__eachRule_closure.prototype = {
  60385. call$2(children, span) {
  60386. var _this = this;
  60387. _this.$this._inControlDirective = _this.wasInControlDirective;
  60388. return A.EachRule$(_this.variables, _this.list, children, span);
  60389. },
  60390. $signature: 433
  60391. };
  60392. A.StylesheetParser__functionRule_closure.prototype = {
  60393. call$2(children, span) {
  60394. return A.FunctionRule$(this.name, this.$arguments, children, span, this.precedingComment);
  60395. },
  60396. $signature: 432
  60397. };
  60398. A.StylesheetParser__forRule_closure.prototype = {
  60399. call$0() {
  60400. var t1 = this.$this;
  60401. if (!t1.lookingAtIdentifier$0())
  60402. return false;
  60403. if (t1.scanIdentifier$1("to"))
  60404. return this._box_0.exclusive = true;
  60405. else if (t1.scanIdentifier$1("through")) {
  60406. this._box_0.exclusive = false;
  60407. return true;
  60408. } else
  60409. return false;
  60410. },
  60411. $signature: 30
  60412. };
  60413. A.StylesheetParser__forRule_closure0.prototype = {
  60414. call$2(children, span) {
  60415. var t1, _this = this;
  60416. _this.$this._inControlDirective = _this.wasInControlDirective;
  60417. t1 = _this._box_0.exclusive;
  60418. t1.toString;
  60419. return A.ForRule$(_this.variable, _this.from, _this.to, children, span, t1);
  60420. },
  60421. $signature: 428
  60422. };
  60423. A.StylesheetParser__memberList_closure.prototype = {
  60424. call$0() {
  60425. var t1 = this.$this;
  60426. if (t1.scanner.peekChar$0() === 36)
  60427. this.variables.add$1(0, t1.variableName$0());
  60428. else
  60429. this.identifiers.add$1(0, t1.identifier$1$normalize(true));
  60430. },
  60431. $signature: 1
  60432. };
  60433. A.StylesheetParser__includeRule_closure.prototype = {
  60434. call$2(children, span) {
  60435. return A.ContentBlock$(this.contentArguments_, children, span);
  60436. },
  60437. $signature: 427
  60438. };
  60439. A.StylesheetParser_mediaRule_closure.prototype = {
  60440. call$2(children, span) {
  60441. return A.MediaRule$(this.query, children, span);
  60442. },
  60443. $signature: 426
  60444. };
  60445. A.StylesheetParser__mixinRule_closure.prototype = {
  60446. call$2(children, span) {
  60447. var _this = this;
  60448. _this.$this._stylesheet$_inMixin = false;
  60449. return A.MixinRule$(_this.name, _this.$arguments, children, span, _this.precedingComment);
  60450. },
  60451. $signature: 424
  60452. };
  60453. A.StylesheetParser_mozDocumentRule_closure.prototype = {
  60454. call$2(children, span) {
  60455. var _this = this;
  60456. if (_this._box_0.needsDeprecationWarning)
  60457. A.WarnForDeprecation_warnForDeprecation(_this.$this.logger, B.Deprecation_uNF, string$.x40_moz_, span, null);
  60458. return A.AtRule$(_this.name, span, children, _this.value);
  60459. },
  60460. $signature: 157
  60461. };
  60462. A.StylesheetParser_supportsRule_closure.prototype = {
  60463. call$2(children, span) {
  60464. return A.SupportsRule$(this.condition, children, span);
  60465. },
  60466. $signature: 423
  60467. };
  60468. A.StylesheetParser__whileRule_closure.prototype = {
  60469. call$2(children, span) {
  60470. this.$this._inControlDirective = this.wasInControlDirective;
  60471. return A.WhileRule$(this.condition, children, span);
  60472. },
  60473. $signature: 419
  60474. };
  60475. A.StylesheetParser_unknownAtRule_closure.prototype = {
  60476. call$2(children, span) {
  60477. return A.AtRule$(this.name, span, children, this._box_0.value);
  60478. },
  60479. $signature: 157
  60480. };
  60481. A.StylesheetParser__expression_resetState.prototype = {
  60482. call$0() {
  60483. var t2,
  60484. t1 = this._box_0;
  60485. t1.operands_ = t1.operators_ = t1.spaceExpressions_ = t1.commaExpressions_ = null;
  60486. t2 = this.$this;
  60487. t2.scanner.set$state(this.start);
  60488. t1.allowSlash = true;
  60489. t1.singleExpression_ = t2._singleExpression$0();
  60490. },
  60491. $signature: 0
  60492. };
  60493. A.StylesheetParser__expression_resolveOneOperation.prototype = {
  60494. call$0() {
  60495. var t2, t3, t4, t5, t6, t7, _this = this,
  60496. t1 = _this._box_0,
  60497. operator = t1.operators_.pop(),
  60498. left = t1.operands_.pop(),
  60499. right = t1.singleExpression_;
  60500. if (right == null) {
  60501. t2 = _this.$this.scanner;
  60502. t3 = operator.operator.length;
  60503. t2.error$3$length$position(0, "Expected expression.", t3, t2._string_scanner$_position - t3);
  60504. }
  60505. if (t1.allowSlash) {
  60506. t2 = _this.$this;
  60507. t2 = !t2._inParentheses && operator === B.BinaryOperator_U77 && t2._isSlashOperand$1(left) && t2._isSlashOperand$1(right);
  60508. } else
  60509. t2 = false;
  60510. if (t2)
  60511. t1.singleExpression_ = new A.BinaryOperationExpression(B.BinaryOperator_U77, left, right, true);
  60512. else {
  60513. t1.singleExpression_ = new A.BinaryOperationExpression(operator, left, right, false);
  60514. t2 = t1.allowSlash = false;
  60515. if (B.BinaryOperator_u15 === operator || B.BinaryOperator_SjO === operator) {
  60516. t3 = _this.$this;
  60517. t4 = t3.scanner.string;
  60518. t5 = right.get$span(right);
  60519. t5 = t5.get$start(t5);
  60520. t6 = right.get$span(right);
  60521. t7 = operator.operator;
  60522. if (B.JSString_methods.substring$2(t4, t5.offset - 1, t6.get$start(t6).offset) === t7) {
  60523. t2 = left.get$span(left);
  60524. t2 = t4.charCodeAt(t2.get$end(t2).offset);
  60525. t2 = t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12;
  60526. }
  60527. if (t2) {
  60528. t2 = left.toString$0(0);
  60529. t4 = right.toString$0(0);
  60530. t5 = left.toString$0(0);
  60531. t6 = right.toString$0(0);
  60532. t1 = t1.singleExpression_;
  60533. A.WarnForDeprecation_warnForDeprecation(t3.logger, B.Deprecation_2Vk, "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), null);
  60534. }
  60535. }
  60536. }
  60537. },
  60538. $signature: 0
  60539. };
  60540. A.StylesheetParser__expression_resolveOperations.prototype = {
  60541. call$0() {
  60542. var t1,
  60543. operators = this._box_0.operators_;
  60544. if (operators == null)
  60545. return;
  60546. for (t1 = this.resolveOneOperation; operators.length !== 0;)
  60547. t1.call$0();
  60548. },
  60549. $signature: 0
  60550. };
  60551. A.StylesheetParser__expression_addSingleExpression.prototype = {
  60552. call$1(expression) {
  60553. var t2, spaceExpressions, _this = this,
  60554. t1 = _this._box_0;
  60555. if (t1.singleExpression_ != null) {
  60556. t2 = _this.$this;
  60557. if (t2._inParentheses) {
  60558. t2._inParentheses = false;
  60559. if (t1.allowSlash) {
  60560. _this.resetState.call$0();
  60561. return;
  60562. }
  60563. }
  60564. spaceExpressions = t1.spaceExpressions_;
  60565. if (spaceExpressions == null)
  60566. spaceExpressions = t1.spaceExpressions_ = A._setArrayType([], type$.JSArray_Expression);
  60567. _this.resolveOperations.call$0();
  60568. t2 = t1.singleExpression_;
  60569. t2.toString;
  60570. spaceExpressions.push(t2);
  60571. t1.allowSlash = true;
  60572. }
  60573. t1.singleExpression_ = expression;
  60574. },
  60575. $signature: 416
  60576. };
  60577. A.StylesheetParser__expression_addOperator.prototype = {
  60578. call$1(operator) {
  60579. var t2, t3, operators, operands, t4, singleExpression,
  60580. t1 = this.$this;
  60581. if (t1.get$plainCss() && operator !== B.BinaryOperator_wdM && operator !== B.BinaryOperator_u15 && operator !== B.BinaryOperator_SjO && operator !== B.BinaryOperator_2No && operator !== B.BinaryOperator_U77) {
  60582. t2 = t1.scanner;
  60583. t3 = operator.operator.length;
  60584. t2.error$3$length$position(0, "Operators aren't allowed in plain CSS.", t3, t2._string_scanner$_position - t3);
  60585. }
  60586. t2 = this._box_0;
  60587. t2.allowSlash = t2.allowSlash && operator === B.BinaryOperator_U77;
  60588. operators = t2.operators_;
  60589. if (operators == null)
  60590. operators = t2.operators_ = A._setArrayType([], type$.JSArray_BinaryOperator);
  60591. operands = t2.operands_;
  60592. if (operands == null)
  60593. operands = t2.operands_ = A._setArrayType([], type$.JSArray_Expression);
  60594. t3 = this.resolveOneOperation;
  60595. t4 = operator.precedence;
  60596. while (true) {
  60597. if (!(operators.length !== 0 && B.JSArray_methods.get$last(operators).precedence >= t4))
  60598. break;
  60599. t3.call$0();
  60600. }
  60601. operators.push(operator);
  60602. singleExpression = t2.singleExpression_;
  60603. if (singleExpression == null) {
  60604. t3 = t1.scanner;
  60605. t4 = operator.operator.length;
  60606. t3.error$3$length$position(0, "Expected expression.", t4, t3._string_scanner$_position - t4);
  60607. }
  60608. operands.push(singleExpression);
  60609. t1.whitespace$0();
  60610. t2.singleExpression_ = t1._singleExpression$0();
  60611. },
  60612. $signature: 415
  60613. };
  60614. A.StylesheetParser__expression_resolveSpaceExpressions.prototype = {
  60615. call$0() {
  60616. var t1, spaceExpressions, singleExpression, t2;
  60617. this.resolveOperations.call$0();
  60618. t1 = this._box_0;
  60619. spaceExpressions = t1.spaceExpressions_;
  60620. if (spaceExpressions == null)
  60621. return;
  60622. singleExpression = t1.singleExpression_;
  60623. if (singleExpression == null)
  60624. this.$this.scanner.error$1(0, "Expected expression.");
  60625. spaceExpressions.push(singleExpression);
  60626. t2 = B.JSArray_methods.get$first(spaceExpressions);
  60627. t2 = t2.get$span(t2).expand$1(0, singleExpression.get$span(singleExpression));
  60628. t1.singleExpression_ = new A.ListExpression(A.List_List$unmodifiable(spaceExpressions, type$.Expression), B.ListSeparator_nbm, false, t2);
  60629. t1.spaceExpressions_ = null;
  60630. },
  60631. $signature: 0
  60632. };
  60633. A.StylesheetParser_expressionUntilComma_closure.prototype = {
  60634. call$0() {
  60635. return this.$this.scanner.peekChar$0() === 44;
  60636. },
  60637. $signature: 30
  60638. };
  60639. A.StylesheetParser__isHexColor_closure.prototype = {
  60640. call$1(char) {
  60641. return A.CharacterExtension_get_isHex(char);
  60642. },
  60643. $signature: 45
  60644. };
  60645. A.StylesheetParser__unicodeRange_closure.prototype = {
  60646. call$1(char) {
  60647. return char != null && A.CharacterExtension_get_isHex(char);
  60648. },
  60649. $signature: 28
  60650. };
  60651. A.StylesheetParser__unicodeRange_closure0.prototype = {
  60652. call$1(char) {
  60653. return char != null && A.CharacterExtension_get_isHex(char);
  60654. },
  60655. $signature: 28
  60656. };
  60657. A.StylesheetParser_namespacedExpression_closure.prototype = {
  60658. call$0() {
  60659. return this.$this.scanner.spanFrom$1(this.start);
  60660. },
  60661. $signature: 26
  60662. };
  60663. A.StylesheetParser_trySpecialFunction_closure.prototype = {
  60664. call$1(contents) {
  60665. return new A.StringExpression(contents, false);
  60666. },
  60667. $signature: 401
  60668. };
  60669. A.StylesheetParser__expressionUntilComparison_closure.prototype = {
  60670. call$0() {
  60671. var t1 = this.$this.scanner,
  60672. _0_0 = t1.peekChar$0();
  60673. $label0$0: {
  60674. if (61 === _0_0) {
  60675. t1 = t1.peekChar$1(1) !== 61;
  60676. break $label0$0;
  60677. }
  60678. if (60 === _0_0 || 62 === _0_0) {
  60679. t1 = true;
  60680. break $label0$0;
  60681. }
  60682. t1 = false;
  60683. break $label0$0;
  60684. }
  60685. return t1;
  60686. },
  60687. $signature: 30
  60688. };
  60689. A.StylesheetParser__publicIdentifier_closure.prototype = {
  60690. call$0() {
  60691. return this.$this.scanner.spanFrom$1(this.start);
  60692. },
  60693. $signature: 26
  60694. };
  60695. A.StylesheetGraph.prototype = {
  60696. modifiedSince$3(url, since, baseImporter) {
  60697. var node = this._stylesheet_graph$_add$3(url, baseImporter, null);
  60698. if (node == null)
  60699. return true;
  60700. return new A.StylesheetGraph_modifiedSince_transitiveModificationTime(this).call$1(node)._value > since._value;
  60701. },
  60702. _stylesheet_graph$_add$3(url, baseImporter, baseUrl) {
  60703. var importer, canonicalUrl, _this = this,
  60704. result = _this._ignoreErrors$1(new A.StylesheetGraph__add_closure(_this, url, baseImporter, baseUrl));
  60705. if (type$.Record_3_nullable_Object_and_nullable_Object_and_nullable_Object_originalUrl._is(result)) {
  60706. importer = result._0;
  60707. canonicalUrl = result._1;
  60708. _this.addCanonical$3(importer, canonicalUrl, result._2);
  60709. return _this._nodes.$index(0, canonicalUrl);
  60710. } else
  60711. return null;
  60712. },
  60713. addCanonical$4$recanonicalize(importer, canonicalUrl, originalUrl, recanonicalize) {
  60714. var stylesheet, _this = this,
  60715. t1 = _this._nodes;
  60716. if (t1.$index(0, canonicalUrl) != null)
  60717. return B.Set_empty3;
  60718. stylesheet = _this._ignoreErrors$1(new A.StylesheetGraph_addCanonical_closure(_this, importer, canonicalUrl, originalUrl));
  60719. if (stylesheet == null)
  60720. return B.Set_empty3;
  60721. t1.$indexSet(0, canonicalUrl, A.StylesheetNode$_(stylesheet, importer, canonicalUrl, _this._upstreamNodes$3(stylesheet, importer, canonicalUrl)));
  60722. return recanonicalize ? _this._recanonicalizeImports$2(importer, canonicalUrl) : B.Set_empty3;
  60723. },
  60724. addCanonical$3(importer, canonicalUrl, originalUrl) {
  60725. return this.addCanonical$4$recanonicalize(importer, canonicalUrl, originalUrl, true);
  60726. },
  60727. _upstreamNodes$3(stylesheet, baseImporter, baseUrl) {
  60728. var t6, t7, t8, t9, t10,
  60729. t1 = type$.Uri,
  60730. active = A.LinkedHashSet_LinkedHashSet$_literal([baseUrl], t1),
  60731. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1),
  60732. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t1),
  60733. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t1),
  60734. t5 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  60735. new A._FindDependenciesVisitor(t2, t3, t4, t5, A.LinkedHashSet_LinkedHashSet$_empty(type$.nullable_String)).visitChildren$1(stylesheet.children);
  60736. t6 = type$.UnmodifiableSetView_Uri;
  60737. t2 = new A.UnmodifiableSetView0(t2, t6);
  60738. t3 = new A.UnmodifiableSetView0(t3, t6);
  60739. t4 = new A.UnmodifiableSetView0(t4, t6);
  60740. t7 = type$.nullable_StylesheetNode;
  60741. t8 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t7);
  60742. for (t9 = new A.UnionSet(A.LinkedHashSet_LinkedHashSet$_literal([t2, t3, t4], type$.Set_Uri), type$.UnionSet_Uri).get$_union_set$_iterable(), t9 = t9.get$iterator(t9); t9.moveNext$0();) {
  60743. t10 = t9.get$current(t9);
  60744. t8.$indexSet(0, t10, this._nodeFor$4(t10, baseImporter, baseUrl, active));
  60745. }
  60746. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t7);
  60747. for (t2 = new A.DependencyReport(t2, t3, t4, new A.UnmodifiableSetView0(t5, t6)).imports._base.get$iterator(0); t2.moveNext$0();) {
  60748. t3 = t2.get$current(0);
  60749. t1.$indexSet(0, t3, this._nodeFor$5$forImport(t3, baseImporter, baseUrl, active, true));
  60750. }
  60751. return new A._Record_2_imports_modules(t1, t8);
  60752. },
  60753. reload$1(canonicalUrl) {
  60754. var stylesheet, upstream, _this = this,
  60755. node = _this._nodes.$index(0, canonicalUrl);
  60756. if (node == null)
  60757. throw A.wrapException(A.StateError$(canonicalUrl.toString$0(0) + " is not in the dependency graph."));
  60758. _this._transitiveModificationTimes.clear$0(0);
  60759. _this.importCache.clearImport$1(canonicalUrl);
  60760. stylesheet = _this._ignoreErrors$1(new A.StylesheetGraph_reload_closure(_this, node, canonicalUrl));
  60761. if (stylesheet == null)
  60762. return false;
  60763. node._stylesheet = stylesheet;
  60764. upstream = _this._upstreamNodes$3(stylesheet, node.importer, canonicalUrl);
  60765. node._replaceUpstream$2(upstream._1, upstream._0);
  60766. return true;
  60767. },
  60768. _recanonicalizeImports$2(importer, canonicalUrl) {
  60769. var t1, t2, t3, t4, t5, newUpstream, newUpstreamImports, _this = this,
  60770. changed = A.LinkedHashSet_LinkedHashSet$_empty(type$.StylesheetNode);
  60771. 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();) {
  60772. t5 = t1.get$current(0);
  60773. newUpstream = _this._recanonicalizeImportsForNode$4$forImport(t5, importer, canonicalUrl, false);
  60774. newUpstreamImports = _this._recanonicalizeImportsForNode$4$forImport(t5, importer, canonicalUrl, true);
  60775. if (newUpstream.__js_helper$_length !== 0 || newUpstreamImports.__js_helper$_length !== 0) {
  60776. changed.add$1(0, t5);
  60777. 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));
  60778. }
  60779. }
  60780. if (changed._collection$_length !== 0)
  60781. _this._transitiveModificationTimes.clear$0(0);
  60782. return changed;
  60783. },
  60784. _recanonicalizeImportsForNode$4$forImport(node, importer, canonicalUrl, forImport) {
  60785. var url, result, t2, newMap, t3, t4, t5, t6, upstream, exception, newCanonicalUrl,
  60786. t1 = type$.UnmodifiableMapView_of_Uri_and_nullable_StylesheetNode,
  60787. map = forImport ? new A.UnmodifiableMapView(node._upstreamImports, t1) : new A.UnmodifiableMapView(node._upstream, t1);
  60788. t1 = type$.Uri;
  60789. t2 = type$.nullable_StylesheetNode;
  60790. newMap = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  60791. 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();) {
  60792. t6 = t1.get$current(t1);
  60793. url = null;
  60794. url = t6._0;
  60795. upstream = t6._1;
  60796. if (!importer.couldCanonicalize$2(url, canonicalUrl))
  60797. continue;
  60798. t3.clearCanonicalize$1(url);
  60799. result = null;
  60800. try {
  60801. result = t3.canonicalize$4$baseImporter$baseUrl$forImport(0, url, t4, t5, forImport);
  60802. } catch (exception) {
  60803. }
  60804. t6 = result;
  60805. newCanonicalUrl = t6 == null ? null : t6._1;
  60806. if (J.$eq$(newCanonicalUrl, upstream == null ? null : upstream.canonicalUrl))
  60807. continue;
  60808. t6 = url;
  60809. newMap.$indexSet(0, t6, result == null ? null : t2.$index(0, newCanonicalUrl));
  60810. }
  60811. return newMap;
  60812. },
  60813. _nodeFor$5$forImport(url, baseImporter, baseUrl, active, forImport) {
  60814. var canonicalUrl, t2, _1_0, stylesheet, t3, t4, node, _this = this, t1 = {},
  60815. result = _this._ignoreErrors$1(new A.StylesheetGraph__nodeFor_closure(_this, url, baseImporter, baseUrl, forImport));
  60816. if (result == null)
  60817. return null;
  60818. t1.originalUrl = t1.canonicalUrl = t1.importer = null;
  60819. t1.importer = result._0;
  60820. canonicalUrl = t1.canonicalUrl = result._1;
  60821. t1.originalUrl = result._2;
  60822. t2 = _this._nodes;
  60823. _1_0 = t2.$index(0, canonicalUrl);
  60824. if (_1_0 != null)
  60825. return _1_0;
  60826. if (active.contains$1(0, canonicalUrl))
  60827. return null;
  60828. stylesheet = _this._ignoreErrors$1(new A.StylesheetGraph__nodeFor_closure0(t1, _this));
  60829. if (stylesheet == null)
  60830. return null;
  60831. active.add$1(0, t1.canonicalUrl);
  60832. t3 = t1.importer;
  60833. t4 = t1.canonicalUrl;
  60834. node = A.StylesheetNode$_(stylesheet, t3, t4, _this._upstreamNodes$3(stylesheet, t3, t4));
  60835. active.remove$1(0, t1.canonicalUrl);
  60836. t2.$indexSet(0, t1.canonicalUrl, node);
  60837. return node;
  60838. },
  60839. _nodeFor$4(url, baseImporter, baseUrl, active) {
  60840. return this._nodeFor$5$forImport(url, baseImporter, baseUrl, active, false);
  60841. },
  60842. _ignoreErrors$1$1(callback) {
  60843. var t1, exception;
  60844. try {
  60845. t1 = callback.call$0();
  60846. return t1;
  60847. } catch (exception) {
  60848. return null;
  60849. }
  60850. },
  60851. _ignoreErrors$1(callback) {
  60852. return this._ignoreErrors$1$1(callback, type$.dynamic);
  60853. }
  60854. };
  60855. A.StylesheetGraph_modifiedSince_transitiveModificationTime.prototype = {
  60856. call$1(node) {
  60857. return this.$this._transitiveModificationTimes.putIfAbsent$2(node.canonicalUrl, new A.StylesheetGraph_modifiedSince_transitiveModificationTime_closure(node, this));
  60858. },
  60859. $signature: 395
  60860. };
  60861. A.StylesheetGraph_modifiedSince_transitiveModificationTime_closure.prototype = {
  60862. call$0() {
  60863. var t2, t3, upstreamTime,
  60864. t1 = this.node,
  60865. latest = t1.importer.modificationTime$1(t1.canonicalUrl);
  60866. for (t1 = t1._upstream.get$values(0).followedBy$1(0, t1._upstreamImports.get$values(0)), t1 = new A.FollowedByIterator(J.get$iterator$ax(t1.__internal$_first), t1._second), t2 = this.transitiveModificationTime; t1.moveNext$0();) {
  60867. t3 = t1._currentIterator;
  60868. t3 = t3.get$current(t3);
  60869. upstreamTime = t3 == null ? new A.DateTime(Date.now(), false) : t2.call$1(t3);
  60870. if (upstreamTime._value > latest._value)
  60871. latest = upstreamTime;
  60872. }
  60873. return latest;
  60874. },
  60875. $signature: 149
  60876. };
  60877. A.StylesheetGraph__add_closure.prototype = {
  60878. call$0() {
  60879. var _this = this;
  60880. return _this.$this.importCache.canonicalize$3$baseImporter$baseUrl(0, _this.url, _this.baseImporter, _this.baseUrl);
  60881. },
  60882. $signature: 119
  60883. };
  60884. A.StylesheetGraph_addCanonical_closure.prototype = {
  60885. call$0() {
  60886. var _this = this;
  60887. return _this.$this.importCache.importCanonical$3$originalUrl(_this.importer, _this.canonicalUrl, _this.originalUrl);
  60888. },
  60889. $signature: 91
  60890. };
  60891. A.StylesheetGraph_reload_closure.prototype = {
  60892. call$0() {
  60893. return this.$this.importCache.importCanonical$2(this.node.importer, this.canonicalUrl);
  60894. },
  60895. $signature: 91
  60896. };
  60897. A.StylesheetGraph__nodeFor_closure.prototype = {
  60898. call$0() {
  60899. var _this = this;
  60900. return _this.$this.importCache.canonicalize$4$baseImporter$baseUrl$forImport(0, _this.url, _this.baseImporter, _this.baseUrl, _this.forImport);
  60901. },
  60902. $signature: 119
  60903. };
  60904. A.StylesheetGraph__nodeFor_closure0.prototype = {
  60905. call$0() {
  60906. var t1 = this._box_0;
  60907. return this.$this.importCache.importCanonical$3$originalUrl(t1.importer, t1.canonicalUrl, t1.originalUrl);
  60908. },
  60909. $signature: 91
  60910. };
  60911. A.StylesheetNode.prototype = {
  60912. StylesheetNode$_$4(_stylesheet, importer, canonicalUrl, allUpstream) {
  60913. var t1, t2;
  60914. for (t1 = this._upstream.get$values(0).followedBy$1(0, this._upstreamImports.get$values(0)), t1 = new A.FollowedByIterator(J.get$iterator$ax(t1.__internal$_first), t1._second); t1.moveNext$0();) {
  60915. t2 = t1._currentIterator;
  60916. t2 = t2.get$current(t2);
  60917. if (t2 != null)
  60918. t2._downstream.add$1(0, this);
  60919. }
  60920. },
  60921. _replaceUpstream$2(newUpstream, newUpstreamImports) {
  60922. var t3, oldUpstream, newUpstreamSet, _this = this,
  60923. t1 = type$.nullable_StylesheetNode,
  60924. t2 = A.LinkedHashSet_LinkedHashSet$of(_this._upstream.get$values(0), t1);
  60925. t2.addAll$1(0, _this._upstreamImports.get$values(0));
  60926. t3 = type$.StylesheetNode;
  60927. oldUpstream = A.SetExtension_removeNull(t2, t3);
  60928. t1 = A.LinkedHashSet_LinkedHashSet$of(newUpstream.get$values(0), t1);
  60929. t1.addAll$1(0, newUpstreamImports.get$values(0));
  60930. newUpstreamSet = A.SetExtension_removeNull(t1, t3);
  60931. for (t1 = oldUpstream.difference$1(newUpstreamSet), t1 = t1.get$iterator(t1); t1.moveNext$0();)
  60932. t1.get$current(t1)._downstream.remove$1(0, _this);
  60933. for (t1 = newUpstreamSet.difference$1(oldUpstream), t1 = t1.get$iterator(t1); t1.moveNext$0();)
  60934. t1.get$current(t1)._downstream.add$1(0, _this);
  60935. _this._upstream = newUpstream;
  60936. _this._upstreamImports = newUpstreamImports;
  60937. },
  60938. _stylesheet_graph$_remove$0() {
  60939. var t1, t2, t3, t4, _i, url, _this = this;
  60940. 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._modifications, A._instanceType(t1)._precomputed1), t2 = t1.$ti._precomputed1; t1.moveNext$0();) {
  60941. t3 = t1._collection$_current;
  60942. if (t3 == null)
  60943. t3 = t2._as(t3);
  60944. if (t3 == null)
  60945. continue;
  60946. t3._downstream.remove$1(0, _this);
  60947. }
  60948. for (t1 = _this._downstream.get$iterator(0); t1.moveNext$0();) {
  60949. t2 = t1.get$current(0);
  60950. for (t3 = t2._upstream, t4 = A._instanceType(t3)._eval$1("LinkedHashMapKeyIterable<1>"), t4 = A.List_List$of(new A.LinkedHashMapKeyIterable(t3, t4), true, t4._eval$1("Iterable.E")), t3 = t4.length, _i = 0; _i < t3; ++_i) {
  60951. url = t4[_i];
  60952. if (J.$eq$(t2._upstream.$index(0, url), _this)) {
  60953. t2._upstream.$indexSet(0, url, null);
  60954. break;
  60955. }
  60956. }
  60957. for (t3 = t2._upstreamImports, t4 = A._instanceType(t3)._eval$1("LinkedHashMapKeyIterable<1>"), t4 = A.List_List$of(new A.LinkedHashMapKeyIterable(t3, t4), true, t4._eval$1("Iterable.E")), t3 = t4.length, _i = 0; _i < t3; ++_i) {
  60958. url = t4[_i];
  60959. if (J.$eq$(t2._upstreamImports.$index(0, url), _this)) {
  60960. t2._upstreamImports.$indexSet(0, url, null);
  60961. break;
  60962. }
  60963. }
  60964. }
  60965. },
  60966. toString$0(_) {
  60967. var t1 = this._stylesheet.span;
  60968. t1 = A.NullableExtension_andThen(t1.get$sourceUrl(t1), A.path__prettyUri$closure());
  60969. return t1 == null ? "<unknown>" : t1;
  60970. }
  60971. };
  60972. A.Syntax.prototype = {
  60973. _enumToString$0() {
  60974. return "Syntax." + this._name;
  60975. },
  60976. toString$0(_) {
  60977. return this._syntax$_name;
  60978. }
  60979. };
  60980. A.Box.prototype = {
  60981. $eq(_, other) {
  60982. if (other == null)
  60983. return false;
  60984. return this.$ti._is(other) && other._box$_inner === this._box$_inner;
  60985. },
  60986. get$hashCode(_) {
  60987. return A.Primitives_objectHashCode(this._box$_inner);
  60988. }
  60989. };
  60990. A.ModifiableBox.prototype = {};
  60991. A.LazyFileSpan.prototype = {
  60992. get$span(_) {
  60993. var t1 = this._lazy_file_span$_span;
  60994. return t1 == null ? this._lazy_file_span$_span = this._builder.call$0() : t1;
  60995. },
  60996. compareTo$1(_, other) {
  60997. return this.get$span(0).compareTo$1(0, other);
  60998. },
  60999. get$context(_) {
  61000. var t1 = this.get$span(0);
  61001. return t1.get$context(t1);
  61002. },
  61003. get$end(_) {
  61004. var t1 = this.get$span(0);
  61005. return t1.get$end(t1);
  61006. },
  61007. expand$1(_, other) {
  61008. return this.get$span(0).expand$1(0, other);
  61009. },
  61010. get$file(_) {
  61011. var t1 = this.get$span(0);
  61012. return t1.get$file(t1);
  61013. },
  61014. highlight$1$color(color) {
  61015. return this.get$span(0).highlight$1$color(color);
  61016. },
  61017. get$length(_) {
  61018. var t1 = this.get$span(0);
  61019. return t1.get$length(t1);
  61020. },
  61021. message$2$color(_, message, color) {
  61022. return this.get$span(0).message$2$color(0, message, color);
  61023. },
  61024. message$1(_, message) {
  61025. return this.message$2$color(0, message, null);
  61026. },
  61027. get$sourceUrl(_) {
  61028. var t1 = this.get$span(0);
  61029. return t1.get$sourceUrl(t1);
  61030. },
  61031. get$start(_) {
  61032. var t1 = this.get$span(0);
  61033. return t1.get$start(t1);
  61034. },
  61035. get$text() {
  61036. return this.get$span(0).get$text();
  61037. },
  61038. $isComparable: 1,
  61039. $isFileSpan: 1,
  61040. $isSourceSpan: 1,
  61041. $isSourceSpanWithContext: 1
  61042. };
  61043. A.LimitedMapView.prototype = {
  61044. get$keys(_) {
  61045. return this._limited_map_view$_keys;
  61046. },
  61047. get$length(_) {
  61048. return this._limited_map_view$_keys._collection$_length;
  61049. },
  61050. get$isEmpty(_) {
  61051. return this._limited_map_view$_keys._collection$_length === 0;
  61052. },
  61053. get$isNotEmpty(_) {
  61054. return this._limited_map_view$_keys._collection$_length !== 0;
  61055. },
  61056. $index(_, key) {
  61057. return this._limited_map_view$_keys.contains$1(0, key) ? this._limited_map_view$_map.$index(0, key) : null;
  61058. },
  61059. containsKey$1(key) {
  61060. return this._limited_map_view$_keys.contains$1(0, key);
  61061. },
  61062. remove$1(_, key) {
  61063. return this._limited_map_view$_keys.contains$1(0, key) ? this._limited_map_view$_map.remove$1(0, key) : null;
  61064. }
  61065. };
  61066. A.MapExtensions_get_pairs_closure.prototype = {
  61067. call$1(e) {
  61068. return new A._Record_2(e.key, e.value);
  61069. },
  61070. $signature() {
  61071. return this.K._eval$1("@<0>")._bind$1(this.V)._eval$1("+(1,2)(MapEntry<1,2>)");
  61072. }
  61073. };
  61074. A.MergedMapView.prototype = {
  61075. get$keys(_) {
  61076. var t1 = this._mapsByKey;
  61077. return new A.LinkedHashMapKeyIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapKeyIterable<1>"));
  61078. },
  61079. get$length(_) {
  61080. return this._mapsByKey.__js_helper$_length;
  61081. },
  61082. get$isEmpty(_) {
  61083. return this._mapsByKey.__js_helper$_length === 0;
  61084. },
  61085. get$isNotEmpty(_) {
  61086. return this._mapsByKey.__js_helper$_length !== 0;
  61087. },
  61088. MergedMapView$1(maps, $K, $V) {
  61089. var t1, t2, t3, _i, map, t4, t5, t6;
  61090. for (t1 = maps.length, t2 = this._mapsByKey, t3 = $K._eval$1("@<0>")._bind$1($V)._eval$1("MergedMapView<1,2>"), _i = 0; _i < maps.length; maps.length === t1 || (0, A.throwConcurrentModificationError)(maps), ++_i) {
  61091. map = maps[_i];
  61092. if (t3._is(map))
  61093. for (t4 = map._mapsByKey.get$values(0), t5 = A._instanceType(t4), t5 = t5._eval$1("@<1>")._bind$1(t5._rest[1]), t4 = new A.MappedIterator(J.get$iterator$ax(t4.__internal$_iterable), t4._f, t5._eval$1("MappedIterator<1,2>")), t5 = t5._rest[1]; t4.moveNext$0();) {
  61094. t6 = t4.__internal$_current;
  61095. if (t6 == null)
  61096. t6 = t5._as(t6);
  61097. A.setAll(t2, t6.get$keys(t6), t6);
  61098. }
  61099. else
  61100. A.setAll(t2, map.get$keys(map), map);
  61101. }
  61102. },
  61103. $index(_, key) {
  61104. var t1 = this._mapsByKey.$index(0, this.$ti._precomputed1._as(key));
  61105. return t1 == null ? null : t1.$index(0, key);
  61106. },
  61107. $indexSet(_, key, value) {
  61108. var _0_0 = this._mapsByKey.$index(0, key);
  61109. if (_0_0 != null)
  61110. _0_0.$indexSet(0, key, value);
  61111. else
  61112. throw A.wrapException(A.UnsupportedError$(string$.New_en));
  61113. },
  61114. remove$1(_, key) {
  61115. throw A.wrapException(A.UnsupportedError$(string$.Entrie));
  61116. },
  61117. containsKey$1(key) {
  61118. return this._mapsByKey.containsKey$1(key);
  61119. }
  61120. };
  61121. A.MultiDirWatcher.prototype = {
  61122. watch$1(_, directory) {
  61123. var t1, t2, t3, t4, isParentOfExistingDir, _i, t5, _0_1, existingWatcher, future, completer;
  61124. 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) {
  61125. t5 = t2[_i];
  61126. _0_1 = t5._0;
  61127. _0_1.toString;
  61128. existingWatcher = t5._1;
  61129. if (!isParentOfExistingDir) {
  61130. t5 = $.$get$context();
  61131. t5 = t5._isWithinOrEquals$2(_0_1, directory) === B._PathRelation_equal || t5._isWithinOrEquals$2(_0_1, directory) === B._PathRelation_within;
  61132. } else
  61133. t5 = false;
  61134. if (t5) {
  61135. t1 = new A._Future($.Zone__current, type$._Future_void);
  61136. t1._asyncComplete$1(null);
  61137. return t1;
  61138. }
  61139. if ($.$get$context()._isWithinOrEquals$2(directory, _0_1) === B._PathRelation_within) {
  61140. t1.remove$1(0, _0_1);
  61141. t4.remove$1(0, existingWatcher);
  61142. isParentOfExistingDir = true;
  61143. }
  61144. }
  61145. future = A.watchDir(directory, this._poll);
  61146. t2 = new A._CompleterStream(type$._CompleterStream_WatchEvent);
  61147. completer = new A.StreamCompleter(t2, type$.StreamCompleter_WatchEvent);
  61148. future.then$1$2$onError(0, completer.get$setSourceStream(), completer.get$setError(), type$.void);
  61149. t1.$indexSet(0, directory, t2);
  61150. t4.add$1(0, t2);
  61151. return future;
  61152. }
  61153. };
  61154. A.MultiSpan.prototype = {
  61155. get$start(_) {
  61156. var t1 = this._multi_span$_primary;
  61157. return t1.get$start(t1);
  61158. },
  61159. get$end(_) {
  61160. var t1 = this._multi_span$_primary;
  61161. return t1.get$end(t1);
  61162. },
  61163. get$text() {
  61164. return this._multi_span$_primary.get$text();
  61165. },
  61166. get$context(_) {
  61167. var t1 = this._multi_span$_primary;
  61168. return t1.get$context(t1);
  61169. },
  61170. get$file(_) {
  61171. var t1 = this._multi_span$_primary;
  61172. return t1.get$file(t1);
  61173. },
  61174. get$length(_) {
  61175. var t1 = this._multi_span$_primary;
  61176. return t1.get$length(t1);
  61177. },
  61178. get$sourceUrl(_) {
  61179. var t1 = this._multi_span$_primary;
  61180. return t1.get$sourceUrl(t1);
  61181. },
  61182. compareTo$1(_, other) {
  61183. return this._multi_span$_primary.compareTo$1(0, other);
  61184. },
  61185. toString$0(_) {
  61186. return this._multi_span$_primary.toString$0(0);
  61187. },
  61188. expand$1(_, other) {
  61189. return new A.MultiSpan(this._multi_span$_primary.expand$1(0, other), this.primaryLabel, this.secondarySpans);
  61190. },
  61191. highlight$1$color(color) {
  61192. return A.Highlighter$multiple(this._multi_span$_primary, this.primaryLabel, this.secondarySpans, color === true, null, null).highlight$0();
  61193. },
  61194. message$2$color(_, message, color) {
  61195. var t1 = J.$eq$(color, true) || typeof color == "string",
  61196. t2 = typeof color == "string" ? color : null;
  61197. return A.SourceSpanExtension_messageMultiple(this._multi_span$_primary, message, this.primaryLabel, this.secondarySpans, t1, t2, null);
  61198. },
  61199. message$1(_, message) {
  61200. return this.message$2$color(0, message, null);
  61201. },
  61202. $isComparable: 1,
  61203. $isFileSpan: 1,
  61204. $isSourceSpan: 1,
  61205. $isSourceSpanWithContext: 1
  61206. };
  61207. A.NoSourceMapBuffer.prototype = {
  61208. get$length(_) {
  61209. return this._no_source_map_buffer$_buffer._contents.length;
  61210. },
  61211. forSpan$1$2(span, callback) {
  61212. return callback.call$0();
  61213. },
  61214. forSpan$2(span, callback) {
  61215. return this.forSpan$1$2(span, callback, type$.dynamic);
  61216. },
  61217. write$1(_, object) {
  61218. var t1 = this._no_source_map_buffer$_buffer,
  61219. t2 = A.S(object);
  61220. t1._contents += t2;
  61221. return null;
  61222. },
  61223. writeCharCode$1(charCode) {
  61224. var t1 = this._no_source_map_buffer$_buffer,
  61225. t2 = A.Primitives_stringFromCharCode(charCode);
  61226. t1._contents += t2;
  61227. return null;
  61228. },
  61229. toString$0(_) {
  61230. var t1 = this._no_source_map_buffer$_buffer._contents;
  61231. return t1.charCodeAt(0) == 0 ? t1 : t1;
  61232. },
  61233. buildSourceMap$1$prefix(prefix) {
  61234. return A.throwExpression(A.UnsupportedError$(string$.NoSour));
  61235. }
  61236. };
  61237. A.PrefixedMapView.prototype = {
  61238. get$keys(_) {
  61239. return new A._PrefixedKeys(this);
  61240. },
  61241. get$length(_) {
  61242. var t1 = this._prefixed_map_view$_map;
  61243. return t1.get$length(t1);
  61244. },
  61245. get$isEmpty(_) {
  61246. var t1 = this._prefixed_map_view$_map;
  61247. return t1.get$isEmpty(t1);
  61248. },
  61249. get$isNotEmpty(_) {
  61250. var t1 = this._prefixed_map_view$_map;
  61251. return t1.get$isNotEmpty(t1);
  61252. },
  61253. $index(_, key) {
  61254. return typeof key == "string" && B.JSString_methods.startsWith$1(key, this._prefix) ? this._prefixed_map_view$_map.$index(0, J.substring$1$s(key, this._prefix.length)) : null;
  61255. },
  61256. containsKey$1(key) {
  61257. return typeof key == "string" && B.JSString_methods.startsWith$1(key, this._prefix) && this._prefixed_map_view$_map.containsKey$1(J.substring$1$s(key, this._prefix.length));
  61258. }
  61259. };
  61260. A._PrefixedKeys.prototype = {
  61261. get$length(_) {
  61262. var t1 = this._view._prefixed_map_view$_map;
  61263. return t1.get$length(t1);
  61264. },
  61265. get$iterator(_) {
  61266. var t1 = this._view._prefixed_map_view$_map;
  61267. t1 = J.map$1$1$ax(t1.get$keys(t1), new A._PrefixedKeys_iterator_closure(this), type$.String);
  61268. return t1.get$iterator(t1);
  61269. },
  61270. contains$1(_, key) {
  61271. return this._view.containsKey$1(key);
  61272. }
  61273. };
  61274. A._PrefixedKeys_iterator_closure.prototype = {
  61275. call$1(key) {
  61276. return this.$this._view._prefix + key;
  61277. },
  61278. $signature: 5
  61279. };
  61280. A.PublicMemberMapView.prototype = {
  61281. get$keys(_) {
  61282. var t1 = this._public_member_map_view$_inner;
  61283. return J.where$1$ax(t1.get$keys(t1), A.utils__isPublic$closure());
  61284. },
  61285. containsKey$1(key) {
  61286. return typeof key == "string" && A.isPublic(key) && this._public_member_map_view$_inner.containsKey$1(key);
  61287. },
  61288. $index(_, key) {
  61289. if (typeof key == "string" && A.isPublic(key))
  61290. return this._public_member_map_view$_inner.$index(0, key);
  61291. return null;
  61292. }
  61293. };
  61294. A.SourceMapBuffer.prototype = {
  61295. get$_targetLocation() {
  61296. var t1 = this._source_map_buffer$_buffer._contents,
  61297. t2 = this._line;
  61298. return A.SourceLocation$(t1.length, this._column, t2, null);
  61299. },
  61300. get$length(_) {
  61301. return this._source_map_buffer$_buffer._contents.length;
  61302. },
  61303. forSpan$1$2(span, callback) {
  61304. var t1, _this = this,
  61305. wasInSpan = _this._inSpan;
  61306. _this._inSpan = true;
  61307. _this._addEntry$2(span.get$start(span), _this.get$_targetLocation());
  61308. try {
  61309. t1 = callback.call$0();
  61310. return t1;
  61311. } finally {
  61312. _this._inSpan = wasInSpan;
  61313. }
  61314. },
  61315. forSpan$2(span, callback) {
  61316. return this.forSpan$1$2(span, callback, type$.dynamic);
  61317. },
  61318. _addEntry$2(source, target) {
  61319. var entry, t2,
  61320. t1 = this._entries;
  61321. if (t1.length !== 0) {
  61322. entry = B.JSArray_methods.get$last(t1);
  61323. t2 = entry.source;
  61324. if (t2.file.getLine$1(t2.offset) === source.file.getLine$1(source.offset) && entry.target.line === target.line)
  61325. return;
  61326. if (entry.target.offset === target.offset)
  61327. return;
  61328. }
  61329. t1.push(new A.Entry(source, target, null));
  61330. },
  61331. write$1(_, object) {
  61332. var t1, i,
  61333. string = J.toString$0$(object);
  61334. this._source_map_buffer$_buffer._contents += string;
  61335. for (t1 = string.length, i = 0; i < t1; ++i)
  61336. if (string.charCodeAt(i) === 10)
  61337. this._source_map_buffer$_writeLine$0();
  61338. else
  61339. ++this._column;
  61340. },
  61341. writeCharCode$1(charCode) {
  61342. var t1 = this._source_map_buffer$_buffer,
  61343. t2 = A.Primitives_stringFromCharCode(charCode);
  61344. t1._contents += t2;
  61345. if (charCode === 10)
  61346. this._source_map_buffer$_writeLine$0();
  61347. else
  61348. ++this._column;
  61349. },
  61350. _source_map_buffer$_writeLine$0() {
  61351. var _this = this,
  61352. t1 = _this._entries;
  61353. if (B.JSArray_methods.get$last(t1).target.line === _this._line && B.JSArray_methods.get$last(t1).target.column === _this._column)
  61354. t1.pop();
  61355. ++_this._line;
  61356. _this._column = 0;
  61357. if (_this._inSpan)
  61358. t1.push(new A.Entry(B.JSArray_methods.get$last(t1).source, _this.get$_targetLocation(), null));
  61359. },
  61360. toString$0(_) {
  61361. var t1 = this._source_map_buffer$_buffer._contents;
  61362. return t1.charCodeAt(0) == 0 ? t1 : t1;
  61363. },
  61364. buildSourceMap$1$prefix(prefix) {
  61365. var i, t2, prefixColumn, _box_0 = {},
  61366. t1 = prefix.length;
  61367. if (t1 === 0)
  61368. return A.SingleMapping_SingleMapping$fromEntries(this._entries);
  61369. _box_0.prefixColumn = _box_0.prefixLines = 0;
  61370. for (i = 0, t2 = 0; i < t1; ++i)
  61371. if (prefix.charCodeAt(i) === 10) {
  61372. ++_box_0.prefixLines;
  61373. _box_0.prefixColumn = 0;
  61374. t2 = 0;
  61375. } else {
  61376. prefixColumn = t2 + 1;
  61377. _box_0.prefixColumn = prefixColumn;
  61378. t2 = prefixColumn;
  61379. }
  61380. t2 = this._entries;
  61381. 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>")));
  61382. }
  61383. };
  61384. A.SourceMapBuffer_buildSourceMap_closure.prototype = {
  61385. call$1(entry) {
  61386. var t1 = entry.target,
  61387. t2 = t1.line,
  61388. t3 = this._box_0,
  61389. t4 = t3.prefixLines;
  61390. t3 = t2 === 0 ? t3.prefixColumn : 0;
  61391. return new A.Entry(entry.source, A.SourceLocation$(t1.offset + this.prefixLength, t1.column + t3, t2 + t4, null), entry.identifierName);
  61392. },
  61393. $signature: 160
  61394. };
  61395. A.UnprefixedMapView.prototype = {
  61396. get$keys(_) {
  61397. return new A._UnprefixedKeys(this);
  61398. },
  61399. $index(_, key) {
  61400. return typeof key == "string" ? this._unprefixed_map_view$_map.$index(0, this._unprefixed_map_view$_prefix + key) : null;
  61401. },
  61402. containsKey$1(key) {
  61403. return typeof key == "string" && this._unprefixed_map_view$_map.containsKey$1(this._unprefixed_map_view$_prefix + key);
  61404. },
  61405. remove$1(_, key) {
  61406. return typeof key == "string" ? this._unprefixed_map_view$_map.remove$1(0, this._unprefixed_map_view$_prefix + key) : null;
  61407. }
  61408. };
  61409. A._UnprefixedKeys.prototype = {
  61410. get$iterator(_) {
  61411. var t1 = this._unprefixed_map_view$_view._unprefixed_map_view$_map;
  61412. t1 = J.where$1$ax(t1.get$keys(t1), new A._UnprefixedKeys_iterator_closure(this)).map$1$1(0, new A._UnprefixedKeys_iterator_closure0(this), type$.String);
  61413. return t1.get$iterator(t1);
  61414. },
  61415. contains$1(_, key) {
  61416. return this._unprefixed_map_view$_view.containsKey$1(key);
  61417. }
  61418. };
  61419. A._UnprefixedKeys_iterator_closure.prototype = {
  61420. call$1(key) {
  61421. return B.JSString_methods.startsWith$1(key, this.$this._unprefixed_map_view$_view._unprefixed_map_view$_prefix);
  61422. },
  61423. $signature: 4
  61424. };
  61425. A._UnprefixedKeys_iterator_closure0.prototype = {
  61426. call$1(key) {
  61427. return B.JSString_methods.substring$1(key, this.$this._unprefixed_map_view$_view._unprefixed_map_view$_prefix.length);
  61428. },
  61429. $signature: 5
  61430. };
  61431. A.indent_closure.prototype = {
  61432. call$1(line) {
  61433. return B.JSString_methods.$mul(" ", this.indentation) + line;
  61434. },
  61435. $signature: 5
  61436. };
  61437. A.flattenVertically_closure.prototype = {
  61438. call$1(inner) {
  61439. return A.QueueList_QueueList$from(inner, this.T);
  61440. },
  61441. $signature() {
  61442. return this.T._eval$1("QueueList<0>(Iterable<0>)");
  61443. }
  61444. };
  61445. A.flattenVertically_closure0.prototype = {
  61446. call$1(queue) {
  61447. this.result.push(queue.removeFirst$0());
  61448. return queue.get$length(0) === 0;
  61449. },
  61450. $signature() {
  61451. return this.T._eval$1("bool(QueueList<0>)");
  61452. }
  61453. };
  61454. A.longestCommonSubsequence_backtrack.prototype = {
  61455. call$2(i, j) {
  61456. var selection, t1, _this = this;
  61457. if (i === -1 || j === -1)
  61458. return A._setArrayType([], _this.T._eval$1("JSArray<0>"));
  61459. selection = _this.selections[i][j];
  61460. if (selection != null) {
  61461. t1 = _this.call$2(i - 1, j - 1);
  61462. J.add$1$ax(t1, selection);
  61463. return t1;
  61464. }
  61465. t1 = _this.lengths;
  61466. return t1[i + 1][j] > t1[i][j + 1] ? _this.call$2(i, j - 1) : _this.call$2(i - 1, j);
  61467. },
  61468. $signature() {
  61469. return this.T._eval$1("List<0>(int,int)");
  61470. }
  61471. };
  61472. A.mapAddAll2_closure.prototype = {
  61473. call$2(key, inner) {
  61474. var t1 = this.destination,
  61475. _0_0 = t1.$index(0, key);
  61476. if (_0_0 != null)
  61477. _0_0.addAll$1(0, inner);
  61478. else
  61479. t1.$indexSet(0, key, inner);
  61480. },
  61481. $signature() {
  61482. return this.K1._eval$1("@<0>")._bind$1(this.K2)._bind$1(this.V)._eval$1("~(1,Map<2,3>)");
  61483. }
  61484. };
  61485. A.Value.prototype = {
  61486. get$isTruthy() {
  61487. return true;
  61488. },
  61489. get$separator(_) {
  61490. return B.ListSeparator_undecided_null_undecided;
  61491. },
  61492. get$hasBrackets() {
  61493. return false;
  61494. },
  61495. get$asList() {
  61496. return A._setArrayType([this], type$.JSArray_Value);
  61497. },
  61498. get$lengthAsList() {
  61499. return 1;
  61500. },
  61501. get$isBlank() {
  61502. return false;
  61503. },
  61504. get$isSpecialNumber() {
  61505. return false;
  61506. },
  61507. get$isVar() {
  61508. return false;
  61509. },
  61510. get$realNull() {
  61511. return this;
  61512. },
  61513. sassIndexToListIndex$2(sassIndex, $name) {
  61514. var t1, index,
  61515. indexValue = sassIndex.assertNumber$1($name);
  61516. if (indexValue.get$hasUnits()) {
  61517. t1 = indexValue.get$unitString();
  61518. A.warnForDeprecation("$" + $name + ": Passing a number with unit " + t1 + string$.x20is_de + indexValue.unitSuggestion$1($name) + string$.x0a_Morex3a, B.Deprecation_2jN);
  61519. }
  61520. index = indexValue.assertInt$1($name);
  61521. if (index === 0)
  61522. throw A.wrapException(A.SassScriptException$("List index may not be 0.", $name));
  61523. if (Math.abs(index) > this.get$lengthAsList())
  61524. throw A.wrapException(A.SassScriptException$("Invalid index " + sassIndex.toString$0(0) + " for a list with " + this.get$lengthAsList() + " elements.", $name));
  61525. return index < 0 ? this.get$lengthAsList() + index : index - 1;
  61526. },
  61527. assertCalculation$1($name) {
  61528. return A.throwExpression(A.SassScriptException$(this.toString$0(0) + " is not a calculation.", $name));
  61529. },
  61530. assertColor$1($name) {
  61531. return A.throwExpression(A.SassScriptException$(this.toString$0(0) + " is not a color.", $name));
  61532. },
  61533. assertFunction$1($name) {
  61534. return A.throwExpression(A.SassScriptException$(this.toString$0(0) + " is not a function reference.", $name));
  61535. },
  61536. assertMixin$1($name) {
  61537. return A.throwExpression(A.SassScriptException$(this.toString$0(0) + " is not a mixin reference.", $name));
  61538. },
  61539. assertMap$1($name) {
  61540. return A.throwExpression(A.SassScriptException$(this.toString$0(0) + " is not a map.", $name));
  61541. },
  61542. tryMap$0() {
  61543. return null;
  61544. },
  61545. assertNumber$1($name) {
  61546. return A.throwExpression(A.SassScriptException$(this.toString$0(0) + " is not a number.", $name));
  61547. },
  61548. assertNumber$0() {
  61549. return this.assertNumber$1(null);
  61550. },
  61551. assertString$1($name) {
  61552. return A.throwExpression(A.SassScriptException$(this.toString$0(0) + " is not a string.", $name));
  61553. },
  61554. _selectorString$1($name) {
  61555. var _0_0 = this._selectorStringOrNull$0();
  61556. if (_0_0 != null)
  61557. return _0_0;
  61558. throw A.wrapException(A.SassScriptException$(this.toString$0(0) + string$.x20is_noav, $name));
  61559. },
  61560. _selectorStringOrNull$0() {
  61561. var t1, t2, result, _1_0, _i, complex, string, compound, _this = this, _null = null;
  61562. if (_this instanceof A.SassString)
  61563. return _this._string$_text;
  61564. if (!(_this instanceof A.SassList))
  61565. return _null;
  61566. t1 = _this._list$_contents;
  61567. t2 = t1.length;
  61568. if (t2 === 0)
  61569. return _null;
  61570. result = A._setArrayType([], type$.JSArray_String);
  61571. $label0$1: {
  61572. _1_0 = _this._separator;
  61573. if (B.ListSeparator_ECn === _1_0) {
  61574. for (_i = 0; _i < t2; ++_i) {
  61575. complex = t1[_i];
  61576. if (complex instanceof A.SassString) {
  61577. result.push(complex._string$_text);
  61578. continue;
  61579. }
  61580. if (complex instanceof A.SassList && B.ListSeparator_nbm === complex._separator) {
  61581. string = complex._selectorStringOrNull$0();
  61582. if (string == null)
  61583. return _null;
  61584. result.push(string);
  61585. continue;
  61586. }
  61587. return _null;
  61588. }
  61589. break $label0$1;
  61590. }
  61591. if (B.ListSeparator_cQA === _1_0)
  61592. return _null;
  61593. for (_i = 0; _i < t2; ++_i) {
  61594. compound = t1[_i];
  61595. if (!(compound instanceof A.SassString))
  61596. return _null;
  61597. result.push(compound._string$_text);
  61598. }
  61599. break $label0$1;
  61600. }
  61601. return B.JSArray_methods.join$1(result, _1_0 === B.ListSeparator_ECn ? ", " : " ");
  61602. },
  61603. withListContents$2$separator(contents, separator) {
  61604. var t1 = separator == null ? this.get$separator(this) : separator,
  61605. t2 = this.get$hasBrackets();
  61606. return A.SassList$(contents, t1, t2);
  61607. },
  61608. withListContents$1(contents) {
  61609. return this.withListContents$2$separator(contents, null);
  61610. },
  61611. greaterThan$1(other) {
  61612. return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " > " + other.toString$0(0) + '".', null));
  61613. },
  61614. greaterThanOrEquals$1(other) {
  61615. return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " >= " + other.toString$0(0) + '".', null));
  61616. },
  61617. lessThan$1(other) {
  61618. return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " < " + other.toString$0(0) + '".', null));
  61619. },
  61620. lessThanOrEquals$1(other) {
  61621. return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " <= " + other.toString$0(0) + '".', null));
  61622. },
  61623. times$1(other) {
  61624. return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " * " + other.toString$0(0) + '".', null));
  61625. },
  61626. modulo$1(other) {
  61627. return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " % " + other.toString$0(0) + '".', null));
  61628. },
  61629. plus$1(other) {
  61630. var t1;
  61631. $label0$0: {
  61632. if (other instanceof A.SassString) {
  61633. t1 = new A.SassString(A.serializeValue(this, false, true) + other._string$_text, other._hasQuotes);
  61634. break $label0$0;
  61635. }
  61636. if (other instanceof A.SassCalculation)
  61637. A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  61638. t1 = new A.SassString(A.serializeValue(this, false, true) + A.serializeValue(other, false, true), false);
  61639. break $label0$0;
  61640. }
  61641. return t1;
  61642. },
  61643. minus$1(other) {
  61644. 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);
  61645. },
  61646. dividedBy$1(other) {
  61647. return new A.SassString(A.serializeValue(this, false, true) + "/" + A.serializeValue(other, false, true), false);
  61648. },
  61649. unaryPlus$0() {
  61650. return new A.SassString("+" + A.serializeValue(this, false, true), false);
  61651. },
  61652. unaryMinus$0() {
  61653. return new A.SassString("-" + A.serializeValue(this, false, true), false);
  61654. },
  61655. unaryNot$0() {
  61656. return B.SassBoolean_false;
  61657. },
  61658. withoutSlash$0() {
  61659. return this;
  61660. },
  61661. toString$0(_) {
  61662. return A.serializeValue(this, true, true);
  61663. }
  61664. };
  61665. A.SassArgumentList.prototype = {};
  61666. A.SassBoolean.prototype = {
  61667. get$isTruthy() {
  61668. return this.value;
  61669. },
  61670. accept$1$1(visitor) {
  61671. return visitor._serialize$_buffer.write$1(0, String(this.value));
  61672. },
  61673. accept$1(visitor) {
  61674. return this.accept$1$1(visitor, type$.dynamic);
  61675. },
  61676. unaryNot$0() {
  61677. return this.value ? B.SassBoolean_false : B.SassBoolean_true;
  61678. }
  61679. };
  61680. A.SassCalculation.prototype = {
  61681. get$isSpecialNumber() {
  61682. return true;
  61683. },
  61684. accept$1$1(visitor) {
  61685. return visitor.visitCalculation$1(this);
  61686. },
  61687. accept$1(visitor) {
  61688. return this.accept$1$1(visitor, type$.dynamic);
  61689. },
  61690. assertCalculation$1($name) {
  61691. return this;
  61692. },
  61693. plus$1(other) {
  61694. if (other instanceof A.SassString)
  61695. return this.super$Value$plus(other);
  61696. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  61697. },
  61698. minus$1(other) {
  61699. return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " - " + other.toString$0(0) + '".', null));
  61700. },
  61701. unaryPlus$0() {
  61702. return A.throwExpression(A.SassScriptException$('Undefined operation "+' + this.toString$0(0) + '".', null));
  61703. },
  61704. unaryMinus$0() {
  61705. return A.throwExpression(A.SassScriptException$('Undefined operation "-' + this.toString$0(0) + '".', null));
  61706. },
  61707. $eq(_, other) {
  61708. if (other == null)
  61709. return false;
  61710. return other instanceof A.SassCalculation && this.name === other.name && B.C_ListEquality.equals$2(0, this.$arguments, other.$arguments);
  61711. },
  61712. get$hashCode(_) {
  61713. return B.JSString_methods.get$hashCode(this.name) ^ B.C_ListEquality0.hash$1(this.$arguments);
  61714. }
  61715. };
  61716. A.SassCalculation__verifyLength_closure.prototype = {
  61717. call$1(arg) {
  61718. return arg instanceof A.SassString;
  61719. },
  61720. $signature: 67
  61721. };
  61722. A.CalculationOperation.prototype = {
  61723. $eq(_, other) {
  61724. if (other == null)
  61725. return false;
  61726. return other instanceof A.CalculationOperation && this._operator === other._operator && J.$eq$(this._left, other._left) && J.$eq$(this._right, other._right);
  61727. },
  61728. get$hashCode(_) {
  61729. return (A.Primitives_objectHashCode(this._operator) ^ J.get$hashCode$(this._left) ^ J.get$hashCode$(this._right)) >>> 0;
  61730. },
  61731. toString$0(_) {
  61732. var parenthesized = A.serializeValue(new A.SassCalculation("", A._setArrayType([this], type$.JSArray_Object)), true, true);
  61733. return B.JSString_methods.substring$2(parenthesized, 1, parenthesized.length - 1);
  61734. }
  61735. };
  61736. A.CalculationOperator.prototype = {
  61737. _enumToString$0() {
  61738. return "CalculationOperator." + this._name;
  61739. },
  61740. toString$0(_) {
  61741. return this.name;
  61742. }
  61743. };
  61744. A.SassColor.prototype = {
  61745. get$red(_) {
  61746. var t1;
  61747. if (this._red == null)
  61748. this._hslToRgb$0();
  61749. t1 = this._red;
  61750. t1.toString;
  61751. return t1;
  61752. },
  61753. get$green(_) {
  61754. var t1;
  61755. if (this._green == null)
  61756. this._hslToRgb$0();
  61757. t1 = this._green;
  61758. t1.toString;
  61759. return t1;
  61760. },
  61761. get$blue(_) {
  61762. var t1;
  61763. if (this._blue == null)
  61764. this._hslToRgb$0();
  61765. t1 = this._blue;
  61766. t1.toString;
  61767. return t1;
  61768. },
  61769. get$hue(_) {
  61770. var t1;
  61771. if (this._hue == null)
  61772. this._rgbToHsl$0();
  61773. t1 = this._hue;
  61774. t1.toString;
  61775. return t1;
  61776. },
  61777. get$saturation(_) {
  61778. var t1;
  61779. if (this._saturation == null)
  61780. this._rgbToHsl$0();
  61781. t1 = this._saturation;
  61782. t1.toString;
  61783. return t1;
  61784. },
  61785. get$lightness(_) {
  61786. var t1;
  61787. if (this._lightness == null)
  61788. this._rgbToHsl$0();
  61789. t1 = this._lightness;
  61790. t1.toString;
  61791. return t1;
  61792. },
  61793. get$whiteness(_) {
  61794. return Math.min(Math.min(this.get$red(0), this.get$green(0)), this.get$blue(0)) / 255 * 100;
  61795. },
  61796. get$blackness(_) {
  61797. return 100 - Math.max(Math.max(this.get$red(0), this.get$green(0)), this.get$blue(0)) / 255 * 100;
  61798. },
  61799. accept$1$1(visitor) {
  61800. return visitor.visitColor$1(this);
  61801. },
  61802. accept$1(visitor) {
  61803. return this.accept$1$1(visitor, type$.dynamic);
  61804. },
  61805. assertColor$1($name) {
  61806. return this;
  61807. },
  61808. changeRgb$4$alpha$blue$green$red(alpha, blue, green, red) {
  61809. return A.SassColor$rgb(red, green, blue, alpha == null ? this._alpha : alpha);
  61810. },
  61811. changeRgb$3$blue$green$red(blue, green, red) {
  61812. return this.changeRgb$4$alpha$blue$green$red(null, blue, green, red);
  61813. },
  61814. changeHsl$4$alpha$hue$lightness$saturation(alpha, hue, lightness, saturation) {
  61815. var _this = this, _null = null,
  61816. t1 = hue == null ? _this.get$hue(0) : hue,
  61817. t2 = saturation == null ? _this.get$saturation(0) : saturation,
  61818. t3 = lightness == null ? _this.get$lightness(0) : lightness,
  61819. t4 = A.SassColor__handleNullAlpha(alpha == null ? _this._alpha : alpha);
  61820. return new A.SassColor(_null, _null, _null, B.JSNumber_methods.$mod(t1, 360), A.fuzzyAssertRange(t2, 0, 100, "saturation"), A.fuzzyAssertRange(t3, 0, 100, "lightness"), A.fuzzyAssertRange(t4, 0, 1, "alpha"), _null);
  61821. },
  61822. changeHsl$1$saturation(saturation) {
  61823. return this.changeHsl$4$alpha$hue$lightness$saturation(null, null, null, saturation);
  61824. },
  61825. changeHsl$1$lightness(lightness) {
  61826. return this.changeHsl$4$alpha$hue$lightness$saturation(null, null, lightness, null);
  61827. },
  61828. changeHsl$1$hue(hue) {
  61829. return this.changeHsl$4$alpha$hue$lightness$saturation(null, hue, null, null);
  61830. },
  61831. changeAlpha$1(alpha) {
  61832. var _this = this;
  61833. return new A.SassColor(_this._red, _this._green, _this._blue, _this._hue, _this._saturation, _this._lightness, A.fuzzyAssertRange(alpha, 0, 1, "alpha"), null);
  61834. },
  61835. plus$1(other) {
  61836. if (!(other instanceof A.SassNumber) && !(other instanceof A.SassColor))
  61837. return this.super$Value$plus(other);
  61838. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  61839. },
  61840. minus$1(other) {
  61841. if (!(other instanceof A.SassNumber) && !(other instanceof A.SassColor))
  61842. return this.super$Value$minus(other);
  61843. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " - " + other.toString$0(0) + '".', null));
  61844. },
  61845. dividedBy$1(other) {
  61846. if (!(other instanceof A.SassNumber) && !(other instanceof A.SassColor))
  61847. return this.super$Value$dividedBy(other);
  61848. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " / " + other.toString$0(0) + '".', null));
  61849. },
  61850. $eq(_, other) {
  61851. var _this = this;
  61852. if (other == null)
  61853. return false;
  61854. return other instanceof A.SassColor && other.get$red(0) === _this.get$red(0) && other.get$green(0) === _this.get$green(0) && other.get$blue(0) === _this.get$blue(0) && other._alpha === _this._alpha;
  61855. },
  61856. get$hashCode(_) {
  61857. var _this = this;
  61858. return B.JSInt_methods.get$hashCode(_this.get$red(0)) ^ B.JSInt_methods.get$hashCode(_this.get$green(0)) ^ B.JSInt_methods.get$hashCode(_this.get$blue(0)) ^ B.JSNumber_methods.get$hashCode(_this._alpha);
  61859. },
  61860. _rgbToHsl$0() {
  61861. var t2, lightness, _this = this,
  61862. scaledRed = _this.get$red(0) / 255,
  61863. scaledGreen = _this.get$green(0) / 255,
  61864. scaledBlue = _this.get$blue(0) / 255,
  61865. max = Math.max(Math.max(scaledRed, scaledGreen), scaledBlue),
  61866. min = Math.min(Math.min(scaledRed, scaledGreen), scaledBlue),
  61867. delta = max - min,
  61868. t1 = max === min;
  61869. if (t1)
  61870. _this._hue = 0;
  61871. else if (max === scaledRed)
  61872. _this._hue = B.JSNumber_methods.$mod(60 * (scaledGreen - scaledBlue) / delta, 360);
  61873. else if (max === scaledGreen)
  61874. _this._hue = B.JSNumber_methods.$mod(120 + 60 * (scaledBlue - scaledRed) / delta, 360);
  61875. else if (max === scaledBlue)
  61876. _this._hue = B.JSNumber_methods.$mod(240 + 60 * (scaledRed - scaledGreen) / delta, 360);
  61877. t2 = max + min;
  61878. lightness = 50 * t2;
  61879. _this._lightness = lightness;
  61880. if (t1)
  61881. _this._saturation = 0;
  61882. else {
  61883. t1 = 100 * delta;
  61884. if (lightness < 50)
  61885. _this._saturation = t1 / t2;
  61886. else
  61887. _this._saturation = t1 / (2 - max - min);
  61888. }
  61889. },
  61890. _hslToRgb$0() {
  61891. var _this = this,
  61892. scaledHue = _this.get$hue(0) / 360,
  61893. scaledSaturation = _this.get$saturation(0) / 100,
  61894. scaledLightness = _this.get$lightness(0) / 100,
  61895. m2 = scaledLightness <= 0.5 ? scaledLightness * (scaledSaturation + 1) : scaledLightness + scaledSaturation - scaledLightness * scaledSaturation,
  61896. m1 = scaledLightness * 2 - m2;
  61897. _this._red = A.fuzzyRound(A.SassColor__hueToRgb(m1, m2, scaledHue + 0.3333333333333333) * 255);
  61898. _this._green = A.fuzzyRound(A.SassColor__hueToRgb(m1, m2, scaledHue) * 255);
  61899. _this._blue = A.fuzzyRound(A.SassColor__hueToRgb(m1, m2, scaledHue - 0.3333333333333333) * 255);
  61900. }
  61901. };
  61902. A.SassColor_SassColor$hwb_toRgb.prototype = {
  61903. call$1(hue) {
  61904. return A.fuzzyRound((A.SassColor__hueToRgb(0, 1, hue) * this.factor + this._box_0.scaledWhiteness) * 255);
  61905. },
  61906. $signature: 161
  61907. };
  61908. A._ColorFormatEnum.prototype = {
  61909. toString$0(_) {
  61910. return this._color$_name;
  61911. }
  61912. };
  61913. A.SpanColorFormat.prototype = {};
  61914. A.SassFunction.prototype = {
  61915. accept$1$1(visitor) {
  61916. var t1, t2;
  61917. if (!visitor._inspect)
  61918. A.throwExpression(A.SassScriptException$(this.toString$0(0) + " isn't a valid CSS value.", null));
  61919. t1 = visitor._serialize$_buffer;
  61920. t1.write$1(0, "get-function(");
  61921. t2 = this.callable;
  61922. visitor._visitQuotedString$1(t2.get$name(t2));
  61923. t1.writeCharCode$1(41);
  61924. return null;
  61925. },
  61926. accept$1(visitor) {
  61927. return this.accept$1$1(visitor, type$.dynamic);
  61928. },
  61929. assertFunction$1($name) {
  61930. return this;
  61931. },
  61932. $eq(_, other) {
  61933. if (other == null)
  61934. return false;
  61935. return other instanceof A.SassFunction && this.callable.$eq(0, other.callable);
  61936. },
  61937. get$hashCode(_) {
  61938. var t1 = this.callable;
  61939. return t1.get$hashCode(t1);
  61940. }
  61941. };
  61942. A.SassList.prototype = {
  61943. get$separator(_) {
  61944. return this._separator;
  61945. },
  61946. get$hasBrackets() {
  61947. return this._hasBrackets;
  61948. },
  61949. get$isBlank() {
  61950. return !this._hasBrackets && B.JSArray_methods.every$1(this._list$_contents, new A.SassList_isBlank_closure());
  61951. },
  61952. get$asList() {
  61953. return this._list$_contents;
  61954. },
  61955. get$lengthAsList() {
  61956. return this._list$_contents.length;
  61957. },
  61958. SassList$3$brackets(contents, _separator, brackets) {
  61959. if (this._separator === B.ListSeparator_undecided_null_undecided && this._list$_contents.length > 1)
  61960. throw A.wrapException(A.ArgumentError$(string$.A_list, null));
  61961. },
  61962. accept$1$1(visitor) {
  61963. return visitor.visitList$1(this);
  61964. },
  61965. accept$1(visitor) {
  61966. return this.accept$1$1(visitor, type$.dynamic);
  61967. },
  61968. assertMap$1($name) {
  61969. return this._list$_contents.length === 0 ? B.SassMap_Map_empty : this.super$Value$assertMap($name);
  61970. },
  61971. tryMap$0() {
  61972. return this._list$_contents.length === 0 ? B.SassMap_Map_empty : null;
  61973. },
  61974. $eq(_, other) {
  61975. var t1, _this = this;
  61976. if (other == null)
  61977. return false;
  61978. 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)))
  61979. t1 = _this._list$_contents.length === 0 && other instanceof A.SassMap && other.get$asList().length === 0;
  61980. else
  61981. t1 = true;
  61982. return t1;
  61983. },
  61984. get$hashCode(_) {
  61985. return B.C_ListEquality0.hash$1(this._list$_contents);
  61986. }
  61987. };
  61988. A.SassList_isBlank_closure.prototype = {
  61989. call$1(element) {
  61990. return element.get$isBlank();
  61991. },
  61992. $signature: 73
  61993. };
  61994. A.ListSeparator.prototype = {
  61995. _enumToString$0() {
  61996. return "ListSeparator." + this._name;
  61997. },
  61998. toString$0(_) {
  61999. return this._list$_name;
  62000. }
  62001. };
  62002. A.SassMap.prototype = {
  62003. get$separator(_) {
  62004. var t1 = this._map$_contents;
  62005. return t1.get$isEmpty(t1) ? B.ListSeparator_undecided_null_undecided : B.ListSeparator_ECn;
  62006. },
  62007. get$asList() {
  62008. var t3, t4, t5, result,
  62009. t1 = type$.JSArray_Value,
  62010. t2 = A._setArrayType([], t1);
  62011. for (t3 = type$.Value, t4 = A.MapExtensions_get_pairs(this._map$_contents, t3, t3), t4 = t4.get$iterator(t4); t4.moveNext$0();) {
  62012. t5 = t4.get$current(t4);
  62013. result = A.List_List$from(A._setArrayType([t5._0, t5._1], t1), false, t3);
  62014. result.fixed$length = Array;
  62015. result.immutable$list = Array;
  62016. t2.push(new A.SassList(result, B.ListSeparator_nbm, false));
  62017. }
  62018. return t2;
  62019. },
  62020. get$lengthAsList() {
  62021. var t1 = this._map$_contents;
  62022. return t1.get$length(t1);
  62023. },
  62024. accept$1$1(visitor) {
  62025. return visitor.visitMap$1(this);
  62026. },
  62027. accept$1(visitor) {
  62028. return this.accept$1$1(visitor, type$.dynamic);
  62029. },
  62030. assertMap$1($name) {
  62031. return this;
  62032. },
  62033. tryMap$0() {
  62034. return this;
  62035. },
  62036. $eq(_, other) {
  62037. var t1;
  62038. if (other == null)
  62039. return false;
  62040. if (!(other instanceof A.SassMap && B.C_MapEquality.equals$2(0, other._map$_contents, this._map$_contents))) {
  62041. t1 = this._map$_contents;
  62042. t1 = t1.get$isEmpty(t1) && other instanceof A.SassList && other._list$_contents.length === 0;
  62043. } else
  62044. t1 = true;
  62045. return t1;
  62046. },
  62047. get$hashCode(_) {
  62048. var t1 = this._map$_contents;
  62049. return t1.get$isEmpty(t1) ? B.C_ListEquality0.hash$1(B.List_empty8) : B.C_MapEquality.hash$1(t1);
  62050. }
  62051. };
  62052. A.SassMixin.prototype = {
  62053. accept$1$1(visitor) {
  62054. var t1, t2;
  62055. if (!visitor._inspect)
  62056. A.throwExpression(A.SassScriptException$(this.toString$0(0) + " isn't a valid CSS value.", null));
  62057. t1 = visitor._serialize$_buffer;
  62058. t1.write$1(0, "get-mixin(");
  62059. t2 = this.callable;
  62060. visitor._visitQuotedString$1(t2.get$name(t2));
  62061. t1.writeCharCode$1(41);
  62062. return null;
  62063. },
  62064. accept$1(visitor) {
  62065. return this.accept$1$1(visitor, type$.dynamic);
  62066. },
  62067. assertMixin$1($name) {
  62068. return this;
  62069. },
  62070. $eq(_, other) {
  62071. if (other == null)
  62072. return false;
  62073. return other instanceof A.SassMixin && this.callable.$eq(0, other.callable);
  62074. },
  62075. get$hashCode(_) {
  62076. var t1 = this.callable;
  62077. return t1.get$hashCode(t1);
  62078. }
  62079. };
  62080. A._SassNull.prototype = {
  62081. get$isTruthy() {
  62082. return false;
  62083. },
  62084. get$isBlank() {
  62085. return true;
  62086. },
  62087. get$realNull() {
  62088. return null;
  62089. },
  62090. accept$1$1(visitor) {
  62091. if (visitor._inspect)
  62092. visitor._serialize$_buffer.write$1(0, "null");
  62093. return null;
  62094. },
  62095. accept$1(visitor) {
  62096. return this.accept$1$1(visitor, type$.dynamic);
  62097. },
  62098. unaryNot$0() {
  62099. return B.SassBoolean_true;
  62100. }
  62101. };
  62102. A.SassNumber.prototype = {
  62103. get$unitString() {
  62104. var _this = this;
  62105. return _this.get$hasUnits() ? _this._unitString$2(_this.get$numeratorUnits(_this), _this.get$denominatorUnits(_this)) : "";
  62106. },
  62107. accept$1$1(visitor) {
  62108. return visitor.visitNumber$1(this);
  62109. },
  62110. accept$1(visitor) {
  62111. return this.accept$1$1(visitor, type$.dynamic);
  62112. },
  62113. withoutSlash$0() {
  62114. var _this = this;
  62115. return _this.asSlash == null ? _this : _this.withValue$1(_this._number$_value);
  62116. },
  62117. assertNumber$1($name) {
  62118. return this;
  62119. },
  62120. assertNumber$0() {
  62121. return this.assertNumber$1(null);
  62122. },
  62123. assertInt$1($name) {
  62124. var _0_0 = A.fuzzyAsInt(this._number$_value);
  62125. if (_0_0 != null)
  62126. return _0_0;
  62127. throw A.wrapException(A.SassScriptException$(this.toString$0(0) + " is not an int.", $name));
  62128. },
  62129. assertInt$0() {
  62130. return this.assertInt$1(null);
  62131. },
  62132. valueInRange$3(min, max, $name) {
  62133. var _this = this,
  62134. _0_0 = A.fuzzyCheckRange(_this._number$_value, min, max);
  62135. if (_0_0 != null)
  62136. return _0_0;
  62137. throw A.wrapException(A.SassScriptException$("Expected " + _this.toString$0(0) + " to be within " + min + _this.get$unitString() + " and " + max + _this.get$unitString() + ".", $name));
  62138. },
  62139. valueInRangeWithUnit$4(min, max, $name, unit) {
  62140. var _0_0 = A.fuzzyCheckRange(this._number$_value, min, max);
  62141. if (_0_0 != null)
  62142. return _0_0;
  62143. throw A.wrapException(A.SassScriptException$("Expected " + this.toString$0(0) + " to be within " + min + unit + " and " + max + unit + ".", $name));
  62144. },
  62145. hasCompatibleUnits$1(other) {
  62146. var _this = this;
  62147. if (_this.get$numeratorUnits(_this).length !== other.get$numeratorUnits(other).length)
  62148. return false;
  62149. if (_this.get$denominatorUnits(_this).length !== other.get$denominatorUnits(other).length)
  62150. return false;
  62151. return _this.isComparableTo$1(other);
  62152. },
  62153. assertUnit$2(unit, $name) {
  62154. if (this.hasUnit$1(unit))
  62155. return;
  62156. throw A.wrapException(A.SassScriptException$("Expected " + this.toString$0(0) + ' to have unit "' + unit + '".', $name));
  62157. },
  62158. assertNoUnits$1($name) {
  62159. if (!this.get$hasUnits())
  62160. return;
  62161. throw A.wrapException(A.SassScriptException$("Expected " + this.toString$0(0) + " to have no units.", $name));
  62162. },
  62163. assertNoUnits$0() {
  62164. return this.assertNoUnits$1(null);
  62165. },
  62166. convertValueToMatch$3(other, $name, otherName) {
  62167. return this._coerceOrConvertValue$6$coerceUnitless$name$other$otherName(other.get$numeratorUnits(other), other.get$denominatorUnits(other), false, $name, other, otherName);
  62168. },
  62169. convertValueToMatch$1(other) {
  62170. return this.convertValueToMatch$3(other, null, null);
  62171. },
  62172. coerce$3(newNumerators, newDenominators, $name) {
  62173. return A.SassNumber_SassNumber$withUnits(this.coerceValue$3(newNumerators, newDenominators, $name), newDenominators, newNumerators);
  62174. },
  62175. coerce$2(newNumerators, newDenominators) {
  62176. return this.coerce$3(newNumerators, newDenominators, null);
  62177. },
  62178. coerceValue$3(newNumerators, newDenominators, $name) {
  62179. return this._coerceOrConvertValue$4$coerceUnitless$name(newNumerators, newDenominators, true, $name);
  62180. },
  62181. coerceValueToUnit$2(unit, $name) {
  62182. var t1 = type$.JSArray_String;
  62183. return this.coerceValue$3(A._setArrayType([unit], t1), A._setArrayType([], t1), $name);
  62184. },
  62185. coerceValueToUnit$1(unit) {
  62186. return this.coerceValueToUnit$2(unit, null);
  62187. },
  62188. coerceToMatch$3(other, $name, otherName) {
  62189. var t1 = this.coerceValueToMatch$3(other, $name, otherName),
  62190. t2 = other.get$numeratorUnits(other);
  62191. return A.SassNumber_SassNumber$withUnits(t1, other.get$denominatorUnits(other), t2);
  62192. },
  62193. coerceValueToMatch$3(other, $name, otherName) {
  62194. return this._coerceOrConvertValue$6$coerceUnitless$name$other$otherName(other.get$numeratorUnits(other), other.get$denominatorUnits(other), true, $name, other, otherName);
  62195. },
  62196. coerceValueToMatch$1(other) {
  62197. return this.coerceValueToMatch$3(other, null, null);
  62198. },
  62199. _coerceOrConvertValue$6$coerceUnitless$name$other$otherName(newNumerators, newDenominators, coerceUnitless, $name, other, otherName) {
  62200. var otherHasUnits, t1, compatibilityException, oldNumerators, _i, oldDenominators, _this = this, _box_0 = {};
  62201. if (B.C_ListEquality.equals$2(0, _this.get$numeratorUnits(_this), newNumerators) && B.C_ListEquality.equals$2(0, _this.get$denominatorUnits(_this), newDenominators))
  62202. return _this._number$_value;
  62203. otherHasUnits = newNumerators.length !== 0 || newDenominators.length !== 0;
  62204. if (coerceUnitless)
  62205. t1 = !_this.get$hasUnits() || !otherHasUnits;
  62206. else
  62207. t1 = false;
  62208. if (t1)
  62209. return _this._number$_value;
  62210. compatibilityException = new A.SassNumber__coerceOrConvertValue_compatibilityException(_this, other, otherName, otherHasUnits, $name, newNumerators, newDenominators);
  62211. _box_0.value = _this._number$_value;
  62212. t1 = _this.get$numeratorUnits(_this);
  62213. oldNumerators = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
  62214. for (t1 = newNumerators.length, _i = 0; _i < newNumerators.length; newNumerators.length === t1 || (0, A.throwConcurrentModificationError)(newNumerators), ++_i)
  62215. A.removeFirstWhere(oldNumerators, new A.SassNumber__coerceOrConvertValue_closure(_box_0, newNumerators[_i]), new A.SassNumber__coerceOrConvertValue_closure0(compatibilityException));
  62216. t1 = _this.get$denominatorUnits(_this);
  62217. oldDenominators = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
  62218. for (t1 = newDenominators.length, _i = 0; _i < newDenominators.length; newDenominators.length === t1 || (0, A.throwConcurrentModificationError)(newDenominators), ++_i)
  62219. A.removeFirstWhere(oldDenominators, new A.SassNumber__coerceOrConvertValue_closure1(_box_0, newDenominators[_i]), new A.SassNumber__coerceOrConvertValue_closure2(compatibilityException));
  62220. if (oldNumerators.length !== 0 || oldDenominators.length !== 0)
  62221. throw A.wrapException(compatibilityException.call$0());
  62222. return _box_0.value;
  62223. },
  62224. _coerceOrConvertValue$4$coerceUnitless$name(newNumerators, newDenominators, coerceUnitless, $name) {
  62225. return this._coerceOrConvertValue$6$coerceUnitless$name$other$otherName(newNumerators, newDenominators, coerceUnitless, $name, null, null);
  62226. },
  62227. isComparableTo$1(other) {
  62228. var exception;
  62229. if (!this.get$hasUnits() || !other.get$hasUnits())
  62230. return true;
  62231. try {
  62232. this.greaterThan$1(other);
  62233. return true;
  62234. } catch (exception) {
  62235. if (A.unwrapException(exception) instanceof A.SassScriptException)
  62236. return false;
  62237. else
  62238. throw exception;
  62239. }
  62240. },
  62241. greaterThan$1(other) {
  62242. if (other instanceof A.SassNumber)
  62243. return this._coerceUnits$2(other, A.number0__fuzzyGreaterThan$closure()) ? B.SassBoolean_true : B.SassBoolean_false;
  62244. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " > " + other.toString$0(0) + '".', null));
  62245. },
  62246. greaterThanOrEquals$1(other) {
  62247. if (other instanceof A.SassNumber)
  62248. return this._coerceUnits$2(other, A.number0__fuzzyGreaterThanOrEquals$closure()) ? B.SassBoolean_true : B.SassBoolean_false;
  62249. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " >= " + other.toString$0(0) + '".', null));
  62250. },
  62251. lessThan$1(other) {
  62252. if (other instanceof A.SassNumber)
  62253. return this._coerceUnits$2(other, A.number0__fuzzyLessThan$closure()) ? B.SassBoolean_true : B.SassBoolean_false;
  62254. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " < " + other.toString$0(0) + '".', null));
  62255. },
  62256. lessThanOrEquals$1(other) {
  62257. if (other instanceof A.SassNumber)
  62258. return this._coerceUnits$2(other, A.number0__fuzzyLessThanOrEquals$closure()) ? B.SassBoolean_true : B.SassBoolean_false;
  62259. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " <= " + other.toString$0(0) + '".', null));
  62260. },
  62261. modulo$1(other) {
  62262. if (other instanceof A.SassNumber)
  62263. return this.withValue$1(this._coerceUnits$2(other, A.number0__moduloLikeSass$closure()));
  62264. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " % " + other.toString$0(0) + '".', null));
  62265. },
  62266. plus$1(other) {
  62267. var _this = this;
  62268. if (other instanceof A.SassNumber)
  62269. return _this.withValue$1(_this._coerceUnits$2(other, new A.SassNumber_plus_closure()));
  62270. if (!(other instanceof A.SassColor))
  62271. return _this.super$Value$plus(other);
  62272. throw A.wrapException(A.SassScriptException$('Undefined operation "' + _this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  62273. },
  62274. minus$1(other) {
  62275. var _this = this;
  62276. if (other instanceof A.SassNumber)
  62277. return _this.withValue$1(_this._coerceUnits$2(other, new A.SassNumber_minus_closure()));
  62278. if (!(other instanceof A.SassColor))
  62279. return _this.super$Value$minus(other);
  62280. throw A.wrapException(A.SassScriptException$('Undefined operation "' + _this.toString$0(0) + " - " + other.toString$0(0) + '".', null));
  62281. },
  62282. times$1(other) {
  62283. var _this = this;
  62284. if (other instanceof A.SassNumber) {
  62285. if (!other.get$hasUnits())
  62286. return _this.withValue$1(_this._number$_value * other._number$_value);
  62287. return _this.multiplyUnits$3(_this._number$_value * other._number$_value, other.get$numeratorUnits(other), other.get$denominatorUnits(other));
  62288. }
  62289. throw A.wrapException(A.SassScriptException$('Undefined operation "' + _this.toString$0(0) + " * " + other.toString$0(0) + '".', null));
  62290. },
  62291. dividedBy$1(other) {
  62292. var _this = this;
  62293. if (other instanceof A.SassNumber) {
  62294. if (!other.get$hasUnits())
  62295. return _this.withValue$1(_this._number$_value / other._number$_value);
  62296. return _this.multiplyUnits$3(_this._number$_value / other._number$_value, other.get$denominatorUnits(other), other.get$numeratorUnits(other));
  62297. }
  62298. return _this.super$Value$dividedBy(other);
  62299. },
  62300. unaryPlus$0() {
  62301. return this;
  62302. },
  62303. _coerceUnits$1$2(other, operation) {
  62304. var t1, exception;
  62305. try {
  62306. t1 = operation.call$2(this._number$_value, other.coerceValueToMatch$1(this));
  62307. return t1;
  62308. } catch (exception) {
  62309. if (A.unwrapException(exception) instanceof A.SassScriptException) {
  62310. this.coerceValueToMatch$1(other);
  62311. throw exception;
  62312. } else
  62313. throw exception;
  62314. }
  62315. },
  62316. _coerceUnits$2(other, operation) {
  62317. return this._coerceUnits$1$2(other, operation, type$.dynamic);
  62318. },
  62319. multiplyUnits$3(value, otherNumerators, otherDenominators) {
  62320. var t1, _0_1, _0_2, _0_3, _0_6, _0_7_isSet, _0_7, _0_9, t2, _0_9_isSet, denominators_case_0, _0_11_isSet, _0_11, _0_13_isSet, _0_10, _0_13, numerators_case_0, t4, t3, numerators_case_1, denominators_case_1, t0, newNumerators, mutableOtherDenominators, _i, numerator, mutableDenominatorUnits, _this = this, _null = null, _box_0 = {};
  62321. _box_0.value = value;
  62322. t1 = [_this.get$numeratorUnits(_this), _this.get$denominatorUnits(_this), otherNumerators, otherDenominators];
  62323. _0_1 = t1[0];
  62324. _0_2 = t1[1];
  62325. _0_3 = t1[2];
  62326. _0_6 = _0_3.length <= 0;
  62327. _0_7_isSet = _0_6;
  62328. if (_0_7_isSet) {
  62329. _0_7 = t1[3];
  62330. _0_9 = _0_7.length <= 0;
  62331. t2 = _0_9;
  62332. } else {
  62333. _0_7 = _null;
  62334. _0_9 = _0_7;
  62335. t2 = false;
  62336. }
  62337. _0_9_isSet = _0_7_isSet;
  62338. denominators_case_0 = _0_2;
  62339. _0_11_isSet = !t2;
  62340. if (_0_11_isSet) {
  62341. _0_11 = _0_1.length <= 0;
  62342. _0_13_isSet = _0_11;
  62343. _0_10 = _0_1;
  62344. if (_0_13_isSet) {
  62345. _0_13 = _0_2.length <= 0;
  62346. t2 = _0_13;
  62347. if (t2) {
  62348. if (_0_7_isSet)
  62349. denominators_case_0 = _0_7;
  62350. else {
  62351. _0_7 = t1[3];
  62352. denominators_case_0 = _0_7;
  62353. _0_7_isSet = true;
  62354. }
  62355. numerators_case_0 = _0_3;
  62356. } else
  62357. numerators_case_0 = _0_1;
  62358. } else {
  62359. numerators_case_0 = _0_1;
  62360. _0_13 = _null;
  62361. t2 = false;
  62362. }
  62363. _0_1 = _0_10;
  62364. } else {
  62365. numerators_case_0 = _0_1;
  62366. _0_13 = _null;
  62367. _0_11 = _0_13;
  62368. _0_13_isSet = false;
  62369. t2 = true;
  62370. }
  62371. if (t2) {
  62372. t4 = denominators_case_0;
  62373. t3 = numerators_case_0;
  62374. } else {
  62375. t4 = _null;
  62376. t3 = t4;
  62377. }
  62378. if (!t2) {
  62379. if (_0_11_isSet)
  62380. t2 = _0_11;
  62381. else {
  62382. _0_11 = _0_1.length <= 0;
  62383. t2 = _0_11;
  62384. }
  62385. if (t2) {
  62386. if (_0_9_isSet)
  62387. t2 = _0_9;
  62388. else {
  62389. if (_0_7_isSet)
  62390. t2 = _0_7;
  62391. else {
  62392. _0_7 = t1[3];
  62393. t2 = _0_7;
  62394. _0_7_isSet = true;
  62395. }
  62396. _0_9 = t2.length <= 0;
  62397. t2 = _0_9;
  62398. }
  62399. numerators_case_1 = _0_3;
  62400. denominators_case_1 = _0_2;
  62401. } else {
  62402. numerators_case_1 = _null;
  62403. denominators_case_1 = numerators_case_1;
  62404. t2 = false;
  62405. }
  62406. if (!t2) {
  62407. if (_0_13_isSet)
  62408. t2 = _0_13;
  62409. else {
  62410. _0_13 = _0_2.length <= 0;
  62411. t2 = _0_13;
  62412. }
  62413. if (t2) {
  62414. if (_0_6)
  62415. denominators_case_1 = _0_7_isSet ? _0_7 : t1[3];
  62416. t1 = _0_6;
  62417. } else
  62418. t1 = false;
  62419. numerators_case_1 = _0_1;
  62420. } else
  62421. t1 = true;
  62422. if (t1) {
  62423. t1 = !_this._areAnyConvertible$2(numerators_case_1, denominators_case_1);
  62424. if (t1) {
  62425. t3 = denominators_case_1;
  62426. t2 = numerators_case_1;
  62427. } else {
  62428. t2 = t3;
  62429. t3 = t4;
  62430. }
  62431. t0 = t3;
  62432. t3 = t1;
  62433. t1 = t2;
  62434. t2 = t0;
  62435. } else {
  62436. t2 = t4;
  62437. t1 = t3;
  62438. t3 = false;
  62439. }
  62440. } else {
  62441. t2 = t4;
  62442. t1 = t3;
  62443. t3 = true;
  62444. }
  62445. if (t3)
  62446. return A.SassNumber_SassNumber$withUnits(value, t2, t1);
  62447. newNumerators = A._setArrayType([], type$.JSArray_String);
  62448. mutableOtherDenominators = A._setArrayType(otherDenominators.slice(0), A._arrayInstanceType(otherDenominators));
  62449. for (t1 = _this.get$numeratorUnits(_this), t2 = t1.length, _i = 0; _i < t2; ++_i) {
  62450. numerator = t1[_i];
  62451. A.removeFirstWhere(mutableOtherDenominators, new A.SassNumber_multiplyUnits_closure(_box_0, numerator), new A.SassNumber_multiplyUnits_closure0(newNumerators, numerator));
  62452. }
  62453. t1 = _this.get$denominatorUnits(_this);
  62454. mutableDenominatorUnits = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
  62455. for (t1 = otherNumerators.length, _i = 0; _i < t1; ++_i) {
  62456. numerator = otherNumerators[_i];
  62457. A.removeFirstWhere(mutableDenominatorUnits, new A.SassNumber_multiplyUnits_closure1(_box_0, numerator), new A.SassNumber_multiplyUnits_closure2(newNumerators, numerator));
  62458. }
  62459. t1 = _box_0.value;
  62460. B.JSArray_methods.addAll$1(mutableDenominatorUnits, mutableOtherDenominators);
  62461. return A.SassNumber_SassNumber$withUnits(t1, mutableDenominatorUnits, newNumerators);
  62462. },
  62463. _areAnyConvertible$2(units1, units2) {
  62464. return B.JSArray_methods.any$1(units1, new A.SassNumber__areAnyConvertible_closure(units2));
  62465. },
  62466. _unitString$2(numerators, denominators) {
  62467. var _0_4, _0_6, t1, _0_7, _0_5, _null = null;
  62468. $label0$0: {
  62469. _0_4 = numerators.length <= 0;
  62470. if (_0_4) {
  62471. _0_6 = denominators.length;
  62472. t1 = _0_6;
  62473. _0_7 = t1 <= 0;
  62474. t1 = _0_7;
  62475. _0_5 = denominators;
  62476. } else {
  62477. _0_5 = _null;
  62478. _0_6 = _0_5;
  62479. _0_7 = _0_6;
  62480. t1 = false;
  62481. }
  62482. if (t1) {
  62483. t1 = "no units";
  62484. break $label0$0;
  62485. }
  62486. if (_0_4)
  62487. t1 = _0_6 === 1;
  62488. else
  62489. t1 = false;
  62490. if (t1) {
  62491. t1 = (_0_4 ? _0_5 : denominators)[0] + "^-1";
  62492. break $label0$0;
  62493. }
  62494. if (_0_4) {
  62495. t1 = "(" + B.JSArray_methods.join$1(denominators, "*") + ")^-1";
  62496. break $label0$0;
  62497. }
  62498. _0_6 = denominators.length;
  62499. t1 = _0_6;
  62500. _0_7 = t1 <= 0;
  62501. t1 = _0_7;
  62502. if (t1) {
  62503. t1 = B.JSArray_methods.join$1(numerators, "*");
  62504. break $label0$0;
  62505. }
  62506. t1 = B.JSArray_methods.join$1(numerators, "*") + "/" + B.JSArray_methods.join$1(denominators, "*");
  62507. break $label0$0;
  62508. }
  62509. return t1;
  62510. },
  62511. $eq(_, other) {
  62512. var _this = this;
  62513. if (other == null)
  62514. return false;
  62515. if (!(other instanceof A.SassNumber))
  62516. return false;
  62517. if (_this.get$numeratorUnits(_this).length !== other.get$numeratorUnits(other).length || _this.get$denominatorUnits(_this).length !== other.get$denominatorUnits(other).length)
  62518. return false;
  62519. if (!_this.get$hasUnits())
  62520. return A.fuzzyEquals(_this._number$_value, other._number$_value);
  62521. 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))))
  62522. return false;
  62523. 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)));
  62524. },
  62525. get$hashCode(_) {
  62526. var _this = this,
  62527. t1 = _this.hashCache;
  62528. 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;
  62529. },
  62530. _canonicalizeUnitList$1(units) {
  62531. var type,
  62532. t1 = units.length;
  62533. if (t1 === 0)
  62534. return units;
  62535. if (t1 === 1) {
  62536. type = $.$get$_typesByUnit().$index(0, B.JSArray_methods.get$first(units));
  62537. if (type == null)
  62538. t1 = units;
  62539. else {
  62540. t1 = B.Map_397RH.$index(0, type);
  62541. t1.toString;
  62542. t1 = A._setArrayType([B.JSArray_methods.get$first(t1)], type$.JSArray_String);
  62543. }
  62544. return t1;
  62545. }
  62546. t1 = A._arrayInstanceType(units)._eval$1("MappedListIterable<1,String>");
  62547. t1 = A.List_List$of(new A.MappedListIterable(units, new A.SassNumber__canonicalizeUnitList_closure(), t1), true, t1._eval$1("ListIterable.E"));
  62548. B.JSArray_methods.sort$0(t1);
  62549. return t1;
  62550. },
  62551. _canonicalMultiplier$1(units) {
  62552. return B.JSArray_methods.fold$2(units, 1, new A.SassNumber__canonicalMultiplier_closure(this));
  62553. },
  62554. canonicalMultiplierForUnit$1(unit) {
  62555. var t1,
  62556. innerMap = B.Map_gQqJO.$index(0, unit);
  62557. if (innerMap == null)
  62558. t1 = 1;
  62559. else {
  62560. t1 = innerMap.get$values(innerMap);
  62561. t1 = 1 / t1.get$first(t1);
  62562. }
  62563. return t1;
  62564. },
  62565. unitSuggestion$2($name, unit) {
  62566. var t2, t3, result, _this = this,
  62567. t1 = _this.get$denominatorUnits(_this);
  62568. t1 = new A.MappedListIterable(t1, new A.SassNumber_unitSuggestion_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
  62569. t2 = _this.get$numeratorUnits(_this);
  62570. t2 = new A.MappedListIterable(t2, new A.SassNumber_unitSuggestion_closure0(), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,String>")).join$0(0);
  62571. t3 = unit == null ? "" : " * 1" + unit;
  62572. result = "$" + $name + t1 + t2 + t3;
  62573. return _this.get$numeratorUnits(_this).length === 0 ? result : "calc(" + result + ")";
  62574. },
  62575. unitSuggestion$1($name) {
  62576. return this.unitSuggestion$2($name, null);
  62577. }
  62578. };
  62579. A.SassNumber__coerceOrConvertValue_compatibilityException.prototype = {
  62580. call$0() {
  62581. var t2, t3, message, t4, type, unit, _this = this,
  62582. t1 = _this.other;
  62583. if (t1 != null) {
  62584. t2 = _this.$this;
  62585. t3 = t2.toString$0(0) + " and";
  62586. message = new A.StringBuffer(t3);
  62587. t4 = _this.otherName;
  62588. if (t4 != null)
  62589. t3 = message._contents = t3 + (" $" + t4 + ":");
  62590. t1 = t3 + (" " + t1.toString$0(0) + " have incompatible units");
  62591. message._contents = t1;
  62592. if (!t2.get$hasUnits() || !_this.otherHasUnits)
  62593. message._contents = t1 + " (one has units and the other doesn't)";
  62594. t1 = message.toString$0(0) + ".";
  62595. t2 = _this.name;
  62596. return new A.SassScriptException(t2 == null ? t1 : "$" + t2 + ": " + t1);
  62597. } else if (!_this.otherHasUnits) {
  62598. t1 = "Expected " + _this.$this.toString$0(0) + " to have no units.";
  62599. t2 = _this.name;
  62600. return new A.SassScriptException(t2 == null ? t1 : "$" + t2 + ": " + t1);
  62601. } else {
  62602. t1 = _this.newNumerators;
  62603. if (t1.length === 1 && _this.newDenominators.length === 0) {
  62604. type = $.$get$_typesByUnit().$index(0, B.JSArray_methods.get$first(t1));
  62605. if (type != null) {
  62606. t1 = _this.$this.toString$0(0);
  62607. t2 = B.JSArray_methods.contains$1(A._setArrayType([97, 101, 105, 111, 117], type$.JSArray_int), type.charCodeAt(0)) ? "an " + type : "a " + type;
  62608. t3 = B.Map_397RH.$index(0, type);
  62609. t3.toString;
  62610. t3 = "Expected " + t1 + " to have " + t2 + " unit (" + B.JSArray_methods.join$1(t3, ", ") + ").";
  62611. t2 = _this.name;
  62612. return new A.SassScriptException(t2 == null ? t3 : "$" + t2 + ": " + t3);
  62613. }
  62614. }
  62615. t2 = _this.newDenominators;
  62616. unit = A.pluralize("unit", t1.length + t2.length, null);
  62617. t3 = _this.$this;
  62618. t2 = "Expected " + t3.toString$0(0) + " to have " + unit + " " + t3._unitString$2(t1, t2) + ".";
  62619. t1 = _this.name;
  62620. return new A.SassScriptException(t1 == null ? t2 : "$" + t1 + ": " + t2);
  62621. }
  62622. },
  62623. $signature: 394
  62624. };
  62625. A.SassNumber__coerceOrConvertValue_closure.prototype = {
  62626. call$1(oldNumerator) {
  62627. var factor = A.conversionFactor(this.newNumerator, oldNumerator);
  62628. if (factor == null)
  62629. return false;
  62630. this._box_0.value *= factor;
  62631. return true;
  62632. },
  62633. $signature: 4
  62634. };
  62635. A.SassNumber__coerceOrConvertValue_closure0.prototype = {
  62636. call$0() {
  62637. return A.throwExpression(this.compatibilityException.call$0());
  62638. },
  62639. $signature: 0
  62640. };
  62641. A.SassNumber__coerceOrConvertValue_closure1.prototype = {
  62642. call$1(oldDenominator) {
  62643. var factor = A.conversionFactor(this.newDenominator, oldDenominator);
  62644. if (factor == null)
  62645. return false;
  62646. this._box_0.value /= factor;
  62647. return true;
  62648. },
  62649. $signature: 4
  62650. };
  62651. A.SassNumber__coerceOrConvertValue_closure2.prototype = {
  62652. call$0() {
  62653. return A.throwExpression(this.compatibilityException.call$0());
  62654. },
  62655. $signature: 0
  62656. };
  62657. A.SassNumber_plus_closure.prototype = {
  62658. call$2(num1, num2) {
  62659. return num1 + num2;
  62660. },
  62661. $signature: 55
  62662. };
  62663. A.SassNumber_minus_closure.prototype = {
  62664. call$2(num1, num2) {
  62665. return num1 - num2;
  62666. },
  62667. $signature: 55
  62668. };
  62669. A.SassNumber_multiplyUnits_closure.prototype = {
  62670. call$1(denominator) {
  62671. var factor = A.conversionFactor(this.numerator, denominator);
  62672. if (factor == null)
  62673. return false;
  62674. this._box_0.value /= factor;
  62675. return true;
  62676. },
  62677. $signature: 4
  62678. };
  62679. A.SassNumber_multiplyUnits_closure0.prototype = {
  62680. call$0() {
  62681. return this.newNumerators.push(this.numerator);
  62682. },
  62683. $signature: 0
  62684. };
  62685. A.SassNumber_multiplyUnits_closure1.prototype = {
  62686. call$1(denominator) {
  62687. var factor = A.conversionFactor(this.numerator, denominator);
  62688. if (factor == null)
  62689. return false;
  62690. this._box_0.value /= factor;
  62691. return true;
  62692. },
  62693. $signature: 4
  62694. };
  62695. A.SassNumber_multiplyUnits_closure2.prototype = {
  62696. call$0() {
  62697. return this.newNumerators.push(this.numerator);
  62698. },
  62699. $signature: 0
  62700. };
  62701. A.SassNumber__areAnyConvertible_closure.prototype = {
  62702. call$1(unit1) {
  62703. var t1,
  62704. _0_0 = B.Map_gQqJO.$index(0, unit1);
  62705. $label0$0: {
  62706. if (_0_0 != null) {
  62707. t1 = B.JSArray_methods.any$1(this.units2, _0_0.get$containsKey());
  62708. break $label0$0;
  62709. }
  62710. t1 = B.JSArray_methods.contains$1(this.units2, unit1);
  62711. break $label0$0;
  62712. }
  62713. return t1;
  62714. },
  62715. $signature: 4
  62716. };
  62717. A.SassNumber__canonicalizeUnitList_closure.prototype = {
  62718. call$1(unit) {
  62719. var t1,
  62720. type = $.$get$_typesByUnit().$index(0, unit);
  62721. if (type == null)
  62722. t1 = unit;
  62723. else {
  62724. t1 = B.Map_397RH.$index(0, type);
  62725. t1.toString;
  62726. t1 = B.JSArray_methods.get$first(t1);
  62727. }
  62728. return t1;
  62729. },
  62730. $signature: 5
  62731. };
  62732. A.SassNumber__canonicalMultiplier_closure.prototype = {
  62733. call$2(multiplier, unit) {
  62734. return multiplier * this.$this.canonicalMultiplierForUnit$1(unit);
  62735. },
  62736. $signature: 163
  62737. };
  62738. A.SassNumber_unitSuggestion_closure.prototype = {
  62739. call$1(unit) {
  62740. return " * 1" + unit;
  62741. },
  62742. $signature: 5
  62743. };
  62744. A.SassNumber_unitSuggestion_closure0.prototype = {
  62745. call$1(unit) {
  62746. return " / 1" + unit;
  62747. },
  62748. $signature: 5
  62749. };
  62750. A.ComplexSassNumber.prototype = {
  62751. get$numeratorUnits(_) {
  62752. return this._numeratorUnits;
  62753. },
  62754. get$denominatorUnits(_) {
  62755. return this._denominatorUnits;
  62756. },
  62757. get$hasUnits() {
  62758. return true;
  62759. },
  62760. get$hasComplexUnits() {
  62761. return true;
  62762. },
  62763. hasUnit$1(unit) {
  62764. return false;
  62765. },
  62766. compatibleWithUnit$1(unit) {
  62767. return false;
  62768. },
  62769. hasPossiblyCompatibleUnits$1(other) {
  62770. throw A.wrapException(A.UnimplementedError$(string$.Comple));
  62771. },
  62772. withValue$1(value) {
  62773. return new A.ComplexSassNumber(this._numeratorUnits, this._denominatorUnits, value, null);
  62774. },
  62775. withSlash$2(numerator, denominator) {
  62776. return new A.ComplexSassNumber(this._numeratorUnits, this._denominatorUnits, this._number$_value, new A._Record_2(numerator, denominator));
  62777. }
  62778. };
  62779. A.SingleUnitSassNumber.prototype = {
  62780. get$numeratorUnits(_) {
  62781. return A.List_List$unmodifiable([this._unit], type$.String);
  62782. },
  62783. get$denominatorUnits(_) {
  62784. return B.List_empty;
  62785. },
  62786. get$hasUnits() {
  62787. return true;
  62788. },
  62789. get$hasComplexUnits() {
  62790. return false;
  62791. },
  62792. withValue$1(value) {
  62793. return new A.SingleUnitSassNumber(this._unit, value, null);
  62794. },
  62795. withSlash$2(numerator, denominator) {
  62796. return new A.SingleUnitSassNumber(this._unit, this._number$_value, new A._Record_2(numerator, denominator));
  62797. },
  62798. hasUnit$1(unit) {
  62799. return unit === this._unit;
  62800. },
  62801. hasCompatibleUnits$1(other) {
  62802. return other instanceof A.SingleUnitSassNumber && A.conversionFactor(this._unit, other._unit) != null;
  62803. },
  62804. hasPossiblyCompatibleUnits$1(other) {
  62805. var t1, knownCompatibilities, otherUnit;
  62806. if (!(other instanceof A.SingleUnitSassNumber))
  62807. return false;
  62808. t1 = $.$get$_knownCompatibilitiesByUnit();
  62809. knownCompatibilities = t1.$index(0, this._unit.toLowerCase());
  62810. if (knownCompatibilities == null)
  62811. return true;
  62812. otherUnit = other._unit.toLowerCase();
  62813. return knownCompatibilities.contains$1(0, otherUnit) || !t1.containsKey$1(otherUnit);
  62814. },
  62815. compatibleWithUnit$1(unit) {
  62816. return A.conversionFactor(this._unit, unit) != null;
  62817. },
  62818. coerceToMatch$1(other) {
  62819. var t1 = other instanceof A.SingleUnitSassNumber ? this._coerceToUnit$1(other._unit) : null;
  62820. return t1 == null ? this.super$SassNumber$coerceToMatch(other, null, null) : t1;
  62821. },
  62822. coerceValueToMatch$3(other, $name, otherName) {
  62823. var t1 = other instanceof A.SingleUnitSassNumber ? this._coerceValueToUnit$1(other._unit) : null;
  62824. return t1 == null ? this.super$SassNumber$coerceValueToMatch(other, $name, otherName) : t1;
  62825. },
  62826. coerceValueToMatch$1(other) {
  62827. return this.coerceValueToMatch$3(other, null, null);
  62828. },
  62829. convertValueToMatch$3(other, $name, otherName) {
  62830. var t1 = other instanceof A.SingleUnitSassNumber ? this._coerceValueToUnit$1(other._unit) : null;
  62831. return t1 == null ? this.super$SassNumber$convertValueToMatch(other, $name, otherName) : t1;
  62832. },
  62833. convertValueToMatch$1(other) {
  62834. return this.convertValueToMatch$3(other, null, null);
  62835. },
  62836. coerce$2(newNumerators, newDenominators) {
  62837. var t1 = newNumerators.length === 1 && newDenominators.length === 0 ? this._coerceToUnit$1(newNumerators[0]) : null;
  62838. return t1 == null ? this.super$SassNumber$coerce(newNumerators, newDenominators, null) : t1;
  62839. },
  62840. coerceValue$3(newNumerators, newDenominators, $name) {
  62841. var t1 = newNumerators.length === 1 && newDenominators.length === 0 ? this._coerceValueToUnit$1(newNumerators[0]) : null;
  62842. return t1 == null ? this.super$SassNumber$coerceValue(newNumerators, newDenominators, $name) : t1;
  62843. },
  62844. coerceValueToUnit$2(unit, $name) {
  62845. var t1 = this._coerceValueToUnit$1(unit);
  62846. return t1 == null ? this.super$SassNumber$coerceValueToUnit(unit, $name) : t1;
  62847. },
  62848. coerceValueToUnit$1(unit) {
  62849. return this.coerceValueToUnit$2(unit, null);
  62850. },
  62851. _coerceToUnit$1(unit) {
  62852. var t1 = this._unit;
  62853. if (t1 === unit)
  62854. return this;
  62855. return A.NullableExtension_andThen(A.conversionFactor(unit, t1), new A.SingleUnitSassNumber__coerceToUnit_closure(this, unit));
  62856. },
  62857. _coerceValueToUnit$1(unit) {
  62858. return A.NullableExtension_andThen(A.conversionFactor(unit, this._unit), new A.SingleUnitSassNumber__coerceValueToUnit_closure(this));
  62859. },
  62860. multiplyUnits$3(value, otherNumerators, otherDenominators) {
  62861. var mutableOtherDenominators, t1 = {};
  62862. t1.value = value;
  62863. t1.newNumerators = otherNumerators;
  62864. mutableOtherDenominators = A._setArrayType(otherDenominators.slice(0), A._arrayInstanceType(otherDenominators));
  62865. A.removeFirstWhere(mutableOtherDenominators, new A.SingleUnitSassNumber_multiplyUnits_closure(t1, this), new A.SingleUnitSassNumber_multiplyUnits_closure0(t1, this));
  62866. return A.SassNumber_SassNumber$withUnits(t1.value, mutableOtherDenominators, t1.newNumerators);
  62867. },
  62868. unaryMinus$0() {
  62869. return new A.SingleUnitSassNumber(this._unit, -this._number$_value, null);
  62870. },
  62871. $eq(_, other) {
  62872. var factor;
  62873. if (other == null)
  62874. return false;
  62875. if (other instanceof A.SingleUnitSassNumber) {
  62876. factor = A.conversionFactor(other._unit, this._unit);
  62877. return factor != null && A.fuzzyEquals(this._number$_value * factor, other._number$_value);
  62878. } else
  62879. return false;
  62880. },
  62881. get$hashCode(_) {
  62882. var _this = this,
  62883. t1 = _this.hashCache;
  62884. return t1 == null ? _this.hashCache = A.fuzzyHashCode(_this._number$_value * _this.canonicalMultiplierForUnit$1(_this._unit)) : t1;
  62885. }
  62886. };
  62887. A.SingleUnitSassNumber__coerceToUnit_closure.prototype = {
  62888. call$1(factor) {
  62889. return new A.SingleUnitSassNumber(this.unit, this.$this._number$_value * factor, null);
  62890. },
  62891. $signature: 381
  62892. };
  62893. A.SingleUnitSassNumber__coerceValueToUnit_closure.prototype = {
  62894. call$1(factor) {
  62895. return this.$this._number$_value * factor;
  62896. },
  62897. $signature: 38
  62898. };
  62899. A.SingleUnitSassNumber_multiplyUnits_closure.prototype = {
  62900. call$1(denominator) {
  62901. var factor = A.conversionFactor(denominator, this.$this._unit);
  62902. if (factor == null)
  62903. return false;
  62904. this._box_0.value *= factor;
  62905. return true;
  62906. },
  62907. $signature: 4
  62908. };
  62909. A.SingleUnitSassNumber_multiplyUnits_closure0.prototype = {
  62910. call$0() {
  62911. var t1 = A._setArrayType([this.$this._unit], type$.JSArray_String),
  62912. t2 = this._box_0;
  62913. B.JSArray_methods.addAll$1(t1, t2.newNumerators);
  62914. t2.newNumerators = t1;
  62915. },
  62916. $signature: 0
  62917. };
  62918. A.UnitlessSassNumber.prototype = {
  62919. get$numeratorUnits(_) {
  62920. return B.List_empty;
  62921. },
  62922. get$denominatorUnits(_) {
  62923. return B.List_empty;
  62924. },
  62925. get$hasUnits() {
  62926. return false;
  62927. },
  62928. get$hasComplexUnits() {
  62929. return false;
  62930. },
  62931. withValue$1(value) {
  62932. return new A.UnitlessSassNumber(value, null);
  62933. },
  62934. withSlash$2(numerator, denominator) {
  62935. return new A.UnitlessSassNumber(this._number$_value, new A._Record_2(numerator, denominator));
  62936. },
  62937. hasUnit$1(unit) {
  62938. return false;
  62939. },
  62940. hasCompatibleUnits$1(other) {
  62941. return other instanceof A.UnitlessSassNumber;
  62942. },
  62943. hasPossiblyCompatibleUnits$1(other) {
  62944. return other instanceof A.UnitlessSassNumber;
  62945. },
  62946. compatibleWithUnit$1(unit) {
  62947. return true;
  62948. },
  62949. coerceToMatch$1(other) {
  62950. return other.withValue$1(this._number$_value);
  62951. },
  62952. coerceValueToMatch$3(other, $name, otherName) {
  62953. return this._number$_value;
  62954. },
  62955. coerceValueToMatch$1(other) {
  62956. return this.coerceValueToMatch$3(other, null, null);
  62957. },
  62958. convertValueToMatch$3(other, $name, otherName) {
  62959. return other.get$hasUnits() ? this.super$SassNumber$convertValueToMatch(other, $name, otherName) : this._number$_value;
  62960. },
  62961. convertValueToMatch$1(other) {
  62962. return this.convertValueToMatch$3(other, null, null);
  62963. },
  62964. coerce$2(newNumerators, newDenominators) {
  62965. return A.SassNumber_SassNumber$withUnits(this._number$_value, newDenominators, newNumerators);
  62966. },
  62967. coerceValue$3(newNumerators, newDenominators, $name) {
  62968. return this._number$_value;
  62969. },
  62970. coerceValueToUnit$2(unit, $name) {
  62971. return this._number$_value;
  62972. },
  62973. coerceValueToUnit$1(unit) {
  62974. return this.coerceValueToUnit$2(unit, null);
  62975. },
  62976. greaterThan$1(other) {
  62977. var t1, t2;
  62978. if (other instanceof A.SassNumber) {
  62979. t1 = this._number$_value;
  62980. t2 = other._number$_value;
  62981. return t1 > t2 && !A.fuzzyEquals(t1, t2) ? B.SassBoolean_true : B.SassBoolean_false;
  62982. }
  62983. return this.super$SassNumber$greaterThan(other);
  62984. },
  62985. greaterThanOrEquals$1(other) {
  62986. var t1, t2;
  62987. if (other instanceof A.SassNumber) {
  62988. t1 = this._number$_value;
  62989. t2 = other._number$_value;
  62990. return t1 > t2 || A.fuzzyEquals(t1, t2) ? B.SassBoolean_true : B.SassBoolean_false;
  62991. }
  62992. return this.super$SassNumber$greaterThanOrEquals(other);
  62993. },
  62994. lessThan$1(other) {
  62995. var t1, t2;
  62996. if (other instanceof A.SassNumber) {
  62997. t1 = this._number$_value;
  62998. t2 = other._number$_value;
  62999. return t1 < t2 && !A.fuzzyEquals(t1, t2) ? B.SassBoolean_true : B.SassBoolean_false;
  63000. }
  63001. return this.super$SassNumber$lessThan(other);
  63002. },
  63003. lessThanOrEquals$1(other) {
  63004. var t1, t2;
  63005. if (other instanceof A.SassNumber) {
  63006. t1 = this._number$_value;
  63007. t2 = other._number$_value;
  63008. return t1 < t2 || A.fuzzyEquals(t1, t2) ? B.SassBoolean_true : B.SassBoolean_false;
  63009. }
  63010. return this.super$SassNumber$lessThanOrEquals(other);
  63011. },
  63012. modulo$1(other) {
  63013. if (other instanceof A.SassNumber)
  63014. return other.withValue$1(A.moduloLikeSass(this._number$_value, other._number$_value));
  63015. return this.super$SassNumber$modulo(other);
  63016. },
  63017. plus$1(other) {
  63018. if (other instanceof A.SassNumber)
  63019. return other.withValue$1(this._number$_value + other._number$_value);
  63020. return this.super$SassNumber$plus(other);
  63021. },
  63022. minus$1(other) {
  63023. if (other instanceof A.SassNumber)
  63024. return other.withValue$1(this._number$_value - other._number$_value);
  63025. return this.super$SassNumber$minus(other);
  63026. },
  63027. times$1(other) {
  63028. if (other instanceof A.SassNumber)
  63029. return other.withValue$1(this._number$_value * other._number$_value);
  63030. return this.super$SassNumber$times(other);
  63031. },
  63032. dividedBy$1(other) {
  63033. var t1, t2;
  63034. if (other instanceof A.SassNumber) {
  63035. t1 = this._number$_value / other._number$_value;
  63036. if (other.get$hasUnits()) {
  63037. t2 = other.get$denominatorUnits(other);
  63038. t2 = A.SassNumber_SassNumber$withUnits(t1, other.get$numeratorUnits(other), t2);
  63039. t1 = t2;
  63040. } else
  63041. t1 = new A.UnitlessSassNumber(t1, null);
  63042. return t1;
  63043. }
  63044. return this.super$SassNumber$dividedBy(other);
  63045. },
  63046. unaryMinus$0() {
  63047. return new A.UnitlessSassNumber(-this._number$_value, null);
  63048. },
  63049. $eq(_, other) {
  63050. if (other == null)
  63051. return false;
  63052. return other instanceof A.UnitlessSassNumber && A.fuzzyEquals(this._number$_value, other._number$_value);
  63053. },
  63054. get$hashCode(_) {
  63055. var t1 = this.hashCache;
  63056. return t1 == null ? this.hashCache = A.fuzzyHashCode(this._number$_value) : t1;
  63057. }
  63058. };
  63059. A.SassString.prototype = {
  63060. get$_sassLength() {
  63061. var result, _this = this,
  63062. value = _this.__SassString__sassLength_FI;
  63063. if (value === $) {
  63064. result = new A.Runes(_this._string$_text).get$length(0);
  63065. _this.__SassString__sassLength_FI !== $ && A.throwUnnamedLateFieldADI();
  63066. _this.__SassString__sassLength_FI = result;
  63067. value = result;
  63068. }
  63069. return value;
  63070. },
  63071. get$isSpecialNumber() {
  63072. var t1, _2_0, _0_0, _1_0;
  63073. if (this._hasQuotes)
  63074. return false;
  63075. t1 = this._string$_text;
  63076. if (t1.length < 6)
  63077. return false;
  63078. _2_0 = t1.charCodeAt(0);
  63079. $label1$1: {
  63080. if (99 === _2_0 || 67 === _2_0) {
  63081. _0_0 = t1.charCodeAt(1);
  63082. $label0$0: {
  63083. if (108 === _0_0 || 76 === _0_0) {
  63084. t1 = (t1.charCodeAt(2) | 32) === 97 && (t1.charCodeAt(3) | 32) === 109 && (t1.charCodeAt(4) | 32) === 112 && t1.charCodeAt(5) === 40;
  63085. break $label0$0;
  63086. }
  63087. if (97 === _0_0 || 65 === _0_0) {
  63088. t1 = (t1.charCodeAt(2) | 32) === 108 && (t1.charCodeAt(3) | 32) === 99 && t1.charCodeAt(4) === 40;
  63089. break $label0$0;
  63090. }
  63091. t1 = false;
  63092. break $label0$0;
  63093. }
  63094. break $label1$1;
  63095. }
  63096. if (118 === _2_0 || 86 === _2_0) {
  63097. t1 = (t1.charCodeAt(1) | 32) === 97 && (t1.charCodeAt(2) | 32) === 114 && t1.charCodeAt(3) === 40;
  63098. break $label1$1;
  63099. }
  63100. if (101 === _2_0 || 69 === _2_0) {
  63101. t1 = (t1.charCodeAt(1) | 32) === 110 && (t1.charCodeAt(2) | 32) === 118 && t1.charCodeAt(3) === 40;
  63102. break $label1$1;
  63103. }
  63104. if (109 === _2_0 || 77 === _2_0) {
  63105. _1_0 = t1.charCodeAt(1);
  63106. $label2$2: {
  63107. if (97 === _1_0 || 65 === _1_0) {
  63108. t1 = (t1.charCodeAt(2) | 32) === 120 && t1.charCodeAt(3) === 40;
  63109. break $label2$2;
  63110. }
  63111. if (105 === _1_0 || 73 === _1_0) {
  63112. t1 = (t1.charCodeAt(2) | 32) === 110 && t1.charCodeAt(3) === 40;
  63113. break $label2$2;
  63114. }
  63115. t1 = false;
  63116. break $label2$2;
  63117. }
  63118. break $label1$1;
  63119. }
  63120. t1 = false;
  63121. break $label1$1;
  63122. }
  63123. return t1;
  63124. },
  63125. get$isVar() {
  63126. if (this._hasQuotes)
  63127. return false;
  63128. var t1 = this._string$_text;
  63129. if (t1.length < 8)
  63130. return false;
  63131. return (t1.charCodeAt(0) | 32) === 118 && (t1.charCodeAt(1) | 32) === 97 && (t1.charCodeAt(2) | 32) === 114 && t1.charCodeAt(3) === 40;
  63132. },
  63133. get$isBlank() {
  63134. return !this._hasQuotes && this._string$_text.length === 0;
  63135. },
  63136. accept$1$1(visitor) {
  63137. var t1 = visitor._quote && this._hasQuotes,
  63138. t2 = this._string$_text;
  63139. if (t1)
  63140. visitor._visitQuotedString$1(t2);
  63141. else
  63142. visitor._visitUnquotedString$1(t2);
  63143. return null;
  63144. },
  63145. accept$1(visitor) {
  63146. return this.accept$1$1(visitor, type$.dynamic);
  63147. },
  63148. assertString$1($name) {
  63149. return this;
  63150. },
  63151. plus$1(other) {
  63152. var t1 = this._string$_text,
  63153. t2 = this._hasQuotes;
  63154. return other instanceof A.SassString ? new A.SassString(t1 + other._string$_text, t2) : new A.SassString(t1 + A.serializeValue(other, false, true), t2);
  63155. },
  63156. $eq(_, other) {
  63157. if (other == null)
  63158. return false;
  63159. return other instanceof A.SassString && this._string$_text === other._string$_text;
  63160. },
  63161. get$hashCode(_) {
  63162. var t1 = this._hashCache;
  63163. return t1 == null ? this._hashCache = B.JSString_methods.get$hashCode(this._string$_text) : t1;
  63164. }
  63165. };
  63166. A.AnySelectorVisitor.prototype = {
  63167. visitComplexSelector$1(complex) {
  63168. return B.JSArray_methods.any$1(complex.components, new A.AnySelectorVisitor_visitComplexSelector_closure(this));
  63169. },
  63170. visitCompoundSelector$1(compound) {
  63171. return B.JSArray_methods.any$1(compound.components, new A.AnySelectorVisitor_visitCompoundSelector_closure(this));
  63172. },
  63173. visitPseudoSelector$1(pseudo) {
  63174. var selector = pseudo.selector;
  63175. return selector == null ? false : this.visitSelectorList$1(selector);
  63176. },
  63177. visitSelectorList$1(list) {
  63178. return B.JSArray_methods.any$1(list.components, this.get$visitComplexSelector());
  63179. },
  63180. visitAttributeSelector$1(attribute) {
  63181. return false;
  63182. },
  63183. visitClassSelector$1(klass) {
  63184. return false;
  63185. },
  63186. visitIDSelector$1(id) {
  63187. return false;
  63188. },
  63189. visitParentSelector$1($parent) {
  63190. return false;
  63191. },
  63192. visitPlaceholderSelector$1(placeholder) {
  63193. return false;
  63194. },
  63195. visitTypeSelector$1(type) {
  63196. return false;
  63197. },
  63198. visitUniversalSelector$1(universal) {
  63199. return false;
  63200. }
  63201. };
  63202. A.AnySelectorVisitor_visitComplexSelector_closure.prototype = {
  63203. call$1(component) {
  63204. return this.$this.visitCompoundSelector$1(component.selector);
  63205. },
  63206. $signature: 50
  63207. };
  63208. A.AnySelectorVisitor_visitCompoundSelector_closure.prototype = {
  63209. call$1(simple) {
  63210. return simple.accept$1(this.$this);
  63211. },
  63212. $signature: 14
  63213. };
  63214. A._EvaluateVisitor0.prototype = {
  63215. _EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap0(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
  63216. var t2, metaModule, t3, _i, module, $function, t4, _this = this,
  63217. _s20_ = "$name, $module: null",
  63218. _s9_ = "sass:meta",
  63219. _s7_ = "$module",
  63220. t1 = type$.JSArray_AsyncBuiltInCallable,
  63221. 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...) {", null, _s9_).parseArgumentDeclaration$0(), new A._EvaluateVisitor_closure22(_this), false)], t1),
  63222. 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);
  63223. t1 = type$.AsyncBuiltInCallable;
  63224. t2 = A.List_List$of($.$get$global(), true, t1);
  63225. B.JSArray_methods.addAll$1(t2, $.$get$local());
  63226. B.JSArray_methods.addAll$1(t2, metaFunctions);
  63227. metaModule = A.BuiltInModule$("meta", t2, metaMixins, null, t1);
  63228. for (t1 = A.List_List$of($.$get$coreModules(), true, type$.BuiltInModule_AsyncCallable), t1.push(metaModule), t2 = t1.length, t3 = _this._async_evaluate$_builtInModules, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  63229. module = t1[_i];
  63230. t3.$indexSet(0, module.url, module);
  63231. }
  63232. t1 = A._setArrayType([], type$.JSArray_AsyncCallable);
  63233. B.JSArray_methods.addAll$1(t1, $.$get$globalFunctions());
  63234. B.JSArray_methods.addAll$1(t1, metaFunctions);
  63235. for (t2 = t1.length, t3 = _this._async_evaluate$_builtInFunctions, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  63236. $function = t1[_i];
  63237. t4 = J.get$name$x($function);
  63238. t3.$indexSet(0, A.stringReplaceAllUnchecked(t4, "_", "-"), $function);
  63239. }
  63240. },
  63241. run$2(_, importer, node) {
  63242. return this.run$body$_EvaluateVisitor(0, importer, node);
  63243. },
  63244. run$body$_EvaluateVisitor(_, importer, node) {
  63245. var $async$goto = 0,
  63246. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet),
  63247. $async$returnValue, $async$handler = 2, $async$currentError, $async$self = this, error, stackTrace, t1, exception, $async$exception;
  63248. var $async$run$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  63249. if ($async$errorCode === 1) {
  63250. $async$currentError = $async$result;
  63251. $async$goto = $async$handler;
  63252. }
  63253. while (true)
  63254. switch ($async$goto) {
  63255. case 0:
  63256. // Function start
  63257. $async$handler = 4;
  63258. t1 = type$.nullable_Object;
  63259. 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);
  63260. $async$goto = 7;
  63261. 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);
  63262. case 7:
  63263. // returning from await.
  63264. t1 = $async$result;
  63265. $async$returnValue = t1;
  63266. // goto return
  63267. $async$goto = 1;
  63268. break;
  63269. $async$handler = 2;
  63270. // goto after finally
  63271. $async$goto = 6;
  63272. break;
  63273. case 4:
  63274. // catch
  63275. $async$handler = 3;
  63276. $async$exception = $async$currentError;
  63277. t1 = A.unwrapException($async$exception);
  63278. if (t1 instanceof A.SassException) {
  63279. error = t1;
  63280. stackTrace = A.getTraceFromException($async$exception);
  63281. A.throwWithTrace(error.withLoadedUrls$1($async$self._async_evaluate$_loadedUrls), error, stackTrace);
  63282. } else
  63283. throw $async$exception;
  63284. // goto after finally
  63285. $async$goto = 6;
  63286. break;
  63287. case 3:
  63288. // uncaught
  63289. // goto rethrow
  63290. $async$goto = 2;
  63291. break;
  63292. case 6:
  63293. // after finally
  63294. case 1:
  63295. // return
  63296. return A._asyncReturn($async$returnValue, $async$completer);
  63297. case 2:
  63298. // rethrow
  63299. return A._asyncRethrow($async$currentError, $async$completer);
  63300. }
  63301. });
  63302. return A._asyncStartSync($async$run$2, $async$completer);
  63303. },
  63304. _async_evaluate$_assertInModule$1$2(value, $name) {
  63305. if (value != null)
  63306. return value;
  63307. throw A.wrapException(A.StateError$("Can't access " + $name + " outside of a module."));
  63308. },
  63309. _async_evaluate$_assertInModule$2(value, $name) {
  63310. return this._async_evaluate$_assertInModule$1$2(value, $name, type$.dynamic);
  63311. },
  63312. _async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
  63313. return this._loadModule$body$_EvaluateVisitor(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors);
  63314. },
  63315. _async_evaluate$_loadModule$5$configuration(url, stackFrame, nodeWithSpan, callback, configuration) {
  63316. return this._async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, configuration, false);
  63317. },
  63318. _async_evaluate$_loadModule$4(url, stackFrame, nodeWithSpan, callback) {
  63319. return this._async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, null, false);
  63320. },
  63321. _loadModule$body$_EvaluateVisitor(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
  63322. var $async$goto = 0,
  63323. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  63324. $async$returnValue, $async$self = this, t2, t1, _0_0;
  63325. var $async$_async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  63326. if ($async$errorCode === 1)
  63327. return A._asyncRethrow($async$result, $async$completer);
  63328. while (true)
  63329. switch ($async$goto) {
  63330. case 0:
  63331. // Function start
  63332. t1 = {};
  63333. _0_0 = $async$self._async_evaluate$_builtInModules.$index(0, url);
  63334. t1.builtInModule = null;
  63335. $async$goto = _0_0 != null ? 3 : 4;
  63336. break;
  63337. case 3:
  63338. // then
  63339. t1.builtInModule = _0_0;
  63340. if (configuration instanceof A.ExplicitConfiguration) {
  63341. t1 = namesInErrors ? "Built-in module " + url.toString$0(0) + " can't be configured." : "Built-in modules can't be configured.";
  63342. t2 = configuration.nodeWithSpan;
  63343. throw A.wrapException($async$self._async_evaluate$_exception$2(t1, t2.get$span(t2)));
  63344. }
  63345. $async$goto = 5;
  63346. 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);
  63347. case 5:
  63348. // returning from await.
  63349. // goto return
  63350. $async$goto = 1;
  63351. break;
  63352. case 4:
  63353. // join
  63354. $async$goto = 6;
  63355. 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);
  63356. case 6:
  63357. // returning from await.
  63358. case 1:
  63359. // return
  63360. return A._asyncReturn($async$returnValue, $async$completer);
  63361. }
  63362. });
  63363. return A._asyncStartSync($async$_async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors, $async$completer);
  63364. },
  63365. _async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
  63366. return this._execute$body$_EvaluateVisitor(importer, stylesheet, configuration, namesInErrors, nodeWithSpan);
  63367. },
  63368. _async_evaluate$_execute$2(importer, stylesheet) {
  63369. return this._async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, null, false, null);
  63370. },
  63371. _execute$body$_EvaluateVisitor(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
  63372. var $async$goto = 0,
  63373. $async$completer = A._makeAsyncAwaitCompleter(type$.Module_AsyncCallable),
  63374. $async$returnValue, $async$self = this, _0_0, currentConfiguration, t2, t3, message, existingSpan, configurationSpan, environment, css, preModuleComments, extensionStore, module, t1, url;
  63375. var $async$_async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  63376. if ($async$errorCode === 1)
  63377. return A._asyncRethrow($async$result, $async$completer);
  63378. while (true)
  63379. switch ($async$goto) {
  63380. case 0:
  63381. // Function start
  63382. t1 = stylesheet.span;
  63383. url = t1.get$sourceUrl(t1);
  63384. t1 = $async$self._async_evaluate$_modules;
  63385. _0_0 = t1.$index(0, url);
  63386. if (_0_0 != null) {
  63387. t1 = configuration == null;
  63388. currentConfiguration = t1 ? $async$self._async_evaluate$_configuration : configuration;
  63389. t2 = $async$self._async_evaluate$_moduleConfigurations.$index(0, url);
  63390. t3 = t2.__originalConfiguration;
  63391. t2 = t3 == null ? t2 : t3;
  63392. t3 = currentConfiguration.__originalConfiguration;
  63393. if (t2 !== (t3 == null ? currentConfiguration : t3) && currentConfiguration instanceof A.ExplicitConfiguration) {
  63394. if (namesInErrors) {
  63395. t2 = $.$get$context();
  63396. url.toString;
  63397. message = t2.prettyUri$1(url) + string$.x20was_a;
  63398. } else
  63399. message = string$.This_mw;
  63400. t2 = $async$self._async_evaluate$_moduleNodes.$index(0, url);
  63401. existingSpan = t2 == null ? null : t2.get$span(t2);
  63402. if (t1) {
  63403. t1 = currentConfiguration.nodeWithSpan;
  63404. configurationSpan = t1.get$span(t1);
  63405. } else
  63406. configurationSpan = null;
  63407. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  63408. if (existingSpan != null)
  63409. t1.$indexSet(0, existingSpan, "original load");
  63410. if (configurationSpan != null)
  63411. t1.$indexSet(0, configurationSpan, "configuration");
  63412. throw A.wrapException(t1.get$isEmpty(0) ? $async$self._async_evaluate$_exception$1(message) : $async$self._async_evaluate$_multiSpanException$3(message, "new load", t1));
  63413. }
  63414. $async$returnValue = _0_0;
  63415. // goto return
  63416. $async$goto = 1;
  63417. break;
  63418. }
  63419. environment = A.AsyncEnvironment$();
  63420. css = A._Cell$();
  63421. preModuleComments = A._Cell$();
  63422. extensionStore = A.ExtensionStore$();
  63423. $async$goto = 3;
  63424. 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);
  63425. case 3:
  63426. // returning from await.
  63427. t2 = css._readLocal$0();
  63428. t3 = preModuleComments._readLocal$0();
  63429. module = environment.toModule$3(t2, t3 == null ? B.Map_empty7 : t3, extensionStore);
  63430. if (url != null) {
  63431. t1.$indexSet(0, url, module);
  63432. $async$self._async_evaluate$_moduleConfigurations.$indexSet(0, url, $async$self._async_evaluate$_configuration);
  63433. if (nodeWithSpan != null)
  63434. $async$self._async_evaluate$_moduleNodes.$indexSet(0, url, nodeWithSpan);
  63435. }
  63436. $async$returnValue = module;
  63437. // goto return
  63438. $async$goto = 1;
  63439. break;
  63440. case 1:
  63441. // return
  63442. return A._asyncReturn($async$returnValue, $async$completer);
  63443. }
  63444. });
  63445. return A._asyncStartSync($async$_async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan, $async$completer);
  63446. },
  63447. _async_evaluate$_addOutOfOrderImports$0() {
  63448. var t1, t2, _this = this, _s5_ = "_root",
  63449. _s13_ = "_endOfImports",
  63450. _0_0 = _this._async_evaluate$_outOfOrderImports;
  63451. $label0$0: {
  63452. if (_0_0 == null) {
  63453. t1 = _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_).children;
  63454. break $label0$0;
  63455. }
  63456. t1 = _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_).children;
  63457. 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")), true, type$.ModifiableCssNode);
  63458. B.JSArray_methods.addAll$1(t1, _0_0);
  63459. t2 = _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_).children;
  63460. 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")));
  63461. break $label0$0;
  63462. }
  63463. return t1;
  63464. },
  63465. _async_evaluate$_combineCss$2$clone(root, clone) {
  63466. var selectors, _0_0, t1, imports, css, sorted, t2;
  63467. if (!B.JSArray_methods.any$1(root.get$upstream(), new A._EvaluateVisitor__combineCss_closure1())) {
  63468. selectors = root.get$extensionStore().get$simpleSelectors();
  63469. _0_0 = A.IterableExtension_get_firstOrNull(root.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__combineCss_closure2(selectors)));
  63470. if (_0_0 != null)
  63471. this._async_evaluate$_throwForUnsatisfiedExtension$1(_0_0);
  63472. return root.get$css(root);
  63473. }
  63474. t1 = type$.JSArray_CssNode;
  63475. imports = A._setArrayType([], t1);
  63476. css = A._setArrayType([], t1);
  63477. t1 = type$.Module_AsyncCallable;
  63478. sorted = A.ListQueue$(t1);
  63479. new A._EvaluateVisitor__combineCss_visitModule0(this, A.LinkedHashSet_LinkedHashSet$_empty(t1), clone, css, imports, sorted).call$1(root);
  63480. if (root.get$transitivelyContainsExtensions())
  63481. this._async_evaluate$_extendModules$1(sorted);
  63482. t1 = B.JSArray_methods.$add(imports, css);
  63483. t2 = root.get$css(root);
  63484. return new A.CssStylesheet(new A.UnmodifiableListView(t1, type$.UnmodifiableListView_CssNode), t2.get$span(t2));
  63485. },
  63486. _async_evaluate$_combineCss$1(root) {
  63487. return this._async_evaluate$_combineCss$2$clone(root, false);
  63488. },
  63489. _async_evaluate$_extendModules$1(sortedModules) {
  63490. var t1, t2, t3, originalSelectors, $self, t4, t5, _i, upstream, _0_0,
  63491. downstreamExtensionStores = A.LinkedHashMap_LinkedHashMap$_empty(type$.Uri, type$.List_ExtensionStore),
  63492. unsatisfiedExtensions = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_Extension);
  63493. for (t1 = A._ListQueueIterator$(sortedModules, sortedModules.$ti._precomputed1), t2 = t1.$ti._precomputed1; t1.moveNext$0();) {
  63494. t3 = t1._collection$_current;
  63495. if (t3 == null)
  63496. t3 = t2._as(t3);
  63497. originalSelectors = t3.get$extensionStore().get$simpleSelectors().toSet$0(0);
  63498. unsatisfiedExtensions.addAll$1(0, t3.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__extendModules_closure1(originalSelectors)));
  63499. $self = downstreamExtensionStores.$index(0, t3.get$url(t3));
  63500. t4 = t3.get$extensionStore().get$addExtensions();
  63501. if ($self != null)
  63502. t4.call$1($self);
  63503. t4 = t3.get$extensionStore();
  63504. if (t4.get$isEmpty(t4))
  63505. continue;
  63506. for (t4 = t3.get$upstream(), t5 = t4.length, _i = 0; _i < t4.length; t4.length === t5 || (0, A.throwConcurrentModificationError)(t4), ++_i) {
  63507. upstream = t4[_i];
  63508. _0_0 = upstream.get$url(upstream);
  63509. if (_0_0 != null)
  63510. J.add$1$ax(downstreamExtensionStores.putIfAbsent$2(_0_0, new A._EvaluateVisitor__extendModules_closure2()), t3.get$extensionStore());
  63511. }
  63512. unsatisfiedExtensions.removeAll$1(t3.get$extensionStore().extensionsWhereTarget$1(originalSelectors.get$contains(originalSelectors)));
  63513. }
  63514. if (unsatisfiedExtensions._collection$_length !== 0)
  63515. this._async_evaluate$_throwForUnsatisfiedExtension$1(unsatisfiedExtensions.get$first(0));
  63516. },
  63517. _async_evaluate$_throwForUnsatisfiedExtension$1(extension) {
  63518. throw A.wrapException(A.SassException$(string$.The_ta + extension.target.toString$0(0) + ' !optional" to avoid this error.', extension.span, null));
  63519. },
  63520. _async_evaluate$_indexAfterImports$1(statements) {
  63521. var t1, lastImport, i, _0_0;
  63522. for (t1 = J.getInterceptor$asx(statements), lastImport = -1, i = 0; i < t1.get$length(statements); ++i) {
  63523. $label0$0: {
  63524. _0_0 = t1.$index(statements, i);
  63525. if (_0_0 instanceof A.ModifiableCssImport)
  63526. break $label0$0;
  63527. if (_0_0 instanceof A.ModifiableCssComment)
  63528. continue;
  63529. break;
  63530. }
  63531. lastImport = i;
  63532. }
  63533. return lastImport + 1;
  63534. },
  63535. visitStylesheet$1(node) {
  63536. return this.visitStylesheet$body$_EvaluateVisitor(node);
  63537. },
  63538. visitStylesheet$body$_EvaluateVisitor(node) {
  63539. var $async$goto = 0,
  63540. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  63541. $async$returnValue, $async$self = this, t1, t2, _i;
  63542. var $async$visitStylesheet$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  63543. if ($async$errorCode === 1)
  63544. return A._asyncRethrow($async$result, $async$completer);
  63545. while (true)
  63546. switch ($async$goto) {
  63547. case 0:
  63548. // Function start
  63549. t1 = node.children, t2 = t1.length, _i = 0;
  63550. case 3:
  63551. // for condition
  63552. if (!(_i < t2)) {
  63553. // goto after for
  63554. $async$goto = 5;
  63555. break;
  63556. }
  63557. $async$goto = 6;
  63558. return A._asyncAwait(t1[_i].accept$1($async$self), $async$visitStylesheet$1);
  63559. case 6:
  63560. // returning from await.
  63561. case 4:
  63562. // for update
  63563. ++_i;
  63564. // goto for condition
  63565. $async$goto = 3;
  63566. break;
  63567. case 5:
  63568. // after for
  63569. $async$returnValue = null;
  63570. // goto return
  63571. $async$goto = 1;
  63572. break;
  63573. case 1:
  63574. // return
  63575. return A._asyncReturn($async$returnValue, $async$completer);
  63576. }
  63577. });
  63578. return A._asyncStartSync($async$visitStylesheet$1, $async$completer);
  63579. },
  63580. visitAtRootRule$1(node) {
  63581. return this.visitAtRootRule$body$_EvaluateVisitor(node);
  63582. },
  63583. visitAtRootRule$body$_EvaluateVisitor(node) {
  63584. var $async$goto = 0,
  63585. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  63586. $async$returnValue, $async$self = this, _1_0, resolved, query, $parent, included, t1, _2_0, root, first, rest, innerCopy, outerCopy, _i, copy, _0_0;
  63587. var $async$visitAtRootRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  63588. if ($async$errorCode === 1)
  63589. return A._asyncRethrow($async$result, $async$completer);
  63590. while (true)
  63591. switch ($async$goto) {
  63592. case 0:
  63593. // Function start
  63594. _0_0 = node.query;
  63595. $async$goto = _0_0 != null ? 3 : 5;
  63596. break;
  63597. case 3:
  63598. // then
  63599. $async$goto = 6;
  63600. return A._asyncAwait($async$self._async_evaluate$_performInterpolationWithMap$2$warnForColor(_0_0, true), $async$visitAtRootRule$1);
  63601. case 6:
  63602. // returning from await.
  63603. _1_0 = $async$result;
  63604. resolved = _1_0._0;
  63605. _1_0._1;
  63606. query = A.AtRootQueryParser$(resolved, $async$self._async_evaluate$_logger, null).parse$0();
  63607. // goto join
  63608. $async$goto = 4;
  63609. break;
  63610. case 5:
  63611. // else
  63612. query = B.AtRootQuery_n2q;
  63613. case 4:
  63614. // join
  63615. $parent = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent");
  63616. included = A._setArrayType([], type$.JSArray_ModifiableCssParentNode);
  63617. for (t1 = type$.CssStylesheet; !t1._is($parent); $parent = _2_0) {
  63618. if (!query.excludes$1($parent))
  63619. included.push($parent);
  63620. _2_0 = $parent._parent;
  63621. if (_2_0 == null)
  63622. throw A.wrapException(A.StateError$(string$.CssNod));
  63623. }
  63624. root = $async$self._async_evaluate$_trimIncluded$1(included);
  63625. $async$goto = root === $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent") ? 7 : 8;
  63626. break;
  63627. case 7:
  63628. // then
  63629. $async$goto = 9;
  63630. 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);
  63631. case 9:
  63632. // returning from await.
  63633. $async$returnValue = null;
  63634. // goto return
  63635. $async$goto = 1;
  63636. break;
  63637. case 8:
  63638. // join
  63639. if (included.length >= 1) {
  63640. first = included[0];
  63641. rest = B.JSArray_methods.sublist$1(included, 1);
  63642. innerCopy = first.copyWithoutChildren$0();
  63643. for (t1 = rest.length, outerCopy = innerCopy, _i = 0; _i < rest.length; rest.length === t1 || (0, A.throwConcurrentModificationError)(rest), ++_i, outerCopy = copy) {
  63644. copy = rest[_i].copyWithoutChildren$0();
  63645. copy.addChild$1(outerCopy);
  63646. }
  63647. root.addChild$1(outerCopy);
  63648. } else
  63649. innerCopy = root;
  63650. $async$goto = 10;
  63651. 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);
  63652. case 10:
  63653. // returning from await.
  63654. $async$returnValue = null;
  63655. // goto return
  63656. $async$goto = 1;
  63657. break;
  63658. case 1:
  63659. // return
  63660. return A._asyncReturn($async$returnValue, $async$completer);
  63661. }
  63662. });
  63663. return A._asyncStartSync($async$visitAtRootRule$1, $async$completer);
  63664. },
  63665. _async_evaluate$_trimIncluded$1(nodes) {
  63666. var $parent, t1, innermostContiguous, i, t2, _0_0, _1_0, root, _this = this, _null = null, _s5_ = "_root",
  63667. _s22_ = " to be an ancestor of ";
  63668. if (nodes.length === 0)
  63669. return _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_);
  63670. $parent = _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__parent, "__parent");
  63671. for (t1 = nodes.length, innermostContiguous = _null, i = 0; i < t1; ++i, $parent = _1_0) {
  63672. for (; t2 = nodes[i], $parent !== t2; innermostContiguous = _null, $parent = _0_0) {
  63673. _0_0 = $parent._parent;
  63674. if (_0_0 == null)
  63675. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  63676. }
  63677. if (innermostContiguous == null)
  63678. innermostContiguous = i;
  63679. _1_0 = $parent._parent;
  63680. if (_1_0 == null)
  63681. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  63682. }
  63683. if ($parent !== _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_))
  63684. return _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_);
  63685. innermostContiguous.toString;
  63686. root = nodes[innermostContiguous];
  63687. B.JSArray_methods.removeRange$2(nodes, innermostContiguous, nodes.length);
  63688. return root;
  63689. },
  63690. _async_evaluate$_scopeForAtRoot$4(node, newParent, query, included) {
  63691. var _this = this,
  63692. scope = new A._EvaluateVisitor__scopeForAtRoot_closure5(_this, newParent, node),
  63693. t1 = query._all || query._at_root_query$_rule;
  63694. if (t1 !== query.include)
  63695. scope = new A._EvaluateVisitor__scopeForAtRoot_closure6(_this, scope);
  63696. if (_this._async_evaluate$_mediaQueries != null && query.excludesName$1("media"))
  63697. scope = new A._EvaluateVisitor__scopeForAtRoot_closure7(_this, scope);
  63698. if (_this._async_evaluate$_inKeyframes && query.excludesName$1("keyframes"))
  63699. scope = new A._EvaluateVisitor__scopeForAtRoot_closure8(_this, scope);
  63700. return _this._async_evaluate$_inUnknownAtRule && !B.JSArray_methods.any$1(included, new A._EvaluateVisitor__scopeForAtRoot_closure9()) ? new A._EvaluateVisitor__scopeForAtRoot_closure10(_this, scope) : scope;
  63701. },
  63702. visitContentBlock$1(node) {
  63703. return A.throwExpression(A.UnsupportedError$(string$.Evalua));
  63704. },
  63705. visitContentRule$1(node) {
  63706. return this.visitContentRule$body$_EvaluateVisitor(node);
  63707. },
  63708. visitContentRule$body$_EvaluateVisitor(node) {
  63709. var $async$goto = 0,
  63710. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  63711. $async$returnValue, $async$self = this, $content;
  63712. var $async$visitContentRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  63713. if ($async$errorCode === 1)
  63714. return A._asyncRethrow($async$result, $async$completer);
  63715. while (true)
  63716. switch ($async$goto) {
  63717. case 0:
  63718. // Function start
  63719. $content = $async$self._async_evaluate$_environment._async_environment$_content;
  63720. if ($content == null) {
  63721. $async$returnValue = null;
  63722. // goto return
  63723. $async$goto = 1;
  63724. break;
  63725. }
  63726. $async$goto = 3;
  63727. 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);
  63728. case 3:
  63729. // returning from await.
  63730. $async$returnValue = null;
  63731. // goto return
  63732. $async$goto = 1;
  63733. break;
  63734. case 1:
  63735. // return
  63736. return A._asyncReturn($async$returnValue, $async$completer);
  63737. }
  63738. });
  63739. return A._asyncStartSync($async$visitContentRule$1, $async$completer);
  63740. },
  63741. visitDebugRule$1(node) {
  63742. return this.visitDebugRule$body$_EvaluateVisitor(node);
  63743. },
  63744. visitDebugRule$body$_EvaluateVisitor(node) {
  63745. var $async$goto = 0,
  63746. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  63747. $async$returnValue, $async$self = this, value, t1;
  63748. var $async$visitDebugRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  63749. if ($async$errorCode === 1)
  63750. return A._asyncRethrow($async$result, $async$completer);
  63751. while (true)
  63752. switch ($async$goto) {
  63753. case 0:
  63754. // Function start
  63755. $async$goto = 3;
  63756. return A._asyncAwait(node.expression.accept$1($async$self), $async$visitDebugRule$1);
  63757. case 3:
  63758. // returning from await.
  63759. value = $async$result;
  63760. t1 = value instanceof A.SassString ? value._string$_text : A.serializeValue(value, true, true);
  63761. $async$self._async_evaluate$_logger.debug$2(0, t1, node.span);
  63762. $async$returnValue = null;
  63763. // goto return
  63764. $async$goto = 1;
  63765. break;
  63766. case 1:
  63767. // return
  63768. return A._asyncReturn($async$returnValue, $async$completer);
  63769. }
  63770. });
  63771. return A._asyncStartSync($async$visitDebugRule$1, $async$completer);
  63772. },
  63773. visitDeclaration$1(node) {
  63774. return this.visitDeclaration$body$_EvaluateVisitor(node);
  63775. },
  63776. visitDeclaration$body$_EvaluateVisitor(node) {
  63777. var $async$goto = 0,
  63778. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  63779. $async$returnValue, $async$self = this, t2, $name, _0_0, _1_0, value, t3, t4, t5, _2_0, oldDeclarationName, t1;
  63780. var $async$visitDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  63781. if ($async$errorCode === 1)
  63782. return A._asyncRethrow($async$result, $async$completer);
  63783. while (true)
  63784. switch ($async$goto) {
  63785. case 0:
  63786. // Function start
  63787. t1 = {};
  63788. if (($async$self._async_evaluate$_atRootExcludingStyleRule ? null : $async$self._async_evaluate$_styleRuleIgnoringAtRoot) == null && !$async$self._async_evaluate$_inUnknownAtRule && !$async$self._async_evaluate$_inKeyframes)
  63789. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Declarm, node.span));
  63790. if ($async$self._async_evaluate$_declarationName != null && B.JSString_methods.startsWith$1(node.name.get$initialPlain(), "--"))
  63791. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Declarw, node.span));
  63792. t2 = node.name;
  63793. $async$goto = 3;
  63794. return A._asyncAwait($async$self._async_evaluate$_interpolationToValue$2$warnForColor(t2, true), $async$visitDeclaration$1);
  63795. case 3:
  63796. // returning from await.
  63797. $name = $async$result;
  63798. _0_0 = $async$self._async_evaluate$_declarationName;
  63799. if (_0_0 != null)
  63800. $name = new A.CssValue(_0_0 + "-" + A.S($name.value), $name.span, type$.CssValue_String);
  63801. _1_0 = node.value;
  63802. $async$goto = _1_0 != null ? 4 : 5;
  63803. break;
  63804. case 4:
  63805. // then
  63806. $async$goto = 6;
  63807. return A._asyncAwait(_1_0.accept$1($async$self), $async$visitDeclaration$1);
  63808. case 6:
  63809. // returning from await.
  63810. value = $async$result;
  63811. if (!value.get$isBlank() || value.get$asList().length === 0) {
  63812. t3 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent");
  63813. t4 = _1_0.get$span(_1_0);
  63814. t2 = B.JSString_methods.startsWith$1(t2.get$initialPlain(), "--");
  63815. if ($async$self._async_evaluate$_sourceMap) {
  63816. t5 = A.NullableExtension_andThen(_1_0, $async$self.get$_async_evaluate$_expressionNode());
  63817. t5 = t5 == null ? null : J.get$span$z(t5);
  63818. } else
  63819. t5 = null;
  63820. t3.addChild$1(A.ModifiableCssDeclaration$($name, new A.CssValue(value, t4, type$.CssValue_Value), node.span, t2, t5));
  63821. } else if (J.startsWith$1$s($name.value, "--"))
  63822. throw A.wrapException($async$self._async_evaluate$_exception$2("Custom property values may not be empty.", _1_0.get$span(_1_0)));
  63823. case 5:
  63824. // join
  63825. _2_0 = node.children;
  63826. t1.children = null;
  63827. $async$goto = _2_0 != null ? 7 : 8;
  63828. break;
  63829. case 7:
  63830. // then
  63831. t1.children = _2_0;
  63832. oldDeclarationName = $async$self._async_evaluate$_declarationName;
  63833. $async$self._async_evaluate$_declarationName = $name.value;
  63834. $async$goto = 9;
  63835. 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);
  63836. case 9:
  63837. // returning from await.
  63838. $async$self._async_evaluate$_declarationName = oldDeclarationName;
  63839. case 8:
  63840. // join
  63841. $async$returnValue = null;
  63842. // goto return
  63843. $async$goto = 1;
  63844. break;
  63845. case 1:
  63846. // return
  63847. return A._asyncReturn($async$returnValue, $async$completer);
  63848. }
  63849. });
  63850. return A._asyncStartSync($async$visitDeclaration$1, $async$completer);
  63851. },
  63852. visitEachRule$1(node) {
  63853. return this.visitEachRule$body$_EvaluateVisitor(node);
  63854. },
  63855. visitEachRule$body$_EvaluateVisitor(node) {
  63856. var $async$goto = 0,
  63857. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  63858. $async$returnValue, $async$self = this, _box_0, t1, list, nodeWithSpan, _0_0;
  63859. var $async$visitEachRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  63860. if ($async$errorCode === 1)
  63861. return A._asyncRethrow($async$result, $async$completer);
  63862. while (true)
  63863. switch ($async$goto) {
  63864. case 0:
  63865. // Function start
  63866. _box_0 = {};
  63867. t1 = node.list;
  63868. $async$goto = 3;
  63869. return A._asyncAwait(t1.accept$1($async$self), $async$visitEachRule$1);
  63870. case 3:
  63871. // returning from await.
  63872. list = $async$result;
  63873. nodeWithSpan = $async$self._async_evaluate$_expressionNode$1(t1);
  63874. _0_0 = node.variables;
  63875. $label0$0: {
  63876. _box_0.variable = null;
  63877. if (_0_0.length === 1) {
  63878. _box_0.variable = _0_0[0];
  63879. t1 = new A._EvaluateVisitor_visitEachRule_closure2(_box_0, $async$self, nodeWithSpan);
  63880. break $label0$0;
  63881. }
  63882. _box_0.variables = null;
  63883. _box_0.variables = _0_0;
  63884. t1 = new A._EvaluateVisitor_visitEachRule_closure3(_box_0, $async$self, nodeWithSpan);
  63885. break $label0$0;
  63886. }
  63887. $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);
  63888. // goto return
  63889. $async$goto = 1;
  63890. break;
  63891. case 1:
  63892. // return
  63893. return A._asyncReturn($async$returnValue, $async$completer);
  63894. }
  63895. });
  63896. return A._asyncStartSync($async$visitEachRule$1, $async$completer);
  63897. },
  63898. _async_evaluate$_setMultipleVariables$3(variables, value, nodeWithSpan) {
  63899. var i,
  63900. list = value.get$asList(),
  63901. t1 = variables.length,
  63902. minLength = Math.min(t1, list.length);
  63903. for (i = 0; i < minLength; ++i)
  63904. this._async_evaluate$_environment.setLocalVariable$3(variables[i], this._async_evaluate$_withoutSlash$2(list[i], nodeWithSpan), nodeWithSpan);
  63905. for (i = minLength; i < t1; ++i)
  63906. this._async_evaluate$_environment.setLocalVariable$3(variables[i], B.C__SassNull, nodeWithSpan);
  63907. },
  63908. visitErrorRule$1(node) {
  63909. return this.visitErrorRule$body$_EvaluateVisitor(node);
  63910. },
  63911. visitErrorRule$body$_EvaluateVisitor(node) {
  63912. var $async$goto = 0,
  63913. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  63914. $async$self = this, $async$temp1, $async$temp2;
  63915. var $async$visitErrorRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  63916. if ($async$errorCode === 1)
  63917. return A._asyncRethrow($async$result, $async$completer);
  63918. while (true)
  63919. switch ($async$goto) {
  63920. case 0:
  63921. // Function start
  63922. $async$temp1 = A;
  63923. $async$temp2 = J;
  63924. $async$goto = 2;
  63925. return A._asyncAwait(node.expression.accept$1($async$self), $async$visitErrorRule$1);
  63926. case 2:
  63927. // returning from await.
  63928. throw $async$temp1.wrapException($async$self._async_evaluate$_exception$2($async$temp2.toString$0$($async$result), node.span));
  63929. // implicit return
  63930. return A._asyncReturn(null, $async$completer);
  63931. }
  63932. });
  63933. return A._asyncStartSync($async$visitErrorRule$1, $async$completer);
  63934. },
  63935. visitExtendRule$1(node) {
  63936. return this.visitExtendRule$body$_EvaluateVisitor(node);
  63937. },
  63938. visitExtendRule$body$_EvaluateVisitor(node) {
  63939. var $async$goto = 0,
  63940. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  63941. $async$returnValue, $async$self = this, t1, t2, t3, t4, t5, _i, complex, visitor, t6, t7, _0_0, targetText, targetMap, compound, styleRule;
  63942. var $async$visitExtendRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  63943. if ($async$errorCode === 1)
  63944. return A._asyncRethrow($async$result, $async$completer);
  63945. while (true)
  63946. switch ($async$goto) {
  63947. case 0:
  63948. // Function start
  63949. styleRule = $async$self._async_evaluate$_atRootExcludingStyleRule ? null : $async$self._async_evaluate$_styleRuleIgnoringAtRoot;
  63950. if (styleRule == null || $async$self._async_evaluate$_declarationName != null)
  63951. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.x40exten, node.span));
  63952. for (t1 = styleRule.originalSelector.components, t2 = t1.length, t3 = node.span, t4 = type$.SourceSpan, t5 = type$.String, _i = 0; _i < t2; ++_i) {
  63953. complex = t1[_i];
  63954. if (!complex.accept$1(B._IsBogusVisitor_true))
  63955. continue;
  63956. visitor = A._SerializeVisitor$(null, true, null, true, false, null, true);
  63957. complex.accept$1(visitor);
  63958. t6 = B.JSString_methods.trim$0(visitor._serialize$_buffer.toString$0(0));
  63959. t7 = complex.accept$1(B.C__IsUselessVisitor) ? "can't" : "shouldn't";
  63960. $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_ido);
  63961. }
  63962. $async$goto = 3;
  63963. return A._asyncAwait($async$self._async_evaluate$_performInterpolationWithMap$2$warnForColor(node.selector, true), $async$visitExtendRule$1);
  63964. case 3:
  63965. // returning from await.
  63966. _0_0 = $async$result;
  63967. targetText = _0_0._0;
  63968. targetMap = _0_0._1;
  63969. for (t1 = A.SelectorList_SelectorList$parse(A.trimAscii(targetText, true), false, targetMap, $async$self._async_evaluate$_logger, false).components, t2 = t1.length, t3 = styleRule._style_rule$_selector._box$_inner, _i = 0; _i < t2; ++_i) {
  63970. complex = t1[_i];
  63971. compound = complex.get$singleCompound();
  63972. if (compound == null)
  63973. throw A.wrapException(A.SassFormatException$("complex selectors may not be extended.", complex.span, null));
  63974. t4 = compound.components;
  63975. t5 = t4.length === 1 ? B.JSArray_methods.get$first(t4) : null;
  63976. if (t5 == null)
  63977. throw A.wrapException(A.SassFormatException$(string$.compou + B.JSArray_methods.join$1(t4, ", ") + string$.x60_inst, compound.span, null));
  63978. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__extensionStore, "_extensionStore").addExtension$4(t3.value, t5, node, $async$self._async_evaluate$_mediaQueries);
  63979. }
  63980. $async$returnValue = null;
  63981. // goto return
  63982. $async$goto = 1;
  63983. break;
  63984. case 1:
  63985. // return
  63986. return A._asyncReturn($async$returnValue, $async$completer);
  63987. }
  63988. });
  63989. return A._asyncStartSync($async$visitExtendRule$1, $async$completer);
  63990. },
  63991. visitAtRule$1(node) {
  63992. return this.visitAtRule$body$_EvaluateVisitor(node);
  63993. },
  63994. visitAtRule$body$_EvaluateVisitor(node) {
  63995. var $async$goto = 0,
  63996. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  63997. $async$returnValue, $async$self = this, $name, t1, value, children, wasInKeyframes, wasInUnknownAtRule;
  63998. var $async$visitAtRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  63999. if ($async$errorCode === 1)
  64000. return A._asyncRethrow($async$result, $async$completer);
  64001. while (true)
  64002. switch ($async$goto) {
  64003. case 0:
  64004. // Function start
  64005. if ($async$self._async_evaluate$_declarationName != null)
  64006. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.At_rul, node.span));
  64007. $async$goto = 3;
  64008. return A._asyncAwait($async$self._async_evaluate$_interpolationToValue$1(node.name), $async$visitAtRule$1);
  64009. case 3:
  64010. // returning from await.
  64011. $name = $async$result;
  64012. t1 = A.NullableExtension_andThen(node.value, new A._EvaluateVisitor_visitAtRule_closure2($async$self));
  64013. $async$goto = 4;
  64014. return A._asyncAwait(type$.Future_nullable_CssValue_String._is(t1) ? t1 : A._Future$value(t1, type$.nullable_CssValue_String), $async$visitAtRule$1);
  64015. case 4:
  64016. // returning from await.
  64017. value = $async$result;
  64018. children = node.children;
  64019. if (children == null) {
  64020. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$($name, node.span, true, value));
  64021. $async$returnValue = null;
  64022. // goto return
  64023. $async$goto = 1;
  64024. break;
  64025. }
  64026. wasInKeyframes = $async$self._async_evaluate$_inKeyframes;
  64027. wasInUnknownAtRule = $async$self._async_evaluate$_inUnknownAtRule;
  64028. if (A.unvendor($name.value) === "keyframes")
  64029. $async$self._async_evaluate$_inKeyframes = true;
  64030. else
  64031. $async$self._async_evaluate$_inUnknownAtRule = true;
  64032. $async$goto = 5;
  64033. 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);
  64034. case 5:
  64035. // returning from await.
  64036. $async$self._async_evaluate$_inUnknownAtRule = wasInUnknownAtRule;
  64037. $async$self._async_evaluate$_inKeyframes = wasInKeyframes;
  64038. $async$returnValue = null;
  64039. // goto return
  64040. $async$goto = 1;
  64041. break;
  64042. case 1:
  64043. // return
  64044. return A._asyncReturn($async$returnValue, $async$completer);
  64045. }
  64046. });
  64047. return A._asyncStartSync($async$visitAtRule$1, $async$completer);
  64048. },
  64049. visitForRule$1(node) {
  64050. return this.visitForRule$body$_EvaluateVisitor(node);
  64051. },
  64052. visitForRule$body$_EvaluateVisitor(node) {
  64053. var $async$goto = 0,
  64054. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  64055. $async$returnValue, $async$self = this, t1, t2, t3, fromNumber, t4, toNumber, from, to, direction;
  64056. var $async$visitForRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  64057. if ($async$errorCode === 1)
  64058. return A._asyncRethrow($async$result, $async$completer);
  64059. while (true)
  64060. switch ($async$goto) {
  64061. case 0:
  64062. // Function start
  64063. t1 = {};
  64064. t2 = node.from;
  64065. t3 = type$.SassNumber;
  64066. $async$goto = 3;
  64067. return A._asyncAwait($async$self._addExceptionSpanAsync$1$2(t2, new A._EvaluateVisitor_visitForRule_closure4($async$self, node), t3), $async$visitForRule$1);
  64068. case 3:
  64069. // returning from await.
  64070. fromNumber = $async$result;
  64071. t4 = node.to;
  64072. $async$goto = 4;
  64073. return A._asyncAwait($async$self._addExceptionSpanAsync$1$2(t4, new A._EvaluateVisitor_visitForRule_closure5($async$self, node), t3), $async$visitForRule$1);
  64074. case 4:
  64075. // returning from await.
  64076. toNumber = $async$result;
  64077. from = $async$self._async_evaluate$_addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure6(fromNumber));
  64078. to = t1.to = $async$self._async_evaluate$_addExceptionSpan$2(t4, new A._EvaluateVisitor_visitForRule_closure7(toNumber, fromNumber));
  64079. direction = from > to ? -1 : 1;
  64080. if (from === (!node.isExclusive ? t1.to = to + direction : to)) {
  64081. $async$returnValue = null;
  64082. // goto return
  64083. $async$goto = 1;
  64084. break;
  64085. }
  64086. $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);
  64087. // goto return
  64088. $async$goto = 1;
  64089. break;
  64090. case 1:
  64091. // return
  64092. return A._asyncReturn($async$returnValue, $async$completer);
  64093. }
  64094. });
  64095. return A._asyncStartSync($async$visitForRule$1, $async$completer);
  64096. },
  64097. visitForwardRule$1(node) {
  64098. return this.visitForwardRule$body$_EvaluateVisitor(node);
  64099. },
  64100. visitForwardRule$body$_EvaluateVisitor(node) {
  64101. var $async$goto = 0,
  64102. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  64103. $async$returnValue, $async$self = this, newConfiguration, t4, _i, variable, $name, oldConfiguration, adjustedConfiguration, t1, t2, t3;
  64104. var $async$visitForwardRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  64105. if ($async$errorCode === 1)
  64106. return A._asyncRethrow($async$result, $async$completer);
  64107. while (true)
  64108. switch ($async$goto) {
  64109. case 0:
  64110. // Function start
  64111. oldConfiguration = $async$self._async_evaluate$_configuration;
  64112. adjustedConfiguration = oldConfiguration.throughForward$1(node);
  64113. t1 = node.configuration;
  64114. t2 = t1.length;
  64115. t3 = node.url;
  64116. $async$goto = t2 !== 0 ? 3 : 5;
  64117. break;
  64118. case 3:
  64119. // then
  64120. $async$goto = 6;
  64121. return A._asyncAwait($async$self._async_evaluate$_addForwardConfiguration$2(adjustedConfiguration, node), $async$visitForwardRule$1);
  64122. case 6:
  64123. // returning from await.
  64124. newConfiguration = $async$result;
  64125. $async$goto = 7;
  64126. 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);
  64127. case 7:
  64128. // returning from await.
  64129. t3 = type$.String;
  64130. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  64131. for (_i = 0; _i < t2; ++_i) {
  64132. variable = t1[_i];
  64133. if (!variable.isGuarded)
  64134. t4.add$1(0, variable.name);
  64135. }
  64136. $async$self._async_evaluate$_removeUsedConfiguration$3$except(adjustedConfiguration, newConfiguration, t4);
  64137. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  64138. for (_i = 0; _i < t2; ++_i)
  64139. t3.add$1(0, t1[_i].name);
  64140. for (t1 = newConfiguration._configuration$_values, t2 = J.toList$0$ax(t1.get$keys(t1)), t4 = t2.length, _i = 0; _i < t2.length; t2.length === t4 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  64141. $name = t2[_i];
  64142. if (!t3.contains$1(0, $name))
  64143. if (!t1.get$isEmpty(t1))
  64144. t1.remove$1(0, $name);
  64145. }
  64146. $async$self._async_evaluate$_assertConfigurationIsEmpty$1(newConfiguration);
  64147. // goto join
  64148. $async$goto = 4;
  64149. break;
  64150. case 5:
  64151. // else
  64152. $async$self._async_evaluate$_configuration = adjustedConfiguration;
  64153. $async$goto = 8;
  64154. return A._asyncAwait($async$self._async_evaluate$_loadModule$4(t3, "@forward", node, new A._EvaluateVisitor_visitForwardRule_closure2($async$self, node)), $async$visitForwardRule$1);
  64155. case 8:
  64156. // returning from await.
  64157. $async$self._async_evaluate$_configuration = oldConfiguration;
  64158. case 4:
  64159. // join
  64160. $async$returnValue = null;
  64161. // goto return
  64162. $async$goto = 1;
  64163. break;
  64164. case 1:
  64165. // return
  64166. return A._asyncReturn($async$returnValue, $async$completer);
  64167. }
  64168. });
  64169. return A._asyncStartSync($async$visitForwardRule$1, $async$completer);
  64170. },
  64171. _async_evaluate$_addForwardConfiguration$2(configuration, node) {
  64172. return this._addForwardConfiguration$body$_EvaluateVisitor(configuration, node);
  64173. },
  64174. _addForwardConfiguration$body$_EvaluateVisitor(configuration, node) {
  64175. var $async$goto = 0,
  64176. $async$completer = A._makeAsyncAwaitCompleter(type$.Configuration),
  64177. $async$returnValue, $async$self = this, t2, t3, t4, t5, _i, variable, t6, oldValue, t7, variableNodeWithSpan, t8, t1, newValues, $async$temp1, $async$temp2, $async$temp3;
  64178. var $async$_async_evaluate$_addForwardConfiguration$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  64179. if ($async$errorCode === 1)
  64180. return A._asyncRethrow($async$result, $async$completer);
  64181. while (true)
  64182. switch ($async$goto) {
  64183. case 0:
  64184. // Function start
  64185. t1 = configuration._configuration$_values;
  64186. newValues = A.LinkedHashMap_LinkedHashMap$of(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue), type$.String, type$.ConfiguredValue);
  64187. t2 = node.configuration, t3 = t2.length, t4 = type$._Future_Value, t5 = type$.Future_Value, _i = 0;
  64188. case 3:
  64189. // for condition
  64190. if (!(_i < t3)) {
  64191. // goto after for
  64192. $async$goto = 5;
  64193. break;
  64194. }
  64195. variable = t2[_i];
  64196. if (variable.isGuarded) {
  64197. t6 = variable.name;
  64198. oldValue = t1.get$isEmpty(t1) ? null : t1.remove$1(0, t6);
  64199. if (oldValue != null)
  64200. t7 = !oldValue.value.$eq(0, B.C__SassNull);
  64201. else {
  64202. oldValue = null;
  64203. t7 = false;
  64204. }
  64205. if (t7) {
  64206. newValues.$indexSet(0, t6, oldValue);
  64207. // goto for update
  64208. $async$goto = 4;
  64209. break;
  64210. }
  64211. }
  64212. t6 = variable.expression;
  64213. variableNodeWithSpan = $async$self._async_evaluate$_expressionNode$1(t6);
  64214. t7 = variable.name;
  64215. t6 = t6.accept$1($async$self);
  64216. if (!t5._is(t6)) {
  64217. t8 = new A._Future($.Zone__current, t4);
  64218. t8._state = 8;
  64219. t8._resultOrListeners = t6;
  64220. t6 = t8;
  64221. }
  64222. $async$temp1 = newValues;
  64223. $async$temp2 = t7;
  64224. $async$temp3 = A;
  64225. $async$goto = 6;
  64226. return A._asyncAwait(t6, $async$_async_evaluate$_addForwardConfiguration$2);
  64227. case 6:
  64228. // returning from await.
  64229. $async$temp1.$indexSet(0, $async$temp2, new $async$temp3.ConfiguredValue($async$self._async_evaluate$_withoutSlash$2($async$result, variableNodeWithSpan), variable.span, variableNodeWithSpan));
  64230. case 4:
  64231. // for update
  64232. ++_i;
  64233. // goto for condition
  64234. $async$goto = 3;
  64235. break;
  64236. case 5:
  64237. // after for
  64238. if (configuration instanceof A.ExplicitConfiguration || t1.get$isEmpty(t1)) {
  64239. $async$returnValue = new A.ExplicitConfiguration(node, newValues, null);
  64240. // goto return
  64241. $async$goto = 1;
  64242. break;
  64243. } else {
  64244. $async$returnValue = new A.Configuration(newValues, null);
  64245. // goto return
  64246. $async$goto = 1;
  64247. break;
  64248. }
  64249. case 1:
  64250. // return
  64251. return A._asyncReturn($async$returnValue, $async$completer);
  64252. }
  64253. });
  64254. return A._asyncStartSync($async$_async_evaluate$_addForwardConfiguration$2, $async$completer);
  64255. },
  64256. _async_evaluate$_registerCommentsForModule$1(module) {
  64257. var _this = this, _s5_ = "_root",
  64258. t1 = _this._async_evaluate$__root;
  64259. if (t1 == null)
  64260. return;
  64261. if (_this._async_evaluate$_assertInModule$2(t1, _s5_).children.get$length(0) === 0 || !module.get$transitivelyContainsCss())
  64262. return;
  64263. t1 = _this._async_evaluate$_preModuleComments;
  64264. if (t1 == null)
  64265. t1 = _this._async_evaluate$_preModuleComments = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable, type$.List_CssComment);
  64266. 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));
  64267. _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_).clearChildren$0();
  64268. _this._async_evaluate$__endOfImports = 0;
  64269. },
  64270. _async_evaluate$_removeUsedConfiguration$3$except(upstream, downstream, except) {
  64271. var t1, t2, t3, t4, _i, $name;
  64272. for (t1 = upstream._configuration$_values, t2 = J.toList$0$ax(t1.get$keys(t1)), t3 = t2.length, t4 = downstream._configuration$_values, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  64273. $name = t2[_i];
  64274. if (except.contains$1(0, $name))
  64275. continue;
  64276. if (!t4.containsKey$1($name))
  64277. if (!t1.get$isEmpty(t1))
  64278. t1.remove$1(0, $name);
  64279. }
  64280. },
  64281. _async_evaluate$_assertConfigurationIsEmpty$2$nameInError(configuration, nameInError) {
  64282. var t1, _0_0, $name, value;
  64283. if (!(configuration instanceof A.ExplicitConfiguration))
  64284. return;
  64285. t1 = configuration._configuration$_values;
  64286. if (t1.get$isEmpty(t1))
  64287. return;
  64288. t1 = A.MapExtensions_get_pairs(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue), type$.String, type$.ConfiguredValue);
  64289. _0_0 = t1.get$first(t1);
  64290. $name = _0_0._0;
  64291. value = _0_0._1;
  64292. t1 = nameInError ? "$" + $name + string$.x20was_n : string$.This_v;
  64293. throw A.wrapException(this._async_evaluate$_exception$2(t1, value.configurationSpan));
  64294. },
  64295. _async_evaluate$_assertConfigurationIsEmpty$1(configuration) {
  64296. return this._async_evaluate$_assertConfigurationIsEmpty$2$nameInError(configuration, false);
  64297. },
  64298. visitFunctionRule$1(node) {
  64299. return this.visitFunctionRule$body$_EvaluateVisitor(node);
  64300. },
  64301. visitFunctionRule$body$_EvaluateVisitor(node) {
  64302. var $async$goto = 0,
  64303. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  64304. $async$returnValue, $async$self = this, t1, t2, t3, t4, index, t5;
  64305. var $async$visitFunctionRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  64306. if ($async$errorCode === 1)
  64307. return A._asyncRethrow($async$result, $async$completer);
  64308. while (true)
  64309. switch ($async$goto) {
  64310. case 0:
  64311. // Function start
  64312. t1 = $async$self._async_evaluate$_environment;
  64313. t2 = t1.closure$0();
  64314. t3 = $async$self._async_evaluate$_inDependency;
  64315. t4 = t1._async_environment$_functions;
  64316. index = t4.length - 1;
  64317. t5 = node.name;
  64318. t1._async_environment$_functionIndices.$indexSet(0, t5, index);
  64319. J.$indexSet$ax(t4[index], t5, new A.UserDefinedCallable(node, t2, t3, type$.UserDefinedCallable_AsyncEnvironment));
  64320. $async$returnValue = null;
  64321. // goto return
  64322. $async$goto = 1;
  64323. break;
  64324. case 1:
  64325. // return
  64326. return A._asyncReturn($async$returnValue, $async$completer);
  64327. }
  64328. });
  64329. return A._asyncStartSync($async$visitFunctionRule$1, $async$completer);
  64330. },
  64331. visitIfRule$1(node) {
  64332. return this.visitIfRule$body$_EvaluateVisitor(node);
  64333. },
  64334. visitIfRule$body$_EvaluateVisitor(node) {
  64335. var $async$goto = 0,
  64336. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  64337. $async$returnValue, $async$self = this, t1, t2, _i, clauseToCheck, clause;
  64338. var $async$visitIfRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  64339. if ($async$errorCode === 1)
  64340. return A._asyncRethrow($async$result, $async$completer);
  64341. while (true)
  64342. switch ($async$goto) {
  64343. case 0:
  64344. // Function start
  64345. clause = node.lastClause;
  64346. t1 = node.clauses, t2 = t1.length, _i = 0;
  64347. case 3:
  64348. // for condition
  64349. if (!(_i < t2)) {
  64350. // goto after for
  64351. $async$goto = 5;
  64352. break;
  64353. }
  64354. clauseToCheck = t1[_i];
  64355. $async$goto = 6;
  64356. return A._asyncAwait(clauseToCheck.expression.accept$1($async$self), $async$visitIfRule$1);
  64357. case 6:
  64358. // returning from await.
  64359. if ($async$result.get$isTruthy()) {
  64360. clause = clauseToCheck;
  64361. // goto after for
  64362. $async$goto = 5;
  64363. break;
  64364. }
  64365. case 4:
  64366. // for update
  64367. ++_i;
  64368. // goto for condition
  64369. $async$goto = 3;
  64370. break;
  64371. case 5:
  64372. // after for
  64373. t1 = A.NullableExtension_andThen(clause, new A._EvaluateVisitor_visitIfRule_closure0($async$self));
  64374. $async$goto = 7;
  64375. return A._asyncAwait(type$.Future_nullable_Value._is(t1) ? t1 : A._Future$value(t1, type$.nullable_Value), $async$visitIfRule$1);
  64376. case 7:
  64377. // returning from await.
  64378. $async$returnValue = $async$result;
  64379. // goto return
  64380. $async$goto = 1;
  64381. break;
  64382. case 1:
  64383. // return
  64384. return A._asyncReturn($async$returnValue, $async$completer);
  64385. }
  64386. });
  64387. return A._asyncStartSync($async$visitIfRule$1, $async$completer);
  64388. },
  64389. visitImportRule$1(node) {
  64390. return this.visitImportRule$body$_EvaluateVisitor(node);
  64391. },
  64392. visitImportRule$body$_EvaluateVisitor(node) {
  64393. var $async$goto = 0,
  64394. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  64395. $async$returnValue, $async$self = this, t1, t2, t3, _i, $import;
  64396. var $async$visitImportRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  64397. if ($async$errorCode === 1)
  64398. return A._asyncRethrow($async$result, $async$completer);
  64399. while (true)
  64400. switch ($async$goto) {
  64401. case 0:
  64402. // Function start
  64403. t1 = node.imports, t2 = t1.length, t3 = type$.StaticImport, _i = 0;
  64404. case 3:
  64405. // for condition
  64406. if (!(_i < t2)) {
  64407. // goto after for
  64408. $async$goto = 5;
  64409. break;
  64410. }
  64411. $import = t1[_i];
  64412. $async$goto = $import instanceof A.DynamicImport ? 6 : 8;
  64413. break;
  64414. case 6:
  64415. // then
  64416. $async$goto = 9;
  64417. return A._asyncAwait($async$self._async_evaluate$_visitDynamicImport$1($import), $async$visitImportRule$1);
  64418. case 9:
  64419. // returning from await.
  64420. // goto join
  64421. $async$goto = 7;
  64422. break;
  64423. case 8:
  64424. // else
  64425. $async$goto = 10;
  64426. return A._asyncAwait($async$self._visitStaticImport$1(t3._as($import)), $async$visitImportRule$1);
  64427. case 10:
  64428. // returning from await.
  64429. case 7:
  64430. // join
  64431. case 4:
  64432. // for update
  64433. ++_i;
  64434. // goto for condition
  64435. $async$goto = 3;
  64436. break;
  64437. case 5:
  64438. // after for
  64439. $async$returnValue = null;
  64440. // goto return
  64441. $async$goto = 1;
  64442. break;
  64443. case 1:
  64444. // return
  64445. return A._asyncReturn($async$returnValue, $async$completer);
  64446. }
  64447. });
  64448. return A._asyncStartSync($async$visitImportRule$1, $async$completer);
  64449. },
  64450. _async_evaluate$_visitDynamicImport$1($import) {
  64451. return this._async_evaluate$_withStackFrame$1$3("@import", $import, new A._EvaluateVisitor__visitDynamicImport_closure0(this, $import), type$.void);
  64452. },
  64453. _async_evaluate$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, forImport) {
  64454. return this._loadStylesheet$body$_EvaluateVisitor(url, span, baseUrl, forImport);
  64455. },
  64456. _async_evaluate$_loadStylesheet$3$baseUrl(url, span, baseUrl) {
  64457. return this._async_evaluate$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, false);
  64458. },
  64459. _async_evaluate$_loadStylesheet$3$forImport(url, span, forImport) {
  64460. return this._async_evaluate$_loadStylesheet$4$baseUrl$forImport(url, span, null, forImport);
  64461. },
  64462. _loadStylesheet$body$_EvaluateVisitor(url, span, baseUrl, forImport) {
  64463. var $async$goto = 0,
  64464. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_3_Stylesheet_and_nullable_AsyncImporter_importer_and_bool_isDependency),
  64465. $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, _0_0, importCache, _1_0, importer, canonicalUrl, originalUrl, isDependency, _2_0, stylesheet, error, stackTrace, error0, stackTrace0, message, t1, t2, t3, t4, exception, message0, $async$exception;
  64466. var $async$_async_evaluate$_loadStylesheet$4$baseUrl$forImport = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  64467. if ($async$errorCode === 1) {
  64468. $async$currentError = $async$result;
  64469. $async$goto = $async$handler;
  64470. }
  64471. while (true)
  64472. switch ($async$goto) {
  64473. case 0:
  64474. // Function start
  64475. baseUrl = baseUrl;
  64476. $async$handler = 4;
  64477. $async$self._async_evaluate$_importSpan = span;
  64478. _0_0 = $async$self._async_evaluate$_importCache;
  64479. importCache = null;
  64480. $async$goto = _0_0 != null ? 7 : 8;
  64481. break;
  64482. case 7:
  64483. // then
  64484. importCache = _0_0;
  64485. if (baseUrl == null) {
  64486. t1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__stylesheet, "_stylesheet").span;
  64487. baseUrl = t1.get$sourceUrl(t1);
  64488. }
  64489. $async$goto = 9;
  64490. 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);
  64491. case 9:
  64492. // returning from await.
  64493. _1_0 = $async$result;
  64494. importer = null;
  64495. canonicalUrl = null;
  64496. originalUrl = null;
  64497. $async$goto = type$.Record_3_nullable_Object_and_nullable_Object_and_nullable_Object_originalUrl._is(_1_0) ? 10 : 11;
  64498. break;
  64499. case 10:
  64500. // then
  64501. importer = _1_0._0;
  64502. canonicalUrl = _1_0._1;
  64503. originalUrl = _1_0._2;
  64504. $async$self._async_evaluate$_loadedUrls.add$1(0, canonicalUrl);
  64505. isDependency = $async$self._async_evaluate$_inDependency || !J.$eq$(importer, $async$self._async_evaluate$_importer);
  64506. t1 = importCache;
  64507. t2 = importer;
  64508. t3 = canonicalUrl;
  64509. t4 = originalUrl;
  64510. $async$goto = 12;
  64511. return A._asyncAwait(t1.importCanonical$4$originalUrl$quiet(t2, t3, t4, $async$self._async_evaluate$_quietDeps && isDependency), $async$_async_evaluate$_loadStylesheet$4$baseUrl$forImport);
  64512. case 12:
  64513. // returning from await.
  64514. _2_0 = $async$result;
  64515. stylesheet = null;
  64516. if (_2_0 != null) {
  64517. stylesheet = _2_0;
  64518. t1 = stylesheet;
  64519. t2 = importer;
  64520. $async$returnValue = new A._Record_3_importer_isDependency(t1, t2, isDependency);
  64521. $async$next = [1];
  64522. // goto finally
  64523. $async$goto = 5;
  64524. break;
  64525. }
  64526. case 11:
  64527. // join
  64528. case 8:
  64529. // join
  64530. t1 = B.JSString_methods.startsWith$1(url, "package:");
  64531. if (t1)
  64532. throw A.wrapException(string$.x22packa);
  64533. else
  64534. throw A.wrapException("Can't find stylesheet to import.");
  64535. $async$next.push(6);
  64536. // goto finally
  64537. $async$goto = 5;
  64538. break;
  64539. case 4:
  64540. // catch
  64541. $async$handler = 3;
  64542. $async$exception = $async$currentError;
  64543. t1 = A.unwrapException($async$exception);
  64544. if (t1 instanceof A.SassException)
  64545. throw $async$exception;
  64546. else if (t1 instanceof A.ArgumentError) {
  64547. error = t1;
  64548. stackTrace = A.getTraceFromException($async$exception);
  64549. A.throwWithTrace($async$self._async_evaluate$_exception$1(J.toString$0$(error)), error, stackTrace);
  64550. } else {
  64551. error0 = t1;
  64552. stackTrace0 = A.getTraceFromException($async$exception);
  64553. message = null;
  64554. try {
  64555. message = A._asString(J.get$message$x(error0));
  64556. } catch (exception) {
  64557. message0 = J.toString$0$(error0);
  64558. message = message0;
  64559. }
  64560. A.throwWithTrace($async$self._async_evaluate$_exception$1(message), error0, stackTrace0);
  64561. }
  64562. $async$next.push(6);
  64563. // goto finally
  64564. $async$goto = 5;
  64565. break;
  64566. case 3:
  64567. // uncaught
  64568. $async$next = [2];
  64569. case 5:
  64570. // finally
  64571. $async$handler = 2;
  64572. $async$self._async_evaluate$_importSpan = null;
  64573. // goto the next finally handler
  64574. $async$goto = $async$next.pop();
  64575. break;
  64576. case 6:
  64577. // after finally
  64578. case 1:
  64579. // return
  64580. return A._asyncReturn($async$returnValue, $async$completer);
  64581. case 2:
  64582. // rethrow
  64583. return A._asyncRethrow($async$currentError, $async$completer);
  64584. }
  64585. });
  64586. return A._asyncStartSync($async$_async_evaluate$_loadStylesheet$4$baseUrl$forImport, $async$completer);
  64587. },
  64588. _visitStaticImport$1($import) {
  64589. return this._visitStaticImport$body$_EvaluateVisitor($import);
  64590. },
  64591. _visitStaticImport$body$_EvaluateVisitor($import) {
  64592. var $async$goto = 0,
  64593. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  64594. $async$self = this, t1, t2, node, $async$temp1, $async$temp2;
  64595. var $async$_visitStaticImport$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  64596. if ($async$errorCode === 1)
  64597. return A._asyncRethrow($async$result, $async$completer);
  64598. while (true)
  64599. switch ($async$goto) {
  64600. case 0:
  64601. // Function start
  64602. $async$goto = 2;
  64603. return A._asyncAwait($async$self._async_evaluate$_interpolationToValue$1($import.url), $async$_visitStaticImport$1);
  64604. case 2:
  64605. // returning from await.
  64606. t1 = $async$result;
  64607. t2 = A.NullableExtension_andThen($import.modifiers, $async$self.get$_async_evaluate$_interpolationToValue());
  64608. $async$temp1 = A;
  64609. $async$temp2 = t1;
  64610. $async$goto = 3;
  64611. return A._asyncAwait(type$.Future_nullable_CssValue_String._is(t2) ? t2 : A._Future$value(t2, type$.nullable_CssValue_String), $async$_visitStaticImport$1);
  64612. case 3:
  64613. // returning from await.
  64614. node = new $async$temp1.ModifiableCssImport($async$temp2, $async$result, $import.span);
  64615. 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"))
  64616. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(node);
  64617. 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)) {
  64618. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__root, "_root").addChild$1(node);
  64619. $async$self._async_evaluate$__endOfImports = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__endOfImports, "_endOfImports") + 1;
  64620. } else {
  64621. t1 = $async$self._async_evaluate$_outOfOrderImports;
  64622. (t1 == null ? $async$self._async_evaluate$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport) : t1).push(node);
  64623. }
  64624. // implicit return
  64625. return A._asyncReturn(null, $async$completer);
  64626. }
  64627. });
  64628. return A._asyncStartSync($async$_visitStaticImport$1, $async$completer);
  64629. },
  64630. _async_evaluate$_applyMixin$5(mixin, contentCallable, $arguments, nodeWithSpan, nodeWithSpanWithoutContent) {
  64631. return this._applyMixin$body$_EvaluateVisitor(mixin, contentCallable, $arguments, nodeWithSpan, nodeWithSpanWithoutContent);
  64632. },
  64633. _applyMixin$body$_EvaluateVisitor(mixin, contentCallable, $arguments, nodeWithSpan, nodeWithSpanWithoutContent) {
  64634. var $async$goto = 0,
  64635. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  64636. $async$self = this, t1, _0_0, _1_8, t2;
  64637. var $async$_async_evaluate$_applyMixin$5 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  64638. if ($async$errorCode === 1)
  64639. return A._asyncRethrow($async$result, $async$completer);
  64640. while (true)
  64641. switch ($async$goto) {
  64642. case 0:
  64643. // Function start
  64644. if (mixin == null)
  64645. throw A.wrapException($async$self._async_evaluate$_exception$2("Undefined mixin.", nodeWithSpan.get$span(nodeWithSpan)));
  64646. t1 = type$.AsyncBuiltInCallable._is(mixin);
  64647. $async$goto = t1 && !mixin.get$acceptsContent() && contentCallable != null ? 3 : 4;
  64648. break;
  64649. case 3:
  64650. // then
  64651. $async$goto = 5;
  64652. return A._asyncAwait($async$self._async_evaluate$_evaluateArguments$1($arguments), $async$_async_evaluate$_applyMixin$5);
  64653. case 5:
  64654. // returning from await.
  64655. t1 = $async$result._values;
  64656. _0_0 = mixin.callbackFor$2(J.get$length$asx(t1[2]), new A.MapKeySet(t1[0], type$.MapKeySet_String));
  64657. 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));
  64658. case 4:
  64659. // join
  64660. $async$goto = t1 ? 6 : 7;
  64661. break;
  64662. case 6:
  64663. // then
  64664. $async$goto = 8;
  64665. 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);
  64666. case 8:
  64667. // returning from await.
  64668. // goto break $label0$0
  64669. $async$goto = 2;
  64670. break;
  64671. case 7:
  64672. // join
  64673. t1 = type$.UserDefinedCallable_AsyncEnvironment._is(mixin);
  64674. if (t1) {
  64675. _1_8 = mixin.declaration;
  64676. if (_1_8 instanceof A.MixinRule)
  64677. t2 = !type$.MixinRule._as(_1_8).get$hasContent() && contentCallable != null;
  64678. else
  64679. t2 = false;
  64680. } else
  64681. t2 = false;
  64682. if (t2)
  64683. throw A.wrapException(A.MultiSpanSassRuntimeException$("Mixin doesn't accept a content block.", nodeWithSpanWithoutContent.get$span(nodeWithSpanWithoutContent), "invocation", A.LinkedHashMap_LinkedHashMap$_literal([mixin.declaration.$arguments.get$spanWithName(), "declaration"], type$.FileSpan, type$.String), $async$self._async_evaluate$_stackTrace$1(nodeWithSpanWithoutContent.get$span(nodeWithSpanWithoutContent)), null));
  64684. $async$goto = t1 ? 9 : 10;
  64685. break;
  64686. case 9:
  64687. // then
  64688. $async$goto = 11;
  64689. 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);
  64690. case 11:
  64691. // returning from await.
  64692. // goto break $label0$0
  64693. $async$goto = 2;
  64694. break;
  64695. case 10:
  64696. // join
  64697. throw A.wrapException(A.UnsupportedError$("Unknown callable type " + mixin.toString$0(0) + "."));
  64698. case 2:
  64699. // break $label0$0
  64700. // implicit return
  64701. return A._asyncReturn(null, $async$completer);
  64702. }
  64703. });
  64704. return A._asyncStartSync($async$_async_evaluate$_applyMixin$5, $async$completer);
  64705. },
  64706. visitIncludeRule$1(node) {
  64707. return this.visitIncludeRule$body$_EvaluateVisitor(node);
  64708. },
  64709. visitIncludeRule$body$_EvaluateVisitor(node) {
  64710. var $async$goto = 0,
  64711. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  64712. $async$returnValue, $async$self = this, mixin;
  64713. var $async$visitIncludeRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  64714. if ($async$errorCode === 1)
  64715. return A._asyncRethrow($async$result, $async$completer);
  64716. while (true)
  64717. switch ($async$goto) {
  64718. case 0:
  64719. // Function start
  64720. mixin = $async$self._async_evaluate$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitIncludeRule_closure2($async$self, node));
  64721. if (B.JSString_methods.startsWith$1(node.originalName, "--") && mixin instanceof A.UserDefinedCallable && !B.JSString_methods.startsWith$1(mixin.declaration.originalName, "--"))
  64722. $async$self._async_evaluate$_warn$3(string$.Sass__m, node.get$nameSpan(), B.Deprecation_HJ0);
  64723. $async$goto = 3;
  64724. 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);
  64725. case 3:
  64726. // returning from await.
  64727. $async$returnValue = null;
  64728. // goto return
  64729. $async$goto = 1;
  64730. break;
  64731. case 1:
  64732. // return
  64733. return A._asyncReturn($async$returnValue, $async$completer);
  64734. }
  64735. });
  64736. return A._asyncStartSync($async$visitIncludeRule$1, $async$completer);
  64737. },
  64738. visitMixinRule$1(node) {
  64739. return this.visitMixinRule$body$_EvaluateVisitor(node);
  64740. },
  64741. visitMixinRule$body$_EvaluateVisitor(node) {
  64742. var $async$goto = 0,
  64743. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  64744. $async$returnValue, $async$self = this, t1, t2, t3, t4, index, t5;
  64745. var $async$visitMixinRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  64746. if ($async$errorCode === 1)
  64747. return A._asyncRethrow($async$result, $async$completer);
  64748. while (true)
  64749. switch ($async$goto) {
  64750. case 0:
  64751. // Function start
  64752. t1 = $async$self._async_evaluate$_environment;
  64753. t2 = t1.closure$0();
  64754. t3 = $async$self._async_evaluate$_inDependency;
  64755. t4 = t1._async_environment$_mixins;
  64756. index = t4.length - 1;
  64757. t5 = node.name;
  64758. t1._async_environment$_mixinIndices.$indexSet(0, t5, index);
  64759. J.$indexSet$ax(t4[index], t5, new A.UserDefinedCallable(node, t2, t3, type$.UserDefinedCallable_AsyncEnvironment));
  64760. $async$returnValue = null;
  64761. // goto return
  64762. $async$goto = 1;
  64763. break;
  64764. case 1:
  64765. // return
  64766. return A._asyncReturn($async$returnValue, $async$completer);
  64767. }
  64768. });
  64769. return A._asyncStartSync($async$visitMixinRule$1, $async$completer);
  64770. },
  64771. visitLoudComment$1(node) {
  64772. return this.visitLoudComment$body$_EvaluateVisitor(node);
  64773. },
  64774. visitLoudComment$body$_EvaluateVisitor(node) {
  64775. var $async$goto = 0,
  64776. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  64777. $async$returnValue, $async$self = this, t1, $async$temp1, $async$temp2;
  64778. var $async$visitLoudComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  64779. if ($async$errorCode === 1)
  64780. return A._asyncRethrow($async$result, $async$completer);
  64781. while (true)
  64782. switch ($async$goto) {
  64783. case 0:
  64784. // Function start
  64785. if ($async$self._async_evaluate$_inFunction) {
  64786. $async$returnValue = null;
  64787. // goto return
  64788. $async$goto = 1;
  64789. break;
  64790. }
  64791. 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))
  64792. $async$self._async_evaluate$__endOfImports = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__endOfImports, "_endOfImports") + 1;
  64793. t1 = node.text;
  64794. $async$temp1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent");
  64795. $async$temp2 = A;
  64796. $async$goto = 3;
  64797. return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(t1), $async$visitLoudComment$1);
  64798. case 3:
  64799. // returning from await.
  64800. $async$temp1.addChild$1(new $async$temp2.ModifiableCssComment($async$result, t1.span));
  64801. $async$returnValue = null;
  64802. // goto return
  64803. $async$goto = 1;
  64804. break;
  64805. case 1:
  64806. // return
  64807. return A._asyncReturn($async$returnValue, $async$completer);
  64808. }
  64809. });
  64810. return A._asyncStartSync($async$visitLoudComment$1, $async$completer);
  64811. },
  64812. visitMediaRule$1(node) {
  64813. return this.visitMediaRule$body$_EvaluateVisitor(node);
  64814. },
  64815. visitMediaRule$body$_EvaluateVisitor(node) {
  64816. var $async$goto = 0,
  64817. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  64818. $async$returnValue, $async$self = this, queries, mergedQueries, t1, mergedSources, t2, t3;
  64819. var $async$visitMediaRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  64820. if ($async$errorCode === 1)
  64821. return A._asyncRethrow($async$result, $async$completer);
  64822. while (true)
  64823. switch ($async$goto) {
  64824. case 0:
  64825. // Function start
  64826. if ($async$self._async_evaluate$_declarationName != null)
  64827. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Media_, node.span));
  64828. $async$goto = 3;
  64829. return A._asyncAwait($async$self._visitMediaQueries$1(node.query), $async$visitMediaRule$1);
  64830. case 3:
  64831. // returning from await.
  64832. queries = $async$result;
  64833. mergedQueries = A.NullableExtension_andThen($async$self._async_evaluate$_mediaQueries, new A._EvaluateVisitor_visitMediaRule_closure2($async$self, queries));
  64834. t1 = mergedQueries == null;
  64835. if (!t1 && J.get$isEmpty$asx(mergedQueries)) {
  64836. $async$returnValue = null;
  64837. // goto return
  64838. $async$goto = 1;
  64839. break;
  64840. }
  64841. if (t1)
  64842. mergedSources = B.Set_empty1;
  64843. else {
  64844. t2 = $async$self._async_evaluate$_mediaQuerySources;
  64845. t2.toString;
  64846. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery);
  64847. t3 = $async$self._async_evaluate$_mediaQueries;
  64848. t3.toString;
  64849. t2.addAll$1(0, t3);
  64850. t2.addAll$1(0, queries);
  64851. mergedSources = t2;
  64852. }
  64853. t1 = t1 ? queries : mergedQueries;
  64854. $async$goto = 4;
  64855. 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);
  64856. case 4:
  64857. // returning from await.
  64858. $async$returnValue = null;
  64859. // goto return
  64860. $async$goto = 1;
  64861. break;
  64862. case 1:
  64863. // return
  64864. return A._asyncReturn($async$returnValue, $async$completer);
  64865. }
  64866. });
  64867. return A._asyncStartSync($async$visitMediaRule$1, $async$completer);
  64868. },
  64869. _visitMediaQueries$1(interpolation) {
  64870. return this._visitMediaQueries$body$_EvaluateVisitor(interpolation);
  64871. },
  64872. _visitMediaQueries$body$_EvaluateVisitor(interpolation) {
  64873. var $async$goto = 0,
  64874. $async$completer = A._makeAsyncAwaitCompleter(type$.List_CssMediaQuery),
  64875. $async$returnValue, $async$self = this, _0_0;
  64876. var $async$_visitMediaQueries$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  64877. if ($async$errorCode === 1)
  64878. return A._asyncRethrow($async$result, $async$completer);
  64879. while (true)
  64880. switch ($async$goto) {
  64881. case 0:
  64882. // Function start
  64883. $async$goto = 3;
  64884. return A._asyncAwait($async$self._async_evaluate$_performInterpolationWithMap$2$warnForColor(interpolation, true), $async$_visitMediaQueries$1);
  64885. case 3:
  64886. // returning from await.
  64887. _0_0 = $async$result;
  64888. $async$returnValue = A.CssMediaQuery_parseList(_0_0._0, _0_0._1, $async$self._async_evaluate$_logger);
  64889. // goto return
  64890. $async$goto = 1;
  64891. break;
  64892. case 1:
  64893. // return
  64894. return A._asyncReturn($async$returnValue, $async$completer);
  64895. }
  64896. });
  64897. return A._asyncStartSync($async$_visitMediaQueries$1, $async$completer);
  64898. },
  64899. _async_evaluate$_mergeMediaQueries$2(queries1, queries2) {
  64900. var t1, t2, t3, t4, _0_0, t5, result,
  64901. queries = A._setArrayType([], type$.JSArray_CssMediaQuery);
  64902. for (t1 = J.get$iterator$ax(queries1), t2 = J.getInterceptor$ax(queries2); t1.moveNext$0();) {
  64903. t3 = t1.get$current(t1);
  64904. for (t4 = t2.get$iterator(queries2); t4.moveNext$0();)
  64905. $label0$1: {
  64906. _0_0 = t3.merge$1(t4.get$current(t4));
  64907. if (B._SingletonCssMediaQueryMergeResult_0 === _0_0)
  64908. continue;
  64909. if (B._SingletonCssMediaQueryMergeResult_1 === _0_0)
  64910. return null;
  64911. t5 = _0_0 instanceof A.MediaQuerySuccessfulMergeResult;
  64912. result = t5 ? _0_0 : null;
  64913. if (t5)
  64914. queries.push(result.query);
  64915. break $label0$1;
  64916. }
  64917. }
  64918. return queries;
  64919. },
  64920. visitReturnRule$1(node) {
  64921. return this.visitReturnRule$body$_EvaluateVisitor(node);
  64922. },
  64923. visitReturnRule$body$_EvaluateVisitor(node) {
  64924. var $async$goto = 0,
  64925. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  64926. $async$returnValue, $async$self = this, t1, t2;
  64927. var $async$visitReturnRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  64928. if ($async$errorCode === 1)
  64929. return A._asyncRethrow($async$result, $async$completer);
  64930. while (true)
  64931. switch ($async$goto) {
  64932. case 0:
  64933. // Function start
  64934. t1 = node.expression;
  64935. t2 = t1.accept$1($async$self);
  64936. $async$goto = 3;
  64937. return A._asyncAwait(type$.Future_Value._is(t2) ? t2 : A._Future$value(t2, type$.Value), $async$visitReturnRule$1);
  64938. case 3:
  64939. // returning from await.
  64940. $async$returnValue = $async$self._async_evaluate$_withoutSlash$2($async$result, t1);
  64941. // goto return
  64942. $async$goto = 1;
  64943. break;
  64944. case 1:
  64945. // return
  64946. return A._asyncReturn($async$returnValue, $async$completer);
  64947. }
  64948. });
  64949. return A._asyncStartSync($async$visitReturnRule$1, $async$completer);
  64950. },
  64951. visitSilentComment$1(node) {
  64952. return this.visitSilentComment$body$_EvaluateVisitor(node);
  64953. },
  64954. visitSilentComment$body$_EvaluateVisitor(node) {
  64955. var $async$goto = 0,
  64956. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  64957. $async$returnValue;
  64958. var $async$visitSilentComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  64959. if ($async$errorCode === 1)
  64960. return A._asyncRethrow($async$result, $async$completer);
  64961. while (true)
  64962. switch ($async$goto) {
  64963. case 0:
  64964. // Function start
  64965. $async$returnValue = null;
  64966. // goto return
  64967. $async$goto = 1;
  64968. break;
  64969. case 1:
  64970. // return
  64971. return A._asyncReturn($async$returnValue, $async$completer);
  64972. }
  64973. });
  64974. return A._asyncStartSync($async$visitSilentComment$1, $async$completer);
  64975. },
  64976. visitStyleRule$1(node) {
  64977. return this.visitStyleRule$body$_EvaluateVisitor(node);
  64978. },
  64979. visitStyleRule$body$_EvaluateVisitor(node) {
  64980. var $async$goto = 0,
  64981. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  64982. $async$returnValue, $async$self = this, t1, _0_0, selectorText, selectorMap, parsedSelector, nest, t2, _i, _1_0, first, t3, rule, oldAtRootExcludingStyleRule, t4, t5, complex, visitor, t6, t7, t8, t9;
  64983. var $async$visitStyleRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  64984. if ($async$errorCode === 1)
  64985. return A._asyncRethrow($async$result, $async$completer);
  64986. while (true)
  64987. switch ($async$goto) {
  64988. case 0:
  64989. // Function start
  64990. if ($async$self._async_evaluate$_declarationName != null)
  64991. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Style_n, node.span));
  64992. else if ($async$self._async_evaluate$_inKeyframes && $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent") instanceof A.ModifiableCssKeyframeBlock)
  64993. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Style_k, node.span));
  64994. t1 = node.selector;
  64995. $async$goto = 3;
  64996. return A._asyncAwait($async$self._async_evaluate$_performInterpolationWithMap$2$warnForColor(t1, true), $async$visitStyleRule$1);
  64997. case 3:
  64998. // returning from await.
  64999. _0_0 = $async$result;
  65000. selectorText = _0_0._0;
  65001. selectorMap = _0_0._1;
  65002. $async$goto = $async$self._async_evaluate$_inKeyframes ? 4 : 5;
  65003. break;
  65004. case 4:
  65005. // then
  65006. $async$goto = 6;
  65007. return A._asyncAwait($async$self._async_evaluate$_withParent$2$4$scopeWhen$through(A.ModifiableCssKeyframeBlock$(new A.CssValue(A.List_List$unmodifiable(A.KeyframeSelectorParser$(selectorText, selectorMap, $async$self._async_evaluate$_logger).parse$0(), type$.String), t1.span, type$.CssValue_List_String), node.span), new A._EvaluateVisitor_visitStyleRule_closure4($async$self, node), node.hasDeclarations, new A._EvaluateVisitor_visitStyleRule_closure5(), type$.ModifiableCssKeyframeBlock, type$.Null), $async$visitStyleRule$1);
  65008. case 6:
  65009. // returning from await.
  65010. $async$returnValue = null;
  65011. // goto return
  65012. $async$goto = 1;
  65013. break;
  65014. case 5:
  65015. // join
  65016. parsedSelector = A.SelectorList_SelectorList$parse(selectorText, true, selectorMap, $async$self._async_evaluate$_logger, $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__stylesheet, "_stylesheet").plainCss);
  65017. t1 = $async$self._async_evaluate$_atRootExcludingStyleRule ? null : $async$self._async_evaluate$_styleRuleIgnoringAtRoot;
  65018. t1 = t1 == null ? null : t1.fromPlainCss;
  65019. nest = t1 !== true;
  65020. if (nest) {
  65021. if ($async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__stylesheet, "_stylesheet").plainCss)
  65022. for (t1 = parsedSelector.components, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  65023. _1_0 = t1[_i].leadingCombinators;
  65024. if (_1_0.length >= 1) {
  65025. first = _1_0[0];
  65026. t3 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__stylesheet, "_stylesheet");
  65027. t3 = t3.plainCss;
  65028. } else {
  65029. first = null;
  65030. t3 = false;
  65031. }
  65032. if (t3)
  65033. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Top_lel, first.span));
  65034. }
  65035. t1 = $async$self._async_evaluate$_styleRuleIgnoringAtRoot;
  65036. t1 = t1 == null ? null : t1.originalSelector;
  65037. parsedSelector = parsedSelector.nestWithin$3$implicitParent$preserveParentSelectors(t1, !$async$self._async_evaluate$_atRootExcludingStyleRule, $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__stylesheet, "_stylesheet").plainCss);
  65038. }
  65039. 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);
  65040. oldAtRootExcludingStyleRule = $async$self._async_evaluate$_atRootExcludingStyleRule;
  65041. $async$self._async_evaluate$_atRootExcludingStyleRule = false;
  65042. t1 = nest ? new A._EvaluateVisitor_visitStyleRule_closure6() : null;
  65043. $async$goto = 7;
  65044. return A._asyncAwait($async$self._async_evaluate$_withParent$2$4$scopeWhen$through(rule, new A._EvaluateVisitor_visitStyleRule_closure7($async$self, rule, node), node.hasDeclarations, t1, type$.ModifiableCssStyleRule, type$.Null), $async$visitStyleRule$1);
  65045. case 7:
  65046. // returning from await.
  65047. $async$self._async_evaluate$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  65048. if (!rule.accept$1(B._IsInvisibleVisitor_false_false))
  65049. for (t1 = parsedSelector.components, t2 = t1.length, t3 = type$.SourceSpan, t4 = type$.String, t5 = rule.children, _i = 0; _i < t2; ++_i) {
  65050. complex = t1[_i];
  65051. if (!complex.accept$1(B._IsBogusVisitor_true))
  65052. continue;
  65053. if (complex.accept$1(B.C__IsUselessVisitor)) {
  65054. visitor = A._SerializeVisitor$(null, true, null, true, false, null, true);
  65055. complex.accept$1(visitor);
  65056. $async$self._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_ido);
  65057. } else if (complex.leadingCombinators.length !== 0) {
  65058. if (!$async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__stylesheet, "_stylesheet").plainCss) {
  65059. visitor = A._SerializeVisitor$(null, true, null, true, false, null, true);
  65060. complex.accept$1(visitor);
  65061. $async$self._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_ido);
  65062. }
  65063. } else {
  65064. visitor = A._SerializeVisitor$(null, true, null, true, false, null, true);
  65065. complex.accept$1(visitor);
  65066. t6 = B.JSString_methods.trim$0(visitor._serialize$_buffer.toString$0(0));
  65067. t7 = complex.accept$1(B._IsBogusVisitor_false) ? string$.x20It_wi : "";
  65068. t8 = A.SpanExtensions_trimRight(complex.span);
  65069. if (t5.get$length(0) === 0)
  65070. A.throwExpression(A.IterableElementError_noElement());
  65071. t9 = J.get$span$z(t5.$index(0, 0));
  65072. $async$self._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_visitStyleRule_closure8()) ? "\n(try converting to a //-style comment)" : "")], t3, t4), t3, t4)), B.Deprecation_ido);
  65073. }
  65074. }
  65075. if (($async$self._async_evaluate$_atRootExcludingStyleRule ? null : $async$self._async_evaluate$_styleRuleIgnoringAtRoot) == null) {
  65076. t1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").children;
  65077. t1 = !t1.get$isEmpty(t1);
  65078. } else
  65079. t1 = false;
  65080. if (t1) {
  65081. t1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").children;
  65082. t1.get$last(t1).isGroupEnd = true;
  65083. }
  65084. $async$returnValue = null;
  65085. // goto return
  65086. $async$goto = 1;
  65087. break;
  65088. case 1:
  65089. // return
  65090. return A._asyncReturn($async$returnValue, $async$completer);
  65091. }
  65092. });
  65093. return A._asyncStartSync($async$visitStyleRule$1, $async$completer);
  65094. },
  65095. visitSupportsRule$1(node) {
  65096. return this.visitSupportsRule$body$_EvaluateVisitor(node);
  65097. },
  65098. visitSupportsRule$body$_EvaluateVisitor(node) {
  65099. var $async$goto = 0,
  65100. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  65101. $async$returnValue, $async$self = this, t1, $async$temp1, $async$temp2;
  65102. var $async$visitSupportsRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  65103. if ($async$errorCode === 1)
  65104. return A._asyncRethrow($async$result, $async$completer);
  65105. while (true)
  65106. switch ($async$goto) {
  65107. case 0:
  65108. // Function start
  65109. if ($async$self._async_evaluate$_declarationName != null)
  65110. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Suppor, node.span));
  65111. t1 = node.condition;
  65112. $async$temp1 = A;
  65113. $async$temp2 = A;
  65114. $async$goto = 4;
  65115. return A._asyncAwait($async$self._async_evaluate$_visitSupportsCondition$1(t1), $async$visitSupportsRule$1);
  65116. case 4:
  65117. // returning from await.
  65118. $async$goto = 3;
  65119. 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);
  65120. case 3:
  65121. // returning from await.
  65122. $async$returnValue = null;
  65123. // goto return
  65124. $async$goto = 1;
  65125. break;
  65126. case 1:
  65127. // return
  65128. return A._asyncReturn($async$returnValue, $async$completer);
  65129. }
  65130. });
  65131. return A._asyncStartSync($async$visitSupportsRule$1, $async$completer);
  65132. },
  65133. _async_evaluate$_visitSupportsCondition$1(condition) {
  65134. return this._visitSupportsCondition$body$_EvaluateVisitor(condition);
  65135. },
  65136. _visitSupportsCondition$body$_EvaluateVisitor(condition) {
  65137. var $async$goto = 0,
  65138. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  65139. $async$returnValue, $async$self = this, t1, _box_0, $async$temp1, $async$temp2;
  65140. var $async$_async_evaluate$_visitSupportsCondition$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  65141. if ($async$errorCode === 1)
  65142. return A._asyncRethrow($async$result, $async$completer);
  65143. while (true)
  65144. switch ($async$goto) {
  65145. case 0:
  65146. // Function start
  65147. _box_0 = {};
  65148. $async$goto = condition instanceof A.SupportsOperation ? 4 : 5;
  65149. break;
  65150. case 4:
  65151. // then
  65152. t1 = condition.operator;
  65153. $async$temp1 = A;
  65154. $async$goto = 6;
  65155. return A._asyncAwait($async$self._async_evaluate$_parenthesize$2(condition.left, t1), $async$_async_evaluate$_visitSupportsCondition$1);
  65156. case 6:
  65157. // returning from await.
  65158. $async$temp1 = $async$temp1.S($async$result) + " " + t1 + " ";
  65159. $async$temp2 = A;
  65160. $async$goto = 7;
  65161. return A._asyncAwait($async$self._async_evaluate$_parenthesize$2(condition.right, t1), $async$_async_evaluate$_visitSupportsCondition$1);
  65162. case 7:
  65163. // returning from await.
  65164. t1 = $async$temp1 + $async$temp2.S($async$result);
  65165. // goto break $label0$0
  65166. $async$goto = 3;
  65167. break;
  65168. case 5:
  65169. // join
  65170. $async$goto = condition instanceof A.SupportsNegation ? 8 : 9;
  65171. break;
  65172. case 8:
  65173. // then
  65174. $async$temp1 = A;
  65175. $async$goto = 10;
  65176. return A._asyncAwait($async$self._async_evaluate$_parenthesize$1(condition.condition), $async$_async_evaluate$_visitSupportsCondition$1);
  65177. case 10:
  65178. // returning from await.
  65179. t1 = "not " + $async$temp1.S($async$result);
  65180. // goto break $label0$0
  65181. $async$goto = 3;
  65182. break;
  65183. case 9:
  65184. // join
  65185. $async$goto = condition instanceof A.SupportsInterpolation ? 11 : 12;
  65186. break;
  65187. case 11:
  65188. // then
  65189. $async$goto = 13;
  65190. return A._asyncAwait($async$self._evaluateToCss$2$quote(condition.expression, false), $async$_async_evaluate$_visitSupportsCondition$1);
  65191. case 13:
  65192. // returning from await.
  65193. t1 = $async$result;
  65194. // goto break $label0$0
  65195. $async$goto = 3;
  65196. break;
  65197. case 12:
  65198. // join
  65199. _box_0.declaration = null;
  65200. $async$goto = condition instanceof A.SupportsDeclaration ? 14 : 15;
  65201. break;
  65202. case 14:
  65203. // then
  65204. _box_0.declaration = condition;
  65205. $async$goto = 16;
  65206. return A._asyncAwait($async$self._async_evaluate$_withSupportsDeclaration$1$1(new A._EvaluateVisitor__visitSupportsCondition_closure0(_box_0, $async$self), type$.String), $async$_async_evaluate$_visitSupportsCondition$1);
  65207. case 16:
  65208. // returning from await.
  65209. t1 = $async$result;
  65210. // goto break $label0$0
  65211. $async$goto = 3;
  65212. break;
  65213. case 15:
  65214. // join
  65215. $async$goto = condition instanceof A.SupportsFunction ? 17 : 18;
  65216. break;
  65217. case 17:
  65218. // then
  65219. $async$temp1 = A;
  65220. $async$goto = 19;
  65221. return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(condition.name), $async$_async_evaluate$_visitSupportsCondition$1);
  65222. case 19:
  65223. // returning from await.
  65224. $async$temp1 = $async$temp1.S($async$result) + "(";
  65225. $async$temp2 = A;
  65226. $async$goto = 20;
  65227. return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(condition.$arguments), $async$_async_evaluate$_visitSupportsCondition$1);
  65228. case 20:
  65229. // returning from await.
  65230. t1 = $async$temp1 + $async$temp2.S($async$result) + ")";
  65231. // goto break $label0$0
  65232. $async$goto = 3;
  65233. break;
  65234. case 18:
  65235. // join
  65236. $async$goto = condition instanceof A.SupportsAnything ? 21 : 22;
  65237. break;
  65238. case 21:
  65239. // then
  65240. $async$temp1 = A;
  65241. $async$goto = 23;
  65242. return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(condition.contents), $async$_async_evaluate$_visitSupportsCondition$1);
  65243. case 23:
  65244. // returning from await.
  65245. t1 = "(" + $async$temp1.S($async$result) + ")";
  65246. // goto break $label0$0
  65247. $async$goto = 3;
  65248. break;
  65249. case 22:
  65250. // join
  65251. t1 = A.throwExpression(A.ArgumentError$("Unknown supports condition type " + A.getRuntimeTypeOfDartObject(condition).toString$0(0) + ".", null));
  65252. case 3:
  65253. // break $label0$0
  65254. $async$returnValue = t1;
  65255. // goto return
  65256. $async$goto = 1;
  65257. break;
  65258. case 1:
  65259. // return
  65260. return A._asyncReturn($async$returnValue, $async$completer);
  65261. }
  65262. });
  65263. return A._asyncStartSync($async$_async_evaluate$_visitSupportsCondition$1, $async$completer);
  65264. },
  65265. _async_evaluate$_withSupportsDeclaration$1$1(callback, $T) {
  65266. return this._withSupportsDeclaration$body$_EvaluateVisitor(callback, $T, $T);
  65267. },
  65268. _withSupportsDeclaration$body$_EvaluateVisitor(callback, $T, $async$type) {
  65269. var $async$goto = 0,
  65270. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  65271. $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, t1, oldInSupportsDeclaration;
  65272. var $async$_async_evaluate$_withSupportsDeclaration$1$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  65273. if ($async$errorCode === 1) {
  65274. $async$currentError = $async$result;
  65275. $async$goto = $async$handler;
  65276. }
  65277. while (true)
  65278. switch ($async$goto) {
  65279. case 0:
  65280. // Function start
  65281. oldInSupportsDeclaration = $async$self._async_evaluate$_inSupportsDeclaration;
  65282. $async$self._async_evaluate$_inSupportsDeclaration = true;
  65283. $async$handler = 3;
  65284. t1 = callback.call$0();
  65285. $async$goto = 6;
  65286. return A._asyncAwait($T._eval$1("Future<0>")._is(t1) ? t1 : A._Future$value(t1, $T), $async$_async_evaluate$_withSupportsDeclaration$1$1);
  65287. case 6:
  65288. // returning from await.
  65289. t1 = $async$result;
  65290. $async$returnValue = t1;
  65291. $async$next = [1];
  65292. // goto finally
  65293. $async$goto = 4;
  65294. break;
  65295. $async$next.push(5);
  65296. // goto finally
  65297. $async$goto = 4;
  65298. break;
  65299. case 3:
  65300. // uncaught
  65301. $async$next = [2];
  65302. case 4:
  65303. // finally
  65304. $async$handler = 2;
  65305. $async$self._async_evaluate$_inSupportsDeclaration = oldInSupportsDeclaration;
  65306. // goto the next finally handler
  65307. $async$goto = $async$next.pop();
  65308. break;
  65309. case 5:
  65310. // after finally
  65311. case 1:
  65312. // return
  65313. return A._asyncReturn($async$returnValue, $async$completer);
  65314. case 2:
  65315. // rethrow
  65316. return A._asyncRethrow($async$currentError, $async$completer);
  65317. }
  65318. });
  65319. return A._asyncStartSync($async$_async_evaluate$_withSupportsDeclaration$1$1, $async$completer);
  65320. },
  65321. _async_evaluate$_parenthesize$2(condition, operator) {
  65322. return this._parenthesize$body$_EvaluateVisitor(condition, operator);
  65323. },
  65324. _async_evaluate$_parenthesize$1(condition) {
  65325. return this._async_evaluate$_parenthesize$2(condition, null);
  65326. },
  65327. _parenthesize$body$_EvaluateVisitor(condition, operator) {
  65328. var $async$goto = 0,
  65329. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  65330. $async$returnValue, $async$self = this, t1, $async$temp1;
  65331. var $async$_async_evaluate$_parenthesize$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  65332. if ($async$errorCode === 1)
  65333. return A._asyncRethrow($async$result, $async$completer);
  65334. while (true)
  65335. switch ($async$goto) {
  65336. case 0:
  65337. // Function start
  65338. if (!(condition instanceof A.SupportsNegation))
  65339. if (condition instanceof A.SupportsOperation)
  65340. t1 = operator == null || operator !== condition.operator;
  65341. else
  65342. t1 = false;
  65343. else
  65344. t1 = true;
  65345. $async$goto = t1 ? 3 : 4;
  65346. break;
  65347. case 3:
  65348. // then
  65349. $async$temp1 = A;
  65350. $async$goto = 5;
  65351. return A._asyncAwait($async$self._async_evaluate$_visitSupportsCondition$1(condition), $async$_async_evaluate$_parenthesize$2);
  65352. case 5:
  65353. // returning from await.
  65354. $async$returnValue = "(" + $async$temp1.S($async$result) + ")";
  65355. // goto return
  65356. $async$goto = 1;
  65357. break;
  65358. case 4:
  65359. // join
  65360. $async$goto = 6;
  65361. return A._asyncAwait($async$self._async_evaluate$_visitSupportsCondition$1(condition), $async$_async_evaluate$_parenthesize$2);
  65362. case 6:
  65363. // returning from await.
  65364. $async$returnValue = $async$result;
  65365. // goto return
  65366. $async$goto = 1;
  65367. break;
  65368. case 1:
  65369. // return
  65370. return A._asyncReturn($async$returnValue, $async$completer);
  65371. }
  65372. });
  65373. return A._asyncStartSync($async$_async_evaluate$_parenthesize$2, $async$completer);
  65374. },
  65375. visitVariableDeclaration$1(node) {
  65376. return this.visitVariableDeclaration$body$_EvaluateVisitor(node);
  65377. },
  65378. visitVariableDeclaration$body$_EvaluateVisitor(node) {
  65379. var $async$goto = 0,
  65380. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  65381. $async$returnValue, $async$self = this, t2, value, t1, $async$temp1, $async$temp2, $async$temp3;
  65382. var $async$visitVariableDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  65383. if ($async$errorCode === 1)
  65384. return A._asyncRethrow($async$result, $async$completer);
  65385. while (true)
  65386. switch ($async$goto) {
  65387. case 0:
  65388. // Function start
  65389. t1 = {};
  65390. if (node.isGuarded) {
  65391. if (node.namespace == null && $async$self._async_evaluate$_environment._async_environment$_variables.length === 1) {
  65392. t2 = $async$self._async_evaluate$_configuration._configuration$_values;
  65393. t2 = t2.get$isEmpty(t2) ? null : t2.remove$1(0, node.name);
  65394. t1.override = null;
  65395. if (t2 != null) {
  65396. t1.override = t2;
  65397. t2 = !t2.value.$eq(0, B.C__SassNull);
  65398. } else
  65399. t2 = false;
  65400. if (t2) {
  65401. $async$self._async_evaluate$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure2(t1, $async$self, node));
  65402. $async$returnValue = null;
  65403. // goto return
  65404. $async$goto = 1;
  65405. break;
  65406. }
  65407. }
  65408. value = $async$self._async_evaluate$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure3($async$self, node));
  65409. if (value != null && !value.$eq(0, B.C__SassNull)) {
  65410. $async$returnValue = null;
  65411. // goto return
  65412. $async$goto = 1;
  65413. break;
  65414. }
  65415. }
  65416. if (node.isGlobal && !$async$self._async_evaluate$_environment.globalVariableExists$1(node.name)) {
  65417. 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.";
  65418. $async$self._async_evaluate$_warn$3(t1, node.span, B.Deprecation_2nU);
  65419. }
  65420. t1 = node.expression;
  65421. t2 = t1.accept$1($async$self);
  65422. $async$temp1 = node;
  65423. $async$temp2 = A;
  65424. $async$temp3 = node;
  65425. $async$goto = 3;
  65426. return A._asyncAwait(type$.Future_Value._is(t2) ? t2 : A._Future$value(t2, type$.Value), $async$visitVariableDeclaration$1);
  65427. case 3:
  65428. // returning from await.
  65429. $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)));
  65430. $async$returnValue = null;
  65431. // goto return
  65432. $async$goto = 1;
  65433. break;
  65434. case 1:
  65435. // return
  65436. return A._asyncReturn($async$returnValue, $async$completer);
  65437. }
  65438. });
  65439. return A._asyncStartSync($async$visitVariableDeclaration$1, $async$completer);
  65440. },
  65441. visitUseRule$1(node) {
  65442. return this.visitUseRule$body$_EvaluateVisitor(node);
  65443. },
  65444. visitUseRule$body$_EvaluateVisitor(node) {
  65445. var $async$goto = 0,
  65446. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  65447. $async$returnValue, $async$self = this, values, t3, t4, _i, variable, t5, variableNodeWithSpan, t6, t7, configuration, t1, t2, $async$temp1, $async$temp2, $async$temp3;
  65448. var $async$visitUseRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  65449. if ($async$errorCode === 1)
  65450. return A._asyncRethrow($async$result, $async$completer);
  65451. while (true)
  65452. switch ($async$goto) {
  65453. case 0:
  65454. // Function start
  65455. t1 = node.configuration;
  65456. t2 = t1.length;
  65457. $async$goto = t2 !== 0 ? 3 : 5;
  65458. break;
  65459. case 3:
  65460. // then
  65461. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue);
  65462. t3 = type$._Future_Value, t4 = type$.Future_Value, _i = 0;
  65463. case 6:
  65464. // for condition
  65465. if (!(_i < t2)) {
  65466. // goto after for
  65467. $async$goto = 8;
  65468. break;
  65469. }
  65470. variable = t1[_i];
  65471. t5 = variable.expression;
  65472. variableNodeWithSpan = $async$self._async_evaluate$_expressionNode$1(t5);
  65473. t6 = variable.name;
  65474. t5 = t5.accept$1($async$self);
  65475. if (!t4._is(t5)) {
  65476. t7 = new A._Future($.Zone__current, t3);
  65477. t7._state = 8;
  65478. t7._resultOrListeners = t5;
  65479. t5 = t7;
  65480. }
  65481. $async$temp1 = values;
  65482. $async$temp2 = t6;
  65483. $async$temp3 = A;
  65484. $async$goto = 9;
  65485. return A._asyncAwait(t5, $async$visitUseRule$1);
  65486. case 9:
  65487. // returning from await.
  65488. $async$temp1.$indexSet(0, $async$temp2, new $async$temp3.ConfiguredValue($async$self._async_evaluate$_withoutSlash$2($async$result, variableNodeWithSpan), variable.span, variableNodeWithSpan));
  65489. case 7:
  65490. // for update
  65491. ++_i;
  65492. // goto for condition
  65493. $async$goto = 6;
  65494. break;
  65495. case 8:
  65496. // after for
  65497. configuration = new A.ExplicitConfiguration(node, values, null);
  65498. // goto join
  65499. $async$goto = 4;
  65500. break;
  65501. case 5:
  65502. // else
  65503. configuration = B.Configuration_Map_empty_null;
  65504. case 4:
  65505. // join
  65506. $async$goto = 10;
  65507. 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);
  65508. case 10:
  65509. // returning from await.
  65510. $async$self._async_evaluate$_assertConfigurationIsEmpty$1(configuration);
  65511. $async$returnValue = null;
  65512. // goto return
  65513. $async$goto = 1;
  65514. break;
  65515. case 1:
  65516. // return
  65517. return A._asyncReturn($async$returnValue, $async$completer);
  65518. }
  65519. });
  65520. return A._asyncStartSync($async$visitUseRule$1, $async$completer);
  65521. },
  65522. visitWarnRule$1(node) {
  65523. return this.visitWarnRule$body$_EvaluateVisitor(node);
  65524. },
  65525. visitWarnRule$body$_EvaluateVisitor(node) {
  65526. var $async$goto = 0,
  65527. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  65528. $async$returnValue, $async$self = this, value, t1;
  65529. var $async$visitWarnRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  65530. if ($async$errorCode === 1)
  65531. return A._asyncRethrow($async$result, $async$completer);
  65532. while (true)
  65533. switch ($async$goto) {
  65534. case 0:
  65535. // Function start
  65536. $async$goto = 3;
  65537. return A._asyncAwait($async$self._addExceptionSpanAsync$1$2(node, new A._EvaluateVisitor_visitWarnRule_closure0($async$self, node), type$.Value), $async$visitWarnRule$1);
  65538. case 3:
  65539. // returning from await.
  65540. value = $async$result;
  65541. t1 = value instanceof A.SassString ? value._string$_text : $async$self._async_evaluate$_serialize$2(value, node.expression);
  65542. $async$self._async_evaluate$_logger.warn$2$trace(0, t1, $async$self._async_evaluate$_stackTrace$1(node.span));
  65543. $async$returnValue = null;
  65544. // goto return
  65545. $async$goto = 1;
  65546. break;
  65547. case 1:
  65548. // return
  65549. return A._asyncReturn($async$returnValue, $async$completer);
  65550. }
  65551. });
  65552. return A._asyncStartSync($async$visitWarnRule$1, $async$completer);
  65553. },
  65554. visitWhileRule$1(node) {
  65555. return this._async_evaluate$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitWhileRule_closure0(this, node), true, node.hasDeclarations, type$.nullable_Value);
  65556. },
  65557. visitBinaryOperationExpression$1(node) {
  65558. var t1, _this = this;
  65559. if (_this._async_evaluate$_assertInModule$2(_this._async_evaluate$__stylesheet, "_stylesheet").plainCss) {
  65560. t1 = node.operator;
  65561. t1 = t1 !== B.BinaryOperator_wdM && t1 !== B.BinaryOperator_U77;
  65562. } else
  65563. t1 = false;
  65564. if (t1)
  65565. throw A.wrapException(_this._async_evaluate$_exception$2("Operators aren't allowed in plain CSS.", node.get$operatorSpan()));
  65566. return _this._addExceptionSpanAsync$1$2(node, new A._EvaluateVisitor_visitBinaryOperationExpression_closure0(_this, node), type$.Value);
  65567. },
  65568. _async_evaluate$_slash$3(left, right, node) {
  65569. var t1, right0, _1_2, _1_1, _null = null,
  65570. result = left.dividedBy$1(right),
  65571. _1_2_isSet = left instanceof A.SassNumber;
  65572. if (_1_2_isSet) {
  65573. t1 = type$.SassNumber;
  65574. t1._as(left);
  65575. if (right instanceof A.SassNumber) {
  65576. t1._as(right);
  65577. t1 = node.allowsSlash && this._async_evaluate$_operandAllowsSlash$1(node.left) && this._async_evaluate$_operandAllowsSlash$1(node.right);
  65578. right0 = right;
  65579. _1_2 = right0;
  65580. } else {
  65581. right0 = _null;
  65582. _1_2 = right;
  65583. t1 = false;
  65584. }
  65585. _1_1 = left;
  65586. } else {
  65587. right0 = _null;
  65588. _1_2 = right0;
  65589. _1_1 = left;
  65590. left = _1_2;
  65591. t1 = false;
  65592. }
  65593. if (t1)
  65594. return type$.SassNumber._as(result).withSlash$2(left, right0);
  65595. if (_1_1 instanceof A.SassNumber)
  65596. t1 = (_1_2_isSet ? _1_2 : right) instanceof A.SassNumber;
  65597. else
  65598. t1 = false;
  65599. if (t1) {
  65600. 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_oJv);
  65601. return result;
  65602. }
  65603. return result;
  65604. },
  65605. _async_evaluate$_operandAllowsSlash$1(node) {
  65606. var t1;
  65607. if (node instanceof A.FunctionExpression)
  65608. if (node.namespace == null) {
  65609. t1 = node.name;
  65610. t1 = B.Set_yHF81.contains$1(0, t1.toLowerCase()) && this._async_evaluate$_environment.getFunction$1(t1) == null;
  65611. } else
  65612. t1 = false;
  65613. else
  65614. t1 = true;
  65615. return t1;
  65616. },
  65617. visitValueExpression$1(node) {
  65618. return this.visitValueExpression$body$_EvaluateVisitor(node);
  65619. },
  65620. visitValueExpression$body$_EvaluateVisitor(node) {
  65621. var $async$goto = 0,
  65622. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  65623. $async$returnValue;
  65624. var $async$visitValueExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  65625. if ($async$errorCode === 1)
  65626. return A._asyncRethrow($async$result, $async$completer);
  65627. while (true)
  65628. switch ($async$goto) {
  65629. case 0:
  65630. // Function start
  65631. $async$returnValue = node.value;
  65632. // goto return
  65633. $async$goto = 1;
  65634. break;
  65635. case 1:
  65636. // return
  65637. return A._asyncReturn($async$returnValue, $async$completer);
  65638. }
  65639. });
  65640. return A._asyncStartSync($async$visitValueExpression$1, $async$completer);
  65641. },
  65642. visitVariableExpression$1(node) {
  65643. return this.visitVariableExpression$body$_EvaluateVisitor(node);
  65644. },
  65645. visitVariableExpression$body$_EvaluateVisitor(node) {
  65646. var $async$goto = 0,
  65647. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  65648. $async$returnValue, $async$self = this, result;
  65649. var $async$visitVariableExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  65650. if ($async$errorCode === 1)
  65651. return A._asyncRethrow($async$result, $async$completer);
  65652. while (true)
  65653. switch ($async$goto) {
  65654. case 0:
  65655. // Function start
  65656. result = $async$self._async_evaluate$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableExpression_closure0($async$self, node));
  65657. if (result != null) {
  65658. $async$returnValue = result;
  65659. // goto return
  65660. $async$goto = 1;
  65661. break;
  65662. }
  65663. throw A.wrapException($async$self._async_evaluate$_exception$2("Undefined variable.", node.span));
  65664. case 1:
  65665. // return
  65666. return A._asyncReturn($async$returnValue, $async$completer);
  65667. }
  65668. });
  65669. return A._asyncStartSync($async$visitVariableExpression$1, $async$completer);
  65670. },
  65671. visitUnaryOperationExpression$1(node) {
  65672. return this.visitUnaryOperationExpression$body$_EvaluateVisitor(node);
  65673. },
  65674. visitUnaryOperationExpression$body$_EvaluateVisitor(node) {
  65675. var $async$goto = 0,
  65676. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  65677. $async$returnValue, $async$self = this, $async$temp1, $async$temp2, $async$temp3;
  65678. var $async$visitUnaryOperationExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  65679. if ($async$errorCode === 1)
  65680. return A._asyncRethrow($async$result, $async$completer);
  65681. while (true)
  65682. switch ($async$goto) {
  65683. case 0:
  65684. // Function start
  65685. $async$temp1 = node;
  65686. $async$temp2 = A;
  65687. $async$temp3 = node;
  65688. $async$goto = 3;
  65689. return A._asyncAwait(node.operand.accept$1($async$self), $async$visitUnaryOperationExpression$1);
  65690. case 3:
  65691. // returning from await.
  65692. $async$returnValue = $async$self._async_evaluate$_addExceptionSpan$2($async$temp1, new $async$temp2._EvaluateVisitor_visitUnaryOperationExpression_closure0($async$temp3, $async$result));
  65693. // goto return
  65694. $async$goto = 1;
  65695. break;
  65696. case 1:
  65697. // return
  65698. return A._asyncReturn($async$returnValue, $async$completer);
  65699. }
  65700. });
  65701. return A._asyncStartSync($async$visitUnaryOperationExpression$1, $async$completer);
  65702. },
  65703. visitBooleanExpression$1(node) {
  65704. return this.visitBooleanExpression$body$_EvaluateVisitor(node);
  65705. },
  65706. visitBooleanExpression$body$_EvaluateVisitor(node) {
  65707. var $async$goto = 0,
  65708. $async$completer = A._makeAsyncAwaitCompleter(type$.SassBoolean),
  65709. $async$returnValue;
  65710. var $async$visitBooleanExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  65711. if ($async$errorCode === 1)
  65712. return A._asyncRethrow($async$result, $async$completer);
  65713. while (true)
  65714. switch ($async$goto) {
  65715. case 0:
  65716. // Function start
  65717. $async$returnValue = node.value ? B.SassBoolean_true : B.SassBoolean_false;
  65718. // goto return
  65719. $async$goto = 1;
  65720. break;
  65721. case 1:
  65722. // return
  65723. return A._asyncReturn($async$returnValue, $async$completer);
  65724. }
  65725. });
  65726. return A._asyncStartSync($async$visitBooleanExpression$1, $async$completer);
  65727. },
  65728. visitIfExpression$1(node) {
  65729. return this.visitIfExpression$body$_EvaluateVisitor(node);
  65730. },
  65731. visitIfExpression$body$_EvaluateVisitor(node) {
  65732. var $async$goto = 0,
  65733. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  65734. $async$returnValue, $async$self = this, condition, t1, ifTrue, ifFalse, result, _0_0, positional, named;
  65735. var $async$visitIfExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  65736. if ($async$errorCode === 1)
  65737. return A._asyncRethrow($async$result, $async$completer);
  65738. while (true)
  65739. switch ($async$goto) {
  65740. case 0:
  65741. // Function start
  65742. $async$goto = 3;
  65743. return A._asyncAwait($async$self._async_evaluate$_evaluateMacroArguments$1(node), $async$visitIfExpression$1);
  65744. case 3:
  65745. // returning from await.
  65746. _0_0 = $async$result;
  65747. positional = _0_0._0;
  65748. named = _0_0._1;
  65749. $async$self._async_evaluate$_verifyArguments$4(J.get$length$asx(positional), named, $.$get$IfExpression_declaration(), node);
  65750. condition = A.ListExtensions_elementAtOrNull(positional, 0);
  65751. if (condition == null) {
  65752. t1 = named.$index(0, "condition");
  65753. t1.toString;
  65754. condition = t1;
  65755. }
  65756. ifTrue = A.ListExtensions_elementAtOrNull(positional, 1);
  65757. if (ifTrue == null) {
  65758. t1 = named.$index(0, "if-true");
  65759. t1.toString;
  65760. ifTrue = t1;
  65761. }
  65762. ifFalse = A.ListExtensions_elementAtOrNull(positional, 2);
  65763. if (ifFalse == null) {
  65764. t1 = named.$index(0, "if-false");
  65765. t1.toString;
  65766. ifFalse = t1;
  65767. }
  65768. $async$goto = 4;
  65769. return A._asyncAwait(condition.accept$1($async$self), $async$visitIfExpression$1);
  65770. case 4:
  65771. // returning from await.
  65772. result = $async$result.get$isTruthy() ? ifTrue : ifFalse;
  65773. t1 = result.accept$1($async$self);
  65774. $async$goto = 5;
  65775. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$visitIfExpression$1);
  65776. case 5:
  65777. // returning from await.
  65778. $async$returnValue = $async$self._async_evaluate$_withoutSlash$2($async$result, $async$self._async_evaluate$_expressionNode$1(result));
  65779. // goto return
  65780. $async$goto = 1;
  65781. break;
  65782. case 1:
  65783. // return
  65784. return A._asyncReturn($async$returnValue, $async$completer);
  65785. }
  65786. });
  65787. return A._asyncStartSync($async$visitIfExpression$1, $async$completer);
  65788. },
  65789. visitNullExpression$1(node) {
  65790. return this.visitNullExpression$body$_EvaluateVisitor(node);
  65791. },
  65792. visitNullExpression$body$_EvaluateVisitor(node) {
  65793. var $async$goto = 0,
  65794. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  65795. $async$returnValue;
  65796. var $async$visitNullExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  65797. if ($async$errorCode === 1)
  65798. return A._asyncRethrow($async$result, $async$completer);
  65799. while (true)
  65800. switch ($async$goto) {
  65801. case 0:
  65802. // Function start
  65803. $async$returnValue = B.C__SassNull;
  65804. // goto return
  65805. $async$goto = 1;
  65806. break;
  65807. case 1:
  65808. // return
  65809. return A._asyncReturn($async$returnValue, $async$completer);
  65810. }
  65811. });
  65812. return A._asyncStartSync($async$visitNullExpression$1, $async$completer);
  65813. },
  65814. visitNumberExpression$1(node) {
  65815. return this.visitNumberExpression$body$_EvaluateVisitor(node);
  65816. },
  65817. visitNumberExpression$body$_EvaluateVisitor(node) {
  65818. var $async$goto = 0,
  65819. $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber),
  65820. $async$returnValue;
  65821. var $async$visitNumberExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  65822. if ($async$errorCode === 1)
  65823. return A._asyncRethrow($async$result, $async$completer);
  65824. while (true)
  65825. switch ($async$goto) {
  65826. case 0:
  65827. // Function start
  65828. $async$returnValue = A.SassNumber_SassNumber(node.value, node.unit);
  65829. // goto return
  65830. $async$goto = 1;
  65831. break;
  65832. case 1:
  65833. // return
  65834. return A._asyncReturn($async$returnValue, $async$completer);
  65835. }
  65836. });
  65837. return A._asyncStartSync($async$visitNumberExpression$1, $async$completer);
  65838. },
  65839. visitParenthesizedExpression$1(node) {
  65840. var _this = this;
  65841. 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);
  65842. },
  65843. visitColorExpression$1(node) {
  65844. return this.visitColorExpression$body$_EvaluateVisitor(node);
  65845. },
  65846. visitColorExpression$body$_EvaluateVisitor(node) {
  65847. var $async$goto = 0,
  65848. $async$completer = A._makeAsyncAwaitCompleter(type$.SassColor),
  65849. $async$returnValue;
  65850. var $async$visitColorExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  65851. if ($async$errorCode === 1)
  65852. return A._asyncRethrow($async$result, $async$completer);
  65853. while (true)
  65854. switch ($async$goto) {
  65855. case 0:
  65856. // Function start
  65857. $async$returnValue = node.value;
  65858. // goto return
  65859. $async$goto = 1;
  65860. break;
  65861. case 1:
  65862. // return
  65863. return A._asyncReturn($async$returnValue, $async$completer);
  65864. }
  65865. });
  65866. return A._asyncStartSync($async$visitColorExpression$1, $async$completer);
  65867. },
  65868. visitListExpression$1(node) {
  65869. return this.visitListExpression$body$_EvaluateVisitor(node);
  65870. },
  65871. visitListExpression$body$_EvaluateVisitor(node) {
  65872. var $async$goto = 0,
  65873. $async$completer = A._makeAsyncAwaitCompleter(type$.SassList),
  65874. $async$returnValue, $async$self = this, $async$temp1;
  65875. var $async$visitListExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  65876. if ($async$errorCode === 1)
  65877. return A._asyncRethrow($async$result, $async$completer);
  65878. while (true)
  65879. switch ($async$goto) {
  65880. case 0:
  65881. // Function start
  65882. $async$temp1 = A;
  65883. $async$goto = 3;
  65884. return A._asyncAwait(A.mapAsync(node.contents, new A._EvaluateVisitor_visitListExpression_closure0($async$self), type$.Expression, type$.Value), $async$visitListExpression$1);
  65885. case 3:
  65886. // returning from await.
  65887. $async$returnValue = $async$temp1.SassList$($async$result, node.separator, node.hasBrackets);
  65888. // goto return
  65889. $async$goto = 1;
  65890. break;
  65891. case 1:
  65892. // return
  65893. return A._asyncReturn($async$returnValue, $async$completer);
  65894. }
  65895. });
  65896. return A._asyncStartSync($async$visitListExpression$1, $async$completer);
  65897. },
  65898. visitMapExpression$1(node) {
  65899. return this.visitMapExpression$body$_EvaluateVisitor(node);
  65900. },
  65901. visitMapExpression$body$_EvaluateVisitor(node) {
  65902. var $async$goto = 0,
  65903. $async$completer = A._makeAsyncAwaitCompleter(type$.SassMap),
  65904. $async$returnValue, $async$self = this, t2, t3, _i, t4, key, value, keyValue, valueValue, oldValueSpan, t1, map, keyNodes;
  65905. var $async$visitMapExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  65906. if ($async$errorCode === 1)
  65907. return A._asyncRethrow($async$result, $async$completer);
  65908. while (true)
  65909. switch ($async$goto) {
  65910. case 0:
  65911. // Function start
  65912. t1 = type$.Value;
  65913. map = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  65914. keyNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.AstNode);
  65915. t2 = node.pairs, t3 = t2.length, _i = 0;
  65916. case 3:
  65917. // for condition
  65918. if (!(_i < t3)) {
  65919. // goto after for
  65920. $async$goto = 5;
  65921. break;
  65922. }
  65923. t4 = t2[_i];
  65924. key = t4._0;
  65925. value = t4._1;
  65926. $async$goto = 6;
  65927. return A._asyncAwait(key.accept$1($async$self), $async$visitMapExpression$1);
  65928. case 6:
  65929. // returning from await.
  65930. keyValue = $async$result;
  65931. $async$goto = 7;
  65932. return A._asyncAwait(value.accept$1($async$self), $async$visitMapExpression$1);
  65933. case 7:
  65934. // returning from await.
  65935. valueValue = $async$result;
  65936. if (map.containsKey$1(keyValue)) {
  65937. t1 = keyNodes.$index(0, keyValue);
  65938. oldValueSpan = t1 == null ? null : t1.get$span(t1);
  65939. t1 = key.get$span(key);
  65940. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  65941. if (oldValueSpan != null)
  65942. t2.$indexSet(0, oldValueSpan, "first key");
  65943. throw A.wrapException(A.MultiSpanSassRuntimeException$("Duplicate key.", t1, "second key", t2, $async$self._async_evaluate$_stackTrace$1(key.get$span(key)), null));
  65944. }
  65945. map.$indexSet(0, keyValue, valueValue);
  65946. keyNodes.$indexSet(0, keyValue, key);
  65947. case 4:
  65948. // for update
  65949. ++_i;
  65950. // goto for condition
  65951. $async$goto = 3;
  65952. break;
  65953. case 5:
  65954. // after for
  65955. $async$returnValue = new A.SassMap(A.ConstantMap_ConstantMap$from(map, t1, t1));
  65956. // goto return
  65957. $async$goto = 1;
  65958. break;
  65959. case 1:
  65960. // return
  65961. return A._asyncReturn($async$returnValue, $async$completer);
  65962. }
  65963. });
  65964. return A._asyncStartSync($async$visitMapExpression$1, $async$completer);
  65965. },
  65966. visitFunctionExpression$1(node) {
  65967. return this.visitFunctionExpression$body$_EvaluateVisitor(node);
  65968. },
  65969. visitFunctionExpression$body$_EvaluateVisitor(node) {
  65970. var $async$goto = 0,
  65971. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  65972. $async$returnValue, $async$self = this, t2, _0_0, t3, t4, oldInFunction, result, t1, $function;
  65973. var $async$visitFunctionExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  65974. if ($async$errorCode === 1)
  65975. return A._asyncRethrow($async$result, $async$completer);
  65976. while (true)
  65977. switch ($async$goto) {
  65978. case 0:
  65979. // Function start
  65980. t1 = {};
  65981. $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));
  65982. t1.$function = $function;
  65983. $async$goto = $function == null ? 3 : 5;
  65984. break;
  65985. case 3:
  65986. // then
  65987. if (node.namespace != null)
  65988. throw A.wrapException($async$self._async_evaluate$_exception$2("Undefined function.", node.span));
  65989. t2 = node.name;
  65990. _0_0 = t2.toLowerCase();
  65991. if ("min" === _0_0 || "max" === _0_0 || "round" === _0_0 || "abs" === _0_0) {
  65992. t3 = node.$arguments;
  65993. t4 = t3.named;
  65994. t3 = t4.get$isEmpty(t4) && t3.rest == null && B.JSArray_methods.every$1(t3.positional, new A._EvaluateVisitor_visitFunctionExpression_closure3());
  65995. } else
  65996. t3 = false;
  65997. $async$goto = t3 ? 6 : 7;
  65998. break;
  65999. case 6:
  66000. // then
  66001. $async$goto = 8;
  66002. return A._asyncAwait($async$self._async_evaluate$_visitCalculation$2$inLegacySassFunction(node, true), $async$visitFunctionExpression$1);
  66003. case 8:
  66004. // returning from await.
  66005. $async$returnValue = $async$result;
  66006. // goto return
  66007. $async$goto = 1;
  66008. break;
  66009. case 7:
  66010. // join
  66011. $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 ? 9 : 10;
  66012. break;
  66013. case 9:
  66014. // then
  66015. $async$goto = 11;
  66016. return A._asyncAwait($async$self._async_evaluate$_visitCalculation$1(node), $async$visitFunctionExpression$1);
  66017. case 11:
  66018. // returning from await.
  66019. $async$returnValue = $async$result;
  66020. // goto return
  66021. $async$goto = 1;
  66022. break;
  66023. case 10:
  66024. // join
  66025. $function = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__stylesheet, "_stylesheet").plainCss ? null : $async$self._async_evaluate$_builtInFunctions.$index(0, t2);
  66026. t2 = t1.$function = $function == null ? new A.PlainCssCallable(node.originalName) : $function;
  66027. // goto join
  66028. $async$goto = 4;
  66029. break;
  66030. case 5:
  66031. // else
  66032. t2 = $function;
  66033. case 4:
  66034. // join
  66035. if (B.JSString_methods.startsWith$1(node.originalName, "--") && t2 instanceof A.UserDefinedCallable && !B.JSString_methods.startsWith$1(t2.declaration.originalName, "--"))
  66036. $async$self._async_evaluate$_warn$3(string$.Sass__ff, node.get$nameSpan(), B.Deprecation_HJ0);
  66037. oldInFunction = $async$self._async_evaluate$_inFunction;
  66038. $async$self._async_evaluate$_inFunction = true;
  66039. $async$goto = 12;
  66040. 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);
  66041. case 12:
  66042. // returning from await.
  66043. result = $async$result;
  66044. $async$self._async_evaluate$_inFunction = oldInFunction;
  66045. $async$returnValue = result;
  66046. // goto return
  66047. $async$goto = 1;
  66048. break;
  66049. case 1:
  66050. // return
  66051. return A._asyncReturn($async$returnValue, $async$completer);
  66052. }
  66053. });
  66054. return A._asyncStartSync($async$visitFunctionExpression$1, $async$completer);
  66055. },
  66056. _async_evaluate$_visitCalculation$2$inLegacySassFunction(node, inLegacySassFunction) {
  66057. return this._visitCalculation$body$_EvaluateVisitor(node, inLegacySassFunction);
  66058. },
  66059. _async_evaluate$_visitCalculation$1(node) {
  66060. return this._async_evaluate$_visitCalculation$2$inLegacySassFunction(node, false);
  66061. },
  66062. _visitCalculation$body$_EvaluateVisitor(node, inLegacySassFunction) {
  66063. var $async$goto = 0,
  66064. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  66065. $async$returnValue, $async$next = [], $async$self = this, $arguments, oldCallableNode, t1, _0_0, error, stackTrace, t4, _i, exception, t2, t3, $async$temp1;
  66066. var $async$_async_evaluate$_visitCalculation$2$inLegacySassFunction = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  66067. if ($async$errorCode === 1)
  66068. return A._asyncRethrow($async$result, $async$completer);
  66069. while (true)
  66070. switch ($async$goto) {
  66071. case 0:
  66072. // Function start
  66073. t2 = node.$arguments;
  66074. t3 = t2.named;
  66075. if (t3.get$isNotEmpty(t3))
  66076. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Keywor, node.span));
  66077. else if (t2.rest != null)
  66078. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Rest_a, node.span));
  66079. $async$self._async_evaluate$_checkCalculationArguments$1(node);
  66080. t3 = A._setArrayType([], type$.JSArray_Object);
  66081. t2 = t2.positional, t4 = t2.length, _i = 0;
  66082. case 3:
  66083. // for condition
  66084. if (!(_i < t4)) {
  66085. // goto after for
  66086. $async$goto = 5;
  66087. break;
  66088. }
  66089. $async$temp1 = t3;
  66090. $async$goto = 6;
  66091. return A._asyncAwait($async$self._async_evaluate$_visitCalculationExpression$2$inLegacySassFunction(t2[_i], inLegacySassFunction), $async$_async_evaluate$_visitCalculation$2$inLegacySassFunction);
  66092. case 6:
  66093. // returning from await.
  66094. $async$temp1.push($async$result);
  66095. case 4:
  66096. // for update
  66097. ++_i;
  66098. // goto for condition
  66099. $async$goto = 3;
  66100. break;
  66101. case 5:
  66102. // after for
  66103. $arguments = t3;
  66104. if ($async$self._async_evaluate$_inSupportsDeclaration) {
  66105. $async$returnValue = new A.SassCalculation(node.name, A.List_List$unmodifiable($arguments, type$.Object));
  66106. // goto return
  66107. $async$goto = 1;
  66108. break;
  66109. }
  66110. oldCallableNode = $async$self._async_evaluate$_callableNode;
  66111. $async$self._async_evaluate$_callableNode = node;
  66112. try {
  66113. t1 = null;
  66114. t3 = node.name;
  66115. _0_0 = t3.toLowerCase();
  66116. $label0$0: {
  66117. if ("calc" === _0_0) {
  66118. t1 = A.SassCalculation_calc(J.$index$asx($arguments, 0));
  66119. break $label0$0;
  66120. }
  66121. if ("sqrt" === _0_0) {
  66122. t1 = A.SassCalculation__singleArgument("sqrt", J.$index$asx($arguments, 0), A.number0__sqrt$closure(), true);
  66123. break $label0$0;
  66124. }
  66125. if ("sin" === _0_0) {
  66126. t1 = A.SassCalculation__singleArgument("sin", J.$index$asx($arguments, 0), A.number0__sin$closure(), false);
  66127. break $label0$0;
  66128. }
  66129. if ("cos" === _0_0) {
  66130. t1 = A.SassCalculation__singleArgument("cos", J.$index$asx($arguments, 0), A.number0__cos$closure(), false);
  66131. break $label0$0;
  66132. }
  66133. if ("tan" === _0_0) {
  66134. t1 = A.SassCalculation__singleArgument("tan", J.$index$asx($arguments, 0), A.number0__tan$closure(), false);
  66135. break $label0$0;
  66136. }
  66137. if ("asin" === _0_0) {
  66138. t1 = A.SassCalculation__singleArgument("asin", J.$index$asx($arguments, 0), A.number0__asin$closure(), true);
  66139. break $label0$0;
  66140. }
  66141. if ("acos" === _0_0) {
  66142. t1 = A.SassCalculation__singleArgument("acos", J.$index$asx($arguments, 0), A.number0__acos$closure(), true);
  66143. break $label0$0;
  66144. }
  66145. if ("atan" === _0_0) {
  66146. t1 = A.SassCalculation__singleArgument("atan", J.$index$asx($arguments, 0), A.number0__atan$closure(), true);
  66147. break $label0$0;
  66148. }
  66149. if ("abs" === _0_0) {
  66150. t1 = A.SassCalculation_abs(J.$index$asx($arguments, 0));
  66151. break $label0$0;
  66152. }
  66153. if ("exp" === _0_0) {
  66154. t1 = A.SassCalculation_exp(J.$index$asx($arguments, 0));
  66155. break $label0$0;
  66156. }
  66157. if ("sign" === _0_0) {
  66158. t1 = A.SassCalculation_sign(J.$index$asx($arguments, 0));
  66159. break $label0$0;
  66160. }
  66161. if ("min" === _0_0) {
  66162. t1 = A.SassCalculation_min($arguments);
  66163. break $label0$0;
  66164. }
  66165. if ("max" === _0_0) {
  66166. t1 = A.SassCalculation_max($arguments);
  66167. break $label0$0;
  66168. }
  66169. if ("hypot" === _0_0) {
  66170. t1 = A.SassCalculation_hypot($arguments);
  66171. break $label0$0;
  66172. }
  66173. if ("pow" === _0_0) {
  66174. t1 = A.SassCalculation_pow(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  66175. break $label0$0;
  66176. }
  66177. if ("atan2" === _0_0) {
  66178. t1 = A.SassCalculation_atan2(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  66179. break $label0$0;
  66180. }
  66181. if ("log" === _0_0) {
  66182. t1 = A.SassCalculation_log(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  66183. break $label0$0;
  66184. }
  66185. if ("mod" === _0_0) {
  66186. t1 = A.SassCalculation_mod(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  66187. break $label0$0;
  66188. }
  66189. if ("rem" === _0_0) {
  66190. t1 = A.SassCalculation_rem(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  66191. break $label0$0;
  66192. }
  66193. if ("round" === _0_0) {
  66194. t1 = A.SassCalculation_round(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1), A.ListExtensions_elementAtOrNull($arguments, 2));
  66195. break $label0$0;
  66196. }
  66197. if ("clamp" === _0_0) {
  66198. t1 = A.SassCalculation_clamp(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1), A.ListExtensions_elementAtOrNull($arguments, 2));
  66199. break $label0$0;
  66200. }
  66201. t3 = A.UnsupportedError$('Unknown calculation name "' + t3 + '".');
  66202. t1 = A.throwExpression(t3);
  66203. }
  66204. t1 = t1;
  66205. $async$returnValue = t1;
  66206. // goto return
  66207. $async$goto = 1;
  66208. break;
  66209. } catch (exception) {
  66210. t1 = A.unwrapException(exception);
  66211. if (t1 instanceof A.SassScriptException) {
  66212. error = t1;
  66213. stackTrace = A.getTraceFromException(exception);
  66214. if (B.JSString_methods.contains$1(error.message, "compatible"))
  66215. $async$self._async_evaluate$_verifyCompatibleNumbers$2($arguments, t2);
  66216. A.throwWithTrace($async$self._async_evaluate$_exception$2(error.message, node.span), error, stackTrace);
  66217. } else
  66218. throw exception;
  66219. } finally {
  66220. $async$self._async_evaluate$_callableNode = oldCallableNode;
  66221. }
  66222. case 1:
  66223. // return
  66224. return A._asyncReturn($async$returnValue, $async$completer);
  66225. }
  66226. });
  66227. return A._asyncStartSync($async$_async_evaluate$_visitCalculation$2$inLegacySassFunction, $async$completer);
  66228. },
  66229. _async_evaluate$_checkCalculationArguments$1(node) {
  66230. var t1, _0_0,
  66231. check = new A._EvaluateVisitor__checkCalculationArguments_check0(this, node);
  66232. $label0$0: {
  66233. t1 = node.name;
  66234. _0_0 = t1.toLowerCase();
  66235. 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) {
  66236. check.call$1(1);
  66237. break $label0$0;
  66238. }
  66239. if ("min" === _0_0 || "max" === _0_0 || "hypot" === _0_0) {
  66240. check.call$0();
  66241. break $label0$0;
  66242. }
  66243. if ("pow" === _0_0 || "atan2" === _0_0 || "log" === _0_0 || "mod" === _0_0 || "rem" === _0_0) {
  66244. check.call$1(2);
  66245. break $label0$0;
  66246. }
  66247. if ("round" === _0_0 || "clamp" === _0_0) {
  66248. check.call$1(3);
  66249. break $label0$0;
  66250. }
  66251. throw A.wrapException(A.UnsupportedError$('Unknown calculation name "' + t1 + '".'));
  66252. }
  66253. },
  66254. _async_evaluate$_verifyCompatibleNumbers$2(args, nodesWithSpans) {
  66255. var i, t1, _0_0, arg, number1, j, number2;
  66256. for (i = 0; t1 = args.length, i < t1; ++i) {
  66257. _0_0 = args[i];
  66258. if (_0_0 instanceof A.SassNumber) {
  66259. t1 = _0_0.get$hasComplexUnits();
  66260. arg = _0_0;
  66261. } else {
  66262. arg = null;
  66263. t1 = false;
  66264. }
  66265. if (t1)
  66266. throw A.wrapException(this._async_evaluate$_exception$2("Number " + A.S(arg) + " isn't compatible with CSS calculations.", J.get$span$z(nodesWithSpans[i])));
  66267. }
  66268. for (i = 0; i < t1 - 1; ++i) {
  66269. number1 = args[i];
  66270. if (!(number1 instanceof A.SassNumber))
  66271. continue;
  66272. for (j = i + 1; t1 = args.length, j < t1; ++j) {
  66273. number2 = args[j];
  66274. if (!(number2 instanceof A.SassNumber))
  66275. continue;
  66276. if (number1.hasPossiblyCompatibleUnits$1(number2))
  66277. continue;
  66278. throw A.wrapException(A.MultiSpanSassRuntimeException$(number1.toString$0(0) + " and " + number2.toString$0(0) + " are incompatible.", J.get$span$z(nodesWithSpans[i]), number1.toString$0(0), A.LinkedHashMap_LinkedHashMap$_literal([J.get$span$z(nodesWithSpans[j]), number2.toString$0(0)], type$.FileSpan, type$.String), this._async_evaluate$_stackTrace$1(J.get$span$z(nodesWithSpans[i])), null));
  66279. }
  66280. }
  66281. },
  66282. _async_evaluate$_visitCalculationExpression$2$inLegacySassFunction(node, inLegacySassFunction) {
  66283. return this._visitCalculationExpression$body$_EvaluateVisitor(node, inLegacySassFunction);
  66284. },
  66285. _visitCalculationExpression$body$_EvaluateVisitor(node, inLegacySassFunction) {
  66286. var $async$goto = 0,
  66287. $async$completer = A._makeAsyncAwaitCompleter(type$.Object),
  66288. $async$returnValue, $async$self = this, result, t2, _0_0, _1_0, t3, _i, i, _box_0, t1, inner, $async$temp1;
  66289. var $async$_async_evaluate$_visitCalculationExpression$2$inLegacySassFunction = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  66290. if ($async$errorCode === 1)
  66291. return A._asyncRethrow($async$result, $async$completer);
  66292. while (true)
  66293. switch ($async$goto) {
  66294. case 0:
  66295. // Function start
  66296. _box_0 = {};
  66297. t1 = node instanceof A.ParenthesizedExpression;
  66298. inner = t1 ? node.expression : null;
  66299. $async$goto = t1 ? 3 : 4;
  66300. break;
  66301. case 3:
  66302. // then
  66303. $async$goto = 5;
  66304. return A._asyncAwait($async$self._async_evaluate$_visitCalculationExpression$2$inLegacySassFunction(inner, inLegacySassFunction), $async$_async_evaluate$_visitCalculationExpression$2$inLegacySassFunction);
  66305. case 5:
  66306. // returning from await.
  66307. result = $async$result;
  66308. $async$returnValue = result instanceof A.SassString ? new A.SassString("(" + result._string$_text + ")", false) : result;
  66309. // goto return
  66310. $async$goto = 1;
  66311. break;
  66312. case 4:
  66313. // join
  66314. $async$goto = node instanceof A.StringExpression && node.accept$1(new A._IsCalculationSafeVisitor()) ? 6 : 7;
  66315. break;
  66316. case 6:
  66317. // then
  66318. t1 = node.text;
  66319. t2 = t1.get$asPlain();
  66320. _0_0 = t2 == null ? null : t2.toLowerCase();
  66321. if ("pi" === _0_0) {
  66322. t1 = A.SassNumber_SassNumber(3.141592653589793, null);
  66323. // goto break $label0$0
  66324. $async$goto = 8;
  66325. break;
  66326. }
  66327. if ("e" === _0_0) {
  66328. t1 = A.SassNumber_SassNumber(2.718281828459045, null);
  66329. // goto break $label0$0
  66330. $async$goto = 8;
  66331. break;
  66332. }
  66333. if ("infinity" === _0_0) {
  66334. t1 = A.SassNumber_SassNumber(1 / 0, null);
  66335. // goto break $label0$0
  66336. $async$goto = 8;
  66337. break;
  66338. }
  66339. if ("-infinity" === _0_0) {
  66340. t1 = A.SassNumber_SassNumber(-1 / 0, null);
  66341. // goto break $label0$0
  66342. $async$goto = 8;
  66343. break;
  66344. }
  66345. if ("nan" === _0_0) {
  66346. t1 = A.SassNumber_SassNumber(0 / 0, null);
  66347. // goto break $label0$0
  66348. $async$goto = 8;
  66349. break;
  66350. }
  66351. $async$temp1 = A;
  66352. $async$goto = 9;
  66353. return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(t1), $async$_async_evaluate$_visitCalculationExpression$2$inLegacySassFunction);
  66354. case 9:
  66355. // returning from await.
  66356. t1 = new $async$temp1.SassString($async$result, false);
  66357. // goto break $label0$0
  66358. $async$goto = 8;
  66359. break;
  66360. case 8:
  66361. // break $label0$0
  66362. $async$returnValue = t1;
  66363. // goto return
  66364. $async$goto = 1;
  66365. break;
  66366. case 7:
  66367. // join
  66368. _box_0.right = _box_0.left = _box_0.operator = null;
  66369. t1 = node instanceof A.BinaryOperationExpression;
  66370. if (t1) {
  66371. _box_0.operator = node.operator;
  66372. _box_0.left = node.left;
  66373. _box_0.right = node.right;
  66374. }
  66375. $async$goto = t1 ? 10 : 11;
  66376. break;
  66377. case 10:
  66378. // then
  66379. $async$self._async_evaluate$_checkWhitespaceAroundCalculationOperator$1(node);
  66380. $async$goto = 12;
  66381. 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);
  66382. case 12:
  66383. // returning from await.
  66384. $async$returnValue = $async$result;
  66385. // goto return
  66386. $async$goto = 1;
  66387. break;
  66388. case 11:
  66389. // join
  66390. $async$goto = node instanceof A.NumberExpression || node instanceof A.VariableExpression || node instanceof A.FunctionExpression || node instanceof A.IfExpression ? 13 : 14;
  66391. break;
  66392. case 13:
  66393. // then
  66394. $async$goto = 15;
  66395. return A._asyncAwait(node.accept$1($async$self), $async$_async_evaluate$_visitCalculationExpression$2$inLegacySassFunction);
  66396. case 15:
  66397. // returning from await.
  66398. _1_0 = $async$result;
  66399. $label1$1: {
  66400. if (_1_0 instanceof A.SassNumber) {
  66401. t1 = _1_0;
  66402. break $label1$1;
  66403. }
  66404. if (_1_0 instanceof A.SassCalculation) {
  66405. t1 = _1_0;
  66406. break $label1$1;
  66407. }
  66408. if (_1_0 instanceof A.SassString) {
  66409. t1 = !_1_0._hasQuotes;
  66410. result = _1_0;
  66411. } else {
  66412. result = null;
  66413. t1 = false;
  66414. }
  66415. if (t1) {
  66416. t1 = result;
  66417. break $label1$1;
  66418. }
  66419. 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)));
  66420. }
  66421. $async$returnValue = t1;
  66422. // goto return
  66423. $async$goto = 1;
  66424. break;
  66425. case 14:
  66426. // join
  66427. $async$goto = node instanceof A.ListExpression && !node.hasBrackets && B.ListSeparator_nbm === node.separator && node.contents.length >= 2 ? 16 : 17;
  66428. break;
  66429. case 16:
  66430. // then
  66431. t1 = A._setArrayType([], type$.JSArray_Object);
  66432. t2 = node.contents, t3 = t2.length, _i = 0;
  66433. case 18:
  66434. // for condition
  66435. if (!(_i < t3)) {
  66436. // goto after for
  66437. $async$goto = 20;
  66438. break;
  66439. }
  66440. $async$temp1 = t1;
  66441. $async$goto = 21;
  66442. return A._asyncAwait($async$self._async_evaluate$_visitCalculationExpression$2$inLegacySassFunction(t2[_i], inLegacySassFunction), $async$_async_evaluate$_visitCalculationExpression$2$inLegacySassFunction);
  66443. case 21:
  66444. // returning from await.
  66445. $async$temp1.push($async$result);
  66446. case 19:
  66447. // for update
  66448. ++_i;
  66449. // goto for condition
  66450. $async$goto = 18;
  66451. break;
  66452. case 20:
  66453. // after for
  66454. $async$self._async_evaluate$_checkAdjacentCalculationValues$2(t1, node);
  66455. for (i = 0; i < t1.length; ++i) {
  66456. t3 = t1[i];
  66457. if (t3 instanceof A.CalculationOperation && t2[i] instanceof A.ParenthesizedExpression)
  66458. t1[i] = new A.SassString("(" + A.S(t3) + ")", false);
  66459. }
  66460. $async$returnValue = new A.SassString(B.JSArray_methods.join$1(t1, " "), false);
  66461. // goto return
  66462. $async$goto = 1;
  66463. break;
  66464. case 17:
  66465. // join
  66466. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.This_e, node.get$span(node)));
  66467. case 1:
  66468. // return
  66469. return A._asyncReturn($async$returnValue, $async$completer);
  66470. }
  66471. });
  66472. return A._asyncStartSync($async$_async_evaluate$_visitCalculationExpression$2$inLegacySassFunction, $async$completer);
  66473. },
  66474. _async_evaluate$_checkWhitespaceAroundCalculationOperator$1(node) {
  66475. var t2, t3, t4, textBetweenOperands, first, last,
  66476. t1 = node.operator;
  66477. if (t1 !== B.BinaryOperator_u15 && t1 !== B.BinaryOperator_SjO)
  66478. return;
  66479. t1 = node.left;
  66480. t2 = t1.get$span(t1);
  66481. t2 = t2.get$file(t2);
  66482. t3 = node.right;
  66483. t4 = t3.get$span(t3);
  66484. if (t2 !== t4.get$file(t4))
  66485. return;
  66486. t2 = t1.get$span(t1);
  66487. t2 = t2.get$end(t2);
  66488. t4 = t3.get$span(t3);
  66489. if (t2.offset >= t4.get$start(t4).offset)
  66490. return;
  66491. t2 = t1.get$span(t1);
  66492. t2 = t2.get$file(t2);
  66493. t1 = t1.get$span(t1);
  66494. t1 = t1.get$end(t1);
  66495. t3 = t3.get$span(t3);
  66496. textBetweenOperands = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2._decodedChars, t1.offset, t3.get$start(t3).offset), 0, null);
  66497. first = textBetweenOperands.charCodeAt(0);
  66498. last = textBetweenOperands.charCodeAt(textBetweenOperands.length - 1);
  66499. if (first === 32 || first === 9 || first === 10 || first === 13 || first === 12 || first === 47)
  66500. t1 = !(last === 32 || last === 9 || last === 10 || last === 13 || last === 12 || last === 47);
  66501. else
  66502. t1 = true;
  66503. if (t1)
  66504. throw A.wrapException(this._async_evaluate$_exception$2(string$.x22x2b__an, node.get$operatorSpan()));
  66505. },
  66506. _async_evaluate$_binaryOperatorToCalculationOperator$2(operator, node) {
  66507. var t1;
  66508. $label0$0: {
  66509. if (B.BinaryOperator_u15 === operator) {
  66510. t1 = B.CalculationOperator_g2q;
  66511. break $label0$0;
  66512. }
  66513. if (B.BinaryOperator_SjO === operator) {
  66514. t1 = B.CalculationOperator_CxF;
  66515. break $label0$0;
  66516. }
  66517. if (B.BinaryOperator_2No === operator) {
  66518. t1 = B.CalculationOperator_171;
  66519. break $label0$0;
  66520. }
  66521. if (B.BinaryOperator_U77 === operator) {
  66522. t1 = B.CalculationOperator_Qf1;
  66523. break $label0$0;
  66524. }
  66525. t1 = A.throwExpression(this._async_evaluate$_exception$2(string$.This_o, node.get$operatorSpan()));
  66526. }
  66527. return t1;
  66528. },
  66529. _async_evaluate$_checkAdjacentCalculationValues$2(elements, node) {
  66530. var t1, i, t2, previous, current, previousNode, currentNode, _0_2;
  66531. for (t1 = elements.length, i = 1; i < t1; ++i) {
  66532. t2 = i - 1;
  66533. previous = elements[t2];
  66534. current = elements[i];
  66535. if (previous instanceof A.SassString || current instanceof A.SassString)
  66536. continue;
  66537. t1 = node.contents;
  66538. previousNode = t1[t2];
  66539. currentNode = t1[i];
  66540. if (currentNode instanceof A.UnaryOperationExpression) {
  66541. _0_2 = currentNode.operator;
  66542. if (B.UnaryOperator_AiQ !== _0_2)
  66543. t1 = B.UnaryOperator_cLp === _0_2;
  66544. else
  66545. t1 = true;
  66546. } else
  66547. t1 = false;
  66548. if (!t1)
  66549. t1 = currentNode instanceof A.NumberExpression && currentNode.value < 0;
  66550. else
  66551. t1 = true;
  66552. if (t1)
  66553. throw A.wrapException(this._async_evaluate$_exception$2(string$.x22x2b__an, A.FileSpanExtension_subspan(currentNode.get$span(currentNode), 0, 1)));
  66554. else
  66555. throw A.wrapException(this._async_evaluate$_exception$2("Missing math operator.", previousNode.get$span(previousNode).expand$1(0, currentNode.get$span(currentNode))));
  66556. }
  66557. },
  66558. visitInterpolatedFunctionExpression$1(node) {
  66559. return this.visitInterpolatedFunctionExpression$body$_EvaluateVisitor(node);
  66560. },
  66561. visitInterpolatedFunctionExpression$body$_EvaluateVisitor(node) {
  66562. var $async$goto = 0,
  66563. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  66564. $async$returnValue, $async$self = this, result, t1, oldInFunction;
  66565. var $async$visitInterpolatedFunctionExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  66566. if ($async$errorCode === 1)
  66567. return A._asyncRethrow($async$result, $async$completer);
  66568. while (true)
  66569. switch ($async$goto) {
  66570. case 0:
  66571. // Function start
  66572. $async$goto = 3;
  66573. return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(node.name), $async$visitInterpolatedFunctionExpression$1);
  66574. case 3:
  66575. // returning from await.
  66576. t1 = $async$result;
  66577. oldInFunction = $async$self._async_evaluate$_inFunction;
  66578. $async$self._async_evaluate$_inFunction = true;
  66579. $async$goto = 4;
  66580. 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);
  66581. case 4:
  66582. // returning from await.
  66583. result = $async$result;
  66584. $async$self._async_evaluate$_inFunction = oldInFunction;
  66585. $async$returnValue = result;
  66586. // goto return
  66587. $async$goto = 1;
  66588. break;
  66589. case 1:
  66590. // return
  66591. return A._asyncReturn($async$returnValue, $async$completer);
  66592. }
  66593. });
  66594. return A._asyncStartSync($async$visitInterpolatedFunctionExpression$1, $async$completer);
  66595. },
  66596. _async_evaluate$_runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, run, $V) {
  66597. return this._runUserDefinedCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan, run, $V, $V);
  66598. },
  66599. _runUserDefinedCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan, run, $V, $async$type) {
  66600. var $async$goto = 0,
  66601. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  66602. $async$returnValue, $async$self = this, oldCallable, result, evaluated, $name;
  66603. var $async$_async_evaluate$_runUserDefinedCallable$1$4 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  66604. if ($async$errorCode === 1)
  66605. return A._asyncRethrow($async$result, $async$completer);
  66606. while (true)
  66607. switch ($async$goto) {
  66608. case 0:
  66609. // Function start
  66610. $async$goto = 3;
  66611. return A._asyncAwait($async$self._async_evaluate$_evaluateArguments$1($arguments), $async$_async_evaluate$_runUserDefinedCallable$1$4);
  66612. case 3:
  66613. // returning from await.
  66614. evaluated = $async$result;
  66615. $name = callable.declaration.name;
  66616. if ($name !== "@content")
  66617. $name += "()";
  66618. oldCallable = $async$self._async_evaluate$_currentCallable;
  66619. $async$self._async_evaluate$_currentCallable = callable;
  66620. $async$goto = 4;
  66621. 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);
  66622. case 4:
  66623. // returning from await.
  66624. result = $async$result;
  66625. $async$self._async_evaluate$_currentCallable = oldCallable;
  66626. $async$returnValue = result;
  66627. // goto return
  66628. $async$goto = 1;
  66629. break;
  66630. case 1:
  66631. // return
  66632. return A._asyncReturn($async$returnValue, $async$completer);
  66633. }
  66634. });
  66635. return A._asyncStartSync($async$_async_evaluate$_runUserDefinedCallable$1$4, $async$completer);
  66636. },
  66637. _async_evaluate$_runFunctionCallable$3($arguments, callable, nodeWithSpan) {
  66638. return this._runFunctionCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan);
  66639. },
  66640. _runFunctionCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan) {
  66641. var $async$goto = 0,
  66642. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  66643. $async$returnValue, $async$handler = 2, $async$currentError, $async$self = this, buffer, first, argument, restArg, rest, error, t1, t2, _i, t3, t4, exception, $async$exception, $async$temp1;
  66644. var $async$_async_evaluate$_runFunctionCallable$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  66645. if ($async$errorCode === 1) {
  66646. $async$currentError = $async$result;
  66647. $async$goto = $async$handler;
  66648. }
  66649. while (true)
  66650. switch ($async$goto) {
  66651. case 0:
  66652. // Function start
  66653. $async$goto = type$.AsyncBuiltInCallable._is(callable) ? 3 : 5;
  66654. break;
  66655. case 3:
  66656. // then
  66657. $async$goto = 6;
  66658. return A._asyncAwait($async$self._async_evaluate$_runBuiltInCallable$3($arguments, callable, nodeWithSpan), $async$_async_evaluate$_runFunctionCallable$3);
  66659. case 6:
  66660. // returning from await.
  66661. $async$returnValue = $async$self._async_evaluate$_withoutSlash$2($async$result, nodeWithSpan);
  66662. // goto return
  66663. $async$goto = 1;
  66664. break;
  66665. // goto join
  66666. $async$goto = 4;
  66667. break;
  66668. case 5:
  66669. // else
  66670. $async$goto = type$.UserDefinedCallable_AsyncEnvironment._is(callable) ? 7 : 9;
  66671. break;
  66672. case 7:
  66673. // then
  66674. $async$goto = 10;
  66675. 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);
  66676. case 10:
  66677. // returning from await.
  66678. $async$returnValue = $async$result;
  66679. // goto return
  66680. $async$goto = 1;
  66681. break;
  66682. // goto join
  66683. $async$goto = 8;
  66684. break;
  66685. case 9:
  66686. // else
  66687. $async$goto = callable instanceof A.PlainCssCallable ? 11 : 13;
  66688. break;
  66689. case 11:
  66690. // then
  66691. t1 = $arguments.named;
  66692. if (t1.get$isNotEmpty(t1) || $arguments.keywordRest != null)
  66693. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Plain_, nodeWithSpan.get$span(nodeWithSpan)));
  66694. buffer = new A.StringBuffer(callable.name + "(");
  66695. $async$handler = 15;
  66696. first = true;
  66697. t1 = $arguments.positional, t2 = t1.length, _i = 0;
  66698. case 18:
  66699. // for condition
  66700. if (!(_i < t2)) {
  66701. // goto after for
  66702. $async$goto = 20;
  66703. break;
  66704. }
  66705. argument = t1[_i];
  66706. if (first)
  66707. first = false;
  66708. else
  66709. buffer._contents += ", ";
  66710. t3 = buffer;
  66711. $async$temp1 = A;
  66712. $async$goto = 21;
  66713. return A._asyncAwait($async$self._evaluateToCss$1(argument), $async$_async_evaluate$_runFunctionCallable$3);
  66714. case 21:
  66715. // returning from await.
  66716. t4 = $async$temp1.S($async$result);
  66717. t3._contents += t4;
  66718. case 19:
  66719. // for update
  66720. ++_i;
  66721. // goto for condition
  66722. $async$goto = 18;
  66723. break;
  66724. case 20:
  66725. // after for
  66726. restArg = $arguments.rest;
  66727. $async$goto = restArg != null ? 22 : 23;
  66728. break;
  66729. case 22:
  66730. // then
  66731. $async$goto = 24;
  66732. return A._asyncAwait(restArg.accept$1($async$self), $async$_async_evaluate$_runFunctionCallable$3);
  66733. case 24:
  66734. // returning from await.
  66735. rest = $async$result;
  66736. if (!first)
  66737. buffer._contents += ", ";
  66738. t1 = buffer;
  66739. t2 = $async$self._async_evaluate$_serialize$2(rest, restArg);
  66740. t1._contents += t2;
  66741. case 23:
  66742. // join
  66743. $async$handler = 2;
  66744. // goto after finally
  66745. $async$goto = 17;
  66746. break;
  66747. case 15:
  66748. // catch
  66749. $async$handler = 14;
  66750. $async$exception = $async$currentError;
  66751. t1 = A.unwrapException($async$exception);
  66752. if (type$.SassRuntimeException._is(t1)) {
  66753. error = t1;
  66754. if (!B.JSString_methods.endsWith$1(error._span_exception$_message, "isn't a valid CSS value."))
  66755. throw $async$exception;
  66756. 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));
  66757. } else
  66758. throw $async$exception;
  66759. // goto after finally
  66760. $async$goto = 17;
  66761. break;
  66762. case 14:
  66763. // uncaught
  66764. // goto rethrow
  66765. $async$goto = 2;
  66766. break;
  66767. case 17:
  66768. // after finally
  66769. t1 = buffer;
  66770. t2 = A.Primitives_stringFromCharCode(41);
  66771. t1._contents += t2;
  66772. t2 = buffer._contents;
  66773. $async$returnValue = new A.SassString(t2.charCodeAt(0) == 0 ? t2 : t2, false);
  66774. // goto return
  66775. $async$goto = 1;
  66776. break;
  66777. // goto join
  66778. $async$goto = 12;
  66779. break;
  66780. case 13:
  66781. // else
  66782. throw A.wrapException(A.ArgumentError$("Unknown callable type " + J.get$runtimeType$(callable).toString$0(0) + ".", null));
  66783. case 12:
  66784. // join
  66785. case 8:
  66786. // join
  66787. case 4:
  66788. // join
  66789. case 1:
  66790. // return
  66791. return A._asyncReturn($async$returnValue, $async$completer);
  66792. case 2:
  66793. // rethrow
  66794. return A._asyncRethrow($async$currentError, $async$completer);
  66795. }
  66796. });
  66797. return A._asyncStartSync($async$_async_evaluate$_runFunctionCallable$3, $async$completer);
  66798. },
  66799. _async_evaluate$_runBuiltInCallable$3($arguments, callable, nodeWithSpan) {
  66800. return this._runBuiltInCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan);
  66801. },
  66802. _runBuiltInCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan) {
  66803. var $async$goto = 0,
  66804. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  66805. $async$returnValue, $async$handler = 2, $async$currentError, $async$self = this, result, error, stackTrace, message, namedSet, _0_0, declaredArguments, i, t1, t2, t3, argument, t4, t5, t6, t7, rest, argumentList, exception, message0, _box_0, evaluated, oldCallableNode, $async$exception;
  66806. var $async$_async_evaluate$_runBuiltInCallable$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  66807. if ($async$errorCode === 1) {
  66808. $async$currentError = $async$result;
  66809. $async$goto = $async$handler;
  66810. }
  66811. while (true)
  66812. switch ($async$goto) {
  66813. case 0:
  66814. // Function start
  66815. _box_0 = {};
  66816. $async$goto = 3;
  66817. return A._asyncAwait($async$self._async_evaluate$_evaluateArguments$1($arguments), $async$_async_evaluate$_runBuiltInCallable$3);
  66818. case 3:
  66819. // returning from await.
  66820. evaluated = $async$result;
  66821. oldCallableNode = $async$self._async_evaluate$_callableNode;
  66822. $async$self._async_evaluate$_callableNode = nodeWithSpan;
  66823. namedSet = new A.MapKeySet(evaluated._values[0], type$.MapKeySet_String);
  66824. _box_0.callback = _box_0.overload = null;
  66825. _0_0 = callable.callbackFor$2(J.get$length$asx(evaluated._values[2]), namedSet);
  66826. _box_0.overload = _0_0._0;
  66827. _box_0.callback = _0_0._1;
  66828. $async$self._async_evaluate$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure2(_box_0, evaluated, namedSet));
  66829. declaredArguments = _box_0.overload.$arguments;
  66830. i = J.get$length$asx(evaluated._values[2]), t1 = declaredArguments.length, t2 = type$._Future_Value, t3 = type$.Future_Value;
  66831. case 4:
  66832. // for condition
  66833. if (!(i < t1)) {
  66834. // goto after for
  66835. $async$goto = 6;
  66836. break;
  66837. }
  66838. argument = declaredArguments[i];
  66839. t4 = evaluated._values[2];
  66840. t5 = evaluated._values[0].remove$1(0, argument.name);
  66841. $async$goto = t5 == null ? 7 : 8;
  66842. break;
  66843. case 7:
  66844. // then
  66845. t5 = argument.defaultValue;
  66846. t6 = t5.accept$1($async$self);
  66847. if (!t3._is(t6)) {
  66848. t7 = new A._Future($.Zone__current, t2);
  66849. t7._state = 8;
  66850. t7._resultOrListeners = t6;
  66851. t6 = t7;
  66852. }
  66853. $async$goto = 9;
  66854. return A._asyncAwait(t6, $async$_async_evaluate$_runBuiltInCallable$3);
  66855. case 9:
  66856. // returning from await.
  66857. t5 = $async$self._async_evaluate$_withoutSlash$2($async$result, t5);
  66858. case 8:
  66859. // join
  66860. J.add$1$ax(t4, t5);
  66861. case 5:
  66862. // for update
  66863. ++i;
  66864. // goto for condition
  66865. $async$goto = 4;
  66866. break;
  66867. case 6:
  66868. // after for
  66869. if (_box_0.overload.restArgument != null) {
  66870. if (J.get$length$asx(evaluated._values[2]) > t1) {
  66871. rest = J.sublist$1$ax(evaluated._values[2], t1);
  66872. J.removeRange$2$ax(evaluated._values[2], t1, J.get$length$asx(evaluated._values[2]));
  66873. } else
  66874. rest = B.List_empty8;
  66875. t1 = evaluated._values[0];
  66876. argumentList = A.SassArgumentList$(rest, t1, evaluated._values[4] === B.ListSeparator_undecided_null_undecided ? B.ListSeparator_ECn : evaluated._values[4]);
  66877. J.add$1$ax(evaluated._values[2], argumentList);
  66878. } else
  66879. argumentList = null;
  66880. result = null;
  66881. $async$handler = 11;
  66882. $async$goto = 14;
  66883. return A._asyncAwait($async$self._addExceptionSpanAsync$1$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure3(_box_0, evaluated), type$.Value), $async$_async_evaluate$_runBuiltInCallable$3);
  66884. case 14:
  66885. // returning from await.
  66886. result = $async$result;
  66887. $async$handler = 2;
  66888. // goto after finally
  66889. $async$goto = 13;
  66890. break;
  66891. case 11:
  66892. // catch
  66893. $async$handler = 10;
  66894. $async$exception = $async$currentError;
  66895. t1 = A.unwrapException($async$exception);
  66896. if (t1 instanceof A.SassException)
  66897. throw $async$exception;
  66898. else {
  66899. error = t1;
  66900. stackTrace = A.getTraceFromException($async$exception);
  66901. message = null;
  66902. try {
  66903. message = A._asString(J.get$message$x(error));
  66904. } catch (exception) {
  66905. message0 = J.toString$0$(error);
  66906. message = message0;
  66907. }
  66908. A.throwWithTrace($async$self._async_evaluate$_exception$2(message, nodeWithSpan.get$span(nodeWithSpan)), error, stackTrace);
  66909. }
  66910. // goto after finally
  66911. $async$goto = 13;
  66912. break;
  66913. case 10:
  66914. // uncaught
  66915. // goto rethrow
  66916. $async$goto = 2;
  66917. break;
  66918. case 13:
  66919. // after finally
  66920. $async$self._async_evaluate$_callableNode = oldCallableNode;
  66921. if (argumentList == null) {
  66922. $async$returnValue = result;
  66923. // goto return
  66924. $async$goto = 1;
  66925. break;
  66926. }
  66927. t1 = evaluated._values[0];
  66928. if (t1.get$isEmpty(t1)) {
  66929. $async$returnValue = result;
  66930. // goto return
  66931. $async$goto = 1;
  66932. break;
  66933. }
  66934. if (argumentList._wereKeywordsAccessed) {
  66935. $async$returnValue = result;
  66936. // goto return
  66937. $async$goto = 1;
  66938. break;
  66939. }
  66940. t1 = evaluated._values[0];
  66941. t1 = A.pluralize("argument", J.get$length$asx(t1.get$keys(t1)), null);
  66942. t2 = evaluated._values[0];
  66943. throw A.wrapException(A.MultiSpanSassRuntimeException$("No " + t1 + " named " + A.toSentence(J.map$1$1$ax(t2.get$keys(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));
  66944. case 1:
  66945. // return
  66946. return A._asyncReturn($async$returnValue, $async$completer);
  66947. case 2:
  66948. // rethrow
  66949. return A._asyncRethrow($async$currentError, $async$completer);
  66950. }
  66951. });
  66952. return A._asyncStartSync($async$_async_evaluate$_runBuiltInCallable$3, $async$completer);
  66953. },
  66954. _async_evaluate$_evaluateArguments$1($arguments) {
  66955. return this._evaluateArguments$body$_EvaluateVisitor($arguments);
  66956. },
  66957. _evaluateArguments$body$_EvaluateVisitor($arguments) {
  66958. var $async$goto = 0,
  66959. $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),
  66960. $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;
  66961. var $async$_async_evaluate$_evaluateArguments$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  66962. if ($async$errorCode === 1)
  66963. return A._asyncRethrow($async$result, $async$completer);
  66964. while (true)
  66965. switch ($async$goto) {
  66966. case 0:
  66967. // Function start
  66968. positional = A._setArrayType([], type$.JSArray_Value);
  66969. positionalNodes = A._setArrayType([], type$.JSArray_AstNode);
  66970. t1 = $arguments.positional, t2 = t1.length, t3 = type$._Future_Value, t4 = type$.Future_Value, _i = 0;
  66971. case 3:
  66972. // for condition
  66973. if (!(_i < t2)) {
  66974. // goto after for
  66975. $async$goto = 5;
  66976. break;
  66977. }
  66978. expression = t1[_i];
  66979. nodeForSpan = $async$self._async_evaluate$_expressionNode$1(expression);
  66980. t5 = expression.accept$1($async$self);
  66981. if (!t4._is(t5)) {
  66982. t6 = new A._Future($.Zone__current, t3);
  66983. t6._state = 8;
  66984. t6._resultOrListeners = t5;
  66985. t5 = t6;
  66986. }
  66987. $async$temp1 = positional;
  66988. $async$goto = 6;
  66989. return A._asyncAwait(t5, $async$_async_evaluate$_evaluateArguments$1);
  66990. case 6:
  66991. // returning from await.
  66992. $async$temp1.push($async$self._async_evaluate$_withoutSlash$2($async$result, nodeForSpan));
  66993. positionalNodes.push(nodeForSpan);
  66994. case 4:
  66995. // for update
  66996. ++_i;
  66997. // goto for condition
  66998. $async$goto = 3;
  66999. break;
  67000. case 5:
  67001. // after for
  67002. t1 = type$.String;
  67003. named = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Value);
  67004. t2 = type$.AstNode;
  67005. namedNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  67006. t5 = A.MapExtensions_get_pairs($arguments.named, t1, type$.Expression), t5 = t5.get$iterator(t5);
  67007. case 7:
  67008. // for condition
  67009. if (!t5.moveNext$0()) {
  67010. // goto after for
  67011. $async$goto = 8;
  67012. break;
  67013. }
  67014. t6 = t5.get$current(t5);
  67015. $name = t6._0;
  67016. value = t6._1;
  67017. nodeForSpan = $async$self._async_evaluate$_expressionNode$1(value);
  67018. t6 = value.accept$1($async$self);
  67019. if (!t4._is(t6)) {
  67020. t7 = new A._Future($.Zone__current, t3);
  67021. t7._state = 8;
  67022. t7._resultOrListeners = t6;
  67023. t6 = t7;
  67024. }
  67025. $async$temp1 = named;
  67026. $async$temp2 = $name;
  67027. $async$goto = 9;
  67028. return A._asyncAwait(t6, $async$_async_evaluate$_evaluateArguments$1);
  67029. case 9:
  67030. // returning from await.
  67031. $async$temp1.$indexSet(0, $async$temp2, $async$self._async_evaluate$_withoutSlash$2($async$result, nodeForSpan));
  67032. namedNodes.$indexSet(0, $name, nodeForSpan);
  67033. // goto for condition
  67034. $async$goto = 7;
  67035. break;
  67036. case 8:
  67037. // after for
  67038. restArgs = $arguments.rest;
  67039. if (restArgs == null) {
  67040. $async$returnValue = new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, B.ListSeparator_undecided_null_undecided]);
  67041. // goto return
  67042. $async$goto = 1;
  67043. break;
  67044. }
  67045. $async$goto = 10;
  67046. return A._asyncAwait(restArgs.accept$1($async$self), $async$_async_evaluate$_evaluateArguments$1);
  67047. case 10:
  67048. // returning from await.
  67049. rest = $async$result;
  67050. restNodeForSpan = $async$self._async_evaluate$_expressionNode$1(restArgs);
  67051. if (rest instanceof A.SassMap) {
  67052. $async$self._async_evaluate$_addRestMap$4(named, rest, restArgs, new A._EvaluateVisitor__evaluateArguments_closure3());
  67053. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  67054. for (t4 = rest._map$_contents, t4 = J.get$iterator$ax(t4.get$keys(t4)), t5 = type$.SassString; t4.moveNext$0();)
  67055. t3.$indexSet(0, t5._as(t4.get$current(t4))._string$_text, restNodeForSpan);
  67056. namedNodes.addAll$1(0, t3);
  67057. separator = B.ListSeparator_undecided_null_undecided;
  67058. } else if (rest instanceof A.SassList) {
  67059. t3 = rest._list$_contents;
  67060. 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>")));
  67061. B.JSArray_methods.addAll$1(positionalNodes, A.List_List$filled(t3.length, restNodeForSpan, false, t2));
  67062. separator = rest._separator;
  67063. if (rest instanceof A.SassArgumentList) {
  67064. rest._wereKeywordsAccessed = true;
  67065. rest._keywords.forEach$1(0, new A._EvaluateVisitor__evaluateArguments_closure5($async$self, named, restNodeForSpan, namedNodes));
  67066. }
  67067. } else {
  67068. positional.push($async$self._async_evaluate$_withoutSlash$2(rest, restNodeForSpan));
  67069. positionalNodes.push(restNodeForSpan);
  67070. separator = B.ListSeparator_undecided_null_undecided;
  67071. }
  67072. keywordRestArgs = $arguments.keywordRest;
  67073. if (keywordRestArgs == null) {
  67074. $async$returnValue = new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, separator]);
  67075. // goto return
  67076. $async$goto = 1;
  67077. break;
  67078. }
  67079. $async$goto = 11;
  67080. return A._asyncAwait(keywordRestArgs.accept$1($async$self), $async$_async_evaluate$_evaluateArguments$1);
  67081. case 11:
  67082. // returning from await.
  67083. keywordRest = $async$result;
  67084. keywordRestNodeForSpan = $async$self._async_evaluate$_expressionNode$1(keywordRestArgs);
  67085. if (keywordRest instanceof A.SassMap) {
  67086. $async$self._async_evaluate$_addRestMap$4(named, keywordRest, keywordRestArgs, new A._EvaluateVisitor__evaluateArguments_closure6());
  67087. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  67088. for (t2 = keywordRest._map$_contents, t2 = J.get$iterator$ax(t2.get$keys(t2)), t3 = type$.SassString; t2.moveNext$0();)
  67089. t1.$indexSet(0, t3._as(t2.get$current(t2))._string$_text, keywordRestNodeForSpan);
  67090. namedNodes.addAll$1(0, t1);
  67091. $async$returnValue = new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, separator]);
  67092. // goto return
  67093. $async$goto = 1;
  67094. break;
  67095. } else
  67096. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs.get$span(keywordRestArgs)));
  67097. case 1:
  67098. // return
  67099. return A._asyncReturn($async$returnValue, $async$completer);
  67100. }
  67101. });
  67102. return A._asyncStartSync($async$_async_evaluate$_evaluateArguments$1, $async$completer);
  67103. },
  67104. _async_evaluate$_evaluateMacroArguments$1(invocation) {
  67105. return this._evaluateMacroArguments$body$_EvaluateVisitor(invocation);
  67106. },
  67107. _evaluateMacroArguments$body$_EvaluateVisitor(invocation) {
  67108. var $async$goto = 0,
  67109. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_List_Expression_and_Map_String_Expression),
  67110. $async$returnValue, $async$self = this, t2, positional, named, rest, restNodeForSpan, keywordRestArgs_, keywordRest, keywordRestNodeForSpan, t1, restArgs_;
  67111. var $async$_async_evaluate$_evaluateMacroArguments$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  67112. if ($async$errorCode === 1)
  67113. return A._asyncRethrow($async$result, $async$completer);
  67114. while (true)
  67115. switch ($async$goto) {
  67116. case 0:
  67117. // Function start
  67118. t1 = invocation.$arguments;
  67119. restArgs_ = t1.rest;
  67120. if (restArgs_ == null) {
  67121. $async$returnValue = new A._Record_2(t1.positional, t1.named);
  67122. // goto return
  67123. $async$goto = 1;
  67124. break;
  67125. }
  67126. t2 = t1.positional;
  67127. positional = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
  67128. named = A.LinkedHashMap_LinkedHashMap$of(t1.named, type$.String, type$.Expression);
  67129. $async$goto = 3;
  67130. return A._asyncAwait(restArgs_.accept$1($async$self), $async$_async_evaluate$_evaluateMacroArguments$1);
  67131. case 3:
  67132. // returning from await.
  67133. rest = $async$result;
  67134. restNodeForSpan = $async$self._async_evaluate$_expressionNode$1(restArgs_);
  67135. if (rest instanceof A.SassMap)
  67136. $async$self._async_evaluate$_addRestMap$4(named, rest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure3(restArgs_));
  67137. else if (rest instanceof A.SassList) {
  67138. t2 = rest._list$_contents;
  67139. 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>")));
  67140. if (rest instanceof A.SassArgumentList) {
  67141. rest._wereKeywordsAccessed = true;
  67142. rest._keywords.forEach$1(0, new A._EvaluateVisitor__evaluateMacroArguments_closure5($async$self, named, restNodeForSpan, restArgs_));
  67143. }
  67144. } else
  67145. positional.push(new A.ValueExpression($async$self._async_evaluate$_withoutSlash$2(rest, restNodeForSpan), restArgs_.get$span(restArgs_)));
  67146. keywordRestArgs_ = t1.keywordRest;
  67147. if (keywordRestArgs_ == null) {
  67148. $async$returnValue = new A._Record_2(positional, named);
  67149. // goto return
  67150. $async$goto = 1;
  67151. break;
  67152. }
  67153. $async$goto = 4;
  67154. return A._asyncAwait(keywordRestArgs_.accept$1($async$self), $async$_async_evaluate$_evaluateMacroArguments$1);
  67155. case 4:
  67156. // returning from await.
  67157. keywordRest = $async$result;
  67158. keywordRestNodeForSpan = $async$self._async_evaluate$_expressionNode$1(keywordRestArgs_);
  67159. if (keywordRest instanceof A.SassMap) {
  67160. $async$self._async_evaluate$_addRestMap$4(named, keywordRest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure6($async$self, keywordRestNodeForSpan, keywordRestArgs_));
  67161. $async$returnValue = new A._Record_2(positional, named);
  67162. // goto return
  67163. $async$goto = 1;
  67164. break;
  67165. } else
  67166. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs_.get$span(keywordRestArgs_)));
  67167. case 1:
  67168. // return
  67169. return A._asyncReturn($async$returnValue, $async$completer);
  67170. }
  67171. });
  67172. return A._asyncStartSync($async$_async_evaluate$_evaluateMacroArguments$1, $async$completer);
  67173. },
  67174. _async_evaluate$_addRestMap$1$4(values, map, nodeWithSpan, convert) {
  67175. map._map$_contents.forEach$1(0, new A._EvaluateVisitor__addRestMap_closure0(this, values, convert, this._async_evaluate$_expressionNode$1(nodeWithSpan), map, nodeWithSpan));
  67176. },
  67177. _async_evaluate$_addRestMap$4(values, map, nodeWithSpan, convert) {
  67178. return this._async_evaluate$_addRestMap$1$4(values, map, nodeWithSpan, convert, type$.dynamic);
  67179. },
  67180. _async_evaluate$_verifyArguments$4(positional, named, $arguments, nodeWithSpan) {
  67181. return this._async_evaluate$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__verifyArguments_closure0($arguments, positional, named));
  67182. },
  67183. visitSelectorExpression$1(node) {
  67184. return this.visitSelectorExpression$body$_EvaluateVisitor(node);
  67185. },
  67186. visitSelectorExpression$body$_EvaluateVisitor(node) {
  67187. var $async$goto = 0,
  67188. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  67189. $async$returnValue, $async$self = this, t1;
  67190. var $async$visitSelectorExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  67191. if ($async$errorCode === 1)
  67192. return A._asyncRethrow($async$result, $async$completer);
  67193. while (true)
  67194. switch ($async$goto) {
  67195. case 0:
  67196. // Function start
  67197. t1 = $async$self._async_evaluate$_styleRuleIgnoringAtRoot;
  67198. t1 = t1 == null ? null : t1.originalSelector.get$asSassList();
  67199. $async$returnValue = t1 == null ? B.C__SassNull : t1;
  67200. // goto return
  67201. $async$goto = 1;
  67202. break;
  67203. case 1:
  67204. // return
  67205. return A._asyncReturn($async$returnValue, $async$completer);
  67206. }
  67207. });
  67208. return A._asyncStartSync($async$visitSelectorExpression$1, $async$completer);
  67209. },
  67210. visitStringExpression$1(node) {
  67211. return this.visitStringExpression$body$_EvaluateVisitor(node);
  67212. },
  67213. visitStringExpression$body$_EvaluateVisitor(node) {
  67214. var $async$goto = 0,
  67215. $async$completer = A._makeAsyncAwaitCompleter(type$.SassString),
  67216. $async$returnValue, $async$self = this, t1, t2, t3, t4, _i, value, t5, _0_0, text, oldInSupportsDeclaration;
  67217. var $async$visitStringExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  67218. if ($async$errorCode === 1)
  67219. return A._asyncRethrow($async$result, $async$completer);
  67220. while (true)
  67221. switch ($async$goto) {
  67222. case 0:
  67223. // Function start
  67224. oldInSupportsDeclaration = $async$self._async_evaluate$_inSupportsDeclaration;
  67225. $async$self._async_evaluate$_inSupportsDeclaration = false;
  67226. t1 = A._setArrayType([], type$.JSArray_String);
  67227. t2 = node.text.contents, t3 = t2.length, t4 = type$.Expression, _i = 0;
  67228. case 3:
  67229. // for condition
  67230. if (!(_i < t3)) {
  67231. // goto after for
  67232. $async$goto = 5;
  67233. break;
  67234. }
  67235. value = t2[_i];
  67236. if (typeof value == "string") {
  67237. t5 = value;
  67238. // goto break $label0$0
  67239. $async$goto = 6;
  67240. break;
  67241. }
  67242. $async$goto = t4._is(value) ? 7 : 8;
  67243. break;
  67244. case 7:
  67245. // then
  67246. $async$goto = 9;
  67247. return A._asyncAwait(value.accept$1($async$self), $async$visitStringExpression$1);
  67248. case 9:
  67249. // returning from await.
  67250. _0_0 = $async$result;
  67251. $label1$1: {
  67252. if (_0_0 instanceof A.SassString) {
  67253. text = _0_0._string$_text;
  67254. t5 = text;
  67255. break $label1$1;
  67256. }
  67257. t5 = $async$self._async_evaluate$_serialize$3$quote(_0_0, value, false);
  67258. break $label1$1;
  67259. }
  67260. // goto break $label0$0
  67261. $async$goto = 6;
  67262. break;
  67263. case 8:
  67264. // join
  67265. t5 = A.throwExpression(A.UnsupportedError$("Unknown interpolation value " + A.S(value)));
  67266. case 6:
  67267. // break $label0$0
  67268. t1.push(t5);
  67269. case 4:
  67270. // for update
  67271. ++_i;
  67272. // goto for condition
  67273. $async$goto = 3;
  67274. break;
  67275. case 5:
  67276. // after for
  67277. t1 = B.JSArray_methods.join$0(t1);
  67278. $async$self._async_evaluate$_inSupportsDeclaration = oldInSupportsDeclaration;
  67279. $async$returnValue = new A.SassString(t1, node.hasQuotes);
  67280. // goto return
  67281. $async$goto = 1;
  67282. break;
  67283. case 1:
  67284. // return
  67285. return A._asyncReturn($async$returnValue, $async$completer);
  67286. }
  67287. });
  67288. return A._asyncStartSync($async$visitStringExpression$1, $async$completer);
  67289. },
  67290. visitSupportsExpression$1(expression) {
  67291. return this.visitSupportsExpression$body$_EvaluateVisitor(expression);
  67292. },
  67293. visitSupportsExpression$body$_EvaluateVisitor(expression) {
  67294. var $async$goto = 0,
  67295. $async$completer = A._makeAsyncAwaitCompleter(type$.SassString),
  67296. $async$returnValue, $async$self = this, $async$temp1;
  67297. var $async$visitSupportsExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  67298. if ($async$errorCode === 1)
  67299. return A._asyncRethrow($async$result, $async$completer);
  67300. while (true)
  67301. switch ($async$goto) {
  67302. case 0:
  67303. // Function start
  67304. $async$temp1 = A;
  67305. $async$goto = 3;
  67306. return A._asyncAwait($async$self._async_evaluate$_visitSupportsCondition$1(expression.condition), $async$visitSupportsExpression$1);
  67307. case 3:
  67308. // returning from await.
  67309. $async$returnValue = new $async$temp1.SassString($async$result, false);
  67310. // goto return
  67311. $async$goto = 1;
  67312. break;
  67313. case 1:
  67314. // return
  67315. return A._asyncReturn($async$returnValue, $async$completer);
  67316. }
  67317. });
  67318. return A._asyncStartSync($async$visitSupportsExpression$1, $async$completer);
  67319. },
  67320. visitCssAtRule$1(node) {
  67321. return this.visitCssAtRule$body$_EvaluateVisitor(node);
  67322. },
  67323. visitCssAtRule$body$_EvaluateVisitor(node) {
  67324. var $async$goto = 0,
  67325. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  67326. $async$returnValue, $async$self = this, wasInKeyframes, wasInUnknownAtRule, t1;
  67327. var $async$visitCssAtRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  67328. if ($async$errorCode === 1)
  67329. return A._asyncRethrow($async$result, $async$completer);
  67330. while (true)
  67331. switch ($async$goto) {
  67332. case 0:
  67333. // Function start
  67334. if ($async$self._async_evaluate$_declarationName != null)
  67335. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.At_rul, node.span));
  67336. if (node.isChildless) {
  67337. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$(node.name, node.span, true, node.value));
  67338. // goto return
  67339. $async$goto = 1;
  67340. break;
  67341. }
  67342. wasInKeyframes = $async$self._async_evaluate$_inKeyframes;
  67343. wasInUnknownAtRule = $async$self._async_evaluate$_inUnknownAtRule;
  67344. t1 = node.name;
  67345. if (A.unvendor(t1.value) === "keyframes")
  67346. $async$self._async_evaluate$_inKeyframes = true;
  67347. else
  67348. $async$self._async_evaluate$_inUnknownAtRule = true;
  67349. $async$goto = 3;
  67350. 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);
  67351. case 3:
  67352. // returning from await.
  67353. $async$self._async_evaluate$_inUnknownAtRule = wasInUnknownAtRule;
  67354. $async$self._async_evaluate$_inKeyframes = wasInKeyframes;
  67355. case 1:
  67356. // return
  67357. return A._asyncReturn($async$returnValue, $async$completer);
  67358. }
  67359. });
  67360. return A._asyncStartSync($async$visitCssAtRule$1, $async$completer);
  67361. },
  67362. visitCssComment$1(node) {
  67363. return this.visitCssComment$body$_EvaluateVisitor(node);
  67364. },
  67365. visitCssComment$body$_EvaluateVisitor(node) {
  67366. var $async$goto = 0,
  67367. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  67368. $async$self = this;
  67369. var $async$visitCssComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  67370. if ($async$errorCode === 1)
  67371. return A._asyncRethrow($async$result, $async$completer);
  67372. while (true)
  67373. switch ($async$goto) {
  67374. case 0:
  67375. // Function start
  67376. 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))
  67377. $async$self._async_evaluate$__endOfImports = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__endOfImports, "_endOfImports") + 1;
  67378. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(new A.ModifiableCssComment(node.text, node.span));
  67379. // implicit return
  67380. return A._asyncReturn(null, $async$completer);
  67381. }
  67382. });
  67383. return A._asyncStartSync($async$visitCssComment$1, $async$completer);
  67384. },
  67385. visitCssDeclaration$1(node) {
  67386. return this.visitCssDeclaration$body$_EvaluateVisitor(node);
  67387. },
  67388. visitCssDeclaration$body$_EvaluateVisitor(node) {
  67389. var $async$goto = 0,
  67390. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  67391. $async$self = this;
  67392. var $async$visitCssDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  67393. if ($async$errorCode === 1)
  67394. return A._asyncRethrow($async$result, $async$completer);
  67395. while (true)
  67396. switch ($async$goto) {
  67397. case 0:
  67398. // Function start
  67399. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(A.ModifiableCssDeclaration$(node.name, node.value, node.span, node.parsedAsCustomProperty, node.valueSpanForMap));
  67400. // implicit return
  67401. return A._asyncReturn(null, $async$completer);
  67402. }
  67403. });
  67404. return A._asyncStartSync($async$visitCssDeclaration$1, $async$completer);
  67405. },
  67406. visitCssImport$1(node) {
  67407. return this.visitCssImport$body$_EvaluateVisitor(node);
  67408. },
  67409. visitCssImport$body$_EvaluateVisitor(node) {
  67410. var $async$goto = 0,
  67411. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  67412. $async$self = this, t1, modifiableNode;
  67413. var $async$visitCssImport$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  67414. if ($async$errorCode === 1)
  67415. return A._asyncRethrow($async$result, $async$completer);
  67416. while (true)
  67417. switch ($async$goto) {
  67418. case 0:
  67419. // Function start
  67420. modifiableNode = new A.ModifiableCssImport(node.url, node.modifiers, node.span);
  67421. 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"))
  67422. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(modifiableNode);
  67423. 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)) {
  67424. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__root, "_root").addChild$1(modifiableNode);
  67425. $async$self._async_evaluate$__endOfImports = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__endOfImports, "_endOfImports") + 1;
  67426. } else {
  67427. t1 = $async$self._async_evaluate$_outOfOrderImports;
  67428. (t1 == null ? $async$self._async_evaluate$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport) : t1).push(modifiableNode);
  67429. }
  67430. // implicit return
  67431. return A._asyncReturn(null, $async$completer);
  67432. }
  67433. });
  67434. return A._asyncStartSync($async$visitCssImport$1, $async$completer);
  67435. },
  67436. visitCssKeyframeBlock$1(node) {
  67437. return this.visitCssKeyframeBlock$body$_EvaluateVisitor(node);
  67438. },
  67439. visitCssKeyframeBlock$body$_EvaluateVisitor(node) {
  67440. var $async$goto = 0,
  67441. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  67442. $async$self = this;
  67443. var $async$visitCssKeyframeBlock$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  67444. if ($async$errorCode === 1)
  67445. return A._asyncRethrow($async$result, $async$completer);
  67446. while (true)
  67447. switch ($async$goto) {
  67448. case 0:
  67449. // Function start
  67450. $async$goto = 2;
  67451. 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);
  67452. case 2:
  67453. // returning from await.
  67454. // implicit return
  67455. return A._asyncReturn(null, $async$completer);
  67456. }
  67457. });
  67458. return A._asyncStartSync($async$visitCssKeyframeBlock$1, $async$completer);
  67459. },
  67460. visitCssMediaRule$1(node) {
  67461. return this.visitCssMediaRule$body$_EvaluateVisitor(node);
  67462. },
  67463. visitCssMediaRule$body$_EvaluateVisitor(node) {
  67464. var $async$goto = 0,
  67465. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  67466. $async$returnValue, $async$self = this, mergedQueries, t1, mergedSources, t2, t3;
  67467. var $async$visitCssMediaRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  67468. if ($async$errorCode === 1)
  67469. return A._asyncRethrow($async$result, $async$completer);
  67470. while (true)
  67471. switch ($async$goto) {
  67472. case 0:
  67473. // Function start
  67474. if ($async$self._async_evaluate$_declarationName != null)
  67475. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Media_, node.span));
  67476. mergedQueries = A.NullableExtension_andThen($async$self._async_evaluate$_mediaQueries, new A._EvaluateVisitor_visitCssMediaRule_closure2($async$self, node));
  67477. t1 = mergedQueries == null;
  67478. if (!t1 && J.get$isEmpty$asx(mergedQueries)) {
  67479. // goto return
  67480. $async$goto = 1;
  67481. break;
  67482. }
  67483. if (t1)
  67484. mergedSources = B.Set_empty1;
  67485. else {
  67486. t2 = $async$self._async_evaluate$_mediaQuerySources;
  67487. t2.toString;
  67488. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery);
  67489. t3 = $async$self._async_evaluate$_mediaQueries;
  67490. t3.toString;
  67491. t2.addAll$1(0, t3);
  67492. t2.addAll$1(0, node.queries);
  67493. mergedSources = t2;
  67494. }
  67495. t1 = t1 ? node.queries : mergedQueries;
  67496. $async$goto = 3;
  67497. 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);
  67498. case 3:
  67499. // returning from await.
  67500. case 1:
  67501. // return
  67502. return A._asyncReturn($async$returnValue, $async$completer);
  67503. }
  67504. });
  67505. return A._asyncStartSync($async$visitCssMediaRule$1, $async$completer);
  67506. },
  67507. visitCssStyleRule$1(node) {
  67508. return this.visitCssStyleRule$body$_EvaluateVisitor(node);
  67509. },
  67510. visitCssStyleRule$body$_EvaluateVisitor(node) {
  67511. var $async$goto = 0,
  67512. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  67513. $async$self = this, t1, styleRule, t2, nest, t3, originalSelector, rule, oldAtRootExcludingStyleRule, _0_1, lastChild;
  67514. var $async$visitCssStyleRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  67515. if ($async$errorCode === 1)
  67516. return A._asyncRethrow($async$result, $async$completer);
  67517. while (true)
  67518. switch ($async$goto) {
  67519. case 0:
  67520. // Function start
  67521. if ($async$self._async_evaluate$_declarationName != null)
  67522. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Style_n, node.span));
  67523. else if ($async$self._async_evaluate$_inKeyframes && $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent") instanceof A.ModifiableCssKeyframeBlock)
  67524. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Style_k, node.span));
  67525. t1 = $async$self._async_evaluate$_atRootExcludingStyleRule;
  67526. styleRule = t1 ? null : $async$self._async_evaluate$_styleRuleIgnoringAtRoot;
  67527. t2 = t1 ? null : $async$self._async_evaluate$_styleRuleIgnoringAtRoot;
  67528. t2 = t2 == null ? null : t2.fromPlainCss;
  67529. nest = t2 !== true;
  67530. t2 = node._style_rule$_selector._box$_inner;
  67531. if (nest) {
  67532. t2 = t2.value;
  67533. t3 = styleRule == null ? null : styleRule.originalSelector;
  67534. originalSelector = t2.nestWithin$3$implicitParent$preserveParentSelectors(t3, !t1, node.fromPlainCss);
  67535. } else
  67536. originalSelector = t2.value;
  67537. 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);
  67538. oldAtRootExcludingStyleRule = $async$self._async_evaluate$_atRootExcludingStyleRule;
  67539. $async$self._async_evaluate$_atRootExcludingStyleRule = false;
  67540. t1 = nest ? new A._EvaluateVisitor_visitCssStyleRule_closure1() : null;
  67541. $async$goto = 2;
  67542. 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);
  67543. case 2:
  67544. // returning from await.
  67545. $async$self._async_evaluate$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  67546. t1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").children._collection$_source;
  67547. t2 = J.getInterceptor$asx(t1);
  67548. _0_1 = t2.get$length(t1);
  67549. if (_0_1 >= 1) {
  67550. lastChild = t2.elementAt$1(t1, _0_1 - 1);
  67551. t1 = styleRule == null;
  67552. } else {
  67553. lastChild = null;
  67554. t1 = false;
  67555. }
  67556. if (t1)
  67557. lastChild.isGroupEnd = true;
  67558. // implicit return
  67559. return A._asyncReturn(null, $async$completer);
  67560. }
  67561. });
  67562. return A._asyncStartSync($async$visitCssStyleRule$1, $async$completer);
  67563. },
  67564. visitCssStylesheet$1(node) {
  67565. return this.visitCssStylesheet$body$_EvaluateVisitor(node);
  67566. },
  67567. visitCssStylesheet$body$_EvaluateVisitor(node) {
  67568. var $async$goto = 0,
  67569. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  67570. $async$self = this, t1;
  67571. var $async$visitCssStylesheet$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  67572. if ($async$errorCode === 1)
  67573. return A._asyncRethrow($async$result, $async$completer);
  67574. while (true)
  67575. switch ($async$goto) {
  67576. case 0:
  67577. // Function start
  67578. t1 = J.get$iterator$ax(node.get$children(node));
  67579. case 2:
  67580. // for condition
  67581. if (!t1.moveNext$0()) {
  67582. // goto after for
  67583. $async$goto = 3;
  67584. break;
  67585. }
  67586. $async$goto = 4;
  67587. return A._asyncAwait(t1.get$current(t1).accept$1($async$self), $async$visitCssStylesheet$1);
  67588. case 4:
  67589. // returning from await.
  67590. // goto for condition
  67591. $async$goto = 2;
  67592. break;
  67593. case 3:
  67594. // after for
  67595. // implicit return
  67596. return A._asyncReturn(null, $async$completer);
  67597. }
  67598. });
  67599. return A._asyncStartSync($async$visitCssStylesheet$1, $async$completer);
  67600. },
  67601. visitCssSupportsRule$1(node) {
  67602. return this.visitCssSupportsRule$body$_EvaluateVisitor(node);
  67603. },
  67604. visitCssSupportsRule$body$_EvaluateVisitor(node) {
  67605. var $async$goto = 0,
  67606. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  67607. $async$self = this;
  67608. var $async$visitCssSupportsRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  67609. if ($async$errorCode === 1)
  67610. return A._asyncRethrow($async$result, $async$completer);
  67611. while (true)
  67612. switch ($async$goto) {
  67613. case 0:
  67614. // Function start
  67615. if ($async$self._async_evaluate$_declarationName != null)
  67616. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Suppor, node.span));
  67617. $async$goto = 2;
  67618. 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);
  67619. case 2:
  67620. // returning from await.
  67621. // implicit return
  67622. return A._asyncReturn(null, $async$completer);
  67623. }
  67624. });
  67625. return A._asyncStartSync($async$visitCssSupportsRule$1, $async$completer);
  67626. },
  67627. _async_evaluate$_handleReturn$1$2(list, callback) {
  67628. return this._handleReturn$body$_EvaluateVisitor(list, callback);
  67629. },
  67630. _async_evaluate$_handleReturn$2(list, callback) {
  67631. return this._async_evaluate$_handleReturn$1$2(list, callback, type$.dynamic);
  67632. },
  67633. _handleReturn$body$_EvaluateVisitor(list, callback) {
  67634. var $async$goto = 0,
  67635. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  67636. $async$returnValue, t1, _i, _0_0;
  67637. var $async$_async_evaluate$_handleReturn$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  67638. if ($async$errorCode === 1)
  67639. return A._asyncRethrow($async$result, $async$completer);
  67640. while (true)
  67641. switch ($async$goto) {
  67642. case 0:
  67643. // Function start
  67644. t1 = list.length, _i = 0;
  67645. case 3:
  67646. // for condition
  67647. if (!(_i < list.length)) {
  67648. // goto after for
  67649. $async$goto = 5;
  67650. break;
  67651. }
  67652. $async$goto = 6;
  67653. return A._asyncAwait(callback.call$1(list[_i]), $async$_async_evaluate$_handleReturn$1$2);
  67654. case 6:
  67655. // returning from await.
  67656. _0_0 = $async$result;
  67657. if (_0_0 != null) {
  67658. $async$returnValue = _0_0;
  67659. // goto return
  67660. $async$goto = 1;
  67661. break;
  67662. }
  67663. case 4:
  67664. // for update
  67665. list.length === t1 || (0, A.throwConcurrentModificationError)(list), ++_i;
  67666. // goto for condition
  67667. $async$goto = 3;
  67668. break;
  67669. case 5:
  67670. // after for
  67671. $async$returnValue = null;
  67672. // goto return
  67673. $async$goto = 1;
  67674. break;
  67675. case 1:
  67676. // return
  67677. return A._asyncReturn($async$returnValue, $async$completer);
  67678. }
  67679. });
  67680. return A._asyncStartSync($async$_async_evaluate$_handleReturn$1$2, $async$completer);
  67681. },
  67682. _async_evaluate$_withEnvironment$1$2(environment, callback, $T) {
  67683. return this._withEnvironment$body$_EvaluateVisitor(environment, callback, $T, $T);
  67684. },
  67685. _withEnvironment$body$_EvaluateVisitor(environment, callback, $T, $async$type) {
  67686. var $async$goto = 0,
  67687. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  67688. $async$returnValue, $async$self = this, result, oldEnvironment;
  67689. var $async$_async_evaluate$_withEnvironment$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  67690. if ($async$errorCode === 1)
  67691. return A._asyncRethrow($async$result, $async$completer);
  67692. while (true)
  67693. switch ($async$goto) {
  67694. case 0:
  67695. // Function start
  67696. oldEnvironment = $async$self._async_evaluate$_environment;
  67697. $async$self._async_evaluate$_environment = environment;
  67698. $async$goto = 3;
  67699. return A._asyncAwait(callback.call$0(), $async$_async_evaluate$_withEnvironment$1$2);
  67700. case 3:
  67701. // returning from await.
  67702. result = $async$result;
  67703. $async$self._async_evaluate$_environment = oldEnvironment;
  67704. $async$returnValue = result;
  67705. // goto return
  67706. $async$goto = 1;
  67707. break;
  67708. case 1:
  67709. // return
  67710. return A._asyncReturn($async$returnValue, $async$completer);
  67711. }
  67712. });
  67713. return A._asyncStartSync($async$_async_evaluate$_withEnvironment$1$2, $async$completer);
  67714. },
  67715. _async_evaluate$_interpolationToValue$3$trim$warnForColor(interpolation, trim, warnForColor) {
  67716. return this._interpolationToValue$body$_EvaluateVisitor(interpolation, trim, warnForColor);
  67717. },
  67718. _async_evaluate$_interpolationToValue$1(interpolation) {
  67719. return this._async_evaluate$_interpolationToValue$3$trim$warnForColor(interpolation, false, false);
  67720. },
  67721. _async_evaluate$_interpolationToValue$2$warnForColor(interpolation, warnForColor) {
  67722. return this._async_evaluate$_interpolationToValue$3$trim$warnForColor(interpolation, false, warnForColor);
  67723. },
  67724. _interpolationToValue$body$_EvaluateVisitor(interpolation, trim, warnForColor) {
  67725. var $async$goto = 0,
  67726. $async$completer = A._makeAsyncAwaitCompleter(type$.CssValue_String),
  67727. $async$returnValue, $async$self = this, result, t1;
  67728. var $async$_async_evaluate$_interpolationToValue$3$trim$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  67729. if ($async$errorCode === 1)
  67730. return A._asyncRethrow($async$result, $async$completer);
  67731. while (true)
  67732. switch ($async$goto) {
  67733. case 0:
  67734. // Function start
  67735. $async$goto = 3;
  67736. return A._asyncAwait($async$self._async_evaluate$_performInterpolation$2$warnForColor(interpolation, warnForColor), $async$_async_evaluate$_interpolationToValue$3$trim$warnForColor);
  67737. case 3:
  67738. // returning from await.
  67739. result = $async$result;
  67740. t1 = trim ? A.trimAscii(result, true) : result;
  67741. $async$returnValue = new A.CssValue(t1, interpolation.span, type$.CssValue_String);
  67742. // goto return
  67743. $async$goto = 1;
  67744. break;
  67745. case 1:
  67746. // return
  67747. return A._asyncReturn($async$returnValue, $async$completer);
  67748. }
  67749. });
  67750. return A._asyncStartSync($async$_async_evaluate$_interpolationToValue$3$trim$warnForColor, $async$completer);
  67751. },
  67752. _async_evaluate$_performInterpolation$2$warnForColor(interpolation, warnForColor) {
  67753. return this._performInterpolation$body$_EvaluateVisitor(interpolation, warnForColor);
  67754. },
  67755. _async_evaluate$_performInterpolation$1(interpolation) {
  67756. return this._async_evaluate$_performInterpolation$2$warnForColor(interpolation, false);
  67757. },
  67758. _performInterpolation$body$_EvaluateVisitor(interpolation, warnForColor) {
  67759. var $async$goto = 0,
  67760. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  67761. $async$returnValue, $async$self = this;
  67762. var $async$_async_evaluate$_performInterpolation$2$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  67763. if ($async$errorCode === 1)
  67764. return A._asyncRethrow($async$result, $async$completer);
  67765. while (true)
  67766. switch ($async$goto) {
  67767. case 0:
  67768. // Function start
  67769. $async$goto = 3;
  67770. return A._asyncAwait($async$self._async_evaluate$_performInterpolationHelper$3$sourceMap$warnForColor(interpolation, false, warnForColor), $async$_async_evaluate$_performInterpolation$2$warnForColor);
  67771. case 3:
  67772. // returning from await.
  67773. $async$returnValue = $async$result._0;
  67774. // goto return
  67775. $async$goto = 1;
  67776. break;
  67777. case 1:
  67778. // return
  67779. return A._asyncReturn($async$returnValue, $async$completer);
  67780. }
  67781. });
  67782. return A._asyncStartSync($async$_async_evaluate$_performInterpolation$2$warnForColor, $async$completer);
  67783. },
  67784. _async_evaluate$_performInterpolationWithMap$2$warnForColor(interpolation, warnForColor) {
  67785. return this._performInterpolationWithMap$body$_EvaluateVisitor(interpolation, true);
  67786. },
  67787. _performInterpolationWithMap$body$_EvaluateVisitor(interpolation, warnForColor) {
  67788. var $async$goto = 0,
  67789. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_String_and_InterpolationMap),
  67790. $async$returnValue, $async$self = this, _0_0, result, map;
  67791. var $async$_async_evaluate$_performInterpolationWithMap$2$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  67792. if ($async$errorCode === 1)
  67793. return A._asyncRethrow($async$result, $async$completer);
  67794. while (true)
  67795. switch ($async$goto) {
  67796. case 0:
  67797. // Function start
  67798. $async$goto = 3;
  67799. return A._asyncAwait($async$self._async_evaluate$_performInterpolationHelper$3$sourceMap$warnForColor(interpolation, true, true), $async$_async_evaluate$_performInterpolationWithMap$2$warnForColor);
  67800. case 3:
  67801. // returning from await.
  67802. _0_0 = $async$result;
  67803. result = _0_0._0;
  67804. map = _0_0._1;
  67805. map.toString;
  67806. $async$returnValue = new A._Record_2(result, map);
  67807. // goto return
  67808. $async$goto = 1;
  67809. break;
  67810. case 1:
  67811. // return
  67812. return A._asyncReturn($async$returnValue, $async$completer);
  67813. }
  67814. });
  67815. return A._asyncStartSync($async$_async_evaluate$_performInterpolationWithMap$2$warnForColor, $async$completer);
  67816. },
  67817. _async_evaluate$_performInterpolationHelper$3$sourceMap$warnForColor(interpolation, sourceMap, warnForColor) {
  67818. return this._performInterpolationHelper$body$_EvaluateVisitor(interpolation, sourceMap, warnForColor);
  67819. },
  67820. _performInterpolationHelper$body$_EvaluateVisitor(interpolation, sourceMap, warnForColor) {
  67821. var $async$goto = 0,
  67822. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_String_and_nullable_InterpolationMap),
  67823. $async$returnValue, $async$self = this, t1, t2, t3, t4, t5, t6, t7, first, _i, t8, value, result, t9, result0, targetLocations, oldInSupportsDeclaration;
  67824. var $async$_async_evaluate$_performInterpolationHelper$3$sourceMap$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  67825. if ($async$errorCode === 1)
  67826. return A._asyncRethrow($async$result, $async$completer);
  67827. while (true)
  67828. switch ($async$goto) {
  67829. case 0:
  67830. // Function start
  67831. targetLocations = sourceMap ? A._setArrayType([], type$.JSArray_SourceLocation) : null;
  67832. oldInSupportsDeclaration = $async$self._async_evaluate$_inSupportsDeclaration;
  67833. $async$self._async_evaluate$_inSupportsDeclaration = false;
  67834. t1 = interpolation.contents, t2 = t1.length, t3 = type$.Expression, t4 = targetLocations == null, t5 = type$.JSArray_Object, t6 = interpolation.span, t7 = type$.Object, first = true, _i = 0, t8 = "";
  67835. case 3:
  67836. // for condition
  67837. if (!(_i < t2)) {
  67838. // goto after for
  67839. $async$goto = 5;
  67840. break;
  67841. }
  67842. value = t1[_i];
  67843. if (!first)
  67844. if (!t4)
  67845. targetLocations.push(A.SourceLocation$(t8.length, null, null, null));
  67846. if (typeof value == "string") {
  67847. t8 += value;
  67848. // goto for update
  67849. $async$goto = 4;
  67850. break;
  67851. }
  67852. t3._as(value);
  67853. $async$goto = 6;
  67854. return A._asyncAwait(value.accept$1($async$self), $async$_async_evaluate$_performInterpolationHelper$3$sourceMap$warnForColor);
  67855. case 6:
  67856. // returning from await.
  67857. result = $async$result;
  67858. if (warnForColor && $.$get$namesByColor().containsKey$1(result)) {
  67859. t9 = A._setArrayType([""], t5);
  67860. result0 = A.List_List$from(t9, false, t7);
  67861. result0.fixed$length = Array;
  67862. result0.immutable$list = Array;
  67863. result0 = new A.Interpolation(result0, t6);
  67864. result0.Interpolation$2(t9, t6);
  67865. t9 = $.$get$namesByColor();
  67866. $async$self._async_evaluate$_warn$2(string$.You_pr + A.S(t9.$index(0, result)) + string$.x20in_in + result.toString$0(0) + string$.x2c_whicw + A.S(t9.$index(0, result)) + string$.x22x29__If + new A.BinaryOperationExpression(B.BinaryOperator_u15, new A.StringExpression(result0, true), value, false).toString$0(0) + "'.", value.get$span(value));
  67867. }
  67868. t8 += $async$self._async_evaluate$_serialize$3$quote(result, value, false);
  67869. case 4:
  67870. // for update
  67871. ++_i, first = false;
  67872. // goto for condition
  67873. $async$goto = 3;
  67874. break;
  67875. case 5:
  67876. // after for
  67877. $async$self._async_evaluate$_inSupportsDeclaration = oldInSupportsDeclaration;
  67878. $async$returnValue = new A._Record_2(t8.charCodeAt(0) == 0 ? t8 : t8, A.NullableExtension_andThen(targetLocations, new A._EvaluateVisitor__performInterpolationHelper_closure0(interpolation)));
  67879. // goto return
  67880. $async$goto = 1;
  67881. break;
  67882. case 1:
  67883. // return
  67884. return A._asyncReturn($async$returnValue, $async$completer);
  67885. }
  67886. });
  67887. return A._asyncStartSync($async$_async_evaluate$_performInterpolationHelper$3$sourceMap$warnForColor, $async$completer);
  67888. },
  67889. _evaluateToCss$2$quote(expression, quote) {
  67890. return this._evaluateToCss$body$_EvaluateVisitor(expression, quote);
  67891. },
  67892. _evaluateToCss$1(expression) {
  67893. return this._evaluateToCss$2$quote(expression, true);
  67894. },
  67895. _evaluateToCss$body$_EvaluateVisitor(expression, quote) {
  67896. var $async$goto = 0,
  67897. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  67898. $async$returnValue, $async$self = this, t1;
  67899. var $async$_evaluateToCss$2$quote = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  67900. if ($async$errorCode === 1)
  67901. return A._asyncRethrow($async$result, $async$completer);
  67902. while (true)
  67903. switch ($async$goto) {
  67904. case 0:
  67905. // Function start
  67906. t1 = expression.accept$1($async$self);
  67907. $async$goto = 3;
  67908. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$_evaluateToCss$2$quote);
  67909. case 3:
  67910. // returning from await.
  67911. $async$returnValue = $async$self._async_evaluate$_serialize$3$quote($async$result, expression, quote);
  67912. // goto return
  67913. $async$goto = 1;
  67914. break;
  67915. case 1:
  67916. // return
  67917. return A._asyncReturn($async$returnValue, $async$completer);
  67918. }
  67919. });
  67920. return A._asyncStartSync($async$_evaluateToCss$2$quote, $async$completer);
  67921. },
  67922. _async_evaluate$_serialize$3$quote(value, nodeWithSpan, quote) {
  67923. return this._async_evaluate$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__serialize_closure0(value, quote));
  67924. },
  67925. _async_evaluate$_serialize$2(value, nodeWithSpan) {
  67926. return this._async_evaluate$_serialize$3$quote(value, nodeWithSpan, true);
  67927. },
  67928. _async_evaluate$_expressionNode$1(expression) {
  67929. var t1;
  67930. if (expression instanceof A.VariableExpression) {
  67931. t1 = this._async_evaluate$_addExceptionSpan$2(expression, new A._EvaluateVisitor__expressionNode_closure0(this, expression));
  67932. return t1 == null ? expression : t1;
  67933. } else
  67934. return expression;
  67935. },
  67936. _async_evaluate$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, through, $S, $T) {
  67937. return this._withParent$body$_EvaluateVisitor(node, callback, scopeWhen, through, $S, $T, $T);
  67938. },
  67939. _async_evaluate$_withParent$2$2(node, callback, $S, $T) {
  67940. return this._async_evaluate$_withParent$2$4$scopeWhen$through(node, callback, true, null, $S, $T);
  67941. },
  67942. _async_evaluate$_withParent$2$3$scopeWhen(node, callback, scopeWhen, $S, $T) {
  67943. return this._async_evaluate$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, null, $S, $T);
  67944. },
  67945. _withParent$body$_EvaluateVisitor(node, callback, scopeWhen, through, $S, $T, $async$type) {
  67946. var $async$goto = 0,
  67947. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  67948. $async$returnValue, $async$self = this, t1, result;
  67949. var $async$_async_evaluate$_withParent$2$4$scopeWhen$through = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  67950. if ($async$errorCode === 1)
  67951. return A._asyncRethrow($async$result, $async$completer);
  67952. while (true)
  67953. switch ($async$goto) {
  67954. case 0:
  67955. // Function start
  67956. $async$self._async_evaluate$_addChild$2$through(node, through);
  67957. t1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent");
  67958. $async$self._async_evaluate$__parent = node;
  67959. $async$goto = 3;
  67960. return A._asyncAwait($async$self._async_evaluate$_environment.scope$1$2$when(callback, scopeWhen, $T), $async$_async_evaluate$_withParent$2$4$scopeWhen$through);
  67961. case 3:
  67962. // returning from await.
  67963. result = $async$result;
  67964. $async$self._async_evaluate$__parent = t1;
  67965. $async$returnValue = result;
  67966. // goto return
  67967. $async$goto = 1;
  67968. break;
  67969. case 1:
  67970. // return
  67971. return A._asyncReturn($async$returnValue, $async$completer);
  67972. }
  67973. });
  67974. return A._asyncStartSync($async$_async_evaluate$_withParent$2$4$scopeWhen$through, $async$completer);
  67975. },
  67976. _async_evaluate$_addChild$2$through(node, through) {
  67977. var _0_0, grandparent, t1,
  67978. $parent = this._async_evaluate$_assertInModule$2(this._async_evaluate$__parent, "__parent");
  67979. if (through != null) {
  67980. for (; through.call$1($parent); $parent = _0_0) {
  67981. _0_0 = $parent._parent;
  67982. if (_0_0 == null)
  67983. throw A.wrapException(A.ArgumentError$(string$.throug + node.toString$0(0) + ".", null));
  67984. }
  67985. if ($parent.get$hasFollowingSibling()) {
  67986. grandparent = $parent._parent;
  67987. t1 = grandparent.children;
  67988. if ($parent.equalsIgnoringChildren$1(t1.get$last(t1)))
  67989. $parent = type$.ModifiableCssParentNode._as(t1.get$last(t1));
  67990. else {
  67991. $parent = $parent.copyWithoutChildren$0();
  67992. grandparent.addChild$1($parent);
  67993. }
  67994. }
  67995. }
  67996. $parent.addChild$1(node);
  67997. },
  67998. _async_evaluate$_addChild$1(node) {
  67999. return this._async_evaluate$_addChild$2$through(node, null);
  68000. },
  68001. _async_evaluate$_withStyleRule$1$2(rule, callback, $T) {
  68002. return this._withStyleRule$body$_EvaluateVisitor(rule, callback, $T, $T);
  68003. },
  68004. _withStyleRule$body$_EvaluateVisitor(rule, callback, $T, $async$type) {
  68005. var $async$goto = 0,
  68006. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  68007. $async$returnValue, $async$self = this, result, oldRule;
  68008. var $async$_async_evaluate$_withStyleRule$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68009. if ($async$errorCode === 1)
  68010. return A._asyncRethrow($async$result, $async$completer);
  68011. while (true)
  68012. switch ($async$goto) {
  68013. case 0:
  68014. // Function start
  68015. oldRule = $async$self._async_evaluate$_styleRuleIgnoringAtRoot;
  68016. $async$self._async_evaluate$_styleRuleIgnoringAtRoot = rule;
  68017. $async$goto = 3;
  68018. return A._asyncAwait(callback.call$0(), $async$_async_evaluate$_withStyleRule$1$2);
  68019. case 3:
  68020. // returning from await.
  68021. result = $async$result;
  68022. $async$self._async_evaluate$_styleRuleIgnoringAtRoot = oldRule;
  68023. $async$returnValue = result;
  68024. // goto return
  68025. $async$goto = 1;
  68026. break;
  68027. case 1:
  68028. // return
  68029. return A._asyncReturn($async$returnValue, $async$completer);
  68030. }
  68031. });
  68032. return A._asyncStartSync($async$_async_evaluate$_withStyleRule$1$2, $async$completer);
  68033. },
  68034. _async_evaluate$_withMediaQueries$1$3(queries, sources, callback, $T) {
  68035. return this._withMediaQueries$body$_EvaluateVisitor(queries, sources, callback, $T, $T);
  68036. },
  68037. _withMediaQueries$body$_EvaluateVisitor(queries, sources, callback, $T, $async$type) {
  68038. var $async$goto = 0,
  68039. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  68040. $async$returnValue, $async$self = this, result, oldMediaQueries, oldSources;
  68041. var $async$_async_evaluate$_withMediaQueries$1$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68042. if ($async$errorCode === 1)
  68043. return A._asyncRethrow($async$result, $async$completer);
  68044. while (true)
  68045. switch ($async$goto) {
  68046. case 0:
  68047. // Function start
  68048. oldMediaQueries = $async$self._async_evaluate$_mediaQueries;
  68049. oldSources = $async$self._async_evaluate$_mediaQuerySources;
  68050. $async$self._async_evaluate$_mediaQueries = queries;
  68051. $async$self._async_evaluate$_mediaQuerySources = sources;
  68052. $async$goto = 3;
  68053. return A._asyncAwait(callback.call$0(), $async$_async_evaluate$_withMediaQueries$1$3);
  68054. case 3:
  68055. // returning from await.
  68056. result = $async$result;
  68057. $async$self._async_evaluate$_mediaQueries = oldMediaQueries;
  68058. $async$self._async_evaluate$_mediaQuerySources = oldSources;
  68059. $async$returnValue = result;
  68060. // goto return
  68061. $async$goto = 1;
  68062. break;
  68063. case 1:
  68064. // return
  68065. return A._asyncReturn($async$returnValue, $async$completer);
  68066. }
  68067. });
  68068. return A._asyncStartSync($async$_async_evaluate$_withMediaQueries$1$3, $async$completer);
  68069. },
  68070. _async_evaluate$_withStackFrame$1$3(member, nodeWithSpan, callback, $T) {
  68071. return this._withStackFrame$body$_EvaluateVisitor(member, nodeWithSpan, callback, $T, $T);
  68072. },
  68073. _withStackFrame$body$_EvaluateVisitor(member, nodeWithSpan, callback, $T, $async$type) {
  68074. var $async$goto = 0,
  68075. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  68076. $async$returnValue, $async$self = this, oldMember, result, t1;
  68077. var $async$_async_evaluate$_withStackFrame$1$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68078. if ($async$errorCode === 1)
  68079. return A._asyncRethrow($async$result, $async$completer);
  68080. while (true)
  68081. switch ($async$goto) {
  68082. case 0:
  68083. // Function start
  68084. t1 = $async$self._async_evaluate$_stack;
  68085. t1.push(new A._Record_2($async$self._async_evaluate$_member, nodeWithSpan));
  68086. oldMember = $async$self._async_evaluate$_member;
  68087. $async$self._async_evaluate$_member = member;
  68088. $async$goto = 3;
  68089. return A._asyncAwait(callback.call$0(), $async$_async_evaluate$_withStackFrame$1$3);
  68090. case 3:
  68091. // returning from await.
  68092. result = $async$result;
  68093. $async$self._async_evaluate$_member = oldMember;
  68094. t1.pop();
  68095. $async$returnValue = result;
  68096. // goto return
  68097. $async$goto = 1;
  68098. break;
  68099. case 1:
  68100. // return
  68101. return A._asyncReturn($async$returnValue, $async$completer);
  68102. }
  68103. });
  68104. return A._asyncStartSync($async$_async_evaluate$_withStackFrame$1$3, $async$completer);
  68105. },
  68106. _async_evaluate$_withoutSlash$2(value, nodeForSpan) {
  68107. var t1;
  68108. if (value instanceof A.SassNumber)
  68109. t1 = value.asSlash != null;
  68110. else
  68111. t1 = false;
  68112. if (t1)
  68113. 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_oJv);
  68114. return value.withoutSlash$0();
  68115. },
  68116. _async_evaluate$_stackFrame$2(member, span) {
  68117. return A.frameForSpan(span, member, A.NullableExtension_andThen(span.get$sourceUrl(span), new A._EvaluateVisitor__stackFrame_closure0(this)));
  68118. },
  68119. _async_evaluate$_stackTrace$1(span) {
  68120. var t2, t3, _i, t4, nodeWithSpan, _this = this,
  68121. t1 = A._setArrayType([], type$.JSArray_Frame);
  68122. for (t2 = _this._async_evaluate$_stack, t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  68123. t4 = t2[_i];
  68124. nodeWithSpan = t4._1;
  68125. t1.push(_this._async_evaluate$_stackFrame$2(t4._0, nodeWithSpan.get$span(nodeWithSpan)));
  68126. }
  68127. if (span != null)
  68128. t1.push(_this._async_evaluate$_stackFrame$2(_this._async_evaluate$_member, span));
  68129. return A.Trace$(new A.ReversedListIterable(t1, type$.ReversedListIterable_Frame), null);
  68130. },
  68131. _async_evaluate$_stackTrace$0() {
  68132. return this._async_evaluate$_stackTrace$1(null);
  68133. },
  68134. _async_evaluate$_warn$3(message, span, deprecation) {
  68135. var t1, trace, _this = this;
  68136. if (_this._async_evaluate$_quietDeps)
  68137. if (!_this._async_evaluate$_inDependency) {
  68138. t1 = _this._async_evaluate$_currentCallable;
  68139. t1 = t1 == null ? null : t1.inDependency;
  68140. t1 = t1 === true;
  68141. } else
  68142. t1 = true;
  68143. else
  68144. t1 = false;
  68145. if (t1)
  68146. return;
  68147. if (!_this._async_evaluate$_warningsEmitted.add$1(0, new A._Record_2(message, span)))
  68148. return;
  68149. trace = _this._async_evaluate$_stackTrace$1(span);
  68150. t1 = _this._async_evaluate$_logger;
  68151. if (deprecation == null)
  68152. t1.warn$3$span$trace(0, message, span, trace);
  68153. else
  68154. A.WarnForDeprecation_warnForDeprecation(t1, deprecation, message, span, trace);
  68155. },
  68156. _async_evaluate$_warn$2(message, span) {
  68157. return this._async_evaluate$_warn$3(message, span, null);
  68158. },
  68159. _async_evaluate$_exception$2(message, span) {
  68160. var t1, t2;
  68161. if (span == null) {
  68162. t1 = B.JSArray_methods.get$last(this._async_evaluate$_stack)._1;
  68163. t1 = t1.get$span(t1);
  68164. } else
  68165. t1 = span;
  68166. t2 = this._async_evaluate$_stackTrace$1(span);
  68167. return new A.SassRuntimeException(t2, B.Set_empty, message, t1);
  68168. },
  68169. _async_evaluate$_exception$1(message) {
  68170. return this._async_evaluate$_exception$2(message, null);
  68171. },
  68172. _async_evaluate$_multiSpanException$3(message, primaryLabel, secondaryLabels) {
  68173. var t1 = B.JSArray_methods.get$last(this._async_evaluate$_stack)._1;
  68174. return A.MultiSpanSassRuntimeException$(message, t1.get$span(t1), primaryLabel, secondaryLabels, this._async_evaluate$_stackTrace$0(), null);
  68175. },
  68176. _async_evaluate$_addExceptionSpan$1$2(nodeWithSpan, callback) {
  68177. var error, stackTrace, t1, exception,
  68178. addStackFrame = true;
  68179. try {
  68180. t1 = callback.call$0();
  68181. return t1;
  68182. } catch (exception) {
  68183. t1 = A.unwrapException(exception);
  68184. if (t1 instanceof A.SassScriptException) {
  68185. error = t1;
  68186. stackTrace = A.getTraceFromException(exception);
  68187. t1 = error.withSpan$1(nodeWithSpan.get$span(nodeWithSpan));
  68188. A.throwWithTrace(t1.withTrace$1(this._async_evaluate$_stackTrace$1(addStackFrame ? nodeWithSpan.get$span(nodeWithSpan) : null)), error, stackTrace);
  68189. } else
  68190. throw exception;
  68191. }
  68192. },
  68193. _async_evaluate$_addExceptionSpan$2(nodeWithSpan, callback) {
  68194. return this._async_evaluate$_addExceptionSpan$1$2(nodeWithSpan, callback, type$.dynamic);
  68195. },
  68196. _addExceptionSpanAsync$1$3$addStackFrame(nodeWithSpan, callback, addStackFrame, $T) {
  68197. return this._addExceptionSpanAsync$body$_EvaluateVisitor(nodeWithSpan, callback, addStackFrame, $T, $T);
  68198. },
  68199. _addExceptionSpanAsync$1$2(nodeWithSpan, callback, $T) {
  68200. return this._addExceptionSpanAsync$1$3$addStackFrame(nodeWithSpan, callback, true, $T);
  68201. },
  68202. _addExceptionSpanAsync$body$_EvaluateVisitor(nodeWithSpan, callback, addStackFrame, $T, $async$type) {
  68203. var $async$goto = 0,
  68204. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  68205. $async$returnValue, $async$handler = 2, $async$currentError, $async$self = this, error, stackTrace, t1, exception, $async$exception;
  68206. var $async$_addExceptionSpanAsync$1$3$addStackFrame = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68207. if ($async$errorCode === 1) {
  68208. $async$currentError = $async$result;
  68209. $async$goto = $async$handler;
  68210. }
  68211. while (true)
  68212. switch ($async$goto) {
  68213. case 0:
  68214. // Function start
  68215. $async$handler = 4;
  68216. t1 = callback.call$0();
  68217. $async$goto = 7;
  68218. return A._asyncAwait($T._eval$1("Future<0>")._is(t1) ? t1 : A._Future$value(t1, $T), $async$_addExceptionSpanAsync$1$3$addStackFrame);
  68219. case 7:
  68220. // returning from await.
  68221. t1 = $async$result;
  68222. $async$returnValue = t1;
  68223. // goto return
  68224. $async$goto = 1;
  68225. break;
  68226. $async$handler = 2;
  68227. // goto after finally
  68228. $async$goto = 6;
  68229. break;
  68230. case 4:
  68231. // catch
  68232. $async$handler = 3;
  68233. $async$exception = $async$currentError;
  68234. t1 = A.unwrapException($async$exception);
  68235. if (t1 instanceof A.SassScriptException) {
  68236. error = t1;
  68237. stackTrace = A.getTraceFromException($async$exception);
  68238. t1 = error.withSpan$1(nodeWithSpan.get$span(nodeWithSpan));
  68239. A.throwWithTrace(t1.withTrace$1($async$self._async_evaluate$_stackTrace$1(addStackFrame ? nodeWithSpan.get$span(nodeWithSpan) : null)), error, stackTrace);
  68240. } else
  68241. throw $async$exception;
  68242. // goto after finally
  68243. $async$goto = 6;
  68244. break;
  68245. case 3:
  68246. // uncaught
  68247. // goto rethrow
  68248. $async$goto = 2;
  68249. break;
  68250. case 6:
  68251. // after finally
  68252. case 1:
  68253. // return
  68254. return A._asyncReturn($async$returnValue, $async$completer);
  68255. case 2:
  68256. // rethrow
  68257. return A._asyncRethrow($async$currentError, $async$completer);
  68258. }
  68259. });
  68260. return A._asyncStartSync($async$_addExceptionSpanAsync$1$3$addStackFrame, $async$completer);
  68261. },
  68262. _async_evaluate$_addExceptionTrace$1$1(callback, $T) {
  68263. return this._addExceptionTrace$body$_EvaluateVisitor(callback, $T, $T);
  68264. },
  68265. _addExceptionTrace$body$_EvaluateVisitor(callback, $T, $async$type) {
  68266. var $async$goto = 0,
  68267. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  68268. $async$returnValue, $async$handler = 2, $async$currentError, $async$self = this, error, stackTrace, t1, exception, t2, $async$exception;
  68269. var $async$_async_evaluate$_addExceptionTrace$1$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68270. if ($async$errorCode === 1) {
  68271. $async$currentError = $async$result;
  68272. $async$goto = $async$handler;
  68273. }
  68274. while (true)
  68275. switch ($async$goto) {
  68276. case 0:
  68277. // Function start
  68278. $async$handler = 4;
  68279. t1 = callback.call$0();
  68280. $async$goto = 7;
  68281. return A._asyncAwait($T._eval$1("Future<0>")._is(t1) ? t1 : A._Future$value(t1, $T), $async$_async_evaluate$_addExceptionTrace$1$1);
  68282. case 7:
  68283. // returning from await.
  68284. t1 = $async$result;
  68285. $async$returnValue = t1;
  68286. // goto return
  68287. $async$goto = 1;
  68288. break;
  68289. $async$handler = 2;
  68290. // goto after finally
  68291. $async$goto = 6;
  68292. break;
  68293. case 4:
  68294. // catch
  68295. $async$handler = 3;
  68296. $async$exception = $async$currentError;
  68297. t1 = A.unwrapException($async$exception);
  68298. if (type$.SassRuntimeException._is(t1))
  68299. throw $async$exception;
  68300. else if (t1 instanceof A.SassException) {
  68301. error = t1;
  68302. stackTrace = A.getTraceFromException($async$exception);
  68303. t1 = error;
  68304. t2 = J.getInterceptor$z(t1);
  68305. A.throwWithTrace(error.withTrace$1($async$self._async_evaluate$_stackTrace$1(A.SourceSpanException.prototype.get$span.call(t2, t1))), error, stackTrace);
  68306. } else
  68307. throw $async$exception;
  68308. // goto after finally
  68309. $async$goto = 6;
  68310. break;
  68311. case 3:
  68312. // uncaught
  68313. // goto rethrow
  68314. $async$goto = 2;
  68315. break;
  68316. case 6:
  68317. // after finally
  68318. case 1:
  68319. // return
  68320. return A._asyncReturn($async$returnValue, $async$completer);
  68321. case 2:
  68322. // rethrow
  68323. return A._asyncRethrow($async$currentError, $async$completer);
  68324. }
  68325. });
  68326. return A._asyncStartSync($async$_async_evaluate$_addExceptionTrace$1$1, $async$completer);
  68327. },
  68328. _async_evaluate$_addErrorSpan$1$2(nodeWithSpan, callback, $T) {
  68329. return this._addErrorSpan$body$_EvaluateVisitor(nodeWithSpan, callback, $T, $T);
  68330. },
  68331. _addErrorSpan$body$_EvaluateVisitor(nodeWithSpan, callback, $T, $async$type) {
  68332. var $async$goto = 0,
  68333. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  68334. $async$returnValue, $async$handler = 2, $async$currentError, $async$self = this, error, stackTrace, t1, exception, t2, t3, $async$exception;
  68335. var $async$_async_evaluate$_addErrorSpan$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68336. if ($async$errorCode === 1) {
  68337. $async$currentError = $async$result;
  68338. $async$goto = $async$handler;
  68339. }
  68340. while (true)
  68341. switch ($async$goto) {
  68342. case 0:
  68343. // Function start
  68344. $async$handler = 4;
  68345. $async$goto = 7;
  68346. return A._asyncAwait(callback.call$0(), $async$_async_evaluate$_addErrorSpan$1$2);
  68347. case 7:
  68348. // returning from await.
  68349. t1 = $async$result;
  68350. $async$returnValue = t1;
  68351. // goto return
  68352. $async$goto = 1;
  68353. break;
  68354. $async$handler = 2;
  68355. // goto after finally
  68356. $async$goto = 6;
  68357. break;
  68358. case 4:
  68359. // catch
  68360. $async$handler = 3;
  68361. $async$exception = $async$currentError;
  68362. t1 = A.unwrapException($async$exception);
  68363. if (type$.SassRuntimeException._is(t1)) {
  68364. error = t1;
  68365. stackTrace = A.getTraceFromException($async$exception);
  68366. if (!B.JSString_methods.startsWith$1(J.get$span$z(error).get$text(), "@error"))
  68367. throw $async$exception;
  68368. t1 = error._span_exception$_message;
  68369. t2 = nodeWithSpan.get$span(nodeWithSpan);
  68370. t3 = $async$self._async_evaluate$_stackTrace$0();
  68371. A.throwWithTrace(new A.SassRuntimeException(t3, B.Set_empty, t1, t2), error, stackTrace);
  68372. } else
  68373. throw $async$exception;
  68374. // goto after finally
  68375. $async$goto = 6;
  68376. break;
  68377. case 3:
  68378. // uncaught
  68379. // goto rethrow
  68380. $async$goto = 2;
  68381. break;
  68382. case 6:
  68383. // after finally
  68384. case 1:
  68385. // return
  68386. return A._asyncReturn($async$returnValue, $async$completer);
  68387. case 2:
  68388. // rethrow
  68389. return A._asyncRethrow($async$currentError, $async$completer);
  68390. }
  68391. });
  68392. return A._asyncStartSync($async$_async_evaluate$_addErrorSpan$1$2, $async$completer);
  68393. }
  68394. };
  68395. A._EvaluateVisitor_closure12.prototype = {
  68396. call$1($arguments) {
  68397. var module, t2,
  68398. t1 = J.getInterceptor$asx($arguments),
  68399. variable = t1.$index($arguments, 0).assertString$1("name");
  68400. t1 = t1.$index($arguments, 1).get$realNull();
  68401. module = t1 == null ? null : t1.assertString$1("module");
  68402. t1 = this.$this._async_evaluate$_environment;
  68403. t2 = A.stringReplaceAllUnchecked(variable._string$_text, "_", "-");
  68404. return t1.globalVariableExists$2$namespace(t2, module == null ? null : module._string$_text) ? B.SassBoolean_true : B.SassBoolean_false;
  68405. },
  68406. $signature: 20
  68407. };
  68408. A._EvaluateVisitor_closure13.prototype = {
  68409. call$1($arguments) {
  68410. var variable = J.$index$asx($arguments, 0).assertString$1("name"),
  68411. t1 = this.$this._async_evaluate$_environment;
  68412. return t1.getVariable$1(A.stringReplaceAllUnchecked(variable._string$_text, "_", "-")) != null ? B.SassBoolean_true : B.SassBoolean_false;
  68413. },
  68414. $signature: 20
  68415. };
  68416. A._EvaluateVisitor_closure14.prototype = {
  68417. call$1($arguments) {
  68418. var module, t2, t3, t4,
  68419. t1 = J.getInterceptor$asx($arguments),
  68420. variable = t1.$index($arguments, 0).assertString$1("name");
  68421. t1 = t1.$index($arguments, 1).get$realNull();
  68422. module = t1 == null ? null : t1.assertString$1("module");
  68423. t1 = this.$this;
  68424. t2 = t1._async_evaluate$_environment;
  68425. t3 = variable._string$_text;
  68426. t4 = A.stringReplaceAllUnchecked(t3, "_", "-");
  68427. 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;
  68428. },
  68429. $signature: 20
  68430. };
  68431. A._EvaluateVisitor_closure15.prototype = {
  68432. call$1($arguments) {
  68433. var module, t2,
  68434. t1 = J.getInterceptor$asx($arguments),
  68435. variable = t1.$index($arguments, 0).assertString$1("name");
  68436. t1 = t1.$index($arguments, 1).get$realNull();
  68437. module = t1 == null ? null : t1.assertString$1("module");
  68438. t1 = this.$this._async_evaluate$_environment;
  68439. t2 = A.stringReplaceAllUnchecked(variable._string$_text, "_", "-");
  68440. return t1.getMixin$2$namespace(t2, module == null ? null : module._string$_text) != null ? B.SassBoolean_true : B.SassBoolean_false;
  68441. },
  68442. $signature: 20
  68443. };
  68444. A._EvaluateVisitor_closure16.prototype = {
  68445. call$1($arguments) {
  68446. var t1 = this.$this._async_evaluate$_environment;
  68447. if (!t1._async_environment$_inMixin)
  68448. throw A.wrapException(A.SassScriptException$(string$.conten, null));
  68449. return t1._async_environment$_content != null ? B.SassBoolean_true : B.SassBoolean_false;
  68450. },
  68451. $signature: 20
  68452. };
  68453. A._EvaluateVisitor_closure17.prototype = {
  68454. call$1($arguments) {
  68455. var t2, t3, t4,
  68456. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string$_text,
  68457. module = this.$this._async_evaluate$_environment._async_environment$_modules.$index(0, t1);
  68458. if (module == null)
  68459. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  68460. t1 = type$.Value;
  68461. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  68462. for (t3 = A.MapExtensions_get_pairs(module.get$variables(), type$.String, t1), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  68463. t4 = t3.get$current(t3);
  68464. t2.$indexSet(0, new A.SassString(t4._0, true), t4._1);
  68465. }
  68466. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  68467. },
  68468. $signature: 36
  68469. };
  68470. A._EvaluateVisitor_closure18.prototype = {
  68471. call$1($arguments) {
  68472. var t2, t3, t4,
  68473. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string$_text,
  68474. module = this.$this._async_evaluate$_environment._async_environment$_modules.$index(0, t1);
  68475. if (module == null)
  68476. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  68477. t1 = type$.Value;
  68478. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  68479. for (t3 = A.MapExtensions_get_pairs(module.get$functions(module), type$.String, type$.AsyncCallable), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  68480. t4 = t3.get$current(t3);
  68481. t2.$indexSet(0, new A.SassString(t4._0, true), new A.SassFunction(t4._1));
  68482. }
  68483. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  68484. },
  68485. $signature: 36
  68486. };
  68487. A._EvaluateVisitor_closure19.prototype = {
  68488. call$1($arguments) {
  68489. var t2, t3, t4,
  68490. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string$_text,
  68491. module = this.$this._async_evaluate$_environment._async_environment$_modules.$index(0, t1);
  68492. if (module == null)
  68493. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  68494. t1 = type$.Value;
  68495. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  68496. for (t3 = A.MapExtensions_get_pairs(module.get$mixins(), type$.String, type$.AsyncCallable), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  68497. t4 = t3.get$current(t3);
  68498. t2.$indexSet(0, new A.SassString(t4._0, true), new A.SassMixin(t4._1));
  68499. }
  68500. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  68501. },
  68502. $signature: 36
  68503. };
  68504. A._EvaluateVisitor_closure20.prototype = {
  68505. call$1($arguments) {
  68506. var module, t2, callable,
  68507. t1 = J.getInterceptor$asx($arguments),
  68508. $name = t1.$index($arguments, 0).assertString$1("name"),
  68509. css = t1.$index($arguments, 1).get$isTruthy();
  68510. t1 = t1.$index($arguments, 2).get$realNull();
  68511. module = t1 == null ? null : t1.assertString$1("module");
  68512. if (css) {
  68513. if (module != null)
  68514. throw A.wrapException(string$.x24css_a);
  68515. return new A.SassFunction(new A.PlainCssCallable($name._string$_text));
  68516. }
  68517. t1 = this.$this;
  68518. t2 = t1._async_evaluate$_callableNode;
  68519. t2.toString;
  68520. callable = t1._async_evaluate$_addExceptionSpan$2(t2, new A._EvaluateVisitor__closure6(t1, $name, module));
  68521. if (callable == null)
  68522. throw A.wrapException("Function not found: " + $name.toString$0(0));
  68523. return new A.SassFunction(callable);
  68524. },
  68525. $signature: 165
  68526. };
  68527. A._EvaluateVisitor__closure6.prototype = {
  68528. call$0() {
  68529. var local,
  68530. normalizedName = A.stringReplaceAllUnchecked(this.name._string$_text, "_", "-"),
  68531. t1 = this.module,
  68532. namespace = t1 == null ? null : t1._string$_text;
  68533. t1 = this.$this;
  68534. local = t1._async_evaluate$_environment.getFunction$2$namespace(normalizedName, namespace);
  68535. if (local != null || namespace != null)
  68536. return local;
  68537. return t1._async_evaluate$_builtInFunctions.$index(0, normalizedName);
  68538. },
  68539. $signature: 99
  68540. };
  68541. A._EvaluateVisitor_closure21.prototype = {
  68542. call$1($arguments) {
  68543. var module, t2, callable,
  68544. t1 = J.getInterceptor$asx($arguments),
  68545. $name = t1.$index($arguments, 0).assertString$1("name");
  68546. t1 = t1.$index($arguments, 1).get$realNull();
  68547. module = t1 == null ? null : t1.assertString$1("module");
  68548. t1 = this.$this;
  68549. t2 = t1._async_evaluate$_callableNode;
  68550. t2.toString;
  68551. callable = t1._async_evaluate$_addExceptionSpan$2(t2, new A._EvaluateVisitor__closure5(t1, $name, module));
  68552. if (callable == null)
  68553. throw A.wrapException("Mixin not found: " + $name.toString$0(0));
  68554. return new A.SassMixin(callable);
  68555. },
  68556. $signature: 166
  68557. };
  68558. A._EvaluateVisitor__closure5.prototype = {
  68559. call$0() {
  68560. var t1 = this.$this._async_evaluate$_environment,
  68561. t2 = A.stringReplaceAllUnchecked(this.name._string$_text, "_", "-"),
  68562. t3 = this.module;
  68563. return t1.getMixin$2$namespace(t2, t3 == null ? null : t3._string$_text);
  68564. },
  68565. $signature: 99
  68566. };
  68567. A._EvaluateVisitor_closure22.prototype = {
  68568. call$1($arguments) {
  68569. return this.$call$body$_EvaluateVisitor_closure1($arguments);
  68570. },
  68571. $call$body$_EvaluateVisitor_closure1($arguments) {
  68572. var $async$goto = 0,
  68573. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  68574. $async$returnValue, $async$self = this, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, invocation, callableNode, t1, $function, args;
  68575. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68576. if ($async$errorCode === 1)
  68577. return A._asyncRethrow($async$result, $async$completer);
  68578. while (true)
  68579. switch ($async$goto) {
  68580. case 0:
  68581. // Function start
  68582. t1 = J.getInterceptor$asx($arguments);
  68583. $function = t1.$index($arguments, 0);
  68584. args = type$.SassArgumentList._as(t1.$index($arguments, 1));
  68585. t1 = $async$self.$this;
  68586. t2 = t1._async_evaluate$_callableNode;
  68587. t2.toString;
  68588. t3 = A._setArrayType([], type$.JSArray_Expression);
  68589. t4 = type$.String;
  68590. t5 = type$.Expression;
  68591. t6 = t2.get$span(t2);
  68592. t7 = t2.get$span(t2);
  68593. args._wereKeywordsAccessed = true;
  68594. t8 = args._keywords;
  68595. if (t8.get$isEmpty(t8))
  68596. t2 = null;
  68597. else {
  68598. t9 = type$.Value;
  68599. t10 = A.LinkedHashMap_LinkedHashMap$_empty(t9, t9);
  68600. for (args._wereKeywordsAccessed = true, t8 = A.MapExtensions_get_pairs(t8, t4, t9), t8 = t8.get$iterator(t8); t8.moveNext$0();) {
  68601. t11 = t8.get$current(t8);
  68602. t10.$indexSet(0, new A.SassString(t11._0, false), t11._1);
  68603. }
  68604. t2 = new A.ValueExpression(new A.SassMap(A.ConstantMap_ConstantMap$from(t10, t9, t9)), t2.get$span(t2));
  68605. }
  68606. invocation = new A.ArgumentInvocation(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);
  68607. $async$goto = $function instanceof A.SassString ? 3 : 4;
  68608. break;
  68609. case 3:
  68610. // then
  68611. A.warnForDeprecation(string$.Passina + $function.toString$0(0) + "))", B.Deprecation_gkc);
  68612. callableNode = t1._async_evaluate$_callableNode;
  68613. t2 = $function._string$_text;
  68614. t3 = callableNode.get$span(callableNode);
  68615. t1 = t1.visitFunctionExpression$1(new A.FunctionExpression(null, A.stringReplaceAllUnchecked(t2, "_", "-"), t2, invocation, t3));
  68616. $async$goto = 5;
  68617. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$1);
  68618. case 5:
  68619. // returning from await.
  68620. $async$returnValue = $async$result;
  68621. // goto return
  68622. $async$goto = 1;
  68623. break;
  68624. case 4:
  68625. // join
  68626. t2 = $function.assertFunction$1("function");
  68627. t3 = t1._async_evaluate$_callableNode;
  68628. t3.toString;
  68629. $async$goto = 6;
  68630. return A._asyncAwait(t1._async_evaluate$_runFunctionCallable$3(invocation, t2.callable, t3), $async$call$1);
  68631. case 6:
  68632. // returning from await.
  68633. t3 = $async$result;
  68634. $async$returnValue = t3;
  68635. // goto return
  68636. $async$goto = 1;
  68637. break;
  68638. case 1:
  68639. // return
  68640. return A._asyncReturn($async$returnValue, $async$completer);
  68641. }
  68642. });
  68643. return A._asyncStartSync($async$call$1, $async$completer);
  68644. },
  68645. $signature: 258
  68646. };
  68647. A._EvaluateVisitor_closure23.prototype = {
  68648. call$1($arguments) {
  68649. return this.$call$body$_EvaluateVisitor_closure0($arguments);
  68650. },
  68651. $call$body$_EvaluateVisitor_closure0($arguments) {
  68652. var $async$goto = 0,
  68653. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  68654. $async$self = this, withMap, t2, values, configuration, t3, t1, url;
  68655. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68656. if ($async$errorCode === 1)
  68657. return A._asyncRethrow($async$result, $async$completer);
  68658. while (true)
  68659. switch ($async$goto) {
  68660. case 0:
  68661. // Function start
  68662. t1 = J.getInterceptor$asx($arguments);
  68663. url = A.Uri_parse(t1.$index($arguments, 0).assertString$1("url")._string$_text);
  68664. t1 = t1.$index($arguments, 1).get$realNull();
  68665. withMap = t1 == null ? null : t1.assertMap$1("with")._map$_contents;
  68666. t1 = $async$self.$this;
  68667. t2 = t1._async_evaluate$_callableNode;
  68668. t2.toString;
  68669. if (withMap != null) {
  68670. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue);
  68671. withMap.forEach$1(0, new A._EvaluateVisitor__closure3(values, t2.get$span(t2), t2));
  68672. configuration = new A.ExplicitConfiguration(t2, values, null);
  68673. } else
  68674. configuration = B.Configuration_Map_empty_null;
  68675. t3 = t2.get$span(t2);
  68676. $async$goto = 2;
  68677. 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);
  68678. case 2:
  68679. // returning from await.
  68680. t1._async_evaluate$_assertConfigurationIsEmpty$2$nameInError(configuration, true);
  68681. // implicit return
  68682. return A._asyncReturn(null, $async$completer);
  68683. }
  68684. });
  68685. return A._asyncStartSync($async$call$1, $async$completer);
  68686. },
  68687. $signature: 167
  68688. };
  68689. A._EvaluateVisitor__closure3.prototype = {
  68690. call$2(variable, value) {
  68691. var t1 = variable.assertString$1("with key"),
  68692. $name = A.stringReplaceAllUnchecked(t1._string$_text, "_", "-");
  68693. t1 = this.values;
  68694. if (t1.containsKey$1($name))
  68695. throw A.wrapException("The variable $" + $name + " was configured twice.");
  68696. t1.$indexSet(0, $name, new A.ConfiguredValue(value, this.span, this.callableNode));
  68697. },
  68698. $signature: 102
  68699. };
  68700. A._EvaluateVisitor__closure4.prototype = {
  68701. call$2(module, _) {
  68702. var t1 = this.$this;
  68703. return t1._async_evaluate$_combineCss$2$clone(module, true).accept$1(t1);
  68704. },
  68705. $signature: 354
  68706. };
  68707. A._EvaluateVisitor_closure24.prototype = {
  68708. call$1($arguments) {
  68709. return this.$call$body$_EvaluateVisitor_closure($arguments);
  68710. },
  68711. $call$body$_EvaluateVisitor_closure($arguments) {
  68712. var $async$goto = 0,
  68713. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  68714. $async$self = this, callableNode, t2, t3, t4, t5, t1, mixin, args;
  68715. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68716. if ($async$errorCode === 1)
  68717. return A._asyncRethrow($async$result, $async$completer);
  68718. while (true)
  68719. switch ($async$goto) {
  68720. case 0:
  68721. // Function start
  68722. t1 = J.getInterceptor$asx($arguments);
  68723. mixin = t1.$index($arguments, 0);
  68724. args = type$.SassArgumentList._as(t1.$index($arguments, 1));
  68725. t1 = $async$self.$this;
  68726. callableNode = t1._async_evaluate$_callableNode;
  68727. t2 = callableNode.get$span(callableNode);
  68728. t3 = callableNode.get$span(callableNode);
  68729. t4 = type$.Expression;
  68730. t5 = A.List_List$unmodifiable(B.List_empty9, t4);
  68731. t4 = A.ConstantMap_ConstantMap$from(B.Map_empty6, type$.String, t4);
  68732. $async$goto = 2;
  68733. return A._asyncAwait(t1._async_evaluate$_applyMixin$5(mixin.assertMixin$1("mixin").callable, t1._async_evaluate$_environment._async_environment$_content, new A.ArgumentInvocation(t5, t4, new A.ValueExpression(args, t3), null, t2), callableNode, callableNode), $async$call$1);
  68734. case 2:
  68735. // returning from await.
  68736. // implicit return
  68737. return A._asyncReturn(null, $async$completer);
  68738. }
  68739. });
  68740. return A._asyncStartSync($async$call$1, $async$completer);
  68741. },
  68742. $signature: 167
  68743. };
  68744. A._EvaluateVisitor_run_closure0.prototype = {
  68745. call$0() {
  68746. var $async$goto = 0,
  68747. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet),
  68748. $async$returnValue, $async$self = this, module, t1, t2, _0_0, url;
  68749. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68750. if ($async$errorCode === 1)
  68751. return A._asyncRethrow($async$result, $async$completer);
  68752. while (true)
  68753. switch ($async$goto) {
  68754. case 0:
  68755. // Function start
  68756. t1 = $async$self.node;
  68757. t2 = t1.span;
  68758. _0_0 = t2.get$sourceUrl(t2);
  68759. url = null;
  68760. if (_0_0 != null) {
  68761. url = _0_0;
  68762. t2 = $async$self.$this;
  68763. t2._async_evaluate$_activeModules.$indexSet(0, url, null);
  68764. t2._async_evaluate$_loadedUrls.add$1(0, url);
  68765. }
  68766. t2 = $async$self.$this;
  68767. $async$goto = 3;
  68768. 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);
  68769. case 3:
  68770. // returning from await.
  68771. module = $async$result;
  68772. $async$returnValue = new A._Record_2_loadedUrls_stylesheet(t2._async_evaluate$_loadedUrls, t2._async_evaluate$_combineCss$1(module));
  68773. // goto return
  68774. $async$goto = 1;
  68775. break;
  68776. case 1:
  68777. // return
  68778. return A._asyncReturn($async$returnValue, $async$completer);
  68779. }
  68780. });
  68781. return A._asyncStartSync($async$call$0, $async$completer);
  68782. },
  68783. $signature: 353
  68784. };
  68785. A._EvaluateVisitor_run__closure0.prototype = {
  68786. call$0() {
  68787. return this.$this._async_evaluate$_execute$2(this.importer, this.node);
  68788. },
  68789. $signature: 352
  68790. };
  68791. A._EvaluateVisitor__loadModule_closure1.prototype = {
  68792. call$0() {
  68793. return this.callback.call$2(this._box_1.builtInModule, false);
  68794. },
  68795. $signature: 0
  68796. };
  68797. A._EvaluateVisitor__loadModule_closure2.prototype = {
  68798. call$0() {
  68799. return this.$call$body$_EvaluateVisitor__loadModule_closure();
  68800. },
  68801. $call$body$_EvaluateVisitor__loadModule_closure() {
  68802. var $async$goto = 0,
  68803. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  68804. $async$handler = 1, $async$currentError, $async$next = [], $async$self = this, canonicalUrl, oldInDependency, isDependency, t4, message, t1, stylesheet, importer, t2, t3, _1_0, $async$temp1;
  68805. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68806. if ($async$errorCode === 1) {
  68807. $async$currentError = $async$result;
  68808. $async$goto = $async$handler;
  68809. }
  68810. while (true)
  68811. switch ($async$goto) {
  68812. case 0:
  68813. // Function start
  68814. t1 = {};
  68815. stylesheet = null;
  68816. importer = null;
  68817. t2 = $async$self.$this;
  68818. t3 = $async$self.nodeWithSpan;
  68819. $async$goto = 2;
  68820. 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);
  68821. case 2:
  68822. // returning from await.
  68823. _1_0 = $async$result;
  68824. stylesheet = _1_0._0;
  68825. importer = _1_0._1;
  68826. isDependency = _1_0._2;
  68827. t4 = stylesheet.span;
  68828. canonicalUrl = t4.get$sourceUrl(t4);
  68829. if (canonicalUrl != null) {
  68830. t4 = t2._async_evaluate$_activeModules;
  68831. if (t4.containsKey$1(canonicalUrl)) {
  68832. if ($async$self.namesInErrors) {
  68833. t1 = canonicalUrl;
  68834. t3 = $.$get$context();
  68835. t1.toString;
  68836. message = "Module loop: " + t3.prettyUri$1(t1) + " is already being loaded.";
  68837. } else
  68838. message = string$.Modulel;
  68839. t1 = A.NullableExtension_andThen(t4.$index(0, canonicalUrl), new A._EvaluateVisitor__loadModule__closure1(t2, message));
  68840. throw A.wrapException(t1 == null ? t2._async_evaluate$_exception$1(message) : t1);
  68841. } else
  68842. t4.$indexSet(0, canonicalUrl, t3);
  68843. }
  68844. t4 = t2._async_evaluate$_modules.containsKey$1(canonicalUrl);
  68845. oldInDependency = t2._async_evaluate$_inDependency;
  68846. t2._async_evaluate$_inDependency = isDependency;
  68847. t1.module = null;
  68848. $async$handler = 3;
  68849. $async$temp1 = t1;
  68850. $async$goto = 6;
  68851. return A._asyncAwait(t2._async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, $async$self.configuration, $async$self.namesInErrors, t3), $async$call$0);
  68852. case 6:
  68853. // returning from await.
  68854. $async$temp1.module = $async$result;
  68855. $async$next.push(5);
  68856. // goto finally
  68857. $async$goto = 4;
  68858. break;
  68859. case 3:
  68860. // uncaught
  68861. $async$next = [1];
  68862. case 4:
  68863. // finally
  68864. $async$handler = 1;
  68865. t2._async_evaluate$_activeModules.remove$1(0, canonicalUrl);
  68866. t2._async_evaluate$_inDependency = oldInDependency;
  68867. // goto the next finally handler
  68868. $async$goto = $async$next.pop();
  68869. break;
  68870. case 5:
  68871. // after finally
  68872. $async$goto = 7;
  68873. 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);
  68874. case 7:
  68875. // returning from await.
  68876. // implicit return
  68877. return A._asyncReturn(null, $async$completer);
  68878. case 1:
  68879. // rethrow
  68880. return A._asyncRethrow($async$currentError, $async$completer);
  68881. }
  68882. });
  68883. return A._asyncStartSync($async$call$0, $async$completer);
  68884. },
  68885. $signature: 2
  68886. };
  68887. A._EvaluateVisitor__loadModule__closure1.prototype = {
  68888. call$1(previousLoad) {
  68889. 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));
  68890. },
  68891. $signature: 81
  68892. };
  68893. A._EvaluateVisitor__loadModule__closure2.prototype = {
  68894. call$0() {
  68895. return this.callback.call$2(this._box_0.module, this.firstLoad);
  68896. },
  68897. $signature: 0
  68898. };
  68899. A._EvaluateVisitor__execute_closure0.prototype = {
  68900. call$0() {
  68901. var $async$goto = 0,
  68902. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  68903. $async$self = this, t3, t4, t5, t6, t1, oldImporter, oldStylesheet, oldRoot, oldPreModuleComments, oldParent, oldEndOfImports, oldOutOfOrderImports, oldExtensionStore, t2, oldStyleRule, oldMediaQueries, oldDeclarationName, oldInUnknownAtRule, oldInKeyframes, oldConfiguration;
  68904. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68905. if ($async$errorCode === 1)
  68906. return A._asyncRethrow($async$result, $async$completer);
  68907. while (true)
  68908. switch ($async$goto) {
  68909. case 0:
  68910. // Function start
  68911. t1 = $async$self.$this;
  68912. oldImporter = t1._async_evaluate$_importer;
  68913. oldStylesheet = t1._async_evaluate$__stylesheet;
  68914. oldRoot = t1._async_evaluate$__root;
  68915. oldPreModuleComments = t1._async_evaluate$_preModuleComments;
  68916. oldParent = t1._async_evaluate$__parent;
  68917. oldEndOfImports = t1._async_evaluate$__endOfImports;
  68918. oldOutOfOrderImports = t1._async_evaluate$_outOfOrderImports;
  68919. oldExtensionStore = t1._async_evaluate$__extensionStore;
  68920. t2 = t1._async_evaluate$_atRootExcludingStyleRule;
  68921. oldStyleRule = t2 ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
  68922. oldMediaQueries = t1._async_evaluate$_mediaQueries;
  68923. oldDeclarationName = t1._async_evaluate$_declarationName;
  68924. oldInUnknownAtRule = t1._async_evaluate$_inUnknownAtRule;
  68925. oldInKeyframes = t1._async_evaluate$_inKeyframes;
  68926. oldConfiguration = t1._async_evaluate$_configuration;
  68927. t1._async_evaluate$_importer = $async$self.importer;
  68928. t3 = t1._async_evaluate$__stylesheet = $async$self.stylesheet;
  68929. t4 = t3.span;
  68930. t5 = t1._async_evaluate$__parent = t1._async_evaluate$__root = A.ModifiableCssStylesheet$(t4);
  68931. t1._async_evaluate$__endOfImports = 0;
  68932. t1._async_evaluate$_outOfOrderImports = null;
  68933. t1._async_evaluate$__extensionStore = $async$self.extensionStore;
  68934. t1._async_evaluate$_declarationName = t1._async_evaluate$_mediaQueries = t1._async_evaluate$_styleRuleIgnoringAtRoot = null;
  68935. t1._async_evaluate$_inKeyframes = t1._async_evaluate$_atRootExcludingStyleRule = t1._async_evaluate$_inUnknownAtRule = false;
  68936. t6 = $async$self.configuration;
  68937. if (t6 != null)
  68938. t1._async_evaluate$_configuration = t6;
  68939. $async$goto = 2;
  68940. return A._asyncAwait(t1.visitStylesheet$1(t3), $async$call$0);
  68941. case 2:
  68942. // returning from await.
  68943. t3 = t1._async_evaluate$_outOfOrderImports == null ? t5 : new A.CssStylesheet(new A.UnmodifiableListView(t1._async_evaluate$_addOutOfOrderImports$0(), type$.UnmodifiableListView_CssNode), t4);
  68944. $async$self.css.__late_helper$_value = t3;
  68945. $async$self.preModuleComments.__late_helper$_value = t1._async_evaluate$_preModuleComments;
  68946. t1._async_evaluate$_importer = oldImporter;
  68947. t1._async_evaluate$__stylesheet = oldStylesheet;
  68948. t1._async_evaluate$__root = oldRoot;
  68949. t1._async_evaluate$_preModuleComments = oldPreModuleComments;
  68950. t1._async_evaluate$__parent = oldParent;
  68951. t1._async_evaluate$__endOfImports = oldEndOfImports;
  68952. t1._async_evaluate$_outOfOrderImports = oldOutOfOrderImports;
  68953. t1._async_evaluate$__extensionStore = oldExtensionStore;
  68954. t1._async_evaluate$_styleRuleIgnoringAtRoot = oldStyleRule;
  68955. t1._async_evaluate$_mediaQueries = oldMediaQueries;
  68956. t1._async_evaluate$_declarationName = oldDeclarationName;
  68957. t1._async_evaluate$_inUnknownAtRule = oldInUnknownAtRule;
  68958. t1._async_evaluate$_atRootExcludingStyleRule = t2;
  68959. t1._async_evaluate$_inKeyframes = oldInKeyframes;
  68960. t1._async_evaluate$_configuration = oldConfiguration;
  68961. // implicit return
  68962. return A._asyncReturn(null, $async$completer);
  68963. }
  68964. });
  68965. return A._asyncStartSync($async$call$0, $async$completer);
  68966. },
  68967. $signature: 2
  68968. };
  68969. A._EvaluateVisitor__combineCss_closure1.prototype = {
  68970. call$1(module) {
  68971. return module.get$transitivelyContainsCss();
  68972. },
  68973. $signature: 134
  68974. };
  68975. A._EvaluateVisitor__combineCss_closure2.prototype = {
  68976. call$1(target) {
  68977. return !this.selectors.contains$1(0, target);
  68978. },
  68979. $signature: 14
  68980. };
  68981. A._EvaluateVisitor__combineCss_visitModule0.prototype = {
  68982. call$1(module) {
  68983. var t1, t2, t3, t4, _i, upstream, _1_0, statements, index, _this = this;
  68984. if (!_this.seen.add$1(0, module))
  68985. return;
  68986. if (_this.clone)
  68987. module = module.cloneCss$0();
  68988. 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) {
  68989. upstream = t1[_i];
  68990. if (upstream.get$transitivelyContainsCss()) {
  68991. _1_0 = module.get$preModuleComments().$index(0, upstream);
  68992. if (_1_0 != null)
  68993. B.JSArray_methods.addAll$1(t3.length === 0 ? t4 : t3, _1_0);
  68994. _this.call$1(upstream);
  68995. }
  68996. }
  68997. _this.sorted.addFirst$1(module);
  68998. t1 = module.get$css(module);
  68999. statements = t1.get$children(t1);
  69000. index = _this.$this._async_evaluate$_indexAfterImports$1(statements);
  69001. t1 = J.getInterceptor$ax(statements);
  69002. B.JSArray_methods.addAll$1(t4, t1.getRange$2(statements, 0, index));
  69003. B.JSArray_methods.addAll$1(t3, t1.getRange$2(statements, index, t1.get$length(statements)));
  69004. },
  69005. $signature: 344
  69006. };
  69007. A._EvaluateVisitor__extendModules_closure1.prototype = {
  69008. call$1(target) {
  69009. return !this.originalSelectors.contains$1(0, target);
  69010. },
  69011. $signature: 14
  69012. };
  69013. A._EvaluateVisitor__extendModules_closure2.prototype = {
  69014. call$0() {
  69015. return A._setArrayType([], type$.JSArray_ExtensionStore);
  69016. },
  69017. $signature: 169
  69018. };
  69019. A._EvaluateVisitor_visitAtRootRule_closure1.prototype = {
  69020. call$0() {
  69021. var $async$goto = 0,
  69022. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  69023. $async$self = this, t1, t2, t3, _i;
  69024. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69025. if ($async$errorCode === 1)
  69026. return A._asyncRethrow($async$result, $async$completer);
  69027. while (true)
  69028. switch ($async$goto) {
  69029. case 0:
  69030. // Function start
  69031. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  69032. case 2:
  69033. // for condition
  69034. if (!(_i < t2)) {
  69035. // goto after for
  69036. $async$goto = 4;
  69037. break;
  69038. }
  69039. $async$goto = 5;
  69040. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  69041. case 5:
  69042. // returning from await.
  69043. case 3:
  69044. // for update
  69045. ++_i;
  69046. // goto for condition
  69047. $async$goto = 2;
  69048. break;
  69049. case 4:
  69050. // after for
  69051. // implicit return
  69052. return A._asyncReturn(null, $async$completer);
  69053. }
  69054. });
  69055. return A._asyncStartSync($async$call$0, $async$completer);
  69056. },
  69057. $signature: 2
  69058. };
  69059. A._EvaluateVisitor_visitAtRootRule_closure2.prototype = {
  69060. call$0() {
  69061. var $async$goto = 0,
  69062. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  69063. $async$self = this, t1, t2, t3, _i;
  69064. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69065. if ($async$errorCode === 1)
  69066. return A._asyncRethrow($async$result, $async$completer);
  69067. while (true)
  69068. switch ($async$goto) {
  69069. case 0:
  69070. // Function start
  69071. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  69072. case 2:
  69073. // for condition
  69074. if (!(_i < t2)) {
  69075. // goto after for
  69076. $async$goto = 4;
  69077. break;
  69078. }
  69079. $async$goto = 5;
  69080. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  69081. case 5:
  69082. // returning from await.
  69083. case 3:
  69084. // for update
  69085. ++_i;
  69086. // goto for condition
  69087. $async$goto = 2;
  69088. break;
  69089. case 4:
  69090. // after for
  69091. // implicit return
  69092. return A._asyncReturn(null, $async$completer);
  69093. }
  69094. });
  69095. return A._asyncStartSync($async$call$0, $async$completer);
  69096. },
  69097. $signature: 24
  69098. };
  69099. A._EvaluateVisitor__scopeForAtRoot_closure5.prototype = {
  69100. call$1(callback) {
  69101. var $async$goto = 0,
  69102. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  69103. $async$self = this, t1, t2;
  69104. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69105. if ($async$errorCode === 1)
  69106. return A._asyncRethrow($async$result, $async$completer);
  69107. while (true)
  69108. switch ($async$goto) {
  69109. case 0:
  69110. // Function start
  69111. t1 = $async$self.$this;
  69112. t2 = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__parent, "__parent");
  69113. t1._async_evaluate$__parent = $async$self.newParent;
  69114. $async$goto = 2;
  69115. return A._asyncAwait(t1._async_evaluate$_environment.scope$1$2$when(callback, $async$self.node.hasDeclarations, type$.void), $async$call$1);
  69116. case 2:
  69117. // returning from await.
  69118. t1._async_evaluate$__parent = t2;
  69119. // implicit return
  69120. return A._asyncReturn(null, $async$completer);
  69121. }
  69122. });
  69123. return A._asyncStartSync($async$call$1, $async$completer);
  69124. },
  69125. $signature: 37
  69126. };
  69127. A._EvaluateVisitor__scopeForAtRoot_closure6.prototype = {
  69128. call$1(callback) {
  69129. var $async$goto = 0,
  69130. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  69131. $async$self = this, t1, oldAtRootExcludingStyleRule;
  69132. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69133. if ($async$errorCode === 1)
  69134. return A._asyncRethrow($async$result, $async$completer);
  69135. while (true)
  69136. switch ($async$goto) {
  69137. case 0:
  69138. // Function start
  69139. t1 = $async$self.$this;
  69140. oldAtRootExcludingStyleRule = t1._async_evaluate$_atRootExcludingStyleRule;
  69141. t1._async_evaluate$_atRootExcludingStyleRule = true;
  69142. $async$goto = 2;
  69143. return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
  69144. case 2:
  69145. // returning from await.
  69146. t1._async_evaluate$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  69147. // implicit return
  69148. return A._asyncReturn(null, $async$completer);
  69149. }
  69150. });
  69151. return A._asyncStartSync($async$call$1, $async$completer);
  69152. },
  69153. $signature: 37
  69154. };
  69155. A._EvaluateVisitor__scopeForAtRoot_closure7.prototype = {
  69156. call$1(callback) {
  69157. return this.$this._async_evaluate$_withMediaQueries$1$3(null, null, new A._EvaluateVisitor__scopeForAtRoot__closure0(this.innerScope, callback), type$.Null);
  69158. },
  69159. $signature: 37
  69160. };
  69161. A._EvaluateVisitor__scopeForAtRoot__closure0.prototype = {
  69162. call$0() {
  69163. return this.innerScope.call$1(this.callback);
  69164. },
  69165. $signature: 2
  69166. };
  69167. A._EvaluateVisitor__scopeForAtRoot_closure8.prototype = {
  69168. call$1(callback) {
  69169. var $async$goto = 0,
  69170. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  69171. $async$self = this, t1, wasInKeyframes;
  69172. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69173. if ($async$errorCode === 1)
  69174. return A._asyncRethrow($async$result, $async$completer);
  69175. while (true)
  69176. switch ($async$goto) {
  69177. case 0:
  69178. // Function start
  69179. t1 = $async$self.$this;
  69180. wasInKeyframes = t1._async_evaluate$_inKeyframes;
  69181. t1._async_evaluate$_inKeyframes = false;
  69182. $async$goto = 2;
  69183. return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
  69184. case 2:
  69185. // returning from await.
  69186. t1._async_evaluate$_inKeyframes = wasInKeyframes;
  69187. // implicit return
  69188. return A._asyncReturn(null, $async$completer);
  69189. }
  69190. });
  69191. return A._asyncStartSync($async$call$1, $async$completer);
  69192. },
  69193. $signature: 37
  69194. };
  69195. A._EvaluateVisitor__scopeForAtRoot_closure9.prototype = {
  69196. call$1($parent) {
  69197. return $parent instanceof A.ModifiableCssAtRule;
  69198. },
  69199. $signature: 171
  69200. };
  69201. A._EvaluateVisitor__scopeForAtRoot_closure10.prototype = {
  69202. call$1(callback) {
  69203. var $async$goto = 0,
  69204. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  69205. $async$self = this, t1, wasInUnknownAtRule;
  69206. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69207. if ($async$errorCode === 1)
  69208. return A._asyncRethrow($async$result, $async$completer);
  69209. while (true)
  69210. switch ($async$goto) {
  69211. case 0:
  69212. // Function start
  69213. t1 = $async$self.$this;
  69214. wasInUnknownAtRule = t1._async_evaluate$_inUnknownAtRule;
  69215. t1._async_evaluate$_inUnknownAtRule = false;
  69216. $async$goto = 2;
  69217. return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
  69218. case 2:
  69219. // returning from await.
  69220. t1._async_evaluate$_inUnknownAtRule = wasInUnknownAtRule;
  69221. // implicit return
  69222. return A._asyncReturn(null, $async$completer);
  69223. }
  69224. });
  69225. return A._asyncStartSync($async$call$1, $async$completer);
  69226. },
  69227. $signature: 37
  69228. };
  69229. A._EvaluateVisitor_visitContentRule_closure0.prototype = {
  69230. call$0() {
  69231. var $async$goto = 0,
  69232. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  69233. $async$returnValue, $async$self = this, t1, t2, t3, _i;
  69234. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69235. if ($async$errorCode === 1)
  69236. return A._asyncRethrow($async$result, $async$completer);
  69237. while (true)
  69238. switch ($async$goto) {
  69239. case 0:
  69240. // Function start
  69241. t1 = $async$self.content.declaration.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  69242. case 3:
  69243. // for condition
  69244. if (!(_i < t2)) {
  69245. // goto after for
  69246. $async$goto = 5;
  69247. break;
  69248. }
  69249. $async$goto = 6;
  69250. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  69251. case 6:
  69252. // returning from await.
  69253. case 4:
  69254. // for update
  69255. ++_i;
  69256. // goto for condition
  69257. $async$goto = 3;
  69258. break;
  69259. case 5:
  69260. // after for
  69261. $async$returnValue = null;
  69262. // goto return
  69263. $async$goto = 1;
  69264. break;
  69265. case 1:
  69266. // return
  69267. return A._asyncReturn($async$returnValue, $async$completer);
  69268. }
  69269. });
  69270. return A._asyncStartSync($async$call$0, $async$completer);
  69271. },
  69272. $signature: 2
  69273. };
  69274. A._EvaluateVisitor_visitDeclaration_closure0.prototype = {
  69275. call$0() {
  69276. var $async$goto = 0,
  69277. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  69278. $async$self = this, t1, t2, t3, _i;
  69279. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69280. if ($async$errorCode === 1)
  69281. return A._asyncRethrow($async$result, $async$completer);
  69282. while (true)
  69283. switch ($async$goto) {
  69284. case 0:
  69285. // Function start
  69286. t1 = $async$self._box_0.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  69287. case 2:
  69288. // for condition
  69289. if (!(_i < t2)) {
  69290. // goto after for
  69291. $async$goto = 4;
  69292. break;
  69293. }
  69294. $async$goto = 5;
  69295. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  69296. case 5:
  69297. // returning from await.
  69298. case 3:
  69299. // for update
  69300. ++_i;
  69301. // goto for condition
  69302. $async$goto = 2;
  69303. break;
  69304. case 4:
  69305. // after for
  69306. // implicit return
  69307. return A._asyncReturn(null, $async$completer);
  69308. }
  69309. });
  69310. return A._asyncStartSync($async$call$0, $async$completer);
  69311. },
  69312. $signature: 2
  69313. };
  69314. A._EvaluateVisitor_visitEachRule_closure2.prototype = {
  69315. call$1(value) {
  69316. var t1 = this.$this,
  69317. t2 = this.nodeWithSpan;
  69318. return t1._async_evaluate$_environment.setLocalVariable$3(this._box_0.variable, t1._async_evaluate$_withoutSlash$2(value, t2), t2);
  69319. },
  69320. $signature: 58
  69321. };
  69322. A._EvaluateVisitor_visitEachRule_closure3.prototype = {
  69323. call$1(value) {
  69324. return this.$this._async_evaluate$_setMultipleVariables$3(this._box_0.variables, value, this.nodeWithSpan);
  69325. },
  69326. $signature: 58
  69327. };
  69328. A._EvaluateVisitor_visitEachRule_closure4.prototype = {
  69329. call$0() {
  69330. var _this = this,
  69331. t1 = _this.$this;
  69332. return t1._async_evaluate$_handleReturn$2(_this.list.get$asList(), new A._EvaluateVisitor_visitEachRule__closure0(t1, _this.setVariables, _this.node));
  69333. },
  69334. $signature: 66
  69335. };
  69336. A._EvaluateVisitor_visitEachRule__closure0.prototype = {
  69337. call$1(element) {
  69338. var t1;
  69339. this.setVariables.call$1(element);
  69340. t1 = this.$this;
  69341. return t1._async_evaluate$_handleReturn$2(this.node.children, new A._EvaluateVisitor_visitEachRule___closure0(t1));
  69342. },
  69343. $signature: 337
  69344. };
  69345. A._EvaluateVisitor_visitEachRule___closure0.prototype = {
  69346. call$1(child) {
  69347. return child.accept$1(this.$this);
  69348. },
  69349. $signature: 86
  69350. };
  69351. A._EvaluateVisitor_visitAtRule_closure2.prototype = {
  69352. call$1(value) {
  69353. return this.$this._async_evaluate$_interpolationToValue$3$trim$warnForColor(value, true, true);
  69354. },
  69355. $signature: 333
  69356. };
  69357. A._EvaluateVisitor_visitAtRule_closure3.prototype = {
  69358. call$0() {
  69359. var $async$goto = 0,
  69360. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  69361. $async$self = this, t2, t3, _i, t1, styleRule;
  69362. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69363. if ($async$errorCode === 1)
  69364. return A._asyncRethrow($async$result, $async$completer);
  69365. while (true)
  69366. switch ($async$goto) {
  69367. case 0:
  69368. // Function start
  69369. t1 = $async$self.$this;
  69370. styleRule = t1._async_evaluate$_atRootExcludingStyleRule ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
  69371. $async$goto = styleRule == null || t1._async_evaluate$_inKeyframes || J.$eq$($async$self.name.value, "font-face") ? 2 : 4;
  69372. break;
  69373. case 2:
  69374. // then
  69375. t2 = $async$self.children, t3 = t2.length, _i = 0;
  69376. case 5:
  69377. // for condition
  69378. if (!(_i < t3)) {
  69379. // goto after for
  69380. $async$goto = 7;
  69381. break;
  69382. }
  69383. $async$goto = 8;
  69384. return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
  69385. case 8:
  69386. // returning from await.
  69387. case 6:
  69388. // for update
  69389. ++_i;
  69390. // goto for condition
  69391. $async$goto = 5;
  69392. break;
  69393. case 7:
  69394. // after for
  69395. // goto join
  69396. $async$goto = 3;
  69397. break;
  69398. case 4:
  69399. // else
  69400. $async$goto = 9;
  69401. 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);
  69402. case 9:
  69403. // returning from await.
  69404. case 3:
  69405. // join
  69406. // implicit return
  69407. return A._asyncReturn(null, $async$completer);
  69408. }
  69409. });
  69410. return A._asyncStartSync($async$call$0, $async$completer);
  69411. },
  69412. $signature: 2
  69413. };
  69414. A._EvaluateVisitor_visitAtRule__closure0.prototype = {
  69415. call$0() {
  69416. var $async$goto = 0,
  69417. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  69418. $async$self = this, t1, t2, t3, _i;
  69419. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69420. if ($async$errorCode === 1)
  69421. return A._asyncRethrow($async$result, $async$completer);
  69422. while (true)
  69423. switch ($async$goto) {
  69424. case 0:
  69425. // Function start
  69426. t1 = $async$self.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  69427. case 2:
  69428. // for condition
  69429. if (!(_i < t2)) {
  69430. // goto after for
  69431. $async$goto = 4;
  69432. break;
  69433. }
  69434. $async$goto = 5;
  69435. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  69436. case 5:
  69437. // returning from await.
  69438. case 3:
  69439. // for update
  69440. ++_i;
  69441. // goto for condition
  69442. $async$goto = 2;
  69443. break;
  69444. case 4:
  69445. // after for
  69446. // implicit return
  69447. return A._asyncReturn(null, $async$completer);
  69448. }
  69449. });
  69450. return A._asyncStartSync($async$call$0, $async$completer);
  69451. },
  69452. $signature: 2
  69453. };
  69454. A._EvaluateVisitor_visitAtRule_closure4.prototype = {
  69455. call$1(node) {
  69456. return node instanceof A.ModifiableCssStyleRule;
  69457. },
  69458. $signature: 7
  69459. };
  69460. A._EvaluateVisitor_visitForRule_closure4.prototype = {
  69461. call$0() {
  69462. var $async$goto = 0,
  69463. $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber),
  69464. $async$returnValue, $async$self = this;
  69465. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69466. if ($async$errorCode === 1)
  69467. return A._asyncRethrow($async$result, $async$completer);
  69468. while (true)
  69469. switch ($async$goto) {
  69470. case 0:
  69471. // Function start
  69472. $async$goto = 3;
  69473. return A._asyncAwait($async$self.node.from.accept$1($async$self.$this), $async$call$0);
  69474. case 3:
  69475. // returning from await.
  69476. $async$returnValue = $async$result.assertNumber$0();
  69477. // goto return
  69478. $async$goto = 1;
  69479. break;
  69480. case 1:
  69481. // return
  69482. return A._asyncReturn($async$returnValue, $async$completer);
  69483. }
  69484. });
  69485. return A._asyncStartSync($async$call$0, $async$completer);
  69486. },
  69487. $signature: 172
  69488. };
  69489. A._EvaluateVisitor_visitForRule_closure5.prototype = {
  69490. call$0() {
  69491. var $async$goto = 0,
  69492. $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber),
  69493. $async$returnValue, $async$self = this;
  69494. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69495. if ($async$errorCode === 1)
  69496. return A._asyncRethrow($async$result, $async$completer);
  69497. while (true)
  69498. switch ($async$goto) {
  69499. case 0:
  69500. // Function start
  69501. $async$goto = 3;
  69502. return A._asyncAwait($async$self.node.to.accept$1($async$self.$this), $async$call$0);
  69503. case 3:
  69504. // returning from await.
  69505. $async$returnValue = $async$result.assertNumber$0();
  69506. // goto return
  69507. $async$goto = 1;
  69508. break;
  69509. case 1:
  69510. // return
  69511. return A._asyncReturn($async$returnValue, $async$completer);
  69512. }
  69513. });
  69514. return A._asyncStartSync($async$call$0, $async$completer);
  69515. },
  69516. $signature: 172
  69517. };
  69518. A._EvaluateVisitor_visitForRule_closure6.prototype = {
  69519. call$0() {
  69520. return this.fromNumber.assertInt$0();
  69521. },
  69522. $signature: 10
  69523. };
  69524. A._EvaluateVisitor_visitForRule_closure7.prototype = {
  69525. call$0() {
  69526. var t1 = this.fromNumber;
  69527. return this.toNumber.coerce$2(t1.get$numeratorUnits(t1), t1.get$denominatorUnits(t1)).assertInt$0();
  69528. },
  69529. $signature: 10
  69530. };
  69531. A._EvaluateVisitor_visitForRule_closure8.prototype = {
  69532. call$0() {
  69533. var $async$goto = 0,
  69534. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  69535. $async$returnValue, $async$self = this, i, t3, t4, t5, t6, t7, t8, _0_0, t1, t2, nodeWithSpan;
  69536. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69537. if ($async$errorCode === 1)
  69538. return A._asyncRethrow($async$result, $async$completer);
  69539. while (true)
  69540. switch ($async$goto) {
  69541. case 0:
  69542. // Function start
  69543. t1 = $async$self.$this;
  69544. t2 = $async$self.node;
  69545. nodeWithSpan = t1._async_evaluate$_expressionNode$1(t2.from);
  69546. i = $async$self.from, t3 = $async$self._box_0, t4 = $async$self.direction, t5 = t2.variable, t6 = $async$self.fromNumber, t2 = t2.children;
  69547. case 3:
  69548. // for condition
  69549. if (!(i !== t3.to)) {
  69550. // goto after for
  69551. $async$goto = 5;
  69552. break;
  69553. }
  69554. t7 = t1._async_evaluate$_environment;
  69555. t8 = t6.get$numeratorUnits(t6);
  69556. t7.setLocalVariable$3(t5, A.SassNumber_SassNumber$withUnits(i, t6.get$denominatorUnits(t6), t8), nodeWithSpan);
  69557. $async$goto = 6;
  69558. return A._asyncAwait(t1._async_evaluate$_handleReturn$2(t2, new A._EvaluateVisitor_visitForRule__closure0(t1)), $async$call$0);
  69559. case 6:
  69560. // returning from await.
  69561. _0_0 = $async$result;
  69562. if (_0_0 != null) {
  69563. $async$returnValue = _0_0;
  69564. // goto return
  69565. $async$goto = 1;
  69566. break;
  69567. }
  69568. case 4:
  69569. // for update
  69570. i += t4;
  69571. // goto for condition
  69572. $async$goto = 3;
  69573. break;
  69574. case 5:
  69575. // after for
  69576. $async$returnValue = null;
  69577. // goto return
  69578. $async$goto = 1;
  69579. break;
  69580. case 1:
  69581. // return
  69582. return A._asyncReturn($async$returnValue, $async$completer);
  69583. }
  69584. });
  69585. return A._asyncStartSync($async$call$0, $async$completer);
  69586. },
  69587. $signature: 66
  69588. };
  69589. A._EvaluateVisitor_visitForRule__closure0.prototype = {
  69590. call$1(child) {
  69591. return child.accept$1(this.$this);
  69592. },
  69593. $signature: 86
  69594. };
  69595. A._EvaluateVisitor_visitForwardRule_closure1.prototype = {
  69596. call$2(module, firstLoad) {
  69597. if (firstLoad)
  69598. this.$this._async_evaluate$_registerCommentsForModule$1(module);
  69599. this.$this._async_evaluate$_environment.forwardModule$2(module, this.node);
  69600. },
  69601. $signature: 116
  69602. };
  69603. A._EvaluateVisitor_visitForwardRule_closure2.prototype = {
  69604. call$2(module, firstLoad) {
  69605. if (firstLoad)
  69606. this.$this._async_evaluate$_registerCommentsForModule$1(module);
  69607. this.$this._async_evaluate$_environment.forwardModule$2(module, this.node);
  69608. },
  69609. $signature: 116
  69610. };
  69611. A._EvaluateVisitor__registerCommentsForModule_closure0.prototype = {
  69612. call$0() {
  69613. return A._setArrayType([], type$.JSArray_CssComment);
  69614. },
  69615. $signature: 173
  69616. };
  69617. A._EvaluateVisitor_visitIfRule_closure0.prototype = {
  69618. call$1(clause) {
  69619. var t1 = this.$this;
  69620. return t1._async_evaluate$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitIfRule__closure0(t1, clause), true, clause.hasDeclarations, type$.nullable_Value);
  69621. },
  69622. $signature: 325
  69623. };
  69624. A._EvaluateVisitor_visitIfRule__closure0.prototype = {
  69625. call$0() {
  69626. var t1 = this.$this;
  69627. return t1._async_evaluate$_handleReturn$2(this.clause.children, new A._EvaluateVisitor_visitIfRule___closure0(t1));
  69628. },
  69629. $signature: 66
  69630. };
  69631. A._EvaluateVisitor_visitIfRule___closure0.prototype = {
  69632. call$1(child) {
  69633. return child.accept$1(this.$this);
  69634. },
  69635. $signature: 86
  69636. };
  69637. A._EvaluateVisitor__visitDynamicImport_closure0.prototype = {
  69638. call$0() {
  69639. return this.$call$body$_EvaluateVisitor__visitDynamicImport_closure();
  69640. },
  69641. $call$body$_EvaluateVisitor__visitDynamicImport_closure() {
  69642. var $async$goto = 0,
  69643. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  69644. $async$returnValue, $async$self = this, t1, t2, _0_0, stylesheet, importer, isDependency, t3, url, oldImporter, oldInDependency, loadsUserDefinedModules, children, t4, t5, t6, t7, t8, t9, t10, environment, module, visitor, _box_0;
  69645. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69646. if ($async$errorCode === 1)
  69647. return A._asyncRethrow($async$result, $async$completer);
  69648. while (true)
  69649. switch ($async$goto) {
  69650. case 0:
  69651. // Function start
  69652. _box_0 = {};
  69653. _box_0.isDependency = _box_0.importer = _box_0.stylesheet = null;
  69654. t1 = $async$self.$this;
  69655. t2 = $async$self.$import;
  69656. $async$goto = 3;
  69657. return A._asyncAwait(t1._async_evaluate$_loadStylesheet$3$forImport(t2.urlString, t2.span, true), $async$call$0);
  69658. case 3:
  69659. // returning from await.
  69660. _0_0 = $async$result;
  69661. stylesheet = _box_0.stylesheet = _0_0._0;
  69662. importer = _0_0._1;
  69663. _box_0.importer = importer;
  69664. isDependency = _0_0._2;
  69665. _box_0.isDependency = isDependency;
  69666. t3 = stylesheet.span;
  69667. url = t3.get$sourceUrl(t3);
  69668. if (url != null) {
  69669. t3 = t1._async_evaluate$_activeModules;
  69670. if (t3.containsKey$1(url)) {
  69671. t2 = A.NullableExtension_andThen(t3.$index(0, url), new A._EvaluateVisitor__visitDynamicImport__closure3(t1));
  69672. throw A.wrapException(t2 == null ? t1._async_evaluate$_exception$1("This file is already being loaded.") : t2);
  69673. }
  69674. t3.$indexSet(0, url, t2);
  69675. }
  69676. t2 = stylesheet._uses;
  69677. t3 = type$.UnmodifiableListView_UseRule;
  69678. $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;
  69679. break;
  69680. case 4:
  69681. // then
  69682. oldImporter = t1._async_evaluate$_importer;
  69683. t2 = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__stylesheet, "_stylesheet");
  69684. oldInDependency = t1._async_evaluate$_inDependency;
  69685. t1._async_evaluate$_importer = importer;
  69686. t1._async_evaluate$__stylesheet = stylesheet;
  69687. t1._async_evaluate$_inDependency = isDependency;
  69688. $async$goto = 6;
  69689. return A._asyncAwait(t1.visitStylesheet$1(stylesheet), $async$call$0);
  69690. case 6:
  69691. // returning from await.
  69692. t1._async_evaluate$_importer = oldImporter;
  69693. t1._async_evaluate$__stylesheet = t2;
  69694. t1._async_evaluate$_inDependency = oldInDependency;
  69695. t1._async_evaluate$_activeModules.remove$1(0, url);
  69696. // goto return
  69697. $async$goto = 1;
  69698. break;
  69699. case 5:
  69700. // join
  69701. t2 = new A.UnmodifiableListView(t2, t3);
  69702. if (!t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure4())) {
  69703. t2 = new A.UnmodifiableListView(stylesheet._forwards, type$.UnmodifiableListView_ForwardRule);
  69704. loadsUserDefinedModules = t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure5());
  69705. } else
  69706. loadsUserDefinedModules = true;
  69707. children = A._Cell$();
  69708. t2 = t1._async_evaluate$_environment;
  69709. t3 = type$.String;
  69710. t4 = type$.Module_AsyncCallable;
  69711. t5 = type$.AstNode;
  69712. t6 = A._setArrayType([], type$.JSArray_Module_AsyncCallable);
  69713. t7 = t2._async_environment$_variables;
  69714. t7 = A._setArrayType(t7.slice(0), A._arrayInstanceType(t7));
  69715. t8 = t2._async_environment$_variableNodes;
  69716. t8 = A._setArrayType(t8.slice(0), A._arrayInstanceType(t8));
  69717. t9 = t2._async_environment$_functions;
  69718. t9 = A._setArrayType(t9.slice(0), A._arrayInstanceType(t9));
  69719. t10 = t2._async_environment$_mixins;
  69720. t10 = A._setArrayType(t10.slice(0), A._arrayInstanceType(t10));
  69721. 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);
  69722. $async$goto = 7;
  69723. 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);
  69724. case 7:
  69725. // returning from await.
  69726. module = environment.toDummyModule$0();
  69727. t1._async_evaluate$_environment.importForwards$1(module);
  69728. $async$goto = loadsUserDefinedModules ? 8 : 9;
  69729. break;
  69730. case 8:
  69731. // then
  69732. $async$goto = module.transitivelyContainsCss ? 10 : 11;
  69733. break;
  69734. case 10:
  69735. // then
  69736. $async$goto = 12;
  69737. return A._asyncAwait(t1._async_evaluate$_combineCss$2$clone(module, module.transitivelyContainsExtensions).accept$1(t1), $async$call$0);
  69738. case 12:
  69739. // returning from await.
  69740. case 11:
  69741. // join
  69742. visitor = new A._ImportedCssVisitor0(t1);
  69743. for (t2 = J.get$iterator$ax(children._readLocal$0()); t2.moveNext$0();)
  69744. t2.get$current(t2).accept$1(visitor);
  69745. case 9:
  69746. // join
  69747. t1._async_evaluate$_activeModules.remove$1(0, url);
  69748. case 1:
  69749. // return
  69750. return A._asyncReturn($async$returnValue, $async$completer);
  69751. }
  69752. });
  69753. return A._asyncStartSync($async$call$0, $async$completer);
  69754. },
  69755. $signature: 24
  69756. };
  69757. A._EvaluateVisitor__visitDynamicImport__closure3.prototype = {
  69758. call$1(previousLoad) {
  69759. 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));
  69760. },
  69761. $signature: 81
  69762. };
  69763. A._EvaluateVisitor__visitDynamicImport__closure4.prototype = {
  69764. call$1(rule) {
  69765. return rule.url.get$scheme() !== "sass";
  69766. },
  69767. $signature: 174
  69768. };
  69769. A._EvaluateVisitor__visitDynamicImport__closure5.prototype = {
  69770. call$1(rule) {
  69771. return rule.url.get$scheme() !== "sass";
  69772. },
  69773. $signature: 175
  69774. };
  69775. A._EvaluateVisitor__visitDynamicImport__closure6.prototype = {
  69776. call$0() {
  69777. var $async$goto = 0,
  69778. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  69779. $async$self = this, t7, t8, t1, oldImporter, t2, t3, t4, t5, oldOutOfOrderImports, oldConfiguration, oldInDependency, t6;
  69780. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69781. if ($async$errorCode === 1)
  69782. return A._asyncRethrow($async$result, $async$completer);
  69783. while (true)
  69784. switch ($async$goto) {
  69785. case 0:
  69786. // Function start
  69787. t1 = $async$self.$this;
  69788. oldImporter = t1._async_evaluate$_importer;
  69789. t2 = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__stylesheet, "_stylesheet");
  69790. t3 = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__root, "_root");
  69791. t4 = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__parent, "__parent");
  69792. t5 = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__endOfImports, "_endOfImports");
  69793. oldOutOfOrderImports = t1._async_evaluate$_outOfOrderImports;
  69794. oldConfiguration = t1._async_evaluate$_configuration;
  69795. oldInDependency = t1._async_evaluate$_inDependency;
  69796. t6 = $async$self._box_0;
  69797. t1._async_evaluate$_importer = t6.importer;
  69798. t7 = t6.stylesheet;
  69799. t1._async_evaluate$__stylesheet = t7;
  69800. t8 = $async$self.loadsUserDefinedModules;
  69801. if (t8) {
  69802. t7 = A.ModifiableCssStylesheet$(t7.span);
  69803. t1._async_evaluate$__root = t7;
  69804. t1._async_evaluate$__parent = t1._async_evaluate$_assertInModule$2(t7, "_root");
  69805. t1._async_evaluate$__endOfImports = 0;
  69806. t1._async_evaluate$_outOfOrderImports = null;
  69807. }
  69808. t1._async_evaluate$_inDependency = t6.isDependency;
  69809. t7 = new A.UnmodifiableListView(t6.stylesheet._forwards, type$.UnmodifiableListView_ForwardRule);
  69810. if (!t7.get$isEmpty(t7))
  69811. t1._async_evaluate$_configuration = $async$self.environment.toImplicitConfiguration$0();
  69812. $async$goto = 2;
  69813. return A._asyncAwait(t1.visitStylesheet$1(t6.stylesheet), $async$call$0);
  69814. case 2:
  69815. // returning from await.
  69816. t6 = t8 ? t1._async_evaluate$_addOutOfOrderImports$0() : A._setArrayType([], type$.JSArray_ModifiableCssNode);
  69817. $async$self.children.__late_helper$_value = t6;
  69818. t1._async_evaluate$_importer = oldImporter;
  69819. t1._async_evaluate$__stylesheet = t2;
  69820. if (t8) {
  69821. t1._async_evaluate$__root = t3;
  69822. t1._async_evaluate$__parent = t4;
  69823. t1._async_evaluate$__endOfImports = t5;
  69824. t1._async_evaluate$_outOfOrderImports = oldOutOfOrderImports;
  69825. }
  69826. t1._async_evaluate$_configuration = oldConfiguration;
  69827. t1._async_evaluate$_inDependency = oldInDependency;
  69828. // implicit return
  69829. return A._asyncReturn(null, $async$completer);
  69830. }
  69831. });
  69832. return A._asyncStartSync($async$call$0, $async$completer);
  69833. },
  69834. $signature: 2
  69835. };
  69836. A._EvaluateVisitor__applyMixin_closure1.prototype = {
  69837. call$0() {
  69838. var $async$goto = 0,
  69839. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  69840. $async$self = this, t1;
  69841. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69842. if ($async$errorCode === 1)
  69843. return A._asyncRethrow($async$result, $async$completer);
  69844. while (true)
  69845. switch ($async$goto) {
  69846. case 0:
  69847. // Function start
  69848. t1 = $async$self.$this;
  69849. $async$goto = 2;
  69850. 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);
  69851. case 2:
  69852. // returning from await.
  69853. // implicit return
  69854. return A._asyncReturn(null, $async$completer);
  69855. }
  69856. });
  69857. return A._asyncStartSync($async$call$0, $async$completer);
  69858. },
  69859. $signature: 24
  69860. };
  69861. A._EvaluateVisitor__applyMixin__closure2.prototype = {
  69862. call$0() {
  69863. var $async$goto = 0,
  69864. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  69865. $async$self = this;
  69866. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69867. if ($async$errorCode === 1)
  69868. return A._asyncRethrow($async$result, $async$completer);
  69869. while (true)
  69870. switch ($async$goto) {
  69871. case 0:
  69872. // Function start
  69873. $async$goto = 2;
  69874. return A._asyncAwait($async$self.$this._async_evaluate$_runBuiltInCallable$3($async$self.$arguments, $async$self.mixin, $async$self.nodeWithSpanWithoutContent), $async$call$0);
  69875. case 2:
  69876. // returning from await.
  69877. // implicit return
  69878. return A._asyncReturn(null, $async$completer);
  69879. }
  69880. });
  69881. return A._asyncStartSync($async$call$0, $async$completer);
  69882. },
  69883. $signature: 24
  69884. };
  69885. A._EvaluateVisitor__applyMixin_closure2.prototype = {
  69886. call$0() {
  69887. var $async$goto = 0,
  69888. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  69889. $async$self = this, t1;
  69890. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69891. if ($async$errorCode === 1)
  69892. return A._asyncRethrow($async$result, $async$completer);
  69893. while (true)
  69894. switch ($async$goto) {
  69895. case 0:
  69896. // Function start
  69897. t1 = $async$self.$this;
  69898. $async$goto = 2;
  69899. 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);
  69900. case 2:
  69901. // returning from await.
  69902. // implicit return
  69903. return A._asyncReturn(null, $async$completer);
  69904. }
  69905. });
  69906. return A._asyncStartSync($async$call$0, $async$completer);
  69907. },
  69908. $signature: 2
  69909. };
  69910. A._EvaluateVisitor__applyMixin__closure1.prototype = {
  69911. call$0() {
  69912. var $async$goto = 0,
  69913. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  69914. $async$self = this, t1;
  69915. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69916. if ($async$errorCode === 1)
  69917. return A._asyncRethrow($async$result, $async$completer);
  69918. while (true)
  69919. switch ($async$goto) {
  69920. case 0:
  69921. // Function start
  69922. t1 = $async$self.$this;
  69923. $async$goto = 2;
  69924. return A._asyncAwait(t1._async_evaluate$_environment.asMixin$1(new A._EvaluateVisitor__applyMixin___closure0(t1, $async$self.mixin, $async$self.nodeWithSpanWithoutContent)), $async$call$0);
  69925. case 2:
  69926. // returning from await.
  69927. // implicit return
  69928. return A._asyncReturn(null, $async$completer);
  69929. }
  69930. });
  69931. return A._asyncStartSync($async$call$0, $async$completer);
  69932. },
  69933. $signature: 24
  69934. };
  69935. A._EvaluateVisitor__applyMixin___closure0.prototype = {
  69936. call$0() {
  69937. var $async$goto = 0,
  69938. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  69939. $async$self = this, t1, t2, t3, t4, t5, _i;
  69940. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69941. if ($async$errorCode === 1)
  69942. return A._asyncRethrow($async$result, $async$completer);
  69943. while (true)
  69944. switch ($async$goto) {
  69945. case 0:
  69946. // Function start
  69947. t1 = $async$self.mixin.declaration.children, t2 = t1.length, t3 = $async$self.$this, t4 = $async$self.nodeWithSpanWithoutContent, t5 = type$.nullable_Value, _i = 0;
  69948. case 2:
  69949. // for condition
  69950. if (!(_i < t2)) {
  69951. // goto after for
  69952. $async$goto = 4;
  69953. break;
  69954. }
  69955. $async$goto = 5;
  69956. return A._asyncAwait(t3._async_evaluate$_addErrorSpan$1$2(t4, new A._EvaluateVisitor__applyMixin____closure0(t3, t1[_i]), t5), $async$call$0);
  69957. case 5:
  69958. // returning from await.
  69959. case 3:
  69960. // for update
  69961. ++_i;
  69962. // goto for condition
  69963. $async$goto = 2;
  69964. break;
  69965. case 4:
  69966. // after for
  69967. // implicit return
  69968. return A._asyncReturn(null, $async$completer);
  69969. }
  69970. });
  69971. return A._asyncStartSync($async$call$0, $async$completer);
  69972. },
  69973. $signature: 24
  69974. };
  69975. A._EvaluateVisitor__applyMixin____closure0.prototype = {
  69976. call$0() {
  69977. return this.statement.accept$1(this.$this);
  69978. },
  69979. $signature: 66
  69980. };
  69981. A._EvaluateVisitor_visitIncludeRule_closure2.prototype = {
  69982. call$0() {
  69983. var t1 = this.node;
  69984. return this.$this._async_evaluate$_environment.getMixin$2$namespace(t1.name, t1.namespace);
  69985. },
  69986. $signature: 99
  69987. };
  69988. A._EvaluateVisitor_visitIncludeRule_closure3.prototype = {
  69989. call$1($content) {
  69990. var t1 = this.$this;
  69991. return new A.UserDefinedCallable($content, t1._async_evaluate$_environment.closure$0(), t1._async_evaluate$_inDependency, type$.UserDefinedCallable_AsyncEnvironment);
  69992. },
  69993. $signature: 323
  69994. };
  69995. A._EvaluateVisitor_visitIncludeRule_closure4.prototype = {
  69996. call$0() {
  69997. return this.node.get$spanWithoutContent();
  69998. },
  69999. $signature: 26
  70000. };
  70001. A._EvaluateVisitor_visitMediaRule_closure2.prototype = {
  70002. call$1(mediaQueries) {
  70003. return this.$this._async_evaluate$_mergeMediaQueries$2(mediaQueries, this.queries);
  70004. },
  70005. $signature: 79
  70006. };
  70007. A._EvaluateVisitor_visitMediaRule_closure3.prototype = {
  70008. call$0() {
  70009. var $async$goto = 0,
  70010. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  70011. $async$self = this, t1, t2;
  70012. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70013. if ($async$errorCode === 1)
  70014. return A._asyncRethrow($async$result, $async$completer);
  70015. while (true)
  70016. switch ($async$goto) {
  70017. case 0:
  70018. // Function start
  70019. t1 = $async$self.$this;
  70020. t2 = $async$self.mergedQueries;
  70021. if (t2 == null)
  70022. t2 = $async$self.queries;
  70023. $async$goto = 2;
  70024. 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);
  70025. case 2:
  70026. // returning from await.
  70027. // implicit return
  70028. return A._asyncReturn(null, $async$completer);
  70029. }
  70030. });
  70031. return A._asyncStartSync($async$call$0, $async$completer);
  70032. },
  70033. $signature: 2
  70034. };
  70035. A._EvaluateVisitor_visitMediaRule__closure0.prototype = {
  70036. call$0() {
  70037. var $async$goto = 0,
  70038. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  70039. $async$self = this, t2, t3, _i, t1, _0_0;
  70040. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70041. if ($async$errorCode === 1)
  70042. return A._asyncRethrow($async$result, $async$completer);
  70043. while (true)
  70044. switch ($async$goto) {
  70045. case 0:
  70046. // Function start
  70047. t1 = $async$self.$this;
  70048. _0_0 = t1._async_evaluate$_atRootExcludingStyleRule ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
  70049. $async$goto = _0_0 != null ? 2 : 4;
  70050. break;
  70051. case 2:
  70052. // then
  70053. $async$goto = 5;
  70054. 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);
  70055. case 5:
  70056. // returning from await.
  70057. // goto join
  70058. $async$goto = 3;
  70059. break;
  70060. case 4:
  70061. // else
  70062. t2 = $async$self.node.children, t3 = t2.length, _i = 0;
  70063. case 6:
  70064. // for condition
  70065. if (!(_i < t3)) {
  70066. // goto after for
  70067. $async$goto = 8;
  70068. break;
  70069. }
  70070. $async$goto = 9;
  70071. return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
  70072. case 9:
  70073. // returning from await.
  70074. case 7:
  70075. // for update
  70076. ++_i;
  70077. // goto for condition
  70078. $async$goto = 6;
  70079. break;
  70080. case 8:
  70081. // after for
  70082. case 3:
  70083. // join
  70084. // implicit return
  70085. return A._asyncReturn(null, $async$completer);
  70086. }
  70087. });
  70088. return A._asyncStartSync($async$call$0, $async$completer);
  70089. },
  70090. $signature: 2
  70091. };
  70092. A._EvaluateVisitor_visitMediaRule___closure0.prototype = {
  70093. call$0() {
  70094. var $async$goto = 0,
  70095. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  70096. $async$self = this, t1, t2, t3, _i;
  70097. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70098. if ($async$errorCode === 1)
  70099. return A._asyncRethrow($async$result, $async$completer);
  70100. while (true)
  70101. switch ($async$goto) {
  70102. case 0:
  70103. // Function start
  70104. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  70105. case 2:
  70106. // for condition
  70107. if (!(_i < t2)) {
  70108. // goto after for
  70109. $async$goto = 4;
  70110. break;
  70111. }
  70112. $async$goto = 5;
  70113. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  70114. case 5:
  70115. // returning from await.
  70116. case 3:
  70117. // for update
  70118. ++_i;
  70119. // goto for condition
  70120. $async$goto = 2;
  70121. break;
  70122. case 4:
  70123. // after for
  70124. // implicit return
  70125. return A._asyncReturn(null, $async$completer);
  70126. }
  70127. });
  70128. return A._asyncStartSync($async$call$0, $async$completer);
  70129. },
  70130. $signature: 2
  70131. };
  70132. A._EvaluateVisitor_visitMediaRule_closure4.prototype = {
  70133. call$1(node) {
  70134. var t1;
  70135. if (!(node instanceof A.ModifiableCssStyleRule)) {
  70136. t1 = this.mergedSources;
  70137. t1 = t1.get$isNotEmpty(t1) && node instanceof A.ModifiableCssMediaRule && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  70138. } else
  70139. t1 = true;
  70140. return t1;
  70141. },
  70142. $signature: 7
  70143. };
  70144. A._EvaluateVisitor_visitStyleRule_closure4.prototype = {
  70145. call$0() {
  70146. var $async$goto = 0,
  70147. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  70148. $async$self = this, t1, t2, t3, _i;
  70149. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70150. if ($async$errorCode === 1)
  70151. return A._asyncRethrow($async$result, $async$completer);
  70152. while (true)
  70153. switch ($async$goto) {
  70154. case 0:
  70155. // Function start
  70156. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  70157. case 2:
  70158. // for condition
  70159. if (!(_i < t2)) {
  70160. // goto after for
  70161. $async$goto = 4;
  70162. break;
  70163. }
  70164. $async$goto = 5;
  70165. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  70166. case 5:
  70167. // returning from await.
  70168. case 3:
  70169. // for update
  70170. ++_i;
  70171. // goto for condition
  70172. $async$goto = 2;
  70173. break;
  70174. case 4:
  70175. // after for
  70176. // implicit return
  70177. return A._asyncReturn(null, $async$completer);
  70178. }
  70179. });
  70180. return A._asyncStartSync($async$call$0, $async$completer);
  70181. },
  70182. $signature: 2
  70183. };
  70184. A._EvaluateVisitor_visitStyleRule_closure5.prototype = {
  70185. call$1(node) {
  70186. return node instanceof A.ModifiableCssStyleRule;
  70187. },
  70188. $signature: 7
  70189. };
  70190. A._EvaluateVisitor_visitStyleRule_closure7.prototype = {
  70191. call$0() {
  70192. var $async$goto = 0,
  70193. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  70194. $async$self = this, t1;
  70195. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70196. if ($async$errorCode === 1)
  70197. return A._asyncRethrow($async$result, $async$completer);
  70198. while (true)
  70199. switch ($async$goto) {
  70200. case 0:
  70201. // Function start
  70202. t1 = $async$self.$this;
  70203. $async$goto = 2;
  70204. 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);
  70205. case 2:
  70206. // returning from await.
  70207. // implicit return
  70208. return A._asyncReturn(null, $async$completer);
  70209. }
  70210. });
  70211. return A._asyncStartSync($async$call$0, $async$completer);
  70212. },
  70213. $signature: 2
  70214. };
  70215. A._EvaluateVisitor_visitStyleRule__closure0.prototype = {
  70216. call$0() {
  70217. var $async$goto = 0,
  70218. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  70219. $async$self = this, t1, t2, t3, _i;
  70220. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70221. if ($async$errorCode === 1)
  70222. return A._asyncRethrow($async$result, $async$completer);
  70223. while (true)
  70224. switch ($async$goto) {
  70225. case 0:
  70226. // Function start
  70227. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  70228. case 2:
  70229. // for condition
  70230. if (!(_i < t2)) {
  70231. // goto after for
  70232. $async$goto = 4;
  70233. break;
  70234. }
  70235. $async$goto = 5;
  70236. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  70237. case 5:
  70238. // returning from await.
  70239. case 3:
  70240. // for update
  70241. ++_i;
  70242. // goto for condition
  70243. $async$goto = 2;
  70244. break;
  70245. case 4:
  70246. // after for
  70247. // implicit return
  70248. return A._asyncReturn(null, $async$completer);
  70249. }
  70250. });
  70251. return A._asyncStartSync($async$call$0, $async$completer);
  70252. },
  70253. $signature: 2
  70254. };
  70255. A._EvaluateVisitor_visitStyleRule_closure6.prototype = {
  70256. call$1(node) {
  70257. return node instanceof A.ModifiableCssStyleRule;
  70258. },
  70259. $signature: 7
  70260. };
  70261. A._EvaluateVisitor_visitStyleRule_closure8.prototype = {
  70262. call$1(child) {
  70263. return child instanceof A.ModifiableCssComment;
  70264. },
  70265. $signature: 111
  70266. };
  70267. A._EvaluateVisitor_visitSupportsRule_closure1.prototype = {
  70268. call$0() {
  70269. var $async$goto = 0,
  70270. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  70271. $async$self = this, t2, t3, _i, t1, _0_0;
  70272. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70273. if ($async$errorCode === 1)
  70274. return A._asyncRethrow($async$result, $async$completer);
  70275. while (true)
  70276. switch ($async$goto) {
  70277. case 0:
  70278. // Function start
  70279. t1 = $async$self.$this;
  70280. _0_0 = t1._async_evaluate$_atRootExcludingStyleRule ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
  70281. $async$goto = _0_0 != null ? 2 : 4;
  70282. break;
  70283. case 2:
  70284. // then
  70285. $async$goto = 5;
  70286. 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);
  70287. case 5:
  70288. // returning from await.
  70289. // goto join
  70290. $async$goto = 3;
  70291. break;
  70292. case 4:
  70293. // else
  70294. t2 = $async$self.node.children, t3 = t2.length, _i = 0;
  70295. case 6:
  70296. // for condition
  70297. if (!(_i < t3)) {
  70298. // goto after for
  70299. $async$goto = 8;
  70300. break;
  70301. }
  70302. $async$goto = 9;
  70303. return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
  70304. case 9:
  70305. // returning from await.
  70306. case 7:
  70307. // for update
  70308. ++_i;
  70309. // goto for condition
  70310. $async$goto = 6;
  70311. break;
  70312. case 8:
  70313. // after for
  70314. case 3:
  70315. // join
  70316. // implicit return
  70317. return A._asyncReturn(null, $async$completer);
  70318. }
  70319. });
  70320. return A._asyncStartSync($async$call$0, $async$completer);
  70321. },
  70322. $signature: 2
  70323. };
  70324. A._EvaluateVisitor_visitSupportsRule__closure0.prototype = {
  70325. call$0() {
  70326. var $async$goto = 0,
  70327. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  70328. $async$self = this, t1, t2, t3, _i;
  70329. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70330. if ($async$errorCode === 1)
  70331. return A._asyncRethrow($async$result, $async$completer);
  70332. while (true)
  70333. switch ($async$goto) {
  70334. case 0:
  70335. // Function start
  70336. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  70337. case 2:
  70338. // for condition
  70339. if (!(_i < t2)) {
  70340. // goto after for
  70341. $async$goto = 4;
  70342. break;
  70343. }
  70344. $async$goto = 5;
  70345. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  70346. case 5:
  70347. // returning from await.
  70348. case 3:
  70349. // for update
  70350. ++_i;
  70351. // goto for condition
  70352. $async$goto = 2;
  70353. break;
  70354. case 4:
  70355. // after for
  70356. // implicit return
  70357. return A._asyncReturn(null, $async$completer);
  70358. }
  70359. });
  70360. return A._asyncStartSync($async$call$0, $async$completer);
  70361. },
  70362. $signature: 2
  70363. };
  70364. A._EvaluateVisitor_visitSupportsRule_closure2.prototype = {
  70365. call$1(node) {
  70366. return node instanceof A.ModifiableCssStyleRule;
  70367. },
  70368. $signature: 7
  70369. };
  70370. A._EvaluateVisitor__visitSupportsCondition_closure0.prototype = {
  70371. call$0() {
  70372. var $async$goto = 0,
  70373. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  70374. $async$returnValue, $async$self = this, t1, t2, t3, t4, $async$temp1, $async$temp2;
  70375. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70376. if ($async$errorCode === 1)
  70377. return A._asyncRethrow($async$result, $async$completer);
  70378. while (true)
  70379. switch ($async$goto) {
  70380. case 0:
  70381. // Function start
  70382. t1 = $async$self.$this;
  70383. t2 = $async$self._box_0;
  70384. $async$temp1 = A;
  70385. $async$goto = 3;
  70386. return A._asyncAwait(t1._evaluateToCss$1(t2.declaration.name), $async$call$0);
  70387. case 3:
  70388. // returning from await.
  70389. t3 = $async$temp1.S($async$result);
  70390. t4 = t2.declaration.get$isCustomProperty() ? "" : " ";
  70391. $async$temp1 = "(" + t3 + ":" + t4;
  70392. $async$temp2 = A;
  70393. $async$goto = 4;
  70394. return A._asyncAwait(t1._evaluateToCss$1(t2.declaration.value), $async$call$0);
  70395. case 4:
  70396. // returning from await.
  70397. $async$returnValue = $async$temp1 + $async$temp2.S($async$result) + ")";
  70398. // goto return
  70399. $async$goto = 1;
  70400. break;
  70401. case 1:
  70402. // return
  70403. return A._asyncReturn($async$returnValue, $async$completer);
  70404. }
  70405. });
  70406. return A._asyncStartSync($async$call$0, $async$completer);
  70407. },
  70408. $signature: 177
  70409. };
  70410. A._EvaluateVisitor_visitVariableDeclaration_closure2.prototype = {
  70411. call$0() {
  70412. var t1 = this.$this._async_evaluate$_environment,
  70413. t2 = this._box_0.override;
  70414. t1.setVariable$4$global(this.node.name, t2.value, t2.assignmentNode, true);
  70415. },
  70416. $signature: 1
  70417. };
  70418. A._EvaluateVisitor_visitVariableDeclaration_closure3.prototype = {
  70419. call$0() {
  70420. var t1 = this.node;
  70421. return this.$this._async_evaluate$_environment.getVariable$2$namespace(t1.name, t1.namespace);
  70422. },
  70423. $signature: 39
  70424. };
  70425. A._EvaluateVisitor_visitVariableDeclaration_closure4.prototype = {
  70426. call$0() {
  70427. var t1 = this.$this,
  70428. t2 = this.node;
  70429. t1._async_evaluate$_environment.setVariable$5$global$namespace(t2.name, this.value, t1._async_evaluate$_expressionNode$1(t2.expression), t2.isGlobal, t2.namespace);
  70430. },
  70431. $signature: 1
  70432. };
  70433. A._EvaluateVisitor_visitUseRule_closure0.prototype = {
  70434. call$2(module, firstLoad) {
  70435. var t1, t2, t3, _0_0, t4, t5, span;
  70436. if (firstLoad)
  70437. this.$this._async_evaluate$_registerCommentsForModule$1(module);
  70438. t1 = this.$this._async_evaluate$_environment;
  70439. t2 = this.node;
  70440. t3 = t2.namespace;
  70441. if (t3 == null) {
  70442. t1._async_environment$_globalModules.$indexSet(0, module, t2);
  70443. t1._async_environment$_allModules.push(module);
  70444. _0_0 = A.IterableExtension_firstWhereOrNull(J.get$keys$z(B.JSArray_methods.get$first(t1._async_environment$_variables)), module.get$variables().get$containsKey());
  70445. if (_0_0 != null)
  70446. A.throwExpression(A.SassScriptException$(string$.This_ma + _0_0 + '".', null));
  70447. } else {
  70448. t4 = t1._async_environment$_modules;
  70449. if (t4.containsKey$1(t3)) {
  70450. t5 = t1._async_environment$_namespaceNodes.$index(0, t3);
  70451. span = t5 == null ? null : t5.span;
  70452. t5 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  70453. if (span != null)
  70454. t5.$indexSet(0, span, "original @use");
  70455. A.throwExpression(A.MultiSpanSassScriptException$(string$.There_ + t3 + '".', "new @use", t5));
  70456. }
  70457. t4.$indexSet(0, t3, module);
  70458. t1._async_environment$_namespaceNodes.$indexSet(0, t3, t2);
  70459. t1._async_environment$_allModules.push(module);
  70460. }
  70461. },
  70462. $signature: 116
  70463. };
  70464. A._EvaluateVisitor_visitWarnRule_closure0.prototype = {
  70465. call$0() {
  70466. return this.node.expression.accept$1(this.$this);
  70467. },
  70468. $signature: 69
  70469. };
  70470. A._EvaluateVisitor_visitWhileRule_closure0.prototype = {
  70471. call$0() {
  70472. var $async$goto = 0,
  70473. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  70474. $async$returnValue, $async$self = this, t1, t2, t3, _0_0;
  70475. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70476. if ($async$errorCode === 1)
  70477. return A._asyncRethrow($async$result, $async$completer);
  70478. while (true)
  70479. switch ($async$goto) {
  70480. case 0:
  70481. // Function start
  70482. t1 = $async$self.node, t2 = t1.condition, t3 = $async$self.$this, t1 = t1.children;
  70483. case 3:
  70484. // for condition
  70485. $async$goto = 5;
  70486. return A._asyncAwait(t2.accept$1(t3), $async$call$0);
  70487. case 5:
  70488. // returning from await.
  70489. if (!$async$result.get$isTruthy()) {
  70490. // goto after for
  70491. $async$goto = 4;
  70492. break;
  70493. }
  70494. $async$goto = 6;
  70495. return A._asyncAwait(t3._async_evaluate$_handleReturn$2(t1, new A._EvaluateVisitor_visitWhileRule__closure0(t3)), $async$call$0);
  70496. case 6:
  70497. // returning from await.
  70498. _0_0 = $async$result;
  70499. if (_0_0 != null) {
  70500. $async$returnValue = _0_0;
  70501. // goto return
  70502. $async$goto = 1;
  70503. break;
  70504. }
  70505. // goto for condition
  70506. $async$goto = 3;
  70507. break;
  70508. case 4:
  70509. // after for
  70510. $async$returnValue = null;
  70511. // goto return
  70512. $async$goto = 1;
  70513. break;
  70514. case 1:
  70515. // return
  70516. return A._asyncReturn($async$returnValue, $async$completer);
  70517. }
  70518. });
  70519. return A._asyncStartSync($async$call$0, $async$completer);
  70520. },
  70521. $signature: 66
  70522. };
  70523. A._EvaluateVisitor_visitWhileRule__closure0.prototype = {
  70524. call$1(child) {
  70525. return child.accept$1(this.$this);
  70526. },
  70527. $signature: 86
  70528. };
  70529. A._EvaluateVisitor_visitBinaryOperationExpression_closure0.prototype = {
  70530. call$0() {
  70531. var $async$goto = 0,
  70532. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  70533. $async$returnValue, $async$self = this, t3, t1, t2, left, $async$temp1, $async$temp2;
  70534. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70535. if ($async$errorCode === 1)
  70536. return A._asyncRethrow($async$result, $async$completer);
  70537. while (true)
  70538. switch ($async$goto) {
  70539. case 0:
  70540. // Function start
  70541. t1 = $async$self.node;
  70542. t2 = $async$self.$this;
  70543. $async$goto = 3;
  70544. return A._asyncAwait(t1.left.accept$1(t2), $async$call$0);
  70545. case 3:
  70546. // returning from await.
  70547. left = $async$result;
  70548. case 4:
  70549. // switch
  70550. switch (t1.operator) {
  70551. case B.BinaryOperator_wdM:
  70552. // goto case
  70553. $async$goto = 6;
  70554. break;
  70555. case B.BinaryOperator_qNM:
  70556. // goto case
  70557. $async$goto = 7;
  70558. break;
  70559. case B.BinaryOperator_eDt:
  70560. // goto case
  70561. $async$goto = 8;
  70562. break;
  70563. case B.BinaryOperator_g8k:
  70564. // goto case
  70565. $async$goto = 9;
  70566. break;
  70567. case B.BinaryOperator_icU:
  70568. // goto case
  70569. $async$goto = 10;
  70570. break;
  70571. case B.BinaryOperator_bEa:
  70572. // goto case
  70573. $async$goto = 11;
  70574. break;
  70575. case B.BinaryOperator_oEm:
  70576. // goto case
  70577. $async$goto = 12;
  70578. break;
  70579. case B.BinaryOperator_miq:
  70580. // goto case
  70581. $async$goto = 13;
  70582. break;
  70583. case B.BinaryOperator_SPQ:
  70584. // goto case
  70585. $async$goto = 14;
  70586. break;
  70587. case B.BinaryOperator_u15:
  70588. // goto case
  70589. $async$goto = 15;
  70590. break;
  70591. case B.BinaryOperator_SjO:
  70592. // goto case
  70593. $async$goto = 16;
  70594. break;
  70595. case B.BinaryOperator_2No:
  70596. // goto case
  70597. $async$goto = 17;
  70598. break;
  70599. case B.BinaryOperator_U77:
  70600. // goto case
  70601. $async$goto = 18;
  70602. break;
  70603. case B.BinaryOperator_KNx:
  70604. // goto case
  70605. $async$goto = 19;
  70606. break;
  70607. default:
  70608. // goto default
  70609. $async$goto = 20;
  70610. break;
  70611. }
  70612. break;
  70613. case 6:
  70614. // case
  70615. t1 = t1.right.accept$1(t2);
  70616. $async$goto = 21;
  70617. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  70618. case 21:
  70619. // returning from await.
  70620. t1 = $async$result;
  70621. t1 = new A.SassString(A.serializeValue(left, false, true) + "=" + A.serializeValue(t1, false, true), false);
  70622. // goto after switch
  70623. $async$goto = 5;
  70624. break;
  70625. case 7:
  70626. // case
  70627. $async$goto = left.get$isTruthy() ? 22 : 24;
  70628. break;
  70629. case 22:
  70630. // then
  70631. t1 = left;
  70632. // goto join
  70633. $async$goto = 23;
  70634. break;
  70635. case 24:
  70636. // else
  70637. t1 = t1.right.accept$1(t2);
  70638. $async$goto = 25;
  70639. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  70640. case 25:
  70641. // returning from await.
  70642. t1 = $async$result;
  70643. case 23:
  70644. // join
  70645. // goto after switch
  70646. $async$goto = 5;
  70647. break;
  70648. case 8:
  70649. // case
  70650. $async$goto = left.get$isTruthy() ? 26 : 28;
  70651. break;
  70652. case 26:
  70653. // then
  70654. t1 = t1.right.accept$1(t2);
  70655. $async$goto = 29;
  70656. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  70657. case 29:
  70658. // returning from await.
  70659. t1 = $async$result;
  70660. // goto join
  70661. $async$goto = 27;
  70662. break;
  70663. case 28:
  70664. // else
  70665. t1 = left;
  70666. case 27:
  70667. // join
  70668. // goto after switch
  70669. $async$goto = 5;
  70670. break;
  70671. case 9:
  70672. // case
  70673. $async$temp1 = left;
  70674. $async$goto = 30;
  70675. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  70676. case 30:
  70677. // returning from await.
  70678. t1 = $async$temp1.$eq(0, $async$result) ? B.SassBoolean_true : B.SassBoolean_false;
  70679. // goto after switch
  70680. $async$goto = 5;
  70681. break;
  70682. case 10:
  70683. // case
  70684. $async$temp1 = left;
  70685. $async$goto = 31;
  70686. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  70687. case 31:
  70688. // returning from await.
  70689. t1 = !$async$temp1.$eq(0, $async$result) ? B.SassBoolean_true : B.SassBoolean_false;
  70690. // goto after switch
  70691. $async$goto = 5;
  70692. break;
  70693. case 11:
  70694. // case
  70695. t1 = t1.right.accept$1(t2);
  70696. $async$temp1 = left;
  70697. $async$goto = 32;
  70698. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  70699. case 32:
  70700. // returning from await.
  70701. t1 = $async$temp1.greaterThan$1($async$result);
  70702. // goto after switch
  70703. $async$goto = 5;
  70704. break;
  70705. case 12:
  70706. // case
  70707. t1 = t1.right.accept$1(t2);
  70708. $async$temp1 = left;
  70709. $async$goto = 33;
  70710. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  70711. case 33:
  70712. // returning from await.
  70713. t1 = $async$temp1.greaterThanOrEquals$1($async$result);
  70714. // goto after switch
  70715. $async$goto = 5;
  70716. break;
  70717. case 13:
  70718. // case
  70719. t1 = t1.right.accept$1(t2);
  70720. $async$temp1 = left;
  70721. $async$goto = 34;
  70722. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  70723. case 34:
  70724. // returning from await.
  70725. t1 = $async$temp1.lessThan$1($async$result);
  70726. // goto after switch
  70727. $async$goto = 5;
  70728. break;
  70729. case 14:
  70730. // case
  70731. t1 = t1.right.accept$1(t2);
  70732. $async$temp1 = left;
  70733. $async$goto = 35;
  70734. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  70735. case 35:
  70736. // returning from await.
  70737. t1 = $async$temp1.lessThanOrEquals$1($async$result);
  70738. // goto after switch
  70739. $async$goto = 5;
  70740. break;
  70741. case 15:
  70742. // case
  70743. t1 = t1.right.accept$1(t2);
  70744. $async$temp1 = left;
  70745. $async$goto = 36;
  70746. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  70747. case 36:
  70748. // returning from await.
  70749. t1 = $async$temp1.plus$1($async$result);
  70750. // goto after switch
  70751. $async$goto = 5;
  70752. break;
  70753. case 16:
  70754. // case
  70755. t1 = t1.right.accept$1(t2);
  70756. $async$temp1 = left;
  70757. $async$goto = 37;
  70758. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  70759. case 37:
  70760. // returning from await.
  70761. t1 = $async$temp1.minus$1($async$result);
  70762. // goto after switch
  70763. $async$goto = 5;
  70764. break;
  70765. case 17:
  70766. // case
  70767. t1 = t1.right.accept$1(t2);
  70768. $async$temp1 = left;
  70769. $async$goto = 38;
  70770. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  70771. case 38:
  70772. // returning from await.
  70773. t1 = $async$temp1.times$1($async$result);
  70774. // goto after switch
  70775. $async$goto = 5;
  70776. break;
  70777. case 18:
  70778. // case
  70779. t3 = t1.right.accept$1(t2);
  70780. $async$temp1 = t2;
  70781. $async$temp2 = left;
  70782. $async$goto = 39;
  70783. return A._asyncAwait(type$.Future_Value._is(t3) ? t3 : A._Future$value(t3, type$.Value), $async$call$0);
  70784. case 39:
  70785. // returning from await.
  70786. t1 = $async$temp1._async_evaluate$_slash$3($async$temp2, $async$result, t1);
  70787. // goto after switch
  70788. $async$goto = 5;
  70789. break;
  70790. case 19:
  70791. // case
  70792. t1 = t1.right.accept$1(t2);
  70793. $async$temp1 = left;
  70794. $async$goto = 40;
  70795. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  70796. case 40:
  70797. // returning from await.
  70798. t1 = $async$temp1.modulo$1($async$result);
  70799. // goto after switch
  70800. $async$goto = 5;
  70801. break;
  70802. case 20:
  70803. // default
  70804. t1 = null;
  70805. case 5:
  70806. // after switch
  70807. $async$returnValue = t1;
  70808. // goto return
  70809. $async$goto = 1;
  70810. break;
  70811. case 1:
  70812. // return
  70813. return A._asyncReturn($async$returnValue, $async$completer);
  70814. }
  70815. });
  70816. return A._asyncStartSync($async$call$0, $async$completer);
  70817. },
  70818. $signature: 69
  70819. };
  70820. A._EvaluateVisitor__slash_recommendation0.prototype = {
  70821. call$1(expression) {
  70822. var t1;
  70823. $label0$0: {
  70824. if (expression instanceof A.BinaryOperationExpression && B.BinaryOperator_U77 === expression.operator) {
  70825. t1 = "math.div(" + A.S(this.call$1(expression.left)) + ", " + A.S(this.call$1(expression.right)) + ")";
  70826. break $label0$0;
  70827. }
  70828. if (expression instanceof A.ParenthesizedExpression) {
  70829. t1 = expression.expression.toString$0(0);
  70830. break $label0$0;
  70831. }
  70832. t1 = expression.toString$0(0);
  70833. break $label0$0;
  70834. }
  70835. return t1;
  70836. },
  70837. $signature: 136
  70838. };
  70839. A._EvaluateVisitor_visitVariableExpression_closure0.prototype = {
  70840. call$0() {
  70841. var t1 = this.node;
  70842. return this.$this._async_evaluate$_environment.getVariable$2$namespace(t1.name, t1.namespace);
  70843. },
  70844. $signature: 39
  70845. };
  70846. A._EvaluateVisitor_visitUnaryOperationExpression_closure0.prototype = {
  70847. call$0() {
  70848. var t1, _this = this;
  70849. switch (_this.node.operator) {
  70850. case B.UnaryOperator_cLp:
  70851. t1 = _this.operand.unaryPlus$0();
  70852. break;
  70853. case B.UnaryOperator_AiQ:
  70854. t1 = _this.operand.unaryMinus$0();
  70855. break;
  70856. case B.UnaryOperator_SJr:
  70857. t1 = new A.SassString("/" + A.serializeValue(_this.operand, false, true), false);
  70858. break;
  70859. case B.UnaryOperator_not_not_not:
  70860. t1 = _this.operand.unaryNot$0();
  70861. break;
  70862. default:
  70863. t1 = null;
  70864. }
  70865. return t1;
  70866. },
  70867. $signature: 32
  70868. };
  70869. A._EvaluateVisitor_visitListExpression_closure0.prototype = {
  70870. call$1(expression) {
  70871. return expression.accept$1(this.$this);
  70872. },
  70873. $signature: 315
  70874. };
  70875. A._EvaluateVisitor_visitFunctionExpression_closure2.prototype = {
  70876. call$0() {
  70877. var t1 = this.node;
  70878. return this.$this._async_evaluate$_environment.getFunction$2$namespace(t1.name, t1.namespace);
  70879. },
  70880. $signature: 99
  70881. };
  70882. A._EvaluateVisitor_visitFunctionExpression_closure3.prototype = {
  70883. call$1(argument) {
  70884. return argument.accept$1(new A._IsCalculationSafeVisitor());
  70885. },
  70886. $signature: 110
  70887. };
  70888. A._EvaluateVisitor_visitFunctionExpression_closure4.prototype = {
  70889. call$0() {
  70890. var t1 = this.node;
  70891. return this.$this._async_evaluate$_runFunctionCallable$3(t1.$arguments, this._box_0.$function, t1);
  70892. },
  70893. $signature: 69
  70894. };
  70895. A._EvaluateVisitor__checkCalculationArguments_check0.prototype = {
  70896. call$1(maxArgs) {
  70897. var t1 = this.node,
  70898. t2 = t1.$arguments.positional.length;
  70899. if (t2 === 0)
  70900. throw A.wrapException(this.$this._async_evaluate$_exception$2("Missing argument.", t1.span));
  70901. else if (maxArgs != null && t2 > maxArgs)
  70902. 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));
  70903. },
  70904. call$0() {
  70905. return this.call$1(null);
  70906. },
  70907. $signature: 96
  70908. };
  70909. A._EvaluateVisitor__visitCalculationExpression_closure0.prototype = {
  70910. call$0() {
  70911. var $async$goto = 0,
  70912. $async$completer = A._makeAsyncAwaitCompleter(type$.Object),
  70913. $async$returnValue, $async$self = this, t1, t2, t3, $async$temp1, $async$temp2, $async$temp3;
  70914. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70915. if ($async$errorCode === 1)
  70916. return A._asyncRethrow($async$result, $async$completer);
  70917. while (true)
  70918. switch ($async$goto) {
  70919. case 0:
  70920. // Function start
  70921. t1 = $async$self.$this;
  70922. t2 = $async$self._box_0;
  70923. t3 = $async$self.inLegacySassFunction;
  70924. $async$temp1 = A;
  70925. $async$temp2 = t1._async_evaluate$_binaryOperatorToCalculationOperator$2(t2.operator, $async$self.node);
  70926. $async$goto = 3;
  70927. return A._asyncAwait(t1._async_evaluate$_visitCalculationExpression$2$inLegacySassFunction(t2.left, t3), $async$call$0);
  70928. case 3:
  70929. // returning from await.
  70930. $async$temp3 = $async$result;
  70931. $async$goto = 4;
  70932. return A._asyncAwait(t1._async_evaluate$_visitCalculationExpression$2$inLegacySassFunction(t2.right, t3), $async$call$0);
  70933. case 4:
  70934. // returning from await.
  70935. $async$returnValue = $async$temp1.SassCalculation_operateInternal($async$temp2, $async$temp3, $async$result, t3, !t1._async_evaluate$_inSupportsDeclaration);
  70936. // goto return
  70937. $async$goto = 1;
  70938. break;
  70939. case 1:
  70940. // return
  70941. return A._asyncReturn($async$returnValue, $async$completer);
  70942. }
  70943. });
  70944. return A._asyncStartSync($async$call$0, $async$completer);
  70945. },
  70946. $signature: 180
  70947. };
  70948. A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure0.prototype = {
  70949. call$0() {
  70950. var t1 = this.node;
  70951. return this.$this._async_evaluate$_runFunctionCallable$3(t1.$arguments, this.$function, t1);
  70952. },
  70953. $signature: 69
  70954. };
  70955. A._EvaluateVisitor__runUserDefinedCallable_closure0.prototype = {
  70956. call$0() {
  70957. var _this = this,
  70958. t1 = _this.$this,
  70959. t2 = _this.callable,
  70960. t3 = _this.V;
  70961. 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);
  70962. },
  70963. $signature() {
  70964. return this.V._eval$1("Future<0>()");
  70965. }
  70966. };
  70967. A._EvaluateVisitor__runUserDefinedCallable__closure0.prototype = {
  70968. call$0() {
  70969. var _this = this,
  70970. t1 = _this.$this,
  70971. t2 = _this.V;
  70972. return t1._async_evaluate$_environment.scope$1$1(new A._EvaluateVisitor__runUserDefinedCallable___closure0(t1, _this.evaluated, _this.callable, _this.nodeWithSpan, _this.run, t2), t2);
  70973. },
  70974. $signature() {
  70975. return this.V._eval$1("Future<0>()");
  70976. }
  70977. };
  70978. A._EvaluateVisitor__runUserDefinedCallable___closure0.prototype = {
  70979. call$0() {
  70980. return this.$call$body$_EvaluateVisitor__runUserDefinedCallable___closure(this.V);
  70981. },
  70982. $call$body$_EvaluateVisitor__runUserDefinedCallable___closure($async$type) {
  70983. var $async$goto = 0,
  70984. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  70985. $async$returnValue, $async$self = this, declaredArguments, t5, minLength, i, argument, t6, t7, value, t8, restArgument, rest, argumentList, result, t1, t2, t3, t4, $async$temp1;
  70986. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70987. if ($async$errorCode === 1)
  70988. return A._asyncRethrow($async$result, $async$completer);
  70989. while (true)
  70990. switch ($async$goto) {
  70991. case 0:
  70992. // Function start
  70993. t1 = $async$self.$this;
  70994. t2 = $async$self.evaluated._values;
  70995. t3 = $async$self.callable.declaration.$arguments;
  70996. t4 = $async$self.nodeWithSpan;
  70997. t1._async_evaluate$_verifyArguments$4(J.get$length$asx(t2[2]), t2[0], t3, t4);
  70998. declaredArguments = t3.$arguments;
  70999. t5 = declaredArguments.length;
  71000. minLength = Math.min(J.get$length$asx(t2[2]), t5);
  71001. for (i = 0; i < minLength; ++i)
  71002. t1._async_evaluate$_environment.setLocalVariable$3(declaredArguments[i].name, J.$index$asx(t2[2], i), J.$index$asx(t2[3], i));
  71003. i = J.get$length$asx(t2[2]);
  71004. case 3:
  71005. // for condition
  71006. if (!(i < t5)) {
  71007. // goto after for
  71008. $async$goto = 5;
  71009. break;
  71010. }
  71011. argument = declaredArguments[i];
  71012. t6 = t2[0];
  71013. t7 = argument.name;
  71014. value = J.remove$1$z(t6, t7);
  71015. $async$goto = value == null ? 6 : 7;
  71016. break;
  71017. case 6:
  71018. // then
  71019. t6 = argument.defaultValue;
  71020. $async$temp1 = t1;
  71021. $async$goto = 8;
  71022. return A._asyncAwait(t6.accept$1(t1), $async$call$0);
  71023. case 8:
  71024. // returning from await.
  71025. value = $async$temp1._async_evaluate$_withoutSlash$2($async$result, t1._async_evaluate$_expressionNode$1(t6));
  71026. case 7:
  71027. // join
  71028. t6 = t1._async_evaluate$_environment;
  71029. t8 = J.$index$asx(t2[1], t7);
  71030. if (t8 == null) {
  71031. t8 = argument.defaultValue;
  71032. t8.toString;
  71033. t8 = t1._async_evaluate$_expressionNode$1(t8);
  71034. }
  71035. t6.setLocalVariable$3(t7, value, t8);
  71036. case 4:
  71037. // for update
  71038. ++i;
  71039. // goto for condition
  71040. $async$goto = 3;
  71041. break;
  71042. case 5:
  71043. // after for
  71044. restArgument = t3.restArgument;
  71045. if (restArgument != null) {
  71046. rest = J.get$length$asx(t2[2]) > t5 ? J.sublist$1$ax(t2[2], t5) : B.List_empty8;
  71047. t5 = t2[0];
  71048. t6 = t2[4];
  71049. argumentList = A.SassArgumentList$(rest, t5, t6 === B.ListSeparator_undecided_null_undecided ? B.ListSeparator_ECn : t6);
  71050. t1._async_evaluate$_environment.setLocalVariable$3(restArgument, argumentList, t4);
  71051. } else
  71052. argumentList = null;
  71053. $async$goto = 9;
  71054. return A._asyncAwait($async$self.run.call$0(), $async$call$0);
  71055. case 9:
  71056. // returning from await.
  71057. result = $async$result;
  71058. if (argumentList == null) {
  71059. $async$returnValue = result;
  71060. // goto return
  71061. $async$goto = 1;
  71062. break;
  71063. }
  71064. if (J.get$isEmpty$asx(t2[0])) {
  71065. $async$returnValue = result;
  71066. // goto return
  71067. $async$goto = 1;
  71068. break;
  71069. }
  71070. if (argumentList._wereKeywordsAccessed) {
  71071. $async$returnValue = result;
  71072. // goto return
  71073. $async$goto = 1;
  71074. break;
  71075. }
  71076. throw A.wrapException(A.MultiSpanSassRuntimeException$("No " + A.pluralize("argument", J.get$length$asx(J.get$keys$z(t2[0])), null) + " named " + A.toSentence(J.map$1$1$ax(J.get$keys$z(t2[0]), 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));
  71077. case 1:
  71078. // return
  71079. return A._asyncReturn($async$returnValue, $async$completer);
  71080. }
  71081. });
  71082. return A._asyncStartSync($async$call$0, $async$completer);
  71083. },
  71084. $signature() {
  71085. return this.V._eval$1("Future<0>()");
  71086. }
  71087. };
  71088. A._EvaluateVisitor__runUserDefinedCallable____closure0.prototype = {
  71089. call$1($name) {
  71090. return "$" + $name;
  71091. },
  71092. $signature: 5
  71093. };
  71094. A._EvaluateVisitor__runFunctionCallable_closure0.prototype = {
  71095. call$0() {
  71096. var $async$goto = 0,
  71097. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  71098. $async$returnValue, $async$self = this, t1, t2, t3, t4, _i, $returnValue;
  71099. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71100. if ($async$errorCode === 1)
  71101. return A._asyncRethrow($async$result, $async$completer);
  71102. while (true)
  71103. switch ($async$goto) {
  71104. case 0:
  71105. // Function start
  71106. t1 = $async$self.callable.declaration, t2 = t1.children, t3 = t2.length, t4 = $async$self.$this, _i = 0;
  71107. case 3:
  71108. // for condition
  71109. if (!(_i < t3)) {
  71110. // goto after for
  71111. $async$goto = 5;
  71112. break;
  71113. }
  71114. $async$goto = 6;
  71115. return A._asyncAwait(t2[_i].accept$1(t4), $async$call$0);
  71116. case 6:
  71117. // returning from await.
  71118. $returnValue = $async$result;
  71119. if ($returnValue instanceof A.Value) {
  71120. $async$returnValue = $returnValue;
  71121. // goto return
  71122. $async$goto = 1;
  71123. break;
  71124. }
  71125. case 4:
  71126. // for update
  71127. ++_i;
  71128. // goto for condition
  71129. $async$goto = 3;
  71130. break;
  71131. case 5:
  71132. // after for
  71133. throw A.wrapException(t4._async_evaluate$_exception$2("Function finished without @return.", t1.span));
  71134. case 1:
  71135. // return
  71136. return A._asyncReturn($async$returnValue, $async$completer);
  71137. }
  71138. });
  71139. return A._asyncStartSync($async$call$0, $async$completer);
  71140. },
  71141. $signature: 69
  71142. };
  71143. A._EvaluateVisitor__runBuiltInCallable_closure2.prototype = {
  71144. call$0() {
  71145. return this._box_0.overload.verify$2(J.get$length$asx(this.evaluated._values[2]), this.namedSet);
  71146. },
  71147. $signature: 0
  71148. };
  71149. A._EvaluateVisitor__runBuiltInCallable_closure3.prototype = {
  71150. call$0() {
  71151. return this._box_0.callback.call$1(this.evaluated._values[2]);
  71152. },
  71153. $signature: 314
  71154. };
  71155. A._EvaluateVisitor__runBuiltInCallable_closure4.prototype = {
  71156. call$1($name) {
  71157. return "$" + $name;
  71158. },
  71159. $signature: 5
  71160. };
  71161. A._EvaluateVisitor__evaluateArguments_closure3.prototype = {
  71162. call$1(value) {
  71163. return value;
  71164. },
  71165. $signature: 42
  71166. };
  71167. A._EvaluateVisitor__evaluateArguments_closure4.prototype = {
  71168. call$1(value) {
  71169. return this.$this._async_evaluate$_withoutSlash$2(value, this.restNodeForSpan);
  71170. },
  71171. $signature: 42
  71172. };
  71173. A._EvaluateVisitor__evaluateArguments_closure5.prototype = {
  71174. call$2(key, value) {
  71175. var _this = this,
  71176. t1 = _this.restNodeForSpan;
  71177. _this.named.$indexSet(0, key, _this.$this._async_evaluate$_withoutSlash$2(value, t1));
  71178. _this.namedNodes.$indexSet(0, key, t1);
  71179. },
  71180. $signature: 97
  71181. };
  71182. A._EvaluateVisitor__evaluateArguments_closure6.prototype = {
  71183. call$1(value) {
  71184. return value;
  71185. },
  71186. $signature: 42
  71187. };
  71188. A._EvaluateVisitor__evaluateMacroArguments_closure3.prototype = {
  71189. call$1(value) {
  71190. var t1 = this.restArgs;
  71191. return new A.ValueExpression(value, t1.get$span(t1));
  71192. },
  71193. $signature: 60
  71194. };
  71195. A._EvaluateVisitor__evaluateMacroArguments_closure4.prototype = {
  71196. call$1(value) {
  71197. var t1 = this.restArgs;
  71198. return new A.ValueExpression(this.$this._async_evaluate$_withoutSlash$2(value, this.restNodeForSpan), t1.get$span(t1));
  71199. },
  71200. $signature: 60
  71201. };
  71202. A._EvaluateVisitor__evaluateMacroArguments_closure5.prototype = {
  71203. call$2(key, value) {
  71204. var _this = this,
  71205. t1 = _this.restArgs;
  71206. _this.named.$indexSet(0, key, new A.ValueExpression(_this.$this._async_evaluate$_withoutSlash$2(value, _this.restNodeForSpan), t1.get$span(t1)));
  71207. },
  71208. $signature: 97
  71209. };
  71210. A._EvaluateVisitor__evaluateMacroArguments_closure6.prototype = {
  71211. call$1(value) {
  71212. var t1 = this.keywordRestArgs;
  71213. return new A.ValueExpression(this.$this._async_evaluate$_withoutSlash$2(value, this.keywordRestNodeForSpan), t1.get$span(t1));
  71214. },
  71215. $signature: 60
  71216. };
  71217. A._EvaluateVisitor__addRestMap_closure0.prototype = {
  71218. call$2(key, value) {
  71219. var t2, _this = this,
  71220. t1 = _this.$this;
  71221. if (key instanceof A.SassString)
  71222. _this.values.$indexSet(0, key._string$_text, _this.convert.call$1(t1._async_evaluate$_withoutSlash$2(value, _this.expressionNode)));
  71223. else {
  71224. t2 = _this.nodeWithSpan;
  71225. 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)));
  71226. }
  71227. },
  71228. $signature: 102
  71229. };
  71230. A._EvaluateVisitor__verifyArguments_closure0.prototype = {
  71231. call$0() {
  71232. return this.$arguments.verify$2(this.positional, new A.MapKeySet(this.named, type$.MapKeySet_String));
  71233. },
  71234. $signature: 0
  71235. };
  71236. A._EvaluateVisitor_visitCssAtRule_closure1.prototype = {
  71237. call$0() {
  71238. var $async$goto = 0,
  71239. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  71240. $async$self = this, t1, t2, t3, t4;
  71241. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71242. if ($async$errorCode === 1)
  71243. return A._asyncRethrow($async$result, $async$completer);
  71244. while (true)
  71245. switch ($async$goto) {
  71246. case 0:
  71247. // Function start
  71248. 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");
  71249. case 2:
  71250. // for condition
  71251. if (!t1.moveNext$0()) {
  71252. // goto after for
  71253. $async$goto = 3;
  71254. break;
  71255. }
  71256. t4 = t1.__internal$_current;
  71257. $async$goto = 4;
  71258. return A._asyncAwait((t4 == null ? t2._as(t4) : t4).accept$1(t3), $async$call$0);
  71259. case 4:
  71260. // returning from await.
  71261. // goto for condition
  71262. $async$goto = 2;
  71263. break;
  71264. case 3:
  71265. // after for
  71266. // implicit return
  71267. return A._asyncReturn(null, $async$completer);
  71268. }
  71269. });
  71270. return A._asyncStartSync($async$call$0, $async$completer);
  71271. },
  71272. $signature: 2
  71273. };
  71274. A._EvaluateVisitor_visitCssAtRule_closure2.prototype = {
  71275. call$1(node) {
  71276. return node instanceof A.ModifiableCssStyleRule;
  71277. },
  71278. $signature: 7
  71279. };
  71280. A._EvaluateVisitor_visitCssKeyframeBlock_closure1.prototype = {
  71281. call$0() {
  71282. var $async$goto = 0,
  71283. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  71284. $async$self = this, t1, t2, t3, t4;
  71285. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71286. if ($async$errorCode === 1)
  71287. return A._asyncRethrow($async$result, $async$completer);
  71288. while (true)
  71289. switch ($async$goto) {
  71290. case 0:
  71291. // Function start
  71292. 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");
  71293. case 2:
  71294. // for condition
  71295. if (!t1.moveNext$0()) {
  71296. // goto after for
  71297. $async$goto = 3;
  71298. break;
  71299. }
  71300. t4 = t1.__internal$_current;
  71301. $async$goto = 4;
  71302. return A._asyncAwait((t4 == null ? t2._as(t4) : t4).accept$1(t3), $async$call$0);
  71303. case 4:
  71304. // returning from await.
  71305. // goto for condition
  71306. $async$goto = 2;
  71307. break;
  71308. case 3:
  71309. // after for
  71310. // implicit return
  71311. return A._asyncReturn(null, $async$completer);
  71312. }
  71313. });
  71314. return A._asyncStartSync($async$call$0, $async$completer);
  71315. },
  71316. $signature: 2
  71317. };
  71318. A._EvaluateVisitor_visitCssKeyframeBlock_closure2.prototype = {
  71319. call$1(node) {
  71320. return node instanceof A.ModifiableCssStyleRule;
  71321. },
  71322. $signature: 7
  71323. };
  71324. A._EvaluateVisitor_visitCssMediaRule_closure2.prototype = {
  71325. call$1(mediaQueries) {
  71326. return this.$this._async_evaluate$_mergeMediaQueries$2(mediaQueries, this.node.queries);
  71327. },
  71328. $signature: 79
  71329. };
  71330. A._EvaluateVisitor_visitCssMediaRule_closure3.prototype = {
  71331. call$0() {
  71332. var $async$goto = 0,
  71333. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  71334. $async$self = this, t1, t2;
  71335. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71336. if ($async$errorCode === 1)
  71337. return A._asyncRethrow($async$result, $async$completer);
  71338. while (true)
  71339. switch ($async$goto) {
  71340. case 0:
  71341. // Function start
  71342. t1 = $async$self.$this;
  71343. t2 = $async$self.mergedQueries;
  71344. if (t2 == null)
  71345. t2 = $async$self.node.queries;
  71346. $async$goto = 2;
  71347. 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);
  71348. case 2:
  71349. // returning from await.
  71350. // implicit return
  71351. return A._asyncReturn(null, $async$completer);
  71352. }
  71353. });
  71354. return A._asyncStartSync($async$call$0, $async$completer);
  71355. },
  71356. $signature: 2
  71357. };
  71358. A._EvaluateVisitor_visitCssMediaRule__closure0.prototype = {
  71359. call$0() {
  71360. var $async$goto = 0,
  71361. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  71362. $async$self = this, t2, t3, t4, t1, _0_0;
  71363. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71364. if ($async$errorCode === 1)
  71365. return A._asyncRethrow($async$result, $async$completer);
  71366. while (true)
  71367. switch ($async$goto) {
  71368. case 0:
  71369. // Function start
  71370. t1 = $async$self.$this;
  71371. _0_0 = t1._async_evaluate$_atRootExcludingStyleRule ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
  71372. $async$goto = _0_0 != null ? 2 : 4;
  71373. break;
  71374. case 2:
  71375. // then
  71376. $async$goto = 5;
  71377. 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);
  71378. case 5:
  71379. // returning from await.
  71380. // goto join
  71381. $async$goto = 3;
  71382. break;
  71383. case 4:
  71384. // else
  71385. 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");
  71386. case 6:
  71387. // for condition
  71388. if (!t2.moveNext$0()) {
  71389. // goto after for
  71390. $async$goto = 7;
  71391. break;
  71392. }
  71393. t4 = t2.__internal$_current;
  71394. $async$goto = 8;
  71395. return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t1), $async$call$0);
  71396. case 8:
  71397. // returning from await.
  71398. // goto for condition
  71399. $async$goto = 6;
  71400. break;
  71401. case 7:
  71402. // after for
  71403. case 3:
  71404. // join
  71405. // implicit return
  71406. return A._asyncReturn(null, $async$completer);
  71407. }
  71408. });
  71409. return A._asyncStartSync($async$call$0, $async$completer);
  71410. },
  71411. $signature: 2
  71412. };
  71413. A._EvaluateVisitor_visitCssMediaRule___closure0.prototype = {
  71414. call$0() {
  71415. var $async$goto = 0,
  71416. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  71417. $async$self = this, t1, t2, t3, t4;
  71418. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71419. if ($async$errorCode === 1)
  71420. return A._asyncRethrow($async$result, $async$completer);
  71421. while (true)
  71422. switch ($async$goto) {
  71423. case 0:
  71424. // Function start
  71425. 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");
  71426. case 2:
  71427. // for condition
  71428. if (!t1.moveNext$0()) {
  71429. // goto after for
  71430. $async$goto = 3;
  71431. break;
  71432. }
  71433. t4 = t1.__internal$_current;
  71434. $async$goto = 4;
  71435. return A._asyncAwait((t4 == null ? t2._as(t4) : t4).accept$1(t3), $async$call$0);
  71436. case 4:
  71437. // returning from await.
  71438. // goto for condition
  71439. $async$goto = 2;
  71440. break;
  71441. case 3:
  71442. // after for
  71443. // implicit return
  71444. return A._asyncReturn(null, $async$completer);
  71445. }
  71446. });
  71447. return A._asyncStartSync($async$call$0, $async$completer);
  71448. },
  71449. $signature: 2
  71450. };
  71451. A._EvaluateVisitor_visitCssMediaRule_closure4.prototype = {
  71452. call$1(node) {
  71453. var t1;
  71454. if (!(node instanceof A.ModifiableCssStyleRule)) {
  71455. t1 = this.mergedSources;
  71456. t1 = t1.get$isNotEmpty(t1) && node instanceof A.ModifiableCssMediaRule && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  71457. } else
  71458. t1 = true;
  71459. return t1;
  71460. },
  71461. $signature: 7
  71462. };
  71463. A._EvaluateVisitor_visitCssStyleRule_closure2.prototype = {
  71464. call$0() {
  71465. var $async$goto = 0,
  71466. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  71467. $async$self = this, t1;
  71468. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71469. if ($async$errorCode === 1)
  71470. return A._asyncRethrow($async$result, $async$completer);
  71471. while (true)
  71472. switch ($async$goto) {
  71473. case 0:
  71474. // Function start
  71475. t1 = $async$self.$this;
  71476. $async$goto = 2;
  71477. 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);
  71478. case 2:
  71479. // returning from await.
  71480. // implicit return
  71481. return A._asyncReturn(null, $async$completer);
  71482. }
  71483. });
  71484. return A._asyncStartSync($async$call$0, $async$completer);
  71485. },
  71486. $signature: 2
  71487. };
  71488. A._EvaluateVisitor_visitCssStyleRule__closure0.prototype = {
  71489. call$0() {
  71490. var $async$goto = 0,
  71491. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  71492. $async$self = this, t1, t2, t3, t4;
  71493. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71494. if ($async$errorCode === 1)
  71495. return A._asyncRethrow($async$result, $async$completer);
  71496. while (true)
  71497. switch ($async$goto) {
  71498. case 0:
  71499. // Function start
  71500. 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");
  71501. case 2:
  71502. // for condition
  71503. if (!t1.moveNext$0()) {
  71504. // goto after for
  71505. $async$goto = 3;
  71506. break;
  71507. }
  71508. t4 = t1.__internal$_current;
  71509. $async$goto = 4;
  71510. return A._asyncAwait((t4 == null ? t2._as(t4) : t4).accept$1(t3), $async$call$0);
  71511. case 4:
  71512. // returning from await.
  71513. // goto for condition
  71514. $async$goto = 2;
  71515. break;
  71516. case 3:
  71517. // after for
  71518. // implicit return
  71519. return A._asyncReturn(null, $async$completer);
  71520. }
  71521. });
  71522. return A._asyncStartSync($async$call$0, $async$completer);
  71523. },
  71524. $signature: 2
  71525. };
  71526. A._EvaluateVisitor_visitCssStyleRule_closure1.prototype = {
  71527. call$1(node) {
  71528. return node instanceof A.ModifiableCssStyleRule;
  71529. },
  71530. $signature: 7
  71531. };
  71532. A._EvaluateVisitor_visitCssSupportsRule_closure1.prototype = {
  71533. call$0() {
  71534. var $async$goto = 0,
  71535. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  71536. $async$self = this, t2, t3, t4, t1, _0_0;
  71537. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71538. if ($async$errorCode === 1)
  71539. return A._asyncRethrow($async$result, $async$completer);
  71540. while (true)
  71541. switch ($async$goto) {
  71542. case 0:
  71543. // Function start
  71544. t1 = $async$self.$this;
  71545. _0_0 = t1._async_evaluate$_atRootExcludingStyleRule ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
  71546. $async$goto = _0_0 != null ? 2 : 4;
  71547. break;
  71548. case 2:
  71549. // then
  71550. $async$goto = 5;
  71551. 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);
  71552. case 5:
  71553. // returning from await.
  71554. // goto join
  71555. $async$goto = 3;
  71556. break;
  71557. case 4:
  71558. // else
  71559. 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");
  71560. case 6:
  71561. // for condition
  71562. if (!t2.moveNext$0()) {
  71563. // goto after for
  71564. $async$goto = 7;
  71565. break;
  71566. }
  71567. t4 = t2.__internal$_current;
  71568. $async$goto = 8;
  71569. return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t1), $async$call$0);
  71570. case 8:
  71571. // returning from await.
  71572. // goto for condition
  71573. $async$goto = 6;
  71574. break;
  71575. case 7:
  71576. // after for
  71577. case 3:
  71578. // join
  71579. // implicit return
  71580. return A._asyncReturn(null, $async$completer);
  71581. }
  71582. });
  71583. return A._asyncStartSync($async$call$0, $async$completer);
  71584. },
  71585. $signature: 2
  71586. };
  71587. A._EvaluateVisitor_visitCssSupportsRule__closure0.prototype = {
  71588. call$0() {
  71589. var $async$goto = 0,
  71590. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  71591. $async$self = this, t1, t2, t3, t4;
  71592. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71593. if ($async$errorCode === 1)
  71594. return A._asyncRethrow($async$result, $async$completer);
  71595. while (true)
  71596. switch ($async$goto) {
  71597. case 0:
  71598. // Function start
  71599. 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");
  71600. case 2:
  71601. // for condition
  71602. if (!t1.moveNext$0()) {
  71603. // goto after for
  71604. $async$goto = 3;
  71605. break;
  71606. }
  71607. t4 = t1.__internal$_current;
  71608. $async$goto = 4;
  71609. return A._asyncAwait((t4 == null ? t2._as(t4) : t4).accept$1(t3), $async$call$0);
  71610. case 4:
  71611. // returning from await.
  71612. // goto for condition
  71613. $async$goto = 2;
  71614. break;
  71615. case 3:
  71616. // after for
  71617. // implicit return
  71618. return A._asyncReturn(null, $async$completer);
  71619. }
  71620. });
  71621. return A._asyncStartSync($async$call$0, $async$completer);
  71622. },
  71623. $signature: 2
  71624. };
  71625. A._EvaluateVisitor_visitCssSupportsRule_closure2.prototype = {
  71626. call$1(node) {
  71627. return node instanceof A.ModifiableCssStyleRule;
  71628. },
  71629. $signature: 7
  71630. };
  71631. A._EvaluateVisitor__performInterpolationHelper_closure0.prototype = {
  71632. call$1(targetLocations) {
  71633. return A.InterpolationMap$(this.interpolation, targetLocations);
  71634. },
  71635. $signature: 181
  71636. };
  71637. A._EvaluateVisitor__serialize_closure0.prototype = {
  71638. call$0() {
  71639. return A.serializeValue(this.value, false, this.quote);
  71640. },
  71641. $signature: 25
  71642. };
  71643. A._EvaluateVisitor__expressionNode_closure0.prototype = {
  71644. call$0() {
  71645. var t1 = this.expression;
  71646. return this.$this._async_evaluate$_environment.getVariableNode$2$namespace(t1.name, t1.namespace);
  71647. },
  71648. $signature: 182
  71649. };
  71650. A._EvaluateVisitor__withoutSlash_recommendation0.prototype = {
  71651. call$1(number) {
  71652. var t1, before, after,
  71653. _1_0 = number.asSlash;
  71654. $label0$0: {
  71655. if (type$.Record_2_nullable_Object_and_nullable_Object._is(_1_0)) {
  71656. t1 = type$.SassNumber;
  71657. before = t1._as(_1_0._0);
  71658. after = t1._as(_1_0._1);
  71659. t1 = "math.div(" + A.S(this.call$1(before)) + ", " + A.S(this.call$1(after)) + ")";
  71660. break $label0$0;
  71661. }
  71662. t1 = A.serializeValue(number, true, true);
  71663. break $label0$0;
  71664. }
  71665. return t1;
  71666. },
  71667. $signature: 183
  71668. };
  71669. A._EvaluateVisitor__stackFrame_closure0.prototype = {
  71670. call$1(url) {
  71671. var t1 = this.$this._async_evaluate$_importCache;
  71672. t1 = t1 == null ? null : t1.humanize$1(url);
  71673. return t1 == null ? url : t1;
  71674. },
  71675. $signature: 46
  71676. };
  71677. A._ImportedCssVisitor0.prototype = {
  71678. visitCssAtRule$1(node) {
  71679. var t1 = node.isChildless ? null : new A._ImportedCssVisitor_visitCssAtRule_closure0();
  71680. this._async_evaluate$_visitor._async_evaluate$_addChild$2$through(node, t1);
  71681. },
  71682. visitCssComment$1(node) {
  71683. return this._async_evaluate$_visitor._async_evaluate$_addChild$1(node);
  71684. },
  71685. visitCssDeclaration$1(node) {
  71686. },
  71687. visitCssImport$1(node) {
  71688. var t2,
  71689. _s13_ = "_endOfImports",
  71690. t1 = this._async_evaluate$_visitor;
  71691. if (t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__parent, "__parent") !== t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__root, "_root"))
  71692. t1._async_evaluate$_addChild$1(node);
  71693. 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)) {
  71694. t1._async_evaluate$_addChild$1(node);
  71695. t1._async_evaluate$__endOfImports = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__endOfImports, _s13_) + 1;
  71696. } else {
  71697. t2 = t1._async_evaluate$_outOfOrderImports;
  71698. (t2 == null ? t1._async_evaluate$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport) : t2).push(node);
  71699. }
  71700. },
  71701. visitCssKeyframeBlock$1(node) {
  71702. },
  71703. visitCssMediaRule$1(node) {
  71704. var t1 = this._async_evaluate$_visitor,
  71705. mediaQueries = t1._async_evaluate$_mediaQueries;
  71706. t1._async_evaluate$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssMediaRule_closure0(mediaQueries == null || t1._async_evaluate$_mergeMediaQueries$2(mediaQueries, node.queries) != null));
  71707. },
  71708. visitCssStyleRule$1(node) {
  71709. return this._async_evaluate$_visitor._async_evaluate$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssStyleRule_closure0());
  71710. },
  71711. visitCssStylesheet$1(node) {
  71712. var t1, t2, t3;
  71713. 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();) {
  71714. t3 = t1.__internal$_current;
  71715. (t3 == null ? t2._as(t3) : t3).accept$1(this);
  71716. }
  71717. },
  71718. visitCssSupportsRule$1(node) {
  71719. return this._async_evaluate$_visitor._async_evaluate$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssSupportsRule_closure0());
  71720. }
  71721. };
  71722. A._ImportedCssVisitor_visitCssAtRule_closure0.prototype = {
  71723. call$1(node) {
  71724. return node instanceof A.ModifiableCssStyleRule;
  71725. },
  71726. $signature: 7
  71727. };
  71728. A._ImportedCssVisitor_visitCssMediaRule_closure0.prototype = {
  71729. call$1(node) {
  71730. var t1;
  71731. if (!(node instanceof A.ModifiableCssStyleRule))
  71732. t1 = this.hasBeenMerged && node instanceof A.ModifiableCssMediaRule;
  71733. else
  71734. t1 = true;
  71735. return t1;
  71736. },
  71737. $signature: 7
  71738. };
  71739. A._ImportedCssVisitor_visitCssStyleRule_closure0.prototype = {
  71740. call$1(node) {
  71741. return node instanceof A.ModifiableCssStyleRule;
  71742. },
  71743. $signature: 7
  71744. };
  71745. A._ImportedCssVisitor_visitCssSupportsRule_closure0.prototype = {
  71746. call$1(node) {
  71747. return node instanceof A.ModifiableCssStyleRule;
  71748. },
  71749. $signature: 7
  71750. };
  71751. A._EvaluationContext0.prototype = {
  71752. get$currentCallableSpan() {
  71753. var _0_0 = this._async_evaluate$_visitor._async_evaluate$_callableNode;
  71754. if (_0_0 != null)
  71755. return _0_0.get$span(_0_0);
  71756. throw A.wrapException(A.StateError$(string$.No_Sasc));
  71757. },
  71758. warn$2(_, message, deprecation) {
  71759. var t1 = this._async_evaluate$_visitor,
  71760. t2 = t1._async_evaluate$_importSpan;
  71761. if (t2 == null) {
  71762. t2 = t1._async_evaluate$_callableNode;
  71763. t2 = t2 == null ? null : t2.get$span(t2);
  71764. }
  71765. t1._async_evaluate$_warn$3(message, t2 == null ? this._async_evaluate$_defaultWarnNodeWithSpan.span : t2, deprecation);
  71766. },
  71767. $isEvaluationContext: 1
  71768. };
  71769. A._CloneCssVisitor.prototype = {
  71770. visitCssAtRule$1(node) {
  71771. var t1 = node.isChildless,
  71772. rule = A.ModifiableCssAtRule$(node.name, node.span, t1, node.value);
  71773. return t1 ? rule : this._visitChildren$2(rule, node);
  71774. },
  71775. visitCssComment$1(node) {
  71776. return new A.ModifiableCssComment(node.text, node.span);
  71777. },
  71778. visitCssDeclaration$1(node) {
  71779. return A.ModifiableCssDeclaration$(node.name, node.value, node.span, node.parsedAsCustomProperty, node.valueSpanForMap);
  71780. },
  71781. visitCssImport$1(node) {
  71782. return new A.ModifiableCssImport(node.url, node.modifiers, node.span);
  71783. },
  71784. visitCssKeyframeBlock$1(node) {
  71785. return this._visitChildren$2(A.ModifiableCssKeyframeBlock$(node.selector, node.span), node);
  71786. },
  71787. visitCssMediaRule$1(node) {
  71788. return this._visitChildren$2(A.ModifiableCssMediaRule$(node.queries, node.span), node);
  71789. },
  71790. visitCssStyleRule$1(node) {
  71791. var _0_0 = this._oldToNewSelectors.$index(0, node._style_rule$_selector._box$_inner.value);
  71792. if (_0_0 != null)
  71793. return this._visitChildren$2(A.ModifiableCssStyleRule$(_0_0, node.span, false, node.originalSelector), node);
  71794. else
  71795. throw A.wrapException(A.StateError$(string$.The_Ex));
  71796. },
  71797. visitCssStylesheet$1(node) {
  71798. return this._visitChildren$2(A.ModifiableCssStylesheet$(node.get$span(node)), node);
  71799. },
  71800. visitCssSupportsRule$1(node) {
  71801. return this._visitChildren$2(A.ModifiableCssSupportsRule$(node.condition, node.span), node);
  71802. },
  71803. _visitChildren$1$2(newParent, oldParent) {
  71804. var t1, t2, newChild;
  71805. for (t1 = J.get$iterator$ax(oldParent.get$children(oldParent)); t1.moveNext$0();) {
  71806. t2 = t1.get$current(t1);
  71807. newChild = t2.accept$1(this);
  71808. newChild.isGroupEnd = t2.get$isGroupEnd();
  71809. newParent.addChild$1(newChild);
  71810. }
  71811. return newParent;
  71812. },
  71813. _visitChildren$2(newParent, oldParent) {
  71814. return this._visitChildren$1$2(newParent, oldParent, type$.ModifiableCssParentNode);
  71815. }
  71816. };
  71817. A.Evaluator.prototype = {};
  71818. A._EvaluateVisitor.prototype = {
  71819. _EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
  71820. var t2, metaModule, t3, _i, module, $function, t4, _this = this,
  71821. _s20_ = "$name, $module: null",
  71822. _s9_ = "sass:meta",
  71823. _s7_ = "$module",
  71824. t1 = type$.JSArray_BuiltInCallable,
  71825. 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),
  71826. 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);
  71827. t1 = type$.BuiltInCallable;
  71828. t2 = A.List_List$of($.$get$global(), true, t1);
  71829. B.JSArray_methods.addAll$1(t2, $.$get$local());
  71830. B.JSArray_methods.addAll$1(t2, metaFunctions);
  71831. metaModule = A.BuiltInModule$("meta", t2, metaMixins, null, t1);
  71832. for (t1 = A.List_List$of($.$get$coreModules(), true, type$.BuiltInModule_Callable), t1.push(metaModule), t2 = t1.length, t3 = _this._builtInModules, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  71833. module = t1[_i];
  71834. t3.$indexSet(0, module.url, module);
  71835. }
  71836. t1 = A._setArrayType([], type$.JSArray_Callable);
  71837. B.JSArray_methods.addAll$1(t1, $.$get$globalFunctions());
  71838. B.JSArray_methods.addAll$1(t1, metaFunctions);
  71839. for (t2 = t1.length, t3 = _this._builtInFunctions, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  71840. $function = t1[_i];
  71841. t4 = J.get$name$x($function);
  71842. t3.$indexSet(0, A.stringReplaceAllUnchecked(t4, "_", "-"), $function);
  71843. }
  71844. },
  71845. run$2(_, importer, node) {
  71846. var error, stackTrace, t1, exception;
  71847. try {
  71848. t1 = type$.nullable_Object;
  71849. 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);
  71850. return t1;
  71851. } catch (exception) {
  71852. t1 = A.unwrapException(exception);
  71853. if (t1 instanceof A.SassException) {
  71854. error = t1;
  71855. stackTrace = A.getTraceFromException(exception);
  71856. A.throwWithTrace(error.withLoadedUrls$1(this._loadedUrls), error, stackTrace);
  71857. } else
  71858. throw exception;
  71859. }
  71860. },
  71861. runExpression$2(importer, expression) {
  71862. var t1 = type$.nullable_Object;
  71863. 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);
  71864. },
  71865. runStatement$2(importer, statement) {
  71866. var t1 = type$.nullable_Object;
  71867. 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);
  71868. },
  71869. _assertInModule$1$2(value, $name) {
  71870. if (value != null)
  71871. return value;
  71872. throw A.wrapException(A.StateError$("Can't access " + $name + " outside of a module."));
  71873. },
  71874. _assertInModule$2(value, $name) {
  71875. return this._assertInModule$1$2(value, $name, type$.dynamic);
  71876. },
  71877. _withFakeStylesheet$1$3(importer, nodeWithSpan, callback) {
  71878. var t1, _this = this,
  71879. oldImporter = _this._importer;
  71880. _this._importer = importer;
  71881. _this.__stylesheet = A.Stylesheet$(B.List_empty12, nodeWithSpan.get$span(nodeWithSpan));
  71882. try {
  71883. t1 = callback.call$0();
  71884. return t1;
  71885. } finally {
  71886. _this._importer = oldImporter;
  71887. _this.__stylesheet = null;
  71888. }
  71889. },
  71890. _withFakeStylesheet$3(importer, nodeWithSpan, callback) {
  71891. return this._withFakeStylesheet$1$3(importer, nodeWithSpan, callback, type$.dynamic);
  71892. },
  71893. _loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
  71894. var t2, _this = this, t1 = {},
  71895. _0_0 = _this._builtInModules.$index(0, url);
  71896. t1.builtInModule = null;
  71897. if (_0_0 != null) {
  71898. t1.builtInModule = _0_0;
  71899. if (configuration instanceof A.ExplicitConfiguration) {
  71900. t1 = namesInErrors ? "Built-in module " + url.toString$0(0) + " can't be configured." : "Built-in modules can't be configured.";
  71901. t2 = configuration.nodeWithSpan;
  71902. throw A.wrapException(_this._evaluate$_exception$2(t1, t2.get$span(t2)));
  71903. }
  71904. _this._addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__loadModule_closure(t1, callback));
  71905. return;
  71906. }
  71907. _this._withStackFrame$3(stackFrame, nodeWithSpan, new A._EvaluateVisitor__loadModule_closure0(_this, url, nodeWithSpan, baseUrl, namesInErrors, configuration, callback));
  71908. },
  71909. _loadModule$5$configuration(url, stackFrame, nodeWithSpan, callback, configuration) {
  71910. return this._loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, configuration, false);
  71911. },
  71912. _loadModule$4(url, stackFrame, nodeWithSpan, callback) {
  71913. return this._loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, null, false);
  71914. },
  71915. _execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
  71916. var _0_0, currentConfiguration, t2, t3, message, existingSpan, configurationSpan, environment, css, preModuleComments, extensionStore, module, _this = this,
  71917. t1 = stylesheet.span,
  71918. url = t1.get$sourceUrl(t1);
  71919. t1 = _this._modules;
  71920. _0_0 = t1.$index(0, url);
  71921. if (_0_0 != null) {
  71922. t1 = configuration == null;
  71923. currentConfiguration = t1 ? _this._configuration : configuration;
  71924. t2 = _this._moduleConfigurations.$index(0, url);
  71925. t3 = t2.__originalConfiguration;
  71926. t2 = t3 == null ? t2 : t3;
  71927. t3 = currentConfiguration.__originalConfiguration;
  71928. if (t2 !== (t3 == null ? currentConfiguration : t3) && currentConfiguration instanceof A.ExplicitConfiguration) {
  71929. if (namesInErrors) {
  71930. t2 = $.$get$context();
  71931. url.toString;
  71932. message = t2.prettyUri$1(url) + string$.x20was_a;
  71933. } else
  71934. message = string$.This_mw;
  71935. t2 = _this._moduleNodes.$index(0, url);
  71936. existingSpan = t2 == null ? null : t2.get$span(t2);
  71937. if (t1) {
  71938. t1 = currentConfiguration.nodeWithSpan;
  71939. configurationSpan = t1.get$span(t1);
  71940. } else
  71941. configurationSpan = null;
  71942. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  71943. if (existingSpan != null)
  71944. t1.$indexSet(0, existingSpan, "original load");
  71945. if (configurationSpan != null)
  71946. t1.$indexSet(0, configurationSpan, "configuration");
  71947. throw A.wrapException(t1.get$isEmpty(0) ? _this._evaluate$_exception$1(message) : _this._multiSpanException$3(message, "new load", t1));
  71948. }
  71949. return _0_0;
  71950. }
  71951. environment = A.Environment$();
  71952. css = A._Cell$();
  71953. preModuleComments = A._Cell$();
  71954. extensionStore = A.ExtensionStore$();
  71955. _this._withEnvironment$2(environment, new A._EvaluateVisitor__execute_closure(_this, importer, stylesheet, extensionStore, configuration, css, preModuleComments));
  71956. t2 = css._readLocal$0();
  71957. t3 = preModuleComments._readLocal$0();
  71958. module = environment.toModule$3(t2, t3 == null ? B.Map_empty0 : t3, extensionStore);
  71959. if (url != null) {
  71960. t1.$indexSet(0, url, module);
  71961. _this._moduleConfigurations.$indexSet(0, url, _this._configuration);
  71962. if (nodeWithSpan != null)
  71963. _this._moduleNodes.$indexSet(0, url, nodeWithSpan);
  71964. }
  71965. return module;
  71966. },
  71967. _execute$2(importer, stylesheet) {
  71968. return this._execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, null, false, null);
  71969. },
  71970. _addOutOfOrderImports$0() {
  71971. var t1, t2, _this = this, _s5_ = "_root",
  71972. _s13_ = "_endOfImports",
  71973. _0_0 = _this._outOfOrderImports;
  71974. $label0$0: {
  71975. if (_0_0 == null) {
  71976. t1 = _this._assertInModule$2(_this.__root, _s5_).children;
  71977. break $label0$0;
  71978. }
  71979. t1 = _this._assertInModule$2(_this.__root, _s5_).children;
  71980. 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")), true, type$.ModifiableCssNode);
  71981. B.JSArray_methods.addAll$1(t1, _0_0);
  71982. t2 = _this._assertInModule$2(_this.__root, _s5_).children;
  71983. B.JSArray_methods.addAll$1(t1, A.SubListIterable$(t2, _this._assertInModule$2(_this.__endOfImports, _s13_), null, t2.$ti._eval$1("ListBase.E")));
  71984. break $label0$0;
  71985. }
  71986. return t1;
  71987. },
  71988. _combineCss$2$clone(root, clone) {
  71989. var selectors, _0_0, t1, imports, css, sorted, t2;
  71990. if (!B.JSArray_methods.any$1(root.get$upstream(), new A._EvaluateVisitor__combineCss_closure())) {
  71991. selectors = root.get$extensionStore().get$simpleSelectors();
  71992. _0_0 = A.IterableExtension_get_firstOrNull(root.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__combineCss_closure0(selectors)));
  71993. if (_0_0 != null)
  71994. this._throwForUnsatisfiedExtension$1(_0_0);
  71995. return root.get$css(root);
  71996. }
  71997. t1 = type$.JSArray_CssNode;
  71998. imports = A._setArrayType([], t1);
  71999. css = A._setArrayType([], t1);
  72000. t1 = type$.Module_Callable;
  72001. sorted = A.ListQueue$(t1);
  72002. new A._EvaluateVisitor__combineCss_visitModule(this, A.LinkedHashSet_LinkedHashSet$_empty(t1), clone, css, imports, sorted).call$1(root);
  72003. if (root.get$transitivelyContainsExtensions())
  72004. this._extendModules$1(sorted);
  72005. t1 = B.JSArray_methods.$add(imports, css);
  72006. t2 = root.get$css(root);
  72007. return new A.CssStylesheet(new A.UnmodifiableListView(t1, type$.UnmodifiableListView_CssNode), t2.get$span(t2));
  72008. },
  72009. _combineCss$1(root) {
  72010. return this._combineCss$2$clone(root, false);
  72011. },
  72012. _extendModules$1(sortedModules) {
  72013. var t1, t2, t3, originalSelectors, $self, t4, t5, _i, upstream, _0_0,
  72014. downstreamExtensionStores = A.LinkedHashMap_LinkedHashMap$_empty(type$.Uri, type$.List_ExtensionStore),
  72015. unsatisfiedExtensions = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_Extension);
  72016. for (t1 = A._ListQueueIterator$(sortedModules, sortedModules.$ti._precomputed1), t2 = t1.$ti._precomputed1; t1.moveNext$0();) {
  72017. t3 = t1._collection$_current;
  72018. if (t3 == null)
  72019. t3 = t2._as(t3);
  72020. originalSelectors = t3.get$extensionStore().get$simpleSelectors().toSet$0(0);
  72021. unsatisfiedExtensions.addAll$1(0, t3.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__extendModules_closure(originalSelectors)));
  72022. $self = downstreamExtensionStores.$index(0, t3.get$url(t3));
  72023. t4 = t3.get$extensionStore().get$addExtensions();
  72024. if ($self != null)
  72025. t4.call$1($self);
  72026. t4 = t3.get$extensionStore();
  72027. if (t4.get$isEmpty(t4))
  72028. continue;
  72029. for (t4 = t3.get$upstream(), t5 = t4.length, _i = 0; _i < t4.length; t4.length === t5 || (0, A.throwConcurrentModificationError)(t4), ++_i) {
  72030. upstream = t4[_i];
  72031. _0_0 = upstream.get$url(upstream);
  72032. if (_0_0 != null)
  72033. J.add$1$ax(downstreamExtensionStores.putIfAbsent$2(_0_0, new A._EvaluateVisitor__extendModules_closure0()), t3.get$extensionStore());
  72034. }
  72035. unsatisfiedExtensions.removeAll$1(t3.get$extensionStore().extensionsWhereTarget$1(originalSelectors.get$contains(originalSelectors)));
  72036. }
  72037. if (unsatisfiedExtensions._collection$_length !== 0)
  72038. this._throwForUnsatisfiedExtension$1(unsatisfiedExtensions.get$first(0));
  72039. },
  72040. _throwForUnsatisfiedExtension$1(extension) {
  72041. throw A.wrapException(A.SassException$(string$.The_ta + extension.target.toString$0(0) + ' !optional" to avoid this error.', extension.span, null));
  72042. },
  72043. _indexAfterImports$1(statements) {
  72044. var t1, lastImport, i, _0_0;
  72045. for (t1 = J.getInterceptor$asx(statements), lastImport = -1, i = 0; i < t1.get$length(statements); ++i) {
  72046. $label0$0: {
  72047. _0_0 = t1.$index(statements, i);
  72048. if (_0_0 instanceof A.ModifiableCssImport)
  72049. break $label0$0;
  72050. if (_0_0 instanceof A.ModifiableCssComment)
  72051. continue;
  72052. break;
  72053. }
  72054. lastImport = i;
  72055. }
  72056. return lastImport + 1;
  72057. },
  72058. visitStylesheet$1(node) {
  72059. var t1, t2, _i;
  72060. for (t1 = node.children, t2 = t1.length, _i = 0; _i < t2; ++_i)
  72061. t1[_i].accept$1(this);
  72062. return null;
  72063. },
  72064. visitAtRootRule$1(node) {
  72065. var t1, _2_0, root, first, rest, innerCopy, outerCopy, _i, copy, _this = this,
  72066. _s8_ = "__parent",
  72067. _0_0 = node.query,
  72068. query = _0_0 != null ? A.AtRootQueryParser$(_this._performInterpolationWithMap$2$warnForColor(_0_0, true)._0, _this._evaluate$_logger, null).parse$0() : B.AtRootQuery_n2q,
  72069. $parent = _this._assertInModule$2(_this.__parent, _s8_),
  72070. included = A._setArrayType([], type$.JSArray_ModifiableCssParentNode);
  72071. for (t1 = type$.CssStylesheet; !t1._is($parent); $parent = _2_0) {
  72072. if (!query.excludes$1($parent))
  72073. included.push($parent);
  72074. _2_0 = $parent._parent;
  72075. if (_2_0 == null)
  72076. throw A.wrapException(A.StateError$(string$.CssNod));
  72077. }
  72078. root = _this._trimIncluded$1(included);
  72079. if (root === _this._assertInModule$2(_this.__parent, _s8_)) {
  72080. _this._environment.scope$1$2$when(new A._EvaluateVisitor_visitAtRootRule_closure(_this, node), node.hasDeclarations, type$.Null);
  72081. return null;
  72082. }
  72083. if (included.length >= 1) {
  72084. first = included[0];
  72085. rest = B.JSArray_methods.sublist$1(included, 1);
  72086. innerCopy = first.copyWithoutChildren$0();
  72087. for (t1 = rest.length, outerCopy = innerCopy, _i = 0; _i < rest.length; rest.length === t1 || (0, A.throwConcurrentModificationError)(rest), ++_i, outerCopy = copy) {
  72088. copy = rest[_i].copyWithoutChildren$0();
  72089. copy.addChild$1(outerCopy);
  72090. }
  72091. root.addChild$1(outerCopy);
  72092. } else
  72093. innerCopy = root;
  72094. _this._scopeForAtRoot$4(node, innerCopy, query, included).call$1(new A._EvaluateVisitor_visitAtRootRule_closure0(_this, node));
  72095. return null;
  72096. },
  72097. _trimIncluded$1(nodes) {
  72098. var $parent, t1, innermostContiguous, i, t2, _0_0, _1_0, root, _this = this, _null = null, _s5_ = "_root",
  72099. _s22_ = " to be an ancestor of ";
  72100. if (nodes.length === 0)
  72101. return _this._assertInModule$2(_this.__root, _s5_);
  72102. $parent = _this._assertInModule$2(_this.__parent, "__parent");
  72103. for (t1 = nodes.length, innermostContiguous = _null, i = 0; i < t1; ++i, $parent = _1_0) {
  72104. for (; t2 = nodes[i], $parent !== t2; innermostContiguous = _null, $parent = _0_0) {
  72105. _0_0 = $parent._parent;
  72106. if (_0_0 == null)
  72107. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  72108. }
  72109. if (innermostContiguous == null)
  72110. innermostContiguous = i;
  72111. _1_0 = $parent._parent;
  72112. if (_1_0 == null)
  72113. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  72114. }
  72115. if ($parent !== _this._assertInModule$2(_this.__root, _s5_))
  72116. return _this._assertInModule$2(_this.__root, _s5_);
  72117. innermostContiguous.toString;
  72118. root = nodes[innermostContiguous];
  72119. B.JSArray_methods.removeRange$2(nodes, innermostContiguous, nodes.length);
  72120. return root;
  72121. },
  72122. _scopeForAtRoot$4(node, newParent, query, included) {
  72123. var _this = this,
  72124. scope = new A._EvaluateVisitor__scopeForAtRoot_closure(_this, newParent, node),
  72125. t1 = query._all || query._at_root_query$_rule;
  72126. if (t1 !== query.include)
  72127. scope = new A._EvaluateVisitor__scopeForAtRoot_closure0(_this, scope);
  72128. if (_this._mediaQueries != null && query.excludesName$1("media"))
  72129. scope = new A._EvaluateVisitor__scopeForAtRoot_closure1(_this, scope);
  72130. if (_this._inKeyframes && query.excludesName$1("keyframes"))
  72131. scope = new A._EvaluateVisitor__scopeForAtRoot_closure2(_this, scope);
  72132. return _this._inUnknownAtRule && !B.JSArray_methods.any$1(included, new A._EvaluateVisitor__scopeForAtRoot_closure3()) ? new A._EvaluateVisitor__scopeForAtRoot_closure4(_this, scope) : scope;
  72133. },
  72134. visitContentBlock$1(node) {
  72135. return A.throwExpression(A.UnsupportedError$(string$.Evalua));
  72136. },
  72137. visitContentRule$1(node) {
  72138. var $content = this._environment._content;
  72139. if ($content == null)
  72140. return null;
  72141. this._runUserDefinedCallable$1$4(node.$arguments, $content, node, new A._EvaluateVisitor_visitContentRule_closure(this, $content), type$.Null);
  72142. return null;
  72143. },
  72144. visitDebugRule$1(node) {
  72145. var value = node.expression.accept$1(this),
  72146. t1 = value instanceof A.SassString ? value._string$_text : A.serializeValue(value, true, true);
  72147. this._evaluate$_logger.debug$2(0, t1, node.span);
  72148. return null;
  72149. },
  72150. visitDeclaration$1(node) {
  72151. var t2, $name, _0_0, _1_0, value, t3, t4, t5, _2_0, oldDeclarationName, _this = this, _null = null, t1 = {};
  72152. if ((_this._atRootExcludingStyleRule ? _null : _this._styleRuleIgnoringAtRoot) == null && !_this._inUnknownAtRule && !_this._inKeyframes)
  72153. throw A.wrapException(_this._evaluate$_exception$2(string$.Declarm, node.span));
  72154. if (_this._declarationName != null && B.JSString_methods.startsWith$1(node.name.get$initialPlain(), "--"))
  72155. throw A.wrapException(_this._evaluate$_exception$2(string$.Declarw, node.span));
  72156. t2 = node.name;
  72157. $name = _this._interpolationToValue$2$warnForColor(t2, true);
  72158. _0_0 = _this._declarationName;
  72159. if (_0_0 != null)
  72160. $name = new A.CssValue(_0_0 + "-" + A.S($name.value), $name.span, type$.CssValue_String);
  72161. _1_0 = node.value;
  72162. if (_1_0 != null) {
  72163. value = _1_0.accept$1(_this);
  72164. if (!value.get$isBlank() || value.get$asList().length === 0) {
  72165. t3 = _this._assertInModule$2(_this.__parent, "__parent");
  72166. t4 = _1_0.get$span(_1_0);
  72167. t2 = B.JSString_methods.startsWith$1(t2.get$initialPlain(), "--");
  72168. if (_this._sourceMap) {
  72169. t5 = A.NullableExtension_andThen(_1_0, _this.get$_expressionNode());
  72170. t5 = t5 == null ? _null : J.get$span$z(t5);
  72171. } else
  72172. t5 = _null;
  72173. t3.addChild$1(A.ModifiableCssDeclaration$($name, new A.CssValue(value, t4, type$.CssValue_Value), node.span, t2, t5));
  72174. } else if (J.startsWith$1$s($name.value, "--"))
  72175. throw A.wrapException(_this._evaluate$_exception$2("Custom property values may not be empty.", _1_0.get$span(_1_0)));
  72176. }
  72177. _2_0 = node.children;
  72178. t1.children = null;
  72179. if (_2_0 != null) {
  72180. t1.children = _2_0;
  72181. oldDeclarationName = _this._declarationName;
  72182. _this._declarationName = $name.value;
  72183. _this._environment.scope$1$2$when(new A._EvaluateVisitor_visitDeclaration_closure(t1, _this), node.hasDeclarations, type$.Null);
  72184. _this._declarationName = oldDeclarationName;
  72185. }
  72186. return _null;
  72187. },
  72188. visitEachRule$1(node) {
  72189. var _this = this, _box_0 = {},
  72190. t1 = node.list,
  72191. list = t1.accept$1(_this),
  72192. nodeWithSpan = _this._expressionNode$1(t1),
  72193. _0_0 = node.variables;
  72194. $label0$0: {
  72195. _box_0.variable = null;
  72196. if (_0_0.length === 1) {
  72197. _box_0.variable = _0_0[0];
  72198. t1 = new A._EvaluateVisitor_visitEachRule_closure(_box_0, _this, nodeWithSpan);
  72199. break $label0$0;
  72200. }
  72201. _box_0.variables = null;
  72202. _box_0.variables = _0_0;
  72203. t1 = new A._EvaluateVisitor_visitEachRule_closure0(_box_0, _this, nodeWithSpan);
  72204. break $label0$0;
  72205. }
  72206. return _this._environment.scope$1$2$semiGlobal(new A._EvaluateVisitor_visitEachRule_closure1(_this, list, t1, node), true, type$.nullable_Value);
  72207. },
  72208. _setMultipleVariables$3(variables, value, nodeWithSpan) {
  72209. var i,
  72210. list = value.get$asList(),
  72211. t1 = variables.length,
  72212. minLength = Math.min(t1, list.length);
  72213. for (i = 0; i < minLength; ++i)
  72214. this._environment.setLocalVariable$3(variables[i], this._withoutSlash$2(list[i], nodeWithSpan), nodeWithSpan);
  72215. for (i = minLength; i < t1; ++i)
  72216. this._environment.setLocalVariable$3(variables[i], B.C__SassNull, nodeWithSpan);
  72217. },
  72218. visitErrorRule$1(node) {
  72219. throw A.wrapException(this._evaluate$_exception$2(J.toString$0$(node.expression.accept$1(this)), node.span));
  72220. },
  72221. visitExtendRule$1(node) {
  72222. var t1, t2, t3, t4, t5, _i, complex, visitor, t6, t7, _0_0, compound, _this = this, _null = null,
  72223. styleRule = _this._atRootExcludingStyleRule ? _null : _this._styleRuleIgnoringAtRoot;
  72224. if (styleRule == null || _this._declarationName != null)
  72225. throw A.wrapException(_this._evaluate$_exception$2(string$.x40exten, node.span));
  72226. for (t1 = styleRule.originalSelector.components, t2 = t1.length, t3 = node.span, t4 = type$.SourceSpan, t5 = type$.String, _i = 0; _i < t2; ++_i) {
  72227. complex = t1[_i];
  72228. if (!complex.accept$1(B._IsBogusVisitor_true))
  72229. continue;
  72230. visitor = A._SerializeVisitor$(_null, true, _null, true, false, _null, true);
  72231. complex.accept$1(visitor);
  72232. t6 = B.JSString_methods.trim$0(visitor._serialize$_buffer.toString$0(0));
  72233. t7 = complex.accept$1(B.C__IsUselessVisitor) ? "can't" : "shouldn't";
  72234. _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_ido);
  72235. }
  72236. _0_0 = _this._performInterpolationWithMap$2$warnForColor(node.selector, true);
  72237. for (t1 = A.SelectorList_SelectorList$parse(A.trimAscii(_0_0._0, true), false, _0_0._1, _this._evaluate$_logger, false).components, t2 = t1.length, t3 = styleRule._style_rule$_selector._box$_inner, _i = 0; _i < t2; ++_i) {
  72238. complex = t1[_i];
  72239. compound = complex.get$singleCompound();
  72240. if (compound == null)
  72241. throw A.wrapException(A.SassFormatException$("complex selectors may not be extended.", complex.span, _null));
  72242. t4 = compound.components;
  72243. t5 = t4.length === 1 ? B.JSArray_methods.get$first(t4) : _null;
  72244. if (t5 == null)
  72245. throw A.wrapException(A.SassFormatException$(string$.compou + B.JSArray_methods.join$1(t4, ", ") + string$.x60_inst, compound.span, _null));
  72246. _this._assertInModule$2(_this.__extensionStore, "_extensionStore").addExtension$4(t3.value, t5, node, _this._mediaQueries);
  72247. }
  72248. return _null;
  72249. },
  72250. visitAtRule$1(node) {
  72251. var $name, value, children, wasInKeyframes, wasInUnknownAtRule, _this = this;
  72252. if (_this._declarationName != null)
  72253. throw A.wrapException(_this._evaluate$_exception$2(string$.At_rul, node.span));
  72254. $name = _this._interpolationToValue$1(node.name);
  72255. value = A.NullableExtension_andThen(node.value, new A._EvaluateVisitor_visitAtRule_closure(_this));
  72256. children = node.children;
  72257. if (children == null) {
  72258. _this._assertInModule$2(_this.__parent, "__parent").addChild$1(A.ModifiableCssAtRule$($name, node.span, true, value));
  72259. return null;
  72260. }
  72261. wasInKeyframes = _this._inKeyframes;
  72262. wasInUnknownAtRule = _this._inUnknownAtRule;
  72263. if (A.unvendor($name.value) === "keyframes")
  72264. _this._inKeyframes = true;
  72265. else
  72266. _this._inUnknownAtRule = true;
  72267. _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);
  72268. _this._inUnknownAtRule = wasInUnknownAtRule;
  72269. _this._inKeyframes = wasInKeyframes;
  72270. return null;
  72271. },
  72272. visitForRule$1(node) {
  72273. var _this = this, t1 = {},
  72274. t2 = node.from,
  72275. fromNumber = _this._addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure(_this, node)),
  72276. t3 = node.to,
  72277. toNumber = _this._addExceptionSpan$2(t3, new A._EvaluateVisitor_visitForRule_closure0(_this, node)),
  72278. from = _this._addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure1(fromNumber)),
  72279. to = t1.to = _this._addExceptionSpan$2(t3, new A._EvaluateVisitor_visitForRule_closure2(toNumber, fromNumber)),
  72280. direction = from > to ? -1 : 1;
  72281. if (from === (!node.isExclusive ? t1.to = to + direction : to))
  72282. return null;
  72283. return _this._environment.scope$1$2$semiGlobal(new A._EvaluateVisitor_visitForRule_closure3(t1, _this, node, from, direction, fromNumber), true, type$.nullable_Value);
  72284. },
  72285. visitForwardRule$1(node) {
  72286. var newConfiguration, t4, _i, variable, $name, _this = this,
  72287. _s8_ = "@forward",
  72288. oldConfiguration = _this._configuration,
  72289. adjustedConfiguration = oldConfiguration.throughForward$1(node),
  72290. t1 = node.configuration,
  72291. t2 = t1.length,
  72292. t3 = node.url;
  72293. if (t2 !== 0) {
  72294. newConfiguration = _this._addForwardConfiguration$2(adjustedConfiguration, node);
  72295. _this._loadModule$5$configuration(t3, _s8_, node, new A._EvaluateVisitor_visitForwardRule_closure(_this, node), newConfiguration);
  72296. t3 = type$.String;
  72297. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  72298. for (_i = 0; _i < t2; ++_i) {
  72299. variable = t1[_i];
  72300. if (!variable.isGuarded)
  72301. t4.add$1(0, variable.name);
  72302. }
  72303. _this._removeUsedConfiguration$3$except(adjustedConfiguration, newConfiguration, t4);
  72304. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  72305. for (_i = 0; _i < t2; ++_i)
  72306. t3.add$1(0, t1[_i].name);
  72307. for (t1 = newConfiguration._configuration$_values, t2 = J.toList$0$ax(t1.get$keys(t1)), t4 = t2.length, _i = 0; _i < t2.length; t2.length === t4 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  72308. $name = t2[_i];
  72309. if (!t3.contains$1(0, $name))
  72310. if (!t1.get$isEmpty(t1))
  72311. t1.remove$1(0, $name);
  72312. }
  72313. _this._assertConfigurationIsEmpty$1(newConfiguration);
  72314. } else {
  72315. _this._configuration = adjustedConfiguration;
  72316. _this._loadModule$4(t3, _s8_, node, new A._EvaluateVisitor_visitForwardRule_closure0(_this, node));
  72317. _this._configuration = oldConfiguration;
  72318. }
  72319. return null;
  72320. },
  72321. _addForwardConfiguration$2(configuration, node) {
  72322. var t2, t3, _i, variable, t4, oldValue, t5, variableNodeWithSpan, _null = null,
  72323. t1 = configuration._configuration$_values,
  72324. newValues = A.LinkedHashMap_LinkedHashMap$of(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue), type$.String, type$.ConfiguredValue);
  72325. for (t2 = node.configuration, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  72326. variable = t2[_i];
  72327. if (variable.isGuarded) {
  72328. t4 = variable.name;
  72329. oldValue = t1.get$isEmpty(t1) ? _null : t1.remove$1(0, t4);
  72330. if (oldValue != null)
  72331. t5 = !oldValue.value.$eq(0, B.C__SassNull);
  72332. else {
  72333. oldValue = _null;
  72334. t5 = false;
  72335. }
  72336. if (t5) {
  72337. newValues.$indexSet(0, t4, oldValue);
  72338. continue;
  72339. }
  72340. }
  72341. t4 = variable.expression;
  72342. variableNodeWithSpan = this._expressionNode$1(t4);
  72343. newValues.$indexSet(0, variable.name, new A.ConfiguredValue(this._withoutSlash$2(t4.accept$1(this), variableNodeWithSpan), variable.span, variableNodeWithSpan));
  72344. }
  72345. if (configuration instanceof A.ExplicitConfiguration || t1.get$isEmpty(t1))
  72346. return new A.ExplicitConfiguration(node, newValues, _null);
  72347. else
  72348. return new A.Configuration(newValues, _null);
  72349. },
  72350. _registerCommentsForModule$1(module) {
  72351. var _this = this, _s5_ = "_root",
  72352. t1 = _this.__root;
  72353. if (t1 == null)
  72354. return;
  72355. if (_this._assertInModule$2(t1, _s5_).children.get$length(0) === 0 || !module.get$transitivelyContainsCss())
  72356. return;
  72357. t1 = _this._preModuleComments;
  72358. if (t1 == null)
  72359. t1 = _this._preModuleComments = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable, type$.List_CssComment);
  72360. 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));
  72361. _this._assertInModule$2(_this.__root, _s5_).clearChildren$0();
  72362. _this.__endOfImports = 0;
  72363. },
  72364. _removeUsedConfiguration$3$except(upstream, downstream, except) {
  72365. var t1, t2, t3, t4, _i, $name;
  72366. for (t1 = upstream._configuration$_values, t2 = J.toList$0$ax(t1.get$keys(t1)), t3 = t2.length, t4 = downstream._configuration$_values, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  72367. $name = t2[_i];
  72368. if (except.contains$1(0, $name))
  72369. continue;
  72370. if (!t4.containsKey$1($name))
  72371. if (!t1.get$isEmpty(t1))
  72372. t1.remove$1(0, $name);
  72373. }
  72374. },
  72375. _assertConfigurationIsEmpty$2$nameInError(configuration, nameInError) {
  72376. var t1, _0_0, $name, value;
  72377. if (!(configuration instanceof A.ExplicitConfiguration))
  72378. return;
  72379. t1 = configuration._configuration$_values;
  72380. if (t1.get$isEmpty(t1))
  72381. return;
  72382. t1 = A.MapExtensions_get_pairs(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue), type$.String, type$.ConfiguredValue);
  72383. _0_0 = t1.get$first(t1);
  72384. $name = _0_0._0;
  72385. value = _0_0._1;
  72386. t1 = nameInError ? "$" + $name + string$.x20was_n : string$.This_v;
  72387. throw A.wrapException(this._evaluate$_exception$2(t1, value.configurationSpan));
  72388. },
  72389. _assertConfigurationIsEmpty$1(configuration) {
  72390. return this._assertConfigurationIsEmpty$2$nameInError(configuration, false);
  72391. },
  72392. visitFunctionRule$1(node) {
  72393. var t1 = this._environment,
  72394. t2 = t1.closure$0(),
  72395. t3 = this._inDependency,
  72396. t4 = t1._functions,
  72397. index = t4.length - 1,
  72398. t5 = node.name;
  72399. t1._functionIndices.$indexSet(0, t5, index);
  72400. J.$indexSet$ax(t4[index], t5, new A.UserDefinedCallable(node, t2, t3, type$.UserDefinedCallable_Environment));
  72401. return null;
  72402. },
  72403. visitIfRule$1(node) {
  72404. var t1, t2, _i, clauseToCheck,
  72405. clause = node.lastClause;
  72406. for (t1 = node.clauses, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  72407. clauseToCheck = t1[_i];
  72408. if (clauseToCheck.expression.accept$1(this).get$isTruthy()) {
  72409. clause = clauseToCheck;
  72410. break;
  72411. }
  72412. }
  72413. return A.NullableExtension_andThen(clause, new A._EvaluateVisitor_visitIfRule_closure(this));
  72414. },
  72415. visitImportRule$1(node) {
  72416. var t1, t2, t3, t4, t5, t6, _i, $import, t7, _0_0, $self, t8, _this = this,
  72417. _s8_ = "__parent",
  72418. _s5_ = "_root",
  72419. _s13_ = "_endOfImports";
  72420. 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) {
  72421. $import = t1[_i];
  72422. if ($import instanceof A.DynamicImport)
  72423. _this._visitDynamicImport$1($import);
  72424. else {
  72425. t5._as($import);
  72426. t7 = $import.url;
  72427. _0_0 = _this._performInterpolationHelper$3$sourceMap$warnForColor(t7, false, false);
  72428. $self = $import.modifiers;
  72429. t8 = $self == null ? null : t4.call$1($self);
  72430. node = new A.ModifiableCssImport(new A.CssValue(_0_0._0, t7.span, t3), t8, $import.span);
  72431. if (_this._assertInModule$2(_this.__parent, _s8_) !== _this._assertInModule$2(_this.__root, _s5_))
  72432. _this._assertInModule$2(_this.__parent, _s8_).addChild$1(node);
  72433. else if (_this._assertInModule$2(_this.__endOfImports, _s13_) === J.get$length$asx(_this._assertInModule$2(_this.__root, _s5_).children._collection$_source)) {
  72434. t7 = _this._assertInModule$2(_this.__root, _s5_);
  72435. node._parent = t7;
  72436. t7 = t7._children;
  72437. node._indexInParent = t7.length;
  72438. t7.push(node);
  72439. _this.__endOfImports = _this._assertInModule$2(_this.__endOfImports, _s13_) + 1;
  72440. } else {
  72441. t7 = _this._outOfOrderImports;
  72442. (t7 == null ? _this._outOfOrderImports = A._setArrayType([], t6) : t7).push(node);
  72443. }
  72444. }
  72445. }
  72446. return null;
  72447. },
  72448. _visitDynamicImport$1($import) {
  72449. return this._withStackFrame$3("@import", $import, new A._EvaluateVisitor__visitDynamicImport_closure(this, $import));
  72450. },
  72451. _loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, forImport) {
  72452. var _0_0, importCache, _1_0, importer, canonicalUrl, originalUrl, isDependency, _2_0, stylesheet, error, stackTrace, error0, stackTrace0, message, t1, t2, t3, t4, exception, message0, _this = this;
  72453. baseUrl = baseUrl;
  72454. try {
  72455. _this._importSpan = span;
  72456. _0_0 = _this._evaluate$_importCache;
  72457. importCache = null;
  72458. if (_0_0 != null) {
  72459. importCache = _0_0;
  72460. if (baseUrl == null) {
  72461. t1 = _this._assertInModule$2(_this.__stylesheet, "_stylesheet").span;
  72462. baseUrl = t1.get$sourceUrl(t1);
  72463. }
  72464. _1_0 = J.canonicalize$4$baseImporter$baseUrl$forImport$x(importCache, A.Uri_parse(url), _this._importer, baseUrl, forImport);
  72465. importer = null;
  72466. canonicalUrl = null;
  72467. originalUrl = null;
  72468. if (type$.Record_3_nullable_Object_and_nullable_Object_and_nullable_Object_originalUrl._is(_1_0)) {
  72469. importer = _1_0._0;
  72470. canonicalUrl = _1_0._1;
  72471. originalUrl = _1_0._2;
  72472. _this._loadedUrls.add$1(0, canonicalUrl);
  72473. isDependency = _this._inDependency || !J.$eq$(importer, _this._importer);
  72474. t1 = importCache;
  72475. t2 = importer;
  72476. t3 = canonicalUrl;
  72477. t4 = originalUrl;
  72478. _2_0 = t1.importCanonical$4$originalUrl$quiet(t2, t3, t4, _this._quietDeps && isDependency);
  72479. stylesheet = null;
  72480. if (_2_0 != null) {
  72481. stylesheet = _2_0;
  72482. t1 = stylesheet;
  72483. t2 = importer;
  72484. return new A._Record_3_importer_isDependency(t1, t2, isDependency);
  72485. }
  72486. }
  72487. }
  72488. t1 = B.JSString_methods.startsWith$1(url, "package:");
  72489. if (t1)
  72490. throw A.wrapException(string$.x22packa);
  72491. else
  72492. throw A.wrapException("Can't find stylesheet to import.");
  72493. } catch (exception) {
  72494. t1 = A.unwrapException(exception);
  72495. if (t1 instanceof A.SassException)
  72496. throw exception;
  72497. else if (t1 instanceof A.ArgumentError) {
  72498. error = t1;
  72499. stackTrace = A.getTraceFromException(exception);
  72500. A.throwWithTrace(_this._evaluate$_exception$1(J.toString$0$(error)), error, stackTrace);
  72501. } else {
  72502. error0 = t1;
  72503. stackTrace0 = A.getTraceFromException(exception);
  72504. message = null;
  72505. try {
  72506. message = A._asString(J.get$message$x(error0));
  72507. } catch (exception) {
  72508. message0 = J.toString$0$(error0);
  72509. message = message0;
  72510. }
  72511. A.throwWithTrace(_this._evaluate$_exception$1(message), error0, stackTrace0);
  72512. }
  72513. } finally {
  72514. _this._importSpan = null;
  72515. }
  72516. },
  72517. _loadStylesheet$3$baseUrl(url, span, baseUrl) {
  72518. return this._loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, false);
  72519. },
  72520. _loadStylesheet$3$forImport(url, span, forImport) {
  72521. return this._loadStylesheet$4$baseUrl$forImport(url, span, null, forImport);
  72522. },
  72523. _applyMixin$5(mixin, contentCallable, $arguments, nodeWithSpan, nodeWithSpanWithoutContent) {
  72524. var t1, _0_0, _1_8, t2, _this = this,
  72525. _s37_ = "Mixin doesn't accept a content block.",
  72526. _s10_ = "invocation";
  72527. $label0$0: {
  72528. if (mixin == null)
  72529. throw A.wrapException(_this._evaluate$_exception$2("Undefined mixin.", nodeWithSpan.get$span(nodeWithSpan)));
  72530. t1 = mixin instanceof A.BuiltInCallable;
  72531. if (t1 && !mixin.acceptsContent && contentCallable != null) {
  72532. t1 = _this._evaluateArguments$1($arguments)._values;
  72533. _0_0 = mixin.callbackFor$2(t1[2].length, new A.MapKeySet(t1[0], type$.MapKeySet_String));
  72534. 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));
  72535. }
  72536. if (t1) {
  72537. _this._environment.withContent$2(contentCallable, new A._EvaluateVisitor__applyMixin_closure(_this, $arguments, mixin, nodeWithSpanWithoutContent));
  72538. break $label0$0;
  72539. }
  72540. t1 = type$.UserDefinedCallable_Environment._is(mixin);
  72541. if (t1) {
  72542. _1_8 = mixin.declaration;
  72543. if (_1_8 instanceof A.MixinRule)
  72544. t2 = !type$.MixinRule._as(_1_8).get$hasContent() && contentCallable != null;
  72545. else
  72546. t2 = false;
  72547. } else
  72548. t2 = false;
  72549. if (t2)
  72550. throw A.wrapException(A.MultiSpanSassRuntimeException$(_s37_, nodeWithSpanWithoutContent.get$span(nodeWithSpanWithoutContent), _s10_, A.LinkedHashMap_LinkedHashMap$_literal([mixin.declaration.$arguments.get$spanWithName(), "declaration"], type$.FileSpan, type$.String), _this._evaluate$_stackTrace$1(nodeWithSpanWithoutContent.get$span(nodeWithSpanWithoutContent)), null));
  72551. if (t1) {
  72552. _this._runUserDefinedCallable$1$4($arguments, mixin, nodeWithSpanWithoutContent, new A._EvaluateVisitor__applyMixin_closure0(_this, contentCallable, mixin, nodeWithSpanWithoutContent), type$.Null);
  72553. break $label0$0;
  72554. }
  72555. throw A.wrapException(A.UnsupportedError$("Unknown callable type " + mixin.toString$0(0) + "."));
  72556. }
  72557. },
  72558. visitIncludeRule$1(node) {
  72559. var _this = this,
  72560. mixin = _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitIncludeRule_closure(_this, node));
  72561. if (B.JSString_methods.startsWith$1(node.originalName, "--") && mixin instanceof A.UserDefinedCallable && !B.JSString_methods.startsWith$1(mixin.declaration.originalName, "--"))
  72562. _this._warn$3(string$.Sass__m, node.get$nameSpan(), B.Deprecation_HJ0);
  72563. _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)));
  72564. return null;
  72565. },
  72566. visitMixinRule$1(node) {
  72567. var t1 = this._environment,
  72568. t2 = t1.closure$0(),
  72569. t3 = this._inDependency,
  72570. t4 = t1._mixins,
  72571. index = t4.length - 1,
  72572. t5 = node.name;
  72573. t1._mixinIndices.$indexSet(0, t5, index);
  72574. J.$indexSet$ax(t4[index], t5, new A.UserDefinedCallable(node, t2, t3, type$.UserDefinedCallable_Environment));
  72575. return null;
  72576. },
  72577. visitLoudComment$1(node) {
  72578. var t1, _this = this,
  72579. _s8_ = "__parent",
  72580. _s13_ = "_endOfImports";
  72581. if (_this._inFunction)
  72582. return null;
  72583. 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))
  72584. _this.__endOfImports = _this._assertInModule$2(_this.__endOfImports, _s13_) + 1;
  72585. t1 = node.text;
  72586. _this._assertInModule$2(_this.__parent, _s8_).addChild$1(new A.ModifiableCssComment(_this._performInterpolation$1(t1), t1.span));
  72587. return null;
  72588. },
  72589. visitMediaRule$1(node) {
  72590. var _0_0, queries, mergedQueries, t1, mergedSources, t2, t3, _this = this;
  72591. if (_this._declarationName != null)
  72592. throw A.wrapException(_this._evaluate$_exception$2(string$.Media_, node.span));
  72593. _0_0 = _this._performInterpolationWithMap$2$warnForColor(node.query, true);
  72594. queries = A.CssMediaQuery_parseList(_0_0._0, _0_0._1, _this._evaluate$_logger);
  72595. mergedQueries = A.NullableExtension_andThen(_this._mediaQueries, new A._EvaluateVisitor_visitMediaRule_closure(_this, queries));
  72596. t1 = mergedQueries == null;
  72597. if (!t1 && J.get$isEmpty$asx(mergedQueries))
  72598. return null;
  72599. if (t1)
  72600. mergedSources = B.Set_empty1;
  72601. else {
  72602. t2 = _this._mediaQuerySources;
  72603. t2.toString;
  72604. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery);
  72605. t3 = _this._mediaQueries;
  72606. t3.toString;
  72607. t2.addAll$1(0, t3);
  72608. t2.addAll$1(0, queries);
  72609. mergedSources = t2;
  72610. }
  72611. t1 = t1 ? queries : mergedQueries;
  72612. _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);
  72613. return null;
  72614. },
  72615. _mergeMediaQueries$2(queries1, queries2) {
  72616. var t1, t2, t3, t4, _0_0, t5, result,
  72617. queries = A._setArrayType([], type$.JSArray_CssMediaQuery);
  72618. for (t1 = J.get$iterator$ax(queries1), t2 = J.getInterceptor$ax(queries2); t1.moveNext$0();) {
  72619. t3 = t1.get$current(t1);
  72620. for (t4 = t2.get$iterator(queries2); t4.moveNext$0();)
  72621. $label0$1: {
  72622. _0_0 = t3.merge$1(t4.get$current(t4));
  72623. if (B._SingletonCssMediaQueryMergeResult_0 === _0_0)
  72624. continue;
  72625. if (B._SingletonCssMediaQueryMergeResult_1 === _0_0)
  72626. return null;
  72627. t5 = _0_0 instanceof A.MediaQuerySuccessfulMergeResult;
  72628. result = t5 ? _0_0 : null;
  72629. if (t5)
  72630. queries.push(result.query);
  72631. break $label0$1;
  72632. }
  72633. }
  72634. return queries;
  72635. },
  72636. visitReturnRule$1(node) {
  72637. var t1 = node.expression;
  72638. return this._withoutSlash$2(t1.accept$1(this), t1);
  72639. },
  72640. visitSilentComment$1(node) {
  72641. return null;
  72642. },
  72643. visitStyleRule$1(node) {
  72644. var t1, _0_0, selectorText, selectorMap, parsedSelector, nest, t2, _i, _1_0, first, t3, rule, oldAtRootExcludingStyleRule, t4, t5, complex, visitor, t6, t7, t8, t9, _this = this, _null = null,
  72645. _s8_ = "__parent",
  72646. _s11_ = "_stylesheet";
  72647. if (_this._declarationName != null)
  72648. throw A.wrapException(_this._evaluate$_exception$2(string$.Style_n, node.span));
  72649. else if (_this._inKeyframes && _this._assertInModule$2(_this.__parent, _s8_) instanceof A.ModifiableCssKeyframeBlock)
  72650. throw A.wrapException(_this._evaluate$_exception$2(string$.Style_k, node.span));
  72651. t1 = node.selector;
  72652. _0_0 = _this._performInterpolationWithMap$2$warnForColor(t1, true);
  72653. selectorText = _0_0._0;
  72654. selectorMap = _0_0._1;
  72655. if (_this._inKeyframes) {
  72656. _this._withParent$2$4$scopeWhen$through(A.ModifiableCssKeyframeBlock$(new A.CssValue(A.List_List$unmodifiable(A.KeyframeSelectorParser$(selectorText, selectorMap, _this._evaluate$_logger).parse$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);
  72657. return _null;
  72658. }
  72659. parsedSelector = A.SelectorList_SelectorList$parse(selectorText, true, selectorMap, _this._evaluate$_logger, _this._assertInModule$2(_this.__stylesheet, _s11_).plainCss);
  72660. t1 = _this._atRootExcludingStyleRule ? _null : _this._styleRuleIgnoringAtRoot;
  72661. t1 = t1 == null ? _null : t1.fromPlainCss;
  72662. nest = t1 !== true;
  72663. if (nest) {
  72664. if (_this._assertInModule$2(_this.__stylesheet, _s11_).plainCss)
  72665. for (t1 = parsedSelector.components, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  72666. _1_0 = t1[_i].leadingCombinators;
  72667. if (_1_0.length >= 1) {
  72668. first = _1_0[0];
  72669. t3 = _this._assertInModule$2(_this.__stylesheet, _s11_);
  72670. t3 = t3.plainCss;
  72671. } else {
  72672. first = _null;
  72673. t3 = false;
  72674. }
  72675. if (t3)
  72676. throw A.wrapException(_this._evaluate$_exception$2(string$.Top_lel, first.span));
  72677. }
  72678. t1 = _this._styleRuleIgnoringAtRoot;
  72679. t1 = t1 == null ? _null : t1.originalSelector;
  72680. parsedSelector = parsedSelector.nestWithin$3$implicitParent$preserveParentSelectors(t1, !_this._atRootExcludingStyleRule, _this._assertInModule$2(_this.__stylesheet, _s11_).plainCss);
  72681. }
  72682. rule = A.ModifiableCssStyleRule$(_this._assertInModule$2(_this.__extensionStore, "_extensionStore").addSelector$2(parsedSelector, _this._mediaQueries), node.span, _this._assertInModule$2(_this.__stylesheet, _s11_).plainCss, parsedSelector);
  72683. oldAtRootExcludingStyleRule = _this._atRootExcludingStyleRule;
  72684. _this._atRootExcludingStyleRule = false;
  72685. t1 = nest ? new A._EvaluateVisitor_visitStyleRule_closure1() : _null;
  72686. _this._withParent$2$4$scopeWhen$through(rule, new A._EvaluateVisitor_visitStyleRule_closure2(_this, rule, node), node.hasDeclarations, t1, type$.ModifiableCssStyleRule, type$.Null);
  72687. _this._atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  72688. if (!rule.accept$1(B._IsInvisibleVisitor_false_false))
  72689. for (t1 = parsedSelector.components, t2 = t1.length, t3 = type$.SourceSpan, t4 = type$.String, t5 = rule.children, _i = 0; _i < t2; ++_i) {
  72690. complex = t1[_i];
  72691. if (!complex.accept$1(B._IsBogusVisitor_true))
  72692. continue;
  72693. if (complex.accept$1(B.C__IsUselessVisitor)) {
  72694. visitor = A._SerializeVisitor$(_null, true, _null, true, false, _null, true);
  72695. complex.accept$1(visitor);
  72696. _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_ido);
  72697. } else if (complex.leadingCombinators.length !== 0) {
  72698. if (!_this._assertInModule$2(_this.__stylesheet, _s11_).plainCss) {
  72699. visitor = A._SerializeVisitor$(_null, true, _null, true, false, _null, true);
  72700. complex.accept$1(visitor);
  72701. _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_ido);
  72702. }
  72703. } else {
  72704. visitor = A._SerializeVisitor$(_null, true, _null, true, false, _null, true);
  72705. complex.accept$1(visitor);
  72706. t6 = B.JSString_methods.trim$0(visitor._serialize$_buffer.toString$0(0));
  72707. t7 = complex.accept$1(B._IsBogusVisitor_false) ? string$.x20It_wi : "";
  72708. t8 = A.SpanExtensions_trimRight(complex.span);
  72709. if (t5.get$length(0) === 0)
  72710. A.throwExpression(A.IterableElementError_noElement());
  72711. t9 = J.get$span$z(t5.$index(0, 0));
  72712. _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_visitStyleRule_closure3()) ? "\n(try converting to a //-style comment)" : "")], t3, t4), t3, t4)), B.Deprecation_ido);
  72713. }
  72714. }
  72715. if ((_this._atRootExcludingStyleRule ? _null : _this._styleRuleIgnoringAtRoot) == null) {
  72716. t1 = _this._assertInModule$2(_this.__parent, _s8_).children;
  72717. t1 = !t1.get$isEmpty(t1);
  72718. } else
  72719. t1 = false;
  72720. if (t1) {
  72721. t1 = _this._assertInModule$2(_this.__parent, _s8_).children;
  72722. t1.get$last(t1).isGroupEnd = true;
  72723. }
  72724. return _null;
  72725. },
  72726. visitSupportsRule$1(node) {
  72727. var t1, _this = this;
  72728. if (_this._declarationName != null)
  72729. throw A.wrapException(_this._evaluate$_exception$2(string$.Suppor, node.span));
  72730. t1 = node.condition;
  72731. _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);
  72732. return null;
  72733. },
  72734. _visitSupportsCondition$1(condition) {
  72735. var t1, _this = this, _box_0 = {};
  72736. $label0$0: {
  72737. if (condition instanceof A.SupportsOperation) {
  72738. t1 = condition.operator;
  72739. t1 = _this._parenthesize$2(condition.left, t1) + " " + t1 + " " + _this._parenthesize$2(condition.right, t1);
  72740. break $label0$0;
  72741. }
  72742. if (condition instanceof A.SupportsNegation) {
  72743. t1 = "not " + _this._parenthesize$1(condition.condition);
  72744. break $label0$0;
  72745. }
  72746. if (condition instanceof A.SupportsInterpolation) {
  72747. t1 = condition.expression;
  72748. t1 = _this._evaluate$_serialize$3$quote(t1.accept$1(_this), t1, false);
  72749. break $label0$0;
  72750. }
  72751. _box_0.declaration = null;
  72752. if (condition instanceof A.SupportsDeclaration) {
  72753. _box_0.declaration = condition;
  72754. t1 = _this._withSupportsDeclaration$1(new A._EvaluateVisitor__visitSupportsCondition_closure(_box_0, _this));
  72755. break $label0$0;
  72756. }
  72757. if (condition instanceof A.SupportsFunction) {
  72758. t1 = _this._performInterpolation$1(condition.name) + "(" + _this._performInterpolation$1(condition.$arguments) + ")";
  72759. break $label0$0;
  72760. }
  72761. if (condition instanceof A.SupportsAnything) {
  72762. t1 = "(" + _this._performInterpolation$1(condition.contents) + ")";
  72763. break $label0$0;
  72764. }
  72765. t1 = A.throwExpression(A.ArgumentError$("Unknown supports condition type " + A.getRuntimeTypeOfDartObject(condition).toString$0(0) + ".", null));
  72766. }
  72767. return t1;
  72768. },
  72769. _withSupportsDeclaration$1$1(callback) {
  72770. var t1,
  72771. oldInSupportsDeclaration = this._inSupportsDeclaration;
  72772. this._inSupportsDeclaration = true;
  72773. try {
  72774. t1 = callback.call$0();
  72775. return t1;
  72776. } finally {
  72777. this._inSupportsDeclaration = oldInSupportsDeclaration;
  72778. }
  72779. },
  72780. _withSupportsDeclaration$1(callback) {
  72781. return this._withSupportsDeclaration$1$1(callback, type$.dynamic);
  72782. },
  72783. _parenthesize$2(condition, operator) {
  72784. var t1;
  72785. if (!(condition instanceof A.SupportsNegation))
  72786. if (condition instanceof A.SupportsOperation)
  72787. t1 = operator == null || operator !== condition.operator;
  72788. else
  72789. t1 = false;
  72790. else
  72791. t1 = true;
  72792. if (t1)
  72793. return "(" + this._visitSupportsCondition$1(condition) + ")";
  72794. return this._visitSupportsCondition$1(condition);
  72795. },
  72796. _parenthesize$1(condition) {
  72797. return this._parenthesize$2(condition, null);
  72798. },
  72799. visitVariableDeclaration$1(node) {
  72800. var t2, value, _this = this, _null = null, t1 = {};
  72801. if (node.isGuarded) {
  72802. if (node.namespace == null && _this._environment._variables.length === 1) {
  72803. t2 = _this._configuration._configuration$_values;
  72804. t2 = t2.get$isEmpty(t2) ? _null : t2.remove$1(0, node.name);
  72805. t1.override = null;
  72806. if (t2 != null) {
  72807. t1.override = t2;
  72808. t2 = !t2.value.$eq(0, B.C__SassNull);
  72809. } else
  72810. t2 = false;
  72811. if (t2) {
  72812. _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure(t1, _this, node));
  72813. return _null;
  72814. }
  72815. }
  72816. value = _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure0(_this, node));
  72817. if (value != null && !value.$eq(0, B.C__SassNull))
  72818. return _null;
  72819. }
  72820. if (node.isGlobal && !_this._environment.globalVariableExists$1(node.name)) {
  72821. t1 = _this._environment._variables.length === 1 ? string$.As_of_S : string$.As_of_R + A.declarationName(node.span) + ": null` at the stylesheet root.";
  72822. _this._warn$3(t1, node.span, B.Deprecation_2nU);
  72823. }
  72824. t1 = node.expression;
  72825. _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure1(_this, node, _this._withoutSlash$2(t1.accept$1(_this), t1)));
  72826. return _null;
  72827. },
  72828. visitUseRule$1(node) {
  72829. var values, _i, variable, t3, variableNodeWithSpan, configuration, _this = this,
  72830. t1 = node.configuration,
  72831. t2 = t1.length;
  72832. if (t2 !== 0) {
  72833. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue);
  72834. for (_i = 0; _i < t2; ++_i) {
  72835. variable = t1[_i];
  72836. t3 = variable.expression;
  72837. variableNodeWithSpan = _this._expressionNode$1(t3);
  72838. values.$indexSet(0, variable.name, new A.ConfiguredValue(_this._withoutSlash$2(t3.accept$1(_this), variableNodeWithSpan), variable.span, variableNodeWithSpan));
  72839. }
  72840. configuration = new A.ExplicitConfiguration(node, values, null);
  72841. } else
  72842. configuration = B.Configuration_Map_empty_null;
  72843. _this._loadModule$5$configuration(node.url, "@use", node, new A._EvaluateVisitor_visitUseRule_closure(_this, node), configuration);
  72844. _this._assertConfigurationIsEmpty$1(configuration);
  72845. return null;
  72846. },
  72847. visitWarnRule$1(node) {
  72848. var _this = this,
  72849. value = _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitWarnRule_closure(_this, node)),
  72850. t1 = value instanceof A.SassString ? value._string$_text : _this._evaluate$_serialize$2(value, node.expression);
  72851. _this._evaluate$_logger.warn$2$trace(0, t1, _this._evaluate$_stackTrace$1(node.span));
  72852. return null;
  72853. },
  72854. visitWhileRule$1(node) {
  72855. return this._environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitWhileRule_closure(this, node), true, node.hasDeclarations, type$.nullable_Value);
  72856. },
  72857. visitBinaryOperationExpression$1(node) {
  72858. var t1, _this = this;
  72859. if (_this._assertInModule$2(_this.__stylesheet, "_stylesheet").plainCss) {
  72860. t1 = node.operator;
  72861. t1 = t1 !== B.BinaryOperator_wdM && t1 !== B.BinaryOperator_U77;
  72862. } else
  72863. t1 = false;
  72864. if (t1)
  72865. throw A.wrapException(_this._evaluate$_exception$2("Operators aren't allowed in plain CSS.", node.get$operatorSpan()));
  72866. return _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitBinaryOperationExpression_closure(_this, node));
  72867. },
  72868. _slash$3(left, right, node) {
  72869. var t1, right0, _1_2, _1_1, _null = null,
  72870. result = left.dividedBy$1(right),
  72871. _1_2_isSet = left instanceof A.SassNumber;
  72872. if (_1_2_isSet) {
  72873. t1 = type$.SassNumber;
  72874. t1._as(left);
  72875. if (right instanceof A.SassNumber) {
  72876. t1._as(right);
  72877. t1 = node.allowsSlash && this._operandAllowsSlash$1(node.left) && this._operandAllowsSlash$1(node.right);
  72878. right0 = right;
  72879. _1_2 = right0;
  72880. } else {
  72881. right0 = _null;
  72882. _1_2 = right;
  72883. t1 = false;
  72884. }
  72885. _1_1 = left;
  72886. } else {
  72887. right0 = _null;
  72888. _1_2 = right0;
  72889. _1_1 = left;
  72890. left = _1_2;
  72891. t1 = false;
  72892. }
  72893. if (t1)
  72894. return type$.SassNumber._as(result).withSlash$2(left, right0);
  72895. if (_1_1 instanceof A.SassNumber)
  72896. t1 = (_1_2_isSet ? _1_2 : right) instanceof A.SassNumber;
  72897. else
  72898. t1 = false;
  72899. if (t1) {
  72900. 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_oJv);
  72901. return result;
  72902. }
  72903. return result;
  72904. },
  72905. _operandAllowsSlash$1(node) {
  72906. var t1;
  72907. if (node instanceof A.FunctionExpression)
  72908. if (node.namespace == null) {
  72909. t1 = node.name;
  72910. t1 = B.Set_yHF81.contains$1(0, t1.toLowerCase()) && this._environment.getFunction$1(t1) == null;
  72911. } else
  72912. t1 = false;
  72913. else
  72914. t1 = true;
  72915. return t1;
  72916. },
  72917. visitValueExpression$1(node) {
  72918. return node.value;
  72919. },
  72920. visitVariableExpression$1(node) {
  72921. var result = this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableExpression_closure(this, node));
  72922. if (result != null)
  72923. return result;
  72924. throw A.wrapException(this._evaluate$_exception$2("Undefined variable.", node.span));
  72925. },
  72926. visitUnaryOperationExpression$1(node) {
  72927. return this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitUnaryOperationExpression_closure(node, node.operand.accept$1(this)));
  72928. },
  72929. visitBooleanExpression$1(node) {
  72930. return node.value ? B.SassBoolean_true : B.SassBoolean_false;
  72931. },
  72932. visitIfExpression$1(node) {
  72933. var condition, t1, ifTrue, ifFalse, result, _this = this,
  72934. _0_0 = _this._evaluateMacroArguments$1(node),
  72935. positional = _0_0._0,
  72936. named = _0_0._1;
  72937. _this._verifyArguments$4(positional.length, named, $.$get$IfExpression_declaration(), node);
  72938. condition = A.ListExtensions_elementAtOrNull(positional, 0);
  72939. if (condition == null) {
  72940. t1 = named.$index(0, "condition");
  72941. t1.toString;
  72942. condition = t1;
  72943. }
  72944. ifTrue = A.ListExtensions_elementAtOrNull(positional, 1);
  72945. if (ifTrue == null) {
  72946. t1 = named.$index(0, "if-true");
  72947. t1.toString;
  72948. ifTrue = t1;
  72949. }
  72950. ifFalse = A.ListExtensions_elementAtOrNull(positional, 2);
  72951. if (ifFalse == null) {
  72952. t1 = named.$index(0, "if-false");
  72953. t1.toString;
  72954. ifFalse = t1;
  72955. }
  72956. result = condition.accept$1(_this).get$isTruthy() ? ifTrue : ifFalse;
  72957. return _this._withoutSlash$2(result.accept$1(_this), _this._expressionNode$1(result));
  72958. },
  72959. visitNullExpression$1(node) {
  72960. return B.C__SassNull;
  72961. },
  72962. visitNumberExpression$1(node) {
  72963. return A.SassNumber_SassNumber(node.value, node.unit);
  72964. },
  72965. visitParenthesizedExpression$1(node) {
  72966. var _this = this;
  72967. 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);
  72968. },
  72969. visitColorExpression$1(node) {
  72970. return node.value;
  72971. },
  72972. visitListExpression$1(node) {
  72973. var t1 = node.contents;
  72974. 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);
  72975. },
  72976. visitMapExpression$1(node) {
  72977. var t2, t3, _i, t4, key, value, keyValue, valueValue, oldValueSpan,
  72978. t1 = type$.Value,
  72979. map = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1),
  72980. keyNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.AstNode);
  72981. for (t2 = node.pairs, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  72982. t4 = t2[_i];
  72983. key = t4._0;
  72984. value = t4._1;
  72985. keyValue = key.accept$1(this);
  72986. valueValue = value.accept$1(this);
  72987. if (map.containsKey$1(keyValue)) {
  72988. t1 = keyNodes.$index(0, keyValue);
  72989. oldValueSpan = t1 == null ? null : t1.get$span(t1);
  72990. t1 = key.get$span(key);
  72991. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  72992. if (oldValueSpan != null)
  72993. t2.$indexSet(0, oldValueSpan, "first key");
  72994. throw A.wrapException(A.MultiSpanSassRuntimeException$("Duplicate key.", t1, "second key", t2, this._evaluate$_stackTrace$1(key.get$span(key)), null));
  72995. }
  72996. map.$indexSet(0, keyValue, valueValue);
  72997. keyNodes.$indexSet(0, keyValue, key);
  72998. }
  72999. return new A.SassMap(A.ConstantMap_ConstantMap$from(map, t1, t1));
  73000. },
  73001. visitFunctionExpression$1(node) {
  73002. var t2, _0_0, t3, t4, oldInFunction, result, _this = this,
  73003. _s11_ = "_stylesheet",
  73004. t1 = {},
  73005. $function = _this._assertInModule$2(_this.__stylesheet, _s11_).plainCss ? null : _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure(_this, node));
  73006. t1.$function = $function;
  73007. if ($function == null) {
  73008. if (node.namespace != null)
  73009. throw A.wrapException(_this._evaluate$_exception$2("Undefined function.", node.span));
  73010. t2 = node.name;
  73011. _0_0 = t2.toLowerCase();
  73012. if ("min" === _0_0 || "max" === _0_0 || "round" === _0_0 || "abs" === _0_0) {
  73013. t3 = node.$arguments;
  73014. t4 = t3.named;
  73015. t3 = t4.get$isEmpty(t4) && t3.rest == null && B.JSArray_methods.every$1(t3.positional, new A._EvaluateVisitor_visitFunctionExpression_closure0());
  73016. } else
  73017. t3 = false;
  73018. if (t3)
  73019. return _this._visitCalculation$2$inLegacySassFunction(node, true);
  73020. 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)
  73021. return _this._visitCalculation$1(node);
  73022. $function = _this._assertInModule$2(_this.__stylesheet, _s11_).plainCss ? null : _this._builtInFunctions.$index(0, t2);
  73023. t2 = t1.$function = $function == null ? new A.PlainCssCallable(node.originalName) : $function;
  73024. } else
  73025. t2 = $function;
  73026. if (B.JSString_methods.startsWith$1(node.originalName, "--") && t2 instanceof A.UserDefinedCallable && !B.JSString_methods.startsWith$1(t2.declaration.originalName, "--"))
  73027. _this._warn$3(string$.Sass__ff, node.get$nameSpan(), B.Deprecation_HJ0);
  73028. oldInFunction = _this._inFunction;
  73029. _this._inFunction = true;
  73030. result = _this._addErrorSpan$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure1(t1, _this, node));
  73031. _this._inFunction = oldInFunction;
  73032. return result;
  73033. },
  73034. _visitCalculation$2$inLegacySassFunction(node, inLegacySassFunction) {
  73035. var $arguments, oldCallableNode, t1, _0_0, error, stackTrace, t4, _i, exception, _this = this,
  73036. t2 = node.$arguments,
  73037. t3 = t2.named;
  73038. if (t3.get$isNotEmpty(t3))
  73039. throw A.wrapException(_this._evaluate$_exception$2(string$.Keywor, node.span));
  73040. else if (t2.rest != null)
  73041. throw A.wrapException(_this._evaluate$_exception$2(string$.Rest_a, node.span));
  73042. _this._checkCalculationArguments$1(node);
  73043. t3 = A._setArrayType([], type$.JSArray_Object);
  73044. for (t2 = t2.positional, t4 = t2.length, _i = 0; _i < t4; ++_i)
  73045. t3.push(_this._visitCalculationExpression$2$inLegacySassFunction(t2[_i], inLegacySassFunction));
  73046. $arguments = t3;
  73047. if (_this._inSupportsDeclaration)
  73048. return new A.SassCalculation(node.name, A.List_List$unmodifiable($arguments, type$.Object));
  73049. oldCallableNode = _this._callableNode;
  73050. _this._callableNode = node;
  73051. try {
  73052. t1 = null;
  73053. t3 = node.name;
  73054. _0_0 = t3.toLowerCase();
  73055. $label0$0: {
  73056. if ("calc" === _0_0) {
  73057. t1 = A.SassCalculation_calc(J.$index$asx($arguments, 0));
  73058. break $label0$0;
  73059. }
  73060. if ("sqrt" === _0_0) {
  73061. t1 = A.SassCalculation__singleArgument("sqrt", J.$index$asx($arguments, 0), A.number0__sqrt$closure(), true);
  73062. break $label0$0;
  73063. }
  73064. if ("sin" === _0_0) {
  73065. t1 = A.SassCalculation__singleArgument("sin", J.$index$asx($arguments, 0), A.number0__sin$closure(), false);
  73066. break $label0$0;
  73067. }
  73068. if ("cos" === _0_0) {
  73069. t1 = A.SassCalculation__singleArgument("cos", J.$index$asx($arguments, 0), A.number0__cos$closure(), false);
  73070. break $label0$0;
  73071. }
  73072. if ("tan" === _0_0) {
  73073. t1 = A.SassCalculation__singleArgument("tan", J.$index$asx($arguments, 0), A.number0__tan$closure(), false);
  73074. break $label0$0;
  73075. }
  73076. if ("asin" === _0_0) {
  73077. t1 = A.SassCalculation__singleArgument("asin", J.$index$asx($arguments, 0), A.number0__asin$closure(), true);
  73078. break $label0$0;
  73079. }
  73080. if ("acos" === _0_0) {
  73081. t1 = A.SassCalculation__singleArgument("acos", J.$index$asx($arguments, 0), A.number0__acos$closure(), true);
  73082. break $label0$0;
  73083. }
  73084. if ("atan" === _0_0) {
  73085. t1 = A.SassCalculation__singleArgument("atan", J.$index$asx($arguments, 0), A.number0__atan$closure(), true);
  73086. break $label0$0;
  73087. }
  73088. if ("abs" === _0_0) {
  73089. t1 = A.SassCalculation_abs(J.$index$asx($arguments, 0));
  73090. break $label0$0;
  73091. }
  73092. if ("exp" === _0_0) {
  73093. t1 = A.SassCalculation_exp(J.$index$asx($arguments, 0));
  73094. break $label0$0;
  73095. }
  73096. if ("sign" === _0_0) {
  73097. t1 = A.SassCalculation_sign(J.$index$asx($arguments, 0));
  73098. break $label0$0;
  73099. }
  73100. if ("min" === _0_0) {
  73101. t1 = A.SassCalculation_min($arguments);
  73102. break $label0$0;
  73103. }
  73104. if ("max" === _0_0) {
  73105. t1 = A.SassCalculation_max($arguments);
  73106. break $label0$0;
  73107. }
  73108. if ("hypot" === _0_0) {
  73109. t1 = A.SassCalculation_hypot($arguments);
  73110. break $label0$0;
  73111. }
  73112. if ("pow" === _0_0) {
  73113. t1 = A.SassCalculation_pow(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  73114. break $label0$0;
  73115. }
  73116. if ("atan2" === _0_0) {
  73117. t1 = A.SassCalculation_atan2(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  73118. break $label0$0;
  73119. }
  73120. if ("log" === _0_0) {
  73121. t1 = A.SassCalculation_log(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  73122. break $label0$0;
  73123. }
  73124. if ("mod" === _0_0) {
  73125. t1 = A.SassCalculation_mod(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  73126. break $label0$0;
  73127. }
  73128. if ("rem" === _0_0) {
  73129. t1 = A.SassCalculation_rem(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  73130. break $label0$0;
  73131. }
  73132. if ("round" === _0_0) {
  73133. t1 = A.SassCalculation_round(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1), A.ListExtensions_elementAtOrNull($arguments, 2));
  73134. break $label0$0;
  73135. }
  73136. if ("clamp" === _0_0) {
  73137. t1 = A.SassCalculation_clamp(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1), A.ListExtensions_elementAtOrNull($arguments, 2));
  73138. break $label0$0;
  73139. }
  73140. t3 = A.UnsupportedError$('Unknown calculation name "' + t3 + '".');
  73141. t1 = A.throwExpression(t3);
  73142. }
  73143. t1 = t1;
  73144. return t1;
  73145. } catch (exception) {
  73146. t1 = A.unwrapException(exception);
  73147. if (t1 instanceof A.SassScriptException) {
  73148. error = t1;
  73149. stackTrace = A.getTraceFromException(exception);
  73150. if (B.JSString_methods.contains$1(error.message, "compatible"))
  73151. _this._verifyCompatibleNumbers$2($arguments, t2);
  73152. A.throwWithTrace(_this._evaluate$_exception$2(error.message, node.span), error, stackTrace);
  73153. } else
  73154. throw exception;
  73155. } finally {
  73156. _this._callableNode = oldCallableNode;
  73157. }
  73158. },
  73159. _visitCalculation$1(node) {
  73160. return this._visitCalculation$2$inLegacySassFunction(node, false);
  73161. },
  73162. _checkCalculationArguments$1(node) {
  73163. var t1, _0_0,
  73164. check = new A._EvaluateVisitor__checkCalculationArguments_check(this, node);
  73165. $label0$0: {
  73166. t1 = node.name;
  73167. _0_0 = t1.toLowerCase();
  73168. 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) {
  73169. check.call$1(1);
  73170. break $label0$0;
  73171. }
  73172. if ("min" === _0_0 || "max" === _0_0 || "hypot" === _0_0) {
  73173. check.call$0();
  73174. break $label0$0;
  73175. }
  73176. if ("pow" === _0_0 || "atan2" === _0_0 || "log" === _0_0 || "mod" === _0_0 || "rem" === _0_0) {
  73177. check.call$1(2);
  73178. break $label0$0;
  73179. }
  73180. if ("round" === _0_0 || "clamp" === _0_0) {
  73181. check.call$1(3);
  73182. break $label0$0;
  73183. }
  73184. throw A.wrapException(A.UnsupportedError$('Unknown calculation name "' + t1 + '".'));
  73185. }
  73186. },
  73187. _verifyCompatibleNumbers$2(args, nodesWithSpans) {
  73188. var i, t1, _0_0, arg, number1, j, number2;
  73189. for (i = 0; t1 = args.length, i < t1; ++i) {
  73190. _0_0 = args[i];
  73191. if (_0_0 instanceof A.SassNumber) {
  73192. t1 = _0_0.get$hasComplexUnits();
  73193. arg = _0_0;
  73194. } else {
  73195. arg = null;
  73196. t1 = false;
  73197. }
  73198. if (t1)
  73199. throw A.wrapException(this._evaluate$_exception$2("Number " + A.S(arg) + " isn't compatible with CSS calculations.", J.get$span$z(nodesWithSpans[i])));
  73200. }
  73201. for (i = 0; i < t1 - 1; ++i) {
  73202. number1 = args[i];
  73203. if (!(number1 instanceof A.SassNumber))
  73204. continue;
  73205. for (j = i + 1; t1 = args.length, j < t1; ++j) {
  73206. number2 = args[j];
  73207. if (!(number2 instanceof A.SassNumber))
  73208. continue;
  73209. if (number1.hasPossiblyCompatibleUnits$1(number2))
  73210. continue;
  73211. throw A.wrapException(A.MultiSpanSassRuntimeException$(number1.toString$0(0) + " and " + number2.toString$0(0) + " are incompatible.", J.get$span$z(nodesWithSpans[i]), number1.toString$0(0), A.LinkedHashMap_LinkedHashMap$_literal([J.get$span$z(nodesWithSpans[j]), number2.toString$0(0)], type$.FileSpan, type$.String), this._evaluate$_stackTrace$1(J.get$span$z(nodesWithSpans[i])), null));
  73212. }
  73213. }
  73214. },
  73215. _visitCalculationExpression$2$inLegacySassFunction(node, inLegacySassFunction) {
  73216. var result, t2, _0_0, _1_0, t3, _i, i, _this = this, _null = null, _box_0 = {},
  73217. t1 = node instanceof A.ParenthesizedExpression,
  73218. inner = t1 ? node.expression : _null;
  73219. if (t1) {
  73220. result = _this._visitCalculationExpression$2$inLegacySassFunction(inner, inLegacySassFunction);
  73221. return result instanceof A.SassString ? new A.SassString("(" + result._string$_text + ")", false) : result;
  73222. }
  73223. if (node instanceof A.StringExpression && node.accept$1(new A._IsCalculationSafeVisitor())) {
  73224. t1 = node.text;
  73225. t2 = t1.get$asPlain();
  73226. _0_0 = t2 == null ? _null : t2.toLowerCase();
  73227. $label0$0: {
  73228. if ("pi" === _0_0) {
  73229. t1 = A.SassNumber_SassNumber(3.141592653589793, _null);
  73230. break $label0$0;
  73231. }
  73232. if ("e" === _0_0) {
  73233. t1 = A.SassNumber_SassNumber(2.718281828459045, _null);
  73234. break $label0$0;
  73235. }
  73236. if ("infinity" === _0_0) {
  73237. t1 = A.SassNumber_SassNumber(1 / 0, _null);
  73238. break $label0$0;
  73239. }
  73240. if ("-infinity" === _0_0) {
  73241. t1 = A.SassNumber_SassNumber(-1 / 0, _null);
  73242. break $label0$0;
  73243. }
  73244. if ("nan" === _0_0) {
  73245. t1 = A.SassNumber_SassNumber(0 / 0, _null);
  73246. break $label0$0;
  73247. }
  73248. t1 = new A.SassString(_this._performInterpolation$1(t1), false);
  73249. break $label0$0;
  73250. }
  73251. return t1;
  73252. }
  73253. _box_0.right = _box_0.left = _box_0.operator = null;
  73254. t1 = node instanceof A.BinaryOperationExpression;
  73255. if (t1) {
  73256. _box_0.operator = node.operator;
  73257. _box_0.left = node.left;
  73258. _box_0.right = node.right;
  73259. }
  73260. if (t1) {
  73261. _this._checkWhitespaceAroundCalculationOperator$1(node);
  73262. return _this._addExceptionSpan$2(node, new A._EvaluateVisitor__visitCalculationExpression_closure(_box_0, _this, node, inLegacySassFunction));
  73263. }
  73264. if (node instanceof A.NumberExpression || node instanceof A.VariableExpression || node instanceof A.FunctionExpression || node instanceof A.IfExpression) {
  73265. _1_0 = node.accept$1(_this);
  73266. $label1$1: {
  73267. if (_1_0 instanceof A.SassNumber) {
  73268. t1 = _1_0;
  73269. break $label1$1;
  73270. }
  73271. if (_1_0 instanceof A.SassCalculation) {
  73272. t1 = _1_0;
  73273. break $label1$1;
  73274. }
  73275. if (_1_0 instanceof A.SassString) {
  73276. t1 = !_1_0._hasQuotes;
  73277. result = _1_0;
  73278. } else {
  73279. result = _null;
  73280. t1 = false;
  73281. }
  73282. if (t1) {
  73283. t1 = result;
  73284. break $label1$1;
  73285. }
  73286. t1 = A.throwExpression(_this._evaluate$_exception$2("Value " + _1_0.toString$0(0) + " can't be used in a calculation.", node.get$span(node)));
  73287. }
  73288. return t1;
  73289. }
  73290. if (node instanceof A.ListExpression && !node.hasBrackets && B.ListSeparator_nbm === node.separator && node.contents.length >= 2) {
  73291. t1 = A._setArrayType([], type$.JSArray_Object);
  73292. for (t2 = node.contents, t3 = t2.length, _i = 0; _i < t3; ++_i)
  73293. t1.push(_this._visitCalculationExpression$2$inLegacySassFunction(t2[_i], inLegacySassFunction));
  73294. _this._checkAdjacentCalculationValues$2(t1, node);
  73295. for (i = 0; i < t1.length; ++i) {
  73296. t3 = t1[i];
  73297. if (t3 instanceof A.CalculationOperation && t2[i] instanceof A.ParenthesizedExpression)
  73298. t1[i] = new A.SassString("(" + A.S(t3) + ")", false);
  73299. }
  73300. return new A.SassString(B.JSArray_methods.join$1(t1, " "), false);
  73301. }
  73302. throw A.wrapException(_this._evaluate$_exception$2(string$.This_e, node.get$span(node)));
  73303. },
  73304. _checkWhitespaceAroundCalculationOperator$1(node) {
  73305. var t2, t3, t4, textBetweenOperands, first, last,
  73306. t1 = node.operator;
  73307. if (t1 !== B.BinaryOperator_u15 && t1 !== B.BinaryOperator_SjO)
  73308. return;
  73309. t1 = node.left;
  73310. t2 = t1.get$span(t1);
  73311. t2 = t2.get$file(t2);
  73312. t3 = node.right;
  73313. t4 = t3.get$span(t3);
  73314. if (t2 !== t4.get$file(t4))
  73315. return;
  73316. t2 = t1.get$span(t1);
  73317. t2 = t2.get$end(t2);
  73318. t4 = t3.get$span(t3);
  73319. if (t2.offset >= t4.get$start(t4).offset)
  73320. return;
  73321. t2 = t1.get$span(t1);
  73322. t2 = t2.get$file(t2);
  73323. t1 = t1.get$span(t1);
  73324. t1 = t1.get$end(t1);
  73325. t3 = t3.get$span(t3);
  73326. textBetweenOperands = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2._decodedChars, t1.offset, t3.get$start(t3).offset), 0, null);
  73327. first = textBetweenOperands.charCodeAt(0);
  73328. last = textBetweenOperands.charCodeAt(textBetweenOperands.length - 1);
  73329. if (first === 32 || first === 9 || first === 10 || first === 13 || first === 12 || first === 47)
  73330. t1 = !(last === 32 || last === 9 || last === 10 || last === 13 || last === 12 || last === 47);
  73331. else
  73332. t1 = true;
  73333. if (t1)
  73334. throw A.wrapException(this._evaluate$_exception$2(string$.x22x2b__an, node.get$operatorSpan()));
  73335. },
  73336. _binaryOperatorToCalculationOperator$2(operator, node) {
  73337. var t1;
  73338. $label0$0: {
  73339. if (B.BinaryOperator_u15 === operator) {
  73340. t1 = B.CalculationOperator_g2q;
  73341. break $label0$0;
  73342. }
  73343. if (B.BinaryOperator_SjO === operator) {
  73344. t1 = B.CalculationOperator_CxF;
  73345. break $label0$0;
  73346. }
  73347. if (B.BinaryOperator_2No === operator) {
  73348. t1 = B.CalculationOperator_171;
  73349. break $label0$0;
  73350. }
  73351. if (B.BinaryOperator_U77 === operator) {
  73352. t1 = B.CalculationOperator_Qf1;
  73353. break $label0$0;
  73354. }
  73355. t1 = A.throwExpression(this._evaluate$_exception$2(string$.This_o, node.get$operatorSpan()));
  73356. }
  73357. return t1;
  73358. },
  73359. _checkAdjacentCalculationValues$2(elements, node) {
  73360. var t1, i, t2, previous, current, previousNode, currentNode, _0_2;
  73361. for (t1 = elements.length, i = 1; i < t1; ++i) {
  73362. t2 = i - 1;
  73363. previous = elements[t2];
  73364. current = elements[i];
  73365. if (previous instanceof A.SassString || current instanceof A.SassString)
  73366. continue;
  73367. t1 = node.contents;
  73368. previousNode = t1[t2];
  73369. currentNode = t1[i];
  73370. if (currentNode instanceof A.UnaryOperationExpression) {
  73371. _0_2 = currentNode.operator;
  73372. if (B.UnaryOperator_AiQ !== _0_2)
  73373. t1 = B.UnaryOperator_cLp === _0_2;
  73374. else
  73375. t1 = true;
  73376. } else
  73377. t1 = false;
  73378. if (!t1)
  73379. t1 = currentNode instanceof A.NumberExpression && currentNode.value < 0;
  73380. else
  73381. t1 = true;
  73382. if (t1)
  73383. throw A.wrapException(this._evaluate$_exception$2(string$.x22x2b__an, A.FileSpanExtension_subspan(currentNode.get$span(currentNode), 0, 1)));
  73384. else
  73385. throw A.wrapException(this._evaluate$_exception$2("Missing math operator.", previousNode.get$span(previousNode).expand$1(0, currentNode.get$span(currentNode))));
  73386. }
  73387. },
  73388. visitInterpolatedFunctionExpression$1(node) {
  73389. var result, _this = this,
  73390. t1 = _this._performInterpolation$1(node.name),
  73391. oldInFunction = _this._inFunction;
  73392. _this._inFunction = true;
  73393. result = _this._addErrorSpan$2(node, new A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure(_this, node, new A.PlainCssCallable(t1)));
  73394. _this._inFunction = oldInFunction;
  73395. return result;
  73396. },
  73397. _runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, run, $V) {
  73398. var oldCallable, result, _this = this,
  73399. evaluated = _this._evaluateArguments$1($arguments),
  73400. $name = callable.declaration.name;
  73401. if ($name !== "@content")
  73402. $name += "()";
  73403. oldCallable = _this._currentCallable;
  73404. _this._currentCallable = callable;
  73405. result = _this._withStackFrame$3($name, nodeWithSpan, new A._EvaluateVisitor__runUserDefinedCallable_closure(_this, callable, evaluated, nodeWithSpan, run, $V));
  73406. _this._currentCallable = oldCallable;
  73407. return result;
  73408. },
  73409. _runFunctionCallable$3($arguments, callable, nodeWithSpan) {
  73410. var buffer, first, argument, restArg, rest, error, t1, t2, _i, t3, t4, exception, _this = this;
  73411. if (callable instanceof A.BuiltInCallable)
  73412. return _this._withoutSlash$2(_this._runBuiltInCallable$3($arguments, callable, nodeWithSpan), nodeWithSpan);
  73413. else if (type$.UserDefinedCallable_Environment._is(callable))
  73414. return _this._runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, new A._EvaluateVisitor__runFunctionCallable_closure(_this, callable), type$.Value);
  73415. else if (callable instanceof A.PlainCssCallable) {
  73416. t1 = $arguments.named;
  73417. if (t1.get$isNotEmpty(t1) || $arguments.keywordRest != null)
  73418. throw A.wrapException(_this._evaluate$_exception$2(string$.Plain_, nodeWithSpan.get$span(nodeWithSpan)));
  73419. buffer = new A.StringBuffer(callable.name + "(");
  73420. try {
  73421. first = true;
  73422. for (t1 = $arguments.positional, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  73423. argument = t1[_i];
  73424. if (first)
  73425. first = false;
  73426. else
  73427. buffer._contents += ", ";
  73428. t3 = buffer;
  73429. t4 = argument;
  73430. t4 = _this._evaluate$_serialize$3$quote(t4.accept$1(_this), t4, true);
  73431. t3._contents += t4;
  73432. }
  73433. restArg = $arguments.rest;
  73434. if (restArg != null) {
  73435. rest = restArg.accept$1(_this);
  73436. if (!first)
  73437. buffer._contents += ", ";
  73438. t1 = buffer;
  73439. t2 = _this._evaluate$_serialize$2(rest, restArg);
  73440. t1._contents += t2;
  73441. }
  73442. } catch (exception) {
  73443. t1 = A.unwrapException(exception);
  73444. if (type$.SassRuntimeException._is(t1)) {
  73445. error = t1;
  73446. if (!B.JSString_methods.endsWith$1(error._span_exception$_message, "isn't a valid CSS value."))
  73447. throw exception;
  73448. 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));
  73449. } else
  73450. throw exception;
  73451. }
  73452. t1 = buffer;
  73453. t2 = A.Primitives_stringFromCharCode(41);
  73454. t1._contents += t2;
  73455. t2 = buffer._contents;
  73456. return new A.SassString(t2.charCodeAt(0) == 0 ? t2 : t2, false);
  73457. } else
  73458. throw A.wrapException(A.ArgumentError$("Unknown callable type " + J.get$runtimeType$(callable).toString$0(0) + ".", null));
  73459. },
  73460. _runBuiltInCallable$3($arguments, callable, nodeWithSpan) {
  73461. var result, error, stackTrace, message, namedSet, _0_0, declaredArguments, i, t1, argument, t2, t3, rest, argumentList, exception, message0, _this = this, _box_0 = {},
  73462. evaluated = _this._evaluateArguments$1($arguments),
  73463. oldCallableNode = _this._callableNode;
  73464. _this._callableNode = nodeWithSpan;
  73465. namedSet = new A.MapKeySet(evaluated._values[0], type$.MapKeySet_String);
  73466. _box_0.callback = _box_0.overload = null;
  73467. _0_0 = callable.callbackFor$2(evaluated._values[2].length, namedSet);
  73468. _box_0.overload = _0_0._0;
  73469. _box_0.callback = _0_0._1;
  73470. _this._addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure(_box_0, evaluated, namedSet));
  73471. declaredArguments = _box_0.overload.$arguments;
  73472. for (i = evaluated._values[2].length, t1 = declaredArguments.length; i < t1; ++i) {
  73473. argument = declaredArguments[i];
  73474. t2 = evaluated._values[2];
  73475. t3 = evaluated._values[0].remove$1(0, argument.name);
  73476. if (t3 == null) {
  73477. t3 = argument.defaultValue;
  73478. t3 = _this._withoutSlash$2(t3.accept$1(_this), t3);
  73479. }
  73480. t2.push(t3);
  73481. }
  73482. if (_box_0.overload.restArgument != null) {
  73483. if (evaluated._values[2].length > t1) {
  73484. rest = B.JSArray_methods.sublist$1(evaluated._values[2], t1);
  73485. B.JSArray_methods.removeRange$2(evaluated._values[2], t1, evaluated._values[2].length);
  73486. } else
  73487. rest = B.List_empty8;
  73488. t1 = evaluated._values[0];
  73489. argumentList = A.SassArgumentList$(rest, t1, evaluated._values[4] === B.ListSeparator_undecided_null_undecided ? B.ListSeparator_ECn : evaluated._values[4]);
  73490. evaluated._values[2].push(argumentList);
  73491. } else
  73492. argumentList = null;
  73493. result = null;
  73494. try {
  73495. result = _this._addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure0(_box_0, evaluated));
  73496. } catch (exception) {
  73497. t1 = A.unwrapException(exception);
  73498. if (t1 instanceof A.SassException)
  73499. throw exception;
  73500. else {
  73501. error = t1;
  73502. stackTrace = A.getTraceFromException(exception);
  73503. message = null;
  73504. try {
  73505. message = A._asString(J.get$message$x(error));
  73506. } catch (exception) {
  73507. message0 = J.toString$0$(error);
  73508. message = message0;
  73509. }
  73510. A.throwWithTrace(_this._evaluate$_exception$2(message, nodeWithSpan.get$span(nodeWithSpan)), error, stackTrace);
  73511. }
  73512. }
  73513. _this._callableNode = oldCallableNode;
  73514. if (argumentList == null)
  73515. return result;
  73516. if (evaluated._values[0].__js_helper$_length === 0)
  73517. return result;
  73518. if (argumentList._wereKeywordsAccessed)
  73519. return result;
  73520. throw A.wrapException(A.MultiSpanSassRuntimeException$("No " + A.pluralize("argument", 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));
  73521. },
  73522. _evaluateArguments$1($arguments) {
  73523. var t1, t2, _i, expression, nodeForSpan, named, namedNodes, t3, t4, $name, value, restArgs, rest, restNodeForSpan, t5, separator, keywordRestArgs, keywordRest, keywordRestNodeForSpan, _this = this,
  73524. positional = A._setArrayType([], type$.JSArray_Value),
  73525. positionalNodes = A._setArrayType([], type$.JSArray_AstNode);
  73526. for (t1 = $arguments.positional, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  73527. expression = t1[_i];
  73528. nodeForSpan = _this._expressionNode$1(expression);
  73529. positional.push(_this._withoutSlash$2(expression.accept$1(_this), nodeForSpan));
  73530. positionalNodes.push(nodeForSpan);
  73531. }
  73532. t1 = type$.String;
  73533. named = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Value);
  73534. t2 = type$.AstNode;
  73535. namedNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  73536. for (t3 = A.MapExtensions_get_pairs($arguments.named, t1, type$.Expression), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  73537. t4 = t3.get$current(t3);
  73538. $name = t4._0;
  73539. value = t4._1;
  73540. nodeForSpan = _this._expressionNode$1(value);
  73541. named.$indexSet(0, $name, _this._withoutSlash$2(value.accept$1(_this), nodeForSpan));
  73542. namedNodes.$indexSet(0, $name, nodeForSpan);
  73543. }
  73544. restArgs = $arguments.rest;
  73545. if (restArgs == null)
  73546. return new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, B.ListSeparator_undecided_null_undecided]);
  73547. rest = restArgs.accept$1(_this);
  73548. restNodeForSpan = _this._expressionNode$1(restArgs);
  73549. if (rest instanceof A.SassMap) {
  73550. _this._addRestMap$4(named, rest, restArgs, new A._EvaluateVisitor__evaluateArguments_closure());
  73551. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  73552. for (t4 = rest._map$_contents, t4 = J.get$iterator$ax(t4.get$keys(t4)), t5 = type$.SassString; t4.moveNext$0();)
  73553. t3.$indexSet(0, t5._as(t4.get$current(t4))._string$_text, restNodeForSpan);
  73554. namedNodes.addAll$1(0, t3);
  73555. separator = B.ListSeparator_undecided_null_undecided;
  73556. } else if (rest instanceof A.SassList) {
  73557. t3 = rest._list$_contents;
  73558. 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>")));
  73559. B.JSArray_methods.addAll$1(positionalNodes, A.List_List$filled(t3.length, restNodeForSpan, false, t2));
  73560. separator = rest._separator;
  73561. if (rest instanceof A.SassArgumentList) {
  73562. rest._wereKeywordsAccessed = true;
  73563. rest._keywords.forEach$1(0, new A._EvaluateVisitor__evaluateArguments_closure1(_this, named, restNodeForSpan, namedNodes));
  73564. }
  73565. } else {
  73566. positional.push(_this._withoutSlash$2(rest, restNodeForSpan));
  73567. positionalNodes.push(restNodeForSpan);
  73568. separator = B.ListSeparator_undecided_null_undecided;
  73569. }
  73570. keywordRestArgs = $arguments.keywordRest;
  73571. if (keywordRestArgs == null)
  73572. return new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, separator]);
  73573. keywordRest = keywordRestArgs.accept$1(_this);
  73574. keywordRestNodeForSpan = _this._expressionNode$1(keywordRestArgs);
  73575. if (keywordRest instanceof A.SassMap) {
  73576. _this._addRestMap$4(named, keywordRest, keywordRestArgs, new A._EvaluateVisitor__evaluateArguments_closure2());
  73577. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  73578. for (t2 = keywordRest._map$_contents, t2 = J.get$iterator$ax(t2.get$keys(t2)), t3 = type$.SassString; t2.moveNext$0();)
  73579. t1.$indexSet(0, t3._as(t2.get$current(t2))._string$_text, keywordRestNodeForSpan);
  73580. namedNodes.addAll$1(0, t1);
  73581. return new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, separator]);
  73582. } else
  73583. throw A.wrapException(_this._evaluate$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs.get$span(keywordRestArgs)));
  73584. },
  73585. _evaluateMacroArguments$1(invocation) {
  73586. var t2, positional, named, rest, restNodeForSpan, keywordRestArgs_, keywordRest, keywordRestNodeForSpan, _this = this,
  73587. t1 = invocation.$arguments,
  73588. restArgs_ = t1.rest;
  73589. if (restArgs_ == null)
  73590. return new A._Record_2(t1.positional, t1.named);
  73591. t2 = t1.positional;
  73592. positional = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
  73593. named = A.LinkedHashMap_LinkedHashMap$of(t1.named, type$.String, type$.Expression);
  73594. rest = restArgs_.accept$1(_this);
  73595. restNodeForSpan = _this._expressionNode$1(restArgs_);
  73596. if (rest instanceof A.SassMap)
  73597. _this._addRestMap$4(named, rest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure(restArgs_));
  73598. else if (rest instanceof A.SassList) {
  73599. t2 = rest._list$_contents;
  73600. 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>")));
  73601. if (rest instanceof A.SassArgumentList) {
  73602. rest._wereKeywordsAccessed = true;
  73603. rest._keywords.forEach$1(0, new A._EvaluateVisitor__evaluateMacroArguments_closure1(_this, named, restNodeForSpan, restArgs_));
  73604. }
  73605. } else
  73606. positional.push(new A.ValueExpression(_this._withoutSlash$2(rest, restNodeForSpan), restArgs_.get$span(restArgs_)));
  73607. keywordRestArgs_ = t1.keywordRest;
  73608. if (keywordRestArgs_ == null)
  73609. return new A._Record_2(positional, named);
  73610. keywordRest = keywordRestArgs_.accept$1(_this);
  73611. keywordRestNodeForSpan = _this._expressionNode$1(keywordRestArgs_);
  73612. if (keywordRest instanceof A.SassMap) {
  73613. _this._addRestMap$4(named, keywordRest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure2(_this, keywordRestNodeForSpan, keywordRestArgs_));
  73614. return new A._Record_2(positional, named);
  73615. } else
  73616. throw A.wrapException(_this._evaluate$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs_.get$span(keywordRestArgs_)));
  73617. },
  73618. _addRestMap$1$4(values, map, nodeWithSpan, convert) {
  73619. map._map$_contents.forEach$1(0, new A._EvaluateVisitor__addRestMap_closure(this, values, convert, this._expressionNode$1(nodeWithSpan), map, nodeWithSpan));
  73620. },
  73621. _addRestMap$4(values, map, nodeWithSpan, convert) {
  73622. return this._addRestMap$1$4(values, map, nodeWithSpan, convert, type$.dynamic);
  73623. },
  73624. _verifyArguments$4(positional, named, $arguments, nodeWithSpan) {
  73625. return this._addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__verifyArguments_closure($arguments, positional, named));
  73626. },
  73627. visitSelectorExpression$1(node) {
  73628. var t1 = this._styleRuleIgnoringAtRoot;
  73629. t1 = t1 == null ? null : t1.originalSelector.get$asSassList();
  73630. return t1 == null ? B.C__SassNull : t1;
  73631. },
  73632. visitStringExpression$1(node) {
  73633. var t1, t2, t3, t4, _i, value, t5, _0_0, text, _this = this,
  73634. oldInSupportsDeclaration = _this._inSupportsDeclaration;
  73635. _this._inSupportsDeclaration = false;
  73636. t1 = A._setArrayType([], type$.JSArray_String);
  73637. for (t2 = node.text.contents, t3 = t2.length, t4 = type$.Expression, _i = 0; _i < t3; ++_i) {
  73638. value = t2[_i];
  73639. $label0$0: {
  73640. if (typeof value == "string") {
  73641. t5 = value;
  73642. break $label0$0;
  73643. }
  73644. if (t4._is(value)) {
  73645. _0_0 = value.accept$1(_this);
  73646. $label1$1: {
  73647. if (_0_0 instanceof A.SassString) {
  73648. text = _0_0._string$_text;
  73649. t5 = text;
  73650. break $label1$1;
  73651. }
  73652. t5 = _this._evaluate$_serialize$3$quote(_0_0, value, false);
  73653. break $label1$1;
  73654. }
  73655. break $label0$0;
  73656. }
  73657. t5 = A.throwExpression(A.UnsupportedError$("Unknown interpolation value " + A.S(value)));
  73658. }
  73659. t1.push(t5);
  73660. }
  73661. t1 = B.JSArray_methods.join$0(t1);
  73662. _this._inSupportsDeclaration = oldInSupportsDeclaration;
  73663. return new A.SassString(t1, node.hasQuotes);
  73664. },
  73665. visitSupportsExpression$1(expression) {
  73666. return new A.SassString(this._visitSupportsCondition$1(expression.condition), false);
  73667. },
  73668. visitCssAtRule$1(node) {
  73669. var wasInKeyframes, wasInUnknownAtRule, t1, _this = this;
  73670. if (_this._declarationName != null)
  73671. throw A.wrapException(_this._evaluate$_exception$2(string$.At_rul, node.span));
  73672. if (node.isChildless) {
  73673. _this._assertInModule$2(_this.__parent, "__parent").addChild$1(A.ModifiableCssAtRule$(node.name, node.span, true, node.value));
  73674. return;
  73675. }
  73676. wasInKeyframes = _this._inKeyframes;
  73677. wasInUnknownAtRule = _this._inUnknownAtRule;
  73678. t1 = node.name;
  73679. if (A.unvendor(t1.value) === "keyframes")
  73680. _this._inKeyframes = true;
  73681. else
  73682. _this._inUnknownAtRule = true;
  73683. _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);
  73684. _this._inUnknownAtRule = wasInUnknownAtRule;
  73685. _this._inKeyframes = wasInKeyframes;
  73686. },
  73687. visitCssComment$1(node) {
  73688. var _this = this,
  73689. _s8_ = "__parent",
  73690. _s13_ = "_endOfImports";
  73691. 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))
  73692. _this.__endOfImports = _this._assertInModule$2(_this.__endOfImports, _s13_) + 1;
  73693. _this._assertInModule$2(_this.__parent, _s8_).addChild$1(new A.ModifiableCssComment(node.text, node.span));
  73694. },
  73695. visitCssDeclaration$1(node) {
  73696. this._assertInModule$2(this.__parent, "__parent").addChild$1(A.ModifiableCssDeclaration$(node.name, node.value, node.span, node.parsedAsCustomProperty, node.valueSpanForMap));
  73697. },
  73698. visitCssImport$1(node) {
  73699. var t1, _this = this,
  73700. _s8_ = "__parent",
  73701. _s5_ = "_root",
  73702. _s13_ = "_endOfImports",
  73703. modifiableNode = new A.ModifiableCssImport(node.url, node.modifiers, node.span);
  73704. if (_this._assertInModule$2(_this.__parent, _s8_) !== _this._assertInModule$2(_this.__root, _s5_))
  73705. _this._assertInModule$2(_this.__parent, _s8_).addChild$1(modifiableNode);
  73706. else if (_this._assertInModule$2(_this.__endOfImports, _s13_) === J.get$length$asx(_this._assertInModule$2(_this.__root, _s5_).children._collection$_source)) {
  73707. _this._assertInModule$2(_this.__root, _s5_).addChild$1(modifiableNode);
  73708. _this.__endOfImports = _this._assertInModule$2(_this.__endOfImports, _s13_) + 1;
  73709. } else {
  73710. t1 = _this._outOfOrderImports;
  73711. (t1 == null ? _this._outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport) : t1).push(modifiableNode);
  73712. }
  73713. },
  73714. visitCssKeyframeBlock$1(node) {
  73715. 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);
  73716. },
  73717. visitCssMediaRule$1(node) {
  73718. var mergedQueries, t1, mergedSources, t2, t3, _this = this;
  73719. if (_this._declarationName != null)
  73720. throw A.wrapException(_this._evaluate$_exception$2(string$.Media_, node.span));
  73721. mergedQueries = A.NullableExtension_andThen(_this._mediaQueries, new A._EvaluateVisitor_visitCssMediaRule_closure(_this, node));
  73722. t1 = mergedQueries == null;
  73723. if (!t1 && J.get$isEmpty$asx(mergedQueries))
  73724. return;
  73725. if (t1)
  73726. mergedSources = B.Set_empty1;
  73727. else {
  73728. t2 = _this._mediaQuerySources;
  73729. t2.toString;
  73730. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery);
  73731. t3 = _this._mediaQueries;
  73732. t3.toString;
  73733. t2.addAll$1(0, t3);
  73734. t2.addAll$1(0, node.queries);
  73735. mergedSources = t2;
  73736. }
  73737. t1 = t1 ? node.queries : mergedQueries;
  73738. _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);
  73739. },
  73740. visitCssStyleRule$1(node) {
  73741. var t1, styleRule, t2, nest, t3, originalSelector, rule, oldAtRootExcludingStyleRule, _0_1, lastChild, _this = this, _null = null,
  73742. _s8_ = "__parent";
  73743. if (_this._declarationName != null)
  73744. throw A.wrapException(_this._evaluate$_exception$2(string$.Style_n, node.span));
  73745. else if (_this._inKeyframes && _this._assertInModule$2(_this.__parent, _s8_) instanceof A.ModifiableCssKeyframeBlock)
  73746. throw A.wrapException(_this._evaluate$_exception$2(string$.Style_k, node.span));
  73747. t1 = _this._atRootExcludingStyleRule;
  73748. styleRule = t1 ? _null : _this._styleRuleIgnoringAtRoot;
  73749. t2 = t1 ? _null : _this._styleRuleIgnoringAtRoot;
  73750. t2 = t2 == null ? _null : t2.fromPlainCss;
  73751. nest = t2 !== true;
  73752. t2 = node._style_rule$_selector._box$_inner;
  73753. if (nest) {
  73754. t2 = t2.value;
  73755. t3 = styleRule == null ? _null : styleRule.originalSelector;
  73756. originalSelector = t2.nestWithin$3$implicitParent$preserveParentSelectors(t3, !t1, node.fromPlainCss);
  73757. } else
  73758. originalSelector = t2.value;
  73759. rule = A.ModifiableCssStyleRule$(_this._assertInModule$2(_this.__extensionStore, "_extensionStore").addSelector$2(originalSelector, _this._mediaQueries), node.span, node.fromPlainCss, originalSelector);
  73760. oldAtRootExcludingStyleRule = _this._atRootExcludingStyleRule;
  73761. _this._atRootExcludingStyleRule = false;
  73762. t1 = nest ? new A._EvaluateVisitor_visitCssStyleRule_closure() : _null;
  73763. _this._withParent$2$4$scopeWhen$through(rule, new A._EvaluateVisitor_visitCssStyleRule_closure0(_this, rule, node), false, t1, type$.ModifiableCssStyleRule, type$.Null);
  73764. _this._atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  73765. t1 = _this._assertInModule$2(_this.__parent, _s8_).children._collection$_source;
  73766. t2 = J.getInterceptor$asx(t1);
  73767. _0_1 = t2.get$length(t1);
  73768. if (_0_1 >= 1) {
  73769. lastChild = t2.elementAt$1(t1, _0_1 - 1);
  73770. t1 = styleRule == null;
  73771. } else {
  73772. lastChild = _null;
  73773. t1 = false;
  73774. }
  73775. if (t1)
  73776. lastChild.isGroupEnd = true;
  73777. },
  73778. visitCssStylesheet$1(node) {
  73779. var t1;
  73780. for (t1 = J.get$iterator$ax(node.get$children(node)); t1.moveNext$0();)
  73781. t1.get$current(t1).accept$1(this);
  73782. },
  73783. visitCssSupportsRule$1(node) {
  73784. var _this = this;
  73785. if (_this._declarationName != null)
  73786. throw A.wrapException(_this._evaluate$_exception$2(string$.Suppor, node.span));
  73787. _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);
  73788. },
  73789. _handleReturn$1$2(list, callback) {
  73790. var t1, _i, _0_0;
  73791. for (t1 = list.length, _i = 0; _i < list.length; list.length === t1 || (0, A.throwConcurrentModificationError)(list), ++_i) {
  73792. _0_0 = callback.call$1(list[_i]);
  73793. if (_0_0 != null)
  73794. return _0_0;
  73795. }
  73796. return null;
  73797. },
  73798. _handleReturn$2(list, callback) {
  73799. return this._handleReturn$1$2(list, callback, type$.dynamic);
  73800. },
  73801. _withEnvironment$1$2(environment, callback) {
  73802. var result,
  73803. oldEnvironment = this._environment;
  73804. this._environment = environment;
  73805. result = callback.call$0();
  73806. this._environment = oldEnvironment;
  73807. return result;
  73808. },
  73809. _withEnvironment$2(environment, callback) {
  73810. return this._withEnvironment$1$2(environment, callback, type$.dynamic);
  73811. },
  73812. _interpolationToValue$3$trim$warnForColor(interpolation, trim, warnForColor) {
  73813. var result = this._performInterpolation$2$warnForColor(interpolation, warnForColor),
  73814. t1 = trim ? A.trimAscii(result, true) : result;
  73815. return new A.CssValue(t1, interpolation.span, type$.CssValue_String);
  73816. },
  73817. _interpolationToValue$1(interpolation) {
  73818. return this._interpolationToValue$3$trim$warnForColor(interpolation, false, false);
  73819. },
  73820. _interpolationToValue$2$warnForColor(interpolation, warnForColor) {
  73821. return this._interpolationToValue$3$trim$warnForColor(interpolation, false, warnForColor);
  73822. },
  73823. _performInterpolation$2$warnForColor(interpolation, warnForColor) {
  73824. return this._performInterpolationHelper$3$sourceMap$warnForColor(interpolation, false, warnForColor)._0;
  73825. },
  73826. _performInterpolation$1(interpolation) {
  73827. return this._performInterpolation$2$warnForColor(interpolation, false);
  73828. },
  73829. _performInterpolationWithMap$2$warnForColor(interpolation, warnForColor) {
  73830. var _0_0 = this._performInterpolationHelper$3$sourceMap$warnForColor(interpolation, true, true),
  73831. map = _0_0._1;
  73832. map.toString;
  73833. return new A._Record_2(_0_0._0, map);
  73834. },
  73835. _performInterpolationHelper$3$sourceMap$warnForColor(interpolation, sourceMap, warnForColor) {
  73836. var t1, t2, t3, t4, t5, t6, t7, first, _i, t8, value, result, t9, result0, _this = this, _null = null,
  73837. targetLocations = sourceMap ? A._setArrayType([], type$.JSArray_SourceLocation) : _null,
  73838. oldInSupportsDeclaration = _this._inSupportsDeclaration;
  73839. _this._inSupportsDeclaration = false;
  73840. for (t1 = interpolation.contents, t2 = t1.length, t3 = type$.Expression, t4 = targetLocations == null, t5 = type$.JSArray_Object, t6 = interpolation.span, t7 = type$.Object, first = true, _i = 0, t8 = ""; _i < t2; ++_i, first = false) {
  73841. value = t1[_i];
  73842. if (!first)
  73843. if (!t4)
  73844. targetLocations.push(A.SourceLocation$(t8.length, _null, _null, _null));
  73845. if (typeof value == "string") {
  73846. t8 += value;
  73847. continue;
  73848. }
  73849. t3._as(value);
  73850. result = value.accept$1(_this);
  73851. if (warnForColor && $.$get$namesByColor().containsKey$1(result)) {
  73852. t9 = A._setArrayType([""], t5);
  73853. result0 = A.List_List$from(t9, false, t7);
  73854. result0.fixed$length = Array;
  73855. result0.immutable$list = Array;
  73856. result0 = new A.Interpolation(result0, t6);
  73857. result0.Interpolation$2(t9, t6);
  73858. t9 = $.$get$namesByColor();
  73859. _this._warn$2(string$.You_pr + A.S(t9.$index(0, result)) + string$.x20in_in + result.toString$0(0) + string$.x2c_whicw + A.S(t9.$index(0, result)) + string$.x22x29__If + new A.BinaryOperationExpression(B.BinaryOperator_u15, new A.StringExpression(result0, true), value, false).toString$0(0) + "'.", value.get$span(value));
  73860. }
  73861. t8 += _this._evaluate$_serialize$3$quote(result, value, false);
  73862. }
  73863. _this._inSupportsDeclaration = oldInSupportsDeclaration;
  73864. return new A._Record_2(t8.charCodeAt(0) == 0 ? t8 : t8, A.NullableExtension_andThen(targetLocations, new A._EvaluateVisitor__performInterpolationHelper_closure(interpolation)));
  73865. },
  73866. _evaluate$_serialize$3$quote(value, nodeWithSpan, quote) {
  73867. return this._addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__serialize_closure(value, quote));
  73868. },
  73869. _evaluate$_serialize$2(value, nodeWithSpan) {
  73870. return this._evaluate$_serialize$3$quote(value, nodeWithSpan, true);
  73871. },
  73872. _expressionNode$1(expression) {
  73873. var t1;
  73874. if (expression instanceof A.VariableExpression) {
  73875. t1 = this._addExceptionSpan$2(expression, new A._EvaluateVisitor__expressionNode_closure(this, expression));
  73876. return t1 == null ? expression : t1;
  73877. } else
  73878. return expression;
  73879. },
  73880. _withParent$2$4$scopeWhen$through(node, callback, scopeWhen, through, $S, $T) {
  73881. var t1, result, _this = this;
  73882. _this._addChild$2$through(node, through);
  73883. t1 = _this._assertInModule$2(_this.__parent, "__parent");
  73884. _this.__parent = node;
  73885. result = _this._environment.scope$1$2$when(callback, scopeWhen, $T);
  73886. _this.__parent = t1;
  73887. return result;
  73888. },
  73889. _withParent$2$3$scopeWhen(node, callback, scopeWhen, $S, $T) {
  73890. return this._withParent$2$4$scopeWhen$through(node, callback, scopeWhen, null, $S, $T);
  73891. },
  73892. _withParent$2$2(node, callback, $S, $T) {
  73893. return this._withParent$2$4$scopeWhen$through(node, callback, true, null, $S, $T);
  73894. },
  73895. _addChild$2$through(node, through) {
  73896. var _0_0, grandparent, t1,
  73897. $parent = this._assertInModule$2(this.__parent, "__parent");
  73898. if (through != null) {
  73899. for (; through.call$1($parent); $parent = _0_0) {
  73900. _0_0 = $parent._parent;
  73901. if (_0_0 == null)
  73902. throw A.wrapException(A.ArgumentError$(string$.throug + node.toString$0(0) + ".", null));
  73903. }
  73904. if ($parent.get$hasFollowingSibling()) {
  73905. grandparent = $parent._parent;
  73906. t1 = grandparent.children;
  73907. if ($parent.equalsIgnoringChildren$1(t1.get$last(t1)))
  73908. $parent = type$.ModifiableCssParentNode._as(t1.get$last(t1));
  73909. else {
  73910. $parent = $parent.copyWithoutChildren$0();
  73911. grandparent.addChild$1($parent);
  73912. }
  73913. }
  73914. }
  73915. $parent.addChild$1(node);
  73916. },
  73917. _addChild$1(node) {
  73918. return this._addChild$2$through(node, null);
  73919. },
  73920. _withStyleRule$1$2(rule, callback) {
  73921. var result,
  73922. oldRule = this._styleRuleIgnoringAtRoot;
  73923. this._styleRuleIgnoringAtRoot = rule;
  73924. result = callback.call$0();
  73925. this._styleRuleIgnoringAtRoot = oldRule;
  73926. return result;
  73927. },
  73928. _withStyleRule$2(rule, callback) {
  73929. return this._withStyleRule$1$2(rule, callback, type$.dynamic);
  73930. },
  73931. _withMediaQueries$1$3(queries, sources, callback) {
  73932. var result, _this = this,
  73933. oldMediaQueries = _this._mediaQueries,
  73934. oldSources = _this._mediaQuerySources;
  73935. _this._mediaQueries = queries;
  73936. _this._mediaQuerySources = sources;
  73937. result = callback.call$0();
  73938. _this._mediaQueries = oldMediaQueries;
  73939. _this._mediaQuerySources = oldSources;
  73940. return result;
  73941. },
  73942. _withMediaQueries$3(queries, sources, callback) {
  73943. return this._withMediaQueries$1$3(queries, sources, callback, type$.dynamic);
  73944. },
  73945. _withStackFrame$1$3(member, nodeWithSpan, callback) {
  73946. var oldMember, result, _this = this,
  73947. t1 = _this._stack;
  73948. t1.push(new A._Record_2(_this._member, nodeWithSpan));
  73949. oldMember = _this._member;
  73950. _this._member = member;
  73951. result = callback.call$0();
  73952. _this._member = oldMember;
  73953. t1.pop();
  73954. return result;
  73955. },
  73956. _withStackFrame$3(member, nodeWithSpan, callback) {
  73957. return this._withStackFrame$1$3(member, nodeWithSpan, callback, type$.dynamic);
  73958. },
  73959. _withoutSlash$2(value, nodeForSpan) {
  73960. var t1;
  73961. if (value instanceof A.SassNumber)
  73962. t1 = value.asSlash != null;
  73963. else
  73964. t1 = false;
  73965. if (t1)
  73966. 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_oJv);
  73967. return value.withoutSlash$0();
  73968. },
  73969. _stackFrame$2(member, span) {
  73970. return A.frameForSpan(span, member, A.NullableExtension_andThen(span.get$sourceUrl(span), new A._EvaluateVisitor__stackFrame_closure(this)));
  73971. },
  73972. _evaluate$_stackTrace$1(span) {
  73973. var t2, t3, _i, t4, nodeWithSpan, _this = this,
  73974. t1 = A._setArrayType([], type$.JSArray_Frame);
  73975. for (t2 = _this._stack, t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  73976. t4 = t2[_i];
  73977. nodeWithSpan = t4._1;
  73978. t1.push(_this._stackFrame$2(t4._0, nodeWithSpan.get$span(nodeWithSpan)));
  73979. }
  73980. if (span != null)
  73981. t1.push(_this._stackFrame$2(_this._member, span));
  73982. return A.Trace$(new A.ReversedListIterable(t1, type$.ReversedListIterable_Frame), null);
  73983. },
  73984. _evaluate$_stackTrace$0() {
  73985. return this._evaluate$_stackTrace$1(null);
  73986. },
  73987. _warn$3(message, span, deprecation) {
  73988. var t1, trace, _this = this;
  73989. if (_this._quietDeps)
  73990. if (!_this._inDependency) {
  73991. t1 = _this._currentCallable;
  73992. t1 = t1 == null ? null : t1.inDependency;
  73993. t1 = t1 === true;
  73994. } else
  73995. t1 = true;
  73996. else
  73997. t1 = false;
  73998. if (t1)
  73999. return;
  74000. if (!_this._warningsEmitted.add$1(0, new A._Record_2(message, span)))
  74001. return;
  74002. trace = _this._evaluate$_stackTrace$1(span);
  74003. t1 = _this._evaluate$_logger;
  74004. if (deprecation == null)
  74005. t1.warn$3$span$trace(0, message, span, trace);
  74006. else
  74007. A.WarnForDeprecation_warnForDeprecation(t1, deprecation, message, span, trace);
  74008. },
  74009. _warn$2(message, span) {
  74010. return this._warn$3(message, span, null);
  74011. },
  74012. _evaluate$_exception$2(message, span) {
  74013. var t1, t2;
  74014. if (span == null) {
  74015. t1 = B.JSArray_methods.get$last(this._stack)._1;
  74016. t1 = t1.get$span(t1);
  74017. } else
  74018. t1 = span;
  74019. t2 = this._evaluate$_stackTrace$1(span);
  74020. return new A.SassRuntimeException(t2, B.Set_empty, message, t1);
  74021. },
  74022. _evaluate$_exception$1(message) {
  74023. return this._evaluate$_exception$2(message, null);
  74024. },
  74025. _multiSpanException$3(message, primaryLabel, secondaryLabels) {
  74026. var t1 = B.JSArray_methods.get$last(this._stack)._1;
  74027. return A.MultiSpanSassRuntimeException$(message, t1.get$span(t1), primaryLabel, secondaryLabels, this._evaluate$_stackTrace$0(), null);
  74028. },
  74029. _addExceptionSpan$1$3$addStackFrame(nodeWithSpan, callback, addStackFrame) {
  74030. var error, stackTrace, t1, exception;
  74031. try {
  74032. t1 = callback.call$0();
  74033. return t1;
  74034. } catch (exception) {
  74035. t1 = A.unwrapException(exception);
  74036. if (t1 instanceof A.SassScriptException) {
  74037. error = t1;
  74038. stackTrace = A.getTraceFromException(exception);
  74039. t1 = error.withSpan$1(nodeWithSpan.get$span(nodeWithSpan));
  74040. A.throwWithTrace(t1.withTrace$1(this._evaluate$_stackTrace$1(addStackFrame ? nodeWithSpan.get$span(nodeWithSpan) : null)), error, stackTrace);
  74041. } else
  74042. throw exception;
  74043. }
  74044. },
  74045. _addExceptionSpan$2(nodeWithSpan, callback) {
  74046. return this._addExceptionSpan$1$3$addStackFrame(nodeWithSpan, callback, true, type$.dynamic);
  74047. },
  74048. _addExceptionSpan$3$addStackFrame(nodeWithSpan, callback, addStackFrame) {
  74049. return this._addExceptionSpan$1$3$addStackFrame(nodeWithSpan, callback, addStackFrame, type$.dynamic);
  74050. },
  74051. _addExceptionTrace$1$1(callback) {
  74052. var error, stackTrace, t1, exception, t2;
  74053. try {
  74054. t1 = callback.call$0();
  74055. return t1;
  74056. } catch (exception) {
  74057. t1 = A.unwrapException(exception);
  74058. if (type$.SassRuntimeException._is(t1))
  74059. throw exception;
  74060. else if (t1 instanceof A.SassException) {
  74061. error = t1;
  74062. stackTrace = A.getTraceFromException(exception);
  74063. t1 = error;
  74064. t2 = J.getInterceptor$z(t1);
  74065. A.throwWithTrace(error.withTrace$1(this._evaluate$_stackTrace$1(A.SourceSpanException.prototype.get$span.call(t2, t1))), error, stackTrace);
  74066. } else
  74067. throw exception;
  74068. }
  74069. },
  74070. _addExceptionTrace$1(callback) {
  74071. return this._addExceptionTrace$1$1(callback, type$.dynamic);
  74072. },
  74073. _addErrorSpan$1$2(nodeWithSpan, callback) {
  74074. var error, stackTrace, t1, exception, t2, t3;
  74075. try {
  74076. t1 = callback.call$0();
  74077. return t1;
  74078. } catch (exception) {
  74079. t1 = A.unwrapException(exception);
  74080. if (type$.SassRuntimeException._is(t1)) {
  74081. error = t1;
  74082. stackTrace = A.getTraceFromException(exception);
  74083. if (!B.JSString_methods.startsWith$1(J.get$span$z(error).get$text(), "@error"))
  74084. throw exception;
  74085. t1 = error._span_exception$_message;
  74086. t2 = nodeWithSpan.get$span(nodeWithSpan);
  74087. t3 = this._evaluate$_stackTrace$0();
  74088. A.throwWithTrace(new A.SassRuntimeException(t3, B.Set_empty, t1, t2), error, stackTrace);
  74089. } else
  74090. throw exception;
  74091. }
  74092. },
  74093. _addErrorSpan$2(nodeWithSpan, callback) {
  74094. return this._addErrorSpan$1$2(nodeWithSpan, callback, type$.dynamic);
  74095. }
  74096. };
  74097. A._EvaluateVisitor_closure.prototype = {
  74098. call$1($arguments) {
  74099. var module, t2,
  74100. t1 = J.getInterceptor$asx($arguments),
  74101. variable = t1.$index($arguments, 0).assertString$1("name");
  74102. t1 = t1.$index($arguments, 1).get$realNull();
  74103. module = t1 == null ? null : t1.assertString$1("module");
  74104. t1 = this.$this._environment;
  74105. t2 = A.stringReplaceAllUnchecked(variable._string$_text, "_", "-");
  74106. return t1.globalVariableExists$2$namespace(t2, module == null ? null : module._string$_text) ? B.SassBoolean_true : B.SassBoolean_false;
  74107. },
  74108. $signature: 20
  74109. };
  74110. A._EvaluateVisitor_closure0.prototype = {
  74111. call$1($arguments) {
  74112. var variable = J.$index$asx($arguments, 0).assertString$1("name"),
  74113. t1 = this.$this._environment;
  74114. return t1.getVariable$1(A.stringReplaceAllUnchecked(variable._string$_text, "_", "-")) != null ? B.SassBoolean_true : B.SassBoolean_false;
  74115. },
  74116. $signature: 20
  74117. };
  74118. A._EvaluateVisitor_closure1.prototype = {
  74119. call$1($arguments) {
  74120. var module, t2, t3, t4,
  74121. t1 = J.getInterceptor$asx($arguments),
  74122. variable = t1.$index($arguments, 0).assertString$1("name");
  74123. t1 = t1.$index($arguments, 1).get$realNull();
  74124. module = t1 == null ? null : t1.assertString$1("module");
  74125. t1 = this.$this;
  74126. t2 = t1._environment;
  74127. t3 = variable._string$_text;
  74128. t4 = A.stringReplaceAllUnchecked(t3, "_", "-");
  74129. return t2.getFunction$2$namespace(t4, module == null ? null : module._string$_text) != null || t1._builtInFunctions.containsKey$1(t3) ? B.SassBoolean_true : B.SassBoolean_false;
  74130. },
  74131. $signature: 20
  74132. };
  74133. A._EvaluateVisitor_closure2.prototype = {
  74134. call$1($arguments) {
  74135. var module, t2,
  74136. t1 = J.getInterceptor$asx($arguments),
  74137. variable = t1.$index($arguments, 0).assertString$1("name");
  74138. t1 = t1.$index($arguments, 1).get$realNull();
  74139. module = t1 == null ? null : t1.assertString$1("module");
  74140. t1 = this.$this._environment;
  74141. t2 = A.stringReplaceAllUnchecked(variable._string$_text, "_", "-");
  74142. return t1.getMixin$2$namespace(t2, module == null ? null : module._string$_text) != null ? B.SassBoolean_true : B.SassBoolean_false;
  74143. },
  74144. $signature: 20
  74145. };
  74146. A._EvaluateVisitor_closure3.prototype = {
  74147. call$1($arguments) {
  74148. var t1 = this.$this._environment;
  74149. if (!t1._inMixin)
  74150. throw A.wrapException(A.SassScriptException$(string$.conten, null));
  74151. return t1._content != null ? B.SassBoolean_true : B.SassBoolean_false;
  74152. },
  74153. $signature: 20
  74154. };
  74155. A._EvaluateVisitor_closure4.prototype = {
  74156. call$1($arguments) {
  74157. var t2, t3, t4,
  74158. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string$_text,
  74159. module = this.$this._environment._environment$_modules.$index(0, t1);
  74160. if (module == null)
  74161. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  74162. t1 = type$.Value;
  74163. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  74164. for (t3 = A.MapExtensions_get_pairs(module.get$variables(), type$.String, t1), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  74165. t4 = t3.get$current(t3);
  74166. t2.$indexSet(0, new A.SassString(t4._0, true), t4._1);
  74167. }
  74168. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  74169. },
  74170. $signature: 36
  74171. };
  74172. A._EvaluateVisitor_closure5.prototype = {
  74173. call$1($arguments) {
  74174. var t2, t3, t4,
  74175. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string$_text,
  74176. module = this.$this._environment._environment$_modules.$index(0, t1);
  74177. if (module == null)
  74178. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  74179. t1 = type$.Value;
  74180. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  74181. for (t3 = A.MapExtensions_get_pairs(module.get$functions(module), type$.String, type$.Callable), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  74182. t4 = t3.get$current(t3);
  74183. t2.$indexSet(0, new A.SassString(t4._0, true), new A.SassFunction(t4._1));
  74184. }
  74185. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  74186. },
  74187. $signature: 36
  74188. };
  74189. A._EvaluateVisitor_closure6.prototype = {
  74190. call$1($arguments) {
  74191. var t2, t3, t4,
  74192. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string$_text,
  74193. module = this.$this._environment._environment$_modules.$index(0, t1);
  74194. if (module == null)
  74195. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  74196. t1 = type$.Value;
  74197. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  74198. for (t3 = A.MapExtensions_get_pairs(module.get$mixins(), type$.String, type$.Callable), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  74199. t4 = t3.get$current(t3);
  74200. t2.$indexSet(0, new A.SassString(t4._0, true), new A.SassMixin(t4._1));
  74201. }
  74202. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  74203. },
  74204. $signature: 36
  74205. };
  74206. A._EvaluateVisitor_closure7.prototype = {
  74207. call$1($arguments) {
  74208. var module, t2, callable,
  74209. t1 = J.getInterceptor$asx($arguments),
  74210. $name = t1.$index($arguments, 0).assertString$1("name"),
  74211. css = t1.$index($arguments, 1).get$isTruthy();
  74212. t1 = t1.$index($arguments, 2).get$realNull();
  74213. module = t1 == null ? null : t1.assertString$1("module");
  74214. if (css) {
  74215. if (module != null)
  74216. throw A.wrapException(string$.x24css_a);
  74217. return new A.SassFunction(new A.PlainCssCallable($name._string$_text));
  74218. }
  74219. t1 = this.$this;
  74220. t2 = t1._callableNode;
  74221. t2.toString;
  74222. callable = t1._addExceptionSpan$2(t2, new A._EvaluateVisitor__closure2(t1, $name, module));
  74223. if (callable == null)
  74224. throw A.wrapException("Function not found: " + $name.toString$0(0));
  74225. return new A.SassFunction(callable);
  74226. },
  74227. $signature: 165
  74228. };
  74229. A._EvaluateVisitor__closure2.prototype = {
  74230. call$0() {
  74231. var local,
  74232. normalizedName = A.stringReplaceAllUnchecked(this.name._string$_text, "_", "-"),
  74233. t1 = this.module,
  74234. namespace = t1 == null ? null : t1._string$_text;
  74235. t1 = this.$this;
  74236. local = t1._environment.getFunction$2$namespace(normalizedName, namespace);
  74237. if (local != null || namespace != null)
  74238. return local;
  74239. return t1._builtInFunctions.$index(0, normalizedName);
  74240. },
  74241. $signature: 77
  74242. };
  74243. A._EvaluateVisitor_closure8.prototype = {
  74244. call$1($arguments) {
  74245. var module, t2, callable,
  74246. t1 = J.getInterceptor$asx($arguments),
  74247. $name = t1.$index($arguments, 0).assertString$1("name");
  74248. t1 = t1.$index($arguments, 1).get$realNull();
  74249. module = t1 == null ? null : t1.assertString$1("module");
  74250. t1 = this.$this;
  74251. t2 = t1._callableNode;
  74252. t2.toString;
  74253. callable = t1._addExceptionSpan$2(t2, new A._EvaluateVisitor__closure1(t1, $name, module));
  74254. if (callable == null)
  74255. throw A.wrapException("Mixin not found: " + $name.toString$0(0));
  74256. return new A.SassMixin(callable);
  74257. },
  74258. $signature: 166
  74259. };
  74260. A._EvaluateVisitor__closure1.prototype = {
  74261. call$0() {
  74262. var t1 = this.$this._environment,
  74263. t2 = A.stringReplaceAllUnchecked(this.name._string$_text, "_", "-"),
  74264. t3 = this.module;
  74265. return t1.getMixin$2$namespace(t2, t3 == null ? null : t3._string$_text);
  74266. },
  74267. $signature: 77
  74268. };
  74269. A._EvaluateVisitor_closure9.prototype = {
  74270. call$1($arguments) {
  74271. var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, invocation, callableNode, callable,
  74272. t1 = J.getInterceptor$asx($arguments),
  74273. $function = t1.$index($arguments, 0),
  74274. args = type$.SassArgumentList._as(t1.$index($arguments, 1));
  74275. t1 = this.$this;
  74276. t2 = t1._callableNode;
  74277. t2.toString;
  74278. t3 = A._setArrayType([], type$.JSArray_Expression);
  74279. t4 = type$.String;
  74280. t5 = type$.Expression;
  74281. t6 = t2.get$span(t2);
  74282. t7 = t2.get$span(t2);
  74283. args._wereKeywordsAccessed = true;
  74284. t8 = args._keywords;
  74285. if (t8.get$isEmpty(t8))
  74286. t2 = null;
  74287. else {
  74288. t9 = type$.Value;
  74289. t10 = A.LinkedHashMap_LinkedHashMap$_empty(t9, t9);
  74290. for (args._wereKeywordsAccessed = true, t8 = A.MapExtensions_get_pairs(t8, t4, t9), t8 = t8.get$iterator(t8); t8.moveNext$0();) {
  74291. t11 = t8.get$current(t8);
  74292. t10.$indexSet(0, new A.SassString(t11._0, false), t11._1);
  74293. }
  74294. t2 = new A.ValueExpression(new A.SassMap(A.ConstantMap_ConstantMap$from(t10, t9, t9)), t2.get$span(t2));
  74295. }
  74296. invocation = new A.ArgumentInvocation(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);
  74297. if ($function instanceof A.SassString) {
  74298. A.warnForDeprecation(string$.Passina + $function.toString$0(0) + "))", B.Deprecation_gkc);
  74299. callableNode = t1._callableNode;
  74300. t2 = $function._string$_text;
  74301. t3 = callableNode.get$span(callableNode);
  74302. return t1.visitFunctionExpression$1(new A.FunctionExpression(null, A.stringReplaceAllUnchecked(t2, "_", "-"), t2, invocation, t3));
  74303. }
  74304. callable = $function.assertFunction$1("function").callable;
  74305. if (type$.Callable._is(callable)) {
  74306. t2 = t1._callableNode;
  74307. t2.toString;
  74308. return t1._runFunctionCallable$3(invocation, callable, t2);
  74309. } else
  74310. throw A.wrapException(A.SassScriptException$("The function " + callable.get$name(callable) + string$.x20is_as, null));
  74311. },
  74312. $signature: 6
  74313. };
  74314. A._EvaluateVisitor_closure10.prototype = {
  74315. call$1($arguments) {
  74316. var withMap, t2, values, configuration, t3,
  74317. t1 = J.getInterceptor$asx($arguments),
  74318. url = A.Uri_parse(t1.$index($arguments, 0).assertString$1("url")._string$_text);
  74319. t1 = t1.$index($arguments, 1).get$realNull();
  74320. withMap = t1 == null ? null : t1.assertMap$1("with")._map$_contents;
  74321. t1 = this.$this;
  74322. t2 = t1._callableNode;
  74323. t2.toString;
  74324. if (withMap != null) {
  74325. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue);
  74326. withMap.forEach$1(0, new A._EvaluateVisitor__closure(values, t2.get$span(t2), t2));
  74327. configuration = new A.ExplicitConfiguration(t2, values, null);
  74328. } else
  74329. configuration = B.Configuration_Map_empty_null;
  74330. t3 = t2.get$span(t2);
  74331. t1._loadModule$7$baseUrl$configuration$namesInErrors(url, "load-css()", t2, new A._EvaluateVisitor__closure0(t1), t3.get$sourceUrl(t3), configuration, true);
  74332. t1._assertConfigurationIsEmpty$2$nameInError(configuration, true);
  74333. },
  74334. $signature: 185
  74335. };
  74336. A._EvaluateVisitor__closure.prototype = {
  74337. call$2(variable, value) {
  74338. var t1 = variable.assertString$1("with key"),
  74339. $name = A.stringReplaceAllUnchecked(t1._string$_text, "_", "-");
  74340. t1 = this.values;
  74341. if (t1.containsKey$1($name))
  74342. throw A.wrapException("The variable $" + $name + " was configured twice.");
  74343. t1.$indexSet(0, $name, new A.ConfiguredValue(value, this.span, this.callableNode));
  74344. },
  74345. $signature: 102
  74346. };
  74347. A._EvaluateVisitor__closure0.prototype = {
  74348. call$2(module, _) {
  74349. var t1 = this.$this;
  74350. return t1._combineCss$2$clone(module, true).accept$1(t1);
  74351. },
  74352. $signature: 78
  74353. };
  74354. A._EvaluateVisitor_closure11.prototype = {
  74355. call$1($arguments) {
  74356. var callableNode, t2, t3, t4, t5, callable, $content,
  74357. t1 = J.getInterceptor$asx($arguments),
  74358. mixin = t1.$index($arguments, 0),
  74359. args = type$.SassArgumentList._as(t1.$index($arguments, 1));
  74360. t1 = this.$this;
  74361. callableNode = t1._callableNode;
  74362. t2 = callableNode.get$span(callableNode);
  74363. t3 = callableNode.get$span(callableNode);
  74364. t4 = type$.Expression;
  74365. t5 = A.List_List$unmodifiable(B.List_empty9, t4);
  74366. t4 = A.ConstantMap_ConstantMap$from(B.Map_empty6, type$.String, t4);
  74367. callable = mixin.assertMixin$1("mixin").callable;
  74368. $content = t1._environment._content;
  74369. if (type$.Callable._is(callable))
  74370. t1._applyMixin$5(callable, $content, new A.ArgumentInvocation(t5, t4, new A.ValueExpression(args, t3), null, t2), callableNode, callableNode);
  74371. else
  74372. throw A.wrapException(A.SassScriptException$("The mixin " + callable.get$name(callable) + string$.x20is_as, null));
  74373. },
  74374. $signature: 185
  74375. };
  74376. A._EvaluateVisitor_run_closure.prototype = {
  74377. call$0() {
  74378. var module, _this = this,
  74379. t1 = _this.node,
  74380. t2 = t1.span,
  74381. _0_0 = t2.get$sourceUrl(t2),
  74382. url = null;
  74383. if (_0_0 != null) {
  74384. url = _0_0;
  74385. t2 = _this.$this;
  74386. t2._activeModules.$indexSet(0, url, null);
  74387. t2._loadedUrls.add$1(0, url);
  74388. }
  74389. t2 = _this.$this;
  74390. module = t2._addExceptionTrace$1(new A._EvaluateVisitor_run__closure(t2, _this.importer, t1));
  74391. return new A._Record_2_loadedUrls_stylesheet(t2._loadedUrls, t2._combineCss$1(module));
  74392. },
  74393. $signature: 305
  74394. };
  74395. A._EvaluateVisitor_run__closure.prototype = {
  74396. call$0() {
  74397. return this.$this._execute$2(this.importer, this.node);
  74398. },
  74399. $signature: 302
  74400. };
  74401. A._EvaluateVisitor_runExpression_closure.prototype = {
  74402. call$0() {
  74403. var t1 = this.$this,
  74404. t2 = this.expression;
  74405. return t1._withFakeStylesheet$3(this.importer, t2, new A._EvaluateVisitor_runExpression__closure(t1, t2));
  74406. },
  74407. $signature: 32
  74408. };
  74409. A._EvaluateVisitor_runExpression__closure.prototype = {
  74410. call$0() {
  74411. var t1 = this.$this;
  74412. return t1._addExceptionTrace$1(new A._EvaluateVisitor_runExpression___closure(t1, this.expression));
  74413. },
  74414. $signature: 32
  74415. };
  74416. A._EvaluateVisitor_runExpression___closure.prototype = {
  74417. call$0() {
  74418. return this.expression.accept$1(this.$this);
  74419. },
  74420. $signature: 32
  74421. };
  74422. A._EvaluateVisitor_runStatement_closure.prototype = {
  74423. call$0() {
  74424. var t1 = this.$this,
  74425. t2 = this.statement;
  74426. return t1._withFakeStylesheet$3(this.importer, t2, new A._EvaluateVisitor_runStatement__closure(t1, t2));
  74427. },
  74428. $signature: 0
  74429. };
  74430. A._EvaluateVisitor_runStatement__closure.prototype = {
  74431. call$0() {
  74432. var t1 = this.$this;
  74433. return t1._addExceptionTrace$1(new A._EvaluateVisitor_runStatement___closure(t1, this.statement));
  74434. },
  74435. $signature: 0
  74436. };
  74437. A._EvaluateVisitor_runStatement___closure.prototype = {
  74438. call$0() {
  74439. return this.statement.accept$1(this.$this);
  74440. },
  74441. $signature: 0
  74442. };
  74443. A._EvaluateVisitor__loadModule_closure.prototype = {
  74444. call$0() {
  74445. return this.callback.call$2(this._box_1.builtInModule, false);
  74446. },
  74447. $signature: 0
  74448. };
  74449. A._EvaluateVisitor__loadModule_closure0.prototype = {
  74450. call$0() {
  74451. var canonicalUrl, oldInDependency, t4, message, _this = this, t1 = {}, stylesheet = null, importer = null,
  74452. t2 = _this.$this,
  74453. t3 = _this.nodeWithSpan,
  74454. _1_0 = t2._loadStylesheet$3$baseUrl(_this.url.toString$0(0), t3.get$span(t3), _this.baseUrl);
  74455. stylesheet = _1_0._0;
  74456. importer = _1_0._1;
  74457. t4 = stylesheet.span;
  74458. canonicalUrl = t4.get$sourceUrl(t4);
  74459. if (canonicalUrl != null) {
  74460. t4 = t2._activeModules;
  74461. if (t4.containsKey$1(canonicalUrl)) {
  74462. if (_this.namesInErrors) {
  74463. t1 = canonicalUrl;
  74464. t3 = $.$get$context();
  74465. t1.toString;
  74466. message = "Module loop: " + t3.prettyUri$1(t1) + " is already being loaded.";
  74467. } else
  74468. message = string$.Modulel;
  74469. t1 = A.NullableExtension_andThen(t4.$index(0, canonicalUrl), new A._EvaluateVisitor__loadModule__closure(t2, message));
  74470. throw A.wrapException(t1 == null ? t2._evaluate$_exception$1(message) : t1);
  74471. } else
  74472. t4.$indexSet(0, canonicalUrl, t3);
  74473. }
  74474. t4 = t2._modules.containsKey$1(canonicalUrl);
  74475. oldInDependency = t2._inDependency;
  74476. t2._inDependency = _1_0._2;
  74477. t1.module = null;
  74478. try {
  74479. t1.module = t2._execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, _this.configuration, _this.namesInErrors, t3);
  74480. } finally {
  74481. t2._activeModules.remove$1(0, canonicalUrl);
  74482. t2._inDependency = oldInDependency;
  74483. }
  74484. t2._addExceptionSpan$3$addStackFrame(t3, new A._EvaluateVisitor__loadModule__closure0(t1, _this.callback, !t4), false);
  74485. },
  74486. $signature: 1
  74487. };
  74488. A._EvaluateVisitor__loadModule__closure.prototype = {
  74489. call$1(previousLoad) {
  74490. return this.$this._multiSpanException$3(this.message, "new load", A.LinkedHashMap_LinkedHashMap$_literal([previousLoad.get$span(previousLoad), "original load"], type$.FileSpan, type$.String));
  74491. },
  74492. $signature: 81
  74493. };
  74494. A._EvaluateVisitor__loadModule__closure0.prototype = {
  74495. call$0() {
  74496. return this.callback.call$2(this._box_0.module, this.firstLoad);
  74497. },
  74498. $signature: 0
  74499. };
  74500. A._EvaluateVisitor__execute_closure.prototype = {
  74501. call$0() {
  74502. var t3, t4, t5, t6, _this = this,
  74503. t1 = _this.$this,
  74504. oldImporter = t1._importer,
  74505. oldStylesheet = t1.__stylesheet,
  74506. oldRoot = t1.__root,
  74507. oldPreModuleComments = t1._preModuleComments,
  74508. oldParent = t1.__parent,
  74509. oldEndOfImports = t1.__endOfImports,
  74510. oldOutOfOrderImports = t1._outOfOrderImports,
  74511. oldExtensionStore = t1.__extensionStore,
  74512. t2 = t1._atRootExcludingStyleRule,
  74513. oldStyleRule = t2 ? null : t1._styleRuleIgnoringAtRoot,
  74514. oldMediaQueries = t1._mediaQueries,
  74515. oldDeclarationName = t1._declarationName,
  74516. oldInUnknownAtRule = t1._inUnknownAtRule,
  74517. oldInKeyframes = t1._inKeyframes,
  74518. oldConfiguration = t1._configuration;
  74519. t1._importer = _this.importer;
  74520. t3 = t1.__stylesheet = _this.stylesheet;
  74521. t4 = t3.span;
  74522. t5 = t1.__parent = t1.__root = A.ModifiableCssStylesheet$(t4);
  74523. t1.__endOfImports = 0;
  74524. t1._outOfOrderImports = null;
  74525. t1.__extensionStore = _this.extensionStore;
  74526. t1._declarationName = t1._mediaQueries = t1._styleRuleIgnoringAtRoot = null;
  74527. t1._inKeyframes = t1._atRootExcludingStyleRule = t1._inUnknownAtRule = false;
  74528. t6 = _this.configuration;
  74529. if (t6 != null)
  74530. t1._configuration = t6;
  74531. t1.visitStylesheet$1(t3);
  74532. t3 = t1._outOfOrderImports == null ? t5 : new A.CssStylesheet(new A.UnmodifiableListView(t1._addOutOfOrderImports$0(), type$.UnmodifiableListView_CssNode), t4);
  74533. _this.css.__late_helper$_value = t3;
  74534. _this.preModuleComments.__late_helper$_value = t1._preModuleComments;
  74535. t1._importer = oldImporter;
  74536. t1.__stylesheet = oldStylesheet;
  74537. t1.__root = oldRoot;
  74538. t1._preModuleComments = oldPreModuleComments;
  74539. t1.__parent = oldParent;
  74540. t1.__endOfImports = oldEndOfImports;
  74541. t1._outOfOrderImports = oldOutOfOrderImports;
  74542. t1.__extensionStore = oldExtensionStore;
  74543. t1._styleRuleIgnoringAtRoot = oldStyleRule;
  74544. t1._mediaQueries = oldMediaQueries;
  74545. t1._declarationName = oldDeclarationName;
  74546. t1._inUnknownAtRule = oldInUnknownAtRule;
  74547. t1._atRootExcludingStyleRule = t2;
  74548. t1._inKeyframes = oldInKeyframes;
  74549. t1._configuration = oldConfiguration;
  74550. },
  74551. $signature: 1
  74552. };
  74553. A._EvaluateVisitor__combineCss_closure.prototype = {
  74554. call$1(module) {
  74555. return module.get$transitivelyContainsCss();
  74556. },
  74557. $signature: 130
  74558. };
  74559. A._EvaluateVisitor__combineCss_closure0.prototype = {
  74560. call$1(target) {
  74561. return !this.selectors.contains$1(0, target);
  74562. },
  74563. $signature: 14
  74564. };
  74565. A._EvaluateVisitor__combineCss_visitModule.prototype = {
  74566. call$1(module) {
  74567. var t1, t2, t3, t4, _i, upstream, _1_0, statements, index, _this = this;
  74568. if (!_this.seen.add$1(0, module))
  74569. return;
  74570. if (_this.clone)
  74571. module = module.cloneCss$0();
  74572. 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) {
  74573. upstream = t1[_i];
  74574. if (upstream.get$transitivelyContainsCss()) {
  74575. _1_0 = module.get$preModuleComments().$index(0, upstream);
  74576. if (_1_0 != null)
  74577. B.JSArray_methods.addAll$1(t3.length === 0 ? t4 : t3, _1_0);
  74578. _this.call$1(upstream);
  74579. }
  74580. }
  74581. _this.sorted.addFirst$1(module);
  74582. t1 = module.get$css(module);
  74583. statements = t1.get$children(t1);
  74584. index = _this.$this._indexAfterImports$1(statements);
  74585. t1 = J.getInterceptor$ax(statements);
  74586. B.JSArray_methods.addAll$1(t4, t1.getRange$2(statements, 0, index));
  74587. B.JSArray_methods.addAll$1(t3, t1.getRange$2(statements, index, t1.get$length(statements)));
  74588. },
  74589. $signature: 296
  74590. };
  74591. A._EvaluateVisitor__extendModules_closure.prototype = {
  74592. call$1(target) {
  74593. return !this.originalSelectors.contains$1(0, target);
  74594. },
  74595. $signature: 14
  74596. };
  74597. A._EvaluateVisitor__extendModules_closure0.prototype = {
  74598. call$0() {
  74599. return A._setArrayType([], type$.JSArray_ExtensionStore);
  74600. },
  74601. $signature: 169
  74602. };
  74603. A._EvaluateVisitor_visitAtRootRule_closure.prototype = {
  74604. call$0() {
  74605. var t1, t2, t3, _i;
  74606. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  74607. t1[_i].accept$1(t3);
  74608. },
  74609. $signature: 1
  74610. };
  74611. A._EvaluateVisitor_visitAtRootRule_closure0.prototype = {
  74612. call$0() {
  74613. var t1, t2, t3, _i;
  74614. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  74615. t1[_i].accept$1(t3);
  74616. },
  74617. $signature: 0
  74618. };
  74619. A._EvaluateVisitor__scopeForAtRoot_closure.prototype = {
  74620. call$1(callback) {
  74621. var t1 = this.$this,
  74622. t2 = t1._assertInModule$2(t1.__parent, "__parent");
  74623. t1.__parent = this.newParent;
  74624. t1._environment.scope$1$2$when(callback, this.node.hasDeclarations, type$.void);
  74625. t1.__parent = t2;
  74626. },
  74627. $signature: 35
  74628. };
  74629. A._EvaluateVisitor__scopeForAtRoot_closure0.prototype = {
  74630. call$1(callback) {
  74631. var t1 = this.$this,
  74632. oldAtRootExcludingStyleRule = t1._atRootExcludingStyleRule;
  74633. t1._atRootExcludingStyleRule = true;
  74634. this.innerScope.call$1(callback);
  74635. t1._atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  74636. },
  74637. $signature: 35
  74638. };
  74639. A._EvaluateVisitor__scopeForAtRoot_closure1.prototype = {
  74640. call$1(callback) {
  74641. return this.$this._withMediaQueries$3(null, null, new A._EvaluateVisitor__scopeForAtRoot__closure(this.innerScope, callback));
  74642. },
  74643. $signature: 35
  74644. };
  74645. A._EvaluateVisitor__scopeForAtRoot__closure.prototype = {
  74646. call$0() {
  74647. return this.innerScope.call$1(this.callback);
  74648. },
  74649. $signature: 1
  74650. };
  74651. A._EvaluateVisitor__scopeForAtRoot_closure2.prototype = {
  74652. call$1(callback) {
  74653. var t1 = this.$this,
  74654. wasInKeyframes = t1._inKeyframes;
  74655. t1._inKeyframes = false;
  74656. this.innerScope.call$1(callback);
  74657. t1._inKeyframes = wasInKeyframes;
  74658. },
  74659. $signature: 35
  74660. };
  74661. A._EvaluateVisitor__scopeForAtRoot_closure3.prototype = {
  74662. call$1($parent) {
  74663. return $parent instanceof A.ModifiableCssAtRule;
  74664. },
  74665. $signature: 171
  74666. };
  74667. A._EvaluateVisitor__scopeForAtRoot_closure4.prototype = {
  74668. call$1(callback) {
  74669. var t1 = this.$this,
  74670. wasInUnknownAtRule = t1._inUnknownAtRule;
  74671. t1._inUnknownAtRule = false;
  74672. this.innerScope.call$1(callback);
  74673. t1._inUnknownAtRule = wasInUnknownAtRule;
  74674. },
  74675. $signature: 35
  74676. };
  74677. A._EvaluateVisitor_visitContentRule_closure.prototype = {
  74678. call$0() {
  74679. var t1, t2, t3, _i;
  74680. for (t1 = this.content.declaration.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  74681. t1[_i].accept$1(t3);
  74682. return null;
  74683. },
  74684. $signature: 1
  74685. };
  74686. A._EvaluateVisitor_visitDeclaration_closure.prototype = {
  74687. call$0() {
  74688. var t1, t2, t3, _i;
  74689. for (t1 = this._box_0.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  74690. t1[_i].accept$1(t3);
  74691. },
  74692. $signature: 1
  74693. };
  74694. A._EvaluateVisitor_visitEachRule_closure.prototype = {
  74695. call$1(value) {
  74696. var t1 = this.$this,
  74697. t2 = this.nodeWithSpan;
  74698. return t1._environment.setLocalVariable$3(this._box_0.variable, t1._withoutSlash$2(value, t2), t2);
  74699. },
  74700. $signature: 58
  74701. };
  74702. A._EvaluateVisitor_visitEachRule_closure0.prototype = {
  74703. call$1(value) {
  74704. return this.$this._setMultipleVariables$3(this._box_0.variables, value, this.nodeWithSpan);
  74705. },
  74706. $signature: 58
  74707. };
  74708. A._EvaluateVisitor_visitEachRule_closure1.prototype = {
  74709. call$0() {
  74710. var _this = this,
  74711. t1 = _this.$this;
  74712. return t1._handleReturn$2(_this.list.get$asList(), new A._EvaluateVisitor_visitEachRule__closure(t1, _this.setVariables, _this.node));
  74713. },
  74714. $signature: 39
  74715. };
  74716. A._EvaluateVisitor_visitEachRule__closure.prototype = {
  74717. call$1(element) {
  74718. var t1;
  74719. this.setVariables.call$1(element);
  74720. t1 = this.$this;
  74721. return t1._handleReturn$2(this.node.children, new A._EvaluateVisitor_visitEachRule___closure(t1));
  74722. },
  74723. $signature: 295
  74724. };
  74725. A._EvaluateVisitor_visitEachRule___closure.prototype = {
  74726. call$1(child) {
  74727. return child.accept$1(this.$this);
  74728. },
  74729. $signature: 76
  74730. };
  74731. A._EvaluateVisitor_visitAtRule_closure.prototype = {
  74732. call$1(value) {
  74733. return this.$this._interpolationToValue$3$trim$warnForColor(value, true, true);
  74734. },
  74735. $signature: 291
  74736. };
  74737. A._EvaluateVisitor_visitAtRule_closure0.prototype = {
  74738. call$0() {
  74739. var t2, t3, _i, _this = this,
  74740. t1 = _this.$this,
  74741. styleRule = t1._atRootExcludingStyleRule ? null : t1._styleRuleIgnoringAtRoot;
  74742. if (styleRule == null || t1._inKeyframes || J.$eq$(_this.name.value, "font-face"))
  74743. for (t2 = _this.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
  74744. t2[_i].accept$1(t1);
  74745. else
  74746. 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);
  74747. },
  74748. $signature: 1
  74749. };
  74750. A._EvaluateVisitor_visitAtRule__closure.prototype = {
  74751. call$0() {
  74752. var t1, t2, t3, _i;
  74753. for (t1 = this.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  74754. t1[_i].accept$1(t3);
  74755. },
  74756. $signature: 1
  74757. };
  74758. A._EvaluateVisitor_visitAtRule_closure1.prototype = {
  74759. call$1(node) {
  74760. return node instanceof A.ModifiableCssStyleRule;
  74761. },
  74762. $signature: 7
  74763. };
  74764. A._EvaluateVisitor_visitForRule_closure.prototype = {
  74765. call$0() {
  74766. return this.node.from.accept$1(this.$this).assertNumber$0();
  74767. },
  74768. $signature: 186
  74769. };
  74770. A._EvaluateVisitor_visitForRule_closure0.prototype = {
  74771. call$0() {
  74772. return this.node.to.accept$1(this.$this).assertNumber$0();
  74773. },
  74774. $signature: 186
  74775. };
  74776. A._EvaluateVisitor_visitForRule_closure1.prototype = {
  74777. call$0() {
  74778. return this.fromNumber.assertInt$0();
  74779. },
  74780. $signature: 10
  74781. };
  74782. A._EvaluateVisitor_visitForRule_closure2.prototype = {
  74783. call$0() {
  74784. var t1 = this.fromNumber;
  74785. return this.toNumber.coerce$2(t1.get$numeratorUnits(t1), t1.get$denominatorUnits(t1)).assertInt$0();
  74786. },
  74787. $signature: 10
  74788. };
  74789. A._EvaluateVisitor_visitForRule_closure3.prototype = {
  74790. call$0() {
  74791. var i, t3, t4, t5, t6, t7, t8, _0_0, _this = this,
  74792. t1 = _this.$this,
  74793. t2 = _this.node,
  74794. nodeWithSpan = t1._expressionNode$1(t2.from);
  74795. 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) {
  74796. t7 = t1._environment;
  74797. t8 = t6.get$numeratorUnits(t6);
  74798. t7.setLocalVariable$3(t5, A.SassNumber_SassNumber$withUnits(i, t6.get$denominatorUnits(t6), t8), nodeWithSpan);
  74799. _0_0 = t1._handleReturn$2(t2, new A._EvaluateVisitor_visitForRule__closure(t1));
  74800. if (_0_0 != null)
  74801. return _0_0;
  74802. }
  74803. return null;
  74804. },
  74805. $signature: 39
  74806. };
  74807. A._EvaluateVisitor_visitForRule__closure.prototype = {
  74808. call$1(child) {
  74809. return child.accept$1(this.$this);
  74810. },
  74811. $signature: 76
  74812. };
  74813. A._EvaluateVisitor_visitForwardRule_closure.prototype = {
  74814. call$2(module, firstLoad) {
  74815. if (firstLoad)
  74816. this.$this._registerCommentsForModule$1(module);
  74817. this.$this._environment.forwardModule$2(module, this.node);
  74818. },
  74819. $signature: 78
  74820. };
  74821. A._EvaluateVisitor_visitForwardRule_closure0.prototype = {
  74822. call$2(module, firstLoad) {
  74823. if (firstLoad)
  74824. this.$this._registerCommentsForModule$1(module);
  74825. this.$this._environment.forwardModule$2(module, this.node);
  74826. },
  74827. $signature: 78
  74828. };
  74829. A._EvaluateVisitor__registerCommentsForModule_closure.prototype = {
  74830. call$0() {
  74831. return A._setArrayType([], type$.JSArray_CssComment);
  74832. },
  74833. $signature: 173
  74834. };
  74835. A._EvaluateVisitor_visitIfRule_closure.prototype = {
  74836. call$1(clause) {
  74837. var t1 = this.$this;
  74838. return t1._environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitIfRule__closure(t1, clause), true, clause.hasDeclarations, type$.nullable_Value);
  74839. },
  74840. $signature: 288
  74841. };
  74842. A._EvaluateVisitor_visitIfRule__closure.prototype = {
  74843. call$0() {
  74844. var t1 = this.$this;
  74845. return t1._handleReturn$2(this.clause.children, new A._EvaluateVisitor_visitIfRule___closure(t1));
  74846. },
  74847. $signature: 39
  74848. };
  74849. A._EvaluateVisitor_visitIfRule___closure.prototype = {
  74850. call$1(child) {
  74851. return child.accept$1(this.$this);
  74852. },
  74853. $signature: 76
  74854. };
  74855. A._EvaluateVisitor__visitDynamicImport_closure.prototype = {
  74856. call$0() {
  74857. var t1, t2, _0_0, stylesheet, importer, isDependency, t3, url, oldImporter, oldInDependency, loadsUserDefinedModules, children, t4, t5, t6, t7, t8, t9, t10, environment, module, visitor, _box_0 = {};
  74858. _box_0.isDependency = _box_0.importer = _box_0.stylesheet = null;
  74859. t1 = this.$this;
  74860. t2 = this.$import;
  74861. _0_0 = t1._loadStylesheet$3$forImport(t2.urlString, t2.span, true);
  74862. stylesheet = _box_0.stylesheet = _0_0._0;
  74863. importer = _0_0._1;
  74864. _box_0.importer = importer;
  74865. isDependency = _0_0._2;
  74866. _box_0.isDependency = isDependency;
  74867. t3 = stylesheet.span;
  74868. url = t3.get$sourceUrl(t3);
  74869. if (url != null) {
  74870. t3 = t1._activeModules;
  74871. if (t3.containsKey$1(url)) {
  74872. t2 = A.NullableExtension_andThen(t3.$index(0, url), new A._EvaluateVisitor__visitDynamicImport__closure(t1));
  74873. throw A.wrapException(t2 == null ? t1._evaluate$_exception$1("This file is already being loaded.") : t2);
  74874. }
  74875. t3.$indexSet(0, url, t2);
  74876. }
  74877. t2 = stylesheet._uses;
  74878. t3 = type$.UnmodifiableListView_UseRule;
  74879. if (new A.UnmodifiableListView(t2, t3).get$length(0) === 0 && new A.UnmodifiableListView(stylesheet._forwards, type$.UnmodifiableListView_ForwardRule).get$length(0) === 0) {
  74880. oldImporter = t1._importer;
  74881. t2 = t1._assertInModule$2(t1.__stylesheet, "_stylesheet");
  74882. oldInDependency = t1._inDependency;
  74883. t1._importer = importer;
  74884. t1.__stylesheet = stylesheet;
  74885. t1._inDependency = isDependency;
  74886. t1.visitStylesheet$1(stylesheet);
  74887. t1._importer = oldImporter;
  74888. t1.__stylesheet = t2;
  74889. t1._inDependency = oldInDependency;
  74890. t1._activeModules.remove$1(0, url);
  74891. return;
  74892. }
  74893. t2 = new A.UnmodifiableListView(t2, t3);
  74894. if (!t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure0())) {
  74895. t2 = new A.UnmodifiableListView(stylesheet._forwards, type$.UnmodifiableListView_ForwardRule);
  74896. loadsUserDefinedModules = t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure1());
  74897. } else
  74898. loadsUserDefinedModules = true;
  74899. children = A._Cell$();
  74900. t2 = t1._environment;
  74901. t3 = type$.String;
  74902. t4 = type$.Module_Callable;
  74903. t5 = type$.AstNode;
  74904. t6 = A._setArrayType([], type$.JSArray_Module_Callable);
  74905. t7 = t2._variables;
  74906. t7 = A._setArrayType(t7.slice(0), A._arrayInstanceType(t7));
  74907. t8 = t2._variableNodes;
  74908. t8 = A._setArrayType(t8.slice(0), A._arrayInstanceType(t8));
  74909. t9 = t2._functions;
  74910. t9 = A._setArrayType(t9.slice(0), A._arrayInstanceType(t9));
  74911. t10 = t2._mixins;
  74912. t10 = A._setArrayType(t10.slice(0), A._arrayInstanceType(t10));
  74913. 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);
  74914. t1._withEnvironment$2(environment, new A._EvaluateVisitor__visitDynamicImport__closure2(_box_0, t1, loadsUserDefinedModules, environment, children));
  74915. module = environment.toDummyModule$0();
  74916. t1._environment.importForwards$1(module);
  74917. if (loadsUserDefinedModules) {
  74918. if (module.transitivelyContainsCss)
  74919. t1._combineCss$2$clone(module, module.transitivelyContainsExtensions).accept$1(t1);
  74920. visitor = new A._ImportedCssVisitor(t1);
  74921. for (t2 = J.get$iterator$ax(children._readLocal$0()); t2.moveNext$0();)
  74922. t2.get$current(t2).accept$1(visitor);
  74923. }
  74924. t1._activeModules.remove$1(0, url);
  74925. },
  74926. $signature: 0
  74927. };
  74928. A._EvaluateVisitor__visitDynamicImport__closure.prototype = {
  74929. call$1(previousLoad) {
  74930. 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));
  74931. },
  74932. $signature: 81
  74933. };
  74934. A._EvaluateVisitor__visitDynamicImport__closure0.prototype = {
  74935. call$1(rule) {
  74936. return rule.url.get$scheme() !== "sass";
  74937. },
  74938. $signature: 174
  74939. };
  74940. A._EvaluateVisitor__visitDynamicImport__closure1.prototype = {
  74941. call$1(rule) {
  74942. return rule.url.get$scheme() !== "sass";
  74943. },
  74944. $signature: 175
  74945. };
  74946. A._EvaluateVisitor__visitDynamicImport__closure2.prototype = {
  74947. call$0() {
  74948. var t7, t8, _this = this,
  74949. t1 = _this.$this,
  74950. oldImporter = t1._importer,
  74951. t2 = t1._assertInModule$2(t1.__stylesheet, "_stylesheet"),
  74952. t3 = t1._assertInModule$2(t1.__root, "_root"),
  74953. t4 = t1._assertInModule$2(t1.__parent, "__parent"),
  74954. t5 = t1._assertInModule$2(t1.__endOfImports, "_endOfImports"),
  74955. oldOutOfOrderImports = t1._outOfOrderImports,
  74956. oldConfiguration = t1._configuration,
  74957. oldInDependency = t1._inDependency,
  74958. t6 = _this._box_0;
  74959. t1._importer = t6.importer;
  74960. t7 = t6.stylesheet;
  74961. t1.__stylesheet = t7;
  74962. t8 = _this.loadsUserDefinedModules;
  74963. if (t8) {
  74964. t7 = A.ModifiableCssStylesheet$(t7.span);
  74965. t1.__root = t7;
  74966. t1.__parent = t1._assertInModule$2(t7, "_root");
  74967. t1.__endOfImports = 0;
  74968. t1._outOfOrderImports = null;
  74969. }
  74970. t1._inDependency = t6.isDependency;
  74971. t7 = new A.UnmodifiableListView(t6.stylesheet._forwards, type$.UnmodifiableListView_ForwardRule);
  74972. if (!t7.get$isEmpty(t7))
  74973. t1._configuration = _this.environment.toImplicitConfiguration$0();
  74974. t1.visitStylesheet$1(t6.stylesheet);
  74975. t6 = t8 ? t1._addOutOfOrderImports$0() : A._setArrayType([], type$.JSArray_ModifiableCssNode);
  74976. _this.children.__late_helper$_value = t6;
  74977. t1._importer = oldImporter;
  74978. t1.__stylesheet = t2;
  74979. if (t8) {
  74980. t1.__root = t3;
  74981. t1.__parent = t4;
  74982. t1.__endOfImports = t5;
  74983. t1._outOfOrderImports = oldOutOfOrderImports;
  74984. }
  74985. t1._configuration = oldConfiguration;
  74986. t1._inDependency = oldInDependency;
  74987. },
  74988. $signature: 1
  74989. };
  74990. A._EvaluateVisitor__applyMixin_closure.prototype = {
  74991. call$0() {
  74992. var _this = this,
  74993. t1 = _this.$this;
  74994. t1._environment.asMixin$1(new A._EvaluateVisitor__applyMixin__closure0(t1, _this.$arguments, _this.mixin, _this.nodeWithSpanWithoutContent));
  74995. },
  74996. $signature: 0
  74997. };
  74998. A._EvaluateVisitor__applyMixin__closure0.prototype = {
  74999. call$0() {
  75000. var _this = this;
  75001. _this.$this._runBuiltInCallable$3(_this.$arguments, _this.mixin, _this.nodeWithSpanWithoutContent);
  75002. },
  75003. $signature: 0
  75004. };
  75005. A._EvaluateVisitor__applyMixin_closure0.prototype = {
  75006. call$0() {
  75007. var _this = this,
  75008. t1 = _this.$this;
  75009. t1._environment.withContent$2(_this.contentCallable, new A._EvaluateVisitor__applyMixin__closure(t1, _this.mixin, _this.nodeWithSpanWithoutContent));
  75010. },
  75011. $signature: 1
  75012. };
  75013. A._EvaluateVisitor__applyMixin__closure.prototype = {
  75014. call$0() {
  75015. var t1 = this.$this;
  75016. t1._environment.asMixin$1(new A._EvaluateVisitor__applyMixin___closure(t1, this.mixin, this.nodeWithSpanWithoutContent));
  75017. },
  75018. $signature: 0
  75019. };
  75020. A._EvaluateVisitor__applyMixin___closure.prototype = {
  75021. call$0() {
  75022. var t1, t2, t3, t4, _i;
  75023. for (t1 = this.mixin.declaration.children, t2 = t1.length, t3 = this.$this, t4 = this.nodeWithSpanWithoutContent, _i = 0; _i < t2; ++_i)
  75024. t3._addErrorSpan$2(t4, new A._EvaluateVisitor__applyMixin____closure(t3, t1[_i]));
  75025. },
  75026. $signature: 0
  75027. };
  75028. A._EvaluateVisitor__applyMixin____closure.prototype = {
  75029. call$0() {
  75030. return this.statement.accept$1(this.$this);
  75031. },
  75032. $signature: 39
  75033. };
  75034. A._EvaluateVisitor_visitIncludeRule_closure.prototype = {
  75035. call$0() {
  75036. var t1 = this.node;
  75037. return this.$this._environment.getMixin$2$namespace(t1.name, t1.namespace);
  75038. },
  75039. $signature: 77
  75040. };
  75041. A._EvaluateVisitor_visitIncludeRule_closure0.prototype = {
  75042. call$1($content) {
  75043. var t1 = this.$this;
  75044. return new A.UserDefinedCallable($content, t1._environment.closure$0(), t1._inDependency, type$.UserDefinedCallable_Environment);
  75045. },
  75046. $signature: 286
  75047. };
  75048. A._EvaluateVisitor_visitIncludeRule_closure1.prototype = {
  75049. call$0() {
  75050. return this.node.get$spanWithoutContent();
  75051. },
  75052. $signature: 26
  75053. };
  75054. A._EvaluateVisitor_visitMediaRule_closure.prototype = {
  75055. call$1(mediaQueries) {
  75056. return this.$this._mergeMediaQueries$2(mediaQueries, this.queries);
  75057. },
  75058. $signature: 79
  75059. };
  75060. A._EvaluateVisitor_visitMediaRule_closure0.prototype = {
  75061. call$0() {
  75062. var _this = this,
  75063. t1 = _this.$this,
  75064. t2 = _this.mergedQueries;
  75065. if (t2 == null)
  75066. t2 = _this.queries;
  75067. t1._withMediaQueries$3(t2, _this.mergedSources, new A._EvaluateVisitor_visitMediaRule__closure(t1, _this.node));
  75068. },
  75069. $signature: 1
  75070. };
  75071. A._EvaluateVisitor_visitMediaRule__closure.prototype = {
  75072. call$0() {
  75073. var t2, t3, _i,
  75074. t1 = this.$this,
  75075. _0_0 = t1._atRootExcludingStyleRule ? null : t1._styleRuleIgnoringAtRoot;
  75076. if (_0_0 != null)
  75077. 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);
  75078. else
  75079. for (t2 = this.node.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
  75080. t2[_i].accept$1(t1);
  75081. },
  75082. $signature: 1
  75083. };
  75084. A._EvaluateVisitor_visitMediaRule___closure.prototype = {
  75085. call$0() {
  75086. var t1, t2, t3, _i;
  75087. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  75088. t1[_i].accept$1(t3);
  75089. },
  75090. $signature: 1
  75091. };
  75092. A._EvaluateVisitor_visitMediaRule_closure1.prototype = {
  75093. call$1(node) {
  75094. var t1;
  75095. if (!(node instanceof A.ModifiableCssStyleRule)) {
  75096. t1 = this.mergedSources;
  75097. t1 = t1.get$isNotEmpty(t1) && node instanceof A.ModifiableCssMediaRule && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  75098. } else
  75099. t1 = true;
  75100. return t1;
  75101. },
  75102. $signature: 7
  75103. };
  75104. A._EvaluateVisitor_visitStyleRule_closure.prototype = {
  75105. call$0() {
  75106. var t1, t2, t3, _i;
  75107. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  75108. t1[_i].accept$1(t3);
  75109. },
  75110. $signature: 1
  75111. };
  75112. A._EvaluateVisitor_visitStyleRule_closure0.prototype = {
  75113. call$1(node) {
  75114. return node instanceof A.ModifiableCssStyleRule;
  75115. },
  75116. $signature: 7
  75117. };
  75118. A._EvaluateVisitor_visitStyleRule_closure2.prototype = {
  75119. call$0() {
  75120. var t1 = this.$this;
  75121. t1._withStyleRule$2(this.rule, new A._EvaluateVisitor_visitStyleRule__closure(t1, this.node));
  75122. },
  75123. $signature: 1
  75124. };
  75125. A._EvaluateVisitor_visitStyleRule__closure.prototype = {
  75126. call$0() {
  75127. var t1, t2, t3, _i;
  75128. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  75129. t1[_i].accept$1(t3);
  75130. },
  75131. $signature: 1
  75132. };
  75133. A._EvaluateVisitor_visitStyleRule_closure1.prototype = {
  75134. call$1(node) {
  75135. return node instanceof A.ModifiableCssStyleRule;
  75136. },
  75137. $signature: 7
  75138. };
  75139. A._EvaluateVisitor_visitStyleRule_closure3.prototype = {
  75140. call$1(child) {
  75141. return child instanceof A.ModifiableCssComment;
  75142. },
  75143. $signature: 111
  75144. };
  75145. A._EvaluateVisitor_visitSupportsRule_closure.prototype = {
  75146. call$0() {
  75147. var t2, t3, _i,
  75148. t1 = this.$this,
  75149. _0_0 = t1._atRootExcludingStyleRule ? null : t1._styleRuleIgnoringAtRoot;
  75150. if (_0_0 != null)
  75151. 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);
  75152. else
  75153. for (t2 = this.node.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
  75154. t2[_i].accept$1(t1);
  75155. },
  75156. $signature: 1
  75157. };
  75158. A._EvaluateVisitor_visitSupportsRule__closure.prototype = {
  75159. call$0() {
  75160. var t1, t2, t3, _i;
  75161. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  75162. t1[_i].accept$1(t3);
  75163. },
  75164. $signature: 1
  75165. };
  75166. A._EvaluateVisitor_visitSupportsRule_closure0.prototype = {
  75167. call$1(node) {
  75168. return node instanceof A.ModifiableCssStyleRule;
  75169. },
  75170. $signature: 7
  75171. };
  75172. A._EvaluateVisitor__visitSupportsCondition_closure.prototype = {
  75173. call$0() {
  75174. var t4,
  75175. t1 = this.$this,
  75176. t2 = this._box_0,
  75177. t3 = t2.declaration.name;
  75178. t3 = t1._evaluate$_serialize$3$quote(t3.accept$1(t1), t3, true);
  75179. t4 = t2.declaration.get$isCustomProperty() ? "" : " ";
  75180. t2 = t2.declaration.value;
  75181. return "(" + t3 + ":" + t4 + t1._evaluate$_serialize$3$quote(t2.accept$1(t1), t2, true) + ")";
  75182. },
  75183. $signature: 25
  75184. };
  75185. A._EvaluateVisitor_visitVariableDeclaration_closure.prototype = {
  75186. call$0() {
  75187. var t1 = this.$this._environment,
  75188. t2 = this._box_0.override;
  75189. t1.setVariable$4$global(this.node.name, t2.value, t2.assignmentNode, true);
  75190. },
  75191. $signature: 1
  75192. };
  75193. A._EvaluateVisitor_visitVariableDeclaration_closure0.prototype = {
  75194. call$0() {
  75195. var t1 = this.node;
  75196. return this.$this._environment.getVariable$2$namespace(t1.name, t1.namespace);
  75197. },
  75198. $signature: 39
  75199. };
  75200. A._EvaluateVisitor_visitVariableDeclaration_closure1.prototype = {
  75201. call$0() {
  75202. var t1 = this.$this,
  75203. t2 = this.node;
  75204. t1._environment.setVariable$5$global$namespace(t2.name, this.value, t1._expressionNode$1(t2.expression), t2.isGlobal, t2.namespace);
  75205. },
  75206. $signature: 1
  75207. };
  75208. A._EvaluateVisitor_visitUseRule_closure.prototype = {
  75209. call$2(module, firstLoad) {
  75210. var t1, t2, t3, _0_0, t4, t5, span;
  75211. if (firstLoad)
  75212. this.$this._registerCommentsForModule$1(module);
  75213. t1 = this.$this._environment;
  75214. t2 = this.node;
  75215. t3 = t2.namespace;
  75216. if (t3 == null) {
  75217. t1._globalModules.$indexSet(0, module, t2);
  75218. t1._allModules.push(module);
  75219. _0_0 = A.IterableExtension_firstWhereOrNull(J.get$keys$z(B.JSArray_methods.get$first(t1._variables)), module.get$variables().get$containsKey());
  75220. if (_0_0 != null)
  75221. A.throwExpression(A.SassScriptException$(string$.This_ma + _0_0 + '".', null));
  75222. } else {
  75223. t4 = t1._environment$_modules;
  75224. if (t4.containsKey$1(t3)) {
  75225. t5 = t1._namespaceNodes.$index(0, t3);
  75226. span = t5 == null ? null : t5.span;
  75227. t5 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  75228. if (span != null)
  75229. t5.$indexSet(0, span, "original @use");
  75230. A.throwExpression(A.MultiSpanSassScriptException$(string$.There_ + t3 + '".', "new @use", t5));
  75231. }
  75232. t4.$indexSet(0, t3, module);
  75233. t1._namespaceNodes.$indexSet(0, t3, t2);
  75234. t1._allModules.push(module);
  75235. }
  75236. },
  75237. $signature: 78
  75238. };
  75239. A._EvaluateVisitor_visitWarnRule_closure.prototype = {
  75240. call$0() {
  75241. return this.node.expression.accept$1(this.$this);
  75242. },
  75243. $signature: 32
  75244. };
  75245. A._EvaluateVisitor_visitWhileRule_closure.prototype = {
  75246. call$0() {
  75247. var t1, t2, t3, _0_0;
  75248. for (t1 = this.node, t2 = t1.condition, t3 = this.$this, t1 = t1.children; t2.accept$1(t3).get$isTruthy();) {
  75249. _0_0 = t3._handleReturn$2(t1, new A._EvaluateVisitor_visitWhileRule__closure(t3));
  75250. if (_0_0 != null)
  75251. return _0_0;
  75252. }
  75253. return null;
  75254. },
  75255. $signature: 39
  75256. };
  75257. A._EvaluateVisitor_visitWhileRule__closure.prototype = {
  75258. call$1(child) {
  75259. return child.accept$1(this.$this);
  75260. },
  75261. $signature: 76
  75262. };
  75263. A._EvaluateVisitor_visitBinaryOperationExpression_closure.prototype = {
  75264. call$0() {
  75265. var t1 = this.node,
  75266. t2 = this.$this,
  75267. left = t1.left.accept$1(t2);
  75268. switch (t1.operator) {
  75269. case B.BinaryOperator_wdM:
  75270. t1 = t1.right.accept$1(t2);
  75271. t1 = new A.SassString(A.serializeValue(left, false, true) + "=" + A.serializeValue(t1, false, true), false);
  75272. break;
  75273. case B.BinaryOperator_qNM:
  75274. t1 = left.get$isTruthy() ? left : t1.right.accept$1(t2);
  75275. break;
  75276. case B.BinaryOperator_eDt:
  75277. t1 = left.get$isTruthy() ? t1.right.accept$1(t2) : left;
  75278. break;
  75279. case B.BinaryOperator_g8k:
  75280. t1 = left.$eq(0, t1.right.accept$1(t2)) ? B.SassBoolean_true : B.SassBoolean_false;
  75281. break;
  75282. case B.BinaryOperator_icU:
  75283. t1 = !left.$eq(0, t1.right.accept$1(t2)) ? B.SassBoolean_true : B.SassBoolean_false;
  75284. break;
  75285. case B.BinaryOperator_bEa:
  75286. t1 = left.greaterThan$1(t1.right.accept$1(t2));
  75287. break;
  75288. case B.BinaryOperator_oEm:
  75289. t1 = left.greaterThanOrEquals$1(t1.right.accept$1(t2));
  75290. break;
  75291. case B.BinaryOperator_miq:
  75292. t1 = left.lessThan$1(t1.right.accept$1(t2));
  75293. break;
  75294. case B.BinaryOperator_SPQ:
  75295. t1 = left.lessThanOrEquals$1(t1.right.accept$1(t2));
  75296. break;
  75297. case B.BinaryOperator_u15:
  75298. t1 = left.plus$1(t1.right.accept$1(t2));
  75299. break;
  75300. case B.BinaryOperator_SjO:
  75301. t1 = left.minus$1(t1.right.accept$1(t2));
  75302. break;
  75303. case B.BinaryOperator_2No:
  75304. t1 = left.times$1(t1.right.accept$1(t2));
  75305. break;
  75306. case B.BinaryOperator_U77:
  75307. t1 = t2._slash$3(left, t1.right.accept$1(t2), t1);
  75308. break;
  75309. case B.BinaryOperator_KNx:
  75310. t1 = left.modulo$1(t1.right.accept$1(t2));
  75311. break;
  75312. default:
  75313. t1 = null;
  75314. }
  75315. return t1;
  75316. },
  75317. $signature: 32
  75318. };
  75319. A._EvaluateVisitor__slash_recommendation.prototype = {
  75320. call$1(expression) {
  75321. var t1;
  75322. $label0$0: {
  75323. if (expression instanceof A.BinaryOperationExpression && B.BinaryOperator_U77 === expression.operator) {
  75324. t1 = "math.div(" + A.S(this.call$1(expression.left)) + ", " + A.S(this.call$1(expression.right)) + ")";
  75325. break $label0$0;
  75326. }
  75327. if (expression instanceof A.ParenthesizedExpression) {
  75328. t1 = expression.expression.toString$0(0);
  75329. break $label0$0;
  75330. }
  75331. t1 = expression.toString$0(0);
  75332. break $label0$0;
  75333. }
  75334. return t1;
  75335. },
  75336. $signature: 136
  75337. };
  75338. A._EvaluateVisitor_visitVariableExpression_closure.prototype = {
  75339. call$0() {
  75340. var t1 = this.node;
  75341. return this.$this._environment.getVariable$2$namespace(t1.name, t1.namespace);
  75342. },
  75343. $signature: 39
  75344. };
  75345. A._EvaluateVisitor_visitUnaryOperationExpression_closure.prototype = {
  75346. call$0() {
  75347. var t1, _this = this;
  75348. switch (_this.node.operator) {
  75349. case B.UnaryOperator_cLp:
  75350. t1 = _this.operand.unaryPlus$0();
  75351. break;
  75352. case B.UnaryOperator_AiQ:
  75353. t1 = _this.operand.unaryMinus$0();
  75354. break;
  75355. case B.UnaryOperator_SJr:
  75356. t1 = new A.SassString("/" + A.serializeValue(_this.operand, false, true), false);
  75357. break;
  75358. case B.UnaryOperator_not_not_not:
  75359. t1 = _this.operand.unaryNot$0();
  75360. break;
  75361. default:
  75362. t1 = null;
  75363. }
  75364. return t1;
  75365. },
  75366. $signature: 32
  75367. };
  75368. A._EvaluateVisitor_visitListExpression_closure.prototype = {
  75369. call$1(expression) {
  75370. return expression.accept$1(this.$this);
  75371. },
  75372. $signature: 269
  75373. };
  75374. A._EvaluateVisitor_visitFunctionExpression_closure.prototype = {
  75375. call$0() {
  75376. var t1 = this.node;
  75377. return this.$this._environment.getFunction$2$namespace(t1.name, t1.namespace);
  75378. },
  75379. $signature: 77
  75380. };
  75381. A._EvaluateVisitor_visitFunctionExpression_closure0.prototype = {
  75382. call$1(argument) {
  75383. return argument.accept$1(new A._IsCalculationSafeVisitor());
  75384. },
  75385. $signature: 110
  75386. };
  75387. A._EvaluateVisitor_visitFunctionExpression_closure1.prototype = {
  75388. call$0() {
  75389. var t1 = this.node;
  75390. return this.$this._runFunctionCallable$3(t1.$arguments, this._box_0.$function, t1);
  75391. },
  75392. $signature: 32
  75393. };
  75394. A._EvaluateVisitor__checkCalculationArguments_check.prototype = {
  75395. call$1(maxArgs) {
  75396. var t1 = this.node,
  75397. t2 = t1.$arguments.positional.length;
  75398. if (t2 === 0)
  75399. throw A.wrapException(this.$this._evaluate$_exception$2("Missing argument.", t1.span));
  75400. else if (maxArgs != null && t2 > maxArgs)
  75401. 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));
  75402. },
  75403. call$0() {
  75404. return this.call$1(null);
  75405. },
  75406. $signature: 96
  75407. };
  75408. A._EvaluateVisitor__visitCalculationExpression_closure.prototype = {
  75409. call$0() {
  75410. var _this = this,
  75411. t1 = _this.$this,
  75412. t2 = _this._box_0,
  75413. t3 = _this.inLegacySassFunction;
  75414. return A.SassCalculation_operateInternal(t1._binaryOperatorToCalculationOperator$2(t2.operator, _this.node), t1._visitCalculationExpression$2$inLegacySassFunction(t2.left, t3), t1._visitCalculationExpression$2$inLegacySassFunction(t2.right, t3), t3, !t1._inSupportsDeclaration);
  75415. },
  75416. $signature: 80
  75417. };
  75418. A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure.prototype = {
  75419. call$0() {
  75420. var t1 = this.node;
  75421. return this.$this._runFunctionCallable$3(t1.$arguments, this.$function, t1);
  75422. },
  75423. $signature: 32
  75424. };
  75425. A._EvaluateVisitor__runUserDefinedCallable_closure.prototype = {
  75426. call$0() {
  75427. var _this = this,
  75428. t1 = _this.$this,
  75429. t2 = _this.callable;
  75430. return t1._withEnvironment$2(t2.environment.closure$0(), new A._EvaluateVisitor__runUserDefinedCallable__closure(t1, _this.evaluated, t2, _this.nodeWithSpan, _this.run, _this.V));
  75431. },
  75432. $signature() {
  75433. return this.V._eval$1("0()");
  75434. }
  75435. };
  75436. A._EvaluateVisitor__runUserDefinedCallable__closure.prototype = {
  75437. call$0() {
  75438. var _this = this,
  75439. t1 = _this.$this,
  75440. t2 = _this.V;
  75441. return t1._environment.scope$1$1(new A._EvaluateVisitor__runUserDefinedCallable___closure(t1, _this.evaluated, _this.callable, _this.nodeWithSpan, _this.run, t2), t2);
  75442. },
  75443. $signature() {
  75444. return this.V._eval$1("0()");
  75445. }
  75446. };
  75447. A._EvaluateVisitor__runUserDefinedCallable___closure.prototype = {
  75448. call$0() {
  75449. var declaredArguments, t5, minLength, i, argument, t6, t7, value, t8, restArgument, rest, argumentList, result, argumentWord, _this = this,
  75450. t1 = _this.$this,
  75451. t2 = _this.evaluated._values,
  75452. t3 = _this.callable.declaration.$arguments,
  75453. t4 = _this.nodeWithSpan;
  75454. t1._verifyArguments$4(J.get$length$asx(t2[2]), t2[0], t3, t4);
  75455. declaredArguments = t3.$arguments;
  75456. t5 = declaredArguments.length;
  75457. minLength = Math.min(J.get$length$asx(t2[2]), t5);
  75458. for (i = 0; i < minLength; ++i)
  75459. t1._environment.setLocalVariable$3(declaredArguments[i].name, J.$index$asx(t2[2], i), J.$index$asx(t2[3], i));
  75460. for (i = J.get$length$asx(t2[2]); i < t5; ++i) {
  75461. argument = declaredArguments[i];
  75462. t6 = t2[0];
  75463. t7 = argument.name;
  75464. value = J.remove$1$z(t6, t7);
  75465. if (value == null) {
  75466. t6 = argument.defaultValue;
  75467. value = t1._withoutSlash$2(t6.accept$1(t1), t1._expressionNode$1(t6));
  75468. }
  75469. t6 = t1._environment;
  75470. t8 = J.$index$asx(t2[1], t7);
  75471. if (t8 == null) {
  75472. t8 = argument.defaultValue;
  75473. t8.toString;
  75474. t8 = t1._expressionNode$1(t8);
  75475. }
  75476. t6.setLocalVariable$3(t7, value, t8);
  75477. }
  75478. restArgument = t3.restArgument;
  75479. if (restArgument != null) {
  75480. rest = J.get$length$asx(t2[2]) > t5 ? J.sublist$1$ax(t2[2], t5) : B.List_empty8;
  75481. t5 = t2[0];
  75482. t6 = t2[4];
  75483. argumentList = A.SassArgumentList$(rest, t5, t6 === B.ListSeparator_undecided_null_undecided ? B.ListSeparator_ECn : t6);
  75484. t1._environment.setLocalVariable$3(restArgument, argumentList, t4);
  75485. } else
  75486. argumentList = null;
  75487. result = _this.run.call$0();
  75488. if (argumentList == null)
  75489. return result;
  75490. t5 = t2[0].__js_helper$_length;
  75491. if (t5 === 0)
  75492. return result;
  75493. if (argumentList._wereKeywordsAccessed)
  75494. return result;
  75495. argumentWord = A.pluralize("argument", t5, null);
  75496. t2 = t2[0];
  75497. t5 = A._instanceType(t2)._eval$1("LinkedHashMapKeyIterable<1>");
  75498. throw A.wrapException(A.MultiSpanSassRuntimeException$("No " + argumentWord + " named " + A.toSentence(A.MappedIterable_MappedIterable(new A.LinkedHashMapKeyIterable(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));
  75499. },
  75500. $signature() {
  75501. return this.V._eval$1("0()");
  75502. }
  75503. };
  75504. A._EvaluateVisitor__runUserDefinedCallable____closure.prototype = {
  75505. call$1($name) {
  75506. return "$" + $name;
  75507. },
  75508. $signature: 5
  75509. };
  75510. A._EvaluateVisitor__runFunctionCallable_closure.prototype = {
  75511. call$0() {
  75512. var t1, t2, t3, t4, _i, $returnValue;
  75513. for (t1 = this.callable.declaration, t2 = t1.children, t3 = t2.length, t4 = this.$this, _i = 0; _i < t3; ++_i) {
  75514. $returnValue = t2[_i].accept$1(t4);
  75515. if ($returnValue instanceof A.Value)
  75516. return $returnValue;
  75517. }
  75518. throw A.wrapException(t4._evaluate$_exception$2("Function finished without @return.", t1.span));
  75519. },
  75520. $signature: 32
  75521. };
  75522. A._EvaluateVisitor__runBuiltInCallable_closure.prototype = {
  75523. call$0() {
  75524. return this._box_0.overload.verify$2(J.get$length$asx(this.evaluated._values[2]), this.namedSet);
  75525. },
  75526. $signature: 0
  75527. };
  75528. A._EvaluateVisitor__runBuiltInCallable_closure0.prototype = {
  75529. call$0() {
  75530. return this._box_0.callback.call$1(this.evaluated._values[2]);
  75531. },
  75532. $signature: 32
  75533. };
  75534. A._EvaluateVisitor__runBuiltInCallable_closure1.prototype = {
  75535. call$1($name) {
  75536. return "$" + $name;
  75537. },
  75538. $signature: 5
  75539. };
  75540. A._EvaluateVisitor__evaluateArguments_closure.prototype = {
  75541. call$1(value) {
  75542. return value;
  75543. },
  75544. $signature: 42
  75545. };
  75546. A._EvaluateVisitor__evaluateArguments_closure0.prototype = {
  75547. call$1(value) {
  75548. return this.$this._withoutSlash$2(value, this.restNodeForSpan);
  75549. },
  75550. $signature: 42
  75551. };
  75552. A._EvaluateVisitor__evaluateArguments_closure1.prototype = {
  75553. call$2(key, value) {
  75554. var _this = this,
  75555. t1 = _this.restNodeForSpan;
  75556. _this.named.$indexSet(0, key, _this.$this._withoutSlash$2(value, t1));
  75557. _this.namedNodes.$indexSet(0, key, t1);
  75558. },
  75559. $signature: 97
  75560. };
  75561. A._EvaluateVisitor__evaluateArguments_closure2.prototype = {
  75562. call$1(value) {
  75563. return value;
  75564. },
  75565. $signature: 42
  75566. };
  75567. A._EvaluateVisitor__evaluateMacroArguments_closure.prototype = {
  75568. call$1(value) {
  75569. var t1 = this.restArgs;
  75570. return new A.ValueExpression(value, t1.get$span(t1));
  75571. },
  75572. $signature: 60
  75573. };
  75574. A._EvaluateVisitor__evaluateMacroArguments_closure0.prototype = {
  75575. call$1(value) {
  75576. var t1 = this.restArgs;
  75577. return new A.ValueExpression(this.$this._withoutSlash$2(value, this.restNodeForSpan), t1.get$span(t1));
  75578. },
  75579. $signature: 60
  75580. };
  75581. A._EvaluateVisitor__evaluateMacroArguments_closure1.prototype = {
  75582. call$2(key, value) {
  75583. var _this = this,
  75584. t1 = _this.restArgs;
  75585. _this.named.$indexSet(0, key, new A.ValueExpression(_this.$this._withoutSlash$2(value, _this.restNodeForSpan), t1.get$span(t1)));
  75586. },
  75587. $signature: 97
  75588. };
  75589. A._EvaluateVisitor__evaluateMacroArguments_closure2.prototype = {
  75590. call$1(value) {
  75591. var t1 = this.keywordRestArgs;
  75592. return new A.ValueExpression(this.$this._withoutSlash$2(value, this.keywordRestNodeForSpan), t1.get$span(t1));
  75593. },
  75594. $signature: 60
  75595. };
  75596. A._EvaluateVisitor__addRestMap_closure.prototype = {
  75597. call$2(key, value) {
  75598. var t2, _this = this,
  75599. t1 = _this.$this;
  75600. if (key instanceof A.SassString)
  75601. _this.values.$indexSet(0, key._string$_text, _this.convert.call$1(t1._withoutSlash$2(value, _this.expressionNode)));
  75602. else {
  75603. t2 = _this.nodeWithSpan;
  75604. 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)));
  75605. }
  75606. },
  75607. $signature: 102
  75608. };
  75609. A._EvaluateVisitor__verifyArguments_closure.prototype = {
  75610. call$0() {
  75611. return this.$arguments.verify$2(this.positional, new A.MapKeySet(this.named, type$.MapKeySet_String));
  75612. },
  75613. $signature: 0
  75614. };
  75615. A._EvaluateVisitor_visitCssAtRule_closure.prototype = {
  75616. call$0() {
  75617. var t1, t2, t3, t4;
  75618. 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();) {
  75619. t4 = t1.__internal$_current;
  75620. (t4 == null ? t2._as(t4) : t4).accept$1(t3);
  75621. }
  75622. },
  75623. $signature: 1
  75624. };
  75625. A._EvaluateVisitor_visitCssAtRule_closure0.prototype = {
  75626. call$1(node) {
  75627. return node instanceof A.ModifiableCssStyleRule;
  75628. },
  75629. $signature: 7
  75630. };
  75631. A._EvaluateVisitor_visitCssKeyframeBlock_closure.prototype = {
  75632. call$0() {
  75633. var t1, t2, t3, t4;
  75634. 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();) {
  75635. t4 = t1.__internal$_current;
  75636. (t4 == null ? t2._as(t4) : t4).accept$1(t3);
  75637. }
  75638. },
  75639. $signature: 1
  75640. };
  75641. A._EvaluateVisitor_visitCssKeyframeBlock_closure0.prototype = {
  75642. call$1(node) {
  75643. return node instanceof A.ModifiableCssStyleRule;
  75644. },
  75645. $signature: 7
  75646. };
  75647. A._EvaluateVisitor_visitCssMediaRule_closure.prototype = {
  75648. call$1(mediaQueries) {
  75649. return this.$this._mergeMediaQueries$2(mediaQueries, this.node.queries);
  75650. },
  75651. $signature: 79
  75652. };
  75653. A._EvaluateVisitor_visitCssMediaRule_closure0.prototype = {
  75654. call$0() {
  75655. var _this = this,
  75656. t1 = _this.$this,
  75657. t2 = _this.mergedQueries;
  75658. if (t2 == null)
  75659. t2 = _this.node.queries;
  75660. t1._withMediaQueries$3(t2, _this.mergedSources, new A._EvaluateVisitor_visitCssMediaRule__closure(t1, _this.node));
  75661. },
  75662. $signature: 1
  75663. };
  75664. A._EvaluateVisitor_visitCssMediaRule__closure.prototype = {
  75665. call$0() {
  75666. var t2, t3, t4,
  75667. t1 = this.$this,
  75668. _0_0 = t1._atRootExcludingStyleRule ? null : t1._styleRuleIgnoringAtRoot;
  75669. if (_0_0 != null)
  75670. 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);
  75671. else
  75672. 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();) {
  75673. t4 = t2.__internal$_current;
  75674. (t4 == null ? t3._as(t4) : t4).accept$1(t1);
  75675. }
  75676. },
  75677. $signature: 1
  75678. };
  75679. A._EvaluateVisitor_visitCssMediaRule___closure.prototype = {
  75680. call$0() {
  75681. var t1, t2, t3, t4;
  75682. 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();) {
  75683. t4 = t1.__internal$_current;
  75684. (t4 == null ? t2._as(t4) : t4).accept$1(t3);
  75685. }
  75686. },
  75687. $signature: 1
  75688. };
  75689. A._EvaluateVisitor_visitCssMediaRule_closure1.prototype = {
  75690. call$1(node) {
  75691. var t1;
  75692. if (!(node instanceof A.ModifiableCssStyleRule)) {
  75693. t1 = this.mergedSources;
  75694. t1 = t1.get$isNotEmpty(t1) && node instanceof A.ModifiableCssMediaRule && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  75695. } else
  75696. t1 = true;
  75697. return t1;
  75698. },
  75699. $signature: 7
  75700. };
  75701. A._EvaluateVisitor_visitCssStyleRule_closure0.prototype = {
  75702. call$0() {
  75703. var t1 = this.$this;
  75704. t1._withStyleRule$2(this.rule, new A._EvaluateVisitor_visitCssStyleRule__closure(t1, this.node));
  75705. },
  75706. $signature: 1
  75707. };
  75708. A._EvaluateVisitor_visitCssStyleRule__closure.prototype = {
  75709. call$0() {
  75710. var t1, t2, t3, t4;
  75711. 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();) {
  75712. t4 = t1.__internal$_current;
  75713. (t4 == null ? t2._as(t4) : t4).accept$1(t3);
  75714. }
  75715. },
  75716. $signature: 1
  75717. };
  75718. A._EvaluateVisitor_visitCssStyleRule_closure.prototype = {
  75719. call$1(node) {
  75720. return node instanceof A.ModifiableCssStyleRule;
  75721. },
  75722. $signature: 7
  75723. };
  75724. A._EvaluateVisitor_visitCssSupportsRule_closure.prototype = {
  75725. call$0() {
  75726. var t2, t3, t4,
  75727. t1 = this.$this,
  75728. _0_0 = t1._atRootExcludingStyleRule ? null : t1._styleRuleIgnoringAtRoot;
  75729. if (_0_0 != null)
  75730. 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);
  75731. else
  75732. 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();) {
  75733. t4 = t2.__internal$_current;
  75734. (t4 == null ? t3._as(t4) : t4).accept$1(t1);
  75735. }
  75736. },
  75737. $signature: 1
  75738. };
  75739. A._EvaluateVisitor_visitCssSupportsRule__closure.prototype = {
  75740. call$0() {
  75741. var t1, t2, t3, t4;
  75742. 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();) {
  75743. t4 = t1.__internal$_current;
  75744. (t4 == null ? t2._as(t4) : t4).accept$1(t3);
  75745. }
  75746. },
  75747. $signature: 1
  75748. };
  75749. A._EvaluateVisitor_visitCssSupportsRule_closure0.prototype = {
  75750. call$1(node) {
  75751. return node instanceof A.ModifiableCssStyleRule;
  75752. },
  75753. $signature: 7
  75754. };
  75755. A._EvaluateVisitor__performInterpolationHelper_closure.prototype = {
  75756. call$1(targetLocations) {
  75757. return A.InterpolationMap$(this.interpolation, targetLocations);
  75758. },
  75759. $signature: 181
  75760. };
  75761. A._EvaluateVisitor__serialize_closure.prototype = {
  75762. call$0() {
  75763. return A.serializeValue(this.value, false, this.quote);
  75764. },
  75765. $signature: 25
  75766. };
  75767. A._EvaluateVisitor__expressionNode_closure.prototype = {
  75768. call$0() {
  75769. var t1 = this.expression;
  75770. return this.$this._environment.getVariableNode$2$namespace(t1.name, t1.namespace);
  75771. },
  75772. $signature: 182
  75773. };
  75774. A._EvaluateVisitor__withoutSlash_recommendation.prototype = {
  75775. call$1(number) {
  75776. var t1, before, after,
  75777. _1_0 = number.asSlash;
  75778. $label0$0: {
  75779. if (type$.Record_2_nullable_Object_and_nullable_Object._is(_1_0)) {
  75780. t1 = type$.SassNumber;
  75781. before = t1._as(_1_0._0);
  75782. after = t1._as(_1_0._1);
  75783. t1 = "math.div(" + A.S(this.call$1(before)) + ", " + A.S(this.call$1(after)) + ")";
  75784. break $label0$0;
  75785. }
  75786. t1 = A.serializeValue(number, true, true);
  75787. break $label0$0;
  75788. }
  75789. return t1;
  75790. },
  75791. $signature: 183
  75792. };
  75793. A._EvaluateVisitor__stackFrame_closure.prototype = {
  75794. call$1(url) {
  75795. var t1 = this.$this._evaluate$_importCache;
  75796. t1 = t1 == null ? null : t1.humanize$1(url);
  75797. return t1 == null ? url : t1;
  75798. },
  75799. $signature: 46
  75800. };
  75801. A._ImportedCssVisitor.prototype = {
  75802. visitCssAtRule$1(node) {
  75803. var t1 = node.isChildless ? null : new A._ImportedCssVisitor_visitCssAtRule_closure();
  75804. this._visitor._addChild$2$through(node, t1);
  75805. },
  75806. visitCssComment$1(node) {
  75807. return this._visitor._addChild$1(node);
  75808. },
  75809. visitCssDeclaration$1(node) {
  75810. },
  75811. visitCssImport$1(node) {
  75812. var t2,
  75813. _s13_ = "_endOfImports",
  75814. t1 = this._visitor;
  75815. if (t1._assertInModule$2(t1.__parent, "__parent") !== t1._assertInModule$2(t1.__root, "_root"))
  75816. t1._addChild$1(node);
  75817. else if (t1._assertInModule$2(t1.__endOfImports, _s13_) === J.get$length$asx(t1._assertInModule$2(t1.__root, "_root").children._collection$_source)) {
  75818. t1._addChild$1(node);
  75819. t1.__endOfImports = t1._assertInModule$2(t1.__endOfImports, _s13_) + 1;
  75820. } else {
  75821. t2 = t1._outOfOrderImports;
  75822. (t2 == null ? t1._outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport) : t2).push(node);
  75823. }
  75824. },
  75825. visitCssKeyframeBlock$1(node) {
  75826. },
  75827. visitCssMediaRule$1(node) {
  75828. var t1 = this._visitor,
  75829. mediaQueries = t1._mediaQueries;
  75830. t1._addChild$2$through(node, new A._ImportedCssVisitor_visitCssMediaRule_closure(mediaQueries == null || t1._mergeMediaQueries$2(mediaQueries, node.queries) != null));
  75831. },
  75832. visitCssStyleRule$1(node) {
  75833. return this._visitor._addChild$2$through(node, new A._ImportedCssVisitor_visitCssStyleRule_closure());
  75834. },
  75835. visitCssStylesheet$1(node) {
  75836. var t1, t2, t3;
  75837. 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();) {
  75838. t3 = t1.__internal$_current;
  75839. (t3 == null ? t2._as(t3) : t3).accept$1(this);
  75840. }
  75841. },
  75842. visitCssSupportsRule$1(node) {
  75843. return this._visitor._addChild$2$through(node, new A._ImportedCssVisitor_visitCssSupportsRule_closure());
  75844. }
  75845. };
  75846. A._ImportedCssVisitor_visitCssAtRule_closure.prototype = {
  75847. call$1(node) {
  75848. return node instanceof A.ModifiableCssStyleRule;
  75849. },
  75850. $signature: 7
  75851. };
  75852. A._ImportedCssVisitor_visitCssMediaRule_closure.prototype = {
  75853. call$1(node) {
  75854. var t1;
  75855. if (!(node instanceof A.ModifiableCssStyleRule))
  75856. t1 = this.hasBeenMerged && node instanceof A.ModifiableCssMediaRule;
  75857. else
  75858. t1 = true;
  75859. return t1;
  75860. },
  75861. $signature: 7
  75862. };
  75863. A._ImportedCssVisitor_visitCssStyleRule_closure.prototype = {
  75864. call$1(node) {
  75865. return node instanceof A.ModifiableCssStyleRule;
  75866. },
  75867. $signature: 7
  75868. };
  75869. A._ImportedCssVisitor_visitCssSupportsRule_closure.prototype = {
  75870. call$1(node) {
  75871. return node instanceof A.ModifiableCssStyleRule;
  75872. },
  75873. $signature: 7
  75874. };
  75875. A._EvaluationContext.prototype = {
  75876. get$currentCallableSpan() {
  75877. var _0_0 = this._visitor._callableNode;
  75878. if (_0_0 != null)
  75879. return _0_0.get$span(_0_0);
  75880. throw A.wrapException(A.StateError$(string$.No_Sasc));
  75881. },
  75882. warn$2(_, message, deprecation) {
  75883. var t1 = this._visitor,
  75884. t2 = t1._importSpan;
  75885. if (t2 == null) {
  75886. t2 = t1._callableNode;
  75887. t2 = t2 == null ? null : t2.get$span(t2);
  75888. }
  75889. if (t2 == null) {
  75890. t2 = this._defaultWarnNodeWithSpan;
  75891. t2 = t2.get$span(t2);
  75892. }
  75893. t1._warn$3(message, t2, deprecation);
  75894. },
  75895. $isEvaluationContext: 1
  75896. };
  75897. A.EveryCssVisitor.prototype = {
  75898. visitCssAtRule$1(node) {
  75899. var t1 = node.children;
  75900. return t1.every$1(t1, new A.EveryCssVisitor_visitCssAtRule_closure(this));
  75901. },
  75902. visitCssComment$1(node) {
  75903. return false;
  75904. },
  75905. visitCssDeclaration$1(node) {
  75906. return false;
  75907. },
  75908. visitCssImport$1(node) {
  75909. return false;
  75910. },
  75911. visitCssKeyframeBlock$1(node) {
  75912. var t1 = node.children;
  75913. return t1.every$1(t1, new A.EveryCssVisitor_visitCssKeyframeBlock_closure(this));
  75914. },
  75915. visitCssMediaRule$1(node) {
  75916. var t1 = node.children;
  75917. return t1.every$1(t1, new A.EveryCssVisitor_visitCssMediaRule_closure(this));
  75918. },
  75919. visitCssStyleRule$1(node) {
  75920. var t1 = node.children;
  75921. return t1.every$1(t1, new A.EveryCssVisitor_visitCssStyleRule_closure(this));
  75922. },
  75923. visitCssStylesheet$1(node) {
  75924. return J.every$1$ax(node.get$children(node), new A.EveryCssVisitor_visitCssStylesheet_closure(this));
  75925. },
  75926. visitCssSupportsRule$1(node) {
  75927. var t1 = node.children;
  75928. return t1.every$1(t1, new A.EveryCssVisitor_visitCssSupportsRule_closure(this));
  75929. }
  75930. };
  75931. A.EveryCssVisitor_visitCssAtRule_closure.prototype = {
  75932. call$1(child) {
  75933. return child.accept$1(this.$this);
  75934. },
  75935. $signature: 7
  75936. };
  75937. A.EveryCssVisitor_visitCssKeyframeBlock_closure.prototype = {
  75938. call$1(child) {
  75939. return child.accept$1(this.$this);
  75940. },
  75941. $signature: 7
  75942. };
  75943. A.EveryCssVisitor_visitCssMediaRule_closure.prototype = {
  75944. call$1(child) {
  75945. return child.accept$1(this.$this);
  75946. },
  75947. $signature: 7
  75948. };
  75949. A.EveryCssVisitor_visitCssStyleRule_closure.prototype = {
  75950. call$1(child) {
  75951. return child.accept$1(this.$this);
  75952. },
  75953. $signature: 7
  75954. };
  75955. A.EveryCssVisitor_visitCssStylesheet_closure.prototype = {
  75956. call$1(child) {
  75957. return child.accept$1(this.$this);
  75958. },
  75959. $signature: 7
  75960. };
  75961. A.EveryCssVisitor_visitCssSupportsRule_closure.prototype = {
  75962. call$1(child) {
  75963. return child.accept$1(this.$this);
  75964. },
  75965. $signature: 7
  75966. };
  75967. A._MakeExpressionCalculationSafe.prototype = {
  75968. visitBinaryOperationExpression$1(node) {
  75969. var t1, t2, t3, t4;
  75970. if (node.operator === B.BinaryOperator_KNx) {
  75971. t1 = A._setArrayType([node], type$.JSArray_Expression);
  75972. t2 = node.get$span(0);
  75973. t3 = type$.Expression;
  75974. t1 = A.List_List$unmodifiable(t1, t3);
  75975. t3 = A.ConstantMap_ConstantMap$from(B.Map_empty6, type$.String, t3);
  75976. t4 = node.get$span(0);
  75977. t1 = new A.FunctionExpression("math", A.stringReplaceAllUnchecked("max", "_", "-"), "max", new A.ArgumentInvocation(t1, t3, null, null, t2), t4);
  75978. } else
  75979. t1 = this.super$ReplaceExpressionVisitor$visitBinaryOperationExpression(node);
  75980. return t1;
  75981. },
  75982. visitInterpolatedFunctionExpression$1(node) {
  75983. return node;
  75984. },
  75985. visitUnaryOperationExpression$1(node) {
  75986. var t1,
  75987. _0_0 = node.operator;
  75988. $label0$0: {
  75989. if (B.UnaryOperator_cLp === _0_0) {
  75990. t1 = node.operand;
  75991. break $label0$0;
  75992. }
  75993. if (B.UnaryOperator_AiQ === _0_0) {
  75994. t1 = new A.BinaryOperationExpression(B.BinaryOperator_2No, new A.NumberExpression(-1, null, node.span), node.operand, false);
  75995. break $label0$0;
  75996. }
  75997. t1 = this.super$ReplaceExpressionVisitor$visitUnaryOperationExpression(node);
  75998. break $label0$0;
  75999. }
  76000. return t1;
  76001. }
  76002. };
  76003. A.__MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor.prototype = {};
  76004. A._FindDependenciesVisitor.prototype = {
  76005. visitEachRule$1(node) {
  76006. },
  76007. visitForRule$1(node) {
  76008. },
  76009. visitIfRule$1(node) {
  76010. },
  76011. visitWhileRule$1(node) {
  76012. },
  76013. visitUseRule$1(node) {
  76014. var t1 = node.url;
  76015. if (t1.get$scheme() !== "sass")
  76016. this._find_dependencies$_uses.add$1(0, t1);
  76017. else if (t1.toString$0(0) === "sass:meta")
  76018. this._metaNamespaces.add$1(0, node.namespace);
  76019. },
  76020. visitForwardRule$1(node) {
  76021. var t1 = node.url;
  76022. if (t1.get$scheme() !== "sass")
  76023. this._find_dependencies$_forwards.add$1(0, t1);
  76024. },
  76025. visitImportRule$1(node) {
  76026. var t1, t2, t3, _i, $import;
  76027. for (t1 = node.imports, t2 = t1.length, t3 = this._imports, _i = 0; _i < t2; ++_i) {
  76028. $import = t1[_i];
  76029. if ($import instanceof A.DynamicImport)
  76030. t3.add$1(0, A.Uri_parse($import.urlString));
  76031. }
  76032. },
  76033. visitIncludeRule$1(node) {
  76034. var url, _0_0, _0_4_isSet, _0_4, t1, _0_7_isSet, _0_7, url0, exception, _null = null;
  76035. if (node.name !== "load-css")
  76036. return;
  76037. if (!this._metaNamespaces.contains$1(0, node.namespace))
  76038. return;
  76039. _0_0 = node.$arguments.positional;
  76040. url = null;
  76041. _0_4_isSet = _0_0.length === 1;
  76042. if (_0_4_isSet) {
  76043. _0_4 = _0_0[0];
  76044. t1 = _0_4;
  76045. _0_7_isSet = t1 instanceof A.StringExpression;
  76046. if (_0_7_isSet) {
  76047. type$.StringExpression._as(_0_4);
  76048. _0_7 = _0_4.text.get$asPlain();
  76049. t1 = _0_7;
  76050. t1 = t1 != null;
  76051. } else {
  76052. _0_7 = _null;
  76053. t1 = false;
  76054. }
  76055. } else {
  76056. _0_7 = _null;
  76057. _0_4 = _0_7;
  76058. _0_7_isSet = false;
  76059. t1 = false;
  76060. }
  76061. if (t1) {
  76062. if (_0_7_isSet)
  76063. url0 = _0_7;
  76064. else {
  76065. t1 = _0_4_isSet ? _0_4 : _0_0[0];
  76066. _0_7 = type$.StringExpression._as(t1).text.get$asPlain();
  76067. url0 = _0_7;
  76068. }
  76069. url = url0 == null ? A._asString(url0) : url0;
  76070. try {
  76071. this._metaLoadCss.add$1(0, A.Uri_parse(url));
  76072. } catch (exception) {
  76073. if (!type$.FormatException._is(A.unwrapException(exception)))
  76074. throw exception;
  76075. }
  76076. }
  76077. }
  76078. };
  76079. A.DependencyReport.prototype = {};
  76080. A.__FindDependenciesVisitor_Object_RecursiveStatementVisitor.prototype = {};
  76081. A.RecursiveStatementVisitor.prototype = {
  76082. visitAtRootRule$1(node) {
  76083. this.visitChildren$1(node.children);
  76084. },
  76085. visitAtRule$1(node) {
  76086. return A.NullableExtension_andThen(node.children, this.get$visitChildren());
  76087. },
  76088. visitContentBlock$1(node) {
  76089. return null;
  76090. },
  76091. visitContentRule$1(node) {
  76092. },
  76093. visitDebugRule$1(node) {
  76094. },
  76095. visitDeclaration$1(node) {
  76096. return A.NullableExtension_andThen(node.children, this.get$visitChildren());
  76097. },
  76098. visitEachRule$1(node) {
  76099. return this.visitChildren$1(node.children);
  76100. },
  76101. visitErrorRule$1(node) {
  76102. },
  76103. visitExtendRule$1(node) {
  76104. },
  76105. visitForRule$1(node) {
  76106. return this.visitChildren$1(node.children);
  76107. },
  76108. visitForwardRule$1(node) {
  76109. },
  76110. visitFunctionRule$1(node) {
  76111. return null;
  76112. },
  76113. visitIfRule$1(node) {
  76114. var t1, t2, _i, t3, t4, _i0, _0_0;
  76115. for (t1 = node.clauses, t2 = t1.length, _i = 0; _i < t2; ++_i)
  76116. for (t3 = t1[_i].children, t4 = t3.length, _i0 = 0; _i0 < t4; ++_i0)
  76117. t3[_i0].accept$1(this);
  76118. _0_0 = node.lastClause;
  76119. if (_0_0 != null)
  76120. for (t1 = _0_0.children, t2 = t1.length, _i = 0; _i < t2; ++_i)
  76121. t1[_i].accept$1(this);
  76122. },
  76123. visitImportRule$1(node) {
  76124. },
  76125. visitIncludeRule$1(node) {
  76126. return A.NullableExtension_andThen(node.content, this.get$visitContentBlock());
  76127. },
  76128. visitLoudComment$1(node) {
  76129. },
  76130. visitMediaRule$1(node) {
  76131. return this.visitChildren$1(node.children);
  76132. },
  76133. visitMixinRule$1(node) {
  76134. return null;
  76135. },
  76136. visitReturnRule$1(node) {
  76137. },
  76138. visitSilentComment$1(node) {
  76139. },
  76140. visitStyleRule$1(node) {
  76141. return this.visitChildren$1(node.children);
  76142. },
  76143. visitStylesheet$1(node) {
  76144. return this.visitChildren$1(node.children);
  76145. },
  76146. visitSupportsRule$1(node) {
  76147. return this.visitChildren$1(node.children);
  76148. },
  76149. visitUseRule$1(node) {
  76150. },
  76151. visitVariableDeclaration$1(node) {
  76152. },
  76153. visitWarnRule$1(node) {
  76154. },
  76155. visitWhileRule$1(node) {
  76156. return this.visitChildren$1(node.children);
  76157. },
  76158. visitChildren$1(children) {
  76159. var t1;
  76160. for (t1 = J.get$iterator$ax(children); t1.moveNext$0();)
  76161. t1.get$current(t1).accept$1(this);
  76162. }
  76163. };
  76164. A.ReplaceExpressionVisitor.prototype = {
  76165. visitBinaryOperationExpression$1(node) {
  76166. return new A.BinaryOperationExpression(node.operator, node.left.accept$1(this), node.right.accept$1(this), false);
  76167. },
  76168. visitBooleanExpression$1(node) {
  76169. return node;
  76170. },
  76171. visitColorExpression$1(node) {
  76172. return node;
  76173. },
  76174. visitFunctionExpression$1(node) {
  76175. var t1 = node.originalName,
  76176. t2 = this.visitArgumentInvocation$1(node.$arguments);
  76177. return new A.FunctionExpression(node.namespace, A.stringReplaceAllUnchecked(t1, "_", "-"), t1, t2, node.span);
  76178. },
  76179. visitInterpolatedFunctionExpression$1(node) {
  76180. return new A.InterpolatedFunctionExpression(this.visitInterpolation$1(node.name), this.visitArgumentInvocation$1(node.$arguments), node.span);
  76181. },
  76182. visitIfExpression$1(node) {
  76183. return new A.IfExpression(this.visitArgumentInvocation$1(node.$arguments), node.span);
  76184. },
  76185. visitListExpression$1(node) {
  76186. var t1 = node.contents;
  76187. 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);
  76188. },
  76189. visitMapExpression$1(node) {
  76190. var t2, t3, _i, t4, key, value,
  76191. t1 = A._setArrayType([], type$.JSArray_Record_2_Expression_and_Expression);
  76192. for (t2 = node.pairs, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  76193. t4 = t2[_i];
  76194. key = t4._0;
  76195. value = t4._1;
  76196. t1.push(new A._Record_2(key.accept$1(this), value.accept$1(this)));
  76197. }
  76198. return new A.MapExpression(A.List_List$unmodifiable(t1, type$.Record_2_Expression_and_Expression), node.span);
  76199. },
  76200. visitNullExpression$1(node) {
  76201. return node;
  76202. },
  76203. visitNumberExpression$1(node) {
  76204. return node;
  76205. },
  76206. visitParenthesizedExpression$1(node) {
  76207. return new A.ParenthesizedExpression(node.expression.accept$1(this), node.span);
  76208. },
  76209. visitSelectorExpression$1(node) {
  76210. return node;
  76211. },
  76212. visitStringExpression$1(node) {
  76213. return new A.StringExpression(this.visitInterpolation$1(node.text), node.hasQuotes);
  76214. },
  76215. visitSupportsExpression$1(node) {
  76216. return new A.SupportsExpression(this.visitSupportsCondition$1(node.condition));
  76217. },
  76218. visitUnaryOperationExpression$1(node) {
  76219. return new A.UnaryOperationExpression(node.operator, node.operand.accept$1(this), node.span);
  76220. },
  76221. visitValueExpression$1(node) {
  76222. return node;
  76223. },
  76224. visitVariableExpression$1(node) {
  76225. return node;
  76226. },
  76227. visitArgumentInvocation$1(invocation) {
  76228. var t5, t6, _this = this,
  76229. t1 = invocation.positional,
  76230. t2 = type$.String,
  76231. t3 = type$.Expression,
  76232. t4 = A.LinkedHashMap_LinkedHashMap$_empty(t2, t3);
  76233. for (t5 = A.MapExtensions_get_pairs(invocation.named, t2, t3), t5 = t5.get$iterator(t5); t5.moveNext$0();) {
  76234. t6 = t5.get$current(t5);
  76235. t4.$indexSet(0, t6._0, t6._1.accept$1(_this));
  76236. }
  76237. t5 = invocation.rest;
  76238. t5 = t5 == null ? null : t5.accept$1(_this);
  76239. t6 = invocation.keywordRest;
  76240. t6 = t6 == null ? null : t6.accept$1(_this);
  76241. return new A.ArgumentInvocation(A.List_List$unmodifiable(new A.MappedListIterable(t1, new A.ReplaceExpressionVisitor_visitArgumentInvocation_closure(_this), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Expression>")), t3), A.ConstantMap_ConstantMap$from(t4, t2, t3), t5, t6, invocation.span);
  76242. },
  76243. visitSupportsCondition$1(condition) {
  76244. var _this = this;
  76245. if (condition instanceof A.SupportsOperation)
  76246. return A.SupportsOperation$(_this.visitSupportsCondition$1(condition.left), _this.visitSupportsCondition$1(condition.right), condition.operator, condition.span);
  76247. else if (condition instanceof A.SupportsNegation)
  76248. return new A.SupportsNegation(_this.visitSupportsCondition$1(condition.condition), condition.span);
  76249. else if (condition instanceof A.SupportsInterpolation)
  76250. return new A.SupportsInterpolation(condition.expression.accept$1(_this), condition.span);
  76251. else if (condition instanceof A.SupportsDeclaration)
  76252. return new A.SupportsDeclaration(condition.name.accept$1(_this), condition.value.accept$1(_this), condition.span);
  76253. else
  76254. throw A.wrapException(A.SassException$("BUG: Unknown SupportsCondition " + condition.toString$0(0) + ".", condition.get$span(condition), null));
  76255. },
  76256. visitInterpolation$1(interpolation) {
  76257. var t1 = interpolation.contents;
  76258. return A.Interpolation$(new A.MappedListIterable(t1, new A.ReplaceExpressionVisitor_visitInterpolation_closure(this), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Object>")), interpolation.span);
  76259. }
  76260. };
  76261. A.ReplaceExpressionVisitor_visitListExpression_closure.prototype = {
  76262. call$1(item) {
  76263. return item.accept$1(this.$this);
  76264. },
  76265. $signature: 265
  76266. };
  76267. A.ReplaceExpressionVisitor_visitArgumentInvocation_closure.prototype = {
  76268. call$1(expression) {
  76269. return expression.accept$1(this.$this);
  76270. },
  76271. $signature: 265
  76272. };
  76273. A.ReplaceExpressionVisitor_visitInterpolation_closure.prototype = {
  76274. call$1(node) {
  76275. return type$.Expression._is(node) ? node.accept$1(this.$this) : node;
  76276. },
  76277. $signature: 64
  76278. };
  76279. A.SelectorSearchVisitor.prototype = {
  76280. visitAttributeSelector$1(attribute) {
  76281. return null;
  76282. },
  76283. visitClassSelector$1(klass) {
  76284. return null;
  76285. },
  76286. visitIDSelector$1(id) {
  76287. return null;
  76288. },
  76289. visitParentSelector$1(placeholder) {
  76290. return null;
  76291. },
  76292. visitPlaceholderSelector$1(placeholder) {
  76293. return null;
  76294. },
  76295. visitTypeSelector$1(type) {
  76296. return null;
  76297. },
  76298. visitUniversalSelector$1(universal) {
  76299. return null;
  76300. },
  76301. visitComplexSelector$1(complex) {
  76302. return A.IterableExtension_search(complex.components, new A.SelectorSearchVisitor_visitComplexSelector_closure(this));
  76303. },
  76304. visitCompoundSelector$1(compound) {
  76305. return A.IterableExtension_search(compound.components, new A.SelectorSearchVisitor_visitCompoundSelector_closure(this));
  76306. },
  76307. visitPseudoSelector$1(pseudo) {
  76308. return A.NullableExtension_andThen(pseudo.selector, this.get$visitSelectorList());
  76309. },
  76310. visitSelectorList$1(list) {
  76311. return A.IterableExtension_search(list.components, this.get$visitComplexSelector());
  76312. }
  76313. };
  76314. A.SelectorSearchVisitor_visitComplexSelector_closure.prototype = {
  76315. call$1(component) {
  76316. return this.$this.visitCompoundSelector$1(component.selector);
  76317. },
  76318. $signature() {
  76319. return A._instanceType(this.$this)._eval$1("SelectorSearchVisitor.T?(ComplexSelectorComponent)");
  76320. }
  76321. };
  76322. A.SelectorSearchVisitor_visitCompoundSelector_closure.prototype = {
  76323. call$1(simple) {
  76324. return simple.accept$1(this.$this);
  76325. },
  76326. $signature() {
  76327. return A._instanceType(this.$this)._eval$1("SelectorSearchVisitor.T?(SimpleSelector)");
  76328. }
  76329. };
  76330. A.serialize_closure.prototype = {
  76331. call$1(codeUnit) {
  76332. return codeUnit > 127;
  76333. },
  76334. $signature: 45
  76335. };
  76336. A._SerializeVisitor.prototype = {
  76337. visitCssStylesheet$1(node) {
  76338. var t1, t2, t3, t4, t5, t6, previous, previous0, t7, _this = this;
  76339. 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();) {
  76340. previous0 = t1.get$current(t1);
  76341. if (t2)
  76342. t7 = t3 ? previous0.accept$1(B._IsInvisibleVisitor_true_true) : previous0.accept$1(B._IsInvisibleVisitor_true_false);
  76343. else
  76344. t7 = false;
  76345. if (t7)
  76346. continue;
  76347. if (previous != null) {
  76348. if (t5._is(previous) ? previous.get$isChildless() : !(previous instanceof A.ModifiableCssComment))
  76349. t6.writeCharCode$1(59);
  76350. if (_this._isTrailingComment$2(previous0, previous)) {
  76351. if (t4)
  76352. t6.writeCharCode$1(32);
  76353. } else {
  76354. if (t4)
  76355. t6.write$1(0, "\n");
  76356. if (previous.get$isGroupEnd())
  76357. if (t4)
  76358. t6.write$1(0, "\n");
  76359. }
  76360. }
  76361. previous0.accept$1(_this);
  76362. previous = previous0;
  76363. }
  76364. if (previous != null)
  76365. t1 = (t5._is(previous) ? previous.get$isChildless() : !(previous instanceof A.ModifiableCssComment)) && t4;
  76366. else
  76367. t1 = false;
  76368. if (t1)
  76369. t6.writeCharCode$1(59);
  76370. },
  76371. visitCssComment$1(node) {
  76372. this._serialize$_buffer.forSpan$2(node.span, new A._SerializeVisitor_visitCssComment_closure(this, node));
  76373. },
  76374. visitCssAtRule$1(node) {
  76375. var t1, _this = this;
  76376. _this._writeIndentation$0();
  76377. t1 = _this._serialize$_buffer;
  76378. t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssAtRule_closure(_this, node));
  76379. if (!node.isChildless) {
  76380. if (_this._style !== B.OutputStyle_1)
  76381. t1.writeCharCode$1(32);
  76382. _this._serialize$_visitChildren$1(node);
  76383. }
  76384. },
  76385. visitCssMediaRule$1(node) {
  76386. var t1, _this = this;
  76387. _this._writeIndentation$0();
  76388. t1 = _this._serialize$_buffer;
  76389. t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssMediaRule_closure(_this, node));
  76390. if (_this._style !== B.OutputStyle_1)
  76391. t1.writeCharCode$1(32);
  76392. _this._serialize$_visitChildren$1(node);
  76393. },
  76394. visitCssImport$1(node) {
  76395. this._writeIndentation$0();
  76396. this._serialize$_buffer.forSpan$2(node.span, new A._SerializeVisitor_visitCssImport_closure(this, node));
  76397. },
  76398. _writeImportUrl$1(url) {
  76399. var urlContents, maybeQuote, _this = this;
  76400. if (_this._style !== B.OutputStyle_1 || url.charCodeAt(0) !== 117) {
  76401. _this._serialize$_buffer.write$1(0, url);
  76402. return;
  76403. }
  76404. urlContents = B.JSString_methods.substring$2(url, 4, url.length - 1);
  76405. maybeQuote = urlContents.charCodeAt(0);
  76406. if (maybeQuote === 39 || maybeQuote === 34)
  76407. _this._serialize$_buffer.write$1(0, urlContents);
  76408. else
  76409. _this._visitQuotedString$1(urlContents);
  76410. },
  76411. visitCssKeyframeBlock$1(node) {
  76412. var t1, _this = this;
  76413. _this._writeIndentation$0();
  76414. t1 = _this._serialize$_buffer;
  76415. t1.forSpan$2(node.selector.span, new A._SerializeVisitor_visitCssKeyframeBlock_closure(_this, node));
  76416. if (_this._style !== B.OutputStyle_1)
  76417. t1.writeCharCode$1(32);
  76418. _this._serialize$_visitChildren$1(node);
  76419. },
  76420. _visitMediaQuery$1(query) {
  76421. var t1, _1_0, _2_0, condition, operator, t2, _this = this,
  76422. _0_0 = query.modifier;
  76423. if (_0_0 != null) {
  76424. t1 = _this._serialize$_buffer;
  76425. t1.write$1(0, _0_0);
  76426. t1.writeCharCode$1(32);
  76427. }
  76428. _1_0 = query.type;
  76429. if (_1_0 != null) {
  76430. t1 = _this._serialize$_buffer;
  76431. t1.write$1(0, _1_0);
  76432. if (query.conditions.length !== 0)
  76433. t1.write$1(0, " and ");
  76434. }
  76435. _2_0 = query.conditions;
  76436. if (_2_0.length === 1)
  76437. t1 = B.JSString_methods.startsWith$1(_2_0[0], "(not ");
  76438. else
  76439. t1 = false;
  76440. if (t1) {
  76441. t1 = _this._serialize$_buffer;
  76442. t1.write$1(0, "not ");
  76443. condition = B.JSArray_methods.get$first(_2_0);
  76444. t1.write$1(0, B.JSString_methods.substring$2(condition, 5, condition.length - 1));
  76445. } else {
  76446. operator = query.conjunction ? "and" : "or";
  76447. t1 = _this._style === B.OutputStyle_1 ? operator + " " : " " + operator + " ";
  76448. t2 = _this._serialize$_buffer;
  76449. _this._writeBetween$3(_2_0, t1, t2.get$write(t2));
  76450. }
  76451. },
  76452. visitCssStyleRule$1(node) {
  76453. var t1, _this = this;
  76454. _this._writeIndentation$0();
  76455. t1 = _this._serialize$_buffer;
  76456. t1.forSpan$2(node._style_rule$_selector._box$_inner.value.span, new A._SerializeVisitor_visitCssStyleRule_closure(_this, node));
  76457. if (_this._style !== B.OutputStyle_1)
  76458. t1.writeCharCode$1(32);
  76459. _this._serialize$_visitChildren$1(node);
  76460. },
  76461. visitCssSupportsRule$1(node) {
  76462. var t1, _this = this;
  76463. _this._writeIndentation$0();
  76464. t1 = _this._serialize$_buffer;
  76465. t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssSupportsRule_closure(_this, node));
  76466. if (_this._style !== B.OutputStyle_1)
  76467. t1.writeCharCode$1(32);
  76468. _this._serialize$_visitChildren$1(node);
  76469. },
  76470. visitCssDeclaration$1(node) {
  76471. var error, stackTrace, error0, stackTrace0, t1, t2, exception, _this = this;
  76472. _this._writeIndentation$0();
  76473. t1 = node.name;
  76474. _this._serialize$_write$1(t1);
  76475. t2 = _this._serialize$_buffer;
  76476. t2.writeCharCode$1(58);
  76477. if (J.startsWith$1$s(t1.value, "--") && node.parsedAsCustomProperty)
  76478. t2.forSpan$2(node.value.span, new A._SerializeVisitor_visitCssDeclaration_closure(_this, node));
  76479. else {
  76480. if (_this._style !== B.OutputStyle_1)
  76481. t2.writeCharCode$1(32);
  76482. try {
  76483. t2.forSpan$2(node.valueSpanForMap, new A._SerializeVisitor_visitCssDeclaration_closure0(_this, node));
  76484. } catch (exception) {
  76485. t1 = A.unwrapException(exception);
  76486. if (t1 instanceof A.MultiSpanSassScriptException) {
  76487. error = t1;
  76488. stackTrace = A.getTraceFromException(exception);
  76489. A.throwWithTrace(A.MultiSpanSassException$(error.message, node.value.span, error.primaryLabel, error.secondarySpans, null), error, stackTrace);
  76490. } else if (t1 instanceof A.SassScriptException) {
  76491. error0 = t1;
  76492. stackTrace0 = A.getTraceFromException(exception);
  76493. t1 = error0.message;
  76494. A.throwWithTrace(new A.SassException(B.Set_empty, t1, node.value.span), error0, stackTrace0);
  76495. } else
  76496. throw exception;
  76497. }
  76498. }
  76499. },
  76500. _writeFoldedValue$1(node) {
  76501. var t1, t2, next, t3,
  76502. scanner = A.StringScanner$(type$.SassString._as(node.value.value)._string$_text, null, null);
  76503. for (t1 = scanner.string.length, t2 = this._serialize$_buffer; scanner._string_scanner$_position !== t1;) {
  76504. next = scanner.readChar$0();
  76505. if (next !== 10) {
  76506. t2.writeCharCode$1(next);
  76507. continue;
  76508. }
  76509. t2.writeCharCode$1(32);
  76510. while (true) {
  76511. t3 = scanner.peekChar$0();
  76512. if (!(t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12))
  76513. break;
  76514. scanner.readChar$0();
  76515. }
  76516. }
  76517. },
  76518. _writeReindentedValue$1(node) {
  76519. var _0_0, t1, _this = this,
  76520. value = type$.SassString._as(node.value.value)._string$_text;
  76521. $label0$0: {
  76522. _0_0 = _this._minimumIndentation$1(value);
  76523. if (_0_0 == null) {
  76524. _this._serialize$_buffer.write$1(0, value);
  76525. break $label0$0;
  76526. }
  76527. if (-1 === _0_0) {
  76528. t1 = _this._serialize$_buffer;
  76529. t1.write$1(0, A.trimAsciiRight(value, true));
  76530. t1.writeCharCode$1(32);
  76531. break $label0$0;
  76532. }
  76533. t1 = node.name.span;
  76534. t1 = t1.get$start(t1);
  76535. _this._writeWithIndent$2(value, Math.min(_0_0, t1.file.getColumn$1(t1.offset)));
  76536. }
  76537. },
  76538. _minimumIndentation$1(text) {
  76539. var character, t2, min, next, min0,
  76540. scanner = A.LineScanner$(text),
  76541. t1 = scanner.string.length;
  76542. while (true) {
  76543. if (scanner._string_scanner$_position !== t1) {
  76544. character = scanner.super$StringScanner$readChar();
  76545. scanner._adjustLineAndColumn$1(character);
  76546. t2 = character !== 10;
  76547. } else
  76548. t2 = false;
  76549. if (!t2)
  76550. break;
  76551. }
  76552. if (scanner._string_scanner$_position === t1)
  76553. return scanner.peekChar$1(-1) === 10 ? -1 : null;
  76554. for (min = null; scanner._string_scanner$_position !== t1;) {
  76555. for (; scanner._string_scanner$_position !== t1;) {
  76556. next = scanner.peekChar$0();
  76557. if (next !== 32 && next !== 9)
  76558. break;
  76559. scanner._adjustLineAndColumn$1(scanner.super$StringScanner$readChar());
  76560. }
  76561. if (scanner._string_scanner$_position === t1 || scanner.scanChar$1(10))
  76562. continue;
  76563. min0 = scanner._line_scanner$_column;
  76564. min = min == null ? min0 : Math.min(min, min0);
  76565. while (true) {
  76566. if (scanner._string_scanner$_position !== t1) {
  76567. character = scanner.super$StringScanner$readChar();
  76568. scanner._adjustLineAndColumn$1(character);
  76569. t2 = character !== 10;
  76570. } else
  76571. t2 = false;
  76572. if (!t2)
  76573. break;
  76574. }
  76575. }
  76576. return min == null ? -1 : min;
  76577. },
  76578. _writeWithIndent$2(text, minimumIndentation) {
  76579. var t1, t2, t3, character, lineStart, newlines, end,
  76580. scanner = A.LineScanner$(text);
  76581. for (t1 = scanner.string, t2 = t1.length, t3 = this._serialize$_buffer; scanner._string_scanner$_position !== t2;) {
  76582. character = scanner.super$StringScanner$readChar();
  76583. scanner._adjustLineAndColumn$1(character);
  76584. if (character === 10)
  76585. break;
  76586. t3.writeCharCode$1(character);
  76587. }
  76588. for (; true;) {
  76589. lineStart = scanner._string_scanner$_position;
  76590. for (newlines = 1; true;) {
  76591. if (scanner._string_scanner$_position === t2) {
  76592. t3.writeCharCode$1(32);
  76593. return;
  76594. }
  76595. $label0$2: {
  76596. character = scanner.super$StringScanner$readChar();
  76597. scanner._adjustLineAndColumn$1(character);
  76598. if (32 === character || 9 === character)
  76599. continue;
  76600. if (10 === character) {
  76601. lineStart = scanner._string_scanner$_position;
  76602. ++newlines;
  76603. break $label0$2;
  76604. }
  76605. break;
  76606. }
  76607. }
  76608. this._writeTimes$2(10, newlines);
  76609. this._writeIndentation$0();
  76610. end = scanner._string_scanner$_position;
  76611. t3.write$1(0, B.JSString_methods.substring$2(t1, lineStart + minimumIndentation, end));
  76612. for (; true;) {
  76613. if (scanner._string_scanner$_position === t2)
  76614. return;
  76615. character = scanner.super$StringScanner$readChar();
  76616. scanner._adjustLineAndColumn$1(character);
  76617. if (character === 10)
  76618. break;
  76619. t3.writeCharCode$1(character);
  76620. }
  76621. }
  76622. },
  76623. visitCalculation$1(value) {
  76624. var t2, _this = this,
  76625. t1 = _this._serialize$_buffer;
  76626. t1.write$1(0, value.name);
  76627. t1.writeCharCode$1(40);
  76628. t2 = _this._style === B.OutputStyle_1 ? "," : ", ";
  76629. _this._writeBetween$3(value.$arguments, t2, _this.get$_writeCalculationValue());
  76630. t1.writeCharCode$1(41);
  76631. },
  76632. _writeCalculationValue$1(value) {
  76633. var _2_4_isSet, _2_4, t1, _0_0, _1_0, first, rest, operator, left, right, parenthesizeLeft, operatorWhitespace, t2, parenthesizeRight, _this = this, _null = null;
  76634. $label1$1: {
  76635. _2_4_isSet = value instanceof A.SassNumber;
  76636. if (_2_4_isSet) {
  76637. _2_4 = value.get$hasComplexUnits();
  76638. t1 = _2_4 && !_this._inspect;
  76639. } else {
  76640. _2_4 = _null;
  76641. t1 = false;
  76642. }
  76643. if (t1)
  76644. throw A.wrapException(A.SassScriptException$(A.S(value) + " isn't a valid CSS value.", _null));
  76645. if (_2_4_isSet && !isFinite(value._number$_value)) {
  76646. $label0$0: {
  76647. _0_0 = value._number$_value;
  76648. if (1 / 0 === _0_0) {
  76649. _this._serialize$_buffer.write$1(0, "infinity");
  76650. break $label0$0;
  76651. }
  76652. if (-1 / 0 === _0_0) {
  76653. _this._serialize$_buffer.write$1(0, "-infinity");
  76654. break $label0$0;
  76655. }
  76656. if (isNaN(_0_0))
  76657. _this._serialize$_buffer.write$1(0, "NaN");
  76658. }
  76659. t1 = J.getInterceptor$x(value);
  76660. _this._writeCalculationUnits$2(t1.get$numeratorUnits(value), t1.get$denominatorUnits(value));
  76661. break $label1$1;
  76662. }
  76663. if (_2_4_isSet)
  76664. t1 = _2_4;
  76665. else
  76666. t1 = false;
  76667. if (t1) {
  76668. _this._writeNumber$1(value._number$_value);
  76669. t1 = J.getInterceptor$x(value);
  76670. _1_0 = t1.get$numeratorUnits(value);
  76671. if (_1_0.length >= 1) {
  76672. first = _1_0[0];
  76673. rest = B.JSArray_methods.sublist$1(_1_0, 1);
  76674. _this._serialize$_buffer.write$1(0, first);
  76675. _this._writeCalculationUnits$2(rest, t1.get$denominatorUnits(value));
  76676. } else
  76677. _this._writeCalculationUnits$2(A._setArrayType([], type$.JSArray_String), t1.get$denominatorUnits(value));
  76678. break $label1$1;
  76679. }
  76680. if (value instanceof A.Value) {
  76681. value.accept$1(_this);
  76682. break $label1$1;
  76683. }
  76684. t1 = value instanceof A.CalculationOperation;
  76685. if (t1) {
  76686. operator = value._operator;
  76687. left = value._left;
  76688. right = value._right;
  76689. right = right;
  76690. } else {
  76691. right = _null;
  76692. left = right;
  76693. operator = left;
  76694. }
  76695. if (t1) {
  76696. parenthesizeLeft = left instanceof A.CalculationOperation && left._operator.precedence < operator.precedence;
  76697. if (parenthesizeLeft)
  76698. _this._serialize$_buffer.writeCharCode$1(40);
  76699. _this._writeCalculationValue$1(left);
  76700. if (parenthesizeLeft)
  76701. _this._serialize$_buffer.writeCharCode$1(41);
  76702. operatorWhitespace = _this._style !== B.OutputStyle_1 || operator.precedence === 1;
  76703. if (operatorWhitespace)
  76704. _this._serialize$_buffer.writeCharCode$1(32);
  76705. t1 = _this._serialize$_buffer;
  76706. t1.write$1(0, operator.operator);
  76707. if (operatorWhitespace)
  76708. t1.writeCharCode$1(32);
  76709. if (!(right instanceof A.CalculationOperation && _this._parenthesizeCalculationRhs$2(operator, right._operator)))
  76710. if (operator === B.CalculationOperator_Qf1) {
  76711. if (right instanceof A.SassNumber)
  76712. t2 = isFinite(right._number$_value) ? right.get$hasComplexUnits() : right.get$hasUnits();
  76713. else
  76714. t2 = false;
  76715. parenthesizeRight = t2;
  76716. } else
  76717. parenthesizeRight = false;
  76718. else
  76719. parenthesizeRight = true;
  76720. if (parenthesizeRight)
  76721. t1.writeCharCode$1(40);
  76722. _this._writeCalculationValue$1(right);
  76723. if (parenthesizeRight)
  76724. t1.writeCharCode$1(41);
  76725. }
  76726. }
  76727. },
  76728. _writeCalculationUnits$2(numeratorUnits, denominatorUnits) {
  76729. var t1, t2, t3, t4;
  76730. for (t1 = J.get$iterator$ax(numeratorUnits), t2 = this._serialize$_buffer, t3 = this._style !== B.OutputStyle_1; t1.moveNext$0();) {
  76731. t4 = t1.get$current(t1);
  76732. if (t3)
  76733. t2.writeCharCode$1(32);
  76734. t2.writeCharCode$1(42);
  76735. if (t3)
  76736. t2.writeCharCode$1(32);
  76737. t2.writeCharCode$1(49);
  76738. t2.write$1(0, t4);
  76739. }
  76740. for (t1 = J.get$iterator$ax(denominatorUnits); t1.moveNext$0();) {
  76741. t4 = t1.get$current(t1);
  76742. if (t3)
  76743. t2.writeCharCode$1(32);
  76744. t2.writeCharCode$1(47);
  76745. if (t3)
  76746. t2.writeCharCode$1(32);
  76747. t2.writeCharCode$1(49);
  76748. t2.write$1(0, t4);
  76749. }
  76750. },
  76751. _parenthesizeCalculationRhs$2(outer, right) {
  76752. var t1;
  76753. $label0$0: {
  76754. if (B.CalculationOperator_Qf1 === outer) {
  76755. t1 = true;
  76756. break $label0$0;
  76757. }
  76758. if (B.CalculationOperator_g2q === outer) {
  76759. t1 = false;
  76760. break $label0$0;
  76761. }
  76762. t1 = right === B.CalculationOperator_g2q || right === B.CalculationOperator_CxF;
  76763. break $label0$0;
  76764. }
  76765. return t1;
  76766. },
  76767. visitColor$1(value) {
  76768. var hexLength, _0_0, t1, $name, _1_0, opaque, t2, _3_0, _this = this;
  76769. if (_this._style === B.OutputStyle_1)
  76770. if (!A.fuzzyEquals(value._alpha, 1))
  76771. _this._writeRgb$1(value);
  76772. else {
  76773. hexLength = _this._canUseShortHex$1(value) ? 4 : 7;
  76774. _0_0 = $.$get$namesByColor().$index(0, value);
  76775. if (_0_0 != null) {
  76776. t1 = _0_0.length <= hexLength;
  76777. $name = _0_0;
  76778. } else {
  76779. $name = null;
  76780. t1 = false;
  76781. }
  76782. if (t1)
  76783. _this._serialize$_buffer.write$1(0, $name);
  76784. else {
  76785. t1 = _this._serialize$_buffer;
  76786. if (_this._canUseShortHex$1(value)) {
  76787. t1.writeCharCode$1(35);
  76788. t1.writeCharCode$1(A.hexCharFor(value.get$red(0) & 15));
  76789. t1.writeCharCode$1(A.hexCharFor(value.get$green(0) & 15));
  76790. t1.writeCharCode$1(A.hexCharFor(value.get$blue(0) & 15));
  76791. } else {
  76792. t1.writeCharCode$1(35);
  76793. _this._writeHexComponent$1(value.get$red(0));
  76794. _this._writeHexComponent$1(value.get$green(0));
  76795. _this._writeHexComponent$1(value.get$blue(0));
  76796. }
  76797. }
  76798. }
  76799. else {
  76800. _1_0 = value.format;
  76801. if (_1_0 != null)
  76802. $label0$0: {
  76803. if (B._ColorFormatEnum_rgbFunction === _1_0) {
  76804. _this._writeRgb$1(value);
  76805. break $label0$0;
  76806. }
  76807. if (B._ColorFormatEnum_hslFunction === _1_0) {
  76808. t1 = value._alpha;
  76809. opaque = A.fuzzyEquals(t1, 1);
  76810. t2 = _this._serialize$_buffer;
  76811. t2.write$1(0, opaque ? "hsl(" : "hsla(");
  76812. _this._writeNumber$1(value.get$hue(0));
  76813. t2.write$1(0, ", ");
  76814. _this._writeNumber$1(value.get$saturation(0));
  76815. t2.writeCharCode$1(37);
  76816. t2.write$1(0, ", ");
  76817. _this._writeNumber$1(value.get$lightness(0));
  76818. t2.writeCharCode$1(37);
  76819. if (!opaque) {
  76820. t2.write$1(0, ", ");
  76821. _this._writeNumber$1(t1);
  76822. }
  76823. t2.writeCharCode$1(41);
  76824. break $label0$0;
  76825. }
  76826. if (_1_0 instanceof A.SpanColorFormat) {
  76827. _this._serialize$_buffer.write$1(0, _1_0._color$_span.get$text());
  76828. break $label0$0;
  76829. }
  76830. }
  76831. else {
  76832. _3_0 = $.$get$namesByColor().$index(0, value);
  76833. if (_3_0 != null) {
  76834. t1 = !A.fuzzyEquals(value._alpha, 0);
  76835. $name = _3_0;
  76836. } else {
  76837. $name = null;
  76838. t1 = false;
  76839. }
  76840. if (t1)
  76841. _this._serialize$_buffer.write$1(0, $name);
  76842. else if (A.fuzzyEquals(value._alpha, 1)) {
  76843. _this._serialize$_buffer.writeCharCode$1(35);
  76844. _this._writeHexComponent$1(value.get$red(0));
  76845. _this._writeHexComponent$1(value.get$green(0));
  76846. _this._writeHexComponent$1(value.get$blue(0));
  76847. } else
  76848. _this._writeRgb$1(value);
  76849. }
  76850. }
  76851. },
  76852. _writeRgb$1(value) {
  76853. var t3,
  76854. t1 = value._alpha,
  76855. opaque = A.fuzzyEquals(t1, 1),
  76856. t2 = this._serialize$_buffer;
  76857. t2.write$1(0, opaque ? "rgb(" : "rgba(");
  76858. t2.write$1(0, value.get$red(0));
  76859. t3 = this._style === B.OutputStyle_1;
  76860. t2.write$1(0, t3 ? "," : ", ");
  76861. t2.write$1(0, value.get$green(0));
  76862. t2.write$1(0, t3 ? "," : ", ");
  76863. t2.write$1(0, value.get$blue(0));
  76864. if (!opaque) {
  76865. t2.write$1(0, t3 ? "," : ", ");
  76866. this._writeNumber$1(t1);
  76867. }
  76868. t2.writeCharCode$1(41);
  76869. },
  76870. _canUseShortHex$1(color) {
  76871. var t1 = color.get$red(0);
  76872. if ((t1 & 15) === B.JSInt_methods._shrOtherPositive$1(t1, 4)) {
  76873. t1 = color.get$green(0);
  76874. if ((t1 & 15) === B.JSInt_methods._shrOtherPositive$1(t1, 4)) {
  76875. t1 = color.get$blue(0);
  76876. t1 = (t1 & 15) === B.JSInt_methods._shrOtherPositive$1(t1, 4);
  76877. } else
  76878. t1 = false;
  76879. } else
  76880. t1 = false;
  76881. return t1;
  76882. },
  76883. _writeHexComponent$1(color) {
  76884. var t1 = this._serialize$_buffer;
  76885. t1.writeCharCode$1(A.hexCharFor(B.JSInt_methods._shrOtherPositive$1(color, 4)));
  76886. t1.writeCharCode$1(A.hexCharFor(color & 15));
  76887. },
  76888. visitList$1(value) {
  76889. var t2, t3, singleton, t4, t5, _this = this,
  76890. t1 = value._hasBrackets;
  76891. if (t1)
  76892. _this._serialize$_buffer.writeCharCode$1(91);
  76893. else if (value._list$_contents.length === 0) {
  76894. if (!_this._inspect)
  76895. throw A.wrapException(A.SassScriptException$("() isn't a valid CSS value.", null));
  76896. _this._serialize$_buffer.write$1(0, "()");
  76897. return;
  76898. }
  76899. t2 = _this._inspect;
  76900. if (t2)
  76901. if (value._list$_contents.length === 1) {
  76902. t3 = value._separator;
  76903. t3 = t3 === B.ListSeparator_ECn || t3 === B.ListSeparator_cQA;
  76904. singleton = t3;
  76905. } else
  76906. singleton = false;
  76907. else
  76908. singleton = false;
  76909. if (singleton && !t1)
  76910. _this._serialize$_buffer.writeCharCode$1(40);
  76911. t3 = value._list$_contents;
  76912. t3 = t2 ? t3 : new A.WhereIterable(t3, new A._SerializeVisitor_visitList_closure(), A._arrayInstanceType(t3)._eval$1("WhereIterable<1>"));
  76913. t4 = value._separator;
  76914. t5 = _this._separatorString$1(t4);
  76915. _this._writeBetween$3(t3, t5, t2 ? new A._SerializeVisitor_visitList_closure0(_this, value) : new A._SerializeVisitor_visitList_closure1(_this));
  76916. if (singleton) {
  76917. t2 = _this._serialize$_buffer;
  76918. t2.write$1(0, t4.separator);
  76919. if (!t1)
  76920. t2.writeCharCode$1(41);
  76921. }
  76922. if (t1)
  76923. _this._serialize$_buffer.writeCharCode$1(93);
  76924. },
  76925. _separatorString$1(separator) {
  76926. var t1;
  76927. $label0$0: {
  76928. if (B.ListSeparator_ECn === separator) {
  76929. t1 = this._style === B.OutputStyle_1 ? "," : ", ";
  76930. break $label0$0;
  76931. }
  76932. if (B.ListSeparator_cQA === separator) {
  76933. t1 = this._style === B.OutputStyle_1 ? "/" : " / ";
  76934. break $label0$0;
  76935. }
  76936. if (B.ListSeparator_nbm === separator) {
  76937. t1 = " ";
  76938. break $label0$0;
  76939. }
  76940. t1 = "";
  76941. break $label0$0;
  76942. }
  76943. return t1;
  76944. },
  76945. _elementNeedsParens$2(separator, value) {
  76946. var t1;
  76947. $label1$1: {
  76948. if (value instanceof A.SassList && value._list$_contents.length > 1 && !value._hasBrackets) {
  76949. $label0$0: {
  76950. if (B.ListSeparator_ECn === separator) {
  76951. t1 = value._separator === B.ListSeparator_ECn;
  76952. break $label0$0;
  76953. }
  76954. if (B.ListSeparator_cQA === separator) {
  76955. t1 = value._separator;
  76956. t1 = t1 === B.ListSeparator_ECn || t1 === B.ListSeparator_cQA;
  76957. break $label0$0;
  76958. }
  76959. t1 = value._separator !== B.ListSeparator_undecided_null_undecided;
  76960. break $label0$0;
  76961. }
  76962. break $label1$1;
  76963. }
  76964. t1 = false;
  76965. break $label1$1;
  76966. }
  76967. return t1;
  76968. },
  76969. visitMap$1(map) {
  76970. var t1, t2, _this = this;
  76971. if (!_this._inspect)
  76972. throw A.wrapException(A.SassScriptException$(map.toString$0(0) + " isn't a valid CSS value.", null));
  76973. t1 = _this._serialize$_buffer;
  76974. t1.writeCharCode$1(40);
  76975. t2 = map._map$_contents;
  76976. _this._writeBetween$3(t2.get$entries(t2), ", ", new A._SerializeVisitor_visitMap_closure(_this));
  76977. t1.writeCharCode$1(41);
  76978. },
  76979. _writeMapElement$1(value) {
  76980. var needsParens = value instanceof A.SassList && value._separator === B.ListSeparator_ECn && !value._hasBrackets;
  76981. if (needsParens)
  76982. this._serialize$_buffer.writeCharCode$1(40);
  76983. value.accept$1(this);
  76984. if (needsParens)
  76985. this._serialize$_buffer.writeCharCode$1(41);
  76986. },
  76987. visitNumber$1(value) {
  76988. var before, after, t1, _1_0, _this = this,
  76989. _0_0 = value.asSlash;
  76990. if (type$.Record_2_nullable_Object_and_nullable_Object._is(_0_0)) {
  76991. before = _0_0._0;
  76992. after = _0_0._1;
  76993. _this.visitNumber$1(before);
  76994. _this._serialize$_buffer.writeCharCode$1(47);
  76995. _this.visitNumber$1(after);
  76996. return;
  76997. }
  76998. t1 = value._number$_value;
  76999. if (!isFinite(t1)) {
  77000. _this.visitCalculation$1(new A.SassCalculation("calc", A.List_List$unmodifiable(A._setArrayType([value], type$.JSArray_Object), type$.Object)));
  77001. return;
  77002. }
  77003. if (value.get$hasComplexUnits()) {
  77004. if (!_this._inspect)
  77005. throw A.wrapException(A.SassScriptException$(value.toString$0(0) + " isn't a valid CSS value.", null));
  77006. _this.visitCalculation$1(new A.SassCalculation("calc", A.List_List$unmodifiable(A._setArrayType([value], type$.JSArray_Object), type$.Object)));
  77007. } else {
  77008. _this._writeNumber$1(t1);
  77009. _1_0 = value.get$numeratorUnits(value);
  77010. if (_1_0.length === 1)
  77011. _this._serialize$_buffer.write$1(0, _1_0[0]);
  77012. }
  77013. },
  77014. _writeNumber$1(number) {
  77015. var text, _this = this,
  77016. _0_0 = A.fuzzyAsInt(number);
  77017. if (_0_0 != null) {
  77018. _this._serialize$_buffer.write$1(0, _this._removeExponent$1(B.JSInt_methods.toString$0(_0_0)));
  77019. return;
  77020. }
  77021. text = _this._removeExponent$1(B.JSNumber_methods.toString$0(number));
  77022. if (text.length < 12) {
  77023. if (_this._style === B.OutputStyle_1 && text.charCodeAt(0) === 48)
  77024. text = B.JSString_methods.substring$1(text, 1);
  77025. _this._serialize$_buffer.write$1(0, text);
  77026. return;
  77027. }
  77028. _this._writeRounded$1(text);
  77029. },
  77030. _removeExponent$1(text) {
  77031. var buffer, t2, t3, additionalZeroes,
  77032. negative = text.charCodeAt(0) === 45,
  77033. exponent = A._Cell$(),
  77034. t1 = text.length,
  77035. i = 0;
  77036. while (true) {
  77037. if (!(i < t1)) {
  77038. buffer = null;
  77039. break;
  77040. }
  77041. c$0: {
  77042. if (text.charCodeAt(i) !== 101)
  77043. break c$0;
  77044. buffer = new A.StringBuffer("");
  77045. t2 = buffer._contents = "" + A.Primitives_stringFromCharCode(text.charCodeAt(0));
  77046. if (negative) {
  77047. t2 += A.Primitives_stringFromCharCode(text.charCodeAt(1));
  77048. buffer._contents = t2;
  77049. if (i > 3)
  77050. buffer._contents = t2 + B.JSString_methods.substring$2(text, 3, i);
  77051. } else if (i > 2)
  77052. buffer._contents = t2 + B.JSString_methods.substring$2(text, 2, i);
  77053. exponent.__late_helper$_value = A.int_parse(B.JSString_methods.substring$2(text, i + 1, t1), null);
  77054. break;
  77055. }
  77056. ++i;
  77057. }
  77058. if (buffer == null)
  77059. return text;
  77060. if (exponent._readLocal$0() > 0) {
  77061. t1 = exponent._readLocal$0();
  77062. t2 = buffer._contents;
  77063. t3 = negative ? 1 : 0;
  77064. additionalZeroes = t1 - (t2.length - 1 - t3);
  77065. for (t1 = t2, i = 0; i < additionalZeroes; ++i) {
  77066. t1 = A.Primitives_stringFromCharCode(48);
  77067. t1 = buffer._contents += t1;
  77068. }
  77069. return t1.charCodeAt(0) == 0 ? t1 : t1;
  77070. } else {
  77071. negative = text.charCodeAt(0) === 45;
  77072. t1 = (negative ? "" + A.Primitives_stringFromCharCode(45) : "") + "0.";
  77073. i = -1;
  77074. while (true) {
  77075. t2 = exponent.__late_helper$_value;
  77076. if (t2 === exponent)
  77077. A.throwExpression(A.LateError$localNI(""));
  77078. if (!(i > t2))
  77079. break;
  77080. t1 += A.Primitives_stringFromCharCode(48);
  77081. --i;
  77082. }
  77083. if (negative) {
  77084. t2 = buffer._contents;
  77085. t2 = B.JSString_methods.substring$1(t2.charCodeAt(0) == 0 ? t2 : t2, 1);
  77086. } else
  77087. t2 = buffer;
  77088. t2 = t1 + A.S(t2);
  77089. return t2.charCodeAt(0) == 0 ? t2 : t2;
  77090. }
  77091. },
  77092. _writeRounded$1(text) {
  77093. var t1, digits, negative, textIndex, digitsIndex, textIndex0, codeUnit, digitsIndex0, indexAfterPrecision, digitsIndex1, newDigit, writtenIndex, t2, _this = this;
  77094. if (B.JSString_methods.endsWith$1(text, ".0")) {
  77095. _this._serialize$_buffer.write$1(0, B.JSString_methods.substring$2(text, 0, text.length - 2));
  77096. return;
  77097. }
  77098. t1 = text.length;
  77099. digits = new Uint8Array(t1 + 1);
  77100. negative = text.charCodeAt(0) === 45;
  77101. textIndex = negative ? 1 : 0;
  77102. for (digitsIndex = 1; true; textIndex = textIndex0, digitsIndex = digitsIndex0) {
  77103. if (textIndex === t1) {
  77104. _this._serialize$_buffer.write$1(0, text);
  77105. return;
  77106. }
  77107. textIndex0 = textIndex + 1;
  77108. codeUnit = text.charCodeAt(textIndex);
  77109. if (codeUnit === 46) {
  77110. textIndex = textIndex0;
  77111. break;
  77112. }
  77113. digitsIndex0 = digitsIndex + 1;
  77114. digits[digitsIndex] = codeUnit - 48;
  77115. }
  77116. indexAfterPrecision = textIndex + 10;
  77117. if (indexAfterPrecision >= t1) {
  77118. _this._serialize$_buffer.write$1(0, text);
  77119. return;
  77120. }
  77121. for (digitsIndex0 = digitsIndex; textIndex < indexAfterPrecision; textIndex = textIndex0, digitsIndex0 = digitsIndex1) {
  77122. digitsIndex1 = digitsIndex0 + 1;
  77123. textIndex0 = textIndex + 1;
  77124. digits[digitsIndex0] = text.charCodeAt(textIndex) - 48;
  77125. }
  77126. if (text.charCodeAt(textIndex) - 48 >= 5)
  77127. for (; true; digitsIndex0 = digitsIndex1) {
  77128. digitsIndex1 = digitsIndex0 - 1;
  77129. newDigit = digits[digitsIndex1] + 1;
  77130. digits[digitsIndex1] = newDigit;
  77131. if (newDigit !== 10)
  77132. break;
  77133. }
  77134. for (; digitsIndex0 < digitsIndex; ++digitsIndex0)
  77135. digits[digitsIndex0] = 0;
  77136. while (true) {
  77137. t1 = digitsIndex0 > digitsIndex;
  77138. if (!(t1 && digits[digitsIndex0 - 1] === 0))
  77139. break;
  77140. --digitsIndex0;
  77141. }
  77142. if (digitsIndex0 === 2 && digits[0] === 0 && digits[1] === 0) {
  77143. _this._serialize$_buffer.writeCharCode$1(48);
  77144. return;
  77145. }
  77146. if (negative)
  77147. _this._serialize$_buffer.writeCharCode$1(45);
  77148. if (digits[0] === 0)
  77149. writtenIndex = _this._style === B.OutputStyle_1 && digits[1] === 0 ? 2 : 1;
  77150. else
  77151. writtenIndex = 0;
  77152. for (t2 = _this._serialize$_buffer; writtenIndex < digitsIndex; ++writtenIndex)
  77153. t2.writeCharCode$1(48 + digits[writtenIndex]);
  77154. if (t1) {
  77155. t2.writeCharCode$1(46);
  77156. for (; writtenIndex < digitsIndex0; ++writtenIndex)
  77157. t2.writeCharCode$1(48 + digits[writtenIndex]);
  77158. }
  77159. },
  77160. _visitQuotedString$2$forceDoubleQuote(string, forceDoubleQuote) {
  77161. var t1, includesSingleQuote, includesDoubleQuote, i, char, _1_2, _1_4, _0_0, quote, _this = this,
  77162. buffer = forceDoubleQuote ? _this._serialize$_buffer : new A.StringBuffer("");
  77163. if (forceDoubleQuote)
  77164. buffer.writeCharCode$1(34);
  77165. for (t1 = string.length, includesSingleQuote = false, includesDoubleQuote = false, i = 0; i < t1; ++i) {
  77166. char = string.charCodeAt(i);
  77167. _1_2 = 39 === char;
  77168. if (_1_2 && forceDoubleQuote) {
  77169. buffer.writeCharCode$1(39);
  77170. continue;
  77171. }
  77172. if (_1_2 && includesDoubleQuote) {
  77173. _this._visitQuotedString$2$forceDoubleQuote(string, true);
  77174. return;
  77175. }
  77176. if (_1_2) {
  77177. buffer.writeCharCode$1(39);
  77178. includesSingleQuote = true;
  77179. continue;
  77180. }
  77181. _1_4 = 34 === char;
  77182. if (_1_4 && forceDoubleQuote) {
  77183. buffer.writeCharCode$1(92);
  77184. buffer.writeCharCode$1(34);
  77185. continue;
  77186. }
  77187. if (_1_4 && includesSingleQuote) {
  77188. _this._visitQuotedString$2$forceDoubleQuote(string, true);
  77189. return;
  77190. }
  77191. if (_1_4) {
  77192. buffer.writeCharCode$1(34);
  77193. includesDoubleQuote = true;
  77194. continue;
  77195. }
  77196. 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) {
  77197. _this._writeEscape$4(buffer, char, string, i);
  77198. continue;
  77199. }
  77200. if (92 === char) {
  77201. buffer.writeCharCode$1(92);
  77202. buffer.writeCharCode$1(92);
  77203. continue;
  77204. }
  77205. _0_0 = _this._tryPrivateUseCharacter$4(buffer, char, string, i);
  77206. if (_0_0 != null)
  77207. i = _0_0;
  77208. else
  77209. buffer.writeCharCode$1(char);
  77210. }
  77211. if (forceDoubleQuote)
  77212. buffer.writeCharCode$1(34);
  77213. else {
  77214. quote = includesDoubleQuote ? 39 : 34;
  77215. t1 = _this._serialize$_buffer;
  77216. t1.writeCharCode$1(quote);
  77217. t1.write$1(0, buffer);
  77218. t1.writeCharCode$1(quote);
  77219. }
  77220. },
  77221. _visitQuotedString$1(string) {
  77222. return this._visitQuotedString$2$forceDoubleQuote(string, false);
  77223. },
  77224. _visitUnquotedString$1(string) {
  77225. var t1, t2, afterNewline, i, _1_0, _0_0;
  77226. for (t1 = string.length, t2 = this._serialize$_buffer, afterNewline = false, i = 0; i < t1; ++i) {
  77227. _1_0 = string.charCodeAt(i);
  77228. if (10 === _1_0) {
  77229. t2.writeCharCode$1(32);
  77230. afterNewline = true;
  77231. continue;
  77232. }
  77233. if (32 === _1_0) {
  77234. if (!afterNewline)
  77235. t2.writeCharCode$1(32);
  77236. continue;
  77237. }
  77238. _0_0 = this._tryPrivateUseCharacter$4(t2, _1_0, string, i);
  77239. if (_0_0 != null)
  77240. i = _0_0;
  77241. else
  77242. t2.writeCharCode$1(_1_0);
  77243. afterNewline = false;
  77244. }
  77245. },
  77246. _tryPrivateUseCharacter$4(buffer, codeUnit, string, i) {
  77247. var t1;
  77248. if (this._style === B.OutputStyle_1)
  77249. return null;
  77250. if (codeUnit >= 57344 && codeUnit <= 63743) {
  77251. this._writeEscape$4(buffer, codeUnit, string, i);
  77252. return i;
  77253. }
  77254. if (codeUnit >>> 7 === 439 && string.length > i + 1) {
  77255. t1 = i + 1;
  77256. this._writeEscape$4(buffer, 65536 + ((codeUnit & 1023) << 10) + (string.charCodeAt(t1) & 1023), string, t1);
  77257. return t1;
  77258. }
  77259. return null;
  77260. },
  77261. _writeEscape$4(buffer, character, string, i) {
  77262. var t1, next;
  77263. buffer.writeCharCode$1(92);
  77264. buffer.write$1(0, B.JSInt_methods.toRadixString$1(character, 16));
  77265. t1 = i + 1;
  77266. if (string.length === t1)
  77267. return;
  77268. next = string.charCodeAt(t1);
  77269. if (A.CharacterExtension_get_isHex(next) || 32 === next || 9 === next)
  77270. buffer.writeCharCode$1(32);
  77271. },
  77272. visitAttributeSelector$1(attribute) {
  77273. var _0_0, t2,
  77274. t1 = this._serialize$_buffer;
  77275. t1.writeCharCode$1(91);
  77276. t1.write$1(0, attribute.name);
  77277. _0_0 = attribute.value;
  77278. if (_0_0 != null) {
  77279. t1.write$1(0, attribute.op);
  77280. if (A.Parser_isIdentifier(_0_0) && !B.JSString_methods.startsWith$1(_0_0, "--")) {
  77281. t1.write$1(0, _0_0);
  77282. t2 = attribute.modifier;
  77283. if (t2 != null)
  77284. t1.writeCharCode$1(32);
  77285. } else {
  77286. this._visitQuotedString$1(_0_0);
  77287. t2 = attribute.modifier;
  77288. if (t2 != null)
  77289. if (this._style !== B.OutputStyle_1)
  77290. t1.writeCharCode$1(32);
  77291. }
  77292. A.NullableExtension_andThen(t2, t1.get$write(t1));
  77293. }
  77294. t1.writeCharCode$1(93);
  77295. },
  77296. visitClassSelector$1(klass) {
  77297. var t1 = this._serialize$_buffer;
  77298. t1.writeCharCode$1(46);
  77299. t1.write$1(0, klass.name);
  77300. },
  77301. visitComplexSelector$1(complex) {
  77302. var t2, t3, t4, t5, t6, i, component, t7, t8, t9, _this = this,
  77303. t1 = complex.leadingCombinators;
  77304. _this._writeCombinators$1(t1);
  77305. if (t1.length >= 1 && complex.components.length >= 1)
  77306. if (_this._style !== B.OutputStyle_1)
  77307. _this._serialize$_buffer.writeCharCode$1(32);
  77308. 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) {
  77309. component = t1[i];
  77310. _this.visitCompoundSelector$1(component.selector);
  77311. t7 = component.combinators;
  77312. t8 = t7.length === 0;
  77313. if (!t8)
  77314. if (t6)
  77315. t4.writeCharCode$1(32);
  77316. t9 = t5 ? "" : " ";
  77317. _this._writeBetween$3(t7, t9, t4.get$write(t4));
  77318. if (i !== t3)
  77319. t7 = !t5 || t8;
  77320. else
  77321. t7 = false;
  77322. if (t7)
  77323. t4.writeCharCode$1(32);
  77324. }
  77325. },
  77326. _writeCombinators$1(combinators) {
  77327. var t1 = this._style === B.OutputStyle_1 ? "" : " ",
  77328. t2 = this._serialize$_buffer;
  77329. return this._writeBetween$3(combinators, t1, t2.get$write(t2));
  77330. },
  77331. visitCompoundSelector$1(compound) {
  77332. var t2, t3, _i,
  77333. t1 = this._serialize$_buffer,
  77334. start = t1.get$length(t1);
  77335. for (t2 = compound.components, t3 = t2.length, _i = 0; _i < t3; ++_i)
  77336. t2[_i].accept$1(this);
  77337. if (t1.get$length(t1) === start)
  77338. t1.writeCharCode$1(42);
  77339. },
  77340. visitIDSelector$1(id) {
  77341. var t1 = this._serialize$_buffer;
  77342. t1.writeCharCode$1(35);
  77343. t1.write$1(0, id.name);
  77344. },
  77345. visitSelectorList$1(list) {
  77346. var t1, t2, t3, first, t4, _this = this,
  77347. complexes = list.components;
  77348. 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();) {
  77349. t4 = t1.get$current(t1);
  77350. if (first)
  77351. first = false;
  77352. else {
  77353. t3.writeCharCode$1(44);
  77354. if (t4.lineBreak) {
  77355. if (t2)
  77356. t3.write$1(0, "\n");
  77357. _this._writeIndentation$0();
  77358. } else if (t2)
  77359. t3.writeCharCode$1(32);
  77360. }
  77361. _this.visitComplexSelector$1(t4);
  77362. }
  77363. },
  77364. visitParentSelector$1($parent) {
  77365. var t1 = this._serialize$_buffer;
  77366. t1.writeCharCode$1(38);
  77367. A.NullableExtension_andThen($parent.suffix, t1.get$write(t1));
  77368. },
  77369. visitPlaceholderSelector$1(placeholder) {
  77370. var t1 = this._serialize$_buffer;
  77371. t1.writeCharCode$1(37);
  77372. t1.write$1(0, placeholder.name);
  77373. },
  77374. visitPseudoSelector$1(pseudo) {
  77375. var _0_4, t2, t3,
  77376. t1 = pseudo.name;
  77377. if ("not" === t1) {
  77378. _0_4 = pseudo.selector;
  77379. if (_0_4 instanceof A.SelectorList)
  77380. t2 = (_0_4 == null ? type$.SelectorList._as(_0_4) : _0_4).accept$1(B._IsInvisibleVisitor_true);
  77381. else
  77382. t2 = false;
  77383. } else
  77384. t2 = false;
  77385. if (t2)
  77386. return;
  77387. t2 = this._serialize$_buffer;
  77388. t2.writeCharCode$1(58);
  77389. if (!pseudo.isSyntacticClass)
  77390. t2.writeCharCode$1(58);
  77391. t2.write$1(0, t1);
  77392. t1 = pseudo.argument;
  77393. t3 = t1 == null;
  77394. if (t3 && pseudo.selector == null)
  77395. return;
  77396. t2.writeCharCode$1(40);
  77397. if (!t3) {
  77398. t2.write$1(0, t1);
  77399. if (pseudo.selector != null)
  77400. t2.writeCharCode$1(32);
  77401. }
  77402. A.NullableExtension_andThen(pseudo.selector, this.get$visitSelectorList());
  77403. t2.writeCharCode$1(41);
  77404. },
  77405. visitTypeSelector$1(type) {
  77406. this._serialize$_buffer.write$1(0, type.name);
  77407. },
  77408. visitUniversalSelector$1(universal) {
  77409. var t2,
  77410. t1 = universal.namespace;
  77411. if (t1 != null) {
  77412. t2 = this._serialize$_buffer;
  77413. t2.write$1(0, t1);
  77414. t2.writeCharCode$1(124);
  77415. }
  77416. this._serialize$_buffer.writeCharCode$1(42);
  77417. },
  77418. _serialize$_write$1(value) {
  77419. return this._serialize$_buffer.forSpan$2(value.span, new A._SerializeVisitor__write_closure(this, value));
  77420. },
  77421. _serialize$_visitChildren$1($parent) {
  77422. var t2, t3, t4, t5, t6, t7, prePrevious, previous, t8, previous0, t9, savedIndentation, _this = this,
  77423. t1 = _this._serialize$_buffer;
  77424. t1.writeCharCode$1(123);
  77425. 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();) {
  77426. t8 = t2.__internal$_current;
  77427. previous0 = t8 == null ? t3._as(t8) : t8;
  77428. if (t7)
  77429. t8 = t4 ? previous0.accept$1(B._IsInvisibleVisitor_true_true) : previous0.accept$1(B._IsInvisibleVisitor_true_false);
  77430. else
  77431. t8 = false;
  77432. if (t8)
  77433. continue;
  77434. t8 = previous == null;
  77435. t9 = t8 ? null : t6.call$1(previous);
  77436. if (t9 == null ? false : t9)
  77437. t1.writeCharCode$1(59);
  77438. if (_this._isTrailingComment$2(previous0, t8 ? $parent : previous)) {
  77439. if (t5)
  77440. t1.writeCharCode$1(32);
  77441. savedIndentation = _this._indentation;
  77442. _this._indentation = 0;
  77443. new A._SerializeVisitor__visitChildren_closure(_this, previous0).call$0();
  77444. _this._indentation = savedIndentation;
  77445. } else {
  77446. if (t5)
  77447. t1.write$1(0, "\n");
  77448. ++_this._indentation;
  77449. new A._SerializeVisitor__visitChildren_closure0(_this, previous0).call$0();
  77450. --_this._indentation;
  77451. }
  77452. prePrevious = previous;
  77453. previous = previous0;
  77454. }
  77455. if (previous != null) {
  77456. if ((type$.CssParentNode._is(previous) ? previous.get$isChildless() : !(previous instanceof A.ModifiableCssComment)) && t5)
  77457. t1.writeCharCode$1(59);
  77458. if (prePrevious == null && _this._isTrailingComment$2(previous, $parent)) {
  77459. if (t5)
  77460. t1.writeCharCode$1(32);
  77461. } else {
  77462. _this._writeLineFeed$0();
  77463. _this._writeIndentation$0();
  77464. }
  77465. }
  77466. t1.writeCharCode$1(125);
  77467. },
  77468. _requiresSemicolon$1(node) {
  77469. return type$.CssParentNode._is(node) ? node.get$isChildless() : !(node instanceof A.ModifiableCssComment);
  77470. },
  77471. _isTrailingComment$2(node, previous) {
  77472. var t1, t2, t3, searchFrom, endOffset, t4, span;
  77473. if (this._style === B.OutputStyle_1)
  77474. return false;
  77475. if (!(node instanceof A.ModifiableCssComment))
  77476. return false;
  77477. t1 = node.span;
  77478. t2 = t1.get$sourceUrl(t1);
  77479. t3 = previous.get$span(previous);
  77480. if (!J.$eq$(t2, t3.get$sourceUrl(t3)))
  77481. return false;
  77482. t2 = previous.get$span(previous);
  77483. 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)) {
  77484. t1 = t1.get$start(t1);
  77485. t1 = t1.file.getLine$1(t1.offset);
  77486. t2 = previous.get$span(previous);
  77487. t2 = t2.get$end(t2);
  77488. return t1 === t2.file.getLine$1(t2.offset);
  77489. }
  77490. t2 = t1.get$start(t1);
  77491. t3 = previous.get$span(previous);
  77492. searchFrom = t2.offset - t3.get$start(t3).offset - 1;
  77493. if (searchFrom < 0)
  77494. return false;
  77495. endOffset = Math.max(0, B.JSString_methods.lastIndexOf$2(previous.get$span(previous).get$text(), "{", searchFrom));
  77496. t2 = previous.get$span(previous);
  77497. t2 = t2.get$file(t2);
  77498. t3 = previous.get$span(previous);
  77499. t3 = t3.get$start(t3);
  77500. t4 = previous.get$span(previous);
  77501. span = t2.span$2(0, t3.offset, t4.get$start(t4).offset + endOffset);
  77502. t1 = t1.get$start(t1);
  77503. t1 = t1.file.getLine$1(t1.offset);
  77504. t4 = A.FileLocation$_(span.file, span._end);
  77505. return t1 === t4.file.getLine$1(t4.offset);
  77506. },
  77507. _writeLineFeed$0() {
  77508. if (this._style !== B.OutputStyle_1)
  77509. this._serialize$_buffer.write$1(0, "\n");
  77510. },
  77511. _writeIndentation$0() {
  77512. var _this = this;
  77513. if (_this._style === B.OutputStyle_1)
  77514. return;
  77515. _this._writeTimes$2(_this._indentCharacter, _this._indentation * _this._indentWidth);
  77516. },
  77517. _writeTimes$2(char, times) {
  77518. var t1, i;
  77519. for (t1 = this._serialize$_buffer, i = 0; i < times; ++i)
  77520. t1.writeCharCode$1(char);
  77521. },
  77522. _writeBetween$1$3(iterable, text, callback) {
  77523. var t1, t2, first, value;
  77524. for (t1 = J.get$iterator$ax(iterable), t2 = this._serialize$_buffer, first = true; t1.moveNext$0();) {
  77525. value = t1.get$current(t1);
  77526. if (first)
  77527. first = false;
  77528. else
  77529. t2.write$1(0, text);
  77530. callback.call$1(value);
  77531. }
  77532. },
  77533. _writeBetween$3(iterable, text, callback) {
  77534. return this._writeBetween$1$3(iterable, text, callback, type$.dynamic);
  77535. }
  77536. };
  77537. A._SerializeVisitor_visitCssComment_closure.prototype = {
  77538. call$0() {
  77539. var t2, t3, _0_0, minimumIndentation,
  77540. t1 = this.$this;
  77541. if (t1._style === B.OutputStyle_1 && this.node.text.charCodeAt(2) !== 33)
  77542. return;
  77543. t2 = this.node;
  77544. t3 = t2.text;
  77545. if (B.JSString_methods.startsWith$1(t3, A.RegExp_RegExp("/\\*# source(Mapping)?URL=", false)))
  77546. return;
  77547. _0_0 = t1._minimumIndentation$1(t3);
  77548. if (_0_0 != null) {
  77549. t2 = t2.span;
  77550. t2 = t2.get$start(t2);
  77551. minimumIndentation = Math.min(_0_0, t2.file.getColumn$1(t2.offset));
  77552. t1._writeIndentation$0();
  77553. t1._writeWithIndent$2(t3, minimumIndentation);
  77554. } else {
  77555. t1._writeIndentation$0();
  77556. t1._serialize$_buffer.write$1(0, t3);
  77557. }
  77558. },
  77559. $signature: 1
  77560. };
  77561. A._SerializeVisitor_visitCssAtRule_closure.prototype = {
  77562. call$0() {
  77563. var t3, _0_0,
  77564. t1 = this.$this,
  77565. t2 = t1._serialize$_buffer;
  77566. t2.writeCharCode$1(64);
  77567. t3 = this.node;
  77568. t1._serialize$_write$1(t3.name);
  77569. _0_0 = t3.value;
  77570. if (_0_0 != null) {
  77571. t2.writeCharCode$1(32);
  77572. t1._serialize$_write$1(_0_0);
  77573. }
  77574. },
  77575. $signature: 1
  77576. };
  77577. A._SerializeVisitor_visitCssMediaRule_closure.prototype = {
  77578. call$0() {
  77579. var t3, firstQuery, t4, t5,
  77580. t1 = this.$this,
  77581. t2 = t1._serialize$_buffer;
  77582. t2.write$1(0, "@media");
  77583. t3 = this.node.queries;
  77584. firstQuery = B.JSArray_methods.get$first(t3);
  77585. t4 = t1._style === B.OutputStyle_1;
  77586. if (t4)
  77587. if (firstQuery.modifier == null)
  77588. if (firstQuery.type == null) {
  77589. t5 = firstQuery.conditions;
  77590. t5 = t5.length === 1 && J.startsWith$1$s(B.JSArray_methods.get$first(t5), "(not ");
  77591. } else
  77592. t5 = true;
  77593. else
  77594. t5 = true;
  77595. else
  77596. t5 = true;
  77597. if (t5)
  77598. t2.writeCharCode$1(32);
  77599. t2 = t4 ? "," : ", ";
  77600. t1._writeBetween$3(t3, t2, t1.get$_visitMediaQuery());
  77601. },
  77602. $signature: 1
  77603. };
  77604. A._SerializeVisitor_visitCssImport_closure.prototype = {
  77605. call$0() {
  77606. var t3, t4, _0_0,
  77607. t1 = this.$this,
  77608. t2 = t1._serialize$_buffer;
  77609. t2.write$1(0, "@import");
  77610. t3 = t1._style !== B.OutputStyle_1;
  77611. if (t3)
  77612. t2.writeCharCode$1(32);
  77613. t4 = this.node;
  77614. t2.forSpan$2(t4.url.span, new A._SerializeVisitor_visitCssImport__closure(t1, t4));
  77615. _0_0 = t4.modifiers;
  77616. if (_0_0 != null) {
  77617. if (t3)
  77618. t2.writeCharCode$1(32);
  77619. t2.write$1(0, _0_0);
  77620. }
  77621. },
  77622. $signature: 1
  77623. };
  77624. A._SerializeVisitor_visitCssImport__closure.prototype = {
  77625. call$0() {
  77626. return this.$this._writeImportUrl$1(this.node.url.value);
  77627. },
  77628. $signature: 0
  77629. };
  77630. A._SerializeVisitor_visitCssKeyframeBlock_closure.prototype = {
  77631. call$0() {
  77632. var t1 = this.$this,
  77633. t2 = t1._style === B.OutputStyle_1 ? "," : ", ",
  77634. t3 = t1._serialize$_buffer;
  77635. return t1._writeBetween$3(this.node.selector.value, t2, t3.get$write(t3));
  77636. },
  77637. $signature: 0
  77638. };
  77639. A._SerializeVisitor_visitCssStyleRule_closure.prototype = {
  77640. call$0() {
  77641. return this.$this.visitSelectorList$1(this.node._style_rule$_selector._box$_inner.value);
  77642. },
  77643. $signature: 0
  77644. };
  77645. A._SerializeVisitor_visitCssSupportsRule_closure.prototype = {
  77646. call$0() {
  77647. var t1 = this.$this,
  77648. t2 = t1._serialize$_buffer;
  77649. t2.write$1(0, "@supports");
  77650. if (!(t1._style === B.OutputStyle_1 && J.codeUnitAt$1$s(this.node.condition.value, 0) === 40))
  77651. t2.writeCharCode$1(32);
  77652. t1._serialize$_write$1(this.node.condition);
  77653. },
  77654. $signature: 1
  77655. };
  77656. A._SerializeVisitor_visitCssDeclaration_closure.prototype = {
  77657. call$0() {
  77658. var t1 = this.$this,
  77659. t2 = this.node;
  77660. if (t1._style === B.OutputStyle_1)
  77661. t1._writeFoldedValue$1(t2);
  77662. else
  77663. t1._writeReindentedValue$1(t2);
  77664. },
  77665. $signature: 1
  77666. };
  77667. A._SerializeVisitor_visitCssDeclaration_closure0.prototype = {
  77668. call$0() {
  77669. return this.node.value.value.accept$1(this.$this);
  77670. },
  77671. $signature: 0
  77672. };
  77673. A._SerializeVisitor_visitList_closure.prototype = {
  77674. call$1(element) {
  77675. return !element.get$isBlank();
  77676. },
  77677. $signature: 73
  77678. };
  77679. A._SerializeVisitor_visitList_closure0.prototype = {
  77680. call$1(element) {
  77681. var t1 = this.$this,
  77682. needsParens = t1._elementNeedsParens$2(this.value._separator, element);
  77683. if (needsParens)
  77684. t1._serialize$_buffer.writeCharCode$1(40);
  77685. element.accept$1(t1);
  77686. if (needsParens)
  77687. t1._serialize$_buffer.writeCharCode$1(41);
  77688. },
  77689. $signature: 58
  77690. };
  77691. A._SerializeVisitor_visitList_closure1.prototype = {
  77692. call$1(element) {
  77693. element.accept$1(this.$this);
  77694. },
  77695. $signature: 58
  77696. };
  77697. A._SerializeVisitor_visitMap_closure.prototype = {
  77698. call$1(entry) {
  77699. var t1 = this.$this;
  77700. t1._writeMapElement$1(entry.key);
  77701. t1._serialize$_buffer.write$1(0, ": ");
  77702. t1._writeMapElement$1(entry.value);
  77703. },
  77704. $signature: 273
  77705. };
  77706. A._SerializeVisitor_visitSelectorList_closure.prototype = {
  77707. call$1(complex) {
  77708. return !complex.accept$1(B._IsInvisibleVisitor_true);
  77709. },
  77710. $signature: 16
  77711. };
  77712. A._SerializeVisitor__write_closure.prototype = {
  77713. call$0() {
  77714. return this.$this._serialize$_buffer.write$1(0, this.value.value);
  77715. },
  77716. $signature: 0
  77717. };
  77718. A._SerializeVisitor__visitChildren_closure.prototype = {
  77719. call$0() {
  77720. return this.child.accept$1(this.$this);
  77721. },
  77722. $signature: 0
  77723. };
  77724. A._SerializeVisitor__visitChildren_closure0.prototype = {
  77725. call$0() {
  77726. this.child.accept$1(this.$this);
  77727. },
  77728. $signature: 0
  77729. };
  77730. A.OutputStyle.prototype = {
  77731. _enumToString$0() {
  77732. return "OutputStyle." + this._name;
  77733. }
  77734. };
  77735. A.LineFeed.prototype = {
  77736. _enumToString$0() {
  77737. return "LineFeed." + this._name;
  77738. },
  77739. toString$0(_) {
  77740. return "lf";
  77741. }
  77742. };
  77743. A.StatementSearchVisitor.prototype = {
  77744. visitAtRootRule$1(node) {
  77745. return this.visitChildren$1(node.children);
  77746. },
  77747. visitAtRule$1(node) {
  77748. return A.NullableExtension_andThen(node.children, this.get$visitChildren());
  77749. },
  77750. visitContentBlock$1(node) {
  77751. return this.visitChildren$1(node.children);
  77752. },
  77753. visitContentRule$1(node) {
  77754. return null;
  77755. },
  77756. visitDebugRule$1(node) {
  77757. return null;
  77758. },
  77759. visitDeclaration$1(node) {
  77760. return A.NullableExtension_andThen(node.children, this.get$visitChildren());
  77761. },
  77762. visitEachRule$1(node) {
  77763. return this.visitChildren$1(node.children);
  77764. },
  77765. visitErrorRule$1(node) {
  77766. return null;
  77767. },
  77768. visitExtendRule$1(node) {
  77769. return null;
  77770. },
  77771. visitForRule$1(node) {
  77772. return this.visitChildren$1(node.children);
  77773. },
  77774. visitForwardRule$1(node) {
  77775. return null;
  77776. },
  77777. visitFunctionRule$1(node) {
  77778. return this.visitChildren$1(node.children);
  77779. },
  77780. visitIfRule$1(node) {
  77781. var t1 = A.IterableExtension_search(node.clauses, new A.StatementSearchVisitor_visitIfRule_closure(this));
  77782. return t1 == null ? A.NullableExtension_andThen(node.lastClause, new A.StatementSearchVisitor_visitIfRule_closure0(this)) : t1;
  77783. },
  77784. visitImportRule$1(node) {
  77785. return null;
  77786. },
  77787. visitIncludeRule$1(node) {
  77788. return A.NullableExtension_andThen(node.content, this.get$visitContentBlock());
  77789. },
  77790. visitLoudComment$1(node) {
  77791. return null;
  77792. },
  77793. visitMediaRule$1(node) {
  77794. return this.visitChildren$1(node.children);
  77795. },
  77796. visitMixinRule$1(node) {
  77797. return this.visitChildren$1(node.children);
  77798. },
  77799. visitReturnRule$1(node) {
  77800. return null;
  77801. },
  77802. visitSilentComment$1(node) {
  77803. return null;
  77804. },
  77805. visitStyleRule$1(node) {
  77806. return this.visitChildren$1(node.children);
  77807. },
  77808. visitStylesheet$1(node) {
  77809. return this.visitChildren$1(node.children);
  77810. },
  77811. visitSupportsRule$1(node) {
  77812. return this.visitChildren$1(node.children);
  77813. },
  77814. visitUseRule$1(node) {
  77815. return null;
  77816. },
  77817. visitVariableDeclaration$1(node) {
  77818. return null;
  77819. },
  77820. visitWarnRule$1(node) {
  77821. return null;
  77822. },
  77823. visitWhileRule$1(node) {
  77824. return this.visitChildren$1(node.children);
  77825. },
  77826. visitChildren$1(children) {
  77827. return A.IterableExtension_search(children, new A.StatementSearchVisitor_visitChildren_closure(this));
  77828. }
  77829. };
  77830. A.StatementSearchVisitor_visitIfRule_closure.prototype = {
  77831. call$1(clause) {
  77832. return A.IterableExtension_search(clause.children, new A.StatementSearchVisitor_visitIfRule__closure0(this.$this));
  77833. },
  77834. $signature() {
  77835. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor.T?(IfClause)");
  77836. }
  77837. };
  77838. A.StatementSearchVisitor_visitIfRule__closure0.prototype = {
  77839. call$1(child) {
  77840. return child.accept$1(this.$this);
  77841. },
  77842. $signature() {
  77843. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor.T?(Statement)");
  77844. }
  77845. };
  77846. A.StatementSearchVisitor_visitIfRule_closure0.prototype = {
  77847. call$1(lastClause) {
  77848. return A.IterableExtension_search(lastClause.children, new A.StatementSearchVisitor_visitIfRule__closure(this.$this));
  77849. },
  77850. $signature() {
  77851. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor.T?(ElseClause)");
  77852. }
  77853. };
  77854. A.StatementSearchVisitor_visitIfRule__closure.prototype = {
  77855. call$1(child) {
  77856. return child.accept$1(this.$this);
  77857. },
  77858. $signature() {
  77859. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor.T?(Statement)");
  77860. }
  77861. };
  77862. A.StatementSearchVisitor_visitChildren_closure.prototype = {
  77863. call$1(child) {
  77864. return child.accept$1(this.$this);
  77865. },
  77866. $signature() {
  77867. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor.T?(Statement)");
  77868. }
  77869. };
  77870. A.Entry.prototype = {
  77871. compareTo$1(_, other) {
  77872. var t1, t2,
  77873. res = this.target.compareTo$1(0, other.target);
  77874. if (res !== 0)
  77875. return res;
  77876. t1 = this.source;
  77877. t2 = other.source;
  77878. res = B.JSString_methods.compareTo$1(J.toString$0$(t1.file.url), J.toString$0$(t2.file.url));
  77879. if (res !== 0)
  77880. return res;
  77881. return t1.compareTo$1(0, t2);
  77882. },
  77883. $isComparable: 1
  77884. };
  77885. A.Mapping.prototype = {};
  77886. A.SingleMapping.prototype = {
  77887. toJson$1$includeSourceContents(includeSourceContents) {
  77888. 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,
  77889. buff = new A.StringBuffer("");
  77890. 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) {
  77891. entry = t1[_i];
  77892. nextLine = entry.line;
  77893. if (nextLine > line) {
  77894. for (i = line; i < nextLine; ++i)
  77895. buff._contents += ";";
  77896. line = nextLine;
  77897. column = 0;
  77898. first = true;
  77899. }
  77900. for (t3 = J.get$iterator$ax(entry.entries); t3.moveNext$0(); column = column0, first = false) {
  77901. t4 = t3.get$current(t3);
  77902. if (!first)
  77903. buff._contents += ",";
  77904. column0 = t4.column;
  77905. t5 = A.encodeVlq(column0 - column);
  77906. t5 = A.StringBuffer__writeAll(buff._contents, t5, "");
  77907. buff._contents = t5;
  77908. newUrlId = t4.sourceUrlId;
  77909. t5 = A.StringBuffer__writeAll(t5, A.encodeVlq(newUrlId - srcUrlId), "");
  77910. buff._contents = t5;
  77911. srcLine0 = t4.sourceLine;
  77912. t5 = A.StringBuffer__writeAll(t5, A.encodeVlq(srcLine0 - srcLine), "");
  77913. buff._contents = t5;
  77914. srcColumn0 = t4.sourceColumn;
  77915. t5 = A.StringBuffer__writeAll(t5, A.encodeVlq(srcColumn0 - srcColumn), "");
  77916. buff._contents = t5;
  77917. srcNameId0 = t4.sourceNameId;
  77918. if (srcNameId0 == null) {
  77919. srcUrlId = newUrlId;
  77920. srcColumn = srcColumn0;
  77921. srcLine = srcLine0;
  77922. continue;
  77923. }
  77924. buff._contents = A.StringBuffer__writeAll(t5, A.encodeVlq(srcNameId0 - srcNameId), "");
  77925. srcNameId = srcNameId0;
  77926. srcUrlId = newUrlId;
  77927. srcColumn = srcColumn0;
  77928. srcLine = srcLine0;
  77929. }
  77930. }
  77931. t1 = _this.sourceRoot;
  77932. if (t1 == null)
  77933. t1 = "";
  77934. t2 = buff._contents;
  77935. 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);
  77936. t1 = _this.targetUrl;
  77937. if (t1 != null)
  77938. result.$indexSet(0, "file", t1);
  77939. if (includeSourceContents) {
  77940. t1 = _this.files;
  77941. t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String?>");
  77942. result.$indexSet(0, "sourcesContent", A.List_List$of(new A.MappedListIterable(t1, new A.SingleMapping_toJson_closure(), t2), true, t2._eval$1("ListIterable.E")));
  77943. }
  77944. _this.extensions.forEach$1(0, new A.SingleMapping_toJson_closure0(result));
  77945. return result;
  77946. },
  77947. toJson$0() {
  77948. return this.toJson$1$includeSourceContents(false);
  77949. },
  77950. toString$0(_) {
  77951. var _this = this,
  77952. 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) + "]";
  77953. return t1.charCodeAt(0) == 0 ? t1 : t1;
  77954. }
  77955. };
  77956. A.SingleMapping_SingleMapping$fromEntries_closure.prototype = {
  77957. call$0() {
  77958. return this.urls.__js_helper$_length;
  77959. },
  77960. $signature: 10
  77961. };
  77962. A.SingleMapping_SingleMapping$fromEntries_closure0.prototype = {
  77963. call$0() {
  77964. return this.sourceEntry.source.file;
  77965. },
  77966. $signature: 274
  77967. };
  77968. A.SingleMapping_SingleMapping$fromEntries_closure1.prototype = {
  77969. call$1(i) {
  77970. return this.files.$index(0, i);
  77971. },
  77972. $signature: 275
  77973. };
  77974. A.SingleMapping_toJson_closure.prototype = {
  77975. call$1(file) {
  77976. return file == null ? null : A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(file._decodedChars, 0, null), 0, null);
  77977. },
  77978. $signature: 276
  77979. };
  77980. A.SingleMapping_toJson_closure0.prototype = {
  77981. call$2($name, value) {
  77982. this.result.$indexSet(0, $name, value);
  77983. return value;
  77984. },
  77985. $signature: 113
  77986. };
  77987. A.TargetLineEntry.prototype = {
  77988. toString$0(_) {
  77989. return A.getRuntimeTypeOfDartObject(this).toString$0(0) + ": " + this.line + " " + A.S(this.entries);
  77990. }
  77991. };
  77992. A.TargetEntry.prototype = {
  77993. toString$0(_) {
  77994. var _this = this;
  77995. return A.getRuntimeTypeOfDartObject(_this).toString$0(0) + ": (" + _this.column + ", " + _this.sourceUrlId + ", " + _this.sourceLine + ", " + _this.sourceColumn + ", " + A.S(_this.sourceNameId) + ")";
  77996. }
  77997. };
  77998. A.SourceFile.prototype = {
  77999. get$length(_) {
  78000. return this._decodedChars.length;
  78001. },
  78002. get$lines() {
  78003. return this._lineStarts.length;
  78004. },
  78005. SourceFile$decoded$2$url(decodedChars, url) {
  78006. var t1, t2, t3, i, c, j;
  78007. for (t1 = this._decodedChars, t2 = t1.length, t3 = this._lineStarts, i = 0; i < t2; ++i) {
  78008. c = t1[i];
  78009. if (c === 13) {
  78010. j = i + 1;
  78011. if (j >= t2 || t1[j] !== 10)
  78012. c = 10;
  78013. }
  78014. if (c === 10)
  78015. t3.push(i + 1);
  78016. }
  78017. },
  78018. span$2(_, start, end) {
  78019. return A._FileSpan$(this, start, end == null ? this._decodedChars.length : end);
  78020. },
  78021. span$1(_, start) {
  78022. return this.span$2(0, start, null);
  78023. },
  78024. getLine$1(offset) {
  78025. var t1, _this = this;
  78026. if (offset < 0)
  78027. throw A.wrapException(A.RangeError$("Offset may not be negative, was " + offset + "."));
  78028. else if (offset > _this._decodedChars.length)
  78029. throw A.wrapException(A.RangeError$("Offset " + offset + string$.x20must_n + _this.get$length(0) + "."));
  78030. t1 = _this._lineStarts;
  78031. if (offset < B.JSArray_methods.get$first(t1))
  78032. return -1;
  78033. if (offset >= B.JSArray_methods.get$last(t1))
  78034. return t1.length - 1;
  78035. if (_this._isNearCachedLine$1(offset)) {
  78036. t1 = _this._cachedLine;
  78037. t1.toString;
  78038. return t1;
  78039. }
  78040. return _this._cachedLine = _this._binarySearch$1(offset) - 1;
  78041. },
  78042. _isNearCachedLine$1(offset) {
  78043. var t2, t3,
  78044. t1 = this._cachedLine;
  78045. if (t1 == null)
  78046. return false;
  78047. t2 = this._lineStarts;
  78048. if (offset < t2[t1])
  78049. return false;
  78050. t3 = t2.length;
  78051. if (t1 >= t3 - 1 || offset < t2[t1 + 1])
  78052. return true;
  78053. if (t1 >= t3 - 2 || offset < t2[t1 + 2]) {
  78054. this._cachedLine = t1 + 1;
  78055. return true;
  78056. }
  78057. return false;
  78058. },
  78059. _binarySearch$1(offset) {
  78060. var min, half,
  78061. t1 = this._lineStarts,
  78062. max = t1.length - 1;
  78063. for (min = 0; min < max;) {
  78064. half = min + B.JSInt_methods._tdivFast$1(max - min, 2);
  78065. if (t1[half] > offset)
  78066. max = half;
  78067. else
  78068. min = half + 1;
  78069. }
  78070. return max;
  78071. },
  78072. getColumn$1(offset) {
  78073. var line, lineStart, _this = this;
  78074. if (offset < 0)
  78075. throw A.wrapException(A.RangeError$("Offset may not be negative, was " + offset + "."));
  78076. else if (offset > _this._decodedChars.length)
  78077. throw A.wrapException(A.RangeError$("Offset " + offset + " must be not be greater than the number of characters in the file, " + _this.get$length(0) + "."));
  78078. line = _this.getLine$1(offset);
  78079. lineStart = _this._lineStarts[line];
  78080. if (lineStart > offset)
  78081. throw A.wrapException(A.RangeError$("Line " + line + " comes after offset " + offset + "."));
  78082. return offset - lineStart;
  78083. },
  78084. getOffset$1(line) {
  78085. var t1, t2, result, t3;
  78086. if (line < 0)
  78087. throw A.wrapException(A.RangeError$("Line may not be negative, was " + line + "."));
  78088. else {
  78089. t1 = this._lineStarts;
  78090. t2 = t1.length;
  78091. if (line >= t2)
  78092. throw A.wrapException(A.RangeError$("Line " + line + " must be less than the number of lines in the file, " + this.get$lines() + "."));
  78093. }
  78094. result = t1[line];
  78095. if (result <= this._decodedChars.length) {
  78096. t3 = line + 1;
  78097. t1 = t3 < t2 && result >= t1[t3];
  78098. } else
  78099. t1 = true;
  78100. if (t1)
  78101. throw A.wrapException(A.RangeError$("Line " + line + " doesn't have 0 columns."));
  78102. return result;
  78103. }
  78104. };
  78105. A.FileLocation.prototype = {
  78106. get$sourceUrl(_) {
  78107. return this.file.url;
  78108. },
  78109. get$line() {
  78110. return this.file.getLine$1(this.offset);
  78111. },
  78112. get$column() {
  78113. return this.file.getColumn$1(this.offset);
  78114. },
  78115. FileLocation$_$2(file, offset) {
  78116. var t2,
  78117. t1 = this.offset;
  78118. if (t1 < 0)
  78119. throw A.wrapException(A.RangeError$("Offset may not be negative, was " + t1 + "."));
  78120. else {
  78121. t2 = this.file;
  78122. if (t1 > t2._decodedChars.length)
  78123. throw A.wrapException(A.RangeError$("Offset " + t1 + string$.x20must_n + t2.get$length(0) + "."));
  78124. }
  78125. },
  78126. pointSpan$0() {
  78127. var t1 = this.offset;
  78128. return A._FileSpan$(this.file, t1, t1);
  78129. },
  78130. get$offset() {
  78131. return this.offset;
  78132. }
  78133. };
  78134. A._FileSpan.prototype = {
  78135. get$sourceUrl(_) {
  78136. return this.file.url;
  78137. },
  78138. get$length(_) {
  78139. return this._end - this._file$_start;
  78140. },
  78141. get$start(_) {
  78142. return A.FileLocation$_(this.file, this._file$_start);
  78143. },
  78144. get$end(_) {
  78145. return A.FileLocation$_(this.file, this._end);
  78146. },
  78147. get$text() {
  78148. return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(this.file._decodedChars, this._file$_start, this._end), 0, null);
  78149. },
  78150. get$context(_) {
  78151. var _this = this,
  78152. t1 = _this.file,
  78153. endOffset = _this._end,
  78154. endLine = t1.getLine$1(endOffset);
  78155. if (t1.getColumn$1(endOffset) === 0 && endLine !== 0) {
  78156. if (endOffset - _this._file$_start === 0)
  78157. 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);
  78158. } else
  78159. endOffset = endLine === t1._lineStarts.length - 1 ? t1._decodedChars.length : t1.getOffset$1(endLine + 1);
  78160. return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1._decodedChars, t1.getOffset$1(t1.getLine$1(_this._file$_start)), endOffset), 0, null);
  78161. },
  78162. _FileSpan$3(file, _start, _end) {
  78163. var t3,
  78164. t1 = this._end,
  78165. t2 = this._file$_start;
  78166. if (t1 < t2)
  78167. throw A.wrapException(A.ArgumentError$("End " + t1 + " must come after start " + t2 + ".", null));
  78168. else {
  78169. t3 = this.file;
  78170. if (t1 > t3._decodedChars.length)
  78171. throw A.wrapException(A.RangeError$("End " + t1 + string$.x20must_n + t3.get$length(0) + "."));
  78172. else if (t2 < 0)
  78173. throw A.wrapException(A.RangeError$("Start may not be negative, was " + t2 + "."));
  78174. }
  78175. },
  78176. compareTo$1(_, other) {
  78177. var result;
  78178. if (!(other instanceof A._FileSpan))
  78179. return this.super$SourceSpanMixin$compareTo(0, other);
  78180. result = B.JSInt_methods.compareTo$1(this._file$_start, other._file$_start);
  78181. return result === 0 ? B.JSInt_methods.compareTo$1(this._end, other._end) : result;
  78182. },
  78183. $eq(_, other) {
  78184. var _this = this;
  78185. if (other == null)
  78186. return false;
  78187. if (!type$.FileSpan._is(other))
  78188. return _this.super$SourceSpanMixin$$eq(0, other);
  78189. if (!(other instanceof A._FileSpan))
  78190. return _this.super$SourceSpanMixin$$eq(0, other) && J.$eq$(_this.file.url, other.get$sourceUrl(other));
  78191. return _this._file$_start === other._file$_start && _this._end === other._end && J.$eq$(_this.file.url, other.file.url);
  78192. },
  78193. get$hashCode(_) {
  78194. return A.Object_hash(this._file$_start, this._end, this.file.url, B.C_SentinelValue);
  78195. },
  78196. expand$1(_, other) {
  78197. var t2, t3, _this = this,
  78198. t1 = _this.file;
  78199. if (!J.$eq$(t1.url, other.get$sourceUrl(other)))
  78200. throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(_this.get$sourceUrl(0)) + '" and "' + A.S(other.get$sourceUrl(other)) + "\" don't match.", null));
  78201. t2 = _this._file$_start;
  78202. t3 = _this._end;
  78203. if (other instanceof A._FileSpan)
  78204. return A._FileSpan$(t1, Math.min(t2, other._file$_start), Math.max(t3, other._end));
  78205. else
  78206. return A._FileSpan$(t1, Math.min(t2, other.get$start(other).offset), Math.max(t3, other.get$end(other).offset));
  78207. },
  78208. $isFileSpan: 1,
  78209. $isSourceSpanWithContext: 1,
  78210. get$file(receiver) {
  78211. return this.file;
  78212. }
  78213. };
  78214. A.Highlighter.prototype = {
  78215. highlight$0() {
  78216. var t2, highlightsByColumn, t3, t4, i, line, lastLine, t5, t6, t7, t8, t9, t10, t11, index, primaryIdx, primary, _i, highlight, _this = this, _null = null,
  78217. t1 = _this._lines;
  78218. _this._writeFileStart$1(B.JSArray_methods.get$first(t1).url);
  78219. t2 = _this._maxMultilineSpans;
  78220. highlightsByColumn = A.List_List$filled(t2, _null, false, type$.nullable__Highlight);
  78221. for (t3 = _this._highlighter$_buffer, t2 = t2 !== 0, t4 = _this._primaryColor, i = 0; i < t1.length; ++i) {
  78222. line = t1[i];
  78223. if (i > 0) {
  78224. lastLine = t1[i - 1];
  78225. t5 = lastLine.url;
  78226. t6 = line.url;
  78227. if (!J.$eq$(t5, t6)) {
  78228. _this._writeSidebar$1$end($._glyphs.get$upEnd());
  78229. t3._contents += "\n";
  78230. _this._writeFileStart$1(t6);
  78231. } else if (lastLine.number + 1 !== line.number) {
  78232. _this._writeSidebar$1$text("...");
  78233. t3._contents += "\n";
  78234. }
  78235. }
  78236. 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();) {
  78237. t10 = t7.__internal$_current;
  78238. if (t10 == null)
  78239. t10 = t6._as(t10);
  78240. t11 = t10.span;
  78241. 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()))) {
  78242. index = B.JSArray_methods.indexOf$1(highlightsByColumn, _null);
  78243. if (index < 0)
  78244. A.throwExpression(A.ArgumentError$(A.S(highlightsByColumn) + " contains no null elements.", _null));
  78245. highlightsByColumn[index] = t10;
  78246. }
  78247. }
  78248. _this._writeSidebar$1$line(t8);
  78249. t3._contents += " ";
  78250. _this._writeMultilineHighlights$2(line, highlightsByColumn);
  78251. if (t2)
  78252. t3._contents += " ";
  78253. primaryIdx = B.JSArray_methods.indexWhere$1(t5, new A.Highlighter_highlight_closure());
  78254. primary = primaryIdx === -1 ? _null : t5[primaryIdx];
  78255. t6 = primary != null;
  78256. if (t6) {
  78257. t7 = primary.span;
  78258. t10 = t7.get$start(t7).get$line() === t8 ? t7.get$start(t7).get$column() : 0;
  78259. _this._writeHighlightedText$4$color(t9, t10, t7.get$end(t7).get$line() === t8 ? t7.get$end(t7).get$column() : t9.length, t4);
  78260. } else
  78261. _this._writeText$1(t9);
  78262. t3._contents += "\n";
  78263. if (t6)
  78264. _this._writeIndicator$3(line, primary, highlightsByColumn);
  78265. for (t6 = t5.length, _i = 0; _i < t5.length; t5.length === t6 || (0, A.throwConcurrentModificationError)(t5), ++_i) {
  78266. highlight = t5[_i];
  78267. if (highlight.isPrimary)
  78268. continue;
  78269. _this._writeIndicator$3(line, highlight, highlightsByColumn);
  78270. }
  78271. }
  78272. _this._writeSidebar$1$end($._glyphs.get$upEnd());
  78273. t1 = t3._contents;
  78274. return t1.charCodeAt(0) == 0 ? t1 : t1;
  78275. },
  78276. _writeFileStart$1(url) {
  78277. var _this = this,
  78278. t1 = !_this._multipleFiles || !type$.Uri._is(url),
  78279. t2 = $._glyphs;
  78280. if (t1)
  78281. _this._writeSidebar$1$end(t2.get$downEnd());
  78282. else {
  78283. _this._writeSidebar$1$end(t2.get$topLeftCorner());
  78284. _this._colorize$2$color(new A.Highlighter__writeFileStart_closure(_this), "\x1b[34m");
  78285. t1 = _this._highlighter$_buffer;
  78286. t2 = " " + $.$get$context().prettyUri$1(url);
  78287. t1._contents += t2;
  78288. }
  78289. _this._highlighter$_buffer._contents += "\n";
  78290. },
  78291. _writeMultilineHighlights$3$current(line, highlightsByColumn, current) {
  78292. var t1, currentColor, t2, t3, t4, t5, foundCurrent, _i, highlight, t6, startLine, t7, endLine, _this = this, _box_0 = {};
  78293. _box_0.openedOnThisLine = false;
  78294. _box_0.openedOnThisLineColor = null;
  78295. t1 = current == null;
  78296. if (t1)
  78297. currentColor = null;
  78298. else
  78299. currentColor = current.isPrimary ? _this._primaryColor : _this._secondaryColor;
  78300. for (t2 = highlightsByColumn.length, t3 = _this._secondaryColor, t1 = !t1, t4 = _this._primaryColor, t5 = _this._highlighter$_buffer, foundCurrent = false, _i = 0; _i < t2; ++_i) {
  78301. highlight = highlightsByColumn[_i];
  78302. t6 = highlight == null;
  78303. if (t6)
  78304. startLine = null;
  78305. else {
  78306. t7 = highlight.span;
  78307. startLine = t7.get$start(t7).get$line();
  78308. }
  78309. if (t6)
  78310. endLine = null;
  78311. else {
  78312. t7 = highlight.span;
  78313. endLine = t7.get$end(t7).get$line();
  78314. }
  78315. if (t1 && highlight === current) {
  78316. _this._colorize$2$color(new A.Highlighter__writeMultilineHighlights_closure(_this, startLine, line), currentColor);
  78317. foundCurrent = true;
  78318. } else if (foundCurrent)
  78319. _this._colorize$2$color(new A.Highlighter__writeMultilineHighlights_closure0(_this, highlight), currentColor);
  78320. else if (t6)
  78321. if (_box_0.openedOnThisLine)
  78322. _this._colorize$2$color(new A.Highlighter__writeMultilineHighlights_closure1(_this), _box_0.openedOnThisLineColor);
  78323. else
  78324. t5._contents += " ";
  78325. else {
  78326. t6 = highlight.isPrimary ? t4 : t3;
  78327. _this._colorize$2$color(new A.Highlighter__writeMultilineHighlights_closure2(_box_0, _this, current, startLine, line, highlight, endLine), t6);
  78328. }
  78329. }
  78330. },
  78331. _writeMultilineHighlights$2(line, highlightsByColumn) {
  78332. return this._writeMultilineHighlights$3$current(line, highlightsByColumn, null);
  78333. },
  78334. _writeHighlightedText$4$color(text, startColumn, endColumn, color) {
  78335. var _this = this;
  78336. _this._writeText$1(B.JSString_methods.substring$2(text, 0, startColumn));
  78337. _this._colorize$2$color(new A.Highlighter__writeHighlightedText_closure(_this, text, startColumn, endColumn), color);
  78338. _this._writeText$1(B.JSString_methods.substring$2(text, endColumn, text.length));
  78339. },
  78340. _writeIndicator$3(line, highlight, highlightsByColumn) {
  78341. var t2, coversWholeLine, _this = this,
  78342. color = highlight.isPrimary ? _this._primaryColor : _this._secondaryColor,
  78343. t1 = highlight.span;
  78344. if (t1.get$start(t1).get$line() === t1.get$end(t1).get$line()) {
  78345. _this._writeSidebar$0();
  78346. t1 = _this._highlighter$_buffer;
  78347. t1._contents += " ";
  78348. _this._writeMultilineHighlights$3$current(line, highlightsByColumn, highlight);
  78349. if (highlightsByColumn.length !== 0)
  78350. t1._contents += " ";
  78351. _this._writeLabel$3(highlight, highlightsByColumn, _this._colorize$2$color(new A.Highlighter__writeIndicator_closure(_this, line, highlight), color));
  78352. } else {
  78353. t2 = line.number;
  78354. if (t1.get$start(t1).get$line() === t2) {
  78355. if (B.JSArray_methods.contains$1(highlightsByColumn, highlight))
  78356. return;
  78357. A.replaceFirstNull(highlightsByColumn, highlight);
  78358. _this._writeSidebar$0();
  78359. t1 = _this._highlighter$_buffer;
  78360. t1._contents += " ";
  78361. _this._writeMultilineHighlights$3$current(line, highlightsByColumn, highlight);
  78362. _this._colorize$2$color(new A.Highlighter__writeIndicator_closure0(_this, line, highlight), color);
  78363. t1._contents += "\n";
  78364. } else if (t1.get$end(t1).get$line() === t2) {
  78365. coversWholeLine = t1.get$end(t1).get$column() === line.text.length;
  78366. if (coversWholeLine && highlight.label == null) {
  78367. A.replaceWithNull(highlightsByColumn, highlight);
  78368. return;
  78369. }
  78370. _this._writeSidebar$0();
  78371. _this._highlighter$_buffer._contents += " ";
  78372. _this._writeMultilineHighlights$3$current(line, highlightsByColumn, highlight);
  78373. _this._writeLabel$3(highlight, highlightsByColumn, _this._colorize$2$color(new A.Highlighter__writeIndicator_closure1(_this, coversWholeLine, line, highlight), color));
  78374. A.replaceWithNull(highlightsByColumn, highlight);
  78375. }
  78376. }
  78377. },
  78378. _writeArrow$3$beginning(line, column, beginning) {
  78379. var t2,
  78380. t1 = beginning ? 0 : 1,
  78381. tabs = this._countTabs$1(B.JSString_methods.substring$2(line.text, 0, column + t1));
  78382. t1 = this._highlighter$_buffer;
  78383. t2 = B.JSString_methods.$mul($._glyphs.get$horizontalLine(), 1 + column + tabs * 3);
  78384. t2 = t1._contents += t2;
  78385. t1._contents = t2 + "^";
  78386. },
  78387. _writeArrow$2(line, column) {
  78388. return this._writeArrow$3$beginning(line, column, true);
  78389. },
  78390. _writeLabel$3(highlight, highlightsByColumn, underlineLength) {
  78391. var lines, color, t1, t2, t3, t4, t5, t6, _i, columnHighlight, _this = this,
  78392. label = highlight.label;
  78393. if (label == null) {
  78394. _this._highlighter$_buffer._contents += "\n";
  78395. return;
  78396. }
  78397. lines = A._setArrayType(label.split("\n"), type$.JSArray_String);
  78398. color = highlight.isPrimary ? _this._primaryColor : _this._secondaryColor;
  78399. _this._colorize$2$color(new A.Highlighter__writeLabel_closure(_this, lines), color);
  78400. t1 = _this._highlighter$_buffer;
  78401. t1._contents += "\n";
  78402. 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();) {
  78403. t5 = t2.__internal$_current;
  78404. if (t5 == null)
  78405. t5 = t3._as(t5);
  78406. _this._writeSidebar$0();
  78407. t6 = t1._contents += " ";
  78408. for (_i = 0; _i < t4; ++_i) {
  78409. columnHighlight = highlightsByColumn[_i];
  78410. if (columnHighlight == null || columnHighlight === highlight) {
  78411. t6 += " ";
  78412. t1._contents = t6;
  78413. } else {
  78414. t6 = $._glyphs.get$verticalLine();
  78415. t6 = t1._contents += t6;
  78416. }
  78417. }
  78418. t6 = B.JSString_methods.$mul(" ", underlineLength);
  78419. t1._contents += t6;
  78420. _this._colorize$2$color(new A.Highlighter__writeLabel_closure0(_this, t5), color);
  78421. t1._contents += "\n";
  78422. }
  78423. },
  78424. _writeText$1(text) {
  78425. var t1, t2, t3, t4;
  78426. 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();) {
  78427. t4 = t1.__internal$_current;
  78428. if (t4 == null)
  78429. t4 = t2._as(t4);
  78430. if (t4 === 9) {
  78431. t4 = B.JSString_methods.$mul(" ", 4);
  78432. t3._contents += t4;
  78433. } else {
  78434. t4 = A.Primitives_stringFromCharCode(t4);
  78435. t3._contents += t4;
  78436. }
  78437. }
  78438. },
  78439. _writeSidebar$3$end$line$text(end, line, text) {
  78440. var t1 = {};
  78441. t1.text = text;
  78442. if (line != null)
  78443. t1.text = B.JSInt_methods.toString$0(line + 1);
  78444. this._colorize$2$color(new A.Highlighter__writeSidebar_closure(t1, this, end), "\x1b[34m");
  78445. },
  78446. _writeSidebar$1$end(end) {
  78447. return this._writeSidebar$3$end$line$text(end, null, null);
  78448. },
  78449. _writeSidebar$1$text(text) {
  78450. return this._writeSidebar$3$end$line$text(null, null, text);
  78451. },
  78452. _writeSidebar$1$line(line) {
  78453. return this._writeSidebar$3$end$line$text(null, line, null);
  78454. },
  78455. _writeSidebar$0() {
  78456. return this._writeSidebar$3$end$line$text(null, null, null);
  78457. },
  78458. _countTabs$1(text) {
  78459. var t1, t2, count, t3;
  78460. 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();) {
  78461. t3 = t1.__internal$_current;
  78462. if ((t3 == null ? t2._as(t3) : t3) === 9)
  78463. ++count;
  78464. }
  78465. return count;
  78466. },
  78467. _isOnlyWhitespace$1(text) {
  78468. var t1, t2, t3;
  78469. 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();) {
  78470. t3 = t1.__internal$_current;
  78471. if (t3 == null)
  78472. t3 = t2._as(t3);
  78473. if (t3 !== 32 && t3 !== 9)
  78474. return false;
  78475. }
  78476. return true;
  78477. },
  78478. _colorize$1$2$color(callback, color) {
  78479. var result,
  78480. t1 = this._primaryColor != null;
  78481. if (t1 && color != null)
  78482. this._highlighter$_buffer._contents += color;
  78483. result = callback.call$0();
  78484. if (t1 && color != null)
  78485. this._highlighter$_buffer._contents += "\x1b[0m";
  78486. return result;
  78487. },
  78488. _colorize$2$color(callback, color) {
  78489. return this._colorize$1$2$color(callback, color, type$.dynamic);
  78490. }
  78491. };
  78492. A.Highlighter_closure.prototype = {
  78493. call$0() {
  78494. var t1 = this.color,
  78495. t2 = J.getInterceptor$(t1);
  78496. if (t2.$eq(t1, true))
  78497. return "\x1b[31m";
  78498. if (t2.$eq(t1, false))
  78499. return null;
  78500. return A._asStringQ(t1);
  78501. },
  78502. $signature: 44
  78503. };
  78504. A.Highlighter$__closure.prototype = {
  78505. call$1(line) {
  78506. var t1 = line.highlights;
  78507. return new A.WhereIterable(t1, new A.Highlighter$___closure(), A._arrayInstanceType(t1)._eval$1("WhereIterable<1>")).get$length(0);
  78508. },
  78509. $signature: 277
  78510. };
  78511. A.Highlighter$___closure.prototype = {
  78512. call$1(highlight) {
  78513. var t1 = highlight.span;
  78514. return t1.get$start(t1).get$line() !== t1.get$end(t1).get$line();
  78515. },
  78516. $signature: 115
  78517. };
  78518. A.Highlighter$__closure0.prototype = {
  78519. call$1(line) {
  78520. return line.url;
  78521. },
  78522. $signature: 279
  78523. };
  78524. A.Highlighter__collateLines_closure.prototype = {
  78525. call$1(highlight) {
  78526. var t1 = highlight.span;
  78527. t1 = t1.get$sourceUrl(t1);
  78528. return t1 == null ? new A.Object() : t1;
  78529. },
  78530. $signature: 280
  78531. };
  78532. A.Highlighter__collateLines_closure0.prototype = {
  78533. call$2(highlight1, highlight2) {
  78534. return highlight1.span.compareTo$1(0, highlight2.span);
  78535. },
  78536. $signature: 281
  78537. };
  78538. A.Highlighter__collateLines_closure1.prototype = {
  78539. call$1(entry) {
  78540. var t1, t2, t3, t4, context, t5, linesBeforeSpan, lineNumber, _i, line, activeHighlights, highlightIndex, oldHighlightLength, t6,
  78541. url = entry.key,
  78542. highlightsForFile = entry.value,
  78543. lines = A._setArrayType([], type$.JSArray__Line);
  78544. for (t1 = J.getInterceptor$ax(highlightsForFile), t2 = t1.get$iterator(highlightsForFile), t3 = type$.JSArray__Highlight; t2.moveNext$0();) {
  78545. t4 = t2.get$current(t2).span;
  78546. context = t4.get$context(t4);
  78547. t5 = A.findLineStart(context, t4.get$text(), t4.get$start(t4).get$column());
  78548. t5.toString;
  78549. linesBeforeSpan = B.JSString_methods.allMatches$1("\n", B.JSString_methods.substring$2(context, 0, t5)).get$length(0);
  78550. lineNumber = t4.get$start(t4).get$line() - linesBeforeSpan;
  78551. for (t4 = context.split("\n"), t5 = t4.length, _i = 0; _i < t5; ++_i) {
  78552. line = t4[_i];
  78553. if (lines.length === 0 || lineNumber > B.JSArray_methods.get$last(lines).number)
  78554. lines.push(new A._Line(line, lineNumber, url, A._setArrayType([], t3)));
  78555. ++lineNumber;
  78556. }
  78557. }
  78558. activeHighlights = A._setArrayType([], t3);
  78559. for (t2 = lines.length, highlightIndex = 0, _i = 0; _i < lines.length; lines.length === t2 || (0, A.throwConcurrentModificationError)(lines), ++_i) {
  78560. line = lines[_i];
  78561. if (!!activeHighlights.fixed$length)
  78562. A.throwExpression(A.UnsupportedError$("removeWhere"));
  78563. B.JSArray_methods._removeWhere$2(activeHighlights, new A.Highlighter__collateLines__closure(line), true);
  78564. oldHighlightLength = activeHighlights.length;
  78565. 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>")), t4 = t4._eval$1("ListIterable.E"); t3.moveNext$0();) {
  78566. t5 = t3.__internal$_current;
  78567. if (t5 == null)
  78568. t5 = t4._as(t5);
  78569. t6 = t5.span;
  78570. if (t6.get$start(t6).get$line() > line.number)
  78571. break;
  78572. activeHighlights.push(t5);
  78573. }
  78574. highlightIndex += activeHighlights.length - oldHighlightLength;
  78575. B.JSArray_methods.addAll$1(line.highlights, activeHighlights);
  78576. }
  78577. return lines;
  78578. },
  78579. $signature: 282
  78580. };
  78581. A.Highlighter__collateLines__closure.prototype = {
  78582. call$1(highlight) {
  78583. var t1 = highlight.span;
  78584. return t1.get$end(t1).get$line() < this.line.number;
  78585. },
  78586. $signature: 115
  78587. };
  78588. A.Highlighter_highlight_closure.prototype = {
  78589. call$1(highlight) {
  78590. return highlight.isPrimary;
  78591. },
  78592. $signature: 115
  78593. };
  78594. A.Highlighter__writeFileStart_closure.prototype = {
  78595. call$0() {
  78596. var t1 = this.$this._highlighter$_buffer,
  78597. t2 = B.JSString_methods.$mul($._glyphs.get$horizontalLine(), 2) + ">";
  78598. t1._contents += t2;
  78599. return null;
  78600. },
  78601. $signature: 0
  78602. };
  78603. A.Highlighter__writeMultilineHighlights_closure.prototype = {
  78604. call$0() {
  78605. var t1 = this.$this._highlighter$_buffer,
  78606. t2 = $._glyphs;
  78607. t2 = this.startLine === this.line.number ? t2.get$topLeftCorner() : t2.get$bottomLeftCorner();
  78608. t1._contents += t2;
  78609. },
  78610. $signature: 1
  78611. };
  78612. A.Highlighter__writeMultilineHighlights_closure0.prototype = {
  78613. call$0() {
  78614. var t1 = this.$this._highlighter$_buffer,
  78615. t2 = $._glyphs;
  78616. t2 = this.highlight == null ? t2.get$horizontalLine() : t2.get$cross();
  78617. t1._contents += t2;
  78618. },
  78619. $signature: 1
  78620. };
  78621. A.Highlighter__writeMultilineHighlights_closure1.prototype = {
  78622. call$0() {
  78623. var t1 = this.$this._highlighter$_buffer,
  78624. t2 = $._glyphs.get$horizontalLine();
  78625. t1._contents += t2;
  78626. return null;
  78627. },
  78628. $signature: 0
  78629. };
  78630. A.Highlighter__writeMultilineHighlights_closure2.prototype = {
  78631. call$0() {
  78632. var _this = this,
  78633. t1 = _this._box_0,
  78634. t2 = t1.openedOnThisLine,
  78635. t3 = $._glyphs,
  78636. vertical = t2 ? t3.get$cross() : t3.get$verticalLine();
  78637. if (_this.current != null)
  78638. _this.$this._highlighter$_buffer._contents += vertical;
  78639. else {
  78640. t2 = _this.line;
  78641. t3 = t2.number;
  78642. if (_this.startLine === t3) {
  78643. t2 = _this.$this;
  78644. t2._colorize$2$color(new A.Highlighter__writeMultilineHighlights__closure(t1, t2), t1.openedOnThisLineColor);
  78645. t1.openedOnThisLine = true;
  78646. if (t1.openedOnThisLineColor == null)
  78647. t1.openedOnThisLineColor = _this.highlight.isPrimary ? t2._primaryColor : t2._secondaryColor;
  78648. } else {
  78649. if (_this.endLine === t3) {
  78650. t3 = _this.highlight.span;
  78651. t2 = t3.get$end(t3).get$column() === t2.text.length;
  78652. } else
  78653. t2 = false;
  78654. t3 = _this.$this;
  78655. if (t2) {
  78656. t1 = t3._highlighter$_buffer;
  78657. t2 = _this.highlight.label == null ? $._glyphs.glyphOrAscii$2("\u2514", "\\") : vertical;
  78658. t1._contents += t2;
  78659. } else
  78660. t3._colorize$2$color(new A.Highlighter__writeMultilineHighlights__closure0(t3, vertical), t1.openedOnThisLineColor);
  78661. }
  78662. }
  78663. },
  78664. $signature: 1
  78665. };
  78666. A.Highlighter__writeMultilineHighlights__closure.prototype = {
  78667. call$0() {
  78668. var t1 = this.$this._highlighter$_buffer,
  78669. t2 = this._box_0.openedOnThisLine ? "\u252c" : "\u250c";
  78670. t2 = $._glyphs.glyphOrAscii$2(t2, "/");
  78671. t1._contents += t2;
  78672. },
  78673. $signature: 1
  78674. };
  78675. A.Highlighter__writeMultilineHighlights__closure0.prototype = {
  78676. call$0() {
  78677. this.$this._highlighter$_buffer._contents += this.vertical;
  78678. },
  78679. $signature: 1
  78680. };
  78681. A.Highlighter__writeHighlightedText_closure.prototype = {
  78682. call$0() {
  78683. var _this = this;
  78684. return _this.$this._writeText$1(B.JSString_methods.substring$2(_this.text, _this.startColumn, _this.endColumn));
  78685. },
  78686. $signature: 0
  78687. };
  78688. A.Highlighter__writeIndicator_closure.prototype = {
  78689. call$0() {
  78690. var startColumn, endColumn, tabsBefore, tabsInside,
  78691. t1 = this.$this,
  78692. t2 = t1._highlighter$_buffer,
  78693. t3 = t2._contents,
  78694. t4 = this.highlight,
  78695. t5 = t4.span;
  78696. t4 = t4.isPrimary ? "^" : $._glyphs.get$horizontalLineBold();
  78697. startColumn = t5.get$start(t5).get$column();
  78698. endColumn = t5.get$end(t5).get$column();
  78699. t5 = this.line.text;
  78700. tabsBefore = t1._countTabs$1(B.JSString_methods.substring$2(t5, 0, startColumn));
  78701. tabsInside = t1._countTabs$1(B.JSString_methods.substring$2(t5, startColumn, endColumn));
  78702. startColumn += tabsBefore * 3;
  78703. t5 = B.JSString_methods.$mul(" ", startColumn);
  78704. t2._contents += t5;
  78705. t4 = B.JSString_methods.$mul(t4, Math.max(endColumn + (tabsBefore + tabsInside) * 3 - startColumn, 1));
  78706. t4 = t2._contents += t4;
  78707. return t4.length - t3.length;
  78708. },
  78709. $signature: 10
  78710. };
  78711. A.Highlighter__writeIndicator_closure0.prototype = {
  78712. call$0() {
  78713. var t1 = this.highlight.span;
  78714. return this.$this._writeArrow$2(this.line, t1.get$start(t1).get$column());
  78715. },
  78716. $signature: 0
  78717. };
  78718. A.Highlighter__writeIndicator_closure1.prototype = {
  78719. call$0() {
  78720. var t4, _this = this,
  78721. t1 = _this.$this,
  78722. t2 = t1._highlighter$_buffer,
  78723. t3 = t2._contents;
  78724. if (_this.coversWholeLine) {
  78725. t1 = B.JSString_methods.$mul($._glyphs.get$horizontalLine(), 3);
  78726. t2._contents += t1;
  78727. } else {
  78728. t4 = _this.highlight.span;
  78729. t1._writeArrow$3$beginning(_this.line, Math.max(t4.get$end(t4).get$column() - 1, 0), false);
  78730. }
  78731. return t2._contents.length - t3.length;
  78732. },
  78733. $signature: 10
  78734. };
  78735. A.Highlighter__writeLabel_closure.prototype = {
  78736. call$0() {
  78737. var t1 = this.$this._highlighter$_buffer,
  78738. t2 = " " + A.S(B.JSArray_methods.get$first(this.lines));
  78739. t1._contents += t2;
  78740. return null;
  78741. },
  78742. $signature: 0
  78743. };
  78744. A.Highlighter__writeLabel_closure0.prototype = {
  78745. call$0() {
  78746. this.$this._highlighter$_buffer._contents += " " + this.text;
  78747. return null;
  78748. },
  78749. $signature: 0
  78750. };
  78751. A.Highlighter__writeSidebar_closure.prototype = {
  78752. call$0() {
  78753. var t1 = this.$this,
  78754. t2 = t1._highlighter$_buffer,
  78755. t3 = this._box_0.text;
  78756. if (t3 == null)
  78757. t3 = "";
  78758. t1 = B.JSString_methods.padRight$1(t3, t1._paddingBeforeSidebar);
  78759. t2._contents += t1;
  78760. t1 = this.end;
  78761. if (t1 == null)
  78762. t1 = $._glyphs.get$verticalLine();
  78763. t2._contents += t1;
  78764. },
  78765. $signature: 1
  78766. };
  78767. A._Highlight.prototype = {
  78768. toString$0(_) {
  78769. var t1 = this.isPrimary ? "" + "primary " : "",
  78770. t2 = this.span;
  78771. 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());
  78772. t1 = this.label;
  78773. t1 = t1 != null ? t2 + (" (" + t1 + ")") : t2;
  78774. return t1.charCodeAt(0) == 0 ? t1 : t1;
  78775. }
  78776. };
  78777. A._Highlight_closure.prototype = {
  78778. call$0() {
  78779. var t2, t3, t4, t5,
  78780. t1 = this.span;
  78781. if (!(type$.SourceSpanWithContext._is(t1) && A.findLineStart(t1.get$context(t1), t1.get$text(), t1.get$start(t1).get$column()) != null)) {
  78782. t2 = A.SourceLocation$(t1.get$start(t1).get$offset(), 0, 0, t1.get$sourceUrl(t1));
  78783. t3 = t1.get$end(t1).get$offset();
  78784. t4 = t1.get$sourceUrl(t1);
  78785. t5 = A.countCodeUnits(t1.get$text(), 10);
  78786. t1 = A.SourceSpanWithContext$(t2, A.SourceLocation$(t3, A._Highlight__lastLineLength(t1.get$text()), t5, t4), t1.get$text(), t1.get$text());
  78787. }
  78788. return A._Highlight__normalizeEndOfLine(A._Highlight__normalizeTrailingNewline(A._Highlight__normalizeNewlines(t1)));
  78789. },
  78790. $signature: 283
  78791. };
  78792. A._Line.prototype = {
  78793. toString$0(_) {
  78794. return "" + this.number + ': "' + this.text + '" (' + B.JSArray_methods.join$1(this.highlights, ", ") + ")";
  78795. }
  78796. };
  78797. A.SourceLocation.prototype = {
  78798. distance$1(other) {
  78799. var t1 = this.sourceUrl;
  78800. if (!J.$eq$(t1, other.get$sourceUrl(other)))
  78801. throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(t1) + '" and "' + A.S(other.get$sourceUrl(other)) + "\" don't match.", null));
  78802. return Math.abs(this.offset - other.get$offset());
  78803. },
  78804. compareTo$1(_, other) {
  78805. var t1 = this.sourceUrl;
  78806. if (!J.$eq$(t1, other.get$sourceUrl(other)))
  78807. throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(t1) + '" and "' + A.S(other.get$sourceUrl(other)) + "\" don't match.", null));
  78808. return this.offset - other.get$offset();
  78809. },
  78810. $eq(_, other) {
  78811. if (other == null)
  78812. return false;
  78813. return type$.SourceLocation._is(other) && J.$eq$(this.sourceUrl, other.get$sourceUrl(other)) && this.offset === other.get$offset();
  78814. },
  78815. get$hashCode(_) {
  78816. var t1 = this.sourceUrl;
  78817. t1 = t1 == null ? null : t1.get$hashCode(t1);
  78818. if (t1 == null)
  78819. t1 = 0;
  78820. return t1 + this.offset;
  78821. },
  78822. toString$0(_) {
  78823. var _this = this,
  78824. t1 = A.getRuntimeTypeOfDartObject(_this).toString$0(0),
  78825. source = _this.sourceUrl;
  78826. return "<" + t1 + ": " + _this.offset + " " + (A.S(source == null ? "unknown source" : source) + ":" + (_this.line + 1) + ":" + (_this.column + 1)) + ">";
  78827. },
  78828. $isComparable: 1,
  78829. get$sourceUrl(receiver) {
  78830. return this.sourceUrl;
  78831. },
  78832. get$offset() {
  78833. return this.offset;
  78834. },
  78835. get$line() {
  78836. return this.line;
  78837. },
  78838. get$column() {
  78839. return this.column;
  78840. }
  78841. };
  78842. A.SourceLocationMixin.prototype = {
  78843. distance$1(other) {
  78844. if (!J.$eq$(this.file.url, other.get$sourceUrl(other)))
  78845. throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(this.get$sourceUrl(0)) + '" and "' + A.S(other.get$sourceUrl(other)) + "\" don't match.", null));
  78846. return Math.abs(this.offset - other.get$offset());
  78847. },
  78848. compareTo$1(_, other) {
  78849. if (!J.$eq$(this.file.url, other.get$sourceUrl(other)))
  78850. throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(this.get$sourceUrl(0)) + '" and "' + A.S(other.get$sourceUrl(other)) + "\" don't match.", null));
  78851. return this.offset - other.get$offset();
  78852. },
  78853. $eq(_, other) {
  78854. if (other == null)
  78855. return false;
  78856. return type$.SourceLocation._is(other) && J.$eq$(this.file.url, other.get$sourceUrl(other)) && this.offset === other.get$offset();
  78857. },
  78858. get$hashCode(_) {
  78859. var t1 = this.file.url;
  78860. t1 = t1 == null ? null : t1.get$hashCode(t1);
  78861. if (t1 == null)
  78862. t1 = 0;
  78863. return t1 + this.offset;
  78864. },
  78865. toString$0(_) {
  78866. var t1 = A.getRuntimeTypeOfDartObject(this).toString$0(0),
  78867. t2 = this.offset,
  78868. t3 = this.file,
  78869. source = t3.url;
  78870. return "<" + t1 + ": " + t2 + " " + (A.S(source == null ? "unknown source" : source) + ":" + (t3.getLine$1(t2) + 1) + ":" + (t3.getColumn$1(t2) + 1)) + ">";
  78871. },
  78872. $isComparable: 1,
  78873. $isSourceLocation: 1
  78874. };
  78875. A.SourceSpanBase.prototype = {
  78876. SourceSpanBase$3(start, end, text) {
  78877. var t3,
  78878. t1 = this.end,
  78879. t2 = this.start;
  78880. if (!J.$eq$(t1.get$sourceUrl(t1), t2.get$sourceUrl(t2)))
  78881. throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(t2.get$sourceUrl(t2)) + '" and "' + A.S(t1.get$sourceUrl(t1)) + "\" don't match.", null));
  78882. else if (t1.get$offset() < t2.get$offset())
  78883. throw A.wrapException(A.ArgumentError$("End " + t1.toString$0(0) + " must come after start " + t2.toString$0(0) + ".", null));
  78884. else {
  78885. t3 = this.text;
  78886. if (t3.length !== t2.distance$1(t1))
  78887. throw A.wrapException(A.ArgumentError$('Text "' + t3 + '" must be ' + t2.distance$1(t1) + " characters long.", null));
  78888. }
  78889. },
  78890. get$start(receiver) {
  78891. return this.start;
  78892. },
  78893. get$end(receiver) {
  78894. return this.end;
  78895. },
  78896. get$text() {
  78897. return this.text;
  78898. }
  78899. };
  78900. A.SourceSpanException.prototype = {
  78901. get$message(_) {
  78902. return this._span_exception$_message;
  78903. },
  78904. get$span(_) {
  78905. return this._span;
  78906. },
  78907. toString$1$color(_, color) {
  78908. var _this = this;
  78909. _this.get$span(_this);
  78910. return "Error on " + _this.get$span(_this).message$2$color(0, _this._span_exception$_message, color);
  78911. },
  78912. toString$0(_) {
  78913. return this.toString$1$color(0, null);
  78914. },
  78915. $isException: 1
  78916. };
  78917. A.SourceSpanFormatException.prototype = {$isFormatException: 1,
  78918. get$source() {
  78919. return this.source;
  78920. }
  78921. };
  78922. A.MultiSourceSpanException.prototype = {
  78923. toString$0(_) {
  78924. var _this = this;
  78925. return "Error on " + A.SourceSpanExtension_messageMultiple(_this._span, _this._span_exception$_message, _this.primaryLabel, _this.secondarySpans, false, null, null);
  78926. },
  78927. get$primaryLabel() {
  78928. return this.primaryLabel;
  78929. },
  78930. get$secondarySpans() {
  78931. return this.secondarySpans;
  78932. }
  78933. };
  78934. A.MultiSourceSpanFormatException.prototype = {$isFormatException: 1};
  78935. A.SourceSpanMixin.prototype = {
  78936. get$sourceUrl(_) {
  78937. var t1 = this.get$start(this);
  78938. return t1.get$sourceUrl(t1);
  78939. },
  78940. get$length(_) {
  78941. var _this = this;
  78942. return _this.get$end(_this).get$offset() - _this.get$start(_this).get$offset();
  78943. },
  78944. compareTo$1(_, other) {
  78945. var _this = this,
  78946. result = _this.get$start(_this).compareTo$1(0, other.get$start(other));
  78947. return result === 0 ? _this.get$end(_this).compareTo$1(0, other.get$end(other)) : result;
  78948. },
  78949. message$2$color(_, message, color) {
  78950. var t2, t3, highlight, _this = this,
  78951. t1 = "" + ("line " + (_this.get$start(_this).get$line() + 1) + ", column " + (_this.get$start(_this).get$column() + 1));
  78952. if (_this.get$sourceUrl(_this) != null) {
  78953. t2 = _this.get$sourceUrl(_this);
  78954. t3 = $.$get$context();
  78955. t2.toString;
  78956. t2 = t1 + (" of " + t3.prettyUri$1(t2));
  78957. t1 = t2;
  78958. }
  78959. t1 += ": " + message;
  78960. highlight = _this.highlight$1$color(color);
  78961. if (highlight.length !== 0)
  78962. t1 = t1 + "\n" + highlight;
  78963. return t1.charCodeAt(0) == 0 ? t1 : t1;
  78964. },
  78965. message$1(_, message) {
  78966. return this.message$2$color(0, message, null);
  78967. },
  78968. highlight$1$color(color) {
  78969. var _this = this;
  78970. if (!type$.SourceSpanWithContext._is(_this) && _this.get$length(_this) === 0)
  78971. return "";
  78972. return A.Highlighter$(_this, color).highlight$0();
  78973. },
  78974. $eq(_, other) {
  78975. var _this = this;
  78976. if (other == null)
  78977. return false;
  78978. 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));
  78979. },
  78980. get$hashCode(_) {
  78981. var _this = this;
  78982. return A.Object_hash(_this.get$start(_this), _this.get$end(_this), B.C_SentinelValue, B.C_SentinelValue);
  78983. },
  78984. toString$0(_) {
  78985. var _this = this;
  78986. 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() + '">';
  78987. },
  78988. $isComparable: 1,
  78989. $isSourceSpan: 1
  78990. };
  78991. A.SourceSpanWithContext.prototype = {
  78992. get$context(_) {
  78993. return this._context;
  78994. }
  78995. };
  78996. A.Chain.prototype = {
  78997. toTrace$0() {
  78998. var t1 = this.traces;
  78999. return A.Trace$(new A.ExpandIterable(t1, new A.Chain_toTrace_closure(), A._arrayInstanceType(t1)._eval$1("ExpandIterable<1,Frame>")), null);
  79000. },
  79001. toString$0(_) {
  79002. var t1 = this.traces,
  79003. t2 = A._arrayInstanceType(t1);
  79004. 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_____);
  79005. },
  79006. $isStackTrace: 1
  79007. };
  79008. A.Chain_Chain$parse_closure.prototype = {
  79009. call$1(line) {
  79010. return line.length !== 0;
  79011. },
  79012. $signature: 4
  79013. };
  79014. A.Chain_toTrace_closure.prototype = {
  79015. call$1(trace) {
  79016. return trace.get$frames();
  79017. },
  79018. $signature: 284
  79019. };
  79020. A.Chain_toString_closure0.prototype = {
  79021. call$1(trace) {
  79022. var t1 = trace.get$frames();
  79023. return new A.MappedListIterable(t1, new A.Chain_toString__closure0(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,int>")).fold$2(0, 0, B.CONSTANT);
  79024. },
  79025. $signature: 285
  79026. };
  79027. A.Chain_toString__closure0.prototype = {
  79028. call$1(frame) {
  79029. return frame.get$location().length;
  79030. },
  79031. $signature: 264
  79032. };
  79033. A.Chain_toString_closure.prototype = {
  79034. call$1(trace) {
  79035. var t1 = trace.get$frames();
  79036. return new A.MappedListIterable(t1, new A.Chain_toString__closure(this.longest), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
  79037. },
  79038. $signature: 287
  79039. };
  79040. A.Chain_toString__closure.prototype = {
  79041. call$1(frame) {
  79042. return B.JSString_methods.padRight$1(frame.get$location(), this.longest) + " " + A.S(frame.get$member()) + "\n";
  79043. },
  79044. $signature: 263
  79045. };
  79046. A.Frame.prototype = {
  79047. get$isCore() {
  79048. return this.uri.get$scheme() === "dart";
  79049. },
  79050. get$library() {
  79051. var t1 = this.uri;
  79052. if (t1.get$scheme() === "data")
  79053. return "data:...";
  79054. return $.$get$context().prettyUri$1(t1);
  79055. },
  79056. get$$package() {
  79057. var t1 = this.uri;
  79058. if (t1.get$scheme() !== "package")
  79059. return null;
  79060. return B.JSArray_methods.get$first(t1.get$path(t1).split("/"));
  79061. },
  79062. get$location() {
  79063. var t2, _this = this,
  79064. t1 = _this.line;
  79065. if (t1 == null)
  79066. return _this.get$library();
  79067. t2 = _this.column;
  79068. if (t2 == null)
  79069. return _this.get$library() + " " + A.S(t1);
  79070. return _this.get$library() + " " + A.S(t1) + ":" + A.S(t2);
  79071. },
  79072. toString$0(_) {
  79073. return this.get$location() + " in " + A.S(this.member);
  79074. },
  79075. get$uri() {
  79076. return this.uri;
  79077. },
  79078. get$line() {
  79079. return this.line;
  79080. },
  79081. get$column() {
  79082. return this.column;
  79083. },
  79084. get$member() {
  79085. return this.member;
  79086. }
  79087. };
  79088. A.Frame_Frame$parseVM_closure.prototype = {
  79089. call$0() {
  79090. var match, t2, t3, member, uri, lineAndColumn, line, _null = null,
  79091. t1 = this.frame;
  79092. if (t1 === "...")
  79093. return new A.Frame(A._Uri__Uri(_null, _null, _null, _null), _null, _null, "...");
  79094. match = $.$get$_vmFrame().firstMatch$1(t1);
  79095. if (match == null)
  79096. return new A.UnparsedFrame(A._Uri__Uri(_null, "unparsed", _null, _null), t1);
  79097. t1 = match._match;
  79098. t2 = t1[1];
  79099. t2.toString;
  79100. t3 = $.$get$_asyncBody();
  79101. t2 = A.stringReplaceAllUnchecked(t2, t3, "<async>");
  79102. member = A.stringReplaceAllUnchecked(t2, "<anonymous closure>", "<fn>");
  79103. t2 = t1[2];
  79104. t3 = t2;
  79105. t3.toString;
  79106. if (B.JSString_methods.startsWith$1(t3, "<data:"))
  79107. uri = A.Uri_Uri$dataFromString("", _null, _null);
  79108. else {
  79109. t2 = t2;
  79110. t2.toString;
  79111. uri = A.Uri_parse(t2);
  79112. }
  79113. lineAndColumn = t1[3].split(":");
  79114. t1 = lineAndColumn.length;
  79115. line = t1 > 1 ? A.int_parse(lineAndColumn[1], _null) : _null;
  79116. return new A.Frame(uri, line, t1 > 2 ? A.int_parse(lineAndColumn[2], _null) : _null, member);
  79117. },
  79118. $signature: 71
  79119. };
  79120. A.Frame_Frame$parseV8_closure.prototype = {
  79121. call$0() {
  79122. var t2, t3, _s4_ = "<fn>",
  79123. t1 = this.frame,
  79124. match = $.$get$_v8Frame().firstMatch$1(t1);
  79125. if (match == null)
  79126. return new A.UnparsedFrame(A._Uri__Uri(null, "unparsed", null, null), t1);
  79127. t1 = new A.Frame_Frame$parseV8_closure_parseLocation(t1);
  79128. t2 = match._match;
  79129. t3 = t2[2];
  79130. if (t3 != null) {
  79131. t3 = t3;
  79132. t3.toString;
  79133. t2 = t2[1];
  79134. t2.toString;
  79135. t2 = A.stringReplaceAllUnchecked(t2, "<anonymous>", _s4_);
  79136. t2 = A.stringReplaceAllUnchecked(t2, "Anonymous function", _s4_);
  79137. return t1.call$2(t3, A.stringReplaceAllUnchecked(t2, "(anonymous function)", _s4_));
  79138. } else {
  79139. t2 = t2[3];
  79140. t2.toString;
  79141. return t1.call$2(t2, _s4_);
  79142. }
  79143. },
  79144. $signature: 71
  79145. };
  79146. A.Frame_Frame$parseV8_closure_parseLocation.prototype = {
  79147. call$2($location, member) {
  79148. var t2, urlMatch, uri, line, columnMatch, _null = null,
  79149. t1 = $.$get$_v8EvalLocation(),
  79150. evalMatch = t1.firstMatch$1($location);
  79151. for (; evalMatch != null; $location = t2) {
  79152. t2 = evalMatch._match[1];
  79153. t2.toString;
  79154. evalMatch = t1.firstMatch$1(t2);
  79155. }
  79156. if ($location === "native")
  79157. return new A.Frame(A.Uri_parse("native"), _null, _null, member);
  79158. urlMatch = $.$get$_v8UrlLocation().firstMatch$1($location);
  79159. if (urlMatch == null)
  79160. return new A.UnparsedFrame(A._Uri__Uri(_null, "unparsed", _null, _null), this.frame);
  79161. t1 = urlMatch._match;
  79162. t2 = t1[1];
  79163. t2.toString;
  79164. uri = A.Frame__uriOrPathToUri(t2);
  79165. t2 = t1[2];
  79166. t2.toString;
  79167. line = A.int_parse(t2, _null);
  79168. columnMatch = t1[3];
  79169. return new A.Frame(uri, line, columnMatch != null ? A.int_parse(columnMatch, _null) : _null, member);
  79170. },
  79171. $signature: 290
  79172. };
  79173. A.Frame_Frame$_parseFirefoxEval_closure.prototype = {
  79174. call$0() {
  79175. var t2, member, uri, line, _null = null,
  79176. t1 = this.frame,
  79177. match = $.$get$_firefoxEvalLocation().firstMatch$1(t1);
  79178. if (match == null)
  79179. return new A.UnparsedFrame(A._Uri__Uri(_null, "unparsed", _null, _null), t1);
  79180. t1 = match._match;
  79181. t2 = t1[1];
  79182. t2.toString;
  79183. member = A.stringReplaceAllUnchecked(t2, "/<", "");
  79184. t2 = t1[2];
  79185. t2.toString;
  79186. uri = A.Frame__uriOrPathToUri(t2);
  79187. t1 = t1[3];
  79188. t1.toString;
  79189. line = A.int_parse(t1, _null);
  79190. return new A.Frame(uri, line, _null, member.length === 0 || member === "anonymous" ? "<fn>" : member);
  79191. },
  79192. $signature: 71
  79193. };
  79194. A.Frame_Frame$parseFirefox_closure.prototype = {
  79195. call$0() {
  79196. var t2, t3, t4, uri, member, line, column, _null = null,
  79197. t1 = this.frame,
  79198. match = $.$get$_firefoxSafariFrame().firstMatch$1(t1);
  79199. if (match == null)
  79200. return new A.UnparsedFrame(A._Uri__Uri(_null, "unparsed", _null, _null), t1);
  79201. t2 = match._match;
  79202. t3 = t2[3];
  79203. t4 = t3;
  79204. t4.toString;
  79205. if (B.JSString_methods.contains$1(t4, " line "))
  79206. return A.Frame_Frame$_parseFirefoxEval(t1);
  79207. t1 = t3;
  79208. t1.toString;
  79209. uri = A.Frame__uriOrPathToUri(t1);
  79210. member = t2[1];
  79211. if (member != null) {
  79212. t1 = t2[2];
  79213. t1.toString;
  79214. member += B.JSArray_methods.join$0(A.List_List$filled(B.JSString_methods.allMatches$1("/", t1).get$length(0), ".<fn>", false, type$.String));
  79215. if (member === "")
  79216. member = "<fn>";
  79217. member = B.JSString_methods.replaceFirst$2(member, $.$get$_initialDot(), "");
  79218. } else
  79219. member = "<fn>";
  79220. t1 = t2[4];
  79221. if (t1 === "")
  79222. line = _null;
  79223. else {
  79224. t1 = t1;
  79225. t1.toString;
  79226. line = A.int_parse(t1, _null);
  79227. }
  79228. t1 = t2[5];
  79229. if (t1 == null || t1 === "")
  79230. column = _null;
  79231. else {
  79232. t1 = t1;
  79233. t1.toString;
  79234. column = A.int_parse(t1, _null);
  79235. }
  79236. return new A.Frame(uri, line, column, member);
  79237. },
  79238. $signature: 71
  79239. };
  79240. A.Frame_Frame$parseFriendly_closure.prototype = {
  79241. call$0() {
  79242. var t2, uri, line, column, _null = null,
  79243. t1 = this.frame,
  79244. match = $.$get$_friendlyFrame().firstMatch$1(t1);
  79245. if (match == null)
  79246. throw A.wrapException(A.FormatException$("Couldn't parse package:stack_trace stack trace line '" + t1 + "'.", _null, _null));
  79247. t1 = match._match;
  79248. t2 = t1[1];
  79249. if (t2 === "data:...")
  79250. uri = A.Uri_Uri$dataFromString("", _null, _null);
  79251. else {
  79252. t2 = t2;
  79253. t2.toString;
  79254. uri = A.Uri_parse(t2);
  79255. }
  79256. if (uri.get$scheme() === "") {
  79257. t2 = $.$get$context();
  79258. 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));
  79259. }
  79260. t2 = t1[2];
  79261. if (t2 == null)
  79262. line = _null;
  79263. else {
  79264. t2 = t2;
  79265. t2.toString;
  79266. line = A.int_parse(t2, _null);
  79267. }
  79268. t2 = t1[3];
  79269. if (t2 == null)
  79270. column = _null;
  79271. else {
  79272. t2 = t2;
  79273. t2.toString;
  79274. column = A.int_parse(t2, _null);
  79275. }
  79276. return new A.Frame(uri, line, column, t1[4]);
  79277. },
  79278. $signature: 71
  79279. };
  79280. A.LazyTrace.prototype = {
  79281. get$_lazy_trace$_trace() {
  79282. var result, _this = this,
  79283. value = _this.__LazyTrace__trace_FI;
  79284. if (value === $) {
  79285. result = _this._thunk.call$0();
  79286. _this.__LazyTrace__trace_FI !== $ && A.throwUnnamedLateFieldADI();
  79287. _this.__LazyTrace__trace_FI = result;
  79288. value = result;
  79289. }
  79290. return value;
  79291. },
  79292. get$frames() {
  79293. return this.get$_lazy_trace$_trace().get$frames();
  79294. },
  79295. get$terse() {
  79296. return new A.LazyTrace(new A.LazyTrace_terse_closure(this));
  79297. },
  79298. toString$0(_) {
  79299. return this.get$_lazy_trace$_trace().toString$0(0);
  79300. },
  79301. $isStackTrace: 1,
  79302. $isTrace: 1
  79303. };
  79304. A.LazyTrace_terse_closure.prototype = {
  79305. call$0() {
  79306. return this.$this.get$_lazy_trace$_trace().get$terse();
  79307. },
  79308. $signature: 261
  79309. };
  79310. A.Trace.prototype = {
  79311. get$terse() {
  79312. return this.foldFrames$2$terse(new A.Trace_terse_closure(), true);
  79313. },
  79314. foldFrames$2$terse(predicate, terse) {
  79315. var newFrames, t1, t2, t3, _box_0 = {};
  79316. _box_0.predicate = predicate;
  79317. _box_0.predicate = new A.Trace_foldFrames_closure(predicate);
  79318. newFrames = A._setArrayType([], type$.JSArray_Frame);
  79319. 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();) {
  79320. t3 = t1.__internal$_current;
  79321. if (t3 == null)
  79322. t3 = t2._as(t3);
  79323. if (t3 instanceof A.UnparsedFrame || !_box_0.predicate.call$1(t3))
  79324. newFrames.push(t3);
  79325. else if (newFrames.length === 0 || !_box_0.predicate.call$1(B.JSArray_methods.get$last(newFrames)))
  79326. newFrames.push(new A.Frame(t3.get$uri(), t3.get$line(), t3.get$column(), t3.get$member()));
  79327. }
  79328. t1 = type$.MappedListIterable_Frame_Frame;
  79329. newFrames = A.List_List$of(new A.MappedListIterable(newFrames, new A.Trace_foldFrames_closure0(_box_0), t1), true, t1._eval$1("ListIterable.E"));
  79330. if (newFrames.length > 1 && _box_0.predicate.call$1(B.JSArray_methods.get$first(newFrames)))
  79331. B.JSArray_methods.removeAt$1(newFrames, 0);
  79332. return A.Trace$(new A.ReversedListIterable(newFrames, A._arrayInstanceType(newFrames)._eval$1("ReversedListIterable<1>")), this.original._stackTrace);
  79333. },
  79334. toString$0(_) {
  79335. var t1 = this.frames,
  79336. t2 = A._arrayInstanceType(t1);
  79337. 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);
  79338. },
  79339. $isStackTrace: 1,
  79340. get$frames() {
  79341. return this.frames;
  79342. }
  79343. };
  79344. A.Trace_Trace$from_closure.prototype = {
  79345. call$0() {
  79346. return A.Trace_Trace$parse(this.trace.toString$0(0));
  79347. },
  79348. $signature: 261
  79349. };
  79350. A.Trace__parseVM_closure.prototype = {
  79351. call$1(line) {
  79352. return line.length !== 0;
  79353. },
  79354. $signature: 4
  79355. };
  79356. A.Trace$parseV8_closure.prototype = {
  79357. call$1(line) {
  79358. return !B.JSString_methods.startsWith$1(line, $.$get$_v8TraceLine());
  79359. },
  79360. $signature: 4
  79361. };
  79362. A.Trace$parseJSCore_closure.prototype = {
  79363. call$1(line) {
  79364. return line !== "\tat ";
  79365. },
  79366. $signature: 4
  79367. };
  79368. A.Trace$parseFirefox_closure.prototype = {
  79369. call$1(line) {
  79370. return line.length !== 0 && line !== "[native code]";
  79371. },
  79372. $signature: 4
  79373. };
  79374. A.Trace$parseFriendly_closure.prototype = {
  79375. call$1(line) {
  79376. return !B.JSString_methods.startsWith$1(line, "=====");
  79377. },
  79378. $signature: 4
  79379. };
  79380. A.Trace_terse_closure.prototype = {
  79381. call$1(_) {
  79382. return false;
  79383. },
  79384. $signature: 260
  79385. };
  79386. A.Trace_foldFrames_closure.prototype = {
  79387. call$1(frame) {
  79388. var t1;
  79389. if (this.oldPredicate.call$1(frame))
  79390. return true;
  79391. if (frame.get$isCore())
  79392. return true;
  79393. if (frame.get$$package() === "stack_trace")
  79394. return true;
  79395. t1 = frame.get$member();
  79396. t1.toString;
  79397. if (!B.JSString_methods.contains$1(t1, "<async>"))
  79398. return false;
  79399. return frame.get$line() == null;
  79400. },
  79401. $signature: 260
  79402. };
  79403. A.Trace_foldFrames_closure0.prototype = {
  79404. call$1(frame) {
  79405. var t1, t2;
  79406. if (frame instanceof A.UnparsedFrame || !this._box_0.predicate.call$1(frame))
  79407. return frame;
  79408. t1 = frame.get$library();
  79409. t2 = $.$get$_terseRegExp();
  79410. return new A.Frame(A.Uri_parse(A.stringReplaceAllUnchecked(t1, t2, "")), null, null, frame.get$member());
  79411. },
  79412. $signature: 293
  79413. };
  79414. A.Trace_toString_closure0.prototype = {
  79415. call$1(frame) {
  79416. return frame.get$location().length;
  79417. },
  79418. $signature: 264
  79419. };
  79420. A.Trace_toString_closure.prototype = {
  79421. call$1(frame) {
  79422. if (frame instanceof A.UnparsedFrame)
  79423. return frame.toString$0(0) + "\n";
  79424. return B.JSString_methods.padRight$1(frame.get$location(), this.longest) + " " + A.S(frame.get$member()) + "\n";
  79425. },
  79426. $signature: 263
  79427. };
  79428. A.UnparsedFrame.prototype = {
  79429. toString$0(_) {
  79430. return this.member;
  79431. },
  79432. $isFrame: 1,
  79433. get$uri() {
  79434. return this.uri;
  79435. },
  79436. get$line() {
  79437. return null;
  79438. },
  79439. get$column() {
  79440. return null;
  79441. },
  79442. get$isCore() {
  79443. return false;
  79444. },
  79445. get$library() {
  79446. return "unparsed";
  79447. },
  79448. get$$package() {
  79449. return null;
  79450. },
  79451. get$location() {
  79452. return "unparsed";
  79453. },
  79454. get$member() {
  79455. return this.member;
  79456. }
  79457. };
  79458. A.TransformByHandlers_transformByHandlers_closure.prototype = {
  79459. call$0() {
  79460. var t2, subscription, t3, t4, _this = this, t1 = {};
  79461. t1.valuesDone = false;
  79462. t2 = _this.controller;
  79463. subscription = _this._this.listen$3$onDone$onError(0, new A.TransformByHandlers_transformByHandlers__closure(_this.handleData, t2, _this.S), new A.TransformByHandlers_transformByHandlers__closure0(t1, _this.handleDone, t2), new A.TransformByHandlers_transformByHandlers__closure1(_this.handleError, t2));
  79464. t3 = _this._box_1;
  79465. t3.subscription = subscription;
  79466. t2.set$onPause(subscription.get$pause(subscription));
  79467. t4 = t3.subscription;
  79468. t2.set$onResume(t4.get$resume(t4));
  79469. t2.set$onCancel(new A.TransformByHandlers_transformByHandlers__closure2(t3, t1));
  79470. },
  79471. $signature: 0
  79472. };
  79473. A.TransformByHandlers_transformByHandlers__closure.prototype = {
  79474. call$1(value) {
  79475. return this.handleData.call$2(value, this.controller);
  79476. },
  79477. $signature() {
  79478. return this.S._eval$1("~(0)");
  79479. }
  79480. };
  79481. A.TransformByHandlers_transformByHandlers__closure1.prototype = {
  79482. call$2(error, stackTrace) {
  79483. this.handleError.call$3(error, stackTrace, this.controller);
  79484. },
  79485. $signature: 53
  79486. };
  79487. A.TransformByHandlers_transformByHandlers__closure0.prototype = {
  79488. call$0() {
  79489. this._box_0.valuesDone = true;
  79490. this.handleDone.call$1(this.controller);
  79491. },
  79492. $signature: 0
  79493. };
  79494. A.TransformByHandlers_transformByHandlers__closure2.prototype = {
  79495. call$0() {
  79496. var t1 = this._box_1,
  79497. toCancel = t1.subscription;
  79498. t1.subscription = null;
  79499. if (!this._box_0.valuesDone)
  79500. return toCancel.cancel$0();
  79501. return null;
  79502. },
  79503. $signature: 191
  79504. };
  79505. A.RateLimit__debounceAggregate_closure.prototype = {
  79506. call$2(value, sink) {
  79507. var _this = this,
  79508. t1 = _this._box_0,
  79509. t2 = new A.RateLimit__debounceAggregate_closure_emit(t1, sink, _this.S),
  79510. t3 = t1.timer;
  79511. if (t3 != null)
  79512. t3.cancel$0();
  79513. t1.soFar = _this.collect.call$2(value, t1.soFar);
  79514. t1.hasPending = true;
  79515. if (t1.timer == null && _this.leading) {
  79516. t1.emittedLatestAsLeading = true;
  79517. t2.call$0();
  79518. } else
  79519. t1.emittedLatestAsLeading = false;
  79520. t1.timer = A.Timer_Timer(_this.duration, new A.RateLimit__debounceAggregate__closure(t1, _this.trailing, t2, sink));
  79521. },
  79522. $signature() {
  79523. return this.T._eval$1("@<0>")._bind$1(this.S)._eval$1("~(1,EventSink<2>)");
  79524. }
  79525. };
  79526. A.RateLimit__debounceAggregate_closure_emit.prototype = {
  79527. call$0() {
  79528. var t1 = this._box_0,
  79529. t2 = t1.soFar;
  79530. if (t2 == null)
  79531. t2 = this.S._as(t2);
  79532. this.sink.add$1(0, t2);
  79533. t1.soFar = null;
  79534. t1.hasPending = false;
  79535. },
  79536. $signature: 0
  79537. };
  79538. A.RateLimit__debounceAggregate__closure.prototype = {
  79539. call$0() {
  79540. var t1 = this._box_0,
  79541. t2 = t1.emittedLatestAsLeading;
  79542. if (!t2)
  79543. this.emit.call$0();
  79544. if (t1.shouldClose)
  79545. this.sink.close$0(0);
  79546. t1.timer = null;
  79547. },
  79548. $signature: 0
  79549. };
  79550. A.RateLimit__debounceAggregate_closure0.prototype = {
  79551. call$1(sink) {
  79552. var t1 = this._box_0;
  79553. if (t1.hasPending && this.trailing)
  79554. t1.shouldClose = true;
  79555. else {
  79556. t1 = t1.timer;
  79557. if (t1 != null)
  79558. t1.cancel$0();
  79559. sink.close$0(0);
  79560. }
  79561. },
  79562. $signature() {
  79563. return this.S._eval$1("~(EventSink<0>)");
  79564. }
  79565. };
  79566. A.StringScannerException.prototype = {
  79567. get$source() {
  79568. return A._asString(this.source);
  79569. }
  79570. };
  79571. A.LineScanner.prototype = {
  79572. scanChar$1(character) {
  79573. if (!this.super$StringScanner$scanChar(character))
  79574. return false;
  79575. this._adjustLineAndColumn$1(character);
  79576. return true;
  79577. },
  79578. readChar$0() {
  79579. var character = this.super$StringScanner$readChar();
  79580. this._adjustLineAndColumn$1(character);
  79581. return character;
  79582. },
  79583. _adjustLineAndColumn$1(character) {
  79584. var t1, _this = this;
  79585. if (character !== 10)
  79586. t1 = character === 13 && _this.peekChar$0() !== 10;
  79587. else
  79588. t1 = true;
  79589. if (t1) {
  79590. ++_this._line_scanner$_line;
  79591. _this._line_scanner$_column = 0;
  79592. } else {
  79593. t1 = _this._line_scanner$_column;
  79594. _this._line_scanner$_column = t1 + (character >= 65536 && character <= 1114111 ? 2 : 1);
  79595. }
  79596. },
  79597. scan$1(pattern) {
  79598. var t1, newlines, t2, _this = this;
  79599. if (!_this.super$StringScanner$scan(pattern))
  79600. return false;
  79601. t1 = _this.get$lastMatch();
  79602. newlines = _this._newlinesIn$1(t1.pattern);
  79603. t1 = _this._line_scanner$_line;
  79604. t2 = newlines.length;
  79605. _this._line_scanner$_line = t1 + t2;
  79606. if (t2 === 0) {
  79607. t1 = _this._line_scanner$_column;
  79608. t2 = _this.get$lastMatch();
  79609. _this._line_scanner$_column = t1 + t2.pattern.length;
  79610. } else {
  79611. t1 = _this.get$lastMatch();
  79612. _this._line_scanner$_column = t1.pattern.length - J.get$end$z(B.JSArray_methods.get$last(newlines));
  79613. }
  79614. return true;
  79615. },
  79616. _newlinesIn$1(text) {
  79617. var t1 = $.$get$_newlineRegExp().allMatches$1(0, text),
  79618. newlines = A.List_List$of(t1, true, A._instanceType(t1)._eval$1("Iterable.E"));
  79619. if (this.peekChar$1(-1) === 13 && this.peekChar$0() === 10)
  79620. B.JSArray_methods.removeLast$0(newlines);
  79621. return newlines;
  79622. }
  79623. };
  79624. A.SpanScanner.prototype = {
  79625. set$state(state) {
  79626. if (state._scanner !== this)
  79627. throw A.wrapException(A.ArgumentError$(string$.The_gi, null));
  79628. this.set$position(state.position);
  79629. },
  79630. spanFrom$2(startState, endState) {
  79631. var endPosition = endState == null ? this._string_scanner$_position : endState.position;
  79632. return this._sourceFile.span$2(0, startState.position, endPosition);
  79633. },
  79634. spanFrom$1(startState) {
  79635. return this.spanFrom$2(startState, null);
  79636. },
  79637. matches$1(pattern) {
  79638. var t1, t2, _this = this;
  79639. if (!_this.super$StringScanner$matches(pattern))
  79640. return false;
  79641. t1 = _this._string_scanner$_position;
  79642. t2 = _this.get$lastMatch();
  79643. _this._sourceFile.span$2(0, t1, t2.start + t2.pattern.length);
  79644. return true;
  79645. },
  79646. error$3$length$position(_, message, $length, position) {
  79647. var match, t2, _this = this,
  79648. t1 = _this.string;
  79649. A.validateErrorArgs(t1, null, position, $length);
  79650. match = position == null && $length == null ? _this.get$lastMatch() : null;
  79651. if (position == null)
  79652. position = match == null ? _this._string_scanner$_position : match.start;
  79653. if ($length == null)
  79654. if (match == null)
  79655. $length = 0;
  79656. else {
  79657. t2 = match.start;
  79658. $length = t2 + match.pattern.length - t2;
  79659. }
  79660. throw A.wrapException(A.StringScannerException$(message, _this._sourceFile.span$2(0, position, position + $length), t1));
  79661. },
  79662. error$1(_, message) {
  79663. return this.error$3$length$position(0, message, null, null);
  79664. },
  79665. error$2$position(_, message, position) {
  79666. return this.error$3$length$position(0, message, null, position);
  79667. },
  79668. error$2$length(_, message, $length) {
  79669. return this.error$3$length$position(0, message, $length, null);
  79670. }
  79671. };
  79672. A._SpanScannerState.prototype = {};
  79673. A.StringScanner.prototype = {
  79674. set$position(position) {
  79675. if (B.JSInt_methods.get$isNegative(position) || position > this.string.length)
  79676. throw A.wrapException(A.ArgumentError$("Invalid position " + position, null));
  79677. this._string_scanner$_position = position;
  79678. this._lastMatch = null;
  79679. },
  79680. get$lastMatch() {
  79681. var _this = this;
  79682. if (_this._string_scanner$_position !== _this._lastMatchPosition)
  79683. _this._lastMatch = null;
  79684. return _this._lastMatch;
  79685. },
  79686. readChar$0() {
  79687. var _this = this,
  79688. t1 = _this.string;
  79689. if (_this._string_scanner$_position === t1.length)
  79690. _this._fail$1("more input");
  79691. return t1.charCodeAt(_this._string_scanner$_position++);
  79692. },
  79693. peekChar$1(offset) {
  79694. var index;
  79695. if (offset == null)
  79696. offset = 0;
  79697. index = this._string_scanner$_position + offset;
  79698. if (index < 0 || index >= this.string.length)
  79699. return null;
  79700. return this.string.charCodeAt(index);
  79701. },
  79702. peekChar$0() {
  79703. return this.peekChar$1(null);
  79704. },
  79705. scanChar$1(character) {
  79706. var t1, t2, t3, t4, _this = this;
  79707. if (character >= 65536 && character <= 1114111) {
  79708. t1 = _this._string_scanner$_position;
  79709. t2 = t1 + 1;
  79710. t3 = _this.string;
  79711. if (t2 < t3.length) {
  79712. t4 = character - 65536;
  79713. t2 = t3.charCodeAt(t1) !== B.JSInt_methods._shrOtherPositive$1(t4, 10) + 55296 || t3.charCodeAt(t2) !== (t4 & 1023) + 56320;
  79714. } else
  79715. t2 = true;
  79716. if (t2)
  79717. return false;
  79718. else {
  79719. _this._string_scanner$_position = t1 + 2;
  79720. return true;
  79721. }
  79722. } else {
  79723. t1 = _this._string_scanner$_position;
  79724. t2 = _this.string;
  79725. if (t1 === t2.length)
  79726. return false;
  79727. if (t2.charCodeAt(t1) !== character)
  79728. return false;
  79729. _this._string_scanner$_position = t1 + 1;
  79730. return true;
  79731. }
  79732. },
  79733. expectChar$2$name(character, $name) {
  79734. if (this.scanChar$1(character))
  79735. return;
  79736. if ($name == null)
  79737. if (character === 92)
  79738. $name = '"\\"';
  79739. else
  79740. $name = character === 34 ? '"\\""' : '"' + A.Primitives_stringFromCharCode(character) + '"';
  79741. this._fail$1($name);
  79742. },
  79743. expectChar$1(character) {
  79744. return this.expectChar$2$name(character, null);
  79745. },
  79746. scan$1(pattern) {
  79747. var t1, _this = this,
  79748. success = _this.matches$1(pattern);
  79749. if (success) {
  79750. t1 = _this._lastMatch;
  79751. _this._lastMatchPosition = _this._string_scanner$_position = t1.start + t1.pattern.length;
  79752. }
  79753. return success;
  79754. },
  79755. expect$1(pattern) {
  79756. var t1, $name;
  79757. if (this.scan$1(pattern))
  79758. return;
  79759. t1 = A.stringReplaceAllUnchecked(pattern, "\\", "\\\\");
  79760. $name = '"' + A.stringReplaceAllUnchecked(t1, '"', '\\"') + '"';
  79761. this._fail$1($name);
  79762. },
  79763. expectDone$0() {
  79764. if (this._string_scanner$_position === this.string.length)
  79765. return;
  79766. this._fail$1("no more input");
  79767. },
  79768. matches$1(pattern) {
  79769. var _this = this,
  79770. t1 = B.JSString_methods.matchAsPrefix$2(pattern, _this.string, _this._string_scanner$_position);
  79771. _this._lastMatch = t1;
  79772. _this._lastMatchPosition = _this._string_scanner$_position;
  79773. return t1 != null;
  79774. },
  79775. substring$1(_, start) {
  79776. var end = this._string_scanner$_position;
  79777. return B.JSString_methods.substring$2(this.string, start, end);
  79778. },
  79779. error$3$length$position(_, message, $length, position) {
  79780. var match, t2, _this = this,
  79781. t1 = _this.string;
  79782. A.validateErrorArgs(t1, null, position, $length);
  79783. match = position == null && $length == null ? _this.get$lastMatch() : null;
  79784. if (position == null)
  79785. position = match == null ? _this._string_scanner$_position : match.start;
  79786. if ($length == null)
  79787. if (match == null)
  79788. $length = 0;
  79789. else {
  79790. t2 = match.start;
  79791. $length = t2 + match.pattern.length - t2;
  79792. }
  79793. throw A.wrapException(A.StringScannerException$(message, A.SourceFile$fromString(t1, _this.sourceUrl).span$2(0, position, position + $length), t1));
  79794. },
  79795. error$1(_, message) {
  79796. return this.error$3$length$position(0, message, null, null);
  79797. },
  79798. _fail$1($name) {
  79799. this.error$3$length$position(0, "expected " + $name + ".", 0, this._string_scanner$_position);
  79800. }
  79801. };
  79802. A.AsciiGlyphSet.prototype = {
  79803. glyphOrAscii$2(glyph, alternative) {
  79804. return alternative;
  79805. },
  79806. get$horizontalLine() {
  79807. return "-";
  79808. },
  79809. get$verticalLine() {
  79810. return "|";
  79811. },
  79812. get$topLeftCorner() {
  79813. return ",";
  79814. },
  79815. get$bottomLeftCorner() {
  79816. return "'";
  79817. },
  79818. get$cross() {
  79819. return "+";
  79820. },
  79821. get$upEnd() {
  79822. return "'";
  79823. },
  79824. get$downEnd() {
  79825. return ",";
  79826. },
  79827. get$horizontalLineBold() {
  79828. return "=";
  79829. }
  79830. };
  79831. A.UnicodeGlyphSet.prototype = {
  79832. glyphOrAscii$2(glyph, alternative) {
  79833. return glyph;
  79834. },
  79835. get$horizontalLine() {
  79836. return "\u2500";
  79837. },
  79838. get$verticalLine() {
  79839. return "\u2502";
  79840. },
  79841. get$topLeftCorner() {
  79842. return "\u250c";
  79843. },
  79844. get$bottomLeftCorner() {
  79845. return "\u2514";
  79846. },
  79847. get$cross() {
  79848. return "\u253c";
  79849. },
  79850. get$upEnd() {
  79851. return "\u2575";
  79852. },
  79853. get$downEnd() {
  79854. return "\u2577";
  79855. },
  79856. get$horizontalLineBold() {
  79857. return "\u2501";
  79858. }
  79859. };
  79860. A.WatchEvent.prototype = {
  79861. toString$0(_) {
  79862. return this.type.toString$0(0) + " " + this.path;
  79863. }
  79864. };
  79865. A.ChangeType.prototype = {
  79866. toString$0(_) {
  79867. return this._watch_event$_name;
  79868. }
  79869. };
  79870. A.AnySelectorVisitor0.prototype = {
  79871. visitComplexSelector$1(complex) {
  79872. return B.JSArray_methods.any$1(complex.components, new A.AnySelectorVisitor_visitComplexSelector_closure0(this));
  79873. },
  79874. visitCompoundSelector$1(compound) {
  79875. return B.JSArray_methods.any$1(compound.components, new A.AnySelectorVisitor_visitCompoundSelector_closure0(this));
  79876. },
  79877. visitPseudoSelector$1(pseudo) {
  79878. var selector = pseudo.selector;
  79879. return selector == null ? false : this.visitSelectorList$1(selector);
  79880. },
  79881. visitSelectorList$1(list) {
  79882. return B.JSArray_methods.any$1(list.components, this.get$visitComplexSelector());
  79883. },
  79884. visitAttributeSelector$1(attribute) {
  79885. return false;
  79886. },
  79887. visitClassSelector$1(klass) {
  79888. return false;
  79889. },
  79890. visitIDSelector$1(id) {
  79891. return false;
  79892. },
  79893. visitParentSelector$1($parent) {
  79894. return false;
  79895. },
  79896. visitPlaceholderSelector$1(placeholder) {
  79897. return false;
  79898. },
  79899. visitTypeSelector$1(type) {
  79900. return false;
  79901. },
  79902. visitUniversalSelector$1(universal) {
  79903. return false;
  79904. }
  79905. };
  79906. A.AnySelectorVisitor_visitComplexSelector_closure0.prototype = {
  79907. call$1(component) {
  79908. return this.$this.visitCompoundSelector$1(component.selector);
  79909. },
  79910. $signature: 51
  79911. };
  79912. A.AnySelectorVisitor_visitCompoundSelector_closure0.prototype = {
  79913. call$1(simple) {
  79914. return simple.accept$1(this.$this);
  79915. },
  79916. $signature: 15
  79917. };
  79918. A.SupportsAnything0.prototype = {
  79919. toString$0(_) {
  79920. return "(" + this.contents.toString$0(0) + ")";
  79921. },
  79922. $isAstNode0: 1,
  79923. get$span(receiver) {
  79924. return this.span;
  79925. }
  79926. };
  79927. A.Argument0.prototype = {
  79928. toString$0(_) {
  79929. var t1 = this.defaultValue,
  79930. t2 = this.name;
  79931. return t1 == null ? t2 : t2 + ": " + t1.toString$0(0);
  79932. },
  79933. $isAstNode0: 1,
  79934. get$span(receiver) {
  79935. return this.span;
  79936. }
  79937. };
  79938. A.ArgumentDeclaration0.prototype = {
  79939. get$spanWithName() {
  79940. var t3, t4,
  79941. t1 = this.span,
  79942. t2 = t1.file,
  79943. text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2._decodedChars, 0, null), 0, null),
  79944. i = A.FileLocation$_(t2, t1._file$_start).offset - 1;
  79945. while (true) {
  79946. if (i > 0) {
  79947. t3 = text.charCodeAt(i);
  79948. t3 = t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12;
  79949. } else
  79950. t3 = false;
  79951. if (!t3)
  79952. break;
  79953. --i;
  79954. }
  79955. t3 = text.charCodeAt(i);
  79956. if (!(t3 === 95 || A.CharacterExtension_get_isAlphabetic0(t3) || t3 >= 128))
  79957. t3 = t3 >= 48 && t3 <= 57 || t3 === 45;
  79958. else
  79959. t3 = true;
  79960. if (!t3)
  79961. return t1;
  79962. --i;
  79963. while (true) {
  79964. if (i >= 0) {
  79965. t3 = text.charCodeAt(i);
  79966. if (t3 !== 95) {
  79967. if (!(t3 >= 97 && t3 <= 122))
  79968. t4 = t3 >= 65 && t3 <= 90;
  79969. else
  79970. t4 = true;
  79971. t4 = t4 || t3 >= 128;
  79972. } else
  79973. t4 = true;
  79974. if (!t4)
  79975. t3 = t3 >= 48 && t3 <= 57 || t3 === 45;
  79976. else
  79977. t3 = true;
  79978. } else
  79979. t3 = false;
  79980. if (!t3)
  79981. break;
  79982. --i;
  79983. }
  79984. t3 = i + 1;
  79985. t4 = text.charCodeAt(t3);
  79986. if (!(t4 === 95 || A.CharacterExtension_get_isAlphabetic0(t4) || t4 >= 128))
  79987. return t1;
  79988. return A.SpanExtensions_trimRight0(A.SpanExtensions_trimLeft0(t2.span$2(0, t3, A.FileLocation$_(t2, t1._end).offset)));
  79989. },
  79990. verify$2(positional, names) {
  79991. var t1, t2, t3, namedUsed, i, argument, t4, unknownNames, _this = this,
  79992. _s10_ = "invocation",
  79993. _s8_ = "argument";
  79994. for (t1 = _this.$arguments, t2 = t1.length, t3 = names._baseMap, namedUsed = 0, i = 0; i < t2; ++i) {
  79995. argument = t1[i];
  79996. if (i < positional) {
  79997. t4 = argument.name;
  79998. if (t3.containsKey$1(t4))
  79999. throw A.wrapException(A.SassScriptException$0("Argument " + _this._argument_declaration$_originalArgumentName$1(t4) + string$.x20was_p, null));
  80000. } else {
  80001. t4 = argument.name;
  80002. if (t3.containsKey$1(t4))
  80003. ++namedUsed;
  80004. else if (argument.defaultValue == null)
  80005. throw A.wrapException(A.MultiSpanSassScriptException$0("Missing argument " + _this._argument_declaration$_originalArgumentName$1(t4) + ".", _s10_, A.LinkedHashMap_LinkedHashMap$_literal([_this.get$spanWithName(), "declaration"], type$.FileSpan, type$.String)));
  80006. }
  80007. }
  80008. if (_this.restArgument != null)
  80009. return;
  80010. if (positional > t2) {
  80011. t1 = names.get$isEmpty(0) ? "" : "positional ";
  80012. throw A.wrapException(A.MultiSpanSassScriptException$0("Only " + t2 + " " + t1 + A.pluralize0(_s8_, t2, null) + " allowed, but " + positional + " " + A.pluralize0("was", positional, "were") + " passed.", _s10_, A.LinkedHashMap_LinkedHashMap$_literal([_this.get$spanWithName(), "declaration"], type$.FileSpan, type$.String)));
  80013. }
  80014. if (namedUsed < t3.get$length(t3)) {
  80015. t2 = type$.String;
  80016. unknownNames = A.LinkedHashSet_LinkedHashSet$of(names, t2);
  80017. unknownNames.removeAll$1(new A.MappedListIterable(t1, new A.ArgumentDeclaration_verify_closure1(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Object?>")));
  80018. throw A.wrapException(A.MultiSpanSassScriptException$0("No " + A.pluralize0(_s8_, unknownNames._collection$_length, null) + " named " + A.toSentence0(unknownNames.map$1$1(0, new A.ArgumentDeclaration_verify_closure2(), type$.Object), "or") + ".", _s10_, A.LinkedHashMap_LinkedHashMap$_literal([_this.get$spanWithName(), "declaration"], type$.FileSpan, t2)));
  80019. }
  80020. },
  80021. _argument_declaration$_originalArgumentName$1($name) {
  80022. var t1, text, t2, _i, argument, t3, t4, end, _null = null;
  80023. if ($name === this.restArgument) {
  80024. t1 = this.span;
  80025. text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.file._decodedChars, t1._file$_start, t1._end), 0, _null);
  80026. 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, "."));
  80027. }
  80028. for (t1 = this.$arguments, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  80029. argument = t1[_i];
  80030. if (argument.name === $name) {
  80031. t1 = argument.defaultValue;
  80032. t2 = argument.span;
  80033. t3 = t2.file;
  80034. t4 = t2._file$_start;
  80035. t2 = t2._end;
  80036. if (t1 == null) {
  80037. t1 = t3._decodedChars;
  80038. t1 = A.String_String$fromCharCodes(new Uint32Array(t1.subarray(t4, A._checkValidRange(t4, t2, t1.length))), 0, _null);
  80039. } else {
  80040. t1 = t3._decodedChars;
  80041. text = A.String_String$fromCharCodes(new Uint32Array(t1.subarray(t4, A._checkValidRange(t4, t2, t1.length))), 0, _null);
  80042. t1 = B.JSString_methods.substring$2(text, 0, B.JSString_methods.indexOf$1(text, ":"));
  80043. end = A._lastNonWhitespace0(t1, false);
  80044. t1 = end == null ? "" : B.JSString_methods.substring$2(t1, 0, end + 1);
  80045. }
  80046. return t1;
  80047. }
  80048. }
  80049. throw A.wrapException(A.ArgumentError$(string$.This_d + $name + '".', _null));
  80050. },
  80051. matches$2(positional, names) {
  80052. var t1, t2, t3, namedUsed, i, argument;
  80053. for (t1 = this.$arguments, t2 = t1.length, t3 = names._baseMap, namedUsed = 0, i = 0; i < t2; ++i) {
  80054. argument = t1[i];
  80055. if (i < positional) {
  80056. if (t3.containsKey$1(argument.name))
  80057. return false;
  80058. } else if (t3.containsKey$1(argument.name))
  80059. ++namedUsed;
  80060. else if (argument.defaultValue == null)
  80061. return false;
  80062. }
  80063. if (this.restArgument != null)
  80064. return true;
  80065. if (positional > t2)
  80066. return false;
  80067. if (namedUsed < t3.get$length(t3))
  80068. return false;
  80069. return true;
  80070. },
  80071. toString$0(_) {
  80072. var t2, t3, _i,
  80073. t1 = A._setArrayType([], type$.JSArray_String);
  80074. for (t2 = this.$arguments, t3 = t2.length, _i = 0; _i < t3; ++_i)
  80075. t1.push("$" + A.S(t2[_i]));
  80076. t2 = this.restArgument;
  80077. if (t2 != null)
  80078. t1.push("$" + t2 + "...");
  80079. return B.JSArray_methods.join$1(t1, ", ");
  80080. },
  80081. $isAstNode0: 1,
  80082. get$span(receiver) {
  80083. return this.span;
  80084. }
  80085. };
  80086. A.ArgumentDeclaration_verify_closure1.prototype = {
  80087. call$1(argument) {
  80088. return argument.name;
  80089. },
  80090. $signature: 297
  80091. };
  80092. A.ArgumentDeclaration_verify_closure2.prototype = {
  80093. call$1($name) {
  80094. return "$" + $name;
  80095. },
  80096. $signature: 5
  80097. };
  80098. A.ArgumentInvocation0.prototype = {
  80099. get$isEmpty(_) {
  80100. var t1;
  80101. if (this.positional.length === 0) {
  80102. t1 = this.named;
  80103. t1 = t1.get$isEmpty(t1) && this.rest == null;
  80104. } else
  80105. t1 = false;
  80106. return t1;
  80107. },
  80108. toString$0(_) {
  80109. var t2, t3, _i, _1_0, _2_0, _this = this,
  80110. t1 = A._setArrayType([], type$.JSArray_String);
  80111. for (t2 = _this.positional, t3 = t2.length, _i = 0; _i < t3; ++_i)
  80112. t1.push(_this._argument_invocation$_parenthesizeArgument$1(t2[_i]));
  80113. for (t2 = A.MapExtensions_get_pairs0(_this.named, type$.String, type$.Expression_2), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
  80114. t3 = t2.get$current(t2);
  80115. t1.push("$" + t3._0 + ": " + _this._argument_invocation$_parenthesizeArgument$1(t3._1));
  80116. }
  80117. _1_0 = _this.rest;
  80118. if (_1_0 != null)
  80119. t1.push(_this._argument_invocation$_parenthesizeArgument$1(_1_0) + "...");
  80120. _2_0 = _this.keywordRest;
  80121. if (_2_0 != null)
  80122. t1.push(_this._argument_invocation$_parenthesizeArgument$1(_2_0) + "...");
  80123. return "(" + B.JSArray_methods.join$1(t1, ", ") + ")";
  80124. },
  80125. _argument_invocation$_parenthesizeArgument$1(argument) {
  80126. var t1;
  80127. $label0$0: {
  80128. if (argument instanceof A.ListExpression0 && B.ListSeparator_ECn0 === argument.separator && !argument.hasBrackets && argument.contents.length >= 2) {
  80129. t1 = "(" + argument.toString$0(0) + ")";
  80130. break $label0$0;
  80131. }
  80132. t1 = argument.toString$0(0);
  80133. break $label0$0;
  80134. }
  80135. return t1;
  80136. },
  80137. $isAstNode0: 1,
  80138. get$span(receiver) {
  80139. return this.span;
  80140. }
  80141. };
  80142. A.argumentListClass_closure.prototype = {
  80143. call$0() {
  80144. var t1 = type$.JSClass,
  80145. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassArgumentList", new A.argumentListClass__closure()));
  80146. A.defineGetter(J.get$$prototype$x(jsClass), "keywords", new A.argumentListClass__closure0(), null);
  80147. 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_undecided0).constructor), jsClass);
  80148. return jsClass;
  80149. },
  80150. $signature: 13
  80151. };
  80152. A.argumentListClass__closure.prototype = {
  80153. call$4($self, contents, keywords, separator) {
  80154. var t3,
  80155. t1 = self.immutable.isOrderedMap(contents) ? J.toArray$0$x(type$.ImmutableList._as(contents)) : type$.List_dynamic._as(contents),
  80156. t2 = type$.Value_2;
  80157. t1 = J.cast$1$0$ax(t1, t2);
  80158. t3 = self.immutable.isOrderedMap(keywords) ? A.immutableMapToDartMap(type$.ImmutableMap._as(keywords)) : A.objectToMap(keywords);
  80159. return A.SassArgumentList$0(t1, t3.cast$2$0(0, type$.String, t2), A.jsToDartSeparator(separator));
  80160. },
  80161. call$3($self, contents, keywords) {
  80162. return this.call$4($self, contents, keywords, ",");
  80163. },
  80164. "call*": "call$4",
  80165. $requiredArgCount: 3,
  80166. $defaultValues() {
  80167. return [","];
  80168. },
  80169. $signature: 299
  80170. };
  80171. A.argumentListClass__closure0.prototype = {
  80172. call$1($self) {
  80173. $self._argument_list$_wereKeywordsAccessed = true;
  80174. return A.dartMapToImmutableMap($self._argument_list$_keywords);
  80175. },
  80176. $signature: 300
  80177. };
  80178. A.SassArgumentList0.prototype = {};
  80179. A.JSArray1.prototype = {};
  80180. A.AsyncImporter0.prototype = {
  80181. isNonCanonicalScheme$1(scheme) {
  80182. return false;
  80183. }
  80184. };
  80185. A.JSToDartAsyncImporter.prototype = {
  80186. canonicalize$1(_, url) {
  80187. return this.canonicalize$body$JSToDartAsyncImporter(0, url);
  80188. },
  80189. canonicalize$body$JSToDartAsyncImporter(_, url) {
  80190. var $async$goto = 0,
  80191. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Uri),
  80192. $async$returnValue, $async$self = this, t1, result;
  80193. var $async$canonicalize$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  80194. if ($async$errorCode === 1)
  80195. return A._asyncRethrow($async$result, $async$completer);
  80196. while (true)
  80197. switch ($async$goto) {
  80198. case 0:
  80199. // Function start
  80200. result = A.wrapJSExceptions(new A.JSToDartAsyncImporter_canonicalize_closure($async$self, url));
  80201. $async$goto = result != null && result instanceof self.Promise ? 3 : 4;
  80202. break;
  80203. case 3:
  80204. // then
  80205. $async$goto = 5;
  80206. return A._asyncAwait(A.promiseToFuture(type$.Promise._as(result), type$.nullable_Object), $async$canonicalize$1);
  80207. case 5:
  80208. // returning from await.
  80209. result = $async$result;
  80210. case 4:
  80211. // join
  80212. if (result == null) {
  80213. $async$returnValue = null;
  80214. // goto return
  80215. $async$goto = 1;
  80216. break;
  80217. }
  80218. t1 = self.URL;
  80219. if (result instanceof t1) {
  80220. $async$returnValue = A.Uri_parse(J.toString$0$(type$.JSUrl._as(result)));
  80221. // goto return
  80222. $async$goto = 1;
  80223. break;
  80224. }
  80225. A.jsThrow(new self.Error(string$.The_ca));
  80226. case 1:
  80227. // return
  80228. return A._asyncReturn($async$returnValue, $async$completer);
  80229. }
  80230. });
  80231. return A._asyncStartSync($async$canonicalize$1, $async$completer);
  80232. },
  80233. load$1(_, url) {
  80234. return this.load$body$JSToDartAsyncImporter(0, url);
  80235. },
  80236. load$body$JSToDartAsyncImporter(_, url) {
  80237. var $async$goto = 0,
  80238. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_ImporterResult_2),
  80239. $async$returnValue, $async$self = this, t1, contents, syntax, t2, result;
  80240. var $async$load$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  80241. if ($async$errorCode === 1)
  80242. return A._asyncRethrow($async$result, $async$completer);
  80243. while (true)
  80244. switch ($async$goto) {
  80245. case 0:
  80246. // Function start
  80247. result = A.wrapJSExceptions(new A.JSToDartAsyncImporter_load_closure($async$self, url));
  80248. $async$goto = result != null && result instanceof self.Promise ? 3 : 4;
  80249. break;
  80250. case 3:
  80251. // then
  80252. $async$goto = 5;
  80253. return A._asyncAwait(A.promiseToFuture(type$.Promise._as(result), type$.nullable_Object), $async$load$1);
  80254. case 5:
  80255. // returning from await.
  80256. result = $async$result;
  80257. case 4:
  80258. // join
  80259. if (result == null) {
  80260. $async$returnValue = null;
  80261. // goto return
  80262. $async$goto = 1;
  80263. break;
  80264. }
  80265. type$.JSImporterResult._as(result);
  80266. t1 = J.getInterceptor$x(result);
  80267. contents = t1.get$contents(result);
  80268. if (A._asString(new self.Function("value", "return typeof value").call$1(contents)) !== "string")
  80269. A.jsThrow(new A.ArgumentError(true, contents, "contents", "must be a string but was: " + A.jsType(contents)));
  80270. syntax = t1.get$syntax(result);
  80271. if (contents == null || syntax == null)
  80272. A.jsThrow(new self.Error(string$.The_lo));
  80273. t2 = A.parseSyntax(syntax);
  80274. $async$returnValue = A.ImporterResult$(contents, A.NullableExtension_andThen0(t1.get$sourceMapUrl(result), A.utils1__jsToDartUrl$closure()), t2);
  80275. // goto return
  80276. $async$goto = 1;
  80277. break;
  80278. case 1:
  80279. // return
  80280. return A._asyncReturn($async$returnValue, $async$completer);
  80281. }
  80282. });
  80283. return A._asyncStartSync($async$load$1, $async$completer);
  80284. },
  80285. isNonCanonicalScheme$1(scheme) {
  80286. return this._nonCanonicalSchemes.contains$1(0, scheme);
  80287. }
  80288. };
  80289. A.JSToDartAsyncImporter_canonicalize_closure.prototype = {
  80290. call$0() {
  80291. return this.$this._async0$_canonicalize.call$2(this.url.toString$0(0), A.canonicalizeContext0());
  80292. },
  80293. $signature: 31
  80294. };
  80295. A.JSToDartAsyncImporter_load_closure.prototype = {
  80296. call$0() {
  80297. return this.$this._load.call$1(new self.URL(this.url.toString$0(0)));
  80298. },
  80299. $signature: 31
  80300. };
  80301. A.AsyncBuiltInCallable0.prototype = {
  80302. callbackFor$2(positional, names) {
  80303. return new A._Record_2(this._async_built_in0$_arguments, this._async_built_in0$_callback);
  80304. },
  80305. $isAsyncCallable0: 1,
  80306. get$name(receiver) {
  80307. return this.name;
  80308. },
  80309. get$acceptsContent() {
  80310. return this.acceptsContent;
  80311. }
  80312. };
  80313. A.AsyncBuiltInCallable$mixin_closure0.prototype = {
  80314. call$1($arguments) {
  80315. return this.$call$body$AsyncBuiltInCallable$mixin_closure0($arguments);
  80316. },
  80317. $call$body$AsyncBuiltInCallable$mixin_closure0($arguments) {
  80318. var $async$goto = 0,
  80319. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  80320. $async$returnValue, $async$self = this, t1;
  80321. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  80322. if ($async$errorCode === 1)
  80323. return A._asyncRethrow($async$result, $async$completer);
  80324. while (true)
  80325. switch ($async$goto) {
  80326. case 0:
  80327. // Function start
  80328. t1 = $async$self.callback.call$1($arguments);
  80329. $async$goto = 3;
  80330. return A._asyncAwait(t1 instanceof A._Future ? t1 : A._Future$value(t1, type$.void), $async$call$1);
  80331. case 3:
  80332. // returning from await.
  80333. $async$returnValue = B.C__SassNull0;
  80334. // goto return
  80335. $async$goto = 1;
  80336. break;
  80337. case 1:
  80338. // return
  80339. return A._asyncReturn($async$returnValue, $async$completer);
  80340. }
  80341. });
  80342. return A._asyncStartSync($async$call$1, $async$completer);
  80343. },
  80344. $signature: 89
  80345. };
  80346. A._compileStylesheet_closure2.prototype = {
  80347. call$1(url) {
  80348. return url === "" ? A.Uri_Uri$dataFromString(A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(this.stylesheet.span.file._decodedChars, 0, null), 0, null), B.C_Utf8Codec, null).get$_text() : this.importCache.sourceMapUrl$1(0, A.Uri_parse(url)).toString$0(0);
  80349. },
  80350. $signature: 5
  80351. };
  80352. A.AsyncEnvironment0.prototype = {
  80353. closure$0() {
  80354. var t4, t5, t6, _this = this,
  80355. t1 = _this._async_environment0$_forwardedModules,
  80356. t2 = _this._async_environment0$_nestedForwardedModules,
  80357. t3 = _this._async_environment0$_variables;
  80358. t3 = A._setArrayType(t3.slice(0), A._arrayInstanceType(t3));
  80359. t4 = _this._async_environment0$_variableNodes;
  80360. t4 = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
  80361. t5 = _this._async_environment0$_functions;
  80362. t5 = A._setArrayType(t5.slice(0), A._arrayInstanceType(t5));
  80363. t6 = _this._async_environment0$_mixins;
  80364. t6 = A._setArrayType(t6.slice(0), A._arrayInstanceType(t6));
  80365. 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);
  80366. },
  80367. forwardModule$2(module, rule) {
  80368. var view, t1, t2, _this = this,
  80369. forwardedModules = _this._async_environment0$_forwardedModules;
  80370. if (forwardedModules == null)
  80371. forwardedModules = _this._async_environment0$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable_2, type$.AstNode_2);
  80372. view = A.ForwardedModuleView_ifNecessary0(module, rule, type$.AsyncCallable_2);
  80373. for (t1 = A.LinkedHashMapKeyIterator$(forwardedModules, forwardedModules.__js_helper$_modifications); t1.moveNext$0();) {
  80374. t2 = t1.__js_helper$_current;
  80375. _this._async_environment0$_assertNoConflicts$5(view.get$variables(), t2.get$variables(), view, t2, "variable");
  80376. _this._async_environment0$_assertNoConflicts$5(view.get$functions(view), t2.get$functions(t2), view, t2, "function");
  80377. _this._async_environment0$_assertNoConflicts$5(view.get$mixins(), t2.get$mixins(), view, t2, "mixin");
  80378. }
  80379. _this._async_environment0$_allModules.push(module);
  80380. forwardedModules.$indexSet(0, view, rule);
  80381. },
  80382. _async_environment0$_assertNoConflicts$5(newMembers, oldMembers, newModule, oldModule, type) {
  80383. var larger, smaller, t1, t2, t3, t4, $name, small, large, span;
  80384. if (newMembers.get$length(newMembers) < oldMembers.get$length(oldMembers)) {
  80385. larger = oldMembers;
  80386. smaller = newMembers;
  80387. } else {
  80388. larger = newMembers;
  80389. smaller = oldMembers;
  80390. }
  80391. for (t1 = type$.String, t2 = A.MapExtensions_get_pairs0(smaller, t1, type$.Object), t2 = t2.get$iterator(t2), t3 = type === "variable"; t2.moveNext$0();) {
  80392. t4 = t2.get$current(t2);
  80393. $name = t4._0;
  80394. small = t4._1;
  80395. large = larger.$index(0, $name);
  80396. if (large == null)
  80397. continue;
  80398. if (t3 ? newModule.variableIdentity$1($name) === oldModule.variableIdentity$1($name) : J.$eq$(large, small))
  80399. continue;
  80400. if (t3)
  80401. $name = "$" + $name;
  80402. t2 = this._async_environment0$_forwardedModules;
  80403. if (t2 == null)
  80404. span = null;
  80405. else {
  80406. t2 = t2.$index(0, oldModule);
  80407. span = t2 == null ? null : J.get$span$z(t2);
  80408. }
  80409. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, t1);
  80410. if (span != null)
  80411. t2.$indexSet(0, span, "original @forward");
  80412. throw A.wrapException(A.MultiSpanSassScriptException$0("Two forwarded modules both define a " + type + " named " + $name + ".", "new @forward", t2));
  80413. }
  80414. },
  80415. importForwards$1(module) {
  80416. var forwardedModules, t1, t2, t3, t4, node, t5, t6, t7, t8, t9, t10, _i, t11, shadowed, _length, _list, _this = this,
  80417. forwarded = module._async_environment0$_environment._async_environment0$_forwardedModules;
  80418. if (forwarded == null)
  80419. return;
  80420. forwardedModules = _this._async_environment0$_forwardedModules;
  80421. if (forwardedModules != null) {
  80422. t1 = type$.Module_AsyncCallable_2;
  80423. t2 = type$.AstNode_2;
  80424. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  80425. for (t1 = A.MapExtensions_get_pairs0(forwarded, t1, t2), t1 = t1.get$iterator(t1), t2 = _this._async_environment0$_globalModules; t1.moveNext$0();) {
  80426. t4 = t1.get$current(t1);
  80427. module = t4._0;
  80428. node = t4._1;
  80429. if (!forwardedModules.containsKey$1(module) || !t2.containsKey$1(module))
  80430. t3.$indexSet(0, module, node);
  80431. }
  80432. forwarded = t3;
  80433. } else
  80434. forwardedModules = _this._async_environment0$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable_2, type$.AstNode_2);
  80435. t1 = type$.String;
  80436. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  80437. for (t3 = A.LinkedHashMapKeyIterator$(forwarded, forwarded.__js_helper$_modifications); t3.moveNext$0();)
  80438. for (t4 = t3.__js_helper$_current.get$variables(), t4 = J.get$iterator$ax(t4.get$keys(t4)); t4.moveNext$0();)
  80439. t2.add$1(0, t4.get$current(t4));
  80440. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  80441. for (t4 = A.LinkedHashMapKeyIterator$(forwarded, forwarded.__js_helper$_modifications); t4.moveNext$0();) {
  80442. t5 = t4.__js_helper$_current;
  80443. for (t5 = t5.get$functions(t5), t5 = J.get$iterator$ax(t5.get$keys(t5)); t5.moveNext$0();)
  80444. t3.add$1(0, t5.get$current(t5));
  80445. }
  80446. t1 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  80447. for (t4 = A.LinkedHashMapKeyIterator$(forwarded, forwarded.__js_helper$_modifications); t4.moveNext$0();)
  80448. for (t5 = t4.__js_helper$_current.get$mixins(), t5 = J.get$iterator$ax(t5.get$keys(t5)); t5.moveNext$0();)
  80449. t1.add$1(0, t5.get$current(t5));
  80450. t4 = _this._async_environment0$_variables;
  80451. t5 = t4.length;
  80452. if (t5 === 1) {
  80453. 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) {
  80454. t11 = t8[_i];
  80455. module = t11._0;
  80456. node = t11._1;
  80457. shadowed = A.ShadowedModuleView_ifNecessary0(module, t3, t1, t2, t10);
  80458. if (shadowed != null) {
  80459. t5.remove$1(0, module);
  80460. t11 = shadowed.variables;
  80461. if (t11.get$isEmpty(t11)) {
  80462. t11 = shadowed.functions;
  80463. if (t11.get$isEmpty(t11)) {
  80464. t11 = shadowed.mixins;
  80465. if (t11.get$isEmpty(t11)) {
  80466. t11 = shadowed._shadowed_view0$_inner;
  80467. t11 = t11.get$css(t11);
  80468. t11 = J.get$isEmpty$asx(t11.get$children(t11));
  80469. } else
  80470. t11 = false;
  80471. } else
  80472. t11 = false;
  80473. } else
  80474. t11 = false;
  80475. if (!t11)
  80476. t5.$indexSet(0, shadowed, node);
  80477. }
  80478. }
  80479. 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) {
  80480. t8 = t6[_i];
  80481. module = t8._0;
  80482. node = t8._1;
  80483. shadowed = A.ShadowedModuleView_ifNecessary0(module, t3, t1, t2, t10);
  80484. if (shadowed != null) {
  80485. forwardedModules.remove$1(0, module);
  80486. t8 = shadowed.variables;
  80487. if (t8.get$isEmpty(t8)) {
  80488. t8 = shadowed.functions;
  80489. if (t8.get$isEmpty(t8)) {
  80490. t8 = shadowed.mixins;
  80491. if (t8.get$isEmpty(t8)) {
  80492. t8 = shadowed._shadowed_view0$_inner;
  80493. t8 = t8.get$css(t8);
  80494. t8 = J.get$isEmpty$asx(t8.get$children(t8));
  80495. } else
  80496. t8 = false;
  80497. } else
  80498. t8 = false;
  80499. } else
  80500. t8 = false;
  80501. if (!t8)
  80502. forwardedModules.$indexSet(0, shadowed, node);
  80503. }
  80504. }
  80505. t5.addAll$1(0, forwarded);
  80506. forwardedModules.addAll$1(0, forwarded);
  80507. } else {
  80508. t6 = _this._async_environment0$_nestedForwardedModules;
  80509. if (t6 == null) {
  80510. _length = t5 - 1;
  80511. _list = J.JSArray_JSArray$allocateGrowable(_length, type$.List_Module_AsyncCallable_2);
  80512. for (t5 = type$.JSArray_Module_AsyncCallable_2, _i = 0; _i < _length; ++_i)
  80513. _list[_i] = A._setArrayType([], t5);
  80514. _this._async_environment0$_nestedForwardedModules = _list;
  80515. t5 = _list;
  80516. } else
  80517. t5 = t6;
  80518. B.JSArray_methods.addAll$1(B.JSArray_methods.get$last(t5), new A.LinkedHashMapKeyIterable(forwarded, A._instanceType(forwarded)._eval$1("LinkedHashMapKeyIterable<1>")));
  80519. }
  80520. for (t2 = A._LinkedHashSetIterator$(t2, t2._modifications, t2.$ti._precomputed1), t5 = _this._async_environment0$_variableIndices, t6 = _this._async_environment0$_variableNodes, t7 = t2.$ti._precomputed1; t2.moveNext$0();) {
  80521. t8 = t2._collection$_current;
  80522. if (t8 == null)
  80523. t8 = t7._as(t8);
  80524. t5.remove$1(0, t8);
  80525. J.remove$1$z(B.JSArray_methods.get$last(t4), t8);
  80526. J.remove$1$z(B.JSArray_methods.get$last(t6), t8);
  80527. }
  80528. for (t2 = A._LinkedHashSetIterator$(t3, t3._modifications, t3.$ti._precomputed1), t3 = _this._async_environment0$_functionIndices, t4 = _this._async_environment0$_functions, t5 = t2.$ti._precomputed1; t2.moveNext$0();) {
  80529. t6 = t2._collection$_current;
  80530. if (t6 == null)
  80531. t6 = t5._as(t6);
  80532. t3.remove$1(0, t6);
  80533. J.remove$1$z(B.JSArray_methods.get$last(t4), t6);
  80534. }
  80535. for (t1 = A._LinkedHashSetIterator$(t1, t1._modifications, t1.$ti._precomputed1), t2 = _this._async_environment0$_mixinIndices, t3 = _this._async_environment0$_mixins, t4 = t1.$ti._precomputed1; t1.moveNext$0();) {
  80536. t5 = t1._collection$_current;
  80537. if (t5 == null)
  80538. t5 = t4._as(t5);
  80539. t2.remove$1(0, t5);
  80540. J.remove$1$z(B.JSArray_methods.get$last(t3), t5);
  80541. }
  80542. },
  80543. getVariable$2$namespace($name, namespace) {
  80544. var t1, _0_0, _1_0, _this = this;
  80545. if (namespace != null)
  80546. return _this._async_environment0$_getModule$1(namespace).get$variables().$index(0, $name);
  80547. if (_this._async_environment0$_lastVariableName === $name) {
  80548. t1 = _this._async_environment0$_lastVariableIndex;
  80549. t1.toString;
  80550. t1 = J.$index$asx(_this._async_environment0$_variables[t1], $name);
  80551. return t1 == null ? _this._async_environment0$_getVariableFromGlobalModule$1($name) : t1;
  80552. }
  80553. t1 = _this._async_environment0$_variableIndices;
  80554. _0_0 = t1.$index(0, $name);
  80555. if (_0_0 != null) {
  80556. _this._async_environment0$_lastVariableName = $name;
  80557. _this._async_environment0$_lastVariableIndex = _0_0;
  80558. t1 = J.$index$asx(_this._async_environment0$_variables[_0_0], $name);
  80559. return t1 == null ? _this._async_environment0$_getVariableFromGlobalModule$1($name) : t1;
  80560. } else {
  80561. _1_0 = _this._async_environment0$_variableIndex$1($name);
  80562. if (_1_0 != null) {
  80563. _this._async_environment0$_lastVariableName = $name;
  80564. _this._async_environment0$_lastVariableIndex = _1_0;
  80565. t1.$indexSet(0, $name, _1_0);
  80566. t1 = J.$index$asx(_this._async_environment0$_variables[_1_0], $name);
  80567. return t1 == null ? _this._async_environment0$_getVariableFromGlobalModule$1($name) : t1;
  80568. } else
  80569. return _this._async_environment0$_getVariableFromGlobalModule$1($name);
  80570. }
  80571. },
  80572. getVariable$1($name) {
  80573. return this.getVariable$2$namespace($name, null);
  80574. },
  80575. _async_environment0$_getVariableFromGlobalModule$1($name) {
  80576. return this._async_environment0$_fromOneModule$3($name, "variable", new A.AsyncEnvironment__getVariableFromGlobalModule_closure0($name));
  80577. },
  80578. getVariableNode$2$namespace($name, namespace) {
  80579. var t1, _0_0, _1_0, _this = this;
  80580. if (namespace != null)
  80581. return _this._async_environment0$_getModule$1(namespace).get$variableNodes().$index(0, $name);
  80582. if (_this._async_environment0$_lastVariableName === $name) {
  80583. t1 = _this._async_environment0$_lastVariableIndex;
  80584. t1.toString;
  80585. t1 = J.$index$asx(_this._async_environment0$_variableNodes[t1], $name);
  80586. return t1 == null ? _this._async_environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
  80587. }
  80588. t1 = _this._async_environment0$_variableIndices;
  80589. _0_0 = t1.$index(0, $name);
  80590. if (_0_0 != null) {
  80591. _this._async_environment0$_lastVariableName = $name;
  80592. _this._async_environment0$_lastVariableIndex = _0_0;
  80593. t1 = J.$index$asx(_this._async_environment0$_variableNodes[_0_0], $name);
  80594. return t1 == null ? _this._async_environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
  80595. } else {
  80596. _1_0 = _this._async_environment0$_variableIndex$1($name);
  80597. if (_1_0 != null) {
  80598. _this._async_environment0$_lastVariableName = $name;
  80599. _this._async_environment0$_lastVariableIndex = _1_0;
  80600. t1.$indexSet(0, $name, _1_0);
  80601. t1 = J.$index$asx(_this._async_environment0$_variableNodes[_1_0], $name);
  80602. return t1 == null ? _this._async_environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
  80603. } else
  80604. return _this._async_environment0$_getVariableNodeFromGlobalModule$1($name);
  80605. }
  80606. },
  80607. _async_environment0$_getVariableNodeFromGlobalModule$1($name) {
  80608. var t1, t2, _0_0;
  80609. for (t1 = this._async_environment0$_importedModules, t2 = this._async_environment0$_globalModules, t2 = new A.LinkedHashMapKeyIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapKeyIterable<1>")).followedBy$1(0, new A.LinkedHashMapKeyIterable(t2, A._instanceType(t2)._eval$1("LinkedHashMapKeyIterable<1>"))), t2 = new A.FollowedByIterator(J.get$iterator$ax(t2.__internal$_first), t2._second); t2.moveNext$0();) {
  80610. t1 = t2._currentIterator;
  80611. _0_0 = t1.get$current(t1).get$variableNodes().$index(0, $name);
  80612. if (_0_0 != null)
  80613. return _0_0;
  80614. }
  80615. return null;
  80616. },
  80617. globalVariableExists$2$namespace($name, namespace) {
  80618. if (namespace != null)
  80619. return this._async_environment0$_getModule$1(namespace).get$variables().containsKey$1($name);
  80620. if (B.JSArray_methods.get$first(this._async_environment0$_variables).containsKey$1($name))
  80621. return true;
  80622. return this._async_environment0$_getVariableFromGlobalModule$1($name) != null;
  80623. },
  80624. globalVariableExists$1($name) {
  80625. return this.globalVariableExists$2$namespace($name, null);
  80626. },
  80627. _async_environment0$_variableIndex$1($name) {
  80628. var t1, i;
  80629. for (t1 = this._async_environment0$_variables, i = t1.length - 1; i >= 0; --i)
  80630. if (t1[i].containsKey$1($name))
  80631. return i;
  80632. return null;
  80633. },
  80634. setVariable$5$global$namespace($name, value, nodeWithSpan, global, namespace) {
  80635. var t1, moduleWithName, nestedForwardedModules, t2, t3, t4, t5, index, _this = this;
  80636. if (namespace != null) {
  80637. _this._async_environment0$_getModule$1(namespace).setVariable$3($name, value, nodeWithSpan);
  80638. return;
  80639. }
  80640. if (global || _this._async_environment0$_variables.length === 1) {
  80641. _this._async_environment0$_variableIndices.putIfAbsent$2($name, new A.AsyncEnvironment_setVariable_closure2(_this, $name));
  80642. t1 = _this._async_environment0$_variables;
  80643. if (!B.JSArray_methods.get$first(t1).containsKey$1($name)) {
  80644. moduleWithName = _this._async_environment0$_fromOneModule$3($name, "variable", new A.AsyncEnvironment_setVariable_closure3($name));
  80645. if (moduleWithName != null) {
  80646. moduleWithName.setVariable$3($name, value, nodeWithSpan);
  80647. return;
  80648. }
  80649. }
  80650. J.$indexSet$ax(B.JSArray_methods.get$first(t1), $name, value);
  80651. J.$indexSet$ax(B.JSArray_methods.get$first(_this._async_environment0$_variableNodes), $name, nodeWithSpan);
  80652. return;
  80653. }
  80654. nestedForwardedModules = _this._async_environment0$_nestedForwardedModules;
  80655. if (nestedForwardedModules != null && !_this._async_environment0$_variableIndices.containsKey$1($name) && _this._async_environment0$_variableIndex$1($name) == null)
  80656. 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();) {
  80657. t3 = t2.__internal$_current;
  80658. 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();) {
  80659. t5 = t3.__internal$_current;
  80660. if (t5 == null)
  80661. t5 = t4._as(t5);
  80662. if (t5.get$variables().containsKey$1($name)) {
  80663. t5.setVariable$3($name, value, nodeWithSpan);
  80664. return;
  80665. }
  80666. }
  80667. }
  80668. if (_this._async_environment0$_lastVariableName === $name) {
  80669. t1 = _this._async_environment0$_lastVariableIndex;
  80670. t1.toString;
  80671. index = t1;
  80672. } else
  80673. index = _this._async_environment0$_variableIndices.putIfAbsent$2($name, new A.AsyncEnvironment_setVariable_closure4(_this, $name));
  80674. if (!_this._async_environment0$_inSemiGlobalScope && index === 0) {
  80675. index = _this._async_environment0$_variables.length - 1;
  80676. _this._async_environment0$_variableIndices.$indexSet(0, $name, index);
  80677. }
  80678. _this._async_environment0$_lastVariableName = $name;
  80679. _this._async_environment0$_lastVariableIndex = index;
  80680. J.$indexSet$ax(_this._async_environment0$_variables[index], $name, value);
  80681. J.$indexSet$ax(_this._async_environment0$_variableNodes[index], $name, nodeWithSpan);
  80682. },
  80683. setVariable$4$global($name, value, nodeWithSpan, global) {
  80684. return this.setVariable$5$global$namespace($name, value, nodeWithSpan, global, null);
  80685. },
  80686. setLocalVariable$3($name, value, nodeWithSpan) {
  80687. var index, _this = this,
  80688. t1 = _this._async_environment0$_variables,
  80689. t2 = t1.length;
  80690. _this._async_environment0$_lastVariableName = $name;
  80691. index = _this._async_environment0$_lastVariableIndex = t2 - 1;
  80692. _this._async_environment0$_variableIndices.$indexSet(0, $name, index);
  80693. J.$indexSet$ax(t1[index], $name, value);
  80694. J.$indexSet$ax(_this._async_environment0$_variableNodes[index], $name, nodeWithSpan);
  80695. },
  80696. getFunction$2$namespace($name, namespace) {
  80697. var t1, _0_0, _1_0, _this = this;
  80698. if (namespace != null) {
  80699. t1 = _this._async_environment0$_getModule$1(namespace);
  80700. return t1.get$functions(t1).$index(0, $name);
  80701. }
  80702. t1 = _this._async_environment0$_functionIndices;
  80703. _0_0 = t1.$index(0, $name);
  80704. if (_0_0 != null) {
  80705. t1 = J.$index$asx(_this._async_environment0$_functions[_0_0], $name);
  80706. return t1 == null ? _this._async_environment0$_getFunctionFromGlobalModule$1($name) : t1;
  80707. } else {
  80708. _1_0 = _this._async_environment0$_functionIndex$1($name);
  80709. if (_1_0 != null) {
  80710. t1.$indexSet(0, $name, _1_0);
  80711. t1 = J.$index$asx(_this._async_environment0$_functions[_1_0], $name);
  80712. return t1 == null ? _this._async_environment0$_getFunctionFromGlobalModule$1($name) : t1;
  80713. } else
  80714. return _this._async_environment0$_getFunctionFromGlobalModule$1($name);
  80715. }
  80716. },
  80717. getFunction$1($name) {
  80718. return this.getFunction$2$namespace($name, null);
  80719. },
  80720. _async_environment0$_getFunctionFromGlobalModule$1($name) {
  80721. return this._async_environment0$_fromOneModule$3($name, "function", new A.AsyncEnvironment__getFunctionFromGlobalModule_closure0($name));
  80722. },
  80723. _async_environment0$_functionIndex$1($name) {
  80724. var t1, i;
  80725. for (t1 = this._async_environment0$_functions, i = t1.length - 1; i >= 0; --i)
  80726. if (t1[i].containsKey$1($name))
  80727. return i;
  80728. return null;
  80729. },
  80730. getMixin$2$namespace($name, namespace) {
  80731. var t1, _0_0, _1_0, _this = this;
  80732. if (namespace != null)
  80733. return _this._async_environment0$_getModule$1(namespace).get$mixins().$index(0, $name);
  80734. t1 = _this._async_environment0$_mixinIndices;
  80735. _0_0 = t1.$index(0, $name);
  80736. if (_0_0 != null) {
  80737. t1 = J.$index$asx(_this._async_environment0$_mixins[_0_0], $name);
  80738. return t1 == null ? _this._async_environment0$_getMixinFromGlobalModule$1($name) : t1;
  80739. } else {
  80740. _1_0 = _this._async_environment0$_mixinIndex$1($name);
  80741. if (_1_0 != null) {
  80742. t1.$indexSet(0, $name, _1_0);
  80743. t1 = J.$index$asx(_this._async_environment0$_mixins[_1_0], $name);
  80744. return t1 == null ? _this._async_environment0$_getMixinFromGlobalModule$1($name) : t1;
  80745. } else
  80746. return _this._async_environment0$_getMixinFromGlobalModule$1($name);
  80747. }
  80748. },
  80749. _async_environment0$_getMixinFromGlobalModule$1($name) {
  80750. return this._async_environment0$_fromOneModule$3($name, "mixin", new A.AsyncEnvironment__getMixinFromGlobalModule_closure0($name));
  80751. },
  80752. _async_environment0$_mixinIndex$1($name) {
  80753. var t1, i;
  80754. for (t1 = this._async_environment0$_mixins, i = t1.length - 1; i >= 0; --i)
  80755. if (t1[i].containsKey$1($name))
  80756. return i;
  80757. return null;
  80758. },
  80759. withContent$2($content, callback) {
  80760. return this.withContent$body$AsyncEnvironment0($content, callback);
  80761. },
  80762. withContent$body$AsyncEnvironment0($content, callback) {
  80763. var $async$goto = 0,
  80764. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  80765. $async$self = this, oldContent;
  80766. var $async$withContent$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  80767. if ($async$errorCode === 1)
  80768. return A._asyncRethrow($async$result, $async$completer);
  80769. while (true)
  80770. switch ($async$goto) {
  80771. case 0:
  80772. // Function start
  80773. oldContent = $async$self._async_environment0$_content;
  80774. $async$self._async_environment0$_content = $content;
  80775. $async$goto = 2;
  80776. return A._asyncAwait(callback.call$0(), $async$withContent$2);
  80777. case 2:
  80778. // returning from await.
  80779. $async$self._async_environment0$_content = oldContent;
  80780. // implicit return
  80781. return A._asyncReturn(null, $async$completer);
  80782. }
  80783. });
  80784. return A._asyncStartSync($async$withContent$2, $async$completer);
  80785. },
  80786. asMixin$1(callback) {
  80787. var $async$goto = 0,
  80788. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  80789. $async$self = this, oldInMixin;
  80790. var $async$asMixin$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  80791. if ($async$errorCode === 1)
  80792. return A._asyncRethrow($async$result, $async$completer);
  80793. while (true)
  80794. switch ($async$goto) {
  80795. case 0:
  80796. // Function start
  80797. oldInMixin = $async$self._async_environment0$_inMixin;
  80798. $async$self._async_environment0$_inMixin = true;
  80799. $async$goto = 2;
  80800. return A._asyncAwait(callback.call$0(), $async$asMixin$1);
  80801. case 2:
  80802. // returning from await.
  80803. $async$self._async_environment0$_inMixin = oldInMixin;
  80804. // implicit return
  80805. return A._asyncReturn(null, $async$completer);
  80806. }
  80807. });
  80808. return A._asyncStartSync($async$asMixin$1, $async$completer);
  80809. },
  80810. scope$1$3$semiGlobal$when(callback, semiGlobal, when, $T) {
  80811. return this.scope$body$AsyncEnvironment0(callback, semiGlobal, when, $T, $T);
  80812. },
  80813. scope$1$1(callback, $T) {
  80814. return this.scope$1$3$semiGlobal$when(callback, false, true, $T);
  80815. },
  80816. scope$1$2$when(callback, when, $T) {
  80817. return this.scope$1$3$semiGlobal$when(callback, false, when, $T);
  80818. },
  80819. scope$1$2$semiGlobal(callback, semiGlobal, $T) {
  80820. return this.scope$1$3$semiGlobal$when(callback, semiGlobal, true, $T);
  80821. },
  80822. scope$body$AsyncEnvironment0(callback, semiGlobal, when, $T, $async$type) {
  80823. var $async$goto = 0,
  80824. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  80825. $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, wasInSemiGlobalScope, $name, name0, name1, t1, t2, t3, t4, t5, t6;
  80826. var $async$scope$1$3$semiGlobal$when = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  80827. if ($async$errorCode === 1) {
  80828. $async$currentError = $async$result;
  80829. $async$goto = $async$handler;
  80830. }
  80831. while (true)
  80832. switch ($async$goto) {
  80833. case 0:
  80834. // Function start
  80835. semiGlobal = semiGlobal && $async$self._async_environment0$_inSemiGlobalScope;
  80836. wasInSemiGlobalScope = $async$self._async_environment0$_inSemiGlobalScope;
  80837. $async$self._async_environment0$_inSemiGlobalScope = semiGlobal;
  80838. $async$goto = !when ? 3 : 4;
  80839. break;
  80840. case 3:
  80841. // then
  80842. $async$handler = 5;
  80843. $async$goto = 8;
  80844. return A._asyncAwait(callback.call$0(), $async$scope$1$3$semiGlobal$when);
  80845. case 8:
  80846. // returning from await.
  80847. t1 = $async$result;
  80848. $async$returnValue = t1;
  80849. $async$next = [1];
  80850. // goto finally
  80851. $async$goto = 6;
  80852. break;
  80853. $async$next.push(7);
  80854. // goto finally
  80855. $async$goto = 6;
  80856. break;
  80857. case 5:
  80858. // uncaught
  80859. $async$next = [2];
  80860. case 6:
  80861. // finally
  80862. $async$handler = 2;
  80863. $async$self._async_environment0$_inSemiGlobalScope = wasInSemiGlobalScope;
  80864. // goto the next finally handler
  80865. $async$goto = $async$next.pop();
  80866. break;
  80867. case 7:
  80868. // after finally
  80869. case 4:
  80870. // join
  80871. t1 = $async$self._async_environment0$_variables;
  80872. t2 = type$.String;
  80873. B.JSArray_methods.add$1(t1, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.Value_2));
  80874. t3 = $async$self._async_environment0$_variableNodes;
  80875. B.JSArray_methods.add$1(t3, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.AstNode_2));
  80876. t4 = $async$self._async_environment0$_functions;
  80877. t5 = type$.AsyncCallable_2;
  80878. B.JSArray_methods.add$1(t4, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  80879. t6 = $async$self._async_environment0$_mixins;
  80880. B.JSArray_methods.add$1(t6, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  80881. t5 = $async$self._async_environment0$_nestedForwardedModules;
  80882. if (t5 != null)
  80883. t5.push(A._setArrayType([], type$.JSArray_Module_AsyncCallable_2));
  80884. $async$handler = 9;
  80885. $async$goto = 12;
  80886. return A._asyncAwait(callback.call$0(), $async$scope$1$3$semiGlobal$when);
  80887. case 12:
  80888. // returning from await.
  80889. t2 = $async$result;
  80890. $async$returnValue = t2;
  80891. $async$next = [1];
  80892. // goto finally
  80893. $async$goto = 10;
  80894. break;
  80895. $async$next.push(11);
  80896. // goto finally
  80897. $async$goto = 10;
  80898. break;
  80899. case 9:
  80900. // uncaught
  80901. $async$next = [2];
  80902. case 10:
  80903. // finally
  80904. $async$handler = 2;
  80905. $async$self._async_environment0$_inSemiGlobalScope = wasInSemiGlobalScope;
  80906. $async$self._async_environment0$_lastVariableIndex = $async$self._async_environment0$_lastVariableName = null;
  80907. for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t1))), t2 = $async$self._async_environment0$_variableIndices; t1.moveNext$0();) {
  80908. $name = t1.get$current(t1);
  80909. t2.remove$1(0, $name);
  80910. }
  80911. B.JSArray_methods.removeLast$0(t3);
  80912. for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t4))), t2 = $async$self._async_environment0$_functionIndices; t1.moveNext$0();) {
  80913. name0 = t1.get$current(t1);
  80914. t2.remove$1(0, name0);
  80915. }
  80916. for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t6))), t2 = $async$self._async_environment0$_mixinIndices; t1.moveNext$0();) {
  80917. name1 = t1.get$current(t1);
  80918. t2.remove$1(0, name1);
  80919. }
  80920. t1 = $async$self._async_environment0$_nestedForwardedModules;
  80921. if (t1 != null)
  80922. t1.pop();
  80923. // goto the next finally handler
  80924. $async$goto = $async$next.pop();
  80925. break;
  80926. case 11:
  80927. // after finally
  80928. case 1:
  80929. // return
  80930. return A._asyncReturn($async$returnValue, $async$completer);
  80931. case 2:
  80932. // rethrow
  80933. return A._asyncRethrow($async$currentError, $async$completer);
  80934. }
  80935. });
  80936. return A._asyncStartSync($async$scope$1$3$semiGlobal$when, $async$completer);
  80937. },
  80938. toImplicitConfiguration$0() {
  80939. var t2, t3, t4, i, values, nodes, t5, t6, $name, value,
  80940. t1 = type$.String,
  80941. configuration = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.ConfiguredValue_2);
  80942. for (t2 = this._async_environment0$_variables, t3 = type$.Value_2, t4 = this._async_environment0$_variableNodes, i = 0; i < t2.length; ++i) {
  80943. values = t2[i];
  80944. nodes = t4[i];
  80945. for (t5 = A.MapExtensions_get_pairs0(values, t1, t3), t5 = t5.get$iterator(t5); t5.moveNext$0();) {
  80946. t6 = t5.get$current(t5);
  80947. $name = t6._0;
  80948. value = t6._1;
  80949. t6 = nodes.$index(0, $name);
  80950. t6.toString;
  80951. configuration.$indexSet(0, $name, new A.ConfiguredValue0(value, null, t6));
  80952. }
  80953. }
  80954. return new A.Configuration0(configuration, null);
  80955. },
  80956. toModule$3(css, preModuleComments, extensionStore) {
  80957. return A._EnvironmentModule__EnvironmentModule2(this, css, preModuleComments, extensionStore, A.NullableExtension_andThen0(this._async_environment0$_forwardedModules, new A.AsyncEnvironment_toModule_closure0()));
  80958. },
  80959. toDummyModule$0() {
  80960. return A._EnvironmentModule__EnvironmentModule2(this, new A.CssStylesheet0(new A.UnmodifiableListView(B.List_empty16, type$.UnmodifiableListView_CssNode_2), A.SourceFile$decoded(B.List_empty4, "<dummy module>").span$1(0, 0)), B.Map_empty15, B.C_EmptyExtensionStore0, A.NullableExtension_andThen0(this._async_environment0$_forwardedModules, new A.AsyncEnvironment_toDummyModule_closure0()));
  80961. },
  80962. _async_environment0$_getModule$1(namespace) {
  80963. var _0_0 = this._async_environment0$_modules.$index(0, namespace);
  80964. if (_0_0 != null)
  80965. return _0_0;
  80966. throw A.wrapException(A.SassScriptException$0('There is no module with the namespace "' + namespace + '".', null));
  80967. },
  80968. _async_environment0$_fromOneModule$1$3($name, type, callback) {
  80969. var t1, t2, t3, t4, t5, _1_0, _2_0, value, identity, valueInModule, identityFromModule, module, node,
  80970. _0_0 = this._async_environment0$_nestedForwardedModules;
  80971. if (_0_0 != null)
  80972. 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();) {
  80973. t3 = t2.__internal$_current;
  80974. 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();) {
  80975. t5 = t3.__internal$_current;
  80976. _1_0 = callback.call$1(t5 == null ? t4._as(t5) : t5);
  80977. if (_1_0 != null)
  80978. return _1_0;
  80979. }
  80980. }
  80981. for (t1 = this._async_environment0$_importedModules, t1 = A.LinkedHashMapKeyIterator$(t1, t1.__js_helper$_modifications); t1.moveNext$0();) {
  80982. _2_0 = callback.call$1(t1.__js_helper$_current);
  80983. if (_2_0 != null)
  80984. return _2_0;
  80985. }
  80986. for (t1 = this._async_environment0$_globalModules, t2 = A.LinkedHashMapKeyIterator$(t1, t1.__js_helper$_modifications), t3 = type$.AsyncCallable_2, value = null, identity = null; t2.moveNext$0();) {
  80987. t4 = t2.__js_helper$_current;
  80988. valueInModule = callback.call$1(t4);
  80989. if (valueInModule == null)
  80990. continue;
  80991. identityFromModule = t3._is(valueInModule) ? valueInModule : t4.variableIdentity$1($name);
  80992. if (identityFromModule.$eq(0, identity))
  80993. continue;
  80994. if (value != null) {
  80995. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  80996. 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();) {
  80997. t1 = t3.get$current(t3);
  80998. module = t1._0;
  80999. node = t1._1;
  81000. if (callback.call$1(module) != null)
  81001. t2.$indexSet(0, node.get$span(node), t4);
  81002. }
  81003. throw A.wrapException(A.MultiSpanSassScriptException$0("This " + type + string$.x20is_av, type + " use", t2));
  81004. }
  81005. identity = identityFromModule;
  81006. value = valueInModule;
  81007. }
  81008. return value;
  81009. },
  81010. _async_environment0$_fromOneModule$3($name, type, callback) {
  81011. return this._async_environment0$_fromOneModule$1$3($name, type, callback, type$.dynamic);
  81012. }
  81013. };
  81014. A.AsyncEnvironment__getVariableFromGlobalModule_closure0.prototype = {
  81015. call$1(module) {
  81016. return module.get$variables().$index(0, this.name);
  81017. },
  81018. $signature: 303
  81019. };
  81020. A.AsyncEnvironment_setVariable_closure2.prototype = {
  81021. call$0() {
  81022. var t1 = this.$this;
  81023. t1._async_environment0$_lastVariableName = this.name;
  81024. return t1._async_environment0$_lastVariableIndex = 0;
  81025. },
  81026. $signature: 10
  81027. };
  81028. A.AsyncEnvironment_setVariable_closure3.prototype = {
  81029. call$1(module) {
  81030. return module.get$variables().containsKey$1(this.name) ? module : null;
  81031. },
  81032. $signature: 304
  81033. };
  81034. A.AsyncEnvironment_setVariable_closure4.prototype = {
  81035. call$0() {
  81036. var t1 = this.$this,
  81037. t2 = t1._async_environment0$_variableIndex$1(this.name);
  81038. return t2 == null ? t1._async_environment0$_variables.length - 1 : t2;
  81039. },
  81040. $signature: 10
  81041. };
  81042. A.AsyncEnvironment__getFunctionFromGlobalModule_closure0.prototype = {
  81043. call$1(module) {
  81044. return module.get$functions(module).$index(0, this.name);
  81045. },
  81046. $signature: 256
  81047. };
  81048. A.AsyncEnvironment__getMixinFromGlobalModule_closure0.prototype = {
  81049. call$1(module) {
  81050. return module.get$mixins().$index(0, this.name);
  81051. },
  81052. $signature: 256
  81053. };
  81054. A.AsyncEnvironment_toModule_closure0.prototype = {
  81055. call$1(modules) {
  81056. return new A.MapKeySet(modules, type$.MapKeySet_Module_AsyncCallable_2);
  81057. },
  81058. $signature: 255
  81059. };
  81060. A.AsyncEnvironment_toDummyModule_closure0.prototype = {
  81061. call$1(modules) {
  81062. return new A.MapKeySet(modules, type$.MapKeySet_Module_AsyncCallable_2);
  81063. },
  81064. $signature: 255
  81065. };
  81066. A._EnvironmentModule2.prototype = {
  81067. get$url(_) {
  81068. var t1 = this.css;
  81069. return t1.get$span(t1).file.url;
  81070. },
  81071. setVariable$3($name, value, nodeWithSpan) {
  81072. var t1, t2,
  81073. _0_0 = this._async_environment0$_modulesByVariable.$index(0, $name);
  81074. if (_0_0 != null) {
  81075. _0_0.setVariable$3($name, value, nodeWithSpan);
  81076. return;
  81077. }
  81078. t1 = this._async_environment0$_environment;
  81079. t2 = t1._async_environment0$_variables;
  81080. if (!B.JSArray_methods.get$first(t2).containsKey$1($name))
  81081. throw A.wrapException(A.SassScriptException$0("Undefined variable.", null));
  81082. J.$indexSet$ax(B.JSArray_methods.get$first(t2), $name, value);
  81083. J.$indexSet$ax(B.JSArray_methods.get$first(t1._async_environment0$_variableNodes), $name, nodeWithSpan);
  81084. return;
  81085. },
  81086. variableIdentity$1($name) {
  81087. var module = this._async_environment0$_modulesByVariable.$index(0, $name);
  81088. return module == null ? this : module.variableIdentity$1($name);
  81089. },
  81090. cloneCss$0() {
  81091. var _0_0, _this = this;
  81092. if (!_this.transitivelyContainsCss)
  81093. return _this;
  81094. _0_0 = A.cloneCssStylesheet0(_this.css, _this.extensionStore);
  81095. 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);
  81096. },
  81097. toString$0(_) {
  81098. var t2,
  81099. t1 = this.css;
  81100. if (t1.get$span(t1).file.url == null)
  81101. t1 = "<unknown url>";
  81102. else {
  81103. t1 = t1.get$span(t1).file.url;
  81104. t2 = $.$get$context();
  81105. t1.toString;
  81106. t1 = t2.prettyUri$1(t1);
  81107. }
  81108. return t1;
  81109. },
  81110. $isModule1: 1,
  81111. get$upstream() {
  81112. return this.upstream;
  81113. },
  81114. get$variables() {
  81115. return this.variables;
  81116. },
  81117. get$variableNodes() {
  81118. return this.variableNodes;
  81119. },
  81120. get$functions(receiver) {
  81121. return this.functions;
  81122. },
  81123. get$mixins() {
  81124. return this.mixins;
  81125. },
  81126. get$extensionStore() {
  81127. return this.extensionStore;
  81128. },
  81129. get$css(receiver) {
  81130. return this.css;
  81131. },
  81132. get$preModuleComments() {
  81133. return this.preModuleComments;
  81134. },
  81135. get$transitivelyContainsCss() {
  81136. return this.transitivelyContainsCss;
  81137. },
  81138. get$transitivelyContainsExtensions() {
  81139. return this.transitivelyContainsExtensions;
  81140. }
  81141. };
  81142. A._EnvironmentModule__EnvironmentModule_closure17.prototype = {
  81143. call$1(module) {
  81144. return module.get$variables();
  81145. },
  81146. $signature: 307
  81147. };
  81148. A._EnvironmentModule__EnvironmentModule_closure18.prototype = {
  81149. call$1(module) {
  81150. return module.get$variableNodes();
  81151. },
  81152. $signature: 308
  81153. };
  81154. A._EnvironmentModule__EnvironmentModule_closure19.prototype = {
  81155. call$1(module) {
  81156. return module.get$functions(module);
  81157. },
  81158. $signature: 252
  81159. };
  81160. A._EnvironmentModule__EnvironmentModule_closure20.prototype = {
  81161. call$1(module) {
  81162. return module.get$mixins();
  81163. },
  81164. $signature: 252
  81165. };
  81166. A._EnvironmentModule__EnvironmentModule_closure21.prototype = {
  81167. call$1(module) {
  81168. return module.get$transitivelyContainsCss();
  81169. },
  81170. $signature: 114
  81171. };
  81172. A._EnvironmentModule__EnvironmentModule_closure22.prototype = {
  81173. call$1(module) {
  81174. return module.get$transitivelyContainsExtensions();
  81175. },
  81176. $signature: 114
  81177. };
  81178. A._EvaluateVisitor2.prototype = {
  81179. _EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap2(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
  81180. var t2, metaModule, t3, _i, module, $function, t4, _this = this,
  81181. _s20_ = "$name, $module: null",
  81182. _s9_ = "sass:meta",
  81183. _s7_ = "$module",
  81184. t1 = type$.JSArray_AsyncBuiltInCallable_2,
  81185. 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...) {", null, _s9_).parseArgumentDeclaration$0(), new A._EvaluateVisitor_closure48(_this), false)], t1),
  81186. 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);
  81187. t1 = type$.AsyncBuiltInCallable_2;
  81188. t2 = A.List_List$of($.$get$global6(), true, t1);
  81189. B.JSArray_methods.addAll$1(t2, $.$get$local0());
  81190. B.JSArray_methods.addAll$1(t2, metaFunctions);
  81191. metaModule = A.BuiltInModule$0("meta", t2, metaMixins, null, t1);
  81192. for (t1 = A.List_List$of($.$get$coreModules0(), true, type$.BuiltInModule_AsyncCallable_2), t1.push(metaModule), t2 = t1.length, t3 = _this._async_evaluate0$_builtInModules, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  81193. module = t1[_i];
  81194. t3.$indexSet(0, module.url, module);
  81195. }
  81196. t1 = A._setArrayType([], type$.JSArray_AsyncCallable_2);
  81197. B.JSArray_methods.addAll$1(t1, functions);
  81198. B.JSArray_methods.addAll$1(t1, $.$get$globalFunctions0());
  81199. B.JSArray_methods.addAll$1(t1, metaFunctions);
  81200. for (t2 = t1.length, t3 = _this._async_evaluate0$_builtInFunctions, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  81201. $function = t1[_i];
  81202. t4 = J.get$name$x($function);
  81203. t3.$indexSet(0, A.stringReplaceAllUnchecked(t4, "_", "-"), $function);
  81204. }
  81205. },
  81206. run$2(_, importer, node) {
  81207. return this.run$body$_EvaluateVisitor0(0, importer, node);
  81208. },
  81209. run$body$_EvaluateVisitor0(_, importer, node) {
  81210. var $async$goto = 0,
  81211. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet_2),
  81212. $async$returnValue, $async$handler = 2, $async$currentError, $async$self = this, error, stackTrace, t1, exception, $async$exception;
  81213. var $async$run$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  81214. if ($async$errorCode === 1) {
  81215. $async$currentError = $async$result;
  81216. $async$goto = $async$handler;
  81217. }
  81218. while (true)
  81219. switch ($async$goto) {
  81220. case 0:
  81221. // Function start
  81222. $async$handler = 4;
  81223. t1 = type$.nullable_Object;
  81224. 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);
  81225. $async$goto = 7;
  81226. 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);
  81227. case 7:
  81228. // returning from await.
  81229. t1 = $async$result;
  81230. $async$returnValue = t1;
  81231. // goto return
  81232. $async$goto = 1;
  81233. break;
  81234. $async$handler = 2;
  81235. // goto after finally
  81236. $async$goto = 6;
  81237. break;
  81238. case 4:
  81239. // catch
  81240. $async$handler = 3;
  81241. $async$exception = $async$currentError;
  81242. t1 = A.unwrapException($async$exception);
  81243. if (t1 instanceof A.SassException0) {
  81244. error = t1;
  81245. stackTrace = A.getTraceFromException($async$exception);
  81246. A.throwWithTrace0(error.withLoadedUrls$1($async$self._async_evaluate0$_loadedUrls), error, stackTrace);
  81247. } else
  81248. throw $async$exception;
  81249. // goto after finally
  81250. $async$goto = 6;
  81251. break;
  81252. case 3:
  81253. // uncaught
  81254. // goto rethrow
  81255. $async$goto = 2;
  81256. break;
  81257. case 6:
  81258. // after finally
  81259. case 1:
  81260. // return
  81261. return A._asyncReturn($async$returnValue, $async$completer);
  81262. case 2:
  81263. // rethrow
  81264. return A._asyncRethrow($async$currentError, $async$completer);
  81265. }
  81266. });
  81267. return A._asyncStartSync($async$run$2, $async$completer);
  81268. },
  81269. _async_evaluate0$_assertInModule$1$2(value, $name) {
  81270. if (value != null)
  81271. return value;
  81272. throw A.wrapException(A.StateError$("Can't access " + $name + " outside of a module."));
  81273. },
  81274. _async_evaluate0$_assertInModule$2(value, $name) {
  81275. return this._async_evaluate0$_assertInModule$1$2(value, $name, type$.dynamic);
  81276. },
  81277. _async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
  81278. return this._loadModule$body$_EvaluateVisitor0(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors);
  81279. },
  81280. _async_evaluate0$_loadModule$5$configuration(url, stackFrame, nodeWithSpan, callback, configuration) {
  81281. return this._async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, configuration, false);
  81282. },
  81283. _async_evaluate0$_loadModule$4(url, stackFrame, nodeWithSpan, callback) {
  81284. return this._async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, null, false);
  81285. },
  81286. _loadModule$body$_EvaluateVisitor0(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
  81287. var $async$goto = 0,
  81288. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  81289. $async$returnValue, $async$self = this, t2, t1, _0_0;
  81290. var $async$_async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  81291. if ($async$errorCode === 1)
  81292. return A._asyncRethrow($async$result, $async$completer);
  81293. while (true)
  81294. switch ($async$goto) {
  81295. case 0:
  81296. // Function start
  81297. t1 = {};
  81298. _0_0 = $async$self._async_evaluate0$_builtInModules.$index(0, url);
  81299. t1.builtInModule = null;
  81300. $async$goto = _0_0 != null ? 3 : 4;
  81301. break;
  81302. case 3:
  81303. // then
  81304. t1.builtInModule = _0_0;
  81305. if (configuration instanceof A.ExplicitConfiguration0) {
  81306. t1 = namesInErrors ? "Built-in module " + url.toString$0(0) + " can't be configured." : "Built-in modules can't be configured.";
  81307. t2 = configuration.nodeWithSpan;
  81308. throw A.wrapException($async$self._async_evaluate0$_exception$2(t1, t2.get$span(t2)));
  81309. }
  81310. $async$goto = 5;
  81311. 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);
  81312. case 5:
  81313. // returning from await.
  81314. // goto return
  81315. $async$goto = 1;
  81316. break;
  81317. case 4:
  81318. // join
  81319. $async$goto = 6;
  81320. 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);
  81321. case 6:
  81322. // returning from await.
  81323. case 1:
  81324. // return
  81325. return A._asyncReturn($async$returnValue, $async$completer);
  81326. }
  81327. });
  81328. return A._asyncStartSync($async$_async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors, $async$completer);
  81329. },
  81330. _async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
  81331. return this._execute$body$_EvaluateVisitor0(importer, stylesheet, configuration, namesInErrors, nodeWithSpan);
  81332. },
  81333. _async_evaluate0$_execute$2(importer, stylesheet) {
  81334. return this._async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, null, false, null);
  81335. },
  81336. _execute$body$_EvaluateVisitor0(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
  81337. var $async$goto = 0,
  81338. $async$completer = A._makeAsyncAwaitCompleter(type$.Module_AsyncCallable_2),
  81339. $async$returnValue, $async$self = this, currentConfiguration, t2, t3, message, existingSpan, configurationSpan, environment, css, preModuleComments, extensionStore, module, url, t1, _0_0;
  81340. var $async$_async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  81341. if ($async$errorCode === 1)
  81342. return A._asyncRethrow($async$result, $async$completer);
  81343. while (true)
  81344. switch ($async$goto) {
  81345. case 0:
  81346. // Function start
  81347. url = stylesheet.span.file.url;
  81348. t1 = $async$self._async_evaluate0$_modules;
  81349. _0_0 = t1.$index(0, url);
  81350. if (_0_0 != null) {
  81351. t1 = configuration == null;
  81352. currentConfiguration = t1 ? $async$self._async_evaluate0$_configuration : configuration;
  81353. t2 = $async$self._async_evaluate0$_moduleConfigurations.$index(0, url);
  81354. t3 = t2._configuration0$__originalConfiguration;
  81355. t2 = t3 == null ? t2 : t3;
  81356. t3 = currentConfiguration._configuration0$__originalConfiguration;
  81357. if (t2 !== (t3 == null ? currentConfiguration : t3) && currentConfiguration instanceof A.ExplicitConfiguration0) {
  81358. if (namesInErrors) {
  81359. t2 = $.$get$context();
  81360. url.toString;
  81361. message = t2.prettyUri$1(url) + string$.x20was_a;
  81362. } else
  81363. message = string$.This_mw;
  81364. t2 = $async$self._async_evaluate0$_moduleNodes.$index(0, url);
  81365. existingSpan = t2 == null ? null : t2.get$span(t2);
  81366. if (t1) {
  81367. t1 = currentConfiguration.nodeWithSpan;
  81368. configurationSpan = t1.get$span(t1);
  81369. } else
  81370. configurationSpan = null;
  81371. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  81372. if (existingSpan != null)
  81373. t1.$indexSet(0, existingSpan, "original load");
  81374. if (configurationSpan != null)
  81375. t1.$indexSet(0, configurationSpan, "configuration");
  81376. throw A.wrapException(t1.get$isEmpty(0) ? $async$self._async_evaluate0$_exception$1(message) : $async$self._async_evaluate0$_multiSpanException$3(message, "new load", t1));
  81377. }
  81378. $async$returnValue = _0_0;
  81379. // goto return
  81380. $async$goto = 1;
  81381. break;
  81382. }
  81383. environment = A.AsyncEnvironment$0();
  81384. css = A._Cell$();
  81385. preModuleComments = A._Cell$();
  81386. extensionStore = A.ExtensionStore$0();
  81387. $async$goto = 3;
  81388. 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);
  81389. case 3:
  81390. // returning from await.
  81391. t2 = css._readLocal$0();
  81392. t3 = preModuleComments._readLocal$0();
  81393. module = environment.toModule$3(t2, t3 == null ? B.Map_empty15 : t3, extensionStore);
  81394. if (url != null) {
  81395. t1.$indexSet(0, url, module);
  81396. $async$self._async_evaluate0$_moduleConfigurations.$indexSet(0, url, $async$self._async_evaluate0$_configuration);
  81397. if (nodeWithSpan != null)
  81398. $async$self._async_evaluate0$_moduleNodes.$indexSet(0, url, nodeWithSpan);
  81399. }
  81400. $async$returnValue = module;
  81401. // goto return
  81402. $async$goto = 1;
  81403. break;
  81404. case 1:
  81405. // return
  81406. return A._asyncReturn($async$returnValue, $async$completer);
  81407. }
  81408. });
  81409. return A._asyncStartSync($async$_async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan, $async$completer);
  81410. },
  81411. _async_evaluate0$_addOutOfOrderImports$0() {
  81412. var t1, t2, _this = this, _s5_ = "_root",
  81413. _s13_ = "_endOfImports",
  81414. _0_0 = _this._async_evaluate0$_outOfOrderImports;
  81415. $label0$0: {
  81416. if (_0_0 == null) {
  81417. t1 = _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_).children;
  81418. break $label0$0;
  81419. }
  81420. t1 = _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_).children;
  81421. 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")), true, type$.ModifiableCssNode_2);
  81422. B.JSArray_methods.addAll$1(t1, _0_0);
  81423. t2 = _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_).children;
  81424. 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")));
  81425. break $label0$0;
  81426. }
  81427. return t1;
  81428. },
  81429. _async_evaluate0$_combineCss$2$clone(root, clone) {
  81430. var selectors, _0_0, t1, imports, css, sorted, t2;
  81431. if (!B.JSArray_methods.any$1(root.get$upstream(), new A._EvaluateVisitor__combineCss_closure5())) {
  81432. selectors = root.get$extensionStore().get$simpleSelectors();
  81433. _0_0 = A.IterableExtension_get_firstOrNull(root.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__combineCss_closure6(selectors)));
  81434. if (_0_0 != null)
  81435. this._async_evaluate0$_throwForUnsatisfiedExtension$1(_0_0);
  81436. return root.get$css(root);
  81437. }
  81438. t1 = type$.JSArray_CssNode_2;
  81439. imports = A._setArrayType([], t1);
  81440. css = A._setArrayType([], t1);
  81441. t1 = type$.Module_AsyncCallable_2;
  81442. sorted = A.ListQueue$(t1);
  81443. new A._EvaluateVisitor__combineCss_visitModule2(this, A.LinkedHashSet_LinkedHashSet$_empty(t1), clone, css, imports, sorted).call$1(root);
  81444. if (root.get$transitivelyContainsExtensions())
  81445. this._async_evaluate0$_extendModules$1(sorted);
  81446. t1 = B.JSArray_methods.$add(imports, css);
  81447. t2 = root.get$css(root);
  81448. return new A.CssStylesheet0(new A.UnmodifiableListView(t1, type$.UnmodifiableListView_CssNode_2), t2.get$span(t2));
  81449. },
  81450. _async_evaluate0$_combineCss$1(root) {
  81451. return this._async_evaluate0$_combineCss$2$clone(root, false);
  81452. },
  81453. _async_evaluate0$_extendModules$1(sortedModules) {
  81454. var t1, t2, t3, originalSelectors, $self, t4, t5, _i, upstream, _0_0,
  81455. downstreamExtensionStores = A.LinkedHashMap_LinkedHashMap$_empty(type$.Uri, type$.List_ExtensionStore_2),
  81456. unsatisfiedExtensions = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_Extension_2);
  81457. for (t1 = A._ListQueueIterator$(sortedModules, sortedModules.$ti._precomputed1), t2 = t1.$ti._precomputed1; t1.moveNext$0();) {
  81458. t3 = t1._collection$_current;
  81459. if (t3 == null)
  81460. t3 = t2._as(t3);
  81461. originalSelectors = t3.get$extensionStore().get$simpleSelectors().toSet$0(0);
  81462. unsatisfiedExtensions.addAll$1(0, t3.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__extendModules_closure5(originalSelectors)));
  81463. $self = downstreamExtensionStores.$index(0, t3.get$url(t3));
  81464. t4 = t3.get$extensionStore().get$addExtensions();
  81465. if ($self != null)
  81466. t4.call$1($self);
  81467. t4 = t3.get$extensionStore();
  81468. if (t4.get$isEmpty(t4))
  81469. continue;
  81470. for (t4 = t3.get$upstream(), t5 = t4.length, _i = 0; _i < t4.length; t4.length === t5 || (0, A.throwConcurrentModificationError)(t4), ++_i) {
  81471. upstream = t4[_i];
  81472. _0_0 = upstream.get$url(upstream);
  81473. if (_0_0 != null)
  81474. J.add$1$ax(downstreamExtensionStores.putIfAbsent$2(_0_0, new A._EvaluateVisitor__extendModules_closure6()), t3.get$extensionStore());
  81475. }
  81476. unsatisfiedExtensions.removeAll$1(t3.get$extensionStore().extensionsWhereTarget$1(originalSelectors.get$contains(originalSelectors)));
  81477. }
  81478. if (unsatisfiedExtensions._collection$_length !== 0)
  81479. this._async_evaluate0$_throwForUnsatisfiedExtension$1(unsatisfiedExtensions.get$first(0));
  81480. },
  81481. _async_evaluate0$_throwForUnsatisfiedExtension$1(extension) {
  81482. throw A.wrapException(A.SassException$0(string$.The_ta + extension.target.toString$0(0) + ' !optional" to avoid this error.', extension.span, null));
  81483. },
  81484. _async_evaluate0$_indexAfterImports$1(statements) {
  81485. var t1, lastImport, i, _0_0;
  81486. for (t1 = J.getInterceptor$asx(statements), lastImport = -1, i = 0; i < t1.get$length(statements); ++i) {
  81487. $label0$0: {
  81488. _0_0 = t1.$index(statements, i);
  81489. if (_0_0 instanceof A.ModifiableCssImport0)
  81490. break $label0$0;
  81491. if (_0_0 instanceof A.ModifiableCssComment0)
  81492. continue;
  81493. break;
  81494. }
  81495. lastImport = i;
  81496. }
  81497. return lastImport + 1;
  81498. },
  81499. visitStylesheet$1(node) {
  81500. return this.visitStylesheet$body$_EvaluateVisitor0(node);
  81501. },
  81502. visitStylesheet$body$_EvaluateVisitor0(node) {
  81503. var $async$goto = 0,
  81504. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  81505. $async$returnValue, $async$self = this, t1, t2, _i;
  81506. var $async$visitStylesheet$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  81507. if ($async$errorCode === 1)
  81508. return A._asyncRethrow($async$result, $async$completer);
  81509. while (true)
  81510. switch ($async$goto) {
  81511. case 0:
  81512. // Function start
  81513. t1 = node.children, t2 = t1.length, _i = 0;
  81514. case 3:
  81515. // for condition
  81516. if (!(_i < t2)) {
  81517. // goto after for
  81518. $async$goto = 5;
  81519. break;
  81520. }
  81521. $async$goto = 6;
  81522. return A._asyncAwait(t1[_i].accept$1($async$self), $async$visitStylesheet$1);
  81523. case 6:
  81524. // returning from await.
  81525. case 4:
  81526. // for update
  81527. ++_i;
  81528. // goto for condition
  81529. $async$goto = 3;
  81530. break;
  81531. case 5:
  81532. // after for
  81533. $async$returnValue = null;
  81534. // goto return
  81535. $async$goto = 1;
  81536. break;
  81537. case 1:
  81538. // return
  81539. return A._asyncReturn($async$returnValue, $async$completer);
  81540. }
  81541. });
  81542. return A._asyncStartSync($async$visitStylesheet$1, $async$completer);
  81543. },
  81544. visitAtRootRule$1(node) {
  81545. return this.visitAtRootRule$body$_EvaluateVisitor0(node);
  81546. },
  81547. visitAtRootRule$body$_EvaluateVisitor0(node) {
  81548. var $async$goto = 0,
  81549. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  81550. $async$returnValue, $async$self = this, _1_0, resolved, query, $parent, included, t1, _2_0, root, first, rest, innerCopy, outerCopy, _i, copy, _0_0;
  81551. var $async$visitAtRootRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  81552. if ($async$errorCode === 1)
  81553. return A._asyncRethrow($async$result, $async$completer);
  81554. while (true)
  81555. switch ($async$goto) {
  81556. case 0:
  81557. // Function start
  81558. _0_0 = node.query;
  81559. $async$goto = _0_0 != null ? 3 : 5;
  81560. break;
  81561. case 3:
  81562. // then
  81563. $async$goto = 6;
  81564. return A._asyncAwait($async$self._async_evaluate0$_performInterpolationWithMap$2$warnForColor(_0_0, true), $async$visitAtRootRule$1);
  81565. case 6:
  81566. // returning from await.
  81567. _1_0 = $async$result;
  81568. resolved = _1_0._0;
  81569. _1_0._1;
  81570. query = A.AtRootQueryParser$0(resolved, $async$self._async_evaluate0$_logger, null).parse$0();
  81571. // goto join
  81572. $async$goto = 4;
  81573. break;
  81574. case 5:
  81575. // else
  81576. query = B.AtRootQuery_n2q0;
  81577. case 4:
  81578. // join
  81579. $parent = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent");
  81580. included = A._setArrayType([], type$.JSArray_ModifiableCssParentNode_2);
  81581. for (t1 = type$.CssStylesheet_2; !t1._is($parent); $parent = _2_0) {
  81582. if (!query.excludes$1($parent))
  81583. included.push($parent);
  81584. _2_0 = $parent._node$_parent;
  81585. if (_2_0 == null)
  81586. throw A.wrapException(A.StateError$(string$.CssNod));
  81587. }
  81588. root = $async$self._async_evaluate0$_trimIncluded$1(included);
  81589. $async$goto = root === $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent") ? 7 : 8;
  81590. break;
  81591. case 7:
  81592. // then
  81593. $async$goto = 9;
  81594. 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);
  81595. case 9:
  81596. // returning from await.
  81597. $async$returnValue = null;
  81598. // goto return
  81599. $async$goto = 1;
  81600. break;
  81601. case 8:
  81602. // join
  81603. if (included.length >= 1) {
  81604. first = included[0];
  81605. rest = B.JSArray_methods.sublist$1(included, 1);
  81606. innerCopy = first.copyWithoutChildren$0();
  81607. for (t1 = rest.length, outerCopy = innerCopy, _i = 0; _i < rest.length; rest.length === t1 || (0, A.throwConcurrentModificationError)(rest), ++_i, outerCopy = copy) {
  81608. copy = rest[_i].copyWithoutChildren$0();
  81609. copy.addChild$1(outerCopy);
  81610. }
  81611. root.addChild$1(outerCopy);
  81612. } else
  81613. innerCopy = root;
  81614. $async$goto = 10;
  81615. 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);
  81616. case 10:
  81617. // returning from await.
  81618. $async$returnValue = null;
  81619. // goto return
  81620. $async$goto = 1;
  81621. break;
  81622. case 1:
  81623. // return
  81624. return A._asyncReturn($async$returnValue, $async$completer);
  81625. }
  81626. });
  81627. return A._asyncStartSync($async$visitAtRootRule$1, $async$completer);
  81628. },
  81629. _async_evaluate0$_trimIncluded$1(nodes) {
  81630. var $parent, t1, innermostContiguous, i, t2, _0_0, _1_0, root, _this = this, _null = null, _s5_ = "_root",
  81631. _s22_ = " to be an ancestor of ";
  81632. if (nodes.length === 0)
  81633. return _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_);
  81634. $parent = _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__parent, "__parent");
  81635. for (t1 = nodes.length, innermostContiguous = _null, i = 0; i < t1; ++i, $parent = _1_0) {
  81636. for (; t2 = nodes[i], $parent !== t2; innermostContiguous = _null, $parent = _0_0) {
  81637. _0_0 = $parent._node$_parent;
  81638. if (_0_0 == null)
  81639. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  81640. }
  81641. if (innermostContiguous == null)
  81642. innermostContiguous = i;
  81643. _1_0 = $parent._node$_parent;
  81644. if (_1_0 == null)
  81645. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  81646. }
  81647. if ($parent !== _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_))
  81648. return _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_);
  81649. innermostContiguous.toString;
  81650. root = nodes[innermostContiguous];
  81651. B.JSArray_methods.removeRange$2(nodes, innermostContiguous, nodes.length);
  81652. return root;
  81653. },
  81654. _async_evaluate0$_scopeForAtRoot$4(node, newParent, query, included) {
  81655. var _this = this,
  81656. scope = new A._EvaluateVisitor__scopeForAtRoot_closure17(_this, newParent, node),
  81657. t1 = query._at_root_query0$_all || query._at_root_query0$_rule;
  81658. if (t1 !== query.include)
  81659. scope = new A._EvaluateVisitor__scopeForAtRoot_closure18(_this, scope);
  81660. if (_this._async_evaluate0$_mediaQueries != null && query.excludesName$1("media"))
  81661. scope = new A._EvaluateVisitor__scopeForAtRoot_closure19(_this, scope);
  81662. if (_this._async_evaluate0$_inKeyframes && query.excludesName$1("keyframes"))
  81663. scope = new A._EvaluateVisitor__scopeForAtRoot_closure20(_this, scope);
  81664. return _this._async_evaluate0$_inUnknownAtRule && !B.JSArray_methods.any$1(included, new A._EvaluateVisitor__scopeForAtRoot_closure21()) ? new A._EvaluateVisitor__scopeForAtRoot_closure22(_this, scope) : scope;
  81665. },
  81666. visitContentBlock$1(node) {
  81667. return A.throwExpression(A.UnsupportedError$(string$.Evalua));
  81668. },
  81669. visitContentRule$1(node) {
  81670. return this.visitContentRule$body$_EvaluateVisitor0(node);
  81671. },
  81672. visitContentRule$body$_EvaluateVisitor0(node) {
  81673. var $async$goto = 0,
  81674. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  81675. $async$returnValue, $async$self = this, $content;
  81676. var $async$visitContentRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  81677. if ($async$errorCode === 1)
  81678. return A._asyncRethrow($async$result, $async$completer);
  81679. while (true)
  81680. switch ($async$goto) {
  81681. case 0:
  81682. // Function start
  81683. $content = $async$self._async_evaluate0$_environment._async_environment0$_content;
  81684. if ($content == null) {
  81685. $async$returnValue = null;
  81686. // goto return
  81687. $async$goto = 1;
  81688. break;
  81689. }
  81690. $async$goto = 3;
  81691. 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);
  81692. case 3:
  81693. // returning from await.
  81694. $async$returnValue = null;
  81695. // goto return
  81696. $async$goto = 1;
  81697. break;
  81698. case 1:
  81699. // return
  81700. return A._asyncReturn($async$returnValue, $async$completer);
  81701. }
  81702. });
  81703. return A._asyncStartSync($async$visitContentRule$1, $async$completer);
  81704. },
  81705. visitDebugRule$1(node) {
  81706. return this.visitDebugRule$body$_EvaluateVisitor0(node);
  81707. },
  81708. visitDebugRule$body$_EvaluateVisitor0(node) {
  81709. var $async$goto = 0,
  81710. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  81711. $async$returnValue, $async$self = this, value, t1;
  81712. var $async$visitDebugRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  81713. if ($async$errorCode === 1)
  81714. return A._asyncRethrow($async$result, $async$completer);
  81715. while (true)
  81716. switch ($async$goto) {
  81717. case 0:
  81718. // Function start
  81719. $async$goto = 3;
  81720. return A._asyncAwait(node.expression.accept$1($async$self), $async$visitDebugRule$1);
  81721. case 3:
  81722. // returning from await.
  81723. value = $async$result;
  81724. t1 = value instanceof A.SassString0 ? value._string0$_text : A.serializeValue0(value, true, true);
  81725. $async$self._async_evaluate0$_logger.debug$2(0, t1, node.span);
  81726. $async$returnValue = null;
  81727. // goto return
  81728. $async$goto = 1;
  81729. break;
  81730. case 1:
  81731. // return
  81732. return A._asyncReturn($async$returnValue, $async$completer);
  81733. }
  81734. });
  81735. return A._asyncStartSync($async$visitDebugRule$1, $async$completer);
  81736. },
  81737. visitDeclaration$1(node) {
  81738. return this.visitDeclaration$body$_EvaluateVisitor0(node);
  81739. },
  81740. visitDeclaration$body$_EvaluateVisitor0(node) {
  81741. var $async$goto = 0,
  81742. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  81743. $async$returnValue, $async$self = this, t2, $name, _0_0, _1_0, value, t3, t4, t5, _2_0, oldDeclarationName, t1;
  81744. var $async$visitDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  81745. if ($async$errorCode === 1)
  81746. return A._asyncRethrow($async$result, $async$completer);
  81747. while (true)
  81748. switch ($async$goto) {
  81749. case 0:
  81750. // Function start
  81751. t1 = {};
  81752. if (($async$self._async_evaluate0$_atRootExcludingStyleRule ? null : $async$self._async_evaluate0$_styleRuleIgnoringAtRoot) == null && !$async$self._async_evaluate0$_inUnknownAtRule && !$async$self._async_evaluate0$_inKeyframes)
  81753. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Declarm, node.span));
  81754. if ($async$self._async_evaluate0$_declarationName != null && B.JSString_methods.startsWith$1(node.name.get$initialPlain(), "--"))
  81755. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Declarw, node.span));
  81756. t2 = node.name;
  81757. $async$goto = 3;
  81758. return A._asyncAwait($async$self._async_evaluate0$_interpolationToValue$2$warnForColor(t2, true), $async$visitDeclaration$1);
  81759. case 3:
  81760. // returning from await.
  81761. $name = $async$result;
  81762. _0_0 = $async$self._async_evaluate0$_declarationName;
  81763. if (_0_0 != null)
  81764. $name = new A.CssValue0(_0_0 + "-" + A.S($name.value), $name.span, type$.CssValue_String_2);
  81765. _1_0 = node.value;
  81766. $async$goto = _1_0 != null ? 4 : 5;
  81767. break;
  81768. case 4:
  81769. // then
  81770. $async$goto = 6;
  81771. return A._asyncAwait(_1_0.accept$1($async$self), $async$visitDeclaration$1);
  81772. case 6:
  81773. // returning from await.
  81774. value = $async$result;
  81775. if (!value.get$isBlank() || value.get$asList().length === 0) {
  81776. t3 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent");
  81777. t4 = _1_0.get$span(_1_0);
  81778. t2 = B.JSString_methods.startsWith$1(t2.get$initialPlain(), "--");
  81779. if ($async$self._async_evaluate0$_sourceMap) {
  81780. t5 = A.NullableExtension_andThen0(_1_0, $async$self.get$_async_evaluate0$_expressionNode());
  81781. t5 = t5 == null ? null : J.get$span$z(t5);
  81782. } else
  81783. t5 = null;
  81784. t3.addChild$1(A.ModifiableCssDeclaration$0($name, new A.CssValue0(value, t4, type$.CssValue_Value_2), node.span, t2, t5));
  81785. } else if (J.startsWith$1$s($name.value, "--"))
  81786. throw A.wrapException($async$self._async_evaluate0$_exception$2("Custom property values may not be empty.", _1_0.get$span(_1_0)));
  81787. case 5:
  81788. // join
  81789. _2_0 = node.children;
  81790. t1.children = null;
  81791. $async$goto = _2_0 != null ? 7 : 8;
  81792. break;
  81793. case 7:
  81794. // then
  81795. t1.children = _2_0;
  81796. oldDeclarationName = $async$self._async_evaluate0$_declarationName;
  81797. $async$self._async_evaluate0$_declarationName = $name.value;
  81798. $async$goto = 9;
  81799. 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);
  81800. case 9:
  81801. // returning from await.
  81802. $async$self._async_evaluate0$_declarationName = oldDeclarationName;
  81803. case 8:
  81804. // join
  81805. $async$returnValue = null;
  81806. // goto return
  81807. $async$goto = 1;
  81808. break;
  81809. case 1:
  81810. // return
  81811. return A._asyncReturn($async$returnValue, $async$completer);
  81812. }
  81813. });
  81814. return A._asyncStartSync($async$visitDeclaration$1, $async$completer);
  81815. },
  81816. visitEachRule$1(node) {
  81817. return this.visitEachRule$body$_EvaluateVisitor0(node);
  81818. },
  81819. visitEachRule$body$_EvaluateVisitor0(node) {
  81820. var $async$goto = 0,
  81821. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  81822. $async$returnValue, $async$self = this, _box_0, t1, list, nodeWithSpan, _0_0;
  81823. var $async$visitEachRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  81824. if ($async$errorCode === 1)
  81825. return A._asyncRethrow($async$result, $async$completer);
  81826. while (true)
  81827. switch ($async$goto) {
  81828. case 0:
  81829. // Function start
  81830. _box_0 = {};
  81831. t1 = node.list;
  81832. $async$goto = 3;
  81833. return A._asyncAwait(t1.accept$1($async$self), $async$visitEachRule$1);
  81834. case 3:
  81835. // returning from await.
  81836. list = $async$result;
  81837. nodeWithSpan = $async$self._async_evaluate0$_expressionNode$1(t1);
  81838. _0_0 = node.variables;
  81839. $label0$0: {
  81840. _box_0.variable = null;
  81841. if (_0_0.length === 1) {
  81842. _box_0.variable = _0_0[0];
  81843. t1 = new A._EvaluateVisitor_visitEachRule_closure8(_box_0, $async$self, nodeWithSpan);
  81844. break $label0$0;
  81845. }
  81846. _box_0.variables = null;
  81847. _box_0.variables = _0_0;
  81848. t1 = new A._EvaluateVisitor_visitEachRule_closure9(_box_0, $async$self, nodeWithSpan);
  81849. break $label0$0;
  81850. }
  81851. $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);
  81852. // goto return
  81853. $async$goto = 1;
  81854. break;
  81855. case 1:
  81856. // return
  81857. return A._asyncReturn($async$returnValue, $async$completer);
  81858. }
  81859. });
  81860. return A._asyncStartSync($async$visitEachRule$1, $async$completer);
  81861. },
  81862. _async_evaluate0$_setMultipleVariables$3(variables, value, nodeWithSpan) {
  81863. var i,
  81864. list = value.get$asList(),
  81865. t1 = variables.length,
  81866. minLength = Math.min(t1, list.length);
  81867. for (i = 0; i < minLength; ++i)
  81868. this._async_evaluate0$_environment.setLocalVariable$3(variables[i], this._async_evaluate0$_withoutSlash$2(list[i], nodeWithSpan), nodeWithSpan);
  81869. for (i = minLength; i < t1; ++i)
  81870. this._async_evaluate0$_environment.setLocalVariable$3(variables[i], B.C__SassNull0, nodeWithSpan);
  81871. },
  81872. visitErrorRule$1(node) {
  81873. return this.visitErrorRule$body$_EvaluateVisitor0(node);
  81874. },
  81875. visitErrorRule$body$_EvaluateVisitor0(node) {
  81876. var $async$goto = 0,
  81877. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  81878. $async$self = this, $async$temp1, $async$temp2;
  81879. var $async$visitErrorRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  81880. if ($async$errorCode === 1)
  81881. return A._asyncRethrow($async$result, $async$completer);
  81882. while (true)
  81883. switch ($async$goto) {
  81884. case 0:
  81885. // Function start
  81886. $async$temp1 = A;
  81887. $async$temp2 = J;
  81888. $async$goto = 2;
  81889. return A._asyncAwait(node.expression.accept$1($async$self), $async$visitErrorRule$1);
  81890. case 2:
  81891. // returning from await.
  81892. throw $async$temp1.wrapException($async$self._async_evaluate0$_exception$2($async$temp2.toString$0$($async$result), node.span));
  81893. // implicit return
  81894. return A._asyncReturn(null, $async$completer);
  81895. }
  81896. });
  81897. return A._asyncStartSync($async$visitErrorRule$1, $async$completer);
  81898. },
  81899. visitExtendRule$1(node) {
  81900. return this.visitExtendRule$body$_EvaluateVisitor0(node);
  81901. },
  81902. visitExtendRule$body$_EvaluateVisitor0(node) {
  81903. var $async$goto = 0,
  81904. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  81905. $async$returnValue, $async$self = this, t1, t2, t3, t4, t5, _i, complex, visitor, t6, t7, _0_0, targetText, targetMap, compound, styleRule;
  81906. var $async$visitExtendRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  81907. if ($async$errorCode === 1)
  81908. return A._asyncRethrow($async$result, $async$completer);
  81909. while (true)
  81910. switch ($async$goto) {
  81911. case 0:
  81912. // Function start
  81913. styleRule = $async$self._async_evaluate0$_atRootExcludingStyleRule ? null : $async$self._async_evaluate0$_styleRuleIgnoringAtRoot;
  81914. if (styleRule == null || $async$self._async_evaluate0$_declarationName != null)
  81915. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.x40exten, node.span));
  81916. for (t1 = styleRule.originalSelector.components, t2 = t1.length, t3 = node.span, t4 = type$.SourceSpan, t5 = type$.String, _i = 0; _i < t2; ++_i) {
  81917. complex = t1[_i];
  81918. if (!complex.accept$1(B._IsBogusVisitor_true0))
  81919. continue;
  81920. visitor = A._SerializeVisitor$0(null, true, null, true, false, null, true);
  81921. complex.accept$1(visitor);
  81922. t6 = B.JSString_methods.trim$0(visitor._serialize0$_buffer.toString$0(0));
  81923. t7 = complex.accept$1(B.C__IsUselessVisitor0) ? "can't" : "shouldn't";
  81924. $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_5pG);
  81925. }
  81926. $async$goto = 3;
  81927. return A._asyncAwait($async$self._async_evaluate0$_performInterpolationWithMap$2$warnForColor(node.selector, true), $async$visitExtendRule$1);
  81928. case 3:
  81929. // returning from await.
  81930. _0_0 = $async$result;
  81931. targetText = _0_0._0;
  81932. targetMap = _0_0._1;
  81933. for (t1 = A.SelectorList_SelectorList$parse0(A.trimAscii0(targetText, true), false, targetMap, $async$self._async_evaluate0$_logger, false).components, t2 = t1.length, t3 = styleRule._style_rule0$_selector._box0$_inner, _i = 0; _i < t2; ++_i) {
  81934. complex = t1[_i];
  81935. compound = complex.get$singleCompound();
  81936. if (compound == null)
  81937. throw A.wrapException(A.SassFormatException$0("complex selectors may not be extended.", complex.span, null));
  81938. t4 = compound.components;
  81939. t5 = t4.length === 1 ? B.JSArray_methods.get$first(t4) : null;
  81940. if (t5 == null)
  81941. throw A.wrapException(A.SassFormatException$0(string$.compou + B.JSArray_methods.join$1(t4, ", ") + string$.x60_inst, compound.span, null));
  81942. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__extensionStore, "_extensionStore").addExtension$4(t3.value, t5, node, $async$self._async_evaluate0$_mediaQueries);
  81943. }
  81944. $async$returnValue = null;
  81945. // goto return
  81946. $async$goto = 1;
  81947. break;
  81948. case 1:
  81949. // return
  81950. return A._asyncReturn($async$returnValue, $async$completer);
  81951. }
  81952. });
  81953. return A._asyncStartSync($async$visitExtendRule$1, $async$completer);
  81954. },
  81955. visitAtRule$1(node) {
  81956. return this.visitAtRule$body$_EvaluateVisitor0(node);
  81957. },
  81958. visitAtRule$body$_EvaluateVisitor0(node) {
  81959. var $async$goto = 0,
  81960. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  81961. $async$returnValue, $async$self = this, $name, t1, value, children, wasInKeyframes, wasInUnknownAtRule;
  81962. var $async$visitAtRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  81963. if ($async$errorCode === 1)
  81964. return A._asyncRethrow($async$result, $async$completer);
  81965. while (true)
  81966. switch ($async$goto) {
  81967. case 0:
  81968. // Function start
  81969. if ($async$self._async_evaluate0$_declarationName != null)
  81970. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.At_rul, node.span));
  81971. $async$goto = 3;
  81972. return A._asyncAwait($async$self._async_evaluate0$_interpolationToValue$1(node.name), $async$visitAtRule$1);
  81973. case 3:
  81974. // returning from await.
  81975. $name = $async$result;
  81976. t1 = A.NullableExtension_andThen0(node.value, new A._EvaluateVisitor_visitAtRule_closure8($async$self));
  81977. $async$goto = 4;
  81978. return A._asyncAwait(type$.Future_nullable_CssValue_String_2._is(t1) ? t1 : A._Future$value(t1, type$.nullable_CssValue_String_2), $async$visitAtRule$1);
  81979. case 4:
  81980. // returning from await.
  81981. value = $async$result;
  81982. children = node.children;
  81983. if (children == null) {
  81984. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$0($name, node.span, true, value));
  81985. $async$returnValue = null;
  81986. // goto return
  81987. $async$goto = 1;
  81988. break;
  81989. }
  81990. wasInKeyframes = $async$self._async_evaluate0$_inKeyframes;
  81991. wasInUnknownAtRule = $async$self._async_evaluate0$_inUnknownAtRule;
  81992. if (A.unvendor0($name.value) === "keyframes")
  81993. $async$self._async_evaluate0$_inKeyframes = true;
  81994. else
  81995. $async$self._async_evaluate0$_inUnknownAtRule = true;
  81996. $async$goto = 5;
  81997. 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);
  81998. case 5:
  81999. // returning from await.
  82000. $async$self._async_evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
  82001. $async$self._async_evaluate0$_inKeyframes = wasInKeyframes;
  82002. $async$returnValue = null;
  82003. // goto return
  82004. $async$goto = 1;
  82005. break;
  82006. case 1:
  82007. // return
  82008. return A._asyncReturn($async$returnValue, $async$completer);
  82009. }
  82010. });
  82011. return A._asyncStartSync($async$visitAtRule$1, $async$completer);
  82012. },
  82013. visitForRule$1(node) {
  82014. return this.visitForRule$body$_EvaluateVisitor0(node);
  82015. },
  82016. visitForRule$body$_EvaluateVisitor0(node) {
  82017. var $async$goto = 0,
  82018. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  82019. $async$returnValue, $async$self = this, t1, t2, t3, fromNumber, t4, toNumber, from, to, direction;
  82020. var $async$visitForRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  82021. if ($async$errorCode === 1)
  82022. return A._asyncRethrow($async$result, $async$completer);
  82023. while (true)
  82024. switch ($async$goto) {
  82025. case 0:
  82026. // Function start
  82027. t1 = {};
  82028. t2 = node.from;
  82029. t3 = type$.SassNumber_2;
  82030. $async$goto = 3;
  82031. return A._asyncAwait($async$self._async_evaluate0$_addExceptionSpanAsync$1$2(t2, new A._EvaluateVisitor_visitForRule_closure14($async$self, node), t3), $async$visitForRule$1);
  82032. case 3:
  82033. // returning from await.
  82034. fromNumber = $async$result;
  82035. t4 = node.to;
  82036. $async$goto = 4;
  82037. return A._asyncAwait($async$self._async_evaluate0$_addExceptionSpanAsync$1$2(t4, new A._EvaluateVisitor_visitForRule_closure15($async$self, node), t3), $async$visitForRule$1);
  82038. case 4:
  82039. // returning from await.
  82040. toNumber = $async$result;
  82041. from = $async$self._async_evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure16(fromNumber));
  82042. to = t1.to = $async$self._async_evaluate0$_addExceptionSpan$2(t4, new A._EvaluateVisitor_visitForRule_closure17(toNumber, fromNumber));
  82043. direction = from > to ? -1 : 1;
  82044. if (from === (!node.isExclusive ? t1.to = to + direction : to)) {
  82045. $async$returnValue = null;
  82046. // goto return
  82047. $async$goto = 1;
  82048. break;
  82049. }
  82050. $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);
  82051. // goto return
  82052. $async$goto = 1;
  82053. break;
  82054. case 1:
  82055. // return
  82056. return A._asyncReturn($async$returnValue, $async$completer);
  82057. }
  82058. });
  82059. return A._asyncStartSync($async$visitForRule$1, $async$completer);
  82060. },
  82061. visitForwardRule$1(node) {
  82062. return this.visitForwardRule$body$_EvaluateVisitor0(node);
  82063. },
  82064. visitForwardRule$body$_EvaluateVisitor0(node) {
  82065. var $async$goto = 0,
  82066. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  82067. $async$returnValue, $async$self = this, newConfiguration, t4, _i, variable, $name, oldConfiguration, adjustedConfiguration, t1, t2, t3;
  82068. var $async$visitForwardRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  82069. if ($async$errorCode === 1)
  82070. return A._asyncRethrow($async$result, $async$completer);
  82071. while (true)
  82072. switch ($async$goto) {
  82073. case 0:
  82074. // Function start
  82075. oldConfiguration = $async$self._async_evaluate0$_configuration;
  82076. adjustedConfiguration = oldConfiguration.throughForward$1(node);
  82077. t1 = node.configuration;
  82078. t2 = t1.length;
  82079. t3 = node.url;
  82080. $async$goto = t2 !== 0 ? 3 : 5;
  82081. break;
  82082. case 3:
  82083. // then
  82084. $async$goto = 6;
  82085. return A._asyncAwait($async$self._async_evaluate0$_addForwardConfiguration$2(adjustedConfiguration, node), $async$visitForwardRule$1);
  82086. case 6:
  82087. // returning from await.
  82088. newConfiguration = $async$result;
  82089. $async$goto = 7;
  82090. 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);
  82091. case 7:
  82092. // returning from await.
  82093. t3 = type$.String;
  82094. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  82095. for (_i = 0; _i < t2; ++_i) {
  82096. variable = t1[_i];
  82097. if (!variable.isGuarded)
  82098. t4.add$1(0, variable.name);
  82099. }
  82100. $async$self._async_evaluate0$_removeUsedConfiguration$3$except(adjustedConfiguration, newConfiguration, t4);
  82101. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  82102. for (_i = 0; _i < t2; ++_i)
  82103. t3.add$1(0, t1[_i].name);
  82104. for (t1 = newConfiguration._configuration0$_values, t2 = J.toList$0$ax(t1.get$keys(t1)), t4 = t2.length, _i = 0; _i < t2.length; t2.length === t4 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  82105. $name = t2[_i];
  82106. if (!t3.contains$1(0, $name))
  82107. if (!t1.get$isEmpty(t1))
  82108. t1.remove$1(0, $name);
  82109. }
  82110. $async$self._async_evaluate0$_assertConfigurationIsEmpty$1(newConfiguration);
  82111. // goto join
  82112. $async$goto = 4;
  82113. break;
  82114. case 5:
  82115. // else
  82116. $async$self._async_evaluate0$_configuration = adjustedConfiguration;
  82117. $async$goto = 8;
  82118. return A._asyncAwait($async$self._async_evaluate0$_loadModule$4(t3, "@forward", node, new A._EvaluateVisitor_visitForwardRule_closure6($async$self, node)), $async$visitForwardRule$1);
  82119. case 8:
  82120. // returning from await.
  82121. $async$self._async_evaluate0$_configuration = oldConfiguration;
  82122. case 4:
  82123. // join
  82124. $async$returnValue = null;
  82125. // goto return
  82126. $async$goto = 1;
  82127. break;
  82128. case 1:
  82129. // return
  82130. return A._asyncReturn($async$returnValue, $async$completer);
  82131. }
  82132. });
  82133. return A._asyncStartSync($async$visitForwardRule$1, $async$completer);
  82134. },
  82135. _async_evaluate0$_addForwardConfiguration$2(configuration, node) {
  82136. return this._addForwardConfiguration$body$_EvaluateVisitor0(configuration, node);
  82137. },
  82138. _addForwardConfiguration$body$_EvaluateVisitor0(configuration, node) {
  82139. var $async$goto = 0,
  82140. $async$completer = A._makeAsyncAwaitCompleter(type$.Configuration_2),
  82141. $async$returnValue, $async$self = this, t2, t3, t4, t5, _i, variable, t6, oldValue, t7, variableNodeWithSpan, t8, t1, newValues, $async$temp1, $async$temp2, $async$temp3;
  82142. var $async$_async_evaluate0$_addForwardConfiguration$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  82143. if ($async$errorCode === 1)
  82144. return A._asyncRethrow($async$result, $async$completer);
  82145. while (true)
  82146. switch ($async$goto) {
  82147. case 0:
  82148. // Function start
  82149. t1 = configuration._configuration0$_values;
  82150. newValues = A.LinkedHashMap_LinkedHashMap$of(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue_2), type$.String, type$.ConfiguredValue_2);
  82151. t2 = node.configuration, t3 = t2.length, t4 = type$._Future_Value_2, t5 = type$.Future_Value_2, _i = 0;
  82152. case 3:
  82153. // for condition
  82154. if (!(_i < t3)) {
  82155. // goto after for
  82156. $async$goto = 5;
  82157. break;
  82158. }
  82159. variable = t2[_i];
  82160. if (variable.isGuarded) {
  82161. t6 = variable.name;
  82162. oldValue = t1.get$isEmpty(t1) ? null : t1.remove$1(0, t6);
  82163. if (oldValue != null)
  82164. t7 = !oldValue.value.$eq(0, B.C__SassNull0);
  82165. else {
  82166. oldValue = null;
  82167. t7 = false;
  82168. }
  82169. if (t7) {
  82170. newValues.$indexSet(0, t6, oldValue);
  82171. // goto for update
  82172. $async$goto = 4;
  82173. break;
  82174. }
  82175. }
  82176. t6 = variable.expression;
  82177. variableNodeWithSpan = $async$self._async_evaluate0$_expressionNode$1(t6);
  82178. t7 = variable.name;
  82179. t6 = t6.accept$1($async$self);
  82180. if (!t5._is(t6)) {
  82181. t8 = new A._Future($.Zone__current, t4);
  82182. t8._state = 8;
  82183. t8._resultOrListeners = t6;
  82184. t6 = t8;
  82185. }
  82186. $async$temp1 = newValues;
  82187. $async$temp2 = t7;
  82188. $async$temp3 = A;
  82189. $async$goto = 6;
  82190. return A._asyncAwait(t6, $async$_async_evaluate0$_addForwardConfiguration$2);
  82191. case 6:
  82192. // returning from await.
  82193. $async$temp1.$indexSet(0, $async$temp2, new $async$temp3.ConfiguredValue0($async$self._async_evaluate0$_withoutSlash$2($async$result, variableNodeWithSpan), variable.span, variableNodeWithSpan));
  82194. case 4:
  82195. // for update
  82196. ++_i;
  82197. // goto for condition
  82198. $async$goto = 3;
  82199. break;
  82200. case 5:
  82201. // after for
  82202. if (configuration instanceof A.ExplicitConfiguration0 || t1.get$isEmpty(t1)) {
  82203. $async$returnValue = new A.ExplicitConfiguration0(node, newValues, null);
  82204. // goto return
  82205. $async$goto = 1;
  82206. break;
  82207. } else {
  82208. $async$returnValue = new A.Configuration0(newValues, null);
  82209. // goto return
  82210. $async$goto = 1;
  82211. break;
  82212. }
  82213. case 1:
  82214. // return
  82215. return A._asyncReturn($async$returnValue, $async$completer);
  82216. }
  82217. });
  82218. return A._asyncStartSync($async$_async_evaluate0$_addForwardConfiguration$2, $async$completer);
  82219. },
  82220. _async_evaluate0$_registerCommentsForModule$1(module) {
  82221. var _this = this, _s5_ = "_root",
  82222. t1 = _this._async_evaluate0$__root;
  82223. if (t1 == null)
  82224. return;
  82225. if (_this._async_evaluate0$_assertInModule$2(t1, _s5_).children.get$length(0) === 0 || !module.get$transitivelyContainsCss())
  82226. return;
  82227. t1 = _this._async_evaluate0$_preModuleComments;
  82228. if (t1 == null)
  82229. t1 = _this._async_evaluate0$_preModuleComments = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable_2, type$.List_CssComment_2);
  82230. 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));
  82231. _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_).clearChildren$0();
  82232. _this._async_evaluate0$__endOfImports = 0;
  82233. },
  82234. _async_evaluate0$_removeUsedConfiguration$3$except(upstream, downstream, except) {
  82235. var t1, t2, t3, t4, _i, $name;
  82236. for (t1 = upstream._configuration0$_values, t2 = J.toList$0$ax(t1.get$keys(t1)), t3 = t2.length, t4 = downstream._configuration0$_values, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  82237. $name = t2[_i];
  82238. if (except.contains$1(0, $name))
  82239. continue;
  82240. if (!t4.containsKey$1($name))
  82241. if (!t1.get$isEmpty(t1))
  82242. t1.remove$1(0, $name);
  82243. }
  82244. },
  82245. _async_evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, nameInError) {
  82246. var t1, _0_0, $name, value;
  82247. if (!(configuration instanceof A.ExplicitConfiguration0))
  82248. return;
  82249. t1 = configuration._configuration0$_values;
  82250. if (t1.get$isEmpty(t1))
  82251. return;
  82252. t1 = A.MapExtensions_get_pairs0(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue_2), type$.String, type$.ConfiguredValue_2);
  82253. _0_0 = t1.get$first(t1);
  82254. $name = _0_0._0;
  82255. value = _0_0._1;
  82256. t1 = nameInError ? "$" + $name + string$.x20was_n : string$.This_v;
  82257. throw A.wrapException(this._async_evaluate0$_exception$2(t1, value.configurationSpan));
  82258. },
  82259. _async_evaluate0$_assertConfigurationIsEmpty$1(configuration) {
  82260. return this._async_evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, false);
  82261. },
  82262. visitFunctionRule$1(node) {
  82263. return this.visitFunctionRule$body$_EvaluateVisitor0(node);
  82264. },
  82265. visitFunctionRule$body$_EvaluateVisitor0(node) {
  82266. var $async$goto = 0,
  82267. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  82268. $async$returnValue, $async$self = this, t1, t2, t3, t4, index, t5;
  82269. var $async$visitFunctionRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  82270. if ($async$errorCode === 1)
  82271. return A._asyncRethrow($async$result, $async$completer);
  82272. while (true)
  82273. switch ($async$goto) {
  82274. case 0:
  82275. // Function start
  82276. t1 = $async$self._async_evaluate0$_environment;
  82277. t2 = t1.closure$0();
  82278. t3 = $async$self._async_evaluate0$_inDependency;
  82279. t4 = t1._async_environment0$_functions;
  82280. index = t4.length - 1;
  82281. t5 = node.name;
  82282. t1._async_environment0$_functionIndices.$indexSet(0, t5, index);
  82283. J.$indexSet$ax(t4[index], t5, new A.UserDefinedCallable0(node, t2, t3, type$.UserDefinedCallable_AsyncEnvironment_2));
  82284. $async$returnValue = null;
  82285. // goto return
  82286. $async$goto = 1;
  82287. break;
  82288. case 1:
  82289. // return
  82290. return A._asyncReturn($async$returnValue, $async$completer);
  82291. }
  82292. });
  82293. return A._asyncStartSync($async$visitFunctionRule$1, $async$completer);
  82294. },
  82295. visitIfRule$1(node) {
  82296. return this.visitIfRule$body$_EvaluateVisitor0(node);
  82297. },
  82298. visitIfRule$body$_EvaluateVisitor0(node) {
  82299. var $async$goto = 0,
  82300. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  82301. $async$returnValue, $async$self = this, t1, t2, _i, clauseToCheck, clause;
  82302. var $async$visitIfRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  82303. if ($async$errorCode === 1)
  82304. return A._asyncRethrow($async$result, $async$completer);
  82305. while (true)
  82306. switch ($async$goto) {
  82307. case 0:
  82308. // Function start
  82309. clause = node.lastClause;
  82310. t1 = node.clauses, t2 = t1.length, _i = 0;
  82311. case 3:
  82312. // for condition
  82313. if (!(_i < t2)) {
  82314. // goto after for
  82315. $async$goto = 5;
  82316. break;
  82317. }
  82318. clauseToCheck = t1[_i];
  82319. $async$goto = 6;
  82320. return A._asyncAwait(clauseToCheck.expression.accept$1($async$self), $async$visitIfRule$1);
  82321. case 6:
  82322. // returning from await.
  82323. if ($async$result.get$isTruthy()) {
  82324. clause = clauseToCheck;
  82325. // goto after for
  82326. $async$goto = 5;
  82327. break;
  82328. }
  82329. case 4:
  82330. // for update
  82331. ++_i;
  82332. // goto for condition
  82333. $async$goto = 3;
  82334. break;
  82335. case 5:
  82336. // after for
  82337. t1 = A.NullableExtension_andThen0(clause, new A._EvaluateVisitor_visitIfRule_closure2($async$self));
  82338. $async$goto = 7;
  82339. return A._asyncAwait(type$.Future_nullable_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.nullable_Value_2), $async$visitIfRule$1);
  82340. case 7:
  82341. // returning from await.
  82342. $async$returnValue = $async$result;
  82343. // goto return
  82344. $async$goto = 1;
  82345. break;
  82346. case 1:
  82347. // return
  82348. return A._asyncReturn($async$returnValue, $async$completer);
  82349. }
  82350. });
  82351. return A._asyncStartSync($async$visitIfRule$1, $async$completer);
  82352. },
  82353. visitImportRule$1(node) {
  82354. return this.visitImportRule$body$_EvaluateVisitor0(node);
  82355. },
  82356. visitImportRule$body$_EvaluateVisitor0(node) {
  82357. var $async$goto = 0,
  82358. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  82359. $async$returnValue, $async$self = this, t1, t2, t3, _i, $import;
  82360. var $async$visitImportRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  82361. if ($async$errorCode === 1)
  82362. return A._asyncRethrow($async$result, $async$completer);
  82363. while (true)
  82364. switch ($async$goto) {
  82365. case 0:
  82366. // Function start
  82367. t1 = node.imports, t2 = t1.length, t3 = type$.StaticImport_2, _i = 0;
  82368. case 3:
  82369. // for condition
  82370. if (!(_i < t2)) {
  82371. // goto after for
  82372. $async$goto = 5;
  82373. break;
  82374. }
  82375. $import = t1[_i];
  82376. $async$goto = $import instanceof A.DynamicImport0 ? 6 : 8;
  82377. break;
  82378. case 6:
  82379. // then
  82380. $async$goto = 9;
  82381. return A._asyncAwait($async$self._async_evaluate0$_visitDynamicImport$1($import), $async$visitImportRule$1);
  82382. case 9:
  82383. // returning from await.
  82384. // goto join
  82385. $async$goto = 7;
  82386. break;
  82387. case 8:
  82388. // else
  82389. $async$goto = 10;
  82390. return A._asyncAwait($async$self._async_evaluate0$_visitStaticImport$1(t3._as($import)), $async$visitImportRule$1);
  82391. case 10:
  82392. // returning from await.
  82393. case 7:
  82394. // join
  82395. case 4:
  82396. // for update
  82397. ++_i;
  82398. // goto for condition
  82399. $async$goto = 3;
  82400. break;
  82401. case 5:
  82402. // after for
  82403. $async$returnValue = null;
  82404. // goto return
  82405. $async$goto = 1;
  82406. break;
  82407. case 1:
  82408. // return
  82409. return A._asyncReturn($async$returnValue, $async$completer);
  82410. }
  82411. });
  82412. return A._asyncStartSync($async$visitImportRule$1, $async$completer);
  82413. },
  82414. _async_evaluate0$_visitDynamicImport$1($import) {
  82415. return this._async_evaluate0$_withStackFrame$1$3("@import", $import, new A._EvaluateVisitor__visitDynamicImport_closure2(this, $import), type$.void);
  82416. },
  82417. _async_evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, forImport) {
  82418. return this._loadStylesheet$body$_EvaluateVisitor0(url, span, baseUrl, forImport);
  82419. },
  82420. _async_evaluate0$_loadStylesheet$3$baseUrl(url, span, baseUrl) {
  82421. return this._async_evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, false);
  82422. },
  82423. _async_evaluate0$_loadStylesheet$3$forImport(url, span, forImport) {
  82424. return this._async_evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, null, forImport);
  82425. },
  82426. _loadStylesheet$body$_EvaluateVisitor0(url, span, baseUrl, forImport) {
  82427. var $async$goto = 0,
  82428. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_3_Stylesheet_and_nullable_AsyncImporter_importer_and_bool_isDependency_2),
  82429. $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, _0_0, importCache, _1_0, importer, canonicalUrl, originalUrl, isDependency, _2_0, stylesheet, _3_0, result, error, stackTrace, error0, stackTrace0, message, t1, t2, t3, t4, exception, message0, $async$exception;
  82430. var $async$_async_evaluate0$_loadStylesheet$4$baseUrl$forImport = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  82431. if ($async$errorCode === 1) {
  82432. $async$currentError = $async$result;
  82433. $async$goto = $async$handler;
  82434. }
  82435. while (true)
  82436. switch ($async$goto) {
  82437. case 0:
  82438. // Function start
  82439. baseUrl = baseUrl;
  82440. $async$handler = 4;
  82441. $async$self._async_evaluate0$_importSpan = span;
  82442. _0_0 = $async$self._async_evaluate0$_importCache;
  82443. importCache = null;
  82444. $async$goto = _0_0 != null ? 7 : 8;
  82445. break;
  82446. case 7:
  82447. // then
  82448. importCache = _0_0;
  82449. if (baseUrl == null)
  82450. baseUrl = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__stylesheet, "_stylesheet").span.file.url;
  82451. $async$goto = 9;
  82452. 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);
  82453. case 9:
  82454. // returning from await.
  82455. _1_0 = $async$result;
  82456. importer = null;
  82457. canonicalUrl = null;
  82458. originalUrl = null;
  82459. $async$goto = type$.Record_3_nullable_Object_and_nullable_Object_and_nullable_Object_originalUrl._is(_1_0) ? 10 : 11;
  82460. break;
  82461. case 10:
  82462. // then
  82463. importer = _1_0._0;
  82464. canonicalUrl = _1_0._1;
  82465. originalUrl = _1_0._2;
  82466. $async$self._async_evaluate0$_loadedUrls.add$1(0, canonicalUrl);
  82467. isDependency = $async$self._async_evaluate0$_inDependency || !J.$eq$(importer, $async$self._async_evaluate0$_importer);
  82468. t1 = importCache;
  82469. t2 = importer;
  82470. t3 = canonicalUrl;
  82471. t4 = originalUrl;
  82472. $async$goto = 12;
  82473. return A._asyncAwait(t1.importCanonical$4$originalUrl$quiet(t2, t3, t4, $async$self._async_evaluate0$_quietDeps && isDependency), $async$_async_evaluate0$_loadStylesheet$4$baseUrl$forImport);
  82474. case 12:
  82475. // returning from await.
  82476. _2_0 = $async$result;
  82477. stylesheet = null;
  82478. if (_2_0 != null) {
  82479. stylesheet = _2_0;
  82480. t1 = stylesheet;
  82481. t2 = importer;
  82482. $async$returnValue = new A._Record_3_importer_isDependency(t1, t2, isDependency);
  82483. $async$next = [1];
  82484. // goto finally
  82485. $async$goto = 5;
  82486. break;
  82487. }
  82488. case 11:
  82489. // join
  82490. case 8:
  82491. // join
  82492. $async$goto = $async$self._async_evaluate0$_nodeImporter != null ? 13 : 14;
  82493. break;
  82494. case 13:
  82495. // then
  82496. t1 = baseUrl;
  82497. $async$goto = 15;
  82498. return A._asyncAwait($async$self._async_evaluate0$_importLikeNode$3(url, t1 == null ? $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__stylesheet, "_stylesheet").span.file.url : t1, forImport), $async$_async_evaluate0$_loadStylesheet$4$baseUrl$forImport);
  82499. case 15:
  82500. // returning from await.
  82501. _3_0 = $async$result;
  82502. result = null;
  82503. if (_3_0 != null) {
  82504. result = _3_0;
  82505. t1 = $async$self._async_evaluate0$_loadedUrls;
  82506. A.NullableExtension_andThen0(result._0.span.file.url, t1.get$add(t1));
  82507. t1 = result;
  82508. $async$returnValue = t1;
  82509. $async$next = [1];
  82510. // goto finally
  82511. $async$goto = 5;
  82512. break;
  82513. }
  82514. case 14:
  82515. // join
  82516. t1 = B.JSString_methods.startsWith$1(url, "package:");
  82517. if (t1)
  82518. throw A.wrapException(string$.x22packa);
  82519. else
  82520. throw A.wrapException("Can't find stylesheet to import.");
  82521. $async$next.push(6);
  82522. // goto finally
  82523. $async$goto = 5;
  82524. break;
  82525. case 4:
  82526. // catch
  82527. $async$handler = 3;
  82528. $async$exception = $async$currentError;
  82529. t1 = A.unwrapException($async$exception);
  82530. if (t1 instanceof A.SassException0)
  82531. throw $async$exception;
  82532. else if (t1 instanceof A.ArgumentError) {
  82533. error = t1;
  82534. stackTrace = A.getTraceFromException($async$exception);
  82535. A.throwWithTrace0($async$self._async_evaluate0$_exception$1(J.toString$0$(error)), error, stackTrace);
  82536. } else {
  82537. error0 = t1;
  82538. stackTrace0 = A.getTraceFromException($async$exception);
  82539. message = null;
  82540. try {
  82541. message = A._asString(J.get$message$x(error0));
  82542. } catch (exception) {
  82543. message0 = J.toString$0$(error0);
  82544. message = message0;
  82545. }
  82546. A.throwWithTrace0($async$self._async_evaluate0$_exception$1(message), error0, stackTrace0);
  82547. }
  82548. $async$next.push(6);
  82549. // goto finally
  82550. $async$goto = 5;
  82551. break;
  82552. case 3:
  82553. // uncaught
  82554. $async$next = [2];
  82555. case 5:
  82556. // finally
  82557. $async$handler = 2;
  82558. $async$self._async_evaluate0$_importSpan = null;
  82559. // goto the next finally handler
  82560. $async$goto = $async$next.pop();
  82561. break;
  82562. case 6:
  82563. // after finally
  82564. case 1:
  82565. // return
  82566. return A._asyncReturn($async$returnValue, $async$completer);
  82567. case 2:
  82568. // rethrow
  82569. return A._asyncRethrow($async$currentError, $async$completer);
  82570. }
  82571. });
  82572. return A._asyncStartSync($async$_async_evaluate0$_loadStylesheet$4$baseUrl$forImport, $async$completer);
  82573. },
  82574. _async_evaluate0$_importLikeNode$3(originalUrl, previous, forImport) {
  82575. return this._importLikeNode$body$_EvaluateVisitor(originalUrl, previous, forImport);
  82576. },
  82577. _importLikeNode$body$_EvaluateVisitor(originalUrl, previous, forImport) {
  82578. var $async$goto = 0,
  82579. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Record_3_Stylesheet_and_nullable_AsyncImporter_importer_and_bool_isDependency),
  82580. $async$returnValue, $async$self = this, isDependency, url, t2, t1, result;
  82581. var $async$_async_evaluate0$_importLikeNode$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  82582. if ($async$errorCode === 1)
  82583. return A._asyncRethrow($async$result, $async$completer);
  82584. while (true)
  82585. switch ($async$goto) {
  82586. case 0:
  82587. // Function start
  82588. t1 = $async$self._async_evaluate0$_nodeImporter;
  82589. result = t1.loadRelative$3(originalUrl, previous, forImport);
  82590. $async$goto = result != null ? 3 : 5;
  82591. break;
  82592. case 3:
  82593. // then
  82594. isDependency = $async$self._async_evaluate0$_inDependency;
  82595. // goto join
  82596. $async$goto = 4;
  82597. break;
  82598. case 5:
  82599. // else
  82600. $async$goto = 6;
  82601. return A._asyncAwait(t1.loadAsync$3(originalUrl, previous, forImport), $async$_async_evaluate0$_importLikeNode$3);
  82602. case 6:
  82603. // returning from await.
  82604. result = $async$result;
  82605. if (result == null) {
  82606. $async$returnValue = null;
  82607. // goto return
  82608. $async$goto = 1;
  82609. break;
  82610. }
  82611. isDependency = true;
  82612. case 4:
  82613. // join
  82614. url = result._1;
  82615. t1 = B.JSString_methods.startsWith$1(url, "file") ? A.Syntax_forPath0(url) : B.Syntax_SCSS_scss0;
  82616. t2 = $async$self._async_evaluate0$_quietDeps && isDependency ? $.$get$Logger_quiet0() : $async$self._async_evaluate0$_logger;
  82617. $async$returnValue = new A._Record_3_importer_isDependency(A.Stylesheet_Stylesheet$parse0(result._0, t1, t2, url), null, isDependency);
  82618. // goto return
  82619. $async$goto = 1;
  82620. break;
  82621. case 1:
  82622. // return
  82623. return A._asyncReturn($async$returnValue, $async$completer);
  82624. }
  82625. });
  82626. return A._asyncStartSync($async$_async_evaluate0$_importLikeNode$3, $async$completer);
  82627. },
  82628. _async_evaluate0$_visitStaticImport$1($import) {
  82629. return this._visitStaticImport$body$_EvaluateVisitor0($import);
  82630. },
  82631. _visitStaticImport$body$_EvaluateVisitor0($import) {
  82632. var $async$goto = 0,
  82633. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  82634. $async$self = this, t1, t2, node, $async$temp1, $async$temp2;
  82635. var $async$_async_evaluate0$_visitStaticImport$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  82636. if ($async$errorCode === 1)
  82637. return A._asyncRethrow($async$result, $async$completer);
  82638. while (true)
  82639. switch ($async$goto) {
  82640. case 0:
  82641. // Function start
  82642. $async$goto = 2;
  82643. return A._asyncAwait($async$self._async_evaluate0$_interpolationToValue$1($import.url), $async$_async_evaluate0$_visitStaticImport$1);
  82644. case 2:
  82645. // returning from await.
  82646. t1 = $async$result;
  82647. t2 = A.NullableExtension_andThen0($import.modifiers, $async$self.get$_async_evaluate0$_interpolationToValue());
  82648. $async$temp1 = A;
  82649. $async$temp2 = t1;
  82650. $async$goto = 3;
  82651. 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);
  82652. case 3:
  82653. // returning from await.
  82654. node = new $async$temp1.ModifiableCssImport0($async$temp2, $async$result, $import.span);
  82655. 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"))
  82656. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(node);
  82657. 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)) {
  82658. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__root, "_root").addChild$1(node);
  82659. $async$self._async_evaluate0$__endOfImports = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__endOfImports, "_endOfImports") + 1;
  82660. } else {
  82661. t1 = $async$self._async_evaluate0$_outOfOrderImports;
  82662. (t1 == null ? $async$self._async_evaluate0$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport_2) : t1).push(node);
  82663. }
  82664. // implicit return
  82665. return A._asyncReturn(null, $async$completer);
  82666. }
  82667. });
  82668. return A._asyncStartSync($async$_async_evaluate0$_visitStaticImport$1, $async$completer);
  82669. },
  82670. _async_evaluate0$_applyMixin$5(mixin, contentCallable, $arguments, nodeWithSpan, nodeWithSpanWithoutContent) {
  82671. return this._applyMixin$body$_EvaluateVisitor0(mixin, contentCallable, $arguments, nodeWithSpan, nodeWithSpanWithoutContent);
  82672. },
  82673. _applyMixin$body$_EvaluateVisitor0(mixin, contentCallable, $arguments, nodeWithSpan, nodeWithSpanWithoutContent) {
  82674. var $async$goto = 0,
  82675. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  82676. $async$self = this, t1, _0_0, _1_8, t2;
  82677. var $async$_async_evaluate0$_applyMixin$5 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  82678. if ($async$errorCode === 1)
  82679. return A._asyncRethrow($async$result, $async$completer);
  82680. while (true)
  82681. switch ($async$goto) {
  82682. case 0:
  82683. // Function start
  82684. if (mixin == null)
  82685. throw A.wrapException($async$self._async_evaluate0$_exception$2("Undefined mixin.", nodeWithSpan.get$span(nodeWithSpan)));
  82686. t1 = type$.AsyncBuiltInCallable_2._is(mixin);
  82687. $async$goto = t1 && !mixin.get$acceptsContent() && contentCallable != null ? 3 : 4;
  82688. break;
  82689. case 3:
  82690. // then
  82691. $async$goto = 5;
  82692. return A._asyncAwait($async$self._async_evaluate0$_evaluateArguments$1($arguments), $async$_async_evaluate0$_applyMixin$5);
  82693. case 5:
  82694. // returning from await.
  82695. t1 = $async$result._values;
  82696. _0_0 = mixin.callbackFor$2(J.get$length$asx(t1[2]), new A.MapKeySet(t1[0], type$.MapKeySet_String));
  82697. 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));
  82698. case 4:
  82699. // join
  82700. $async$goto = t1 ? 6 : 7;
  82701. break;
  82702. case 6:
  82703. // then
  82704. $async$goto = 8;
  82705. 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);
  82706. case 8:
  82707. // returning from await.
  82708. // goto break $label0$0
  82709. $async$goto = 2;
  82710. break;
  82711. case 7:
  82712. // join
  82713. t1 = type$.UserDefinedCallable_AsyncEnvironment_2._is(mixin);
  82714. if (t1) {
  82715. _1_8 = mixin.declaration;
  82716. if (_1_8 instanceof A.MixinRule0)
  82717. t2 = !type$.MixinRule_2._as(_1_8).get$hasContent() && contentCallable != null;
  82718. else
  82719. t2 = false;
  82720. } else
  82721. t2 = false;
  82722. if (t2)
  82723. throw A.wrapException(A.MultiSpanSassRuntimeException$0("Mixin doesn't accept a content block.", nodeWithSpanWithoutContent.get$span(nodeWithSpanWithoutContent), "invocation", A.LinkedHashMap_LinkedHashMap$_literal([mixin.declaration.$arguments.get$spanWithName(), "declaration"], type$.FileSpan, type$.String), $async$self._async_evaluate0$_stackTrace$1(nodeWithSpanWithoutContent.get$span(nodeWithSpanWithoutContent)), null));
  82724. $async$goto = t1 ? 9 : 10;
  82725. break;
  82726. case 9:
  82727. // then
  82728. $async$goto = 11;
  82729. 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);
  82730. case 11:
  82731. // returning from await.
  82732. // goto break $label0$0
  82733. $async$goto = 2;
  82734. break;
  82735. case 10:
  82736. // join
  82737. throw A.wrapException(A.UnsupportedError$("Unknown callable type " + mixin.toString$0(0) + "."));
  82738. case 2:
  82739. // break $label0$0
  82740. // implicit return
  82741. return A._asyncReturn(null, $async$completer);
  82742. }
  82743. });
  82744. return A._asyncStartSync($async$_async_evaluate0$_applyMixin$5, $async$completer);
  82745. },
  82746. visitIncludeRule$1(node) {
  82747. return this.visitIncludeRule$body$_EvaluateVisitor0(node);
  82748. },
  82749. visitIncludeRule$body$_EvaluateVisitor0(node) {
  82750. var $async$goto = 0,
  82751. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  82752. $async$returnValue, $async$self = this, mixin;
  82753. var $async$visitIncludeRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  82754. if ($async$errorCode === 1)
  82755. return A._asyncRethrow($async$result, $async$completer);
  82756. while (true)
  82757. switch ($async$goto) {
  82758. case 0:
  82759. // Function start
  82760. mixin = $async$self._async_evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitIncludeRule_closure8($async$self, node));
  82761. if (B.JSString_methods.startsWith$1(node.originalName, "--") && mixin instanceof A.UserDefinedCallable0 && !B.JSString_methods.startsWith$1(mixin.declaration.originalName, "--"))
  82762. $async$self._async_evaluate0$_warn$3(string$.Sass__m, node.get$nameSpan(), B.Deprecation_qBS);
  82763. $async$goto = 3;
  82764. 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);
  82765. case 3:
  82766. // returning from await.
  82767. $async$returnValue = null;
  82768. // goto return
  82769. $async$goto = 1;
  82770. break;
  82771. case 1:
  82772. // return
  82773. return A._asyncReturn($async$returnValue, $async$completer);
  82774. }
  82775. });
  82776. return A._asyncStartSync($async$visitIncludeRule$1, $async$completer);
  82777. },
  82778. visitMixinRule$1(node) {
  82779. return this.visitMixinRule$body$_EvaluateVisitor0(node);
  82780. },
  82781. visitMixinRule$body$_EvaluateVisitor0(node) {
  82782. var $async$goto = 0,
  82783. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  82784. $async$returnValue, $async$self = this, t1, t2, t3, t4, index, t5;
  82785. var $async$visitMixinRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  82786. if ($async$errorCode === 1)
  82787. return A._asyncRethrow($async$result, $async$completer);
  82788. while (true)
  82789. switch ($async$goto) {
  82790. case 0:
  82791. // Function start
  82792. t1 = $async$self._async_evaluate0$_environment;
  82793. t2 = t1.closure$0();
  82794. t3 = $async$self._async_evaluate0$_inDependency;
  82795. t4 = t1._async_environment0$_mixins;
  82796. index = t4.length - 1;
  82797. t5 = node.name;
  82798. t1._async_environment0$_mixinIndices.$indexSet(0, t5, index);
  82799. J.$indexSet$ax(t4[index], t5, new A.UserDefinedCallable0(node, t2, t3, type$.UserDefinedCallable_AsyncEnvironment_2));
  82800. $async$returnValue = null;
  82801. // goto return
  82802. $async$goto = 1;
  82803. break;
  82804. case 1:
  82805. // return
  82806. return A._asyncReturn($async$returnValue, $async$completer);
  82807. }
  82808. });
  82809. return A._asyncStartSync($async$visitMixinRule$1, $async$completer);
  82810. },
  82811. visitLoudComment$1(node) {
  82812. return this.visitLoudComment$body$_EvaluateVisitor0(node);
  82813. },
  82814. visitLoudComment$body$_EvaluateVisitor0(node) {
  82815. var $async$goto = 0,
  82816. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  82817. $async$returnValue, $async$self = this, t1, $async$temp1, $async$temp2;
  82818. var $async$visitLoudComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  82819. if ($async$errorCode === 1)
  82820. return A._asyncRethrow($async$result, $async$completer);
  82821. while (true)
  82822. switch ($async$goto) {
  82823. case 0:
  82824. // Function start
  82825. if ($async$self._async_evaluate0$_inFunction) {
  82826. $async$returnValue = null;
  82827. // goto return
  82828. $async$goto = 1;
  82829. break;
  82830. }
  82831. 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))
  82832. $async$self._async_evaluate0$__endOfImports = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__endOfImports, "_endOfImports") + 1;
  82833. t1 = node.text;
  82834. $async$temp1 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent");
  82835. $async$temp2 = A;
  82836. $async$goto = 3;
  82837. return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(t1), $async$visitLoudComment$1);
  82838. case 3:
  82839. // returning from await.
  82840. $async$temp1.addChild$1(new $async$temp2.ModifiableCssComment0($async$result, t1.span));
  82841. $async$returnValue = null;
  82842. // goto return
  82843. $async$goto = 1;
  82844. break;
  82845. case 1:
  82846. // return
  82847. return A._asyncReturn($async$returnValue, $async$completer);
  82848. }
  82849. });
  82850. return A._asyncStartSync($async$visitLoudComment$1, $async$completer);
  82851. },
  82852. visitMediaRule$1(node) {
  82853. return this.visitMediaRule$body$_EvaluateVisitor0(node);
  82854. },
  82855. visitMediaRule$body$_EvaluateVisitor0(node) {
  82856. var $async$goto = 0,
  82857. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  82858. $async$returnValue, $async$self = this, queries, mergedQueries, t1, mergedSources, t2, t3;
  82859. var $async$visitMediaRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  82860. if ($async$errorCode === 1)
  82861. return A._asyncRethrow($async$result, $async$completer);
  82862. while (true)
  82863. switch ($async$goto) {
  82864. case 0:
  82865. // Function start
  82866. if ($async$self._async_evaluate0$_declarationName != null)
  82867. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Media_, node.span));
  82868. $async$goto = 3;
  82869. return A._asyncAwait($async$self._async_evaluate0$_visitMediaQueries$1(node.query), $async$visitMediaRule$1);
  82870. case 3:
  82871. // returning from await.
  82872. queries = $async$result;
  82873. mergedQueries = A.NullableExtension_andThen0($async$self._async_evaluate0$_mediaQueries, new A._EvaluateVisitor_visitMediaRule_closure8($async$self, queries));
  82874. t1 = mergedQueries == null;
  82875. if (!t1 && J.get$isEmpty$asx(mergedQueries)) {
  82876. $async$returnValue = null;
  82877. // goto return
  82878. $async$goto = 1;
  82879. break;
  82880. }
  82881. if (t1)
  82882. mergedSources = B.Set_empty5;
  82883. else {
  82884. t2 = $async$self._async_evaluate0$_mediaQuerySources;
  82885. t2.toString;
  82886. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery_2);
  82887. t3 = $async$self._async_evaluate0$_mediaQueries;
  82888. t3.toString;
  82889. t2.addAll$1(0, t3);
  82890. t2.addAll$1(0, queries);
  82891. mergedSources = t2;
  82892. }
  82893. t1 = t1 ? queries : mergedQueries;
  82894. $async$goto = 4;
  82895. 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);
  82896. case 4:
  82897. // returning from await.
  82898. $async$returnValue = null;
  82899. // goto return
  82900. $async$goto = 1;
  82901. break;
  82902. case 1:
  82903. // return
  82904. return A._asyncReturn($async$returnValue, $async$completer);
  82905. }
  82906. });
  82907. return A._asyncStartSync($async$visitMediaRule$1, $async$completer);
  82908. },
  82909. _async_evaluate0$_visitMediaQueries$1(interpolation) {
  82910. return this._visitMediaQueries$body$_EvaluateVisitor0(interpolation);
  82911. },
  82912. _visitMediaQueries$body$_EvaluateVisitor0(interpolation) {
  82913. var $async$goto = 0,
  82914. $async$completer = A._makeAsyncAwaitCompleter(type$.List_CssMediaQuery_2),
  82915. $async$returnValue, $async$self = this, _0_0;
  82916. var $async$_async_evaluate0$_visitMediaQueries$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  82917. if ($async$errorCode === 1)
  82918. return A._asyncRethrow($async$result, $async$completer);
  82919. while (true)
  82920. switch ($async$goto) {
  82921. case 0:
  82922. // Function start
  82923. $async$goto = 3;
  82924. return A._asyncAwait($async$self._async_evaluate0$_performInterpolationWithMap$2$warnForColor(interpolation, true), $async$_async_evaluate0$_visitMediaQueries$1);
  82925. case 3:
  82926. // returning from await.
  82927. _0_0 = $async$result;
  82928. $async$returnValue = A.CssMediaQuery_parseList0(_0_0._0, _0_0._1, $async$self._async_evaluate0$_logger);
  82929. // goto return
  82930. $async$goto = 1;
  82931. break;
  82932. case 1:
  82933. // return
  82934. return A._asyncReturn($async$returnValue, $async$completer);
  82935. }
  82936. });
  82937. return A._asyncStartSync($async$_async_evaluate0$_visitMediaQueries$1, $async$completer);
  82938. },
  82939. _async_evaluate0$_mergeMediaQueries$2(queries1, queries2) {
  82940. var t1, t2, t3, t4, _0_0, t5, result,
  82941. queries = A._setArrayType([], type$.JSArray_CssMediaQuery_2);
  82942. for (t1 = J.get$iterator$ax(queries1), t2 = J.getInterceptor$ax(queries2); t1.moveNext$0();) {
  82943. t3 = t1.get$current(t1);
  82944. for (t4 = t2.get$iterator(queries2); t4.moveNext$0();)
  82945. $label0$1: {
  82946. _0_0 = t3.merge$1(t4.get$current(t4));
  82947. if (B._SingletonCssMediaQueryMergeResult_00 === _0_0)
  82948. continue;
  82949. if (B._SingletonCssMediaQueryMergeResult_10 === _0_0)
  82950. return null;
  82951. t5 = _0_0 instanceof A.MediaQuerySuccessfulMergeResult0;
  82952. result = t5 ? _0_0 : null;
  82953. if (t5)
  82954. queries.push(result.query);
  82955. break $label0$1;
  82956. }
  82957. }
  82958. return queries;
  82959. },
  82960. visitReturnRule$1(node) {
  82961. return this.visitReturnRule$body$_EvaluateVisitor0(node);
  82962. },
  82963. visitReturnRule$body$_EvaluateVisitor0(node) {
  82964. var $async$goto = 0,
  82965. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  82966. $async$returnValue, $async$self = this, t1, t2;
  82967. var $async$visitReturnRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  82968. if ($async$errorCode === 1)
  82969. return A._asyncRethrow($async$result, $async$completer);
  82970. while (true)
  82971. switch ($async$goto) {
  82972. case 0:
  82973. // Function start
  82974. t1 = node.expression;
  82975. t2 = t1.accept$1($async$self);
  82976. $async$goto = 3;
  82977. return A._asyncAwait(type$.Future_Value_2._is(t2) ? t2 : A._Future$value(t2, type$.Value_2), $async$visitReturnRule$1);
  82978. case 3:
  82979. // returning from await.
  82980. $async$returnValue = $async$self._async_evaluate0$_withoutSlash$2($async$result, t1);
  82981. // goto return
  82982. $async$goto = 1;
  82983. break;
  82984. case 1:
  82985. // return
  82986. return A._asyncReturn($async$returnValue, $async$completer);
  82987. }
  82988. });
  82989. return A._asyncStartSync($async$visitReturnRule$1, $async$completer);
  82990. },
  82991. visitSilentComment$1(node) {
  82992. return this.visitSilentComment$body$_EvaluateVisitor0(node);
  82993. },
  82994. visitSilentComment$body$_EvaluateVisitor0(node) {
  82995. var $async$goto = 0,
  82996. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  82997. $async$returnValue;
  82998. var $async$visitSilentComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  82999. if ($async$errorCode === 1)
  83000. return A._asyncRethrow($async$result, $async$completer);
  83001. while (true)
  83002. switch ($async$goto) {
  83003. case 0:
  83004. // Function start
  83005. $async$returnValue = null;
  83006. // goto return
  83007. $async$goto = 1;
  83008. break;
  83009. case 1:
  83010. // return
  83011. return A._asyncReturn($async$returnValue, $async$completer);
  83012. }
  83013. });
  83014. return A._asyncStartSync($async$visitSilentComment$1, $async$completer);
  83015. },
  83016. visitStyleRule$1(node) {
  83017. return this.visitStyleRule$body$_EvaluateVisitor0(node);
  83018. },
  83019. visitStyleRule$body$_EvaluateVisitor0(node) {
  83020. var $async$goto = 0,
  83021. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  83022. $async$returnValue, $async$self = this, t1, _0_0, selectorText, selectorMap, parsedSelector, nest, t2, _i, _1_0, first, t3, rule, oldAtRootExcludingStyleRule, t4, t5, complex, visitor, t6, t7, t8, t9;
  83023. var $async$visitStyleRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  83024. if ($async$errorCode === 1)
  83025. return A._asyncRethrow($async$result, $async$completer);
  83026. while (true)
  83027. switch ($async$goto) {
  83028. case 0:
  83029. // Function start
  83030. if ($async$self._async_evaluate0$_declarationName != null)
  83031. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Style_n, node.span));
  83032. else if ($async$self._async_evaluate0$_inKeyframes && $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent") instanceof A.ModifiableCssKeyframeBlock0)
  83033. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Style_k, node.span));
  83034. t1 = node.selector;
  83035. $async$goto = 3;
  83036. return A._asyncAwait($async$self._async_evaluate0$_performInterpolationWithMap$2$warnForColor(t1, true), $async$visitStyleRule$1);
  83037. case 3:
  83038. // returning from await.
  83039. _0_0 = $async$result;
  83040. selectorText = _0_0._0;
  83041. selectorMap = _0_0._1;
  83042. $async$goto = $async$self._async_evaluate0$_inKeyframes ? 4 : 5;
  83043. break;
  83044. case 4:
  83045. // then
  83046. $async$goto = 6;
  83047. return A._asyncAwait($async$self._async_evaluate0$_withParent$2$4$scopeWhen$through(A.ModifiableCssKeyframeBlock$0(new A.CssValue0(A.List_List$unmodifiable(A.KeyframeSelectorParser$0(selectorText, selectorMap, $async$self._async_evaluate0$_logger).parse$0(), type$.String), t1.span, type$.CssValue_List_String_2), node.span), new A._EvaluateVisitor_visitStyleRule_closure14($async$self, node), node.hasDeclarations, new A._EvaluateVisitor_visitStyleRule_closure15(), type$.ModifiableCssKeyframeBlock_2, type$.Null), $async$visitStyleRule$1);
  83048. case 6:
  83049. // returning from await.
  83050. $async$returnValue = null;
  83051. // goto return
  83052. $async$goto = 1;
  83053. break;
  83054. case 5:
  83055. // join
  83056. parsedSelector = A.SelectorList_SelectorList$parse0(selectorText, true, selectorMap, $async$self._async_evaluate0$_logger, $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__stylesheet, "_stylesheet").plainCss);
  83057. t1 = $async$self._async_evaluate0$_atRootExcludingStyleRule ? null : $async$self._async_evaluate0$_styleRuleIgnoringAtRoot;
  83058. t1 = t1 == null ? null : t1.fromPlainCss;
  83059. nest = t1 !== true;
  83060. if (nest) {
  83061. if ($async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__stylesheet, "_stylesheet").plainCss)
  83062. for (t1 = parsedSelector.components, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  83063. _1_0 = t1[_i].leadingCombinators;
  83064. if (_1_0.length >= 1) {
  83065. first = _1_0[0];
  83066. t3 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__stylesheet, "_stylesheet");
  83067. t3 = t3.plainCss;
  83068. } else {
  83069. first = null;
  83070. t3 = false;
  83071. }
  83072. if (t3)
  83073. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Top_lel, first.span));
  83074. }
  83075. t1 = $async$self._async_evaluate0$_styleRuleIgnoringAtRoot;
  83076. t1 = t1 == null ? null : t1.originalSelector;
  83077. parsedSelector = parsedSelector.nestWithin$3$implicitParent$preserveParentSelectors(t1, !$async$self._async_evaluate0$_atRootExcludingStyleRule, $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__stylesheet, "_stylesheet").plainCss);
  83078. }
  83079. 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);
  83080. oldAtRootExcludingStyleRule = $async$self._async_evaluate0$_atRootExcludingStyleRule;
  83081. $async$self._async_evaluate0$_atRootExcludingStyleRule = false;
  83082. t1 = nest ? new A._EvaluateVisitor_visitStyleRule_closure16() : null;
  83083. $async$goto = 7;
  83084. return A._asyncAwait($async$self._async_evaluate0$_withParent$2$4$scopeWhen$through(rule, new A._EvaluateVisitor_visitStyleRule_closure17($async$self, rule, node), node.hasDeclarations, t1, type$.ModifiableCssStyleRule_2, type$.Null), $async$visitStyleRule$1);
  83085. case 7:
  83086. // returning from await.
  83087. $async$self._async_evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  83088. if (!rule.accept$1(B._IsInvisibleVisitor_false_false0))
  83089. for (t1 = parsedSelector.components, t2 = t1.length, t3 = type$.SourceSpan, t4 = type$.String, t5 = rule.children, _i = 0; _i < t2; ++_i) {
  83090. complex = t1[_i];
  83091. if (!complex.accept$1(B._IsBogusVisitor_true0))
  83092. continue;
  83093. if (complex.accept$1(B.C__IsUselessVisitor0)) {
  83094. visitor = A._SerializeVisitor$0(null, true, null, true, false, null, true);
  83095. complex.accept$1(visitor);
  83096. $async$self._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_5pG);
  83097. } else if (complex.leadingCombinators.length !== 0) {
  83098. if (!$async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__stylesheet, "_stylesheet").plainCss) {
  83099. visitor = A._SerializeVisitor$0(null, true, null, true, false, null, true);
  83100. complex.accept$1(visitor);
  83101. $async$self._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_5pG);
  83102. }
  83103. } else {
  83104. visitor = A._SerializeVisitor$0(null, true, null, true, false, null, true);
  83105. complex.accept$1(visitor);
  83106. t6 = B.JSString_methods.trim$0(visitor._serialize0$_buffer.toString$0(0));
  83107. t7 = complex.accept$1(B._IsBogusVisitor_false0) ? string$.x20It_wi : "";
  83108. t8 = A.SpanExtensions_trimRight0(complex.span);
  83109. if (t5.get$length(0) === 0)
  83110. A.throwExpression(A.IterableElementError_noElement());
  83111. t9 = J.get$span$z(t5.$index(0, 0));
  83112. $async$self._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_visitStyleRule_closure18()) ? "\n(try converting to a //-style comment)" : "")], t3, t4), t3, t4)), B.Deprecation_5pG);
  83113. }
  83114. }
  83115. if (($async$self._async_evaluate0$_atRootExcludingStyleRule ? null : $async$self._async_evaluate0$_styleRuleIgnoringAtRoot) == null) {
  83116. t1 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").children;
  83117. t1 = !t1.get$isEmpty(t1);
  83118. } else
  83119. t1 = false;
  83120. if (t1) {
  83121. t1 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").children;
  83122. t1.get$last(t1).isGroupEnd = true;
  83123. }
  83124. $async$returnValue = null;
  83125. // goto return
  83126. $async$goto = 1;
  83127. break;
  83128. case 1:
  83129. // return
  83130. return A._asyncReturn($async$returnValue, $async$completer);
  83131. }
  83132. });
  83133. return A._asyncStartSync($async$visitStyleRule$1, $async$completer);
  83134. },
  83135. visitSupportsRule$1(node) {
  83136. return this.visitSupportsRule$body$_EvaluateVisitor0(node);
  83137. },
  83138. visitSupportsRule$body$_EvaluateVisitor0(node) {
  83139. var $async$goto = 0,
  83140. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  83141. $async$returnValue, $async$self = this, t1, $async$temp1, $async$temp2;
  83142. var $async$visitSupportsRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  83143. if ($async$errorCode === 1)
  83144. return A._asyncRethrow($async$result, $async$completer);
  83145. while (true)
  83146. switch ($async$goto) {
  83147. case 0:
  83148. // Function start
  83149. if ($async$self._async_evaluate0$_declarationName != null)
  83150. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Suppor, node.span));
  83151. t1 = node.condition;
  83152. $async$temp1 = A;
  83153. $async$temp2 = A;
  83154. $async$goto = 4;
  83155. return A._asyncAwait($async$self._async_evaluate0$_visitSupportsCondition$1(t1), $async$visitSupportsRule$1);
  83156. case 4:
  83157. // returning from await.
  83158. $async$goto = 3;
  83159. 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);
  83160. case 3:
  83161. // returning from await.
  83162. $async$returnValue = null;
  83163. // goto return
  83164. $async$goto = 1;
  83165. break;
  83166. case 1:
  83167. // return
  83168. return A._asyncReturn($async$returnValue, $async$completer);
  83169. }
  83170. });
  83171. return A._asyncStartSync($async$visitSupportsRule$1, $async$completer);
  83172. },
  83173. _async_evaluate0$_visitSupportsCondition$1(condition) {
  83174. return this._visitSupportsCondition$body$_EvaluateVisitor0(condition);
  83175. },
  83176. _visitSupportsCondition$body$_EvaluateVisitor0(condition) {
  83177. var $async$goto = 0,
  83178. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  83179. $async$returnValue, $async$self = this, t1, _box_0, $async$temp1, $async$temp2;
  83180. var $async$_async_evaluate0$_visitSupportsCondition$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  83181. if ($async$errorCode === 1)
  83182. return A._asyncRethrow($async$result, $async$completer);
  83183. while (true)
  83184. switch ($async$goto) {
  83185. case 0:
  83186. // Function start
  83187. _box_0 = {};
  83188. $async$goto = condition instanceof A.SupportsOperation0 ? 4 : 5;
  83189. break;
  83190. case 4:
  83191. // then
  83192. t1 = condition.operator;
  83193. $async$temp1 = A;
  83194. $async$goto = 6;
  83195. return A._asyncAwait($async$self._async_evaluate0$_parenthesize$2(condition.left, t1), $async$_async_evaluate0$_visitSupportsCondition$1);
  83196. case 6:
  83197. // returning from await.
  83198. $async$temp1 = $async$temp1.S($async$result) + " " + t1 + " ";
  83199. $async$temp2 = A;
  83200. $async$goto = 7;
  83201. return A._asyncAwait($async$self._async_evaluate0$_parenthesize$2(condition.right, t1), $async$_async_evaluate0$_visitSupportsCondition$1);
  83202. case 7:
  83203. // returning from await.
  83204. t1 = $async$temp1 + $async$temp2.S($async$result);
  83205. // goto break $label0$0
  83206. $async$goto = 3;
  83207. break;
  83208. case 5:
  83209. // join
  83210. $async$goto = condition instanceof A.SupportsNegation0 ? 8 : 9;
  83211. break;
  83212. case 8:
  83213. // then
  83214. $async$temp1 = A;
  83215. $async$goto = 10;
  83216. return A._asyncAwait($async$self._async_evaluate0$_parenthesize$1(condition.condition), $async$_async_evaluate0$_visitSupportsCondition$1);
  83217. case 10:
  83218. // returning from await.
  83219. t1 = "not " + $async$temp1.S($async$result);
  83220. // goto break $label0$0
  83221. $async$goto = 3;
  83222. break;
  83223. case 9:
  83224. // join
  83225. $async$goto = condition instanceof A.SupportsInterpolation0 ? 11 : 12;
  83226. break;
  83227. case 11:
  83228. // then
  83229. $async$goto = 13;
  83230. return A._asyncAwait($async$self._async_evaluate0$_evaluateToCss$2$quote(condition.expression, false), $async$_async_evaluate0$_visitSupportsCondition$1);
  83231. case 13:
  83232. // returning from await.
  83233. t1 = $async$result;
  83234. // goto break $label0$0
  83235. $async$goto = 3;
  83236. break;
  83237. case 12:
  83238. // join
  83239. _box_0.declaration = null;
  83240. $async$goto = condition instanceof A.SupportsDeclaration0 ? 14 : 15;
  83241. break;
  83242. case 14:
  83243. // then
  83244. _box_0.declaration = condition;
  83245. $async$goto = 16;
  83246. return A._asyncAwait($async$self._async_evaluate0$_withSupportsDeclaration$1$1(new A._EvaluateVisitor__visitSupportsCondition_closure2(_box_0, $async$self), type$.String), $async$_async_evaluate0$_visitSupportsCondition$1);
  83247. case 16:
  83248. // returning from await.
  83249. t1 = $async$result;
  83250. // goto break $label0$0
  83251. $async$goto = 3;
  83252. break;
  83253. case 15:
  83254. // join
  83255. $async$goto = condition instanceof A.SupportsFunction0 ? 17 : 18;
  83256. break;
  83257. case 17:
  83258. // then
  83259. $async$temp1 = A;
  83260. $async$goto = 19;
  83261. return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(condition.name), $async$_async_evaluate0$_visitSupportsCondition$1);
  83262. case 19:
  83263. // returning from await.
  83264. $async$temp1 = $async$temp1.S($async$result) + "(";
  83265. $async$temp2 = A;
  83266. $async$goto = 20;
  83267. return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(condition.$arguments), $async$_async_evaluate0$_visitSupportsCondition$1);
  83268. case 20:
  83269. // returning from await.
  83270. t1 = $async$temp1 + $async$temp2.S($async$result) + ")";
  83271. // goto break $label0$0
  83272. $async$goto = 3;
  83273. break;
  83274. case 18:
  83275. // join
  83276. $async$goto = condition instanceof A.SupportsAnything0 ? 21 : 22;
  83277. break;
  83278. case 21:
  83279. // then
  83280. $async$temp1 = A;
  83281. $async$goto = 23;
  83282. return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(condition.contents), $async$_async_evaluate0$_visitSupportsCondition$1);
  83283. case 23:
  83284. // returning from await.
  83285. t1 = "(" + $async$temp1.S($async$result) + ")";
  83286. // goto break $label0$0
  83287. $async$goto = 3;
  83288. break;
  83289. case 22:
  83290. // join
  83291. t1 = A.throwExpression(A.ArgumentError$("Unknown supports condition type " + A.getRuntimeTypeOfDartObject(condition).toString$0(0) + ".", null));
  83292. case 3:
  83293. // break $label0$0
  83294. $async$returnValue = t1;
  83295. // goto return
  83296. $async$goto = 1;
  83297. break;
  83298. case 1:
  83299. // return
  83300. return A._asyncReturn($async$returnValue, $async$completer);
  83301. }
  83302. });
  83303. return A._asyncStartSync($async$_async_evaluate0$_visitSupportsCondition$1, $async$completer);
  83304. },
  83305. _async_evaluate0$_withSupportsDeclaration$1$1(callback, $T) {
  83306. return this._withSupportsDeclaration$body$_EvaluateVisitor0(callback, $T, $T);
  83307. },
  83308. _withSupportsDeclaration$body$_EvaluateVisitor0(callback, $T, $async$type) {
  83309. var $async$goto = 0,
  83310. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  83311. $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, t1, oldInSupportsDeclaration;
  83312. var $async$_async_evaluate0$_withSupportsDeclaration$1$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  83313. if ($async$errorCode === 1) {
  83314. $async$currentError = $async$result;
  83315. $async$goto = $async$handler;
  83316. }
  83317. while (true)
  83318. switch ($async$goto) {
  83319. case 0:
  83320. // Function start
  83321. oldInSupportsDeclaration = $async$self._async_evaluate0$_inSupportsDeclaration;
  83322. $async$self._async_evaluate0$_inSupportsDeclaration = true;
  83323. $async$handler = 3;
  83324. t1 = callback.call$0();
  83325. $async$goto = 6;
  83326. return A._asyncAwait($T._eval$1("Future<0>")._is(t1) ? t1 : A._Future$value(t1, $T), $async$_async_evaluate0$_withSupportsDeclaration$1$1);
  83327. case 6:
  83328. // returning from await.
  83329. t1 = $async$result;
  83330. $async$returnValue = t1;
  83331. $async$next = [1];
  83332. // goto finally
  83333. $async$goto = 4;
  83334. break;
  83335. $async$next.push(5);
  83336. // goto finally
  83337. $async$goto = 4;
  83338. break;
  83339. case 3:
  83340. // uncaught
  83341. $async$next = [2];
  83342. case 4:
  83343. // finally
  83344. $async$handler = 2;
  83345. $async$self._async_evaluate0$_inSupportsDeclaration = oldInSupportsDeclaration;
  83346. // goto the next finally handler
  83347. $async$goto = $async$next.pop();
  83348. break;
  83349. case 5:
  83350. // after finally
  83351. case 1:
  83352. // return
  83353. return A._asyncReturn($async$returnValue, $async$completer);
  83354. case 2:
  83355. // rethrow
  83356. return A._asyncRethrow($async$currentError, $async$completer);
  83357. }
  83358. });
  83359. return A._asyncStartSync($async$_async_evaluate0$_withSupportsDeclaration$1$1, $async$completer);
  83360. },
  83361. _async_evaluate0$_parenthesize$2(condition, operator) {
  83362. return this._parenthesize$body$_EvaluateVisitor0(condition, operator);
  83363. },
  83364. _async_evaluate0$_parenthesize$1(condition) {
  83365. return this._async_evaluate0$_parenthesize$2(condition, null);
  83366. },
  83367. _parenthesize$body$_EvaluateVisitor0(condition, operator) {
  83368. var $async$goto = 0,
  83369. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  83370. $async$returnValue, $async$self = this, t1, $async$temp1;
  83371. var $async$_async_evaluate0$_parenthesize$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  83372. if ($async$errorCode === 1)
  83373. return A._asyncRethrow($async$result, $async$completer);
  83374. while (true)
  83375. switch ($async$goto) {
  83376. case 0:
  83377. // Function start
  83378. if (!(condition instanceof A.SupportsNegation0))
  83379. if (condition instanceof A.SupportsOperation0)
  83380. t1 = operator == null || operator !== condition.operator;
  83381. else
  83382. t1 = false;
  83383. else
  83384. t1 = true;
  83385. $async$goto = t1 ? 3 : 4;
  83386. break;
  83387. case 3:
  83388. // then
  83389. $async$temp1 = A;
  83390. $async$goto = 5;
  83391. return A._asyncAwait($async$self._async_evaluate0$_visitSupportsCondition$1(condition), $async$_async_evaluate0$_parenthesize$2);
  83392. case 5:
  83393. // returning from await.
  83394. $async$returnValue = "(" + $async$temp1.S($async$result) + ")";
  83395. // goto return
  83396. $async$goto = 1;
  83397. break;
  83398. case 4:
  83399. // join
  83400. $async$goto = 6;
  83401. return A._asyncAwait($async$self._async_evaluate0$_visitSupportsCondition$1(condition), $async$_async_evaluate0$_parenthesize$2);
  83402. case 6:
  83403. // returning from await.
  83404. $async$returnValue = $async$result;
  83405. // goto return
  83406. $async$goto = 1;
  83407. break;
  83408. case 1:
  83409. // return
  83410. return A._asyncReturn($async$returnValue, $async$completer);
  83411. }
  83412. });
  83413. return A._asyncStartSync($async$_async_evaluate0$_parenthesize$2, $async$completer);
  83414. },
  83415. visitVariableDeclaration$1(node) {
  83416. return this.visitVariableDeclaration$body$_EvaluateVisitor0(node);
  83417. },
  83418. visitVariableDeclaration$body$_EvaluateVisitor0(node) {
  83419. var $async$goto = 0,
  83420. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  83421. $async$returnValue, $async$self = this, t2, value, t1, $async$temp1, $async$temp2, $async$temp3;
  83422. var $async$visitVariableDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  83423. if ($async$errorCode === 1)
  83424. return A._asyncRethrow($async$result, $async$completer);
  83425. while (true)
  83426. switch ($async$goto) {
  83427. case 0:
  83428. // Function start
  83429. t1 = {};
  83430. if (node.isGuarded) {
  83431. if (node.namespace == null && $async$self._async_evaluate0$_environment._async_environment0$_variables.length === 1) {
  83432. t2 = $async$self._async_evaluate0$_configuration._configuration0$_values;
  83433. t2 = t2.get$isEmpty(t2) ? null : t2.remove$1(0, node.name);
  83434. t1.override = null;
  83435. if (t2 != null) {
  83436. t1.override = t2;
  83437. t2 = !t2.value.$eq(0, B.C__SassNull0);
  83438. } else
  83439. t2 = false;
  83440. if (t2) {
  83441. $async$self._async_evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure8(t1, $async$self, node));
  83442. $async$returnValue = null;
  83443. // goto return
  83444. $async$goto = 1;
  83445. break;
  83446. }
  83447. }
  83448. value = $async$self._async_evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure9($async$self, node));
  83449. if (value != null && !value.$eq(0, B.C__SassNull0)) {
  83450. $async$returnValue = null;
  83451. // goto return
  83452. $async$goto = 1;
  83453. break;
  83454. }
  83455. }
  83456. if (node.isGlobal && !$async$self._async_evaluate0$_environment.globalVariableExists$1(node.name)) {
  83457. 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.";
  83458. $async$self._async_evaluate0$_warn$3(t1, node.span, B.Deprecation_W6Z);
  83459. }
  83460. t1 = node.expression;
  83461. t2 = t1.accept$1($async$self);
  83462. $async$temp1 = node;
  83463. $async$temp2 = A;
  83464. $async$temp3 = node;
  83465. $async$goto = 3;
  83466. return A._asyncAwait(type$.Future_Value_2._is(t2) ? t2 : A._Future$value(t2, type$.Value_2), $async$visitVariableDeclaration$1);
  83467. case 3:
  83468. // returning from await.
  83469. $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)));
  83470. $async$returnValue = null;
  83471. // goto return
  83472. $async$goto = 1;
  83473. break;
  83474. case 1:
  83475. // return
  83476. return A._asyncReturn($async$returnValue, $async$completer);
  83477. }
  83478. });
  83479. return A._asyncStartSync($async$visitVariableDeclaration$1, $async$completer);
  83480. },
  83481. visitUseRule$1(node) {
  83482. return this.visitUseRule$body$_EvaluateVisitor0(node);
  83483. },
  83484. visitUseRule$body$_EvaluateVisitor0(node) {
  83485. var $async$goto = 0,
  83486. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  83487. $async$returnValue, $async$self = this, values, t3, t4, _i, variable, t5, variableNodeWithSpan, t6, t7, configuration, t1, t2, $async$temp1, $async$temp2, $async$temp3;
  83488. var $async$visitUseRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  83489. if ($async$errorCode === 1)
  83490. return A._asyncRethrow($async$result, $async$completer);
  83491. while (true)
  83492. switch ($async$goto) {
  83493. case 0:
  83494. // Function start
  83495. t1 = node.configuration;
  83496. t2 = t1.length;
  83497. $async$goto = t2 !== 0 ? 3 : 5;
  83498. break;
  83499. case 3:
  83500. // then
  83501. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue_2);
  83502. t3 = type$._Future_Value_2, t4 = type$.Future_Value_2, _i = 0;
  83503. case 6:
  83504. // for condition
  83505. if (!(_i < t2)) {
  83506. // goto after for
  83507. $async$goto = 8;
  83508. break;
  83509. }
  83510. variable = t1[_i];
  83511. t5 = variable.expression;
  83512. variableNodeWithSpan = $async$self._async_evaluate0$_expressionNode$1(t5);
  83513. t6 = variable.name;
  83514. t5 = t5.accept$1($async$self);
  83515. if (!t4._is(t5)) {
  83516. t7 = new A._Future($.Zone__current, t3);
  83517. t7._state = 8;
  83518. t7._resultOrListeners = t5;
  83519. t5 = t7;
  83520. }
  83521. $async$temp1 = values;
  83522. $async$temp2 = t6;
  83523. $async$temp3 = A;
  83524. $async$goto = 9;
  83525. return A._asyncAwait(t5, $async$visitUseRule$1);
  83526. case 9:
  83527. // returning from await.
  83528. $async$temp1.$indexSet(0, $async$temp2, new $async$temp3.ConfiguredValue0($async$self._async_evaluate0$_withoutSlash$2($async$result, variableNodeWithSpan), variable.span, variableNodeWithSpan));
  83529. case 7:
  83530. // for update
  83531. ++_i;
  83532. // goto for condition
  83533. $async$goto = 6;
  83534. break;
  83535. case 8:
  83536. // after for
  83537. configuration = new A.ExplicitConfiguration0(node, values, null);
  83538. // goto join
  83539. $async$goto = 4;
  83540. break;
  83541. case 5:
  83542. // else
  83543. configuration = B.Configuration_Map_empty_null0;
  83544. case 4:
  83545. // join
  83546. $async$goto = 10;
  83547. 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);
  83548. case 10:
  83549. // returning from await.
  83550. $async$self._async_evaluate0$_assertConfigurationIsEmpty$1(configuration);
  83551. $async$returnValue = null;
  83552. // goto return
  83553. $async$goto = 1;
  83554. break;
  83555. case 1:
  83556. // return
  83557. return A._asyncReturn($async$returnValue, $async$completer);
  83558. }
  83559. });
  83560. return A._asyncStartSync($async$visitUseRule$1, $async$completer);
  83561. },
  83562. visitWarnRule$1(node) {
  83563. return this.visitWarnRule$body$_EvaluateVisitor0(node);
  83564. },
  83565. visitWarnRule$body$_EvaluateVisitor0(node) {
  83566. var $async$goto = 0,
  83567. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  83568. $async$returnValue, $async$self = this, value, t1;
  83569. var $async$visitWarnRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  83570. if ($async$errorCode === 1)
  83571. return A._asyncRethrow($async$result, $async$completer);
  83572. while (true)
  83573. switch ($async$goto) {
  83574. case 0:
  83575. // Function start
  83576. $async$goto = 3;
  83577. 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);
  83578. case 3:
  83579. // returning from await.
  83580. value = $async$result;
  83581. t1 = value instanceof A.SassString0 ? value._string0$_text : $async$self._async_evaluate0$_serialize$2(value, node.expression);
  83582. $async$self._async_evaluate0$_logger.warn$2$trace(0, t1, $async$self._async_evaluate0$_stackTrace$1(node.span));
  83583. $async$returnValue = null;
  83584. // goto return
  83585. $async$goto = 1;
  83586. break;
  83587. case 1:
  83588. // return
  83589. return A._asyncReturn($async$returnValue, $async$completer);
  83590. }
  83591. });
  83592. return A._asyncStartSync($async$visitWarnRule$1, $async$completer);
  83593. },
  83594. visitWhileRule$1(node) {
  83595. return this._async_evaluate0$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitWhileRule_closure2(this, node), true, node.hasDeclarations, type$.nullable_Value_2);
  83596. },
  83597. visitBinaryOperationExpression$1(node) {
  83598. var t1, _this = this;
  83599. if (_this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__stylesheet, "_stylesheet").plainCss) {
  83600. t1 = node.operator;
  83601. t1 = t1 !== B.BinaryOperator_wdM0 && t1 !== B.BinaryOperator_U770;
  83602. } else
  83603. t1 = false;
  83604. if (t1)
  83605. throw A.wrapException(_this._async_evaluate0$_exception$2("Operators aren't allowed in plain CSS.", node.get$operatorSpan()));
  83606. return _this._async_evaluate0$_addExceptionSpanAsync$1$2(node, new A._EvaluateVisitor_visitBinaryOperationExpression_closure2(_this, node), type$.Value_2);
  83607. },
  83608. _async_evaluate0$_slash$3(left, right, node) {
  83609. var t1, right0, _1_2, _1_1, _null = null,
  83610. result = left.dividedBy$1(right),
  83611. _1_2_isSet = left instanceof A.SassNumber0;
  83612. if (_1_2_isSet) {
  83613. t1 = type$.SassNumber_2;
  83614. t1._as(left);
  83615. if (right instanceof A.SassNumber0) {
  83616. t1._as(right);
  83617. t1 = node.allowsSlash && this._async_evaluate0$_operandAllowsSlash$1(node.left) && this._async_evaluate0$_operandAllowsSlash$1(node.right);
  83618. right0 = right;
  83619. _1_2 = right0;
  83620. } else {
  83621. right0 = _null;
  83622. _1_2 = right;
  83623. t1 = false;
  83624. }
  83625. _1_1 = left;
  83626. } else {
  83627. right0 = _null;
  83628. _1_2 = right0;
  83629. _1_1 = left;
  83630. left = _1_2;
  83631. t1 = false;
  83632. }
  83633. if (t1)
  83634. return type$.SassNumber_2._as(result).withSlash$2(left, right0);
  83635. if (_1_1 instanceof A.SassNumber0)
  83636. t1 = (_1_2_isSet ? _1_2 : right) instanceof A.SassNumber0;
  83637. else
  83638. t1 = false;
  83639. if (t1) {
  83640. 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_E8a);
  83641. return result;
  83642. }
  83643. return result;
  83644. },
  83645. _async_evaluate0$_operandAllowsSlash$1(node) {
  83646. var t1;
  83647. if (node instanceof A.FunctionExpression0)
  83648. if (node.namespace == null) {
  83649. t1 = node.name;
  83650. t1 = B.Set_yHF81.contains$1(0, t1.toLowerCase()) && this._async_evaluate0$_environment.getFunction$1(t1) == null;
  83651. } else
  83652. t1 = false;
  83653. else
  83654. t1 = true;
  83655. return t1;
  83656. },
  83657. visitValueExpression$1(node) {
  83658. return this.visitValueExpression$body$_EvaluateVisitor0(node);
  83659. },
  83660. visitValueExpression$body$_EvaluateVisitor0(node) {
  83661. var $async$goto = 0,
  83662. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  83663. $async$returnValue;
  83664. var $async$visitValueExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  83665. if ($async$errorCode === 1)
  83666. return A._asyncRethrow($async$result, $async$completer);
  83667. while (true)
  83668. switch ($async$goto) {
  83669. case 0:
  83670. // Function start
  83671. $async$returnValue = node.value;
  83672. // goto return
  83673. $async$goto = 1;
  83674. break;
  83675. case 1:
  83676. // return
  83677. return A._asyncReturn($async$returnValue, $async$completer);
  83678. }
  83679. });
  83680. return A._asyncStartSync($async$visitValueExpression$1, $async$completer);
  83681. },
  83682. visitVariableExpression$1(node) {
  83683. return this.visitVariableExpression$body$_EvaluateVisitor0(node);
  83684. },
  83685. visitVariableExpression$body$_EvaluateVisitor0(node) {
  83686. var $async$goto = 0,
  83687. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  83688. $async$returnValue, $async$self = this, result;
  83689. var $async$visitVariableExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  83690. if ($async$errorCode === 1)
  83691. return A._asyncRethrow($async$result, $async$completer);
  83692. while (true)
  83693. switch ($async$goto) {
  83694. case 0:
  83695. // Function start
  83696. result = $async$self._async_evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableExpression_closure2($async$self, node));
  83697. if (result != null) {
  83698. $async$returnValue = result;
  83699. // goto return
  83700. $async$goto = 1;
  83701. break;
  83702. }
  83703. throw A.wrapException($async$self._async_evaluate0$_exception$2("Undefined variable.", node.span));
  83704. case 1:
  83705. // return
  83706. return A._asyncReturn($async$returnValue, $async$completer);
  83707. }
  83708. });
  83709. return A._asyncStartSync($async$visitVariableExpression$1, $async$completer);
  83710. },
  83711. visitUnaryOperationExpression$1(node) {
  83712. return this.visitUnaryOperationExpression$body$_EvaluateVisitor0(node);
  83713. },
  83714. visitUnaryOperationExpression$body$_EvaluateVisitor0(node) {
  83715. var $async$goto = 0,
  83716. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  83717. $async$returnValue, $async$self = this, $async$temp1, $async$temp2, $async$temp3;
  83718. var $async$visitUnaryOperationExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  83719. if ($async$errorCode === 1)
  83720. return A._asyncRethrow($async$result, $async$completer);
  83721. while (true)
  83722. switch ($async$goto) {
  83723. case 0:
  83724. // Function start
  83725. $async$temp1 = node;
  83726. $async$temp2 = A;
  83727. $async$temp3 = node;
  83728. $async$goto = 3;
  83729. return A._asyncAwait(node.operand.accept$1($async$self), $async$visitUnaryOperationExpression$1);
  83730. case 3:
  83731. // returning from await.
  83732. $async$returnValue = $async$self._async_evaluate0$_addExceptionSpan$2($async$temp1, new $async$temp2._EvaluateVisitor_visitUnaryOperationExpression_closure2($async$temp3, $async$result));
  83733. // goto return
  83734. $async$goto = 1;
  83735. break;
  83736. case 1:
  83737. // return
  83738. return A._asyncReturn($async$returnValue, $async$completer);
  83739. }
  83740. });
  83741. return A._asyncStartSync($async$visitUnaryOperationExpression$1, $async$completer);
  83742. },
  83743. visitBooleanExpression$1(node) {
  83744. return this.visitBooleanExpression$body$_EvaluateVisitor0(node);
  83745. },
  83746. visitBooleanExpression$body$_EvaluateVisitor0(node) {
  83747. var $async$goto = 0,
  83748. $async$completer = A._makeAsyncAwaitCompleter(type$.SassBoolean_2),
  83749. $async$returnValue;
  83750. var $async$visitBooleanExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  83751. if ($async$errorCode === 1)
  83752. return A._asyncRethrow($async$result, $async$completer);
  83753. while (true)
  83754. switch ($async$goto) {
  83755. case 0:
  83756. // Function start
  83757. $async$returnValue = node.value ? B.SassBoolean_true0 : B.SassBoolean_false0;
  83758. // goto return
  83759. $async$goto = 1;
  83760. break;
  83761. case 1:
  83762. // return
  83763. return A._asyncReturn($async$returnValue, $async$completer);
  83764. }
  83765. });
  83766. return A._asyncStartSync($async$visitBooleanExpression$1, $async$completer);
  83767. },
  83768. visitIfExpression$1(node) {
  83769. return this.visitIfExpression$body$_EvaluateVisitor0(node);
  83770. },
  83771. visitIfExpression$body$_EvaluateVisitor0(node) {
  83772. var $async$goto = 0,
  83773. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  83774. $async$returnValue, $async$self = this, condition, t1, ifTrue, ifFalse, result, _0_0, positional, named;
  83775. var $async$visitIfExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  83776. if ($async$errorCode === 1)
  83777. return A._asyncRethrow($async$result, $async$completer);
  83778. while (true)
  83779. switch ($async$goto) {
  83780. case 0:
  83781. // Function start
  83782. $async$goto = 3;
  83783. return A._asyncAwait($async$self._async_evaluate0$_evaluateMacroArguments$1(node), $async$visitIfExpression$1);
  83784. case 3:
  83785. // returning from await.
  83786. _0_0 = $async$result;
  83787. positional = _0_0._0;
  83788. named = _0_0._1;
  83789. $async$self._async_evaluate0$_verifyArguments$4(J.get$length$asx(positional), named, $.$get$IfExpression_declaration0(), node);
  83790. condition = A.ListExtensions_elementAtOrNull(positional, 0);
  83791. if (condition == null) {
  83792. t1 = named.$index(0, "condition");
  83793. t1.toString;
  83794. condition = t1;
  83795. }
  83796. ifTrue = A.ListExtensions_elementAtOrNull(positional, 1);
  83797. if (ifTrue == null) {
  83798. t1 = named.$index(0, "if-true");
  83799. t1.toString;
  83800. ifTrue = t1;
  83801. }
  83802. ifFalse = A.ListExtensions_elementAtOrNull(positional, 2);
  83803. if (ifFalse == null) {
  83804. t1 = named.$index(0, "if-false");
  83805. t1.toString;
  83806. ifFalse = t1;
  83807. }
  83808. $async$goto = 4;
  83809. return A._asyncAwait(condition.accept$1($async$self), $async$visitIfExpression$1);
  83810. case 4:
  83811. // returning from await.
  83812. result = $async$result.get$isTruthy() ? ifTrue : ifFalse;
  83813. t1 = result.accept$1($async$self);
  83814. $async$goto = 5;
  83815. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$visitIfExpression$1);
  83816. case 5:
  83817. // returning from await.
  83818. $async$returnValue = $async$self._async_evaluate0$_withoutSlash$2($async$result, $async$self._async_evaluate0$_expressionNode$1(result));
  83819. // goto return
  83820. $async$goto = 1;
  83821. break;
  83822. case 1:
  83823. // return
  83824. return A._asyncReturn($async$returnValue, $async$completer);
  83825. }
  83826. });
  83827. return A._asyncStartSync($async$visitIfExpression$1, $async$completer);
  83828. },
  83829. visitNullExpression$1(node) {
  83830. return this.visitNullExpression$body$_EvaluateVisitor0(node);
  83831. },
  83832. visitNullExpression$body$_EvaluateVisitor0(node) {
  83833. var $async$goto = 0,
  83834. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  83835. $async$returnValue;
  83836. var $async$visitNullExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  83837. if ($async$errorCode === 1)
  83838. return A._asyncRethrow($async$result, $async$completer);
  83839. while (true)
  83840. switch ($async$goto) {
  83841. case 0:
  83842. // Function start
  83843. $async$returnValue = B.C__SassNull0;
  83844. // goto return
  83845. $async$goto = 1;
  83846. break;
  83847. case 1:
  83848. // return
  83849. return A._asyncReturn($async$returnValue, $async$completer);
  83850. }
  83851. });
  83852. return A._asyncStartSync($async$visitNullExpression$1, $async$completer);
  83853. },
  83854. visitNumberExpression$1(node) {
  83855. return this.visitNumberExpression$body$_EvaluateVisitor0(node);
  83856. },
  83857. visitNumberExpression$body$_EvaluateVisitor0(node) {
  83858. var $async$goto = 0,
  83859. $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber_2),
  83860. $async$returnValue;
  83861. var $async$visitNumberExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  83862. if ($async$errorCode === 1)
  83863. return A._asyncRethrow($async$result, $async$completer);
  83864. while (true)
  83865. switch ($async$goto) {
  83866. case 0:
  83867. // Function start
  83868. $async$returnValue = A.SassNumber_SassNumber0(node.value, node.unit);
  83869. // goto return
  83870. $async$goto = 1;
  83871. break;
  83872. case 1:
  83873. // return
  83874. return A._asyncReturn($async$returnValue, $async$completer);
  83875. }
  83876. });
  83877. return A._asyncStartSync($async$visitNumberExpression$1, $async$completer);
  83878. },
  83879. visitParenthesizedExpression$1(node) {
  83880. var _this = this;
  83881. 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);
  83882. },
  83883. visitColorExpression$1(node) {
  83884. return this.visitColorExpression$body$_EvaluateVisitor0(node);
  83885. },
  83886. visitColorExpression$body$_EvaluateVisitor0(node) {
  83887. var $async$goto = 0,
  83888. $async$completer = A._makeAsyncAwaitCompleter(type$.SassColor_2),
  83889. $async$returnValue;
  83890. var $async$visitColorExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  83891. if ($async$errorCode === 1)
  83892. return A._asyncRethrow($async$result, $async$completer);
  83893. while (true)
  83894. switch ($async$goto) {
  83895. case 0:
  83896. // Function start
  83897. $async$returnValue = node.value;
  83898. // goto return
  83899. $async$goto = 1;
  83900. break;
  83901. case 1:
  83902. // return
  83903. return A._asyncReturn($async$returnValue, $async$completer);
  83904. }
  83905. });
  83906. return A._asyncStartSync($async$visitColorExpression$1, $async$completer);
  83907. },
  83908. visitListExpression$1(node) {
  83909. return this.visitListExpression$body$_EvaluateVisitor0(node);
  83910. },
  83911. visitListExpression$body$_EvaluateVisitor0(node) {
  83912. var $async$goto = 0,
  83913. $async$completer = A._makeAsyncAwaitCompleter(type$.SassList_2),
  83914. $async$returnValue, $async$self = this, $async$temp1;
  83915. var $async$visitListExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  83916. if ($async$errorCode === 1)
  83917. return A._asyncRethrow($async$result, $async$completer);
  83918. while (true)
  83919. switch ($async$goto) {
  83920. case 0:
  83921. // Function start
  83922. $async$temp1 = A;
  83923. $async$goto = 3;
  83924. return A._asyncAwait(A.mapAsync0(node.contents, new A._EvaluateVisitor_visitListExpression_closure2($async$self), type$.Expression_2, type$.Value_2), $async$visitListExpression$1);
  83925. case 3:
  83926. // returning from await.
  83927. $async$returnValue = $async$temp1.SassList$0($async$result, node.separator, node.hasBrackets);
  83928. // goto return
  83929. $async$goto = 1;
  83930. break;
  83931. case 1:
  83932. // return
  83933. return A._asyncReturn($async$returnValue, $async$completer);
  83934. }
  83935. });
  83936. return A._asyncStartSync($async$visitListExpression$1, $async$completer);
  83937. },
  83938. visitMapExpression$1(node) {
  83939. return this.visitMapExpression$body$_EvaluateVisitor0(node);
  83940. },
  83941. visitMapExpression$body$_EvaluateVisitor0(node) {
  83942. var $async$goto = 0,
  83943. $async$completer = A._makeAsyncAwaitCompleter(type$.SassMap_2),
  83944. $async$returnValue, $async$self = this, t2, t3, _i, t4, key, value, keyValue, valueValue, oldValueSpan, t1, map, keyNodes;
  83945. var $async$visitMapExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  83946. if ($async$errorCode === 1)
  83947. return A._asyncRethrow($async$result, $async$completer);
  83948. while (true)
  83949. switch ($async$goto) {
  83950. case 0:
  83951. // Function start
  83952. t1 = type$.Value_2;
  83953. map = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  83954. keyNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.AstNode_2);
  83955. t2 = node.pairs, t3 = t2.length, _i = 0;
  83956. case 3:
  83957. // for condition
  83958. if (!(_i < t3)) {
  83959. // goto after for
  83960. $async$goto = 5;
  83961. break;
  83962. }
  83963. t4 = t2[_i];
  83964. key = t4._0;
  83965. value = t4._1;
  83966. $async$goto = 6;
  83967. return A._asyncAwait(key.accept$1($async$self), $async$visitMapExpression$1);
  83968. case 6:
  83969. // returning from await.
  83970. keyValue = $async$result;
  83971. $async$goto = 7;
  83972. return A._asyncAwait(value.accept$1($async$self), $async$visitMapExpression$1);
  83973. case 7:
  83974. // returning from await.
  83975. valueValue = $async$result;
  83976. if (map.containsKey$1(keyValue)) {
  83977. t1 = keyNodes.$index(0, keyValue);
  83978. oldValueSpan = t1 == null ? null : t1.get$span(t1);
  83979. t1 = key.get$span(key);
  83980. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  83981. if (oldValueSpan != null)
  83982. t2.$indexSet(0, oldValueSpan, "first key");
  83983. throw A.wrapException(A.MultiSpanSassRuntimeException$0("Duplicate key.", t1, "second key", t2, $async$self._async_evaluate0$_stackTrace$1(key.get$span(key)), null));
  83984. }
  83985. map.$indexSet(0, keyValue, valueValue);
  83986. keyNodes.$indexSet(0, keyValue, key);
  83987. case 4:
  83988. // for update
  83989. ++_i;
  83990. // goto for condition
  83991. $async$goto = 3;
  83992. break;
  83993. case 5:
  83994. // after for
  83995. $async$returnValue = new A.SassMap0(A.ConstantMap_ConstantMap$from(map, t1, t1));
  83996. // goto return
  83997. $async$goto = 1;
  83998. break;
  83999. case 1:
  84000. // return
  84001. return A._asyncReturn($async$returnValue, $async$completer);
  84002. }
  84003. });
  84004. return A._asyncStartSync($async$visitMapExpression$1, $async$completer);
  84005. },
  84006. visitFunctionExpression$1(node) {
  84007. return this.visitFunctionExpression$body$_EvaluateVisitor0(node);
  84008. },
  84009. visitFunctionExpression$body$_EvaluateVisitor0(node) {
  84010. var $async$goto = 0,
  84011. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  84012. $async$returnValue, $async$self = this, t2, _0_0, t3, t4, oldInFunction, result, t1, $function;
  84013. var $async$visitFunctionExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  84014. if ($async$errorCode === 1)
  84015. return A._asyncRethrow($async$result, $async$completer);
  84016. while (true)
  84017. switch ($async$goto) {
  84018. case 0:
  84019. // Function start
  84020. t1 = {};
  84021. $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));
  84022. t1.$function = $function;
  84023. $async$goto = $function == null ? 3 : 5;
  84024. break;
  84025. case 3:
  84026. // then
  84027. if (node.namespace != null)
  84028. throw A.wrapException($async$self._async_evaluate0$_exception$2("Undefined function.", node.span));
  84029. t2 = node.name;
  84030. _0_0 = t2.toLowerCase();
  84031. if ("min" === _0_0 || "max" === _0_0 || "round" === _0_0 || "abs" === _0_0) {
  84032. t3 = node.$arguments;
  84033. t4 = t3.named;
  84034. t3 = t4.get$isEmpty(t4) && t3.rest == null && B.JSArray_methods.every$1(t3.positional, new A._EvaluateVisitor_visitFunctionExpression_closure9());
  84035. } else
  84036. t3 = false;
  84037. $async$goto = t3 ? 6 : 7;
  84038. break;
  84039. case 6:
  84040. // then
  84041. $async$goto = 8;
  84042. return A._asyncAwait($async$self._async_evaluate0$_visitCalculation$2$inLegacySassFunction(node, true), $async$visitFunctionExpression$1);
  84043. case 8:
  84044. // returning from await.
  84045. $async$returnValue = $async$result;
  84046. // goto return
  84047. $async$goto = 1;
  84048. break;
  84049. case 7:
  84050. // join
  84051. $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 ? 9 : 10;
  84052. break;
  84053. case 9:
  84054. // then
  84055. $async$goto = 11;
  84056. return A._asyncAwait($async$self._async_evaluate0$_visitCalculation$1(node), $async$visitFunctionExpression$1);
  84057. case 11:
  84058. // returning from await.
  84059. $async$returnValue = $async$result;
  84060. // goto return
  84061. $async$goto = 1;
  84062. break;
  84063. case 10:
  84064. // join
  84065. $function = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__stylesheet, "_stylesheet").plainCss ? null : $async$self._async_evaluate0$_builtInFunctions.$index(0, t2);
  84066. t2 = t1.$function = $function == null ? new A.PlainCssCallable0(node.originalName) : $function;
  84067. // goto join
  84068. $async$goto = 4;
  84069. break;
  84070. case 5:
  84071. // else
  84072. t2 = $function;
  84073. case 4:
  84074. // join
  84075. if (B.JSString_methods.startsWith$1(node.originalName, "--") && t2 instanceof A.UserDefinedCallable0 && !B.JSString_methods.startsWith$1(t2.declaration.originalName, "--"))
  84076. $async$self._async_evaluate0$_warn$3(string$.Sass__ff, node.get$nameSpan(), B.Deprecation_qBS);
  84077. oldInFunction = $async$self._async_evaluate0$_inFunction;
  84078. $async$self._async_evaluate0$_inFunction = true;
  84079. $async$goto = 12;
  84080. 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);
  84081. case 12:
  84082. // returning from await.
  84083. result = $async$result;
  84084. $async$self._async_evaluate0$_inFunction = oldInFunction;
  84085. $async$returnValue = result;
  84086. // goto return
  84087. $async$goto = 1;
  84088. break;
  84089. case 1:
  84090. // return
  84091. return A._asyncReturn($async$returnValue, $async$completer);
  84092. }
  84093. });
  84094. return A._asyncStartSync($async$visitFunctionExpression$1, $async$completer);
  84095. },
  84096. _async_evaluate0$_visitCalculation$2$inLegacySassFunction(node, inLegacySassFunction) {
  84097. return this._visitCalculation$body$_EvaluateVisitor0(node, inLegacySassFunction);
  84098. },
  84099. _async_evaluate0$_visitCalculation$1(node) {
  84100. return this._async_evaluate0$_visitCalculation$2$inLegacySassFunction(node, false);
  84101. },
  84102. _visitCalculation$body$_EvaluateVisitor0(node, inLegacySassFunction) {
  84103. var $async$goto = 0,
  84104. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  84105. $async$returnValue, $async$next = [], $async$self = this, $arguments, oldCallableNode, t1, _0_0, error, stackTrace, t4, _i, exception, t2, t3, $async$temp1;
  84106. var $async$_async_evaluate0$_visitCalculation$2$inLegacySassFunction = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  84107. if ($async$errorCode === 1)
  84108. return A._asyncRethrow($async$result, $async$completer);
  84109. while (true)
  84110. switch ($async$goto) {
  84111. case 0:
  84112. // Function start
  84113. t2 = node.$arguments;
  84114. t3 = t2.named;
  84115. if (t3.get$isNotEmpty(t3))
  84116. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Keywor, node.span));
  84117. else if (t2.rest != null)
  84118. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Rest_a, node.span));
  84119. $async$self._async_evaluate0$_checkCalculationArguments$1(node);
  84120. t3 = A._setArrayType([], type$.JSArray_Object);
  84121. t2 = t2.positional, t4 = t2.length, _i = 0;
  84122. case 3:
  84123. // for condition
  84124. if (!(_i < t4)) {
  84125. // goto after for
  84126. $async$goto = 5;
  84127. break;
  84128. }
  84129. $async$temp1 = t3;
  84130. $async$goto = 6;
  84131. return A._asyncAwait($async$self._async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction(t2[_i], inLegacySassFunction), $async$_async_evaluate0$_visitCalculation$2$inLegacySassFunction);
  84132. case 6:
  84133. // returning from await.
  84134. $async$temp1.push($async$result);
  84135. case 4:
  84136. // for update
  84137. ++_i;
  84138. // goto for condition
  84139. $async$goto = 3;
  84140. break;
  84141. case 5:
  84142. // after for
  84143. $arguments = t3;
  84144. if ($async$self._async_evaluate0$_inSupportsDeclaration) {
  84145. $async$returnValue = new A.SassCalculation0(node.name, A.List_List$unmodifiable($arguments, type$.Object));
  84146. // goto return
  84147. $async$goto = 1;
  84148. break;
  84149. }
  84150. oldCallableNode = $async$self._async_evaluate0$_callableNode;
  84151. $async$self._async_evaluate0$_callableNode = node;
  84152. try {
  84153. t1 = null;
  84154. t3 = node.name;
  84155. _0_0 = t3.toLowerCase();
  84156. $label0$0: {
  84157. if ("calc" === _0_0) {
  84158. t1 = A.SassCalculation_calc0(J.$index$asx($arguments, 0));
  84159. break $label0$0;
  84160. }
  84161. if ("sqrt" === _0_0) {
  84162. t1 = A.SassCalculation__singleArgument0("sqrt", J.$index$asx($arguments, 0), A.number2__sqrt$closure(), true);
  84163. break $label0$0;
  84164. }
  84165. if ("sin" === _0_0) {
  84166. t1 = A.SassCalculation__singleArgument0("sin", J.$index$asx($arguments, 0), A.number2__sin$closure(), false);
  84167. break $label0$0;
  84168. }
  84169. if ("cos" === _0_0) {
  84170. t1 = A.SassCalculation__singleArgument0("cos", J.$index$asx($arguments, 0), A.number2__cos$closure(), false);
  84171. break $label0$0;
  84172. }
  84173. if ("tan" === _0_0) {
  84174. t1 = A.SassCalculation__singleArgument0("tan", J.$index$asx($arguments, 0), A.number2__tan$closure(), false);
  84175. break $label0$0;
  84176. }
  84177. if ("asin" === _0_0) {
  84178. t1 = A.SassCalculation__singleArgument0("asin", J.$index$asx($arguments, 0), A.number2__asin$closure(), true);
  84179. break $label0$0;
  84180. }
  84181. if ("acos" === _0_0) {
  84182. t1 = A.SassCalculation__singleArgument0("acos", J.$index$asx($arguments, 0), A.number2__acos$closure(), true);
  84183. break $label0$0;
  84184. }
  84185. if ("atan" === _0_0) {
  84186. t1 = A.SassCalculation__singleArgument0("atan", J.$index$asx($arguments, 0), A.number2__atan$closure(), true);
  84187. break $label0$0;
  84188. }
  84189. if ("abs" === _0_0) {
  84190. t1 = A.SassCalculation_abs0(J.$index$asx($arguments, 0));
  84191. break $label0$0;
  84192. }
  84193. if ("exp" === _0_0) {
  84194. t1 = A.SassCalculation_exp0(J.$index$asx($arguments, 0));
  84195. break $label0$0;
  84196. }
  84197. if ("sign" === _0_0) {
  84198. t1 = A.SassCalculation_sign0(J.$index$asx($arguments, 0));
  84199. break $label0$0;
  84200. }
  84201. if ("min" === _0_0) {
  84202. t1 = A.SassCalculation_min0($arguments);
  84203. break $label0$0;
  84204. }
  84205. if ("max" === _0_0) {
  84206. t1 = A.SassCalculation_max0($arguments);
  84207. break $label0$0;
  84208. }
  84209. if ("hypot" === _0_0) {
  84210. t1 = A.SassCalculation_hypot0($arguments);
  84211. break $label0$0;
  84212. }
  84213. if ("pow" === _0_0) {
  84214. t1 = A.SassCalculation_pow0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  84215. break $label0$0;
  84216. }
  84217. if ("atan2" === _0_0) {
  84218. t1 = A.SassCalculation_atan20(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  84219. break $label0$0;
  84220. }
  84221. if ("log" === _0_0) {
  84222. t1 = A.SassCalculation_log0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  84223. break $label0$0;
  84224. }
  84225. if ("mod" === _0_0) {
  84226. t1 = A.SassCalculation_mod0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  84227. break $label0$0;
  84228. }
  84229. if ("rem" === _0_0) {
  84230. t1 = A.SassCalculation_rem0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  84231. break $label0$0;
  84232. }
  84233. if ("round" === _0_0) {
  84234. t1 = A.SassCalculation_round0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1), A.ListExtensions_elementAtOrNull($arguments, 2));
  84235. break $label0$0;
  84236. }
  84237. if ("clamp" === _0_0) {
  84238. t1 = A.SassCalculation_clamp0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1), A.ListExtensions_elementAtOrNull($arguments, 2));
  84239. break $label0$0;
  84240. }
  84241. t3 = A.UnsupportedError$('Unknown calculation name "' + t3 + '".');
  84242. t1 = A.throwExpression(t3);
  84243. }
  84244. t1 = t1;
  84245. $async$returnValue = t1;
  84246. // goto return
  84247. $async$goto = 1;
  84248. break;
  84249. } catch (exception) {
  84250. t1 = A.unwrapException(exception);
  84251. if (t1 instanceof A.SassScriptException0) {
  84252. error = t1;
  84253. stackTrace = A.getTraceFromException(exception);
  84254. if (B.JSString_methods.contains$1(error.message, "compatible"))
  84255. $async$self._async_evaluate0$_verifyCompatibleNumbers$2($arguments, t2);
  84256. A.throwWithTrace0($async$self._async_evaluate0$_exception$2(error.message, node.span), error, stackTrace);
  84257. } else
  84258. throw exception;
  84259. } finally {
  84260. $async$self._async_evaluate0$_callableNode = oldCallableNode;
  84261. }
  84262. case 1:
  84263. // return
  84264. return A._asyncReturn($async$returnValue, $async$completer);
  84265. }
  84266. });
  84267. return A._asyncStartSync($async$_async_evaluate0$_visitCalculation$2$inLegacySassFunction, $async$completer);
  84268. },
  84269. _async_evaluate0$_checkCalculationArguments$1(node) {
  84270. var t1, _0_0,
  84271. check = new A._EvaluateVisitor__checkCalculationArguments_check2(this, node);
  84272. $label0$0: {
  84273. t1 = node.name;
  84274. _0_0 = t1.toLowerCase();
  84275. 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) {
  84276. check.call$1(1);
  84277. break $label0$0;
  84278. }
  84279. if ("min" === _0_0 || "max" === _0_0 || "hypot" === _0_0) {
  84280. check.call$0();
  84281. break $label0$0;
  84282. }
  84283. if ("pow" === _0_0 || "atan2" === _0_0 || "log" === _0_0 || "mod" === _0_0 || "rem" === _0_0) {
  84284. check.call$1(2);
  84285. break $label0$0;
  84286. }
  84287. if ("round" === _0_0 || "clamp" === _0_0) {
  84288. check.call$1(3);
  84289. break $label0$0;
  84290. }
  84291. throw A.wrapException(A.UnsupportedError$('Unknown calculation name "' + t1 + '".'));
  84292. }
  84293. },
  84294. _async_evaluate0$_verifyCompatibleNumbers$2(args, nodesWithSpans) {
  84295. var i, t1, _0_0, arg, number1, j, number2;
  84296. for (i = 0; t1 = args.length, i < t1; ++i) {
  84297. _0_0 = args[i];
  84298. if (_0_0 instanceof A.SassNumber0) {
  84299. t1 = _0_0.get$hasComplexUnits();
  84300. arg = _0_0;
  84301. } else {
  84302. arg = null;
  84303. t1 = false;
  84304. }
  84305. if (t1)
  84306. throw A.wrapException(this._async_evaluate0$_exception$2("Number " + A.S(arg) + " isn't compatible with CSS calculations.", J.get$span$z(nodesWithSpans[i])));
  84307. }
  84308. for (i = 0; i < t1 - 1; ++i) {
  84309. number1 = args[i];
  84310. if (!(number1 instanceof A.SassNumber0))
  84311. continue;
  84312. for (j = i + 1; t1 = args.length, j < t1; ++j) {
  84313. number2 = args[j];
  84314. if (!(number2 instanceof A.SassNumber0))
  84315. continue;
  84316. if (number1.hasPossiblyCompatibleUnits$1(number2))
  84317. continue;
  84318. throw A.wrapException(A.MultiSpanSassRuntimeException$0(number1.toString$0(0) + " and " + number2.toString$0(0) + " are incompatible.", J.get$span$z(nodesWithSpans[i]), number1.toString$0(0), A.LinkedHashMap_LinkedHashMap$_literal([J.get$span$z(nodesWithSpans[j]), number2.toString$0(0)], type$.FileSpan, type$.String), this._async_evaluate0$_stackTrace$1(J.get$span$z(nodesWithSpans[i])), null));
  84319. }
  84320. }
  84321. },
  84322. _async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction(node, inLegacySassFunction) {
  84323. return this._visitCalculationExpression$body$_EvaluateVisitor0(node, inLegacySassFunction);
  84324. },
  84325. _visitCalculationExpression$body$_EvaluateVisitor0(node, inLegacySassFunction) {
  84326. var $async$goto = 0,
  84327. $async$completer = A._makeAsyncAwaitCompleter(type$.Object),
  84328. $async$returnValue, $async$self = this, result, t2, _0_0, _1_0, t3, _i, i, _box_0, t1, inner, $async$temp1;
  84329. var $async$_async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  84330. if ($async$errorCode === 1)
  84331. return A._asyncRethrow($async$result, $async$completer);
  84332. while (true)
  84333. switch ($async$goto) {
  84334. case 0:
  84335. // Function start
  84336. _box_0 = {};
  84337. t1 = node instanceof A.ParenthesizedExpression0;
  84338. inner = t1 ? node.expression : null;
  84339. $async$goto = t1 ? 3 : 4;
  84340. break;
  84341. case 3:
  84342. // then
  84343. $async$goto = 5;
  84344. return A._asyncAwait($async$self._async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction(inner, inLegacySassFunction), $async$_async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction);
  84345. case 5:
  84346. // returning from await.
  84347. result = $async$result;
  84348. $async$returnValue = result instanceof A.SassString0 ? new A.SassString0("(" + result._string0$_text + ")", false) : result;
  84349. // goto return
  84350. $async$goto = 1;
  84351. break;
  84352. case 4:
  84353. // join
  84354. $async$goto = node instanceof A.StringExpression0 && node.accept$1(new A._IsCalculationSafeVisitor0()) ? 6 : 7;
  84355. break;
  84356. case 6:
  84357. // then
  84358. t1 = node.text;
  84359. t2 = t1.get$asPlain();
  84360. _0_0 = t2 == null ? null : t2.toLowerCase();
  84361. if ("pi" === _0_0) {
  84362. t1 = A.SassNumber_SassNumber0(3.141592653589793, null);
  84363. // goto break $label0$0
  84364. $async$goto = 8;
  84365. break;
  84366. }
  84367. if ("e" === _0_0) {
  84368. t1 = A.SassNumber_SassNumber0(2.718281828459045, null);
  84369. // goto break $label0$0
  84370. $async$goto = 8;
  84371. break;
  84372. }
  84373. if ("infinity" === _0_0) {
  84374. t1 = A.SassNumber_SassNumber0(1 / 0, null);
  84375. // goto break $label0$0
  84376. $async$goto = 8;
  84377. break;
  84378. }
  84379. if ("-infinity" === _0_0) {
  84380. t1 = A.SassNumber_SassNumber0(-1 / 0, null);
  84381. // goto break $label0$0
  84382. $async$goto = 8;
  84383. break;
  84384. }
  84385. if ("nan" === _0_0) {
  84386. t1 = A.SassNumber_SassNumber0(0 / 0, null);
  84387. // goto break $label0$0
  84388. $async$goto = 8;
  84389. break;
  84390. }
  84391. $async$temp1 = A;
  84392. $async$goto = 9;
  84393. return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(t1), $async$_async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction);
  84394. case 9:
  84395. // returning from await.
  84396. t1 = new $async$temp1.SassString0($async$result, false);
  84397. // goto break $label0$0
  84398. $async$goto = 8;
  84399. break;
  84400. case 8:
  84401. // break $label0$0
  84402. $async$returnValue = t1;
  84403. // goto return
  84404. $async$goto = 1;
  84405. break;
  84406. case 7:
  84407. // join
  84408. _box_0.right = _box_0.left = _box_0.operator = null;
  84409. t1 = node instanceof A.BinaryOperationExpression0;
  84410. if (t1) {
  84411. _box_0.operator = node.operator;
  84412. _box_0.left = node.left;
  84413. _box_0.right = node.right;
  84414. }
  84415. $async$goto = t1 ? 10 : 11;
  84416. break;
  84417. case 10:
  84418. // then
  84419. $async$self._async_evaluate0$_checkWhitespaceAroundCalculationOperator$1(node);
  84420. $async$goto = 12;
  84421. 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);
  84422. case 12:
  84423. // returning from await.
  84424. $async$returnValue = $async$result;
  84425. // goto return
  84426. $async$goto = 1;
  84427. break;
  84428. case 11:
  84429. // join
  84430. $async$goto = node instanceof A.NumberExpression0 || node instanceof A.VariableExpression0 || node instanceof A.FunctionExpression0 || node instanceof A.IfExpression0 ? 13 : 14;
  84431. break;
  84432. case 13:
  84433. // then
  84434. $async$goto = 15;
  84435. return A._asyncAwait(node.accept$1($async$self), $async$_async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction);
  84436. case 15:
  84437. // returning from await.
  84438. _1_0 = $async$result;
  84439. $label1$1: {
  84440. if (_1_0 instanceof A.SassNumber0) {
  84441. t1 = _1_0;
  84442. break $label1$1;
  84443. }
  84444. if (_1_0 instanceof A.SassCalculation0) {
  84445. t1 = _1_0;
  84446. break $label1$1;
  84447. }
  84448. if (_1_0 instanceof A.SassString0) {
  84449. t1 = !_1_0._string0$_hasQuotes;
  84450. result = _1_0;
  84451. } else {
  84452. result = null;
  84453. t1 = false;
  84454. }
  84455. if (t1) {
  84456. t1 = result;
  84457. break $label1$1;
  84458. }
  84459. 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)));
  84460. }
  84461. $async$returnValue = t1;
  84462. // goto return
  84463. $async$goto = 1;
  84464. break;
  84465. case 14:
  84466. // join
  84467. $async$goto = node instanceof A.ListExpression0 && !node.hasBrackets && B.ListSeparator_nbm0 === node.separator && node.contents.length >= 2 ? 16 : 17;
  84468. break;
  84469. case 16:
  84470. // then
  84471. t1 = A._setArrayType([], type$.JSArray_Object);
  84472. t2 = node.contents, t3 = t2.length, _i = 0;
  84473. case 18:
  84474. // for condition
  84475. if (!(_i < t3)) {
  84476. // goto after for
  84477. $async$goto = 20;
  84478. break;
  84479. }
  84480. $async$temp1 = t1;
  84481. $async$goto = 21;
  84482. return A._asyncAwait($async$self._async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction(t2[_i], inLegacySassFunction), $async$_async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction);
  84483. case 21:
  84484. // returning from await.
  84485. $async$temp1.push($async$result);
  84486. case 19:
  84487. // for update
  84488. ++_i;
  84489. // goto for condition
  84490. $async$goto = 18;
  84491. break;
  84492. case 20:
  84493. // after for
  84494. $async$self._async_evaluate0$_checkAdjacentCalculationValues$2(t1, node);
  84495. for (i = 0; i < t1.length; ++i) {
  84496. t3 = t1[i];
  84497. if (t3 instanceof A.CalculationOperation0 && t2[i] instanceof A.ParenthesizedExpression0)
  84498. t1[i] = new A.SassString0("(" + A.S(t3) + ")", false);
  84499. }
  84500. $async$returnValue = new A.SassString0(B.JSArray_methods.join$1(t1, " "), false);
  84501. // goto return
  84502. $async$goto = 1;
  84503. break;
  84504. case 17:
  84505. // join
  84506. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.This_e, node.get$span(node)));
  84507. case 1:
  84508. // return
  84509. return A._asyncReturn($async$returnValue, $async$completer);
  84510. }
  84511. });
  84512. return A._asyncStartSync($async$_async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction, $async$completer);
  84513. },
  84514. _async_evaluate0$_checkWhitespaceAroundCalculationOperator$1(node) {
  84515. var t2, t3, t4, textBetweenOperands, first, last,
  84516. t1 = node.operator;
  84517. if (t1 !== B.BinaryOperator_u150 && t1 !== B.BinaryOperator_SjO0)
  84518. return;
  84519. t1 = node.left;
  84520. t2 = t1.get$span(t1);
  84521. t2 = t2.get$file(t2);
  84522. t3 = node.right;
  84523. t4 = t3.get$span(t3);
  84524. if (t2 !== t4.get$file(t4))
  84525. return;
  84526. t2 = t1.get$span(t1);
  84527. t2 = t2.get$end(t2);
  84528. t4 = t3.get$span(t3);
  84529. if (t2.offset >= t4.get$start(t4).offset)
  84530. return;
  84531. t2 = t1.get$span(t1);
  84532. t2 = t2.get$file(t2);
  84533. t1 = t1.get$span(t1);
  84534. t1 = t1.get$end(t1);
  84535. t3 = t3.get$span(t3);
  84536. textBetweenOperands = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2._decodedChars, t1.offset, t3.get$start(t3).offset), 0, null);
  84537. first = textBetweenOperands.charCodeAt(0);
  84538. last = textBetweenOperands.charCodeAt(textBetweenOperands.length - 1);
  84539. if (first === 32 || first === 9 || first === 10 || first === 13 || first === 12 || first === 47)
  84540. t1 = !(last === 32 || last === 9 || last === 10 || last === 13 || last === 12 || last === 47);
  84541. else
  84542. t1 = true;
  84543. if (t1)
  84544. throw A.wrapException(this._async_evaluate0$_exception$2(string$.x22x2b__an, node.get$operatorSpan()));
  84545. },
  84546. _async_evaluate0$_binaryOperatorToCalculationOperator$2(operator, node) {
  84547. var t1;
  84548. $label0$0: {
  84549. if (B.BinaryOperator_u150 === operator) {
  84550. t1 = B.CalculationOperator_g2q0;
  84551. break $label0$0;
  84552. }
  84553. if (B.BinaryOperator_SjO0 === operator) {
  84554. t1 = B.CalculationOperator_CxF0;
  84555. break $label0$0;
  84556. }
  84557. if (B.BinaryOperator_2No0 === operator) {
  84558. t1 = B.CalculationOperator_1710;
  84559. break $label0$0;
  84560. }
  84561. if (B.BinaryOperator_U770 === operator) {
  84562. t1 = B.CalculationOperator_Qf10;
  84563. break $label0$0;
  84564. }
  84565. t1 = A.throwExpression(this._async_evaluate0$_exception$2(string$.This_o, node.get$operatorSpan()));
  84566. }
  84567. return t1;
  84568. },
  84569. _async_evaluate0$_checkAdjacentCalculationValues$2(elements, node) {
  84570. var t1, i, t2, previous, current, previousNode, currentNode, _0_2;
  84571. for (t1 = elements.length, i = 1; i < t1; ++i) {
  84572. t2 = i - 1;
  84573. previous = elements[t2];
  84574. current = elements[i];
  84575. if (previous instanceof A.SassString0 || current instanceof A.SassString0)
  84576. continue;
  84577. t1 = node.contents;
  84578. previousNode = t1[t2];
  84579. currentNode = t1[i];
  84580. if (currentNode instanceof A.UnaryOperationExpression0) {
  84581. _0_2 = currentNode.operator;
  84582. if (B.UnaryOperator_AiQ0 !== _0_2)
  84583. t1 = B.UnaryOperator_cLp0 === _0_2;
  84584. else
  84585. t1 = true;
  84586. } else
  84587. t1 = false;
  84588. if (!t1)
  84589. t1 = currentNode instanceof A.NumberExpression0 && currentNode.value < 0;
  84590. else
  84591. t1 = true;
  84592. if (t1)
  84593. throw A.wrapException(this._async_evaluate0$_exception$2(string$.x22x2b__an, A.FileSpanExtension_subspan(currentNode.get$span(currentNode), 0, 1)));
  84594. else
  84595. throw A.wrapException(this._async_evaluate0$_exception$2("Missing math operator.", previousNode.get$span(previousNode).expand$1(0, currentNode.get$span(currentNode))));
  84596. }
  84597. },
  84598. visitInterpolatedFunctionExpression$1(node) {
  84599. return this.visitInterpolatedFunctionExpression$body$_EvaluateVisitor0(node);
  84600. },
  84601. visitInterpolatedFunctionExpression$body$_EvaluateVisitor0(node) {
  84602. var $async$goto = 0,
  84603. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  84604. $async$returnValue, $async$self = this, result, t1, oldInFunction;
  84605. var $async$visitInterpolatedFunctionExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  84606. if ($async$errorCode === 1)
  84607. return A._asyncRethrow($async$result, $async$completer);
  84608. while (true)
  84609. switch ($async$goto) {
  84610. case 0:
  84611. // Function start
  84612. $async$goto = 3;
  84613. return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(node.name), $async$visitInterpolatedFunctionExpression$1);
  84614. case 3:
  84615. // returning from await.
  84616. t1 = $async$result;
  84617. oldInFunction = $async$self._async_evaluate0$_inFunction;
  84618. $async$self._async_evaluate0$_inFunction = true;
  84619. $async$goto = 4;
  84620. 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);
  84621. case 4:
  84622. // returning from await.
  84623. result = $async$result;
  84624. $async$self._async_evaluate0$_inFunction = oldInFunction;
  84625. $async$returnValue = result;
  84626. // goto return
  84627. $async$goto = 1;
  84628. break;
  84629. case 1:
  84630. // return
  84631. return A._asyncReturn($async$returnValue, $async$completer);
  84632. }
  84633. });
  84634. return A._asyncStartSync($async$visitInterpolatedFunctionExpression$1, $async$completer);
  84635. },
  84636. _async_evaluate0$_runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, run, $V) {
  84637. return this._runUserDefinedCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan, run, $V, $V);
  84638. },
  84639. _runUserDefinedCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan, run, $V, $async$type) {
  84640. var $async$goto = 0,
  84641. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  84642. $async$returnValue, $async$self = this, oldCallable, result, evaluated, $name;
  84643. var $async$_async_evaluate0$_runUserDefinedCallable$1$4 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  84644. if ($async$errorCode === 1)
  84645. return A._asyncRethrow($async$result, $async$completer);
  84646. while (true)
  84647. switch ($async$goto) {
  84648. case 0:
  84649. // Function start
  84650. $async$goto = 3;
  84651. return A._asyncAwait($async$self._async_evaluate0$_evaluateArguments$1($arguments), $async$_async_evaluate0$_runUserDefinedCallable$1$4);
  84652. case 3:
  84653. // returning from await.
  84654. evaluated = $async$result;
  84655. $name = callable.declaration.name;
  84656. if ($name !== "@content")
  84657. $name += "()";
  84658. oldCallable = $async$self._async_evaluate0$_currentCallable;
  84659. $async$self._async_evaluate0$_currentCallable = callable;
  84660. $async$goto = 4;
  84661. 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);
  84662. case 4:
  84663. // returning from await.
  84664. result = $async$result;
  84665. $async$self._async_evaluate0$_currentCallable = oldCallable;
  84666. $async$returnValue = result;
  84667. // goto return
  84668. $async$goto = 1;
  84669. break;
  84670. case 1:
  84671. // return
  84672. return A._asyncReturn($async$returnValue, $async$completer);
  84673. }
  84674. });
  84675. return A._asyncStartSync($async$_async_evaluate0$_runUserDefinedCallable$1$4, $async$completer);
  84676. },
  84677. _async_evaluate0$_runFunctionCallable$3($arguments, callable, nodeWithSpan) {
  84678. return this._runFunctionCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan);
  84679. },
  84680. _runFunctionCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan) {
  84681. var $async$goto = 0,
  84682. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  84683. $async$returnValue, $async$handler = 2, $async$currentError, $async$self = this, buffer, first, argument, restArg, rest, error, t1, t2, _i, t3, t4, exception, $async$exception, $async$temp1;
  84684. var $async$_async_evaluate0$_runFunctionCallable$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  84685. if ($async$errorCode === 1) {
  84686. $async$currentError = $async$result;
  84687. $async$goto = $async$handler;
  84688. }
  84689. while (true)
  84690. switch ($async$goto) {
  84691. case 0:
  84692. // Function start
  84693. $async$goto = type$.AsyncBuiltInCallable_2._is(callable) ? 3 : 5;
  84694. break;
  84695. case 3:
  84696. // then
  84697. $async$goto = 6;
  84698. return A._asyncAwait($async$self._async_evaluate0$_runBuiltInCallable$3($arguments, callable, nodeWithSpan), $async$_async_evaluate0$_runFunctionCallable$3);
  84699. case 6:
  84700. // returning from await.
  84701. $async$returnValue = $async$self._async_evaluate0$_withoutSlash$2($async$result, nodeWithSpan);
  84702. // goto return
  84703. $async$goto = 1;
  84704. break;
  84705. // goto join
  84706. $async$goto = 4;
  84707. break;
  84708. case 5:
  84709. // else
  84710. $async$goto = type$.UserDefinedCallable_AsyncEnvironment_2._is(callable) ? 7 : 9;
  84711. break;
  84712. case 7:
  84713. // then
  84714. $async$goto = 10;
  84715. 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);
  84716. case 10:
  84717. // returning from await.
  84718. $async$returnValue = $async$result;
  84719. // goto return
  84720. $async$goto = 1;
  84721. break;
  84722. // goto join
  84723. $async$goto = 8;
  84724. break;
  84725. case 9:
  84726. // else
  84727. $async$goto = callable instanceof A.PlainCssCallable0 ? 11 : 13;
  84728. break;
  84729. case 11:
  84730. // then
  84731. t1 = $arguments.named;
  84732. if (t1.get$isNotEmpty(t1) || $arguments.keywordRest != null)
  84733. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Plain_, nodeWithSpan.get$span(nodeWithSpan)));
  84734. buffer = new A.StringBuffer(callable.name + "(");
  84735. $async$handler = 15;
  84736. first = true;
  84737. t1 = $arguments.positional, t2 = t1.length, _i = 0;
  84738. case 18:
  84739. // for condition
  84740. if (!(_i < t2)) {
  84741. // goto after for
  84742. $async$goto = 20;
  84743. break;
  84744. }
  84745. argument = t1[_i];
  84746. if (first)
  84747. first = false;
  84748. else
  84749. buffer._contents += ", ";
  84750. t3 = buffer;
  84751. $async$temp1 = A;
  84752. $async$goto = 21;
  84753. return A._asyncAwait($async$self._async_evaluate0$_evaluateToCss$1(argument), $async$_async_evaluate0$_runFunctionCallable$3);
  84754. case 21:
  84755. // returning from await.
  84756. t4 = $async$temp1.S($async$result);
  84757. t3._contents += t4;
  84758. case 19:
  84759. // for update
  84760. ++_i;
  84761. // goto for condition
  84762. $async$goto = 18;
  84763. break;
  84764. case 20:
  84765. // after for
  84766. restArg = $arguments.rest;
  84767. $async$goto = restArg != null ? 22 : 23;
  84768. break;
  84769. case 22:
  84770. // then
  84771. $async$goto = 24;
  84772. return A._asyncAwait(restArg.accept$1($async$self), $async$_async_evaluate0$_runFunctionCallable$3);
  84773. case 24:
  84774. // returning from await.
  84775. rest = $async$result;
  84776. if (!first)
  84777. buffer._contents += ", ";
  84778. t1 = buffer;
  84779. t2 = $async$self._async_evaluate0$_serialize$2(rest, restArg);
  84780. t1._contents += t2;
  84781. case 23:
  84782. // join
  84783. $async$handler = 2;
  84784. // goto after finally
  84785. $async$goto = 17;
  84786. break;
  84787. case 15:
  84788. // catch
  84789. $async$handler = 14;
  84790. $async$exception = $async$currentError;
  84791. t1 = A.unwrapException($async$exception);
  84792. if (type$.SassRuntimeException_2._is(t1)) {
  84793. error = t1;
  84794. if (!B.JSString_methods.endsWith$1(error._span_exception$_message, "isn't a valid CSS value."))
  84795. throw $async$exception;
  84796. 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));
  84797. } else
  84798. throw $async$exception;
  84799. // goto after finally
  84800. $async$goto = 17;
  84801. break;
  84802. case 14:
  84803. // uncaught
  84804. // goto rethrow
  84805. $async$goto = 2;
  84806. break;
  84807. case 17:
  84808. // after finally
  84809. t1 = buffer;
  84810. t2 = A.Primitives_stringFromCharCode(41);
  84811. t1._contents += t2;
  84812. t2 = buffer._contents;
  84813. $async$returnValue = new A.SassString0(t2.charCodeAt(0) == 0 ? t2 : t2, false);
  84814. // goto return
  84815. $async$goto = 1;
  84816. break;
  84817. // goto join
  84818. $async$goto = 12;
  84819. break;
  84820. case 13:
  84821. // else
  84822. throw A.wrapException(A.ArgumentError$("Unknown callable type " + J.get$runtimeType$(callable).toString$0(0) + ".", null));
  84823. case 12:
  84824. // join
  84825. case 8:
  84826. // join
  84827. case 4:
  84828. // join
  84829. case 1:
  84830. // return
  84831. return A._asyncReturn($async$returnValue, $async$completer);
  84832. case 2:
  84833. // rethrow
  84834. return A._asyncRethrow($async$currentError, $async$completer);
  84835. }
  84836. });
  84837. return A._asyncStartSync($async$_async_evaluate0$_runFunctionCallable$3, $async$completer);
  84838. },
  84839. _async_evaluate0$_runBuiltInCallable$3($arguments, callable, nodeWithSpan) {
  84840. return this._runBuiltInCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan);
  84841. },
  84842. _runBuiltInCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan) {
  84843. var $async$goto = 0,
  84844. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  84845. $async$returnValue, $async$handler = 2, $async$currentError, $async$self = this, result, error, stackTrace, message, namedSet, _0_0, declaredArguments, i, t1, t2, t3, argument, t4, t5, t6, t7, rest, argumentList, exception, message0, _box_0, evaluated, oldCallableNode, $async$exception;
  84846. var $async$_async_evaluate0$_runBuiltInCallable$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  84847. if ($async$errorCode === 1) {
  84848. $async$currentError = $async$result;
  84849. $async$goto = $async$handler;
  84850. }
  84851. while (true)
  84852. switch ($async$goto) {
  84853. case 0:
  84854. // Function start
  84855. _box_0 = {};
  84856. $async$goto = 3;
  84857. return A._asyncAwait($async$self._async_evaluate0$_evaluateArguments$1($arguments), $async$_async_evaluate0$_runBuiltInCallable$3);
  84858. case 3:
  84859. // returning from await.
  84860. evaluated = $async$result;
  84861. oldCallableNode = $async$self._async_evaluate0$_callableNode;
  84862. $async$self._async_evaluate0$_callableNode = nodeWithSpan;
  84863. namedSet = new A.MapKeySet(evaluated._values[0], type$.MapKeySet_String);
  84864. _box_0.callback = _box_0.overload = null;
  84865. _0_0 = callable.callbackFor$2(J.get$length$asx(evaluated._values[2]), namedSet);
  84866. _box_0.overload = _0_0._0;
  84867. _box_0.callback = _0_0._1;
  84868. $async$self._async_evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure8(_box_0, evaluated, namedSet));
  84869. declaredArguments = _box_0.overload.$arguments;
  84870. i = J.get$length$asx(evaluated._values[2]), t1 = declaredArguments.length, t2 = type$._Future_Value_2, t3 = type$.Future_Value_2;
  84871. case 4:
  84872. // for condition
  84873. if (!(i < t1)) {
  84874. // goto after for
  84875. $async$goto = 6;
  84876. break;
  84877. }
  84878. argument = declaredArguments[i];
  84879. t4 = evaluated._values[2];
  84880. t5 = evaluated._values[0].remove$1(0, argument.name);
  84881. $async$goto = t5 == null ? 7 : 8;
  84882. break;
  84883. case 7:
  84884. // then
  84885. t5 = argument.defaultValue;
  84886. t6 = t5.accept$1($async$self);
  84887. if (!t3._is(t6)) {
  84888. t7 = new A._Future($.Zone__current, t2);
  84889. t7._state = 8;
  84890. t7._resultOrListeners = t6;
  84891. t6 = t7;
  84892. }
  84893. $async$goto = 9;
  84894. return A._asyncAwait(t6, $async$_async_evaluate0$_runBuiltInCallable$3);
  84895. case 9:
  84896. // returning from await.
  84897. t5 = $async$self._async_evaluate0$_withoutSlash$2($async$result, t5);
  84898. case 8:
  84899. // join
  84900. J.add$1$ax(t4, t5);
  84901. case 5:
  84902. // for update
  84903. ++i;
  84904. // goto for condition
  84905. $async$goto = 4;
  84906. break;
  84907. case 6:
  84908. // after for
  84909. if (_box_0.overload.restArgument != null) {
  84910. if (J.get$length$asx(evaluated._values[2]) > t1) {
  84911. rest = J.sublist$1$ax(evaluated._values[2], t1);
  84912. J.removeRange$2$ax(evaluated._values[2], t1, J.get$length$asx(evaluated._values[2]));
  84913. } else
  84914. rest = B.List_empty19;
  84915. t1 = evaluated._values[0];
  84916. argumentList = A.SassArgumentList$0(rest, t1, evaluated._values[4] === B.ListSeparator_undecided_null_undecided0 ? B.ListSeparator_ECn0 : evaluated._values[4]);
  84917. J.add$1$ax(evaluated._values[2], argumentList);
  84918. } else
  84919. argumentList = null;
  84920. result = null;
  84921. $async$handler = 11;
  84922. $async$goto = 14;
  84923. 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);
  84924. case 14:
  84925. // returning from await.
  84926. result = $async$result;
  84927. $async$handler = 2;
  84928. // goto after finally
  84929. $async$goto = 13;
  84930. break;
  84931. case 11:
  84932. // catch
  84933. $async$handler = 10;
  84934. $async$exception = $async$currentError;
  84935. t1 = A.unwrapException($async$exception);
  84936. if (t1 instanceof A.SassException0)
  84937. throw $async$exception;
  84938. else {
  84939. error = t1;
  84940. stackTrace = A.getTraceFromException($async$exception);
  84941. message = null;
  84942. try {
  84943. message = A._asString(J.get$message$x(error));
  84944. } catch (exception) {
  84945. message0 = J.toString$0$(error);
  84946. message = message0;
  84947. }
  84948. A.throwWithTrace0($async$self._async_evaluate0$_exception$2(message, nodeWithSpan.get$span(nodeWithSpan)), error, stackTrace);
  84949. }
  84950. // goto after finally
  84951. $async$goto = 13;
  84952. break;
  84953. case 10:
  84954. // uncaught
  84955. // goto rethrow
  84956. $async$goto = 2;
  84957. break;
  84958. case 13:
  84959. // after finally
  84960. $async$self._async_evaluate0$_callableNode = oldCallableNode;
  84961. if (argumentList == null) {
  84962. $async$returnValue = result;
  84963. // goto return
  84964. $async$goto = 1;
  84965. break;
  84966. }
  84967. t1 = evaluated._values[0];
  84968. if (t1.get$isEmpty(t1)) {
  84969. $async$returnValue = result;
  84970. // goto return
  84971. $async$goto = 1;
  84972. break;
  84973. }
  84974. if (argumentList._argument_list$_wereKeywordsAccessed) {
  84975. $async$returnValue = result;
  84976. // goto return
  84977. $async$goto = 1;
  84978. break;
  84979. }
  84980. t1 = evaluated._values[0];
  84981. t1 = A.pluralize0("argument", J.get$length$asx(t1.get$keys(t1)), null);
  84982. t2 = evaluated._values[0];
  84983. throw A.wrapException(A.MultiSpanSassRuntimeException$0("No " + t1 + " named " + A.toSentence0(J.map$1$1$ax(t2.get$keys(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));
  84984. case 1:
  84985. // return
  84986. return A._asyncReturn($async$returnValue, $async$completer);
  84987. case 2:
  84988. // rethrow
  84989. return A._asyncRethrow($async$currentError, $async$completer);
  84990. }
  84991. });
  84992. return A._asyncStartSync($async$_async_evaluate0$_runBuiltInCallable$3, $async$completer);
  84993. },
  84994. _async_evaluate0$_evaluateArguments$1($arguments) {
  84995. return this._evaluateArguments$body$_EvaluateVisitor0($arguments);
  84996. },
  84997. _evaluateArguments$body$_EvaluateVisitor0($arguments) {
  84998. var $async$goto = 0,
  84999. $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),
  85000. $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;
  85001. var $async$_async_evaluate0$_evaluateArguments$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85002. if ($async$errorCode === 1)
  85003. return A._asyncRethrow($async$result, $async$completer);
  85004. while (true)
  85005. switch ($async$goto) {
  85006. case 0:
  85007. // Function start
  85008. positional = A._setArrayType([], type$.JSArray_Value_2);
  85009. positionalNodes = A._setArrayType([], type$.JSArray_AstNode_2);
  85010. t1 = $arguments.positional, t2 = t1.length, t3 = type$._Future_Value_2, t4 = type$.Future_Value_2, _i = 0;
  85011. case 3:
  85012. // for condition
  85013. if (!(_i < t2)) {
  85014. // goto after for
  85015. $async$goto = 5;
  85016. break;
  85017. }
  85018. expression = t1[_i];
  85019. nodeForSpan = $async$self._async_evaluate0$_expressionNode$1(expression);
  85020. t5 = expression.accept$1($async$self);
  85021. if (!t4._is(t5)) {
  85022. t6 = new A._Future($.Zone__current, t3);
  85023. t6._state = 8;
  85024. t6._resultOrListeners = t5;
  85025. t5 = t6;
  85026. }
  85027. $async$temp1 = positional;
  85028. $async$goto = 6;
  85029. return A._asyncAwait(t5, $async$_async_evaluate0$_evaluateArguments$1);
  85030. case 6:
  85031. // returning from await.
  85032. $async$temp1.push($async$self._async_evaluate0$_withoutSlash$2($async$result, nodeForSpan));
  85033. positionalNodes.push(nodeForSpan);
  85034. case 4:
  85035. // for update
  85036. ++_i;
  85037. // goto for condition
  85038. $async$goto = 3;
  85039. break;
  85040. case 5:
  85041. // after for
  85042. t1 = type$.String;
  85043. named = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Value_2);
  85044. t2 = type$.AstNode_2;
  85045. namedNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  85046. t5 = A.MapExtensions_get_pairs0($arguments.named, t1, type$.Expression_2), t5 = t5.get$iterator(t5);
  85047. case 7:
  85048. // for condition
  85049. if (!t5.moveNext$0()) {
  85050. // goto after for
  85051. $async$goto = 8;
  85052. break;
  85053. }
  85054. t6 = t5.get$current(t5);
  85055. $name = t6._0;
  85056. value = t6._1;
  85057. nodeForSpan = $async$self._async_evaluate0$_expressionNode$1(value);
  85058. t6 = value.accept$1($async$self);
  85059. if (!t4._is(t6)) {
  85060. t7 = new A._Future($.Zone__current, t3);
  85061. t7._state = 8;
  85062. t7._resultOrListeners = t6;
  85063. t6 = t7;
  85064. }
  85065. $async$temp1 = named;
  85066. $async$temp2 = $name;
  85067. $async$goto = 9;
  85068. return A._asyncAwait(t6, $async$_async_evaluate0$_evaluateArguments$1);
  85069. case 9:
  85070. // returning from await.
  85071. $async$temp1.$indexSet(0, $async$temp2, $async$self._async_evaluate0$_withoutSlash$2($async$result, nodeForSpan));
  85072. namedNodes.$indexSet(0, $name, nodeForSpan);
  85073. // goto for condition
  85074. $async$goto = 7;
  85075. break;
  85076. case 8:
  85077. // after for
  85078. restArgs = $arguments.rest;
  85079. if (restArgs == null) {
  85080. $async$returnValue = new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, B.ListSeparator_undecided_null_undecided0]);
  85081. // goto return
  85082. $async$goto = 1;
  85083. break;
  85084. }
  85085. $async$goto = 10;
  85086. return A._asyncAwait(restArgs.accept$1($async$self), $async$_async_evaluate0$_evaluateArguments$1);
  85087. case 10:
  85088. // returning from await.
  85089. rest = $async$result;
  85090. restNodeForSpan = $async$self._async_evaluate0$_expressionNode$1(restArgs);
  85091. if (rest instanceof A.SassMap0) {
  85092. $async$self._async_evaluate0$_addRestMap$4(named, rest, restArgs, new A._EvaluateVisitor__evaluateArguments_closure11());
  85093. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  85094. for (t4 = rest._map0$_contents, t4 = J.get$iterator$ax(t4.get$keys(t4)), t5 = type$.SassString_2; t4.moveNext$0();)
  85095. t3.$indexSet(0, t5._as(t4.get$current(t4))._string0$_text, restNodeForSpan);
  85096. namedNodes.addAll$1(0, t3);
  85097. separator = B.ListSeparator_undecided_null_undecided0;
  85098. } else if (rest instanceof A.SassList0) {
  85099. t3 = rest._list1$_contents;
  85100. 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>")));
  85101. B.JSArray_methods.addAll$1(positionalNodes, A.List_List$filled(t3.length, restNodeForSpan, false, t2));
  85102. separator = rest._list1$_separator;
  85103. if (rest instanceof A.SassArgumentList0) {
  85104. rest._argument_list$_wereKeywordsAccessed = true;
  85105. rest._argument_list$_keywords.forEach$1(0, new A._EvaluateVisitor__evaluateArguments_closure13($async$self, named, restNodeForSpan, namedNodes));
  85106. }
  85107. } else {
  85108. positional.push($async$self._async_evaluate0$_withoutSlash$2(rest, restNodeForSpan));
  85109. positionalNodes.push(restNodeForSpan);
  85110. separator = B.ListSeparator_undecided_null_undecided0;
  85111. }
  85112. keywordRestArgs = $arguments.keywordRest;
  85113. if (keywordRestArgs == null) {
  85114. $async$returnValue = new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, separator]);
  85115. // goto return
  85116. $async$goto = 1;
  85117. break;
  85118. }
  85119. $async$goto = 11;
  85120. return A._asyncAwait(keywordRestArgs.accept$1($async$self), $async$_async_evaluate0$_evaluateArguments$1);
  85121. case 11:
  85122. // returning from await.
  85123. keywordRest = $async$result;
  85124. keywordRestNodeForSpan = $async$self._async_evaluate0$_expressionNode$1(keywordRestArgs);
  85125. if (keywordRest instanceof A.SassMap0) {
  85126. $async$self._async_evaluate0$_addRestMap$4(named, keywordRest, keywordRestArgs, new A._EvaluateVisitor__evaluateArguments_closure14());
  85127. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  85128. for (t2 = keywordRest._map0$_contents, t2 = J.get$iterator$ax(t2.get$keys(t2)), t3 = type$.SassString_2; t2.moveNext$0();)
  85129. t1.$indexSet(0, t3._as(t2.get$current(t2))._string0$_text, keywordRestNodeForSpan);
  85130. namedNodes.addAll$1(0, t1);
  85131. $async$returnValue = new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, separator]);
  85132. // goto return
  85133. $async$goto = 1;
  85134. break;
  85135. } else
  85136. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs.get$span(keywordRestArgs)));
  85137. case 1:
  85138. // return
  85139. return A._asyncReturn($async$returnValue, $async$completer);
  85140. }
  85141. });
  85142. return A._asyncStartSync($async$_async_evaluate0$_evaluateArguments$1, $async$completer);
  85143. },
  85144. _async_evaluate0$_evaluateMacroArguments$1(invocation) {
  85145. return this._evaluateMacroArguments$body$_EvaluateVisitor0(invocation);
  85146. },
  85147. _evaluateMacroArguments$body$_EvaluateVisitor0(invocation) {
  85148. var $async$goto = 0,
  85149. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_List_Expression_and_Map_String_Expression_2),
  85150. $async$returnValue, $async$self = this, t2, positional, named, rest, restNodeForSpan, keywordRestArgs_, keywordRest, keywordRestNodeForSpan, t1, restArgs_;
  85151. var $async$_async_evaluate0$_evaluateMacroArguments$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85152. if ($async$errorCode === 1)
  85153. return A._asyncRethrow($async$result, $async$completer);
  85154. while (true)
  85155. switch ($async$goto) {
  85156. case 0:
  85157. // Function start
  85158. t1 = invocation.$arguments;
  85159. restArgs_ = t1.rest;
  85160. if (restArgs_ == null) {
  85161. $async$returnValue = new A._Record_2(t1.positional, t1.named);
  85162. // goto return
  85163. $async$goto = 1;
  85164. break;
  85165. }
  85166. t2 = t1.positional;
  85167. positional = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
  85168. named = A.LinkedHashMap_LinkedHashMap$of(t1.named, type$.String, type$.Expression_2);
  85169. $async$goto = 3;
  85170. return A._asyncAwait(restArgs_.accept$1($async$self), $async$_async_evaluate0$_evaluateMacroArguments$1);
  85171. case 3:
  85172. // returning from await.
  85173. rest = $async$result;
  85174. restNodeForSpan = $async$self._async_evaluate0$_expressionNode$1(restArgs_);
  85175. if (rest instanceof A.SassMap0)
  85176. $async$self._async_evaluate0$_addRestMap$4(named, rest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure11(restArgs_));
  85177. else if (rest instanceof A.SassList0) {
  85178. t2 = rest._list1$_contents;
  85179. 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>")));
  85180. if (rest instanceof A.SassArgumentList0) {
  85181. rest._argument_list$_wereKeywordsAccessed = true;
  85182. rest._argument_list$_keywords.forEach$1(0, new A._EvaluateVisitor__evaluateMacroArguments_closure13($async$self, named, restNodeForSpan, restArgs_));
  85183. }
  85184. } else
  85185. positional.push(new A.ValueExpression0($async$self._async_evaluate0$_withoutSlash$2(rest, restNodeForSpan), restArgs_.get$span(restArgs_)));
  85186. keywordRestArgs_ = t1.keywordRest;
  85187. if (keywordRestArgs_ == null) {
  85188. $async$returnValue = new A._Record_2(positional, named);
  85189. // goto return
  85190. $async$goto = 1;
  85191. break;
  85192. }
  85193. $async$goto = 4;
  85194. return A._asyncAwait(keywordRestArgs_.accept$1($async$self), $async$_async_evaluate0$_evaluateMacroArguments$1);
  85195. case 4:
  85196. // returning from await.
  85197. keywordRest = $async$result;
  85198. keywordRestNodeForSpan = $async$self._async_evaluate0$_expressionNode$1(keywordRestArgs_);
  85199. if (keywordRest instanceof A.SassMap0) {
  85200. $async$self._async_evaluate0$_addRestMap$4(named, keywordRest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure14($async$self, keywordRestNodeForSpan, keywordRestArgs_));
  85201. $async$returnValue = new A._Record_2(positional, named);
  85202. // goto return
  85203. $async$goto = 1;
  85204. break;
  85205. } else
  85206. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs_.get$span(keywordRestArgs_)));
  85207. case 1:
  85208. // return
  85209. return A._asyncReturn($async$returnValue, $async$completer);
  85210. }
  85211. });
  85212. return A._asyncStartSync($async$_async_evaluate0$_evaluateMacroArguments$1, $async$completer);
  85213. },
  85214. _async_evaluate0$_addRestMap$1$4(values, map, nodeWithSpan, convert) {
  85215. map._map0$_contents.forEach$1(0, new A._EvaluateVisitor__addRestMap_closure2(this, values, convert, this._async_evaluate0$_expressionNode$1(nodeWithSpan), map, nodeWithSpan));
  85216. },
  85217. _async_evaluate0$_addRestMap$4(values, map, nodeWithSpan, convert) {
  85218. return this._async_evaluate0$_addRestMap$1$4(values, map, nodeWithSpan, convert, type$.dynamic);
  85219. },
  85220. _async_evaluate0$_verifyArguments$4(positional, named, $arguments, nodeWithSpan) {
  85221. return this._async_evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__verifyArguments_closure2($arguments, positional, named));
  85222. },
  85223. visitSelectorExpression$1(node) {
  85224. return this.visitSelectorExpression$body$_EvaluateVisitor0(node);
  85225. },
  85226. visitSelectorExpression$body$_EvaluateVisitor0(node) {
  85227. var $async$goto = 0,
  85228. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  85229. $async$returnValue, $async$self = this, t1;
  85230. var $async$visitSelectorExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85231. if ($async$errorCode === 1)
  85232. return A._asyncRethrow($async$result, $async$completer);
  85233. while (true)
  85234. switch ($async$goto) {
  85235. case 0:
  85236. // Function start
  85237. t1 = $async$self._async_evaluate0$_styleRuleIgnoringAtRoot;
  85238. t1 = t1 == null ? null : t1.originalSelector.get$asSassList();
  85239. $async$returnValue = t1 == null ? B.C__SassNull0 : t1;
  85240. // goto return
  85241. $async$goto = 1;
  85242. break;
  85243. case 1:
  85244. // return
  85245. return A._asyncReturn($async$returnValue, $async$completer);
  85246. }
  85247. });
  85248. return A._asyncStartSync($async$visitSelectorExpression$1, $async$completer);
  85249. },
  85250. visitStringExpression$1(node) {
  85251. return this.visitStringExpression$body$_EvaluateVisitor0(node);
  85252. },
  85253. visitStringExpression$body$_EvaluateVisitor0(node) {
  85254. var $async$goto = 0,
  85255. $async$completer = A._makeAsyncAwaitCompleter(type$.SassString_2),
  85256. $async$returnValue, $async$self = this, t1, t2, t3, t4, _i, value, t5, _0_0, text, oldInSupportsDeclaration;
  85257. var $async$visitStringExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85258. if ($async$errorCode === 1)
  85259. return A._asyncRethrow($async$result, $async$completer);
  85260. while (true)
  85261. switch ($async$goto) {
  85262. case 0:
  85263. // Function start
  85264. oldInSupportsDeclaration = $async$self._async_evaluate0$_inSupportsDeclaration;
  85265. $async$self._async_evaluate0$_inSupportsDeclaration = false;
  85266. t1 = A._setArrayType([], type$.JSArray_String);
  85267. t2 = node.text.contents, t3 = t2.length, t4 = type$.Expression_2, _i = 0;
  85268. case 3:
  85269. // for condition
  85270. if (!(_i < t3)) {
  85271. // goto after for
  85272. $async$goto = 5;
  85273. break;
  85274. }
  85275. value = t2[_i];
  85276. if (typeof value == "string") {
  85277. t5 = value;
  85278. // goto break $label0$0
  85279. $async$goto = 6;
  85280. break;
  85281. }
  85282. $async$goto = t4._is(value) ? 7 : 8;
  85283. break;
  85284. case 7:
  85285. // then
  85286. $async$goto = 9;
  85287. return A._asyncAwait(value.accept$1($async$self), $async$visitStringExpression$1);
  85288. case 9:
  85289. // returning from await.
  85290. _0_0 = $async$result;
  85291. $label1$1: {
  85292. if (_0_0 instanceof A.SassString0) {
  85293. text = _0_0._string0$_text;
  85294. t5 = text;
  85295. break $label1$1;
  85296. }
  85297. t5 = $async$self._async_evaluate0$_serialize$3$quote(_0_0, value, false);
  85298. break $label1$1;
  85299. }
  85300. // goto break $label0$0
  85301. $async$goto = 6;
  85302. break;
  85303. case 8:
  85304. // join
  85305. t5 = A.throwExpression(A.UnsupportedError$("Unknown interpolation value " + A.S(value)));
  85306. case 6:
  85307. // break $label0$0
  85308. t1.push(t5);
  85309. case 4:
  85310. // for update
  85311. ++_i;
  85312. // goto for condition
  85313. $async$goto = 3;
  85314. break;
  85315. case 5:
  85316. // after for
  85317. t1 = B.JSArray_methods.join$0(t1);
  85318. $async$self._async_evaluate0$_inSupportsDeclaration = oldInSupportsDeclaration;
  85319. $async$returnValue = new A.SassString0(t1, node.hasQuotes);
  85320. // goto return
  85321. $async$goto = 1;
  85322. break;
  85323. case 1:
  85324. // return
  85325. return A._asyncReturn($async$returnValue, $async$completer);
  85326. }
  85327. });
  85328. return A._asyncStartSync($async$visitStringExpression$1, $async$completer);
  85329. },
  85330. visitSupportsExpression$1(expression) {
  85331. return this.visitSupportsExpression$body$_EvaluateVisitor0(expression);
  85332. },
  85333. visitSupportsExpression$body$_EvaluateVisitor0(expression) {
  85334. var $async$goto = 0,
  85335. $async$completer = A._makeAsyncAwaitCompleter(type$.SassString_2),
  85336. $async$returnValue, $async$self = this, $async$temp1;
  85337. var $async$visitSupportsExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85338. if ($async$errorCode === 1)
  85339. return A._asyncRethrow($async$result, $async$completer);
  85340. while (true)
  85341. switch ($async$goto) {
  85342. case 0:
  85343. // Function start
  85344. $async$temp1 = A;
  85345. $async$goto = 3;
  85346. return A._asyncAwait($async$self._async_evaluate0$_visitSupportsCondition$1(expression.condition), $async$visitSupportsExpression$1);
  85347. case 3:
  85348. // returning from await.
  85349. $async$returnValue = new $async$temp1.SassString0($async$result, false);
  85350. // goto return
  85351. $async$goto = 1;
  85352. break;
  85353. case 1:
  85354. // return
  85355. return A._asyncReturn($async$returnValue, $async$completer);
  85356. }
  85357. });
  85358. return A._asyncStartSync($async$visitSupportsExpression$1, $async$completer);
  85359. },
  85360. visitCssAtRule$1(node) {
  85361. return this.visitCssAtRule$body$_EvaluateVisitor0(node);
  85362. },
  85363. visitCssAtRule$body$_EvaluateVisitor0(node) {
  85364. var $async$goto = 0,
  85365. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  85366. $async$returnValue, $async$self = this, wasInKeyframes, wasInUnknownAtRule, t1;
  85367. var $async$visitCssAtRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85368. if ($async$errorCode === 1)
  85369. return A._asyncRethrow($async$result, $async$completer);
  85370. while (true)
  85371. switch ($async$goto) {
  85372. case 0:
  85373. // Function start
  85374. if ($async$self._async_evaluate0$_declarationName != null)
  85375. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.At_rul, node.span));
  85376. if (node.isChildless) {
  85377. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$0(node.name, node.span, true, node.value));
  85378. // goto return
  85379. $async$goto = 1;
  85380. break;
  85381. }
  85382. wasInKeyframes = $async$self._async_evaluate0$_inKeyframes;
  85383. wasInUnknownAtRule = $async$self._async_evaluate0$_inUnknownAtRule;
  85384. t1 = node.name;
  85385. if (A.unvendor0(t1.value) === "keyframes")
  85386. $async$self._async_evaluate0$_inKeyframes = true;
  85387. else
  85388. $async$self._async_evaluate0$_inUnknownAtRule = true;
  85389. $async$goto = 3;
  85390. 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);
  85391. case 3:
  85392. // returning from await.
  85393. $async$self._async_evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
  85394. $async$self._async_evaluate0$_inKeyframes = wasInKeyframes;
  85395. case 1:
  85396. // return
  85397. return A._asyncReturn($async$returnValue, $async$completer);
  85398. }
  85399. });
  85400. return A._asyncStartSync($async$visitCssAtRule$1, $async$completer);
  85401. },
  85402. visitCssComment$1(node) {
  85403. return this.visitCssComment$body$_EvaluateVisitor0(node);
  85404. },
  85405. visitCssComment$body$_EvaluateVisitor0(node) {
  85406. var $async$goto = 0,
  85407. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  85408. $async$self = this;
  85409. var $async$visitCssComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85410. if ($async$errorCode === 1)
  85411. return A._asyncRethrow($async$result, $async$completer);
  85412. while (true)
  85413. switch ($async$goto) {
  85414. case 0:
  85415. // Function start
  85416. 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))
  85417. $async$self._async_evaluate0$__endOfImports = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__endOfImports, "_endOfImports") + 1;
  85418. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(new A.ModifiableCssComment0(node.text, node.span));
  85419. // implicit return
  85420. return A._asyncReturn(null, $async$completer);
  85421. }
  85422. });
  85423. return A._asyncStartSync($async$visitCssComment$1, $async$completer);
  85424. },
  85425. visitCssDeclaration$1(node) {
  85426. return this.visitCssDeclaration$body$_EvaluateVisitor0(node);
  85427. },
  85428. visitCssDeclaration$body$_EvaluateVisitor0(node) {
  85429. var $async$goto = 0,
  85430. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  85431. $async$self = this;
  85432. var $async$visitCssDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85433. if ($async$errorCode === 1)
  85434. return A._asyncRethrow($async$result, $async$completer);
  85435. while (true)
  85436. switch ($async$goto) {
  85437. case 0:
  85438. // Function start
  85439. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssDeclaration$0(node.name, node.value, node.span, node.parsedAsCustomProperty, node.valueSpanForMap));
  85440. // implicit return
  85441. return A._asyncReturn(null, $async$completer);
  85442. }
  85443. });
  85444. return A._asyncStartSync($async$visitCssDeclaration$1, $async$completer);
  85445. },
  85446. visitCssImport$1(node) {
  85447. return this.visitCssImport$body$_EvaluateVisitor0(node);
  85448. },
  85449. visitCssImport$body$_EvaluateVisitor0(node) {
  85450. var $async$goto = 0,
  85451. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  85452. $async$self = this, t1, modifiableNode;
  85453. var $async$visitCssImport$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85454. if ($async$errorCode === 1)
  85455. return A._asyncRethrow($async$result, $async$completer);
  85456. while (true)
  85457. switch ($async$goto) {
  85458. case 0:
  85459. // Function start
  85460. modifiableNode = new A.ModifiableCssImport0(node.url, node.modifiers, node.span);
  85461. 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"))
  85462. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(modifiableNode);
  85463. 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)) {
  85464. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__root, "_root").addChild$1(modifiableNode);
  85465. $async$self._async_evaluate0$__endOfImports = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__endOfImports, "_endOfImports") + 1;
  85466. } else {
  85467. t1 = $async$self._async_evaluate0$_outOfOrderImports;
  85468. (t1 == null ? $async$self._async_evaluate0$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport_2) : t1).push(modifiableNode);
  85469. }
  85470. // implicit return
  85471. return A._asyncReturn(null, $async$completer);
  85472. }
  85473. });
  85474. return A._asyncStartSync($async$visitCssImport$1, $async$completer);
  85475. },
  85476. visitCssKeyframeBlock$1(node) {
  85477. return this.visitCssKeyframeBlock$body$_EvaluateVisitor0(node);
  85478. },
  85479. visitCssKeyframeBlock$body$_EvaluateVisitor0(node) {
  85480. var $async$goto = 0,
  85481. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  85482. $async$self = this;
  85483. var $async$visitCssKeyframeBlock$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85484. if ($async$errorCode === 1)
  85485. return A._asyncRethrow($async$result, $async$completer);
  85486. while (true)
  85487. switch ($async$goto) {
  85488. case 0:
  85489. // Function start
  85490. $async$goto = 2;
  85491. 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);
  85492. case 2:
  85493. // returning from await.
  85494. // implicit return
  85495. return A._asyncReturn(null, $async$completer);
  85496. }
  85497. });
  85498. return A._asyncStartSync($async$visitCssKeyframeBlock$1, $async$completer);
  85499. },
  85500. visitCssMediaRule$1(node) {
  85501. return this.visitCssMediaRule$body$_EvaluateVisitor0(node);
  85502. },
  85503. visitCssMediaRule$body$_EvaluateVisitor0(node) {
  85504. var $async$goto = 0,
  85505. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  85506. $async$returnValue, $async$self = this, mergedQueries, t1, mergedSources, t2, t3;
  85507. var $async$visitCssMediaRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85508. if ($async$errorCode === 1)
  85509. return A._asyncRethrow($async$result, $async$completer);
  85510. while (true)
  85511. switch ($async$goto) {
  85512. case 0:
  85513. // Function start
  85514. if ($async$self._async_evaluate0$_declarationName != null)
  85515. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Media_, node.span));
  85516. mergedQueries = A.NullableExtension_andThen0($async$self._async_evaluate0$_mediaQueries, new A._EvaluateVisitor_visitCssMediaRule_closure8($async$self, node));
  85517. t1 = mergedQueries == null;
  85518. if (!t1 && J.get$isEmpty$asx(mergedQueries)) {
  85519. // goto return
  85520. $async$goto = 1;
  85521. break;
  85522. }
  85523. if (t1)
  85524. mergedSources = B.Set_empty5;
  85525. else {
  85526. t2 = $async$self._async_evaluate0$_mediaQuerySources;
  85527. t2.toString;
  85528. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery_2);
  85529. t3 = $async$self._async_evaluate0$_mediaQueries;
  85530. t3.toString;
  85531. t2.addAll$1(0, t3);
  85532. t2.addAll$1(0, node.queries);
  85533. mergedSources = t2;
  85534. }
  85535. t1 = t1 ? node.queries : mergedQueries;
  85536. $async$goto = 3;
  85537. 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);
  85538. case 3:
  85539. // returning from await.
  85540. case 1:
  85541. // return
  85542. return A._asyncReturn($async$returnValue, $async$completer);
  85543. }
  85544. });
  85545. return A._asyncStartSync($async$visitCssMediaRule$1, $async$completer);
  85546. },
  85547. visitCssStyleRule$1(node) {
  85548. return this.visitCssStyleRule$body$_EvaluateVisitor0(node);
  85549. },
  85550. visitCssStyleRule$body$_EvaluateVisitor0(node) {
  85551. var $async$goto = 0,
  85552. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  85553. $async$self = this, t1, styleRule, t2, nest, t3, originalSelector, rule, oldAtRootExcludingStyleRule, _0_1, lastChild;
  85554. var $async$visitCssStyleRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85555. if ($async$errorCode === 1)
  85556. return A._asyncRethrow($async$result, $async$completer);
  85557. while (true)
  85558. switch ($async$goto) {
  85559. case 0:
  85560. // Function start
  85561. if ($async$self._async_evaluate0$_declarationName != null)
  85562. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Style_n, node.span));
  85563. else if ($async$self._async_evaluate0$_inKeyframes && $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent") instanceof A.ModifiableCssKeyframeBlock0)
  85564. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Style_k, node.span));
  85565. t1 = $async$self._async_evaluate0$_atRootExcludingStyleRule;
  85566. styleRule = t1 ? null : $async$self._async_evaluate0$_styleRuleIgnoringAtRoot;
  85567. t2 = t1 ? null : $async$self._async_evaluate0$_styleRuleIgnoringAtRoot;
  85568. t2 = t2 == null ? null : t2.fromPlainCss;
  85569. nest = t2 !== true;
  85570. t2 = node._style_rule0$_selector._box0$_inner;
  85571. if (nest) {
  85572. t2 = t2.value;
  85573. t3 = styleRule == null ? null : styleRule.originalSelector;
  85574. originalSelector = t2.nestWithin$3$implicitParent$preserveParentSelectors(t3, !t1, node.fromPlainCss);
  85575. } else
  85576. originalSelector = t2.value;
  85577. 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);
  85578. oldAtRootExcludingStyleRule = $async$self._async_evaluate0$_atRootExcludingStyleRule;
  85579. $async$self._async_evaluate0$_atRootExcludingStyleRule = false;
  85580. t1 = nest ? new A._EvaluateVisitor_visitCssStyleRule_closure5() : null;
  85581. $async$goto = 2;
  85582. 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);
  85583. case 2:
  85584. // returning from await.
  85585. $async$self._async_evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  85586. t1 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").children._collection$_source;
  85587. t2 = J.getInterceptor$asx(t1);
  85588. _0_1 = t2.get$length(t1);
  85589. if (_0_1 >= 1) {
  85590. lastChild = t2.elementAt$1(t1, _0_1 - 1);
  85591. t1 = styleRule == null;
  85592. } else {
  85593. lastChild = null;
  85594. t1 = false;
  85595. }
  85596. if (t1)
  85597. lastChild.isGroupEnd = true;
  85598. // implicit return
  85599. return A._asyncReturn(null, $async$completer);
  85600. }
  85601. });
  85602. return A._asyncStartSync($async$visitCssStyleRule$1, $async$completer);
  85603. },
  85604. visitCssStylesheet$1(node) {
  85605. return this.visitCssStylesheet$body$_EvaluateVisitor0(node);
  85606. },
  85607. visitCssStylesheet$body$_EvaluateVisitor0(node) {
  85608. var $async$goto = 0,
  85609. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  85610. $async$self = this, t1;
  85611. var $async$visitCssStylesheet$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85612. if ($async$errorCode === 1)
  85613. return A._asyncRethrow($async$result, $async$completer);
  85614. while (true)
  85615. switch ($async$goto) {
  85616. case 0:
  85617. // Function start
  85618. t1 = J.get$iterator$ax(node.get$children(node));
  85619. case 2:
  85620. // for condition
  85621. if (!t1.moveNext$0()) {
  85622. // goto after for
  85623. $async$goto = 3;
  85624. break;
  85625. }
  85626. $async$goto = 4;
  85627. return A._asyncAwait(t1.get$current(t1).accept$1($async$self), $async$visitCssStylesheet$1);
  85628. case 4:
  85629. // returning from await.
  85630. // goto for condition
  85631. $async$goto = 2;
  85632. break;
  85633. case 3:
  85634. // after for
  85635. // implicit return
  85636. return A._asyncReturn(null, $async$completer);
  85637. }
  85638. });
  85639. return A._asyncStartSync($async$visitCssStylesheet$1, $async$completer);
  85640. },
  85641. visitCssSupportsRule$1(node) {
  85642. return this.visitCssSupportsRule$body$_EvaluateVisitor0(node);
  85643. },
  85644. visitCssSupportsRule$body$_EvaluateVisitor0(node) {
  85645. var $async$goto = 0,
  85646. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  85647. $async$self = this;
  85648. var $async$visitCssSupportsRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85649. if ($async$errorCode === 1)
  85650. return A._asyncRethrow($async$result, $async$completer);
  85651. while (true)
  85652. switch ($async$goto) {
  85653. case 0:
  85654. // Function start
  85655. if ($async$self._async_evaluate0$_declarationName != null)
  85656. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Suppor, node.span));
  85657. $async$goto = 2;
  85658. 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);
  85659. case 2:
  85660. // returning from await.
  85661. // implicit return
  85662. return A._asyncReturn(null, $async$completer);
  85663. }
  85664. });
  85665. return A._asyncStartSync($async$visitCssSupportsRule$1, $async$completer);
  85666. },
  85667. _async_evaluate0$_handleReturn$1$2(list, callback) {
  85668. return this._handleReturn$body$_EvaluateVisitor0(list, callback);
  85669. },
  85670. _async_evaluate0$_handleReturn$2(list, callback) {
  85671. return this._async_evaluate0$_handleReturn$1$2(list, callback, type$.dynamic);
  85672. },
  85673. _handleReturn$body$_EvaluateVisitor0(list, callback) {
  85674. var $async$goto = 0,
  85675. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  85676. $async$returnValue, t1, _i, _0_0;
  85677. var $async$_async_evaluate0$_handleReturn$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85678. if ($async$errorCode === 1)
  85679. return A._asyncRethrow($async$result, $async$completer);
  85680. while (true)
  85681. switch ($async$goto) {
  85682. case 0:
  85683. // Function start
  85684. t1 = list.length, _i = 0;
  85685. case 3:
  85686. // for condition
  85687. if (!(_i < list.length)) {
  85688. // goto after for
  85689. $async$goto = 5;
  85690. break;
  85691. }
  85692. $async$goto = 6;
  85693. return A._asyncAwait(callback.call$1(list[_i]), $async$_async_evaluate0$_handleReturn$1$2);
  85694. case 6:
  85695. // returning from await.
  85696. _0_0 = $async$result;
  85697. if (_0_0 != null) {
  85698. $async$returnValue = _0_0;
  85699. // goto return
  85700. $async$goto = 1;
  85701. break;
  85702. }
  85703. case 4:
  85704. // for update
  85705. list.length === t1 || (0, A.throwConcurrentModificationError)(list), ++_i;
  85706. // goto for condition
  85707. $async$goto = 3;
  85708. break;
  85709. case 5:
  85710. // after for
  85711. $async$returnValue = null;
  85712. // goto return
  85713. $async$goto = 1;
  85714. break;
  85715. case 1:
  85716. // return
  85717. return A._asyncReturn($async$returnValue, $async$completer);
  85718. }
  85719. });
  85720. return A._asyncStartSync($async$_async_evaluate0$_handleReturn$1$2, $async$completer);
  85721. },
  85722. _async_evaluate0$_withEnvironment$1$2(environment, callback, $T) {
  85723. return this._withEnvironment$body$_EvaluateVisitor0(environment, callback, $T, $T);
  85724. },
  85725. _withEnvironment$body$_EvaluateVisitor0(environment, callback, $T, $async$type) {
  85726. var $async$goto = 0,
  85727. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  85728. $async$returnValue, $async$self = this, result, oldEnvironment;
  85729. var $async$_async_evaluate0$_withEnvironment$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85730. if ($async$errorCode === 1)
  85731. return A._asyncRethrow($async$result, $async$completer);
  85732. while (true)
  85733. switch ($async$goto) {
  85734. case 0:
  85735. // Function start
  85736. oldEnvironment = $async$self._async_evaluate0$_environment;
  85737. $async$self._async_evaluate0$_environment = environment;
  85738. $async$goto = 3;
  85739. return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_withEnvironment$1$2);
  85740. case 3:
  85741. // returning from await.
  85742. result = $async$result;
  85743. $async$self._async_evaluate0$_environment = oldEnvironment;
  85744. $async$returnValue = result;
  85745. // goto return
  85746. $async$goto = 1;
  85747. break;
  85748. case 1:
  85749. // return
  85750. return A._asyncReturn($async$returnValue, $async$completer);
  85751. }
  85752. });
  85753. return A._asyncStartSync($async$_async_evaluate0$_withEnvironment$1$2, $async$completer);
  85754. },
  85755. _async_evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, trim, warnForColor) {
  85756. return this._interpolationToValue$body$_EvaluateVisitor0(interpolation, trim, warnForColor);
  85757. },
  85758. _async_evaluate0$_interpolationToValue$1(interpolation) {
  85759. return this._async_evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, false, false);
  85760. },
  85761. _async_evaluate0$_interpolationToValue$2$warnForColor(interpolation, warnForColor) {
  85762. return this._async_evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, false, warnForColor);
  85763. },
  85764. _interpolationToValue$body$_EvaluateVisitor0(interpolation, trim, warnForColor) {
  85765. var $async$goto = 0,
  85766. $async$completer = A._makeAsyncAwaitCompleter(type$.CssValue_String_2),
  85767. $async$returnValue, $async$self = this, result, t1;
  85768. var $async$_async_evaluate0$_interpolationToValue$3$trim$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85769. if ($async$errorCode === 1)
  85770. return A._asyncRethrow($async$result, $async$completer);
  85771. while (true)
  85772. switch ($async$goto) {
  85773. case 0:
  85774. // Function start
  85775. $async$goto = 3;
  85776. return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$2$warnForColor(interpolation, warnForColor), $async$_async_evaluate0$_interpolationToValue$3$trim$warnForColor);
  85777. case 3:
  85778. // returning from await.
  85779. result = $async$result;
  85780. t1 = trim ? A.trimAscii0(result, true) : result;
  85781. $async$returnValue = new A.CssValue0(t1, interpolation.span, type$.CssValue_String_2);
  85782. // goto return
  85783. $async$goto = 1;
  85784. break;
  85785. case 1:
  85786. // return
  85787. return A._asyncReturn($async$returnValue, $async$completer);
  85788. }
  85789. });
  85790. return A._asyncStartSync($async$_async_evaluate0$_interpolationToValue$3$trim$warnForColor, $async$completer);
  85791. },
  85792. _async_evaluate0$_performInterpolation$2$warnForColor(interpolation, warnForColor) {
  85793. return this._performInterpolation$body$_EvaluateVisitor0(interpolation, warnForColor);
  85794. },
  85795. _async_evaluate0$_performInterpolation$1(interpolation) {
  85796. return this._async_evaluate0$_performInterpolation$2$warnForColor(interpolation, false);
  85797. },
  85798. _performInterpolation$body$_EvaluateVisitor0(interpolation, warnForColor) {
  85799. var $async$goto = 0,
  85800. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  85801. $async$returnValue, $async$self = this;
  85802. var $async$_async_evaluate0$_performInterpolation$2$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85803. if ($async$errorCode === 1)
  85804. return A._asyncRethrow($async$result, $async$completer);
  85805. while (true)
  85806. switch ($async$goto) {
  85807. case 0:
  85808. // Function start
  85809. $async$goto = 3;
  85810. return A._asyncAwait($async$self._async_evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor(interpolation, false, warnForColor), $async$_async_evaluate0$_performInterpolation$2$warnForColor);
  85811. case 3:
  85812. // returning from await.
  85813. $async$returnValue = $async$result._0;
  85814. // goto return
  85815. $async$goto = 1;
  85816. break;
  85817. case 1:
  85818. // return
  85819. return A._asyncReturn($async$returnValue, $async$completer);
  85820. }
  85821. });
  85822. return A._asyncStartSync($async$_async_evaluate0$_performInterpolation$2$warnForColor, $async$completer);
  85823. },
  85824. _async_evaluate0$_performInterpolationWithMap$2$warnForColor(interpolation, warnForColor) {
  85825. return this._performInterpolationWithMap$body$_EvaluateVisitor0(interpolation, true);
  85826. },
  85827. _performInterpolationWithMap$body$_EvaluateVisitor0(interpolation, warnForColor) {
  85828. var $async$goto = 0,
  85829. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_String_and_InterpolationMap_2),
  85830. $async$returnValue, $async$self = this, _0_0, result, map;
  85831. var $async$_async_evaluate0$_performInterpolationWithMap$2$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85832. if ($async$errorCode === 1)
  85833. return A._asyncRethrow($async$result, $async$completer);
  85834. while (true)
  85835. switch ($async$goto) {
  85836. case 0:
  85837. // Function start
  85838. $async$goto = 3;
  85839. return A._asyncAwait($async$self._async_evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor(interpolation, true, true), $async$_async_evaluate0$_performInterpolationWithMap$2$warnForColor);
  85840. case 3:
  85841. // returning from await.
  85842. _0_0 = $async$result;
  85843. result = _0_0._0;
  85844. map = _0_0._1;
  85845. map.toString;
  85846. $async$returnValue = new A._Record_2(result, map);
  85847. // goto return
  85848. $async$goto = 1;
  85849. break;
  85850. case 1:
  85851. // return
  85852. return A._asyncReturn($async$returnValue, $async$completer);
  85853. }
  85854. });
  85855. return A._asyncStartSync($async$_async_evaluate0$_performInterpolationWithMap$2$warnForColor, $async$completer);
  85856. },
  85857. _async_evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor(interpolation, sourceMap, warnForColor) {
  85858. return this._performInterpolationHelper$body$_EvaluateVisitor0(interpolation, sourceMap, warnForColor);
  85859. },
  85860. _performInterpolationHelper$body$_EvaluateVisitor0(interpolation, sourceMap, warnForColor) {
  85861. var $async$goto = 0,
  85862. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_String_and_nullable_InterpolationMap_2),
  85863. $async$returnValue, $async$self = this, t1, t2, t3, t4, t5, t6, t7, first, _i, t8, value, result, t9, result0, targetLocations, oldInSupportsDeclaration;
  85864. var $async$_async_evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85865. if ($async$errorCode === 1)
  85866. return A._asyncRethrow($async$result, $async$completer);
  85867. while (true)
  85868. switch ($async$goto) {
  85869. case 0:
  85870. // Function start
  85871. targetLocations = sourceMap ? A._setArrayType([], type$.JSArray_SourceLocation) : null;
  85872. oldInSupportsDeclaration = $async$self._async_evaluate0$_inSupportsDeclaration;
  85873. $async$self._async_evaluate0$_inSupportsDeclaration = false;
  85874. t1 = interpolation.contents, t2 = t1.length, t3 = type$.Expression_2, t4 = targetLocations == null, t5 = type$.JSArray_Object, t6 = interpolation.span, t7 = type$.Object, first = true, _i = 0, t8 = "";
  85875. case 3:
  85876. // for condition
  85877. if (!(_i < t2)) {
  85878. // goto after for
  85879. $async$goto = 5;
  85880. break;
  85881. }
  85882. value = t1[_i];
  85883. if (!first)
  85884. if (!t4)
  85885. targetLocations.push(A.SourceLocation$(t8.length, null, null, null));
  85886. if (typeof value == "string") {
  85887. t8 += value;
  85888. // goto for update
  85889. $async$goto = 4;
  85890. break;
  85891. }
  85892. t3._as(value);
  85893. $async$goto = 6;
  85894. return A._asyncAwait(value.accept$1($async$self), $async$_async_evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor);
  85895. case 6:
  85896. // returning from await.
  85897. result = $async$result;
  85898. if (warnForColor && $.$get$namesByColor0().containsKey$1(result)) {
  85899. t9 = A._setArrayType([""], t5);
  85900. result0 = A.List_List$from(t9, false, t7);
  85901. result0.fixed$length = Array;
  85902. result0.immutable$list = Array;
  85903. result0 = new A.Interpolation0(result0, t6);
  85904. result0.Interpolation$20(t9, t6);
  85905. t9 = $.$get$namesByColor0();
  85906. $async$self._async_evaluate0$_warn$2(string$.You_pr + A.S(t9.$index(0, result)) + string$.x20in_in + result.toString$0(0) + string$.x2c_whicw + A.S(t9.$index(0, result)) + string$.x22x29__If + new A.BinaryOperationExpression0(B.BinaryOperator_u150, new A.StringExpression0(result0, true), value, false).toString$0(0) + "'.", value.get$span(value));
  85907. }
  85908. t8 += $async$self._async_evaluate0$_serialize$3$quote(result, value, false);
  85909. case 4:
  85910. // for update
  85911. ++_i, first = false;
  85912. // goto for condition
  85913. $async$goto = 3;
  85914. break;
  85915. case 5:
  85916. // after for
  85917. $async$self._async_evaluate0$_inSupportsDeclaration = oldInSupportsDeclaration;
  85918. $async$returnValue = new A._Record_2(t8.charCodeAt(0) == 0 ? t8 : t8, A.NullableExtension_andThen0(targetLocations, new A._EvaluateVisitor__performInterpolationHelper_closure2(interpolation)));
  85919. // goto return
  85920. $async$goto = 1;
  85921. break;
  85922. case 1:
  85923. // return
  85924. return A._asyncReturn($async$returnValue, $async$completer);
  85925. }
  85926. });
  85927. return A._asyncStartSync($async$_async_evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor, $async$completer);
  85928. },
  85929. _async_evaluate0$_evaluateToCss$2$quote(expression, quote) {
  85930. return this._evaluateToCss$body$_EvaluateVisitor0(expression, quote);
  85931. },
  85932. _async_evaluate0$_evaluateToCss$1(expression) {
  85933. return this._async_evaluate0$_evaluateToCss$2$quote(expression, true);
  85934. },
  85935. _evaluateToCss$body$_EvaluateVisitor0(expression, quote) {
  85936. var $async$goto = 0,
  85937. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  85938. $async$returnValue, $async$self = this, t1;
  85939. var $async$_async_evaluate0$_evaluateToCss$2$quote = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85940. if ($async$errorCode === 1)
  85941. return A._asyncRethrow($async$result, $async$completer);
  85942. while (true)
  85943. switch ($async$goto) {
  85944. case 0:
  85945. // Function start
  85946. t1 = expression.accept$1($async$self);
  85947. $async$goto = 3;
  85948. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$_async_evaluate0$_evaluateToCss$2$quote);
  85949. case 3:
  85950. // returning from await.
  85951. $async$returnValue = $async$self._async_evaluate0$_serialize$3$quote($async$result, expression, quote);
  85952. // goto return
  85953. $async$goto = 1;
  85954. break;
  85955. case 1:
  85956. // return
  85957. return A._asyncReturn($async$returnValue, $async$completer);
  85958. }
  85959. });
  85960. return A._asyncStartSync($async$_async_evaluate0$_evaluateToCss$2$quote, $async$completer);
  85961. },
  85962. _async_evaluate0$_serialize$3$quote(value, nodeWithSpan, quote) {
  85963. return this._async_evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__serialize_closure2(value, quote));
  85964. },
  85965. _async_evaluate0$_serialize$2(value, nodeWithSpan) {
  85966. return this._async_evaluate0$_serialize$3$quote(value, nodeWithSpan, true);
  85967. },
  85968. _async_evaluate0$_expressionNode$1(expression) {
  85969. var t1;
  85970. if (expression instanceof A.VariableExpression0) {
  85971. t1 = this._async_evaluate0$_addExceptionSpan$2(expression, new A._EvaluateVisitor__expressionNode_closure2(this, expression));
  85972. return t1 == null ? expression : t1;
  85973. } else
  85974. return expression;
  85975. },
  85976. _async_evaluate0$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, through, $S, $T) {
  85977. return this._withParent$body$_EvaluateVisitor0(node, callback, scopeWhen, through, $S, $T, $T);
  85978. },
  85979. _async_evaluate0$_withParent$2$2(node, callback, $S, $T) {
  85980. return this._async_evaluate0$_withParent$2$4$scopeWhen$through(node, callback, true, null, $S, $T);
  85981. },
  85982. _async_evaluate0$_withParent$2$3$scopeWhen(node, callback, scopeWhen, $S, $T) {
  85983. return this._async_evaluate0$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, null, $S, $T);
  85984. },
  85985. _withParent$body$_EvaluateVisitor0(node, callback, scopeWhen, through, $S, $T, $async$type) {
  85986. var $async$goto = 0,
  85987. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  85988. $async$returnValue, $async$self = this, t1, result;
  85989. var $async$_async_evaluate0$_withParent$2$4$scopeWhen$through = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85990. if ($async$errorCode === 1)
  85991. return A._asyncRethrow($async$result, $async$completer);
  85992. while (true)
  85993. switch ($async$goto) {
  85994. case 0:
  85995. // Function start
  85996. $async$self._async_evaluate0$_addChild$2$through(node, through);
  85997. t1 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent");
  85998. $async$self._async_evaluate0$__parent = node;
  85999. $async$goto = 3;
  86000. return A._asyncAwait($async$self._async_evaluate0$_environment.scope$1$2$when(callback, scopeWhen, $T), $async$_async_evaluate0$_withParent$2$4$scopeWhen$through);
  86001. case 3:
  86002. // returning from await.
  86003. result = $async$result;
  86004. $async$self._async_evaluate0$__parent = t1;
  86005. $async$returnValue = result;
  86006. // goto return
  86007. $async$goto = 1;
  86008. break;
  86009. case 1:
  86010. // return
  86011. return A._asyncReturn($async$returnValue, $async$completer);
  86012. }
  86013. });
  86014. return A._asyncStartSync($async$_async_evaluate0$_withParent$2$4$scopeWhen$through, $async$completer);
  86015. },
  86016. _async_evaluate0$_addChild$2$through(node, through) {
  86017. var _0_0, grandparent, t1,
  86018. $parent = this._async_evaluate0$_assertInModule$2(this._async_evaluate0$__parent, "__parent");
  86019. if (through != null) {
  86020. for (; through.call$1($parent); $parent = _0_0) {
  86021. _0_0 = $parent._node$_parent;
  86022. if (_0_0 == null)
  86023. throw A.wrapException(A.ArgumentError$(string$.throug + node.toString$0(0) + ".", null));
  86024. }
  86025. if ($parent.get$hasFollowingSibling()) {
  86026. grandparent = $parent._node$_parent;
  86027. t1 = grandparent.children;
  86028. if ($parent.equalsIgnoringChildren$1(t1.get$last(t1)))
  86029. $parent = type$.ModifiableCssParentNode_2._as(t1.get$last(t1));
  86030. else {
  86031. $parent = $parent.copyWithoutChildren$0();
  86032. grandparent.addChild$1($parent);
  86033. }
  86034. }
  86035. }
  86036. $parent.addChild$1(node);
  86037. },
  86038. _async_evaluate0$_addChild$1(node) {
  86039. return this._async_evaluate0$_addChild$2$through(node, null);
  86040. },
  86041. _async_evaluate0$_withStyleRule$1$2(rule, callback, $T) {
  86042. return this._withStyleRule$body$_EvaluateVisitor0(rule, callback, $T, $T);
  86043. },
  86044. _withStyleRule$body$_EvaluateVisitor0(rule, callback, $T, $async$type) {
  86045. var $async$goto = 0,
  86046. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  86047. $async$returnValue, $async$self = this, result, oldRule;
  86048. var $async$_async_evaluate0$_withStyleRule$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86049. if ($async$errorCode === 1)
  86050. return A._asyncRethrow($async$result, $async$completer);
  86051. while (true)
  86052. switch ($async$goto) {
  86053. case 0:
  86054. // Function start
  86055. oldRule = $async$self._async_evaluate0$_styleRuleIgnoringAtRoot;
  86056. $async$self._async_evaluate0$_styleRuleIgnoringAtRoot = rule;
  86057. $async$goto = 3;
  86058. return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_withStyleRule$1$2);
  86059. case 3:
  86060. // returning from await.
  86061. result = $async$result;
  86062. $async$self._async_evaluate0$_styleRuleIgnoringAtRoot = oldRule;
  86063. $async$returnValue = result;
  86064. // goto return
  86065. $async$goto = 1;
  86066. break;
  86067. case 1:
  86068. // return
  86069. return A._asyncReturn($async$returnValue, $async$completer);
  86070. }
  86071. });
  86072. return A._asyncStartSync($async$_async_evaluate0$_withStyleRule$1$2, $async$completer);
  86073. },
  86074. _async_evaluate0$_withMediaQueries$1$3(queries, sources, callback, $T) {
  86075. return this._withMediaQueries$body$_EvaluateVisitor0(queries, sources, callback, $T, $T);
  86076. },
  86077. _withMediaQueries$body$_EvaluateVisitor0(queries, sources, callback, $T, $async$type) {
  86078. var $async$goto = 0,
  86079. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  86080. $async$returnValue, $async$self = this, result, oldMediaQueries, oldSources;
  86081. var $async$_async_evaluate0$_withMediaQueries$1$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86082. if ($async$errorCode === 1)
  86083. return A._asyncRethrow($async$result, $async$completer);
  86084. while (true)
  86085. switch ($async$goto) {
  86086. case 0:
  86087. // Function start
  86088. oldMediaQueries = $async$self._async_evaluate0$_mediaQueries;
  86089. oldSources = $async$self._async_evaluate0$_mediaQuerySources;
  86090. $async$self._async_evaluate0$_mediaQueries = queries;
  86091. $async$self._async_evaluate0$_mediaQuerySources = sources;
  86092. $async$goto = 3;
  86093. return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_withMediaQueries$1$3);
  86094. case 3:
  86095. // returning from await.
  86096. result = $async$result;
  86097. $async$self._async_evaluate0$_mediaQueries = oldMediaQueries;
  86098. $async$self._async_evaluate0$_mediaQuerySources = oldSources;
  86099. $async$returnValue = result;
  86100. // goto return
  86101. $async$goto = 1;
  86102. break;
  86103. case 1:
  86104. // return
  86105. return A._asyncReturn($async$returnValue, $async$completer);
  86106. }
  86107. });
  86108. return A._asyncStartSync($async$_async_evaluate0$_withMediaQueries$1$3, $async$completer);
  86109. },
  86110. _async_evaluate0$_withStackFrame$1$3(member, nodeWithSpan, callback, $T) {
  86111. return this._withStackFrame$body$_EvaluateVisitor0(member, nodeWithSpan, callback, $T, $T);
  86112. },
  86113. _withStackFrame$body$_EvaluateVisitor0(member, nodeWithSpan, callback, $T, $async$type) {
  86114. var $async$goto = 0,
  86115. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  86116. $async$returnValue, $async$self = this, oldMember, result, t1;
  86117. var $async$_async_evaluate0$_withStackFrame$1$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86118. if ($async$errorCode === 1)
  86119. return A._asyncRethrow($async$result, $async$completer);
  86120. while (true)
  86121. switch ($async$goto) {
  86122. case 0:
  86123. // Function start
  86124. t1 = $async$self._async_evaluate0$_stack;
  86125. t1.push(new A._Record_2($async$self._async_evaluate0$_member, nodeWithSpan));
  86126. oldMember = $async$self._async_evaluate0$_member;
  86127. $async$self._async_evaluate0$_member = member;
  86128. $async$goto = 3;
  86129. return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_withStackFrame$1$3);
  86130. case 3:
  86131. // returning from await.
  86132. result = $async$result;
  86133. $async$self._async_evaluate0$_member = oldMember;
  86134. t1.pop();
  86135. $async$returnValue = result;
  86136. // goto return
  86137. $async$goto = 1;
  86138. break;
  86139. case 1:
  86140. // return
  86141. return A._asyncReturn($async$returnValue, $async$completer);
  86142. }
  86143. });
  86144. return A._asyncStartSync($async$_async_evaluate0$_withStackFrame$1$3, $async$completer);
  86145. },
  86146. _async_evaluate0$_withoutSlash$2(value, nodeForSpan) {
  86147. var t1;
  86148. if (value instanceof A.SassNumber0)
  86149. t1 = value.asSlash != null;
  86150. else
  86151. t1 = false;
  86152. if (t1)
  86153. 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_E8a);
  86154. return value.withoutSlash$0();
  86155. },
  86156. _async_evaluate0$_stackFrame$2(member, span) {
  86157. return A.frameForSpan0(span, member, A.NullableExtension_andThen0(span.get$sourceUrl(span), new A._EvaluateVisitor__stackFrame_closure2(this)));
  86158. },
  86159. _async_evaluate0$_stackTrace$1(span) {
  86160. var t2, t3, _i, t4, nodeWithSpan, _this = this,
  86161. t1 = A._setArrayType([], type$.JSArray_Frame);
  86162. for (t2 = _this._async_evaluate0$_stack, t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  86163. t4 = t2[_i];
  86164. nodeWithSpan = t4._1;
  86165. t1.push(_this._async_evaluate0$_stackFrame$2(t4._0, nodeWithSpan.get$span(nodeWithSpan)));
  86166. }
  86167. if (span != null)
  86168. t1.push(_this._async_evaluate0$_stackFrame$2(_this._async_evaluate0$_member, span));
  86169. return A.Trace$(new A.ReversedListIterable(t1, type$.ReversedListIterable_Frame), null);
  86170. },
  86171. _async_evaluate0$_stackTrace$0() {
  86172. return this._async_evaluate0$_stackTrace$1(null);
  86173. },
  86174. _async_evaluate0$_warn$3(message, span, deprecation) {
  86175. var t1, trace, _this = this;
  86176. if (_this._async_evaluate0$_quietDeps)
  86177. if (!_this._async_evaluate0$_inDependency) {
  86178. t1 = _this._async_evaluate0$_currentCallable;
  86179. t1 = t1 == null ? null : t1.inDependency;
  86180. t1 = t1 === true;
  86181. } else
  86182. t1 = true;
  86183. else
  86184. t1 = false;
  86185. if (t1)
  86186. return;
  86187. if (!_this._async_evaluate0$_warningsEmitted.add$1(0, new A._Record_2(message, span)))
  86188. return;
  86189. trace = _this._async_evaluate0$_stackTrace$1(span);
  86190. t1 = _this._async_evaluate0$_logger;
  86191. if (deprecation == null)
  86192. t1.warn$3$span$trace(0, message, span, trace);
  86193. else
  86194. A.WarnForDeprecation_warnForDeprecation0(t1, deprecation, message, span, trace);
  86195. },
  86196. _async_evaluate0$_warn$2(message, span) {
  86197. return this._async_evaluate0$_warn$3(message, span, null);
  86198. },
  86199. _async_evaluate0$_exception$2(message, span) {
  86200. var t1, t2;
  86201. if (span == null) {
  86202. t1 = B.JSArray_methods.get$last(this._async_evaluate0$_stack)._1;
  86203. t1 = t1.get$span(t1);
  86204. } else
  86205. t1 = span;
  86206. t2 = this._async_evaluate0$_stackTrace$1(span);
  86207. return new A.SassRuntimeException0(t2, B.Set_empty, message, t1);
  86208. },
  86209. _async_evaluate0$_exception$1(message) {
  86210. return this._async_evaluate0$_exception$2(message, null);
  86211. },
  86212. _async_evaluate0$_multiSpanException$3(message, primaryLabel, secondaryLabels) {
  86213. var t1 = B.JSArray_methods.get$last(this._async_evaluate0$_stack)._1;
  86214. return A.MultiSpanSassRuntimeException$0(message, t1.get$span(t1), primaryLabel, secondaryLabels, this._async_evaluate0$_stackTrace$0(), null);
  86215. },
  86216. _async_evaluate0$_addExceptionSpan$1$2(nodeWithSpan, callback) {
  86217. var error, stackTrace, t1, exception,
  86218. addStackFrame = true;
  86219. try {
  86220. t1 = callback.call$0();
  86221. return t1;
  86222. } catch (exception) {
  86223. t1 = A.unwrapException(exception);
  86224. if (t1 instanceof A.SassScriptException0) {
  86225. error = t1;
  86226. stackTrace = A.getTraceFromException(exception);
  86227. t1 = error.withSpan$1(nodeWithSpan.get$span(nodeWithSpan));
  86228. A.throwWithTrace0(t1.withTrace$1(this._async_evaluate0$_stackTrace$1(addStackFrame ? nodeWithSpan.get$span(nodeWithSpan) : null)), error, stackTrace);
  86229. } else
  86230. throw exception;
  86231. }
  86232. },
  86233. _async_evaluate0$_addExceptionSpan$2(nodeWithSpan, callback) {
  86234. return this._async_evaluate0$_addExceptionSpan$1$2(nodeWithSpan, callback, type$.dynamic);
  86235. },
  86236. _async_evaluate0$_addExceptionSpanAsync$1$3$addStackFrame(nodeWithSpan, callback, addStackFrame, $T) {
  86237. return this._addExceptionSpanAsync$body$_EvaluateVisitor0(nodeWithSpan, callback, addStackFrame, $T, $T);
  86238. },
  86239. _async_evaluate0$_addExceptionSpanAsync$1$2(nodeWithSpan, callback, $T) {
  86240. return this._async_evaluate0$_addExceptionSpanAsync$1$3$addStackFrame(nodeWithSpan, callback, true, $T);
  86241. },
  86242. _addExceptionSpanAsync$body$_EvaluateVisitor0(nodeWithSpan, callback, addStackFrame, $T, $async$type) {
  86243. var $async$goto = 0,
  86244. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  86245. $async$returnValue, $async$handler = 2, $async$currentError, $async$self = this, error, stackTrace, t1, exception, $async$exception;
  86246. var $async$_async_evaluate0$_addExceptionSpanAsync$1$3$addStackFrame = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86247. if ($async$errorCode === 1) {
  86248. $async$currentError = $async$result;
  86249. $async$goto = $async$handler;
  86250. }
  86251. while (true)
  86252. switch ($async$goto) {
  86253. case 0:
  86254. // Function start
  86255. $async$handler = 4;
  86256. t1 = callback.call$0();
  86257. $async$goto = 7;
  86258. return A._asyncAwait($T._eval$1("Future<0>")._is(t1) ? t1 : A._Future$value(t1, $T), $async$_async_evaluate0$_addExceptionSpanAsync$1$3$addStackFrame);
  86259. case 7:
  86260. // returning from await.
  86261. t1 = $async$result;
  86262. $async$returnValue = t1;
  86263. // goto return
  86264. $async$goto = 1;
  86265. break;
  86266. $async$handler = 2;
  86267. // goto after finally
  86268. $async$goto = 6;
  86269. break;
  86270. case 4:
  86271. // catch
  86272. $async$handler = 3;
  86273. $async$exception = $async$currentError;
  86274. t1 = A.unwrapException($async$exception);
  86275. if (t1 instanceof A.SassScriptException0) {
  86276. error = t1;
  86277. stackTrace = A.getTraceFromException($async$exception);
  86278. t1 = error.withSpan$1(nodeWithSpan.get$span(nodeWithSpan));
  86279. A.throwWithTrace0(t1.withTrace$1($async$self._async_evaluate0$_stackTrace$1(addStackFrame ? nodeWithSpan.get$span(nodeWithSpan) : null)), error, stackTrace);
  86280. } else
  86281. throw $async$exception;
  86282. // goto after finally
  86283. $async$goto = 6;
  86284. break;
  86285. case 3:
  86286. // uncaught
  86287. // goto rethrow
  86288. $async$goto = 2;
  86289. break;
  86290. case 6:
  86291. // after finally
  86292. case 1:
  86293. // return
  86294. return A._asyncReturn($async$returnValue, $async$completer);
  86295. case 2:
  86296. // rethrow
  86297. return A._asyncRethrow($async$currentError, $async$completer);
  86298. }
  86299. });
  86300. return A._asyncStartSync($async$_async_evaluate0$_addExceptionSpanAsync$1$3$addStackFrame, $async$completer);
  86301. },
  86302. _async_evaluate0$_addExceptionTrace$1$1(callback, $T) {
  86303. return this._addExceptionTrace$body$_EvaluateVisitor0(callback, $T, $T);
  86304. },
  86305. _addExceptionTrace$body$_EvaluateVisitor0(callback, $T, $async$type) {
  86306. var $async$goto = 0,
  86307. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  86308. $async$returnValue, $async$handler = 2, $async$currentError, $async$self = this, error, stackTrace, t1, exception, t2, $async$exception;
  86309. var $async$_async_evaluate0$_addExceptionTrace$1$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86310. if ($async$errorCode === 1) {
  86311. $async$currentError = $async$result;
  86312. $async$goto = $async$handler;
  86313. }
  86314. while (true)
  86315. switch ($async$goto) {
  86316. case 0:
  86317. // Function start
  86318. $async$handler = 4;
  86319. t1 = callback.call$0();
  86320. $async$goto = 7;
  86321. return A._asyncAwait($T._eval$1("Future<0>")._is(t1) ? t1 : A._Future$value(t1, $T), $async$_async_evaluate0$_addExceptionTrace$1$1);
  86322. case 7:
  86323. // returning from await.
  86324. t1 = $async$result;
  86325. $async$returnValue = t1;
  86326. // goto return
  86327. $async$goto = 1;
  86328. break;
  86329. $async$handler = 2;
  86330. // goto after finally
  86331. $async$goto = 6;
  86332. break;
  86333. case 4:
  86334. // catch
  86335. $async$handler = 3;
  86336. $async$exception = $async$currentError;
  86337. t1 = A.unwrapException($async$exception);
  86338. if (type$.SassRuntimeException_2._is(t1))
  86339. throw $async$exception;
  86340. else if (t1 instanceof A.SassException0) {
  86341. error = t1;
  86342. stackTrace = A.getTraceFromException($async$exception);
  86343. t1 = error;
  86344. t2 = J.getInterceptor$z(t1);
  86345. A.throwWithTrace0(error.withTrace$1($async$self._async_evaluate0$_stackTrace$1(A.SourceSpanException.prototype.get$span.call(t2, t1))), error, stackTrace);
  86346. } else
  86347. throw $async$exception;
  86348. // goto after finally
  86349. $async$goto = 6;
  86350. break;
  86351. case 3:
  86352. // uncaught
  86353. // goto rethrow
  86354. $async$goto = 2;
  86355. break;
  86356. case 6:
  86357. // after finally
  86358. case 1:
  86359. // return
  86360. return A._asyncReturn($async$returnValue, $async$completer);
  86361. case 2:
  86362. // rethrow
  86363. return A._asyncRethrow($async$currentError, $async$completer);
  86364. }
  86365. });
  86366. return A._asyncStartSync($async$_async_evaluate0$_addExceptionTrace$1$1, $async$completer);
  86367. },
  86368. _async_evaluate0$_addErrorSpan$1$2(nodeWithSpan, callback, $T) {
  86369. return this._addErrorSpan$body$_EvaluateVisitor0(nodeWithSpan, callback, $T, $T);
  86370. },
  86371. _addErrorSpan$body$_EvaluateVisitor0(nodeWithSpan, callback, $T, $async$type) {
  86372. var $async$goto = 0,
  86373. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  86374. $async$returnValue, $async$handler = 2, $async$currentError, $async$self = this, error, stackTrace, t1, exception, t2, t3, $async$exception;
  86375. var $async$_async_evaluate0$_addErrorSpan$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86376. if ($async$errorCode === 1) {
  86377. $async$currentError = $async$result;
  86378. $async$goto = $async$handler;
  86379. }
  86380. while (true)
  86381. switch ($async$goto) {
  86382. case 0:
  86383. // Function start
  86384. $async$handler = 4;
  86385. $async$goto = 7;
  86386. return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_addErrorSpan$1$2);
  86387. case 7:
  86388. // returning from await.
  86389. t1 = $async$result;
  86390. $async$returnValue = t1;
  86391. // goto return
  86392. $async$goto = 1;
  86393. break;
  86394. $async$handler = 2;
  86395. // goto after finally
  86396. $async$goto = 6;
  86397. break;
  86398. case 4:
  86399. // catch
  86400. $async$handler = 3;
  86401. $async$exception = $async$currentError;
  86402. t1 = A.unwrapException($async$exception);
  86403. if (type$.SassRuntimeException_2._is(t1)) {
  86404. error = t1;
  86405. stackTrace = A.getTraceFromException($async$exception);
  86406. if (!B.JSString_methods.startsWith$1(J.get$span$z(error).get$text(), "@error"))
  86407. throw $async$exception;
  86408. t1 = error._span_exception$_message;
  86409. t2 = nodeWithSpan.get$span(nodeWithSpan);
  86410. t3 = $async$self._async_evaluate0$_stackTrace$0();
  86411. A.throwWithTrace0(new A.SassRuntimeException0(t3, B.Set_empty, t1, t2), error, stackTrace);
  86412. } else
  86413. throw $async$exception;
  86414. // goto after finally
  86415. $async$goto = 6;
  86416. break;
  86417. case 3:
  86418. // uncaught
  86419. // goto rethrow
  86420. $async$goto = 2;
  86421. break;
  86422. case 6:
  86423. // after finally
  86424. case 1:
  86425. // return
  86426. return A._asyncReturn($async$returnValue, $async$completer);
  86427. case 2:
  86428. // rethrow
  86429. return A._asyncRethrow($async$currentError, $async$completer);
  86430. }
  86431. });
  86432. return A._asyncStartSync($async$_async_evaluate0$_addErrorSpan$1$2, $async$completer);
  86433. }
  86434. };
  86435. A._EvaluateVisitor_closure38.prototype = {
  86436. call$1($arguments) {
  86437. var module, t2,
  86438. t1 = J.getInterceptor$asx($arguments),
  86439. variable = t1.$index($arguments, 0).assertString$1("name");
  86440. t1 = t1.$index($arguments, 1).get$realNull();
  86441. module = t1 == null ? null : t1.assertString$1("module");
  86442. t1 = this.$this._async_evaluate0$_environment;
  86443. t2 = A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-");
  86444. return t1.globalVariableExists$2$namespace(t2, module == null ? null : module._string0$_text) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  86445. },
  86446. $signature: 21
  86447. };
  86448. A._EvaluateVisitor_closure39.prototype = {
  86449. call$1($arguments) {
  86450. var variable = J.$index$asx($arguments, 0).assertString$1("name"),
  86451. t1 = this.$this._async_evaluate0$_environment;
  86452. return t1.getVariable$1(A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-")) != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
  86453. },
  86454. $signature: 21
  86455. };
  86456. A._EvaluateVisitor_closure40.prototype = {
  86457. call$1($arguments) {
  86458. var module, t2, t3, t4,
  86459. t1 = J.getInterceptor$asx($arguments),
  86460. variable = t1.$index($arguments, 0).assertString$1("name");
  86461. t1 = t1.$index($arguments, 1).get$realNull();
  86462. module = t1 == null ? null : t1.assertString$1("module");
  86463. t1 = this.$this;
  86464. t2 = t1._async_evaluate0$_environment;
  86465. t3 = variable._string0$_text;
  86466. t4 = A.stringReplaceAllUnchecked(t3, "_", "-");
  86467. 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;
  86468. },
  86469. $signature: 21
  86470. };
  86471. A._EvaluateVisitor_closure41.prototype = {
  86472. call$1($arguments) {
  86473. var module, t2,
  86474. t1 = J.getInterceptor$asx($arguments),
  86475. variable = t1.$index($arguments, 0).assertString$1("name");
  86476. t1 = t1.$index($arguments, 1).get$realNull();
  86477. module = t1 == null ? null : t1.assertString$1("module");
  86478. t1 = this.$this._async_evaluate0$_environment;
  86479. t2 = A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-");
  86480. return t1.getMixin$2$namespace(t2, module == null ? null : module._string0$_text) != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
  86481. },
  86482. $signature: 21
  86483. };
  86484. A._EvaluateVisitor_closure42.prototype = {
  86485. call$1($arguments) {
  86486. var t1 = this.$this._async_evaluate0$_environment;
  86487. if (!t1._async_environment0$_inMixin)
  86488. throw A.wrapException(A.SassScriptException$0(string$.conten, null));
  86489. return t1._async_environment0$_content != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
  86490. },
  86491. $signature: 21
  86492. };
  86493. A._EvaluateVisitor_closure43.prototype = {
  86494. call$1($arguments) {
  86495. var t2, t3, t4,
  86496. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string0$_text,
  86497. module = this.$this._async_evaluate0$_environment._async_environment0$_modules.$index(0, t1);
  86498. if (module == null)
  86499. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  86500. t1 = type$.Value_2;
  86501. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  86502. for (t3 = A.MapExtensions_get_pairs0(module.get$variables(), type$.String, t1), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  86503. t4 = t3.get$current(t3);
  86504. t2.$indexSet(0, new A.SassString0(t4._0, true), t4._1);
  86505. }
  86506. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  86507. },
  86508. $signature: 33
  86509. };
  86510. A._EvaluateVisitor_closure44.prototype = {
  86511. call$1($arguments) {
  86512. var t2, t3, t4,
  86513. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string0$_text,
  86514. module = this.$this._async_evaluate0$_environment._async_environment0$_modules.$index(0, t1);
  86515. if (module == null)
  86516. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  86517. t1 = type$.Value_2;
  86518. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  86519. for (t3 = A.MapExtensions_get_pairs0(module.get$functions(module), type$.String, type$.AsyncCallable_2), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  86520. t4 = t3.get$current(t3);
  86521. t2.$indexSet(0, new A.SassString0(t4._0, true), new A.SassFunction0(t4._1));
  86522. }
  86523. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  86524. },
  86525. $signature: 33
  86526. };
  86527. A._EvaluateVisitor_closure45.prototype = {
  86528. call$1($arguments) {
  86529. var t2, t3, t4,
  86530. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string0$_text,
  86531. module = this.$this._async_evaluate0$_environment._async_environment0$_modules.$index(0, t1);
  86532. if (module == null)
  86533. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  86534. t1 = type$.Value_2;
  86535. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  86536. for (t3 = A.MapExtensions_get_pairs0(module.get$mixins(), type$.String, type$.AsyncCallable_2), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  86537. t4 = t3.get$current(t3);
  86538. t2.$indexSet(0, new A.SassString0(t4._0, true), new A.SassMixin0(t4._1));
  86539. }
  86540. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  86541. },
  86542. $signature: 33
  86543. };
  86544. A._EvaluateVisitor_closure46.prototype = {
  86545. call$1($arguments) {
  86546. var module, t2, callable,
  86547. t1 = J.getInterceptor$asx($arguments),
  86548. $name = t1.$index($arguments, 0).assertString$1("name"),
  86549. css = t1.$index($arguments, 1).get$isTruthy();
  86550. t1 = t1.$index($arguments, 2).get$realNull();
  86551. module = t1 == null ? null : t1.assertString$1("module");
  86552. if (css) {
  86553. if (module != null)
  86554. throw A.wrapException(string$.x24css_a);
  86555. return new A.SassFunction0(new A.PlainCssCallable0($name._string0$_text));
  86556. }
  86557. t1 = this.$this;
  86558. t2 = t1._async_evaluate0$_callableNode;
  86559. t2.toString;
  86560. callable = t1._async_evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor__closure14(t1, $name, module));
  86561. if (callable == null)
  86562. throw A.wrapException("Function not found: " + $name.toString$0(0));
  86563. return new A.SassFunction0(callable);
  86564. },
  86565. $signature: 137
  86566. };
  86567. A._EvaluateVisitor__closure14.prototype = {
  86568. call$0() {
  86569. var local,
  86570. normalizedName = A.stringReplaceAllUnchecked(this.name._string0$_text, "_", "-"),
  86571. t1 = this.module,
  86572. namespace = t1 == null ? null : t1._string0$_text;
  86573. t1 = this.$this;
  86574. local = t1._async_evaluate0$_environment.getFunction$2$namespace(normalizedName, namespace);
  86575. if (local != null || namespace != null)
  86576. return local;
  86577. return t1._async_evaluate0$_builtInFunctions.$index(0, normalizedName);
  86578. },
  86579. $signature: 93
  86580. };
  86581. A._EvaluateVisitor_closure47.prototype = {
  86582. call$1($arguments) {
  86583. var module, t2, callable,
  86584. t1 = J.getInterceptor$asx($arguments),
  86585. $name = t1.$index($arguments, 0).assertString$1("name");
  86586. t1 = t1.$index($arguments, 1).get$realNull();
  86587. module = t1 == null ? null : t1.assertString$1("module");
  86588. t1 = this.$this;
  86589. t2 = t1._async_evaluate0$_callableNode;
  86590. t2.toString;
  86591. callable = t1._async_evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor__closure13(t1, $name, module));
  86592. if (callable == null)
  86593. throw A.wrapException("Mixin not found: " + $name.toString$0(0));
  86594. return new A.SassMixin0(callable);
  86595. },
  86596. $signature: 241
  86597. };
  86598. A._EvaluateVisitor__closure13.prototype = {
  86599. call$0() {
  86600. var t1 = this.$this._async_evaluate0$_environment,
  86601. t2 = A.stringReplaceAllUnchecked(this.name._string0$_text, "_", "-"),
  86602. t3 = this.module;
  86603. return t1.getMixin$2$namespace(t2, t3 == null ? null : t3._string0$_text);
  86604. },
  86605. $signature: 93
  86606. };
  86607. A._EvaluateVisitor_closure48.prototype = {
  86608. call$1($arguments) {
  86609. return this.$call$body$_EvaluateVisitor_closure4($arguments);
  86610. },
  86611. $call$body$_EvaluateVisitor_closure4($arguments) {
  86612. var $async$goto = 0,
  86613. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  86614. $async$returnValue, $async$self = this, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, invocation, callableNode, t1, $function, args;
  86615. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86616. if ($async$errorCode === 1)
  86617. return A._asyncRethrow($async$result, $async$completer);
  86618. while (true)
  86619. switch ($async$goto) {
  86620. case 0:
  86621. // Function start
  86622. t1 = J.getInterceptor$asx($arguments);
  86623. $function = t1.$index($arguments, 0);
  86624. args = type$.SassArgumentList_2._as(t1.$index($arguments, 1));
  86625. t1 = $async$self.$this;
  86626. t2 = t1._async_evaluate0$_callableNode;
  86627. t2.toString;
  86628. t3 = A._setArrayType([], type$.JSArray_Expression_2);
  86629. t4 = type$.String;
  86630. t5 = type$.Expression_2;
  86631. t6 = t2.get$span(t2);
  86632. t7 = t2.get$span(t2);
  86633. args._argument_list$_wereKeywordsAccessed = true;
  86634. t8 = args._argument_list$_keywords;
  86635. if (t8.get$isEmpty(t8))
  86636. t2 = null;
  86637. else {
  86638. t9 = type$.Value_2;
  86639. t10 = A.LinkedHashMap_LinkedHashMap$_empty(t9, t9);
  86640. for (args._argument_list$_wereKeywordsAccessed = true, t8 = A.MapExtensions_get_pairs0(t8, t4, t9), t8 = t8.get$iterator(t8); t8.moveNext$0();) {
  86641. t11 = t8.get$current(t8);
  86642. t10.$indexSet(0, new A.SassString0(t11._0, false), t11._1);
  86643. }
  86644. t2 = new A.ValueExpression0(new A.SassMap0(A.ConstantMap_ConstantMap$from(t10, t9, t9)), t2.get$span(t2));
  86645. }
  86646. invocation = new A.ArgumentInvocation0(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);
  86647. $async$goto = $function instanceof A.SassString0 ? 3 : 4;
  86648. break;
  86649. case 3:
  86650. // then
  86651. A.warnForDeprecation0(string$.Passina + $function.toString$0(0) + "))", B.Deprecation_MMc);
  86652. callableNode = t1._async_evaluate0$_callableNode;
  86653. t2 = $function._string0$_text;
  86654. t3 = callableNode.get$span(callableNode);
  86655. t1 = t1.visitFunctionExpression$1(new A.FunctionExpression0(null, A.stringReplaceAllUnchecked(t2, "_", "-"), t2, invocation, t3));
  86656. $async$goto = 5;
  86657. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$1);
  86658. case 5:
  86659. // returning from await.
  86660. $async$returnValue = $async$result;
  86661. // goto return
  86662. $async$goto = 1;
  86663. break;
  86664. case 4:
  86665. // join
  86666. t2 = $function.assertFunction$1("function");
  86667. t3 = t1._async_evaluate0$_callableNode;
  86668. t3.toString;
  86669. $async$goto = 6;
  86670. return A._asyncAwait(t1._async_evaluate0$_runFunctionCallable$3(invocation, t2.callable, t3), $async$call$1);
  86671. case 6:
  86672. // returning from await.
  86673. t3 = $async$result;
  86674. $async$returnValue = t3;
  86675. // goto return
  86676. $async$goto = 1;
  86677. break;
  86678. case 1:
  86679. // return
  86680. return A._asyncReturn($async$returnValue, $async$completer);
  86681. }
  86682. });
  86683. return A._asyncStartSync($async$call$1, $async$completer);
  86684. },
  86685. $signature: 89
  86686. };
  86687. A._EvaluateVisitor_closure49.prototype = {
  86688. call$1($arguments) {
  86689. return this.$call$body$_EvaluateVisitor_closure3($arguments);
  86690. },
  86691. $call$body$_EvaluateVisitor_closure3($arguments) {
  86692. var $async$goto = 0,
  86693. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  86694. $async$self = this, withMap, t2, values, configuration, t3, t1, url;
  86695. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86696. if ($async$errorCode === 1)
  86697. return A._asyncRethrow($async$result, $async$completer);
  86698. while (true)
  86699. switch ($async$goto) {
  86700. case 0:
  86701. // Function start
  86702. t1 = J.getInterceptor$asx($arguments);
  86703. url = A.Uri_parse(t1.$index($arguments, 0).assertString$1("url")._string0$_text);
  86704. t1 = t1.$index($arguments, 1).get$realNull();
  86705. withMap = t1 == null ? null : t1.assertMap$1("with")._map0$_contents;
  86706. t1 = $async$self.$this;
  86707. t2 = t1._async_evaluate0$_callableNode;
  86708. t2.toString;
  86709. if (withMap != null) {
  86710. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue_2);
  86711. withMap.forEach$1(0, new A._EvaluateVisitor__closure11(values, t2.get$span(t2), t2));
  86712. configuration = new A.ExplicitConfiguration0(t2, values, null);
  86713. } else
  86714. configuration = B.Configuration_Map_empty_null0;
  86715. t3 = t2.get$span(t2);
  86716. $async$goto = 2;
  86717. 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);
  86718. case 2:
  86719. // returning from await.
  86720. t1._async_evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, true);
  86721. // implicit return
  86722. return A._asyncReturn(null, $async$completer);
  86723. }
  86724. });
  86725. return A._asyncStartSync($async$call$1, $async$completer);
  86726. },
  86727. $signature: 266
  86728. };
  86729. A._EvaluateVisitor__closure11.prototype = {
  86730. call$2(variable, value) {
  86731. var t1 = variable.assertString$1("with key"),
  86732. $name = A.stringReplaceAllUnchecked(t1._string0$_text, "_", "-");
  86733. t1 = this.values;
  86734. if (t1.containsKey$1($name))
  86735. throw A.wrapException("The variable $" + $name + " was configured twice.");
  86736. t1.$indexSet(0, $name, new A.ConfiguredValue0(value, this.span, this.callableNode));
  86737. },
  86738. $signature: 94
  86739. };
  86740. A._EvaluateVisitor__closure12.prototype = {
  86741. call$2(module, _) {
  86742. var t1 = this.$this;
  86743. return t1._async_evaluate0$_combineCss$2$clone(module, true).accept$1(t1);
  86744. },
  86745. $signature: 320
  86746. };
  86747. A._EvaluateVisitor_closure50.prototype = {
  86748. call$1($arguments) {
  86749. return this.$call$body$_EvaluateVisitor_closure2($arguments);
  86750. },
  86751. $call$body$_EvaluateVisitor_closure2($arguments) {
  86752. var $async$goto = 0,
  86753. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  86754. $async$self = this, callableNode, t2, t3, t4, t5, t1, mixin, args;
  86755. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86756. if ($async$errorCode === 1)
  86757. return A._asyncRethrow($async$result, $async$completer);
  86758. while (true)
  86759. switch ($async$goto) {
  86760. case 0:
  86761. // Function start
  86762. t1 = J.getInterceptor$asx($arguments);
  86763. mixin = t1.$index($arguments, 0);
  86764. args = type$.SassArgumentList_2._as(t1.$index($arguments, 1));
  86765. t1 = $async$self.$this;
  86766. callableNode = t1._async_evaluate0$_callableNode;
  86767. t2 = callableNode.get$span(callableNode);
  86768. t3 = callableNode.get$span(callableNode);
  86769. t4 = type$.Expression_2;
  86770. t5 = A.List_List$unmodifiable(B.List_empty20, t4);
  86771. t4 = A.ConstantMap_ConstantMap$from(B.Map_empty14, type$.String, t4);
  86772. $async$goto = 2;
  86773. return A._asyncAwait(t1._async_evaluate0$_applyMixin$5(mixin.assertMixin$1("mixin").callable, t1._async_evaluate0$_environment._async_environment0$_content, new A.ArgumentInvocation0(t5, t4, new A.ValueExpression0(args, t3), null, t2), callableNode, callableNode), $async$call$1);
  86774. case 2:
  86775. // returning from await.
  86776. // implicit return
  86777. return A._asyncReturn(null, $async$completer);
  86778. }
  86779. });
  86780. return A._asyncStartSync($async$call$1, $async$completer);
  86781. },
  86782. $signature: 266
  86783. };
  86784. A._EvaluateVisitor_run_closure2.prototype = {
  86785. call$0() {
  86786. var $async$goto = 0,
  86787. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet_2),
  86788. $async$returnValue, $async$self = this, module, t2, t1, _0_0, url;
  86789. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86790. if ($async$errorCode === 1)
  86791. return A._asyncRethrow($async$result, $async$completer);
  86792. while (true)
  86793. switch ($async$goto) {
  86794. case 0:
  86795. // Function start
  86796. t1 = $async$self.node;
  86797. _0_0 = t1.span.file.url;
  86798. url = null;
  86799. if (_0_0 != null) {
  86800. url = _0_0;
  86801. t2 = $async$self.$this;
  86802. t2._async_evaluate0$_activeModules.$indexSet(0, url, null);
  86803. if (!(t2._async_evaluate0$_nodeImporter != null && J.toString$0$(url) === "stdin"))
  86804. t2._async_evaluate0$_loadedUrls.add$1(0, url);
  86805. }
  86806. t2 = $async$self.$this;
  86807. $async$goto = 3;
  86808. 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);
  86809. case 3:
  86810. // returning from await.
  86811. module = $async$result;
  86812. $async$returnValue = new A._Record_2_loadedUrls_stylesheet(t2._async_evaluate0$_loadedUrls, t2._async_evaluate0$_combineCss$1(module));
  86813. // goto return
  86814. $async$goto = 1;
  86815. break;
  86816. case 1:
  86817. // return
  86818. return A._asyncReturn($async$returnValue, $async$completer);
  86819. }
  86820. });
  86821. return A._asyncStartSync($async$call$0, $async$completer);
  86822. },
  86823. $signature: 321
  86824. };
  86825. A._EvaluateVisitor_run__closure2.prototype = {
  86826. call$0() {
  86827. return this.$this._async_evaluate0$_execute$2(this.importer, this.node);
  86828. },
  86829. $signature: 322
  86830. };
  86831. A._EvaluateVisitor__loadModule_closure5.prototype = {
  86832. call$0() {
  86833. return this.callback.call$2(this._box_1.builtInModule, false);
  86834. },
  86835. $signature: 0
  86836. };
  86837. A._EvaluateVisitor__loadModule_closure6.prototype = {
  86838. call$0() {
  86839. return this.$call$body$_EvaluateVisitor__loadModule_closure0();
  86840. },
  86841. $call$body$_EvaluateVisitor__loadModule_closure0() {
  86842. var $async$goto = 0,
  86843. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  86844. $async$handler = 1, $async$currentError, $async$next = [], $async$self = this, canonicalUrl, oldInDependency, isDependency, t4, message, t1, stylesheet, importer, t2, t3, _1_0, $async$temp1;
  86845. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86846. if ($async$errorCode === 1) {
  86847. $async$currentError = $async$result;
  86848. $async$goto = $async$handler;
  86849. }
  86850. while (true)
  86851. switch ($async$goto) {
  86852. case 0:
  86853. // Function start
  86854. t1 = {};
  86855. stylesheet = null;
  86856. importer = null;
  86857. t2 = $async$self.$this;
  86858. t3 = $async$self.nodeWithSpan;
  86859. $async$goto = 2;
  86860. 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);
  86861. case 2:
  86862. // returning from await.
  86863. _1_0 = $async$result;
  86864. stylesheet = _1_0._0;
  86865. importer = _1_0._1;
  86866. isDependency = _1_0._2;
  86867. canonicalUrl = stylesheet.span.file.url;
  86868. if (canonicalUrl != null) {
  86869. t4 = t2._async_evaluate0$_activeModules;
  86870. if (t4.containsKey$1(canonicalUrl)) {
  86871. if ($async$self.namesInErrors) {
  86872. t1 = canonicalUrl;
  86873. t3 = $.$get$context();
  86874. t1.toString;
  86875. message = "Module loop: " + t3.prettyUri$1(t1) + " is already being loaded.";
  86876. } else
  86877. message = string$.Modulel;
  86878. t1 = A.NullableExtension_andThen0(t4.$index(0, canonicalUrl), new A._EvaluateVisitor__loadModule__closure5(t2, message));
  86879. throw A.wrapException(t1 == null ? t2._async_evaluate0$_exception$1(message) : t1);
  86880. } else
  86881. t4.$indexSet(0, canonicalUrl, t3);
  86882. }
  86883. t4 = t2._async_evaluate0$_modules.containsKey$1(canonicalUrl);
  86884. oldInDependency = t2._async_evaluate0$_inDependency;
  86885. t2._async_evaluate0$_inDependency = isDependency;
  86886. t1.module = null;
  86887. $async$handler = 3;
  86888. $async$temp1 = t1;
  86889. $async$goto = 6;
  86890. return A._asyncAwait(t2._async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, $async$self.configuration, $async$self.namesInErrors, t3), $async$call$0);
  86891. case 6:
  86892. // returning from await.
  86893. $async$temp1.module = $async$result;
  86894. $async$next.push(5);
  86895. // goto finally
  86896. $async$goto = 4;
  86897. break;
  86898. case 3:
  86899. // uncaught
  86900. $async$next = [1];
  86901. case 4:
  86902. // finally
  86903. $async$handler = 1;
  86904. t2._async_evaluate0$_activeModules.remove$1(0, canonicalUrl);
  86905. t2._async_evaluate0$_inDependency = oldInDependency;
  86906. // goto the next finally handler
  86907. $async$goto = $async$next.pop();
  86908. break;
  86909. case 5:
  86910. // after finally
  86911. $async$goto = 7;
  86912. 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);
  86913. case 7:
  86914. // returning from await.
  86915. // implicit return
  86916. return A._asyncReturn(null, $async$completer);
  86917. case 1:
  86918. // rethrow
  86919. return A._asyncRethrow($async$currentError, $async$completer);
  86920. }
  86921. });
  86922. return A._asyncStartSync($async$call$0, $async$completer);
  86923. },
  86924. $signature: 2
  86925. };
  86926. A._EvaluateVisitor__loadModule__closure5.prototype = {
  86927. call$1(previousLoad) {
  86928. 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));
  86929. },
  86930. $signature: 95
  86931. };
  86932. A._EvaluateVisitor__loadModule__closure6.prototype = {
  86933. call$0() {
  86934. return this.callback.call$2(this._box_0.module, this.firstLoad);
  86935. },
  86936. $signature: 0
  86937. };
  86938. A._EvaluateVisitor__execute_closure2.prototype = {
  86939. call$0() {
  86940. var $async$goto = 0,
  86941. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  86942. $async$self = this, t3, t4, t5, t6, t1, oldImporter, oldStylesheet, oldRoot, oldPreModuleComments, oldParent, oldEndOfImports, oldOutOfOrderImports, oldExtensionStore, t2, oldStyleRule, oldMediaQueries, oldDeclarationName, oldInUnknownAtRule, oldInKeyframes, oldConfiguration;
  86943. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86944. if ($async$errorCode === 1)
  86945. return A._asyncRethrow($async$result, $async$completer);
  86946. while (true)
  86947. switch ($async$goto) {
  86948. case 0:
  86949. // Function start
  86950. t1 = $async$self.$this;
  86951. oldImporter = t1._async_evaluate0$_importer;
  86952. oldStylesheet = t1._async_evaluate0$__stylesheet;
  86953. oldRoot = t1._async_evaluate0$__root;
  86954. oldPreModuleComments = t1._async_evaluate0$_preModuleComments;
  86955. oldParent = t1._async_evaluate0$__parent;
  86956. oldEndOfImports = t1._async_evaluate0$__endOfImports;
  86957. oldOutOfOrderImports = t1._async_evaluate0$_outOfOrderImports;
  86958. oldExtensionStore = t1._async_evaluate0$__extensionStore;
  86959. t2 = t1._async_evaluate0$_atRootExcludingStyleRule;
  86960. oldStyleRule = t2 ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
  86961. oldMediaQueries = t1._async_evaluate0$_mediaQueries;
  86962. oldDeclarationName = t1._async_evaluate0$_declarationName;
  86963. oldInUnknownAtRule = t1._async_evaluate0$_inUnknownAtRule;
  86964. oldInKeyframes = t1._async_evaluate0$_inKeyframes;
  86965. oldConfiguration = t1._async_evaluate0$_configuration;
  86966. t1._async_evaluate0$_importer = $async$self.importer;
  86967. t3 = t1._async_evaluate0$__stylesheet = $async$self.stylesheet;
  86968. t4 = t3.span;
  86969. t5 = t1._async_evaluate0$__parent = t1._async_evaluate0$__root = A.ModifiableCssStylesheet$0(t4);
  86970. t1._async_evaluate0$__endOfImports = 0;
  86971. t1._async_evaluate0$_outOfOrderImports = null;
  86972. t1._async_evaluate0$__extensionStore = $async$self.extensionStore;
  86973. t1._async_evaluate0$_declarationName = t1._async_evaluate0$_mediaQueries = t1._async_evaluate0$_styleRuleIgnoringAtRoot = null;
  86974. t1._async_evaluate0$_inKeyframes = t1._async_evaluate0$_atRootExcludingStyleRule = t1._async_evaluate0$_inUnknownAtRule = false;
  86975. t6 = $async$self.configuration;
  86976. if (t6 != null)
  86977. t1._async_evaluate0$_configuration = t6;
  86978. $async$goto = 2;
  86979. return A._asyncAwait(t1.visitStylesheet$1(t3), $async$call$0);
  86980. case 2:
  86981. // returning from await.
  86982. t3 = t1._async_evaluate0$_outOfOrderImports == null ? t5 : new A.CssStylesheet0(new A.UnmodifiableListView(t1._async_evaluate0$_addOutOfOrderImports$0(), type$.UnmodifiableListView_CssNode_2), t4);
  86983. $async$self.css.__late_helper$_value = t3;
  86984. $async$self.preModuleComments.__late_helper$_value = t1._async_evaluate0$_preModuleComments;
  86985. t1._async_evaluate0$_importer = oldImporter;
  86986. t1._async_evaluate0$__stylesheet = oldStylesheet;
  86987. t1._async_evaluate0$__root = oldRoot;
  86988. t1._async_evaluate0$_preModuleComments = oldPreModuleComments;
  86989. t1._async_evaluate0$__parent = oldParent;
  86990. t1._async_evaluate0$__endOfImports = oldEndOfImports;
  86991. t1._async_evaluate0$_outOfOrderImports = oldOutOfOrderImports;
  86992. t1._async_evaluate0$__extensionStore = oldExtensionStore;
  86993. t1._async_evaluate0$_styleRuleIgnoringAtRoot = oldStyleRule;
  86994. t1._async_evaluate0$_mediaQueries = oldMediaQueries;
  86995. t1._async_evaluate0$_declarationName = oldDeclarationName;
  86996. t1._async_evaluate0$_inUnknownAtRule = oldInUnknownAtRule;
  86997. t1._async_evaluate0$_atRootExcludingStyleRule = t2;
  86998. t1._async_evaluate0$_inKeyframes = oldInKeyframes;
  86999. t1._async_evaluate0$_configuration = oldConfiguration;
  87000. // implicit return
  87001. return A._asyncReturn(null, $async$completer);
  87002. }
  87003. });
  87004. return A._asyncStartSync($async$call$0, $async$completer);
  87005. },
  87006. $signature: 2
  87007. };
  87008. A._EvaluateVisitor__combineCss_closure5.prototype = {
  87009. call$1(module) {
  87010. return module.get$transitivelyContainsCss();
  87011. },
  87012. $signature: 114
  87013. };
  87014. A._EvaluateVisitor__combineCss_closure6.prototype = {
  87015. call$1(target) {
  87016. return !this.selectors.contains$1(0, target);
  87017. },
  87018. $signature: 15
  87019. };
  87020. A._EvaluateVisitor__combineCss_visitModule2.prototype = {
  87021. call$1(module) {
  87022. var t1, t2, t3, t4, _i, upstream, _1_0, statements, index, _this = this;
  87023. if (!_this.seen.add$1(0, module))
  87024. return;
  87025. if (_this.clone)
  87026. module = module.cloneCss$0();
  87027. 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) {
  87028. upstream = t1[_i];
  87029. if (upstream.get$transitivelyContainsCss()) {
  87030. _1_0 = module.get$preModuleComments().$index(0, upstream);
  87031. if (_1_0 != null)
  87032. B.JSArray_methods.addAll$1(t3.length === 0 ? t4 : t3, _1_0);
  87033. _this.call$1(upstream);
  87034. }
  87035. }
  87036. _this.sorted.addFirst$1(module);
  87037. t1 = module.get$css(module);
  87038. statements = t1.get$children(t1);
  87039. index = _this.$this._async_evaluate0$_indexAfterImports$1(statements);
  87040. t1 = J.getInterceptor$ax(statements);
  87041. B.JSArray_methods.addAll$1(t4, t1.getRange$2(statements, 0, index));
  87042. B.JSArray_methods.addAll$1(t3, t1.getRange$2(statements, index, t1.get$length(statements)));
  87043. },
  87044. $signature: 324
  87045. };
  87046. A._EvaluateVisitor__extendModules_closure5.prototype = {
  87047. call$1(target) {
  87048. return !this.originalSelectors.contains$1(0, target);
  87049. },
  87050. $signature: 15
  87051. };
  87052. A._EvaluateVisitor__extendModules_closure6.prototype = {
  87053. call$0() {
  87054. return A._setArrayType([], type$.JSArray_ExtensionStore_2);
  87055. },
  87056. $signature: 234
  87057. };
  87058. A._EvaluateVisitor_visitAtRootRule_closure5.prototype = {
  87059. call$0() {
  87060. var $async$goto = 0,
  87061. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  87062. $async$self = this, t1, t2, t3, _i;
  87063. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87064. if ($async$errorCode === 1)
  87065. return A._asyncRethrow($async$result, $async$completer);
  87066. while (true)
  87067. switch ($async$goto) {
  87068. case 0:
  87069. // Function start
  87070. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  87071. case 2:
  87072. // for condition
  87073. if (!(_i < t2)) {
  87074. // goto after for
  87075. $async$goto = 4;
  87076. break;
  87077. }
  87078. $async$goto = 5;
  87079. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  87080. case 5:
  87081. // returning from await.
  87082. case 3:
  87083. // for update
  87084. ++_i;
  87085. // goto for condition
  87086. $async$goto = 2;
  87087. break;
  87088. case 4:
  87089. // after for
  87090. // implicit return
  87091. return A._asyncReturn(null, $async$completer);
  87092. }
  87093. });
  87094. return A._asyncStartSync($async$call$0, $async$completer);
  87095. },
  87096. $signature: 2
  87097. };
  87098. A._EvaluateVisitor_visitAtRootRule_closure6.prototype = {
  87099. call$0() {
  87100. var $async$goto = 0,
  87101. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  87102. $async$self = this, t1, t2, t3, _i;
  87103. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87104. if ($async$errorCode === 1)
  87105. return A._asyncRethrow($async$result, $async$completer);
  87106. while (true)
  87107. switch ($async$goto) {
  87108. case 0:
  87109. // Function start
  87110. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  87111. case 2:
  87112. // for condition
  87113. if (!(_i < t2)) {
  87114. // goto after for
  87115. $async$goto = 4;
  87116. break;
  87117. }
  87118. $async$goto = 5;
  87119. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  87120. case 5:
  87121. // returning from await.
  87122. case 3:
  87123. // for update
  87124. ++_i;
  87125. // goto for condition
  87126. $async$goto = 2;
  87127. break;
  87128. case 4:
  87129. // after for
  87130. // implicit return
  87131. return A._asyncReturn(null, $async$completer);
  87132. }
  87133. });
  87134. return A._asyncStartSync($async$call$0, $async$completer);
  87135. },
  87136. $signature: 24
  87137. };
  87138. A._EvaluateVisitor__scopeForAtRoot_closure17.prototype = {
  87139. call$1(callback) {
  87140. var $async$goto = 0,
  87141. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  87142. $async$self = this, t1, t2;
  87143. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87144. if ($async$errorCode === 1)
  87145. return A._asyncRethrow($async$result, $async$completer);
  87146. while (true)
  87147. switch ($async$goto) {
  87148. case 0:
  87149. // Function start
  87150. t1 = $async$self.$this;
  87151. t2 = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__parent, "__parent");
  87152. t1._async_evaluate0$__parent = $async$self.newParent;
  87153. $async$goto = 2;
  87154. return A._asyncAwait(t1._async_evaluate0$_environment.scope$1$2$when(callback, $async$self.node.hasDeclarations, type$.void), $async$call$1);
  87155. case 2:
  87156. // returning from await.
  87157. t1._async_evaluate0$__parent = t2;
  87158. // implicit return
  87159. return A._asyncReturn(null, $async$completer);
  87160. }
  87161. });
  87162. return A._asyncStartSync($async$call$1, $async$completer);
  87163. },
  87164. $signature: 37
  87165. };
  87166. A._EvaluateVisitor__scopeForAtRoot_closure18.prototype = {
  87167. call$1(callback) {
  87168. var $async$goto = 0,
  87169. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  87170. $async$self = this, t1, oldAtRootExcludingStyleRule;
  87171. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87172. if ($async$errorCode === 1)
  87173. return A._asyncRethrow($async$result, $async$completer);
  87174. while (true)
  87175. switch ($async$goto) {
  87176. case 0:
  87177. // Function start
  87178. t1 = $async$self.$this;
  87179. oldAtRootExcludingStyleRule = t1._async_evaluate0$_atRootExcludingStyleRule;
  87180. t1._async_evaluate0$_atRootExcludingStyleRule = true;
  87181. $async$goto = 2;
  87182. return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
  87183. case 2:
  87184. // returning from await.
  87185. t1._async_evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  87186. // implicit return
  87187. return A._asyncReturn(null, $async$completer);
  87188. }
  87189. });
  87190. return A._asyncStartSync($async$call$1, $async$completer);
  87191. },
  87192. $signature: 37
  87193. };
  87194. A._EvaluateVisitor__scopeForAtRoot_closure19.prototype = {
  87195. call$1(callback) {
  87196. return this.$this._async_evaluate0$_withMediaQueries$1$3(null, null, new A._EvaluateVisitor__scopeForAtRoot__closure2(this.innerScope, callback), type$.Null);
  87197. },
  87198. $signature: 37
  87199. };
  87200. A._EvaluateVisitor__scopeForAtRoot__closure2.prototype = {
  87201. call$0() {
  87202. return this.innerScope.call$1(this.callback);
  87203. },
  87204. $signature: 2
  87205. };
  87206. A._EvaluateVisitor__scopeForAtRoot_closure20.prototype = {
  87207. call$1(callback) {
  87208. var $async$goto = 0,
  87209. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  87210. $async$self = this, t1, wasInKeyframes;
  87211. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87212. if ($async$errorCode === 1)
  87213. return A._asyncRethrow($async$result, $async$completer);
  87214. while (true)
  87215. switch ($async$goto) {
  87216. case 0:
  87217. // Function start
  87218. t1 = $async$self.$this;
  87219. wasInKeyframes = t1._async_evaluate0$_inKeyframes;
  87220. t1._async_evaluate0$_inKeyframes = false;
  87221. $async$goto = 2;
  87222. return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
  87223. case 2:
  87224. // returning from await.
  87225. t1._async_evaluate0$_inKeyframes = wasInKeyframes;
  87226. // implicit return
  87227. return A._asyncReturn(null, $async$completer);
  87228. }
  87229. });
  87230. return A._asyncStartSync($async$call$1, $async$completer);
  87231. },
  87232. $signature: 37
  87233. };
  87234. A._EvaluateVisitor__scopeForAtRoot_closure21.prototype = {
  87235. call$1($parent) {
  87236. return $parent instanceof A.ModifiableCssAtRule0;
  87237. },
  87238. $signature: 232
  87239. };
  87240. A._EvaluateVisitor__scopeForAtRoot_closure22.prototype = {
  87241. call$1(callback) {
  87242. var $async$goto = 0,
  87243. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  87244. $async$self = this, t1, wasInUnknownAtRule;
  87245. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87246. if ($async$errorCode === 1)
  87247. return A._asyncRethrow($async$result, $async$completer);
  87248. while (true)
  87249. switch ($async$goto) {
  87250. case 0:
  87251. // Function start
  87252. t1 = $async$self.$this;
  87253. wasInUnknownAtRule = t1._async_evaluate0$_inUnknownAtRule;
  87254. t1._async_evaluate0$_inUnknownAtRule = false;
  87255. $async$goto = 2;
  87256. return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
  87257. case 2:
  87258. // returning from await.
  87259. t1._async_evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
  87260. // implicit return
  87261. return A._asyncReturn(null, $async$completer);
  87262. }
  87263. });
  87264. return A._asyncStartSync($async$call$1, $async$completer);
  87265. },
  87266. $signature: 37
  87267. };
  87268. A._EvaluateVisitor_visitContentRule_closure2.prototype = {
  87269. call$0() {
  87270. var $async$goto = 0,
  87271. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  87272. $async$returnValue, $async$self = this, t1, t2, t3, _i;
  87273. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87274. if ($async$errorCode === 1)
  87275. return A._asyncRethrow($async$result, $async$completer);
  87276. while (true)
  87277. switch ($async$goto) {
  87278. case 0:
  87279. // Function start
  87280. t1 = $async$self.content.declaration.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  87281. case 3:
  87282. // for condition
  87283. if (!(_i < t2)) {
  87284. // goto after for
  87285. $async$goto = 5;
  87286. break;
  87287. }
  87288. $async$goto = 6;
  87289. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  87290. case 6:
  87291. // returning from await.
  87292. case 4:
  87293. // for update
  87294. ++_i;
  87295. // goto for condition
  87296. $async$goto = 3;
  87297. break;
  87298. case 5:
  87299. // after for
  87300. $async$returnValue = null;
  87301. // goto return
  87302. $async$goto = 1;
  87303. break;
  87304. case 1:
  87305. // return
  87306. return A._asyncReturn($async$returnValue, $async$completer);
  87307. }
  87308. });
  87309. return A._asyncStartSync($async$call$0, $async$completer);
  87310. },
  87311. $signature: 2
  87312. };
  87313. A._EvaluateVisitor_visitDeclaration_closure2.prototype = {
  87314. call$0() {
  87315. var $async$goto = 0,
  87316. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  87317. $async$self = this, t1, t2, t3, _i;
  87318. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87319. if ($async$errorCode === 1)
  87320. return A._asyncRethrow($async$result, $async$completer);
  87321. while (true)
  87322. switch ($async$goto) {
  87323. case 0:
  87324. // Function start
  87325. t1 = $async$self._box_0.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  87326. case 2:
  87327. // for condition
  87328. if (!(_i < t2)) {
  87329. // goto after for
  87330. $async$goto = 4;
  87331. break;
  87332. }
  87333. $async$goto = 5;
  87334. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  87335. case 5:
  87336. // returning from await.
  87337. case 3:
  87338. // for update
  87339. ++_i;
  87340. // goto for condition
  87341. $async$goto = 2;
  87342. break;
  87343. case 4:
  87344. // after for
  87345. // implicit return
  87346. return A._asyncReturn(null, $async$completer);
  87347. }
  87348. });
  87349. return A._asyncStartSync($async$call$0, $async$completer);
  87350. },
  87351. $signature: 2
  87352. };
  87353. A._EvaluateVisitor_visitEachRule_closure8.prototype = {
  87354. call$1(value) {
  87355. var t1 = this.$this,
  87356. t2 = this.nodeWithSpan;
  87357. return t1._async_evaluate0$_environment.setLocalVariable$3(this._box_0.variable, t1._async_evaluate0$_withoutSlash$2(value, t2), t2);
  87358. },
  87359. $signature: 63
  87360. };
  87361. A._EvaluateVisitor_visitEachRule_closure9.prototype = {
  87362. call$1(value) {
  87363. return this.$this._async_evaluate0$_setMultipleVariables$3(this._box_0.variables, value, this.nodeWithSpan);
  87364. },
  87365. $signature: 63
  87366. };
  87367. A._EvaluateVisitor_visitEachRule_closure10.prototype = {
  87368. call$0() {
  87369. var _this = this,
  87370. t1 = _this.$this;
  87371. return t1._async_evaluate0$_handleReturn$2(_this.list.get$asList(), new A._EvaluateVisitor_visitEachRule__closure2(t1, _this.setVariables, _this.node));
  87372. },
  87373. $signature: 75
  87374. };
  87375. A._EvaluateVisitor_visitEachRule__closure2.prototype = {
  87376. call$1(element) {
  87377. var t1;
  87378. this.setVariables.call$1(element);
  87379. t1 = this.$this;
  87380. return t1._async_evaluate0$_handleReturn$2(this.node.children, new A._EvaluateVisitor_visitEachRule___closure2(t1));
  87381. },
  87382. $signature: 329
  87383. };
  87384. A._EvaluateVisitor_visitEachRule___closure2.prototype = {
  87385. call$1(child) {
  87386. return child.accept$1(this.$this);
  87387. },
  87388. $signature: 98
  87389. };
  87390. A._EvaluateVisitor_visitAtRule_closure8.prototype = {
  87391. call$1(value) {
  87392. return this.$this._async_evaluate0$_interpolationToValue$3$trim$warnForColor(value, true, true);
  87393. },
  87394. $signature: 331
  87395. };
  87396. A._EvaluateVisitor_visitAtRule_closure9.prototype = {
  87397. call$0() {
  87398. var $async$goto = 0,
  87399. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  87400. $async$self = this, t2, t3, _i, t1, styleRule;
  87401. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87402. if ($async$errorCode === 1)
  87403. return A._asyncRethrow($async$result, $async$completer);
  87404. while (true)
  87405. switch ($async$goto) {
  87406. case 0:
  87407. // Function start
  87408. t1 = $async$self.$this;
  87409. styleRule = t1._async_evaluate0$_atRootExcludingStyleRule ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
  87410. $async$goto = styleRule == null || t1._async_evaluate0$_inKeyframes || J.$eq$($async$self.name.value, "font-face") ? 2 : 4;
  87411. break;
  87412. case 2:
  87413. // then
  87414. t2 = $async$self.children, t3 = t2.length, _i = 0;
  87415. case 5:
  87416. // for condition
  87417. if (!(_i < t3)) {
  87418. // goto after for
  87419. $async$goto = 7;
  87420. break;
  87421. }
  87422. $async$goto = 8;
  87423. return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
  87424. case 8:
  87425. // returning from await.
  87426. case 6:
  87427. // for update
  87428. ++_i;
  87429. // goto for condition
  87430. $async$goto = 5;
  87431. break;
  87432. case 7:
  87433. // after for
  87434. // goto join
  87435. $async$goto = 3;
  87436. break;
  87437. case 4:
  87438. // else
  87439. $async$goto = 9;
  87440. 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);
  87441. case 9:
  87442. // returning from await.
  87443. case 3:
  87444. // join
  87445. // implicit return
  87446. return A._asyncReturn(null, $async$completer);
  87447. }
  87448. });
  87449. return A._asyncStartSync($async$call$0, $async$completer);
  87450. },
  87451. $signature: 2
  87452. };
  87453. A._EvaluateVisitor_visitAtRule__closure2.prototype = {
  87454. call$0() {
  87455. var $async$goto = 0,
  87456. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  87457. $async$self = this, t1, t2, t3, _i;
  87458. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87459. if ($async$errorCode === 1)
  87460. return A._asyncRethrow($async$result, $async$completer);
  87461. while (true)
  87462. switch ($async$goto) {
  87463. case 0:
  87464. // Function start
  87465. t1 = $async$self.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  87466. case 2:
  87467. // for condition
  87468. if (!(_i < t2)) {
  87469. // goto after for
  87470. $async$goto = 4;
  87471. break;
  87472. }
  87473. $async$goto = 5;
  87474. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  87475. case 5:
  87476. // returning from await.
  87477. case 3:
  87478. // for update
  87479. ++_i;
  87480. // goto for condition
  87481. $async$goto = 2;
  87482. break;
  87483. case 4:
  87484. // after for
  87485. // implicit return
  87486. return A._asyncReturn(null, $async$completer);
  87487. }
  87488. });
  87489. return A._asyncStartSync($async$call$0, $async$completer);
  87490. },
  87491. $signature: 2
  87492. };
  87493. A._EvaluateVisitor_visitAtRule_closure10.prototype = {
  87494. call$1(node) {
  87495. return node instanceof A.ModifiableCssStyleRule0;
  87496. },
  87497. $signature: 8
  87498. };
  87499. A._EvaluateVisitor_visitForRule_closure14.prototype = {
  87500. call$0() {
  87501. var $async$goto = 0,
  87502. $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber_2),
  87503. $async$returnValue, $async$self = this;
  87504. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87505. if ($async$errorCode === 1)
  87506. return A._asyncRethrow($async$result, $async$completer);
  87507. while (true)
  87508. switch ($async$goto) {
  87509. case 0:
  87510. // Function start
  87511. $async$goto = 3;
  87512. return A._asyncAwait($async$self.node.from.accept$1($async$self.$this), $async$call$0);
  87513. case 3:
  87514. // returning from await.
  87515. $async$returnValue = $async$result.assertNumber$0();
  87516. // goto return
  87517. $async$goto = 1;
  87518. break;
  87519. case 1:
  87520. // return
  87521. return A._asyncReturn($async$returnValue, $async$completer);
  87522. }
  87523. });
  87524. return A._asyncStartSync($async$call$0, $async$completer);
  87525. },
  87526. $signature: 229
  87527. };
  87528. A._EvaluateVisitor_visitForRule_closure15.prototype = {
  87529. call$0() {
  87530. var $async$goto = 0,
  87531. $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber_2),
  87532. $async$returnValue, $async$self = this;
  87533. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87534. if ($async$errorCode === 1)
  87535. return A._asyncRethrow($async$result, $async$completer);
  87536. while (true)
  87537. switch ($async$goto) {
  87538. case 0:
  87539. // Function start
  87540. $async$goto = 3;
  87541. return A._asyncAwait($async$self.node.to.accept$1($async$self.$this), $async$call$0);
  87542. case 3:
  87543. // returning from await.
  87544. $async$returnValue = $async$result.assertNumber$0();
  87545. // goto return
  87546. $async$goto = 1;
  87547. break;
  87548. case 1:
  87549. // return
  87550. return A._asyncReturn($async$returnValue, $async$completer);
  87551. }
  87552. });
  87553. return A._asyncStartSync($async$call$0, $async$completer);
  87554. },
  87555. $signature: 229
  87556. };
  87557. A._EvaluateVisitor_visitForRule_closure16.prototype = {
  87558. call$0() {
  87559. return this.fromNumber.assertInt$0();
  87560. },
  87561. $signature: 10
  87562. };
  87563. A._EvaluateVisitor_visitForRule_closure17.prototype = {
  87564. call$0() {
  87565. var t1 = this.fromNumber;
  87566. return this.toNumber.coerce$2(t1.get$numeratorUnits(t1), t1.get$denominatorUnits(t1)).assertInt$0();
  87567. },
  87568. $signature: 10
  87569. };
  87570. A._EvaluateVisitor_visitForRule_closure18.prototype = {
  87571. call$0() {
  87572. var $async$goto = 0,
  87573. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  87574. $async$returnValue, $async$self = this, i, t3, t4, t5, t6, t7, t8, _0_0, t1, t2, nodeWithSpan;
  87575. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87576. if ($async$errorCode === 1)
  87577. return A._asyncRethrow($async$result, $async$completer);
  87578. while (true)
  87579. switch ($async$goto) {
  87580. case 0:
  87581. // Function start
  87582. t1 = $async$self.$this;
  87583. t2 = $async$self.node;
  87584. nodeWithSpan = t1._async_evaluate0$_expressionNode$1(t2.from);
  87585. i = $async$self.from, t3 = $async$self._box_0, t4 = $async$self.direction, t5 = t2.variable, t6 = $async$self.fromNumber, t2 = t2.children;
  87586. case 3:
  87587. // for condition
  87588. if (!(i !== t3.to)) {
  87589. // goto after for
  87590. $async$goto = 5;
  87591. break;
  87592. }
  87593. t7 = t1._async_evaluate0$_environment;
  87594. t8 = t6.get$numeratorUnits(t6);
  87595. t7.setLocalVariable$3(t5, A.SassNumber_SassNumber$withUnits0(i, t6.get$denominatorUnits(t6), t8), nodeWithSpan);
  87596. $async$goto = 6;
  87597. return A._asyncAwait(t1._async_evaluate0$_handleReturn$2(t2, new A._EvaluateVisitor_visitForRule__closure2(t1)), $async$call$0);
  87598. case 6:
  87599. // returning from await.
  87600. _0_0 = $async$result;
  87601. if (_0_0 != null) {
  87602. $async$returnValue = _0_0;
  87603. // goto return
  87604. $async$goto = 1;
  87605. break;
  87606. }
  87607. case 4:
  87608. // for update
  87609. i += t4;
  87610. // goto for condition
  87611. $async$goto = 3;
  87612. break;
  87613. case 5:
  87614. // after for
  87615. $async$returnValue = null;
  87616. // goto return
  87617. $async$goto = 1;
  87618. break;
  87619. case 1:
  87620. // return
  87621. return A._asyncReturn($async$returnValue, $async$completer);
  87622. }
  87623. });
  87624. return A._asyncStartSync($async$call$0, $async$completer);
  87625. },
  87626. $signature: 75
  87627. };
  87628. A._EvaluateVisitor_visitForRule__closure2.prototype = {
  87629. call$1(child) {
  87630. return child.accept$1(this.$this);
  87631. },
  87632. $signature: 98
  87633. };
  87634. A._EvaluateVisitor_visitForwardRule_closure5.prototype = {
  87635. call$2(module, firstLoad) {
  87636. if (firstLoad)
  87637. this.$this._async_evaluate0$_registerCommentsForModule$1(module);
  87638. this.$this._async_evaluate0$_environment.forwardModule$2(module, this.node);
  87639. },
  87640. $signature: 109
  87641. };
  87642. A._EvaluateVisitor_visitForwardRule_closure6.prototype = {
  87643. call$2(module, firstLoad) {
  87644. if (firstLoad)
  87645. this.$this._async_evaluate0$_registerCommentsForModule$1(module);
  87646. this.$this._async_evaluate0$_environment.forwardModule$2(module, this.node);
  87647. },
  87648. $signature: 109
  87649. };
  87650. A._EvaluateVisitor__registerCommentsForModule_closure2.prototype = {
  87651. call$0() {
  87652. return A._setArrayType([], type$.JSArray_CssComment_2);
  87653. },
  87654. $signature: 228
  87655. };
  87656. A._EvaluateVisitor_visitIfRule_closure2.prototype = {
  87657. call$1(clause) {
  87658. var t1 = this.$this;
  87659. return t1._async_evaluate0$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitIfRule__closure2(t1, clause), true, clause.hasDeclarations, type$.nullable_Value_2);
  87660. },
  87661. $signature: 336
  87662. };
  87663. A._EvaluateVisitor_visitIfRule__closure2.prototype = {
  87664. call$0() {
  87665. var t1 = this.$this;
  87666. return t1._async_evaluate0$_handleReturn$2(this.clause.children, new A._EvaluateVisitor_visitIfRule___closure2(t1));
  87667. },
  87668. $signature: 75
  87669. };
  87670. A._EvaluateVisitor_visitIfRule___closure2.prototype = {
  87671. call$1(child) {
  87672. return child.accept$1(this.$this);
  87673. },
  87674. $signature: 98
  87675. };
  87676. A._EvaluateVisitor__visitDynamicImport_closure2.prototype = {
  87677. call$0() {
  87678. return this.$call$body$_EvaluateVisitor__visitDynamicImport_closure0();
  87679. },
  87680. $call$body$_EvaluateVisitor__visitDynamicImport_closure0() {
  87681. var $async$goto = 0,
  87682. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  87683. $async$returnValue, $async$self = this, t1, t2, _0_0, stylesheet, importer, isDependency, url, t3, oldImporter, oldInDependency, loadsUserDefinedModules, children, t4, t5, t6, t7, t8, t9, t10, environment, module, visitor, _box_0;
  87684. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87685. if ($async$errorCode === 1)
  87686. return A._asyncRethrow($async$result, $async$completer);
  87687. while (true)
  87688. switch ($async$goto) {
  87689. case 0:
  87690. // Function start
  87691. _box_0 = {};
  87692. _box_0.isDependency = _box_0.importer = _box_0.stylesheet = null;
  87693. t1 = $async$self.$this;
  87694. t2 = $async$self.$import;
  87695. $async$goto = 3;
  87696. return A._asyncAwait(t1._async_evaluate0$_loadStylesheet$3$forImport(t2.urlString, t2.span, true), $async$call$0);
  87697. case 3:
  87698. // returning from await.
  87699. _0_0 = $async$result;
  87700. stylesheet = _box_0.stylesheet = _0_0._0;
  87701. importer = _0_0._1;
  87702. _box_0.importer = importer;
  87703. isDependency = _0_0._2;
  87704. _box_0.isDependency = isDependency;
  87705. url = stylesheet.span.file.url;
  87706. if (url != null) {
  87707. t3 = t1._async_evaluate0$_activeModules;
  87708. if (t3.containsKey$1(url)) {
  87709. t2 = A.NullableExtension_andThen0(t3.$index(0, url), new A._EvaluateVisitor__visitDynamicImport__closure11(t1));
  87710. throw A.wrapException(t2 == null ? t1._async_evaluate0$_exception$1("This file is already being loaded.") : t2);
  87711. }
  87712. t3.$indexSet(0, url, t2);
  87713. }
  87714. t2 = stylesheet._stylesheet1$_uses;
  87715. t3 = type$.UnmodifiableListView_UseRule_2;
  87716. $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;
  87717. break;
  87718. case 4:
  87719. // then
  87720. oldImporter = t1._async_evaluate0$_importer;
  87721. t2 = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__stylesheet, "_stylesheet");
  87722. oldInDependency = t1._async_evaluate0$_inDependency;
  87723. t1._async_evaluate0$_importer = importer;
  87724. t1._async_evaluate0$__stylesheet = stylesheet;
  87725. t1._async_evaluate0$_inDependency = isDependency;
  87726. $async$goto = 6;
  87727. return A._asyncAwait(t1.visitStylesheet$1(stylesheet), $async$call$0);
  87728. case 6:
  87729. // returning from await.
  87730. t1._async_evaluate0$_importer = oldImporter;
  87731. t1._async_evaluate0$__stylesheet = t2;
  87732. t1._async_evaluate0$_inDependency = oldInDependency;
  87733. t1._async_evaluate0$_activeModules.remove$1(0, url);
  87734. // goto return
  87735. $async$goto = 1;
  87736. break;
  87737. case 5:
  87738. // join
  87739. t2 = new A.UnmodifiableListView(t2, t3);
  87740. if (!t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure12())) {
  87741. t2 = new A.UnmodifiableListView(stylesheet._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2);
  87742. loadsUserDefinedModules = t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure13());
  87743. } else
  87744. loadsUserDefinedModules = true;
  87745. children = A._Cell$();
  87746. t2 = t1._async_evaluate0$_environment;
  87747. t3 = type$.String;
  87748. t4 = type$.Module_AsyncCallable_2;
  87749. t5 = type$.AstNode_2;
  87750. t6 = A._setArrayType([], type$.JSArray_Module_AsyncCallable_2);
  87751. t7 = t2._async_environment0$_variables;
  87752. t7 = A._setArrayType(t7.slice(0), A._arrayInstanceType(t7));
  87753. t8 = t2._async_environment0$_variableNodes;
  87754. t8 = A._setArrayType(t8.slice(0), A._arrayInstanceType(t8));
  87755. t9 = t2._async_environment0$_functions;
  87756. t9 = A._setArrayType(t9.slice(0), A._arrayInstanceType(t9));
  87757. t10 = t2._async_environment0$_mixins;
  87758. t10 = A._setArrayType(t10.slice(0), A._arrayInstanceType(t10));
  87759. 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);
  87760. $async$goto = 7;
  87761. 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);
  87762. case 7:
  87763. // returning from await.
  87764. module = environment.toDummyModule$0();
  87765. t1._async_evaluate0$_environment.importForwards$1(module);
  87766. $async$goto = loadsUserDefinedModules ? 8 : 9;
  87767. break;
  87768. case 8:
  87769. // then
  87770. $async$goto = module.transitivelyContainsCss ? 10 : 11;
  87771. break;
  87772. case 10:
  87773. // then
  87774. $async$goto = 12;
  87775. return A._asyncAwait(t1._async_evaluate0$_combineCss$2$clone(module, module.transitivelyContainsExtensions).accept$1(t1), $async$call$0);
  87776. case 12:
  87777. // returning from await.
  87778. case 11:
  87779. // join
  87780. visitor = new A._ImportedCssVisitor2(t1);
  87781. for (t2 = J.get$iterator$ax(children._readLocal$0()); t2.moveNext$0();)
  87782. t2.get$current(t2).accept$1(visitor);
  87783. case 9:
  87784. // join
  87785. t1._async_evaluate0$_activeModules.remove$1(0, url);
  87786. case 1:
  87787. // return
  87788. return A._asyncReturn($async$returnValue, $async$completer);
  87789. }
  87790. });
  87791. return A._asyncStartSync($async$call$0, $async$completer);
  87792. },
  87793. $signature: 24
  87794. };
  87795. A._EvaluateVisitor__visitDynamicImport__closure11.prototype = {
  87796. call$1(previousLoad) {
  87797. 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));
  87798. },
  87799. $signature: 95
  87800. };
  87801. A._EvaluateVisitor__visitDynamicImport__closure12.prototype = {
  87802. call$1(rule) {
  87803. return rule.url.get$scheme() !== "sass";
  87804. },
  87805. $signature: 227
  87806. };
  87807. A._EvaluateVisitor__visitDynamicImport__closure13.prototype = {
  87808. call$1(rule) {
  87809. return rule.url.get$scheme() !== "sass";
  87810. },
  87811. $signature: 226
  87812. };
  87813. A._EvaluateVisitor__visitDynamicImport__closure14.prototype = {
  87814. call$0() {
  87815. var $async$goto = 0,
  87816. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  87817. $async$self = this, t7, t8, t1, oldImporter, t2, t3, t4, t5, oldOutOfOrderImports, oldConfiguration, oldInDependency, t6;
  87818. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87819. if ($async$errorCode === 1)
  87820. return A._asyncRethrow($async$result, $async$completer);
  87821. while (true)
  87822. switch ($async$goto) {
  87823. case 0:
  87824. // Function start
  87825. t1 = $async$self.$this;
  87826. oldImporter = t1._async_evaluate0$_importer;
  87827. t2 = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__stylesheet, "_stylesheet");
  87828. t3 = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__root, "_root");
  87829. t4 = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__parent, "__parent");
  87830. t5 = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__endOfImports, "_endOfImports");
  87831. oldOutOfOrderImports = t1._async_evaluate0$_outOfOrderImports;
  87832. oldConfiguration = t1._async_evaluate0$_configuration;
  87833. oldInDependency = t1._async_evaluate0$_inDependency;
  87834. t6 = $async$self._box_0;
  87835. t1._async_evaluate0$_importer = t6.importer;
  87836. t7 = t6.stylesheet;
  87837. t1._async_evaluate0$__stylesheet = t7;
  87838. t8 = $async$self.loadsUserDefinedModules;
  87839. if (t8) {
  87840. t7 = A.ModifiableCssStylesheet$0(t7.span);
  87841. t1._async_evaluate0$__root = t7;
  87842. t1._async_evaluate0$__parent = t1._async_evaluate0$_assertInModule$2(t7, "_root");
  87843. t1._async_evaluate0$__endOfImports = 0;
  87844. t1._async_evaluate0$_outOfOrderImports = null;
  87845. }
  87846. t1._async_evaluate0$_inDependency = t6.isDependency;
  87847. t7 = new A.UnmodifiableListView(t6.stylesheet._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2);
  87848. if (!t7.get$isEmpty(t7))
  87849. t1._async_evaluate0$_configuration = $async$self.environment.toImplicitConfiguration$0();
  87850. $async$goto = 2;
  87851. return A._asyncAwait(t1.visitStylesheet$1(t6.stylesheet), $async$call$0);
  87852. case 2:
  87853. // returning from await.
  87854. t6 = t8 ? t1._async_evaluate0$_addOutOfOrderImports$0() : A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  87855. $async$self.children.__late_helper$_value = t6;
  87856. t1._async_evaluate0$_importer = oldImporter;
  87857. t1._async_evaluate0$__stylesheet = t2;
  87858. if (t8) {
  87859. t1._async_evaluate0$__root = t3;
  87860. t1._async_evaluate0$__parent = t4;
  87861. t1._async_evaluate0$__endOfImports = t5;
  87862. t1._async_evaluate0$_outOfOrderImports = oldOutOfOrderImports;
  87863. }
  87864. t1._async_evaluate0$_configuration = oldConfiguration;
  87865. t1._async_evaluate0$_inDependency = oldInDependency;
  87866. // implicit return
  87867. return A._asyncReturn(null, $async$completer);
  87868. }
  87869. });
  87870. return A._asyncStartSync($async$call$0, $async$completer);
  87871. },
  87872. $signature: 2
  87873. };
  87874. A._EvaluateVisitor__applyMixin_closure5.prototype = {
  87875. call$0() {
  87876. var $async$goto = 0,
  87877. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  87878. $async$self = this, t1;
  87879. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87880. if ($async$errorCode === 1)
  87881. return A._asyncRethrow($async$result, $async$completer);
  87882. while (true)
  87883. switch ($async$goto) {
  87884. case 0:
  87885. // Function start
  87886. t1 = $async$self.$this;
  87887. $async$goto = 2;
  87888. 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);
  87889. case 2:
  87890. // returning from await.
  87891. // implicit return
  87892. return A._asyncReturn(null, $async$completer);
  87893. }
  87894. });
  87895. return A._asyncStartSync($async$call$0, $async$completer);
  87896. },
  87897. $signature: 24
  87898. };
  87899. A._EvaluateVisitor__applyMixin__closure6.prototype = {
  87900. call$0() {
  87901. var $async$goto = 0,
  87902. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  87903. $async$self = this;
  87904. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87905. if ($async$errorCode === 1)
  87906. return A._asyncRethrow($async$result, $async$completer);
  87907. while (true)
  87908. switch ($async$goto) {
  87909. case 0:
  87910. // Function start
  87911. $async$goto = 2;
  87912. return A._asyncAwait($async$self.$this._async_evaluate0$_runBuiltInCallable$3($async$self.$arguments, $async$self.mixin, $async$self.nodeWithSpanWithoutContent), $async$call$0);
  87913. case 2:
  87914. // returning from await.
  87915. // implicit return
  87916. return A._asyncReturn(null, $async$completer);
  87917. }
  87918. });
  87919. return A._asyncStartSync($async$call$0, $async$completer);
  87920. },
  87921. $signature: 24
  87922. };
  87923. A._EvaluateVisitor__applyMixin_closure6.prototype = {
  87924. call$0() {
  87925. var $async$goto = 0,
  87926. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  87927. $async$self = this, t1;
  87928. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87929. if ($async$errorCode === 1)
  87930. return A._asyncRethrow($async$result, $async$completer);
  87931. while (true)
  87932. switch ($async$goto) {
  87933. case 0:
  87934. // Function start
  87935. t1 = $async$self.$this;
  87936. $async$goto = 2;
  87937. 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);
  87938. case 2:
  87939. // returning from await.
  87940. // implicit return
  87941. return A._asyncReturn(null, $async$completer);
  87942. }
  87943. });
  87944. return A._asyncStartSync($async$call$0, $async$completer);
  87945. },
  87946. $signature: 2
  87947. };
  87948. A._EvaluateVisitor__applyMixin__closure5.prototype = {
  87949. call$0() {
  87950. var $async$goto = 0,
  87951. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  87952. $async$self = this, t1;
  87953. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87954. if ($async$errorCode === 1)
  87955. return A._asyncRethrow($async$result, $async$completer);
  87956. while (true)
  87957. switch ($async$goto) {
  87958. case 0:
  87959. // Function start
  87960. t1 = $async$self.$this;
  87961. $async$goto = 2;
  87962. return A._asyncAwait(t1._async_evaluate0$_environment.asMixin$1(new A._EvaluateVisitor__applyMixin___closure2(t1, $async$self.mixin, $async$self.nodeWithSpanWithoutContent)), $async$call$0);
  87963. case 2:
  87964. // returning from await.
  87965. // implicit return
  87966. return A._asyncReturn(null, $async$completer);
  87967. }
  87968. });
  87969. return A._asyncStartSync($async$call$0, $async$completer);
  87970. },
  87971. $signature: 24
  87972. };
  87973. A._EvaluateVisitor__applyMixin___closure2.prototype = {
  87974. call$0() {
  87975. var $async$goto = 0,
  87976. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  87977. $async$self = this, t1, t2, t3, t4, t5, _i;
  87978. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87979. if ($async$errorCode === 1)
  87980. return A._asyncRethrow($async$result, $async$completer);
  87981. while (true)
  87982. switch ($async$goto) {
  87983. case 0:
  87984. // Function start
  87985. t1 = $async$self.mixin.declaration.children, t2 = t1.length, t3 = $async$self.$this, t4 = $async$self.nodeWithSpanWithoutContent, t5 = type$.nullable_Value_2, _i = 0;
  87986. case 2:
  87987. // for condition
  87988. if (!(_i < t2)) {
  87989. // goto after for
  87990. $async$goto = 4;
  87991. break;
  87992. }
  87993. $async$goto = 5;
  87994. return A._asyncAwait(t3._async_evaluate0$_addErrorSpan$1$2(t4, new A._EvaluateVisitor__applyMixin____closure2(t3, t1[_i]), t5), $async$call$0);
  87995. case 5:
  87996. // returning from await.
  87997. case 3:
  87998. // for update
  87999. ++_i;
  88000. // goto for condition
  88001. $async$goto = 2;
  88002. break;
  88003. case 4:
  88004. // after for
  88005. // implicit return
  88006. return A._asyncReturn(null, $async$completer);
  88007. }
  88008. });
  88009. return A._asyncStartSync($async$call$0, $async$completer);
  88010. },
  88011. $signature: 24
  88012. };
  88013. A._EvaluateVisitor__applyMixin____closure2.prototype = {
  88014. call$0() {
  88015. return this.statement.accept$1(this.$this);
  88016. },
  88017. $signature: 75
  88018. };
  88019. A._EvaluateVisitor_visitIncludeRule_closure8.prototype = {
  88020. call$0() {
  88021. var t1 = this.node;
  88022. return this.$this._async_evaluate0$_environment.getMixin$2$namespace(t1.name, t1.namespace);
  88023. },
  88024. $signature: 93
  88025. };
  88026. A._EvaluateVisitor_visitIncludeRule_closure9.prototype = {
  88027. call$1($content) {
  88028. var t1 = this.$this;
  88029. return new A.UserDefinedCallable0($content, t1._async_evaluate0$_environment.closure$0(), t1._async_evaluate0$_inDependency, type$.UserDefinedCallable_AsyncEnvironment_2);
  88030. },
  88031. $signature: 339
  88032. };
  88033. A._EvaluateVisitor_visitIncludeRule_closure10.prototype = {
  88034. call$0() {
  88035. return this.node.get$spanWithoutContent();
  88036. },
  88037. $signature: 26
  88038. };
  88039. A._EvaluateVisitor_visitMediaRule_closure8.prototype = {
  88040. call$1(mediaQueries) {
  88041. return this.$this._async_evaluate0$_mergeMediaQueries$2(mediaQueries, this.queries);
  88042. },
  88043. $signature: 101
  88044. };
  88045. A._EvaluateVisitor_visitMediaRule_closure9.prototype = {
  88046. call$0() {
  88047. var $async$goto = 0,
  88048. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  88049. $async$self = this, t1, t2;
  88050. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88051. if ($async$errorCode === 1)
  88052. return A._asyncRethrow($async$result, $async$completer);
  88053. while (true)
  88054. switch ($async$goto) {
  88055. case 0:
  88056. // Function start
  88057. t1 = $async$self.$this;
  88058. t2 = $async$self.mergedQueries;
  88059. if (t2 == null)
  88060. t2 = $async$self.queries;
  88061. $async$goto = 2;
  88062. 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);
  88063. case 2:
  88064. // returning from await.
  88065. // implicit return
  88066. return A._asyncReturn(null, $async$completer);
  88067. }
  88068. });
  88069. return A._asyncStartSync($async$call$0, $async$completer);
  88070. },
  88071. $signature: 2
  88072. };
  88073. A._EvaluateVisitor_visitMediaRule__closure2.prototype = {
  88074. call$0() {
  88075. var $async$goto = 0,
  88076. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  88077. $async$self = this, t2, t3, _i, t1, _0_0;
  88078. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88079. if ($async$errorCode === 1)
  88080. return A._asyncRethrow($async$result, $async$completer);
  88081. while (true)
  88082. switch ($async$goto) {
  88083. case 0:
  88084. // Function start
  88085. t1 = $async$self.$this;
  88086. _0_0 = t1._async_evaluate0$_atRootExcludingStyleRule ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
  88087. $async$goto = _0_0 != null ? 2 : 4;
  88088. break;
  88089. case 2:
  88090. // then
  88091. $async$goto = 5;
  88092. 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);
  88093. case 5:
  88094. // returning from await.
  88095. // goto join
  88096. $async$goto = 3;
  88097. break;
  88098. case 4:
  88099. // else
  88100. t2 = $async$self.node.children, t3 = t2.length, _i = 0;
  88101. case 6:
  88102. // for condition
  88103. if (!(_i < t3)) {
  88104. // goto after for
  88105. $async$goto = 8;
  88106. break;
  88107. }
  88108. $async$goto = 9;
  88109. return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
  88110. case 9:
  88111. // returning from await.
  88112. case 7:
  88113. // for update
  88114. ++_i;
  88115. // goto for condition
  88116. $async$goto = 6;
  88117. break;
  88118. case 8:
  88119. // after for
  88120. case 3:
  88121. // join
  88122. // implicit return
  88123. return A._asyncReturn(null, $async$completer);
  88124. }
  88125. });
  88126. return A._asyncStartSync($async$call$0, $async$completer);
  88127. },
  88128. $signature: 2
  88129. };
  88130. A._EvaluateVisitor_visitMediaRule___closure2.prototype = {
  88131. call$0() {
  88132. var $async$goto = 0,
  88133. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  88134. $async$self = this, t1, t2, t3, _i;
  88135. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88136. if ($async$errorCode === 1)
  88137. return A._asyncRethrow($async$result, $async$completer);
  88138. while (true)
  88139. switch ($async$goto) {
  88140. case 0:
  88141. // Function start
  88142. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  88143. case 2:
  88144. // for condition
  88145. if (!(_i < t2)) {
  88146. // goto after for
  88147. $async$goto = 4;
  88148. break;
  88149. }
  88150. $async$goto = 5;
  88151. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  88152. case 5:
  88153. // returning from await.
  88154. case 3:
  88155. // for update
  88156. ++_i;
  88157. // goto for condition
  88158. $async$goto = 2;
  88159. break;
  88160. case 4:
  88161. // after for
  88162. // implicit return
  88163. return A._asyncReturn(null, $async$completer);
  88164. }
  88165. });
  88166. return A._asyncStartSync($async$call$0, $async$completer);
  88167. },
  88168. $signature: 2
  88169. };
  88170. A._EvaluateVisitor_visitMediaRule_closure10.prototype = {
  88171. call$1(node) {
  88172. var t1;
  88173. if (!(node instanceof A.ModifiableCssStyleRule0)) {
  88174. t1 = this.mergedSources;
  88175. t1 = t1.get$isNotEmpty(t1) && node instanceof A.ModifiableCssMediaRule0 && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  88176. } else
  88177. t1 = true;
  88178. return t1;
  88179. },
  88180. $signature: 8
  88181. };
  88182. A._EvaluateVisitor_visitStyleRule_closure14.prototype = {
  88183. call$0() {
  88184. var $async$goto = 0,
  88185. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  88186. $async$self = this, t1, t2, t3, _i;
  88187. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88188. if ($async$errorCode === 1)
  88189. return A._asyncRethrow($async$result, $async$completer);
  88190. while (true)
  88191. switch ($async$goto) {
  88192. case 0:
  88193. // Function start
  88194. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  88195. case 2:
  88196. // for condition
  88197. if (!(_i < t2)) {
  88198. // goto after for
  88199. $async$goto = 4;
  88200. break;
  88201. }
  88202. $async$goto = 5;
  88203. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  88204. case 5:
  88205. // returning from await.
  88206. case 3:
  88207. // for update
  88208. ++_i;
  88209. // goto for condition
  88210. $async$goto = 2;
  88211. break;
  88212. case 4:
  88213. // after for
  88214. // implicit return
  88215. return A._asyncReturn(null, $async$completer);
  88216. }
  88217. });
  88218. return A._asyncStartSync($async$call$0, $async$completer);
  88219. },
  88220. $signature: 2
  88221. };
  88222. A._EvaluateVisitor_visitStyleRule_closure15.prototype = {
  88223. call$1(node) {
  88224. return node instanceof A.ModifiableCssStyleRule0;
  88225. },
  88226. $signature: 8
  88227. };
  88228. A._EvaluateVisitor_visitStyleRule_closure17.prototype = {
  88229. call$0() {
  88230. var $async$goto = 0,
  88231. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  88232. $async$self = this, t1;
  88233. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88234. if ($async$errorCode === 1)
  88235. return A._asyncRethrow($async$result, $async$completer);
  88236. while (true)
  88237. switch ($async$goto) {
  88238. case 0:
  88239. // Function start
  88240. t1 = $async$self.$this;
  88241. $async$goto = 2;
  88242. 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);
  88243. case 2:
  88244. // returning from await.
  88245. // implicit return
  88246. return A._asyncReturn(null, $async$completer);
  88247. }
  88248. });
  88249. return A._asyncStartSync($async$call$0, $async$completer);
  88250. },
  88251. $signature: 2
  88252. };
  88253. A._EvaluateVisitor_visitStyleRule__closure2.prototype = {
  88254. call$0() {
  88255. var $async$goto = 0,
  88256. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  88257. $async$self = this, t1, t2, t3, _i;
  88258. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88259. if ($async$errorCode === 1)
  88260. return A._asyncRethrow($async$result, $async$completer);
  88261. while (true)
  88262. switch ($async$goto) {
  88263. case 0:
  88264. // Function start
  88265. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  88266. case 2:
  88267. // for condition
  88268. if (!(_i < t2)) {
  88269. // goto after for
  88270. $async$goto = 4;
  88271. break;
  88272. }
  88273. $async$goto = 5;
  88274. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  88275. case 5:
  88276. // returning from await.
  88277. case 3:
  88278. // for update
  88279. ++_i;
  88280. // goto for condition
  88281. $async$goto = 2;
  88282. break;
  88283. case 4:
  88284. // after for
  88285. // implicit return
  88286. return A._asyncReturn(null, $async$completer);
  88287. }
  88288. });
  88289. return A._asyncStartSync($async$call$0, $async$completer);
  88290. },
  88291. $signature: 2
  88292. };
  88293. A._EvaluateVisitor_visitStyleRule_closure16.prototype = {
  88294. call$1(node) {
  88295. return node instanceof A.ModifiableCssStyleRule0;
  88296. },
  88297. $signature: 8
  88298. };
  88299. A._EvaluateVisitor_visitStyleRule_closure18.prototype = {
  88300. call$1(child) {
  88301. return child instanceof A.ModifiableCssComment0;
  88302. },
  88303. $signature: 108
  88304. };
  88305. A._EvaluateVisitor_visitSupportsRule_closure5.prototype = {
  88306. call$0() {
  88307. var $async$goto = 0,
  88308. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  88309. $async$self = this, t2, t3, _i, t1, _0_0;
  88310. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88311. if ($async$errorCode === 1)
  88312. return A._asyncRethrow($async$result, $async$completer);
  88313. while (true)
  88314. switch ($async$goto) {
  88315. case 0:
  88316. // Function start
  88317. t1 = $async$self.$this;
  88318. _0_0 = t1._async_evaluate0$_atRootExcludingStyleRule ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
  88319. $async$goto = _0_0 != null ? 2 : 4;
  88320. break;
  88321. case 2:
  88322. // then
  88323. $async$goto = 5;
  88324. 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);
  88325. case 5:
  88326. // returning from await.
  88327. // goto join
  88328. $async$goto = 3;
  88329. break;
  88330. case 4:
  88331. // else
  88332. t2 = $async$self.node.children, t3 = t2.length, _i = 0;
  88333. case 6:
  88334. // for condition
  88335. if (!(_i < t3)) {
  88336. // goto after for
  88337. $async$goto = 8;
  88338. break;
  88339. }
  88340. $async$goto = 9;
  88341. return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
  88342. case 9:
  88343. // returning from await.
  88344. case 7:
  88345. // for update
  88346. ++_i;
  88347. // goto for condition
  88348. $async$goto = 6;
  88349. break;
  88350. case 8:
  88351. // after for
  88352. case 3:
  88353. // join
  88354. // implicit return
  88355. return A._asyncReturn(null, $async$completer);
  88356. }
  88357. });
  88358. return A._asyncStartSync($async$call$0, $async$completer);
  88359. },
  88360. $signature: 2
  88361. };
  88362. A._EvaluateVisitor_visitSupportsRule__closure2.prototype = {
  88363. call$0() {
  88364. var $async$goto = 0,
  88365. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  88366. $async$self = this, t1, t2, t3, _i;
  88367. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88368. if ($async$errorCode === 1)
  88369. return A._asyncRethrow($async$result, $async$completer);
  88370. while (true)
  88371. switch ($async$goto) {
  88372. case 0:
  88373. // Function start
  88374. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  88375. case 2:
  88376. // for condition
  88377. if (!(_i < t2)) {
  88378. // goto after for
  88379. $async$goto = 4;
  88380. break;
  88381. }
  88382. $async$goto = 5;
  88383. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  88384. case 5:
  88385. // returning from await.
  88386. case 3:
  88387. // for update
  88388. ++_i;
  88389. // goto for condition
  88390. $async$goto = 2;
  88391. break;
  88392. case 4:
  88393. // after for
  88394. // implicit return
  88395. return A._asyncReturn(null, $async$completer);
  88396. }
  88397. });
  88398. return A._asyncStartSync($async$call$0, $async$completer);
  88399. },
  88400. $signature: 2
  88401. };
  88402. A._EvaluateVisitor_visitSupportsRule_closure6.prototype = {
  88403. call$1(node) {
  88404. return node instanceof A.ModifiableCssStyleRule0;
  88405. },
  88406. $signature: 8
  88407. };
  88408. A._EvaluateVisitor__visitSupportsCondition_closure2.prototype = {
  88409. call$0() {
  88410. var $async$goto = 0,
  88411. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  88412. $async$returnValue, $async$self = this, t1, t2, t3, t4, $async$temp1, $async$temp2;
  88413. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88414. if ($async$errorCode === 1)
  88415. return A._asyncRethrow($async$result, $async$completer);
  88416. while (true)
  88417. switch ($async$goto) {
  88418. case 0:
  88419. // Function start
  88420. t1 = $async$self.$this;
  88421. t2 = $async$self._box_0;
  88422. $async$temp1 = A;
  88423. $async$goto = 3;
  88424. return A._asyncAwait(t1._async_evaluate0$_evaluateToCss$1(t2.declaration.name), $async$call$0);
  88425. case 3:
  88426. // returning from await.
  88427. t3 = $async$temp1.S($async$result);
  88428. t4 = t2.declaration.get$isCustomProperty() ? "" : " ";
  88429. $async$temp1 = "(" + t3 + ":" + t4;
  88430. $async$temp2 = A;
  88431. $async$goto = 4;
  88432. return A._asyncAwait(t1._async_evaluate0$_evaluateToCss$1(t2.declaration.value), $async$call$0);
  88433. case 4:
  88434. // returning from await.
  88435. $async$returnValue = $async$temp1 + $async$temp2.S($async$result) + ")";
  88436. // goto return
  88437. $async$goto = 1;
  88438. break;
  88439. case 1:
  88440. // return
  88441. return A._asyncReturn($async$returnValue, $async$completer);
  88442. }
  88443. });
  88444. return A._asyncStartSync($async$call$0, $async$completer);
  88445. },
  88446. $signature: 177
  88447. };
  88448. A._EvaluateVisitor_visitVariableDeclaration_closure8.prototype = {
  88449. call$0() {
  88450. var t1 = this.$this._async_evaluate0$_environment,
  88451. t2 = this._box_0.override;
  88452. t1.setVariable$4$global(this.node.name, t2.value, t2.assignmentNode, true);
  88453. },
  88454. $signature: 1
  88455. };
  88456. A._EvaluateVisitor_visitVariableDeclaration_closure9.prototype = {
  88457. call$0() {
  88458. var t1 = this.node;
  88459. return this.$this._async_evaluate0$_environment.getVariable$2$namespace(t1.name, t1.namespace);
  88460. },
  88461. $signature: 40
  88462. };
  88463. A._EvaluateVisitor_visitVariableDeclaration_closure10.prototype = {
  88464. call$0() {
  88465. var t1 = this.$this,
  88466. t2 = this.node;
  88467. t1._async_evaluate0$_environment.setVariable$5$global$namespace(t2.name, this.value, t1._async_evaluate0$_expressionNode$1(t2.expression), t2.isGlobal, t2.namespace);
  88468. },
  88469. $signature: 1
  88470. };
  88471. A._EvaluateVisitor_visitUseRule_closure2.prototype = {
  88472. call$2(module, firstLoad) {
  88473. var t1, t2, t3, _0_0, t4, t5, span;
  88474. if (firstLoad)
  88475. this.$this._async_evaluate0$_registerCommentsForModule$1(module);
  88476. t1 = this.$this._async_evaluate0$_environment;
  88477. t2 = this.node;
  88478. t3 = t2.namespace;
  88479. if (t3 == null) {
  88480. t1._async_environment0$_globalModules.$indexSet(0, module, t2);
  88481. t1._async_environment0$_allModules.push(module);
  88482. _0_0 = A.IterableExtension_firstWhereOrNull(J.get$keys$z(B.JSArray_methods.get$first(t1._async_environment0$_variables)), module.get$variables().get$containsKey());
  88483. if (_0_0 != null)
  88484. A.throwExpression(A.SassScriptException$0(string$.This_ma + _0_0 + '".', null));
  88485. } else {
  88486. t4 = t1._async_environment0$_modules;
  88487. if (t4.containsKey$1(t3)) {
  88488. t5 = t1._async_environment0$_namespaceNodes.$index(0, t3);
  88489. span = t5 == null ? null : t5.span;
  88490. t5 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  88491. if (span != null)
  88492. t5.$indexSet(0, span, "original @use");
  88493. A.throwExpression(A.MultiSpanSassScriptException$0(string$.There_ + t3 + '".', "new @use", t5));
  88494. }
  88495. t4.$indexSet(0, t3, module);
  88496. t1._async_environment0$_namespaceNodes.$indexSet(0, t3, t2);
  88497. t1._async_environment0$_allModules.push(module);
  88498. }
  88499. },
  88500. $signature: 109
  88501. };
  88502. A._EvaluateVisitor_visitWarnRule_closure2.prototype = {
  88503. call$0() {
  88504. return this.node.expression.accept$1(this.$this);
  88505. },
  88506. $signature: 65
  88507. };
  88508. A._EvaluateVisitor_visitWhileRule_closure2.prototype = {
  88509. call$0() {
  88510. var $async$goto = 0,
  88511. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  88512. $async$returnValue, $async$self = this, t1, t2, t3, _0_0;
  88513. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88514. if ($async$errorCode === 1)
  88515. return A._asyncRethrow($async$result, $async$completer);
  88516. while (true)
  88517. switch ($async$goto) {
  88518. case 0:
  88519. // Function start
  88520. t1 = $async$self.node, t2 = t1.condition, t3 = $async$self.$this, t1 = t1.children;
  88521. case 3:
  88522. // for condition
  88523. $async$goto = 5;
  88524. return A._asyncAwait(t2.accept$1(t3), $async$call$0);
  88525. case 5:
  88526. // returning from await.
  88527. if (!$async$result.get$isTruthy()) {
  88528. // goto after for
  88529. $async$goto = 4;
  88530. break;
  88531. }
  88532. $async$goto = 6;
  88533. return A._asyncAwait(t3._async_evaluate0$_handleReturn$2(t1, new A._EvaluateVisitor_visitWhileRule__closure2(t3)), $async$call$0);
  88534. case 6:
  88535. // returning from await.
  88536. _0_0 = $async$result;
  88537. if (_0_0 != null) {
  88538. $async$returnValue = _0_0;
  88539. // goto return
  88540. $async$goto = 1;
  88541. break;
  88542. }
  88543. // goto for condition
  88544. $async$goto = 3;
  88545. break;
  88546. case 4:
  88547. // after for
  88548. $async$returnValue = null;
  88549. // goto return
  88550. $async$goto = 1;
  88551. break;
  88552. case 1:
  88553. // return
  88554. return A._asyncReturn($async$returnValue, $async$completer);
  88555. }
  88556. });
  88557. return A._asyncStartSync($async$call$0, $async$completer);
  88558. },
  88559. $signature: 75
  88560. };
  88561. A._EvaluateVisitor_visitWhileRule__closure2.prototype = {
  88562. call$1(child) {
  88563. return child.accept$1(this.$this);
  88564. },
  88565. $signature: 98
  88566. };
  88567. A._EvaluateVisitor_visitBinaryOperationExpression_closure2.prototype = {
  88568. call$0() {
  88569. var $async$goto = 0,
  88570. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  88571. $async$returnValue, $async$self = this, t3, t1, t2, left, $async$temp1, $async$temp2;
  88572. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88573. if ($async$errorCode === 1)
  88574. return A._asyncRethrow($async$result, $async$completer);
  88575. while (true)
  88576. switch ($async$goto) {
  88577. case 0:
  88578. // Function start
  88579. t1 = $async$self.node;
  88580. t2 = $async$self.$this;
  88581. $async$goto = 3;
  88582. return A._asyncAwait(t1.left.accept$1(t2), $async$call$0);
  88583. case 3:
  88584. // returning from await.
  88585. left = $async$result;
  88586. case 4:
  88587. // switch
  88588. switch (t1.operator) {
  88589. case B.BinaryOperator_wdM0:
  88590. // goto case
  88591. $async$goto = 6;
  88592. break;
  88593. case B.BinaryOperator_qNM0:
  88594. // goto case
  88595. $async$goto = 7;
  88596. break;
  88597. case B.BinaryOperator_eDt0:
  88598. // goto case
  88599. $async$goto = 8;
  88600. break;
  88601. case B.BinaryOperator_g8k0:
  88602. // goto case
  88603. $async$goto = 9;
  88604. break;
  88605. case B.BinaryOperator_icU0:
  88606. // goto case
  88607. $async$goto = 10;
  88608. break;
  88609. case B.BinaryOperator_bEa0:
  88610. // goto case
  88611. $async$goto = 11;
  88612. break;
  88613. case B.BinaryOperator_oEm0:
  88614. // goto case
  88615. $async$goto = 12;
  88616. break;
  88617. case B.BinaryOperator_miq0:
  88618. // goto case
  88619. $async$goto = 13;
  88620. break;
  88621. case B.BinaryOperator_SPQ0:
  88622. // goto case
  88623. $async$goto = 14;
  88624. break;
  88625. case B.BinaryOperator_u150:
  88626. // goto case
  88627. $async$goto = 15;
  88628. break;
  88629. case B.BinaryOperator_SjO0:
  88630. // goto case
  88631. $async$goto = 16;
  88632. break;
  88633. case B.BinaryOperator_2No0:
  88634. // goto case
  88635. $async$goto = 17;
  88636. break;
  88637. case B.BinaryOperator_U770:
  88638. // goto case
  88639. $async$goto = 18;
  88640. break;
  88641. case B.BinaryOperator_KNx0:
  88642. // goto case
  88643. $async$goto = 19;
  88644. break;
  88645. default:
  88646. // goto default
  88647. $async$goto = 20;
  88648. break;
  88649. }
  88650. break;
  88651. case 6:
  88652. // case
  88653. t1 = t1.right.accept$1(t2);
  88654. $async$goto = 21;
  88655. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  88656. case 21:
  88657. // returning from await.
  88658. t1 = $async$result;
  88659. t1 = new A.SassString0(A.serializeValue0(left, false, true) + "=" + A.serializeValue0(t1, false, true), false);
  88660. // goto after switch
  88661. $async$goto = 5;
  88662. break;
  88663. case 7:
  88664. // case
  88665. $async$goto = left.get$isTruthy() ? 22 : 24;
  88666. break;
  88667. case 22:
  88668. // then
  88669. t1 = left;
  88670. // goto join
  88671. $async$goto = 23;
  88672. break;
  88673. case 24:
  88674. // else
  88675. t1 = t1.right.accept$1(t2);
  88676. $async$goto = 25;
  88677. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  88678. case 25:
  88679. // returning from await.
  88680. t1 = $async$result;
  88681. case 23:
  88682. // join
  88683. // goto after switch
  88684. $async$goto = 5;
  88685. break;
  88686. case 8:
  88687. // case
  88688. $async$goto = left.get$isTruthy() ? 26 : 28;
  88689. break;
  88690. case 26:
  88691. // then
  88692. t1 = t1.right.accept$1(t2);
  88693. $async$goto = 29;
  88694. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  88695. case 29:
  88696. // returning from await.
  88697. t1 = $async$result;
  88698. // goto join
  88699. $async$goto = 27;
  88700. break;
  88701. case 28:
  88702. // else
  88703. t1 = left;
  88704. case 27:
  88705. // join
  88706. // goto after switch
  88707. $async$goto = 5;
  88708. break;
  88709. case 9:
  88710. // case
  88711. $async$temp1 = left;
  88712. $async$goto = 30;
  88713. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  88714. case 30:
  88715. // returning from await.
  88716. t1 = $async$temp1.$eq(0, $async$result) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  88717. // goto after switch
  88718. $async$goto = 5;
  88719. break;
  88720. case 10:
  88721. // case
  88722. $async$temp1 = left;
  88723. $async$goto = 31;
  88724. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  88725. case 31:
  88726. // returning from await.
  88727. t1 = !$async$temp1.$eq(0, $async$result) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  88728. // goto after switch
  88729. $async$goto = 5;
  88730. break;
  88731. case 11:
  88732. // case
  88733. t1 = t1.right.accept$1(t2);
  88734. $async$temp1 = left;
  88735. $async$goto = 32;
  88736. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  88737. case 32:
  88738. // returning from await.
  88739. t1 = $async$temp1.greaterThan$1($async$result);
  88740. // goto after switch
  88741. $async$goto = 5;
  88742. break;
  88743. case 12:
  88744. // case
  88745. t1 = t1.right.accept$1(t2);
  88746. $async$temp1 = left;
  88747. $async$goto = 33;
  88748. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  88749. case 33:
  88750. // returning from await.
  88751. t1 = $async$temp1.greaterThanOrEquals$1($async$result);
  88752. // goto after switch
  88753. $async$goto = 5;
  88754. break;
  88755. case 13:
  88756. // case
  88757. t1 = t1.right.accept$1(t2);
  88758. $async$temp1 = left;
  88759. $async$goto = 34;
  88760. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  88761. case 34:
  88762. // returning from await.
  88763. t1 = $async$temp1.lessThan$1($async$result);
  88764. // goto after switch
  88765. $async$goto = 5;
  88766. break;
  88767. case 14:
  88768. // case
  88769. t1 = t1.right.accept$1(t2);
  88770. $async$temp1 = left;
  88771. $async$goto = 35;
  88772. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  88773. case 35:
  88774. // returning from await.
  88775. t1 = $async$temp1.lessThanOrEquals$1($async$result);
  88776. // goto after switch
  88777. $async$goto = 5;
  88778. break;
  88779. case 15:
  88780. // case
  88781. t1 = t1.right.accept$1(t2);
  88782. $async$temp1 = left;
  88783. $async$goto = 36;
  88784. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  88785. case 36:
  88786. // returning from await.
  88787. t1 = $async$temp1.plus$1($async$result);
  88788. // goto after switch
  88789. $async$goto = 5;
  88790. break;
  88791. case 16:
  88792. // case
  88793. t1 = t1.right.accept$1(t2);
  88794. $async$temp1 = left;
  88795. $async$goto = 37;
  88796. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  88797. case 37:
  88798. // returning from await.
  88799. t1 = $async$temp1.minus$1($async$result);
  88800. // goto after switch
  88801. $async$goto = 5;
  88802. break;
  88803. case 17:
  88804. // case
  88805. t1 = t1.right.accept$1(t2);
  88806. $async$temp1 = left;
  88807. $async$goto = 38;
  88808. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  88809. case 38:
  88810. // returning from await.
  88811. t1 = $async$temp1.times$1($async$result);
  88812. // goto after switch
  88813. $async$goto = 5;
  88814. break;
  88815. case 18:
  88816. // case
  88817. t3 = t1.right.accept$1(t2);
  88818. $async$temp1 = t2;
  88819. $async$temp2 = left;
  88820. $async$goto = 39;
  88821. return A._asyncAwait(type$.Future_Value_2._is(t3) ? t3 : A._Future$value(t3, type$.Value_2), $async$call$0);
  88822. case 39:
  88823. // returning from await.
  88824. t1 = $async$temp1._async_evaluate0$_slash$3($async$temp2, $async$result, t1);
  88825. // goto after switch
  88826. $async$goto = 5;
  88827. break;
  88828. case 19:
  88829. // case
  88830. t1 = t1.right.accept$1(t2);
  88831. $async$temp1 = left;
  88832. $async$goto = 40;
  88833. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  88834. case 40:
  88835. // returning from await.
  88836. t1 = $async$temp1.modulo$1($async$result);
  88837. // goto after switch
  88838. $async$goto = 5;
  88839. break;
  88840. case 20:
  88841. // default
  88842. t1 = null;
  88843. case 5:
  88844. // after switch
  88845. $async$returnValue = t1;
  88846. // goto return
  88847. $async$goto = 1;
  88848. break;
  88849. case 1:
  88850. // return
  88851. return A._asyncReturn($async$returnValue, $async$completer);
  88852. }
  88853. });
  88854. return A._asyncStartSync($async$call$0, $async$completer);
  88855. },
  88856. $signature: 65
  88857. };
  88858. A._EvaluateVisitor__slash_recommendation2.prototype = {
  88859. call$1(expression) {
  88860. var t1;
  88861. $label0$0: {
  88862. if (expression instanceof A.BinaryOperationExpression0 && B.BinaryOperator_U770 === expression.operator) {
  88863. t1 = "math.div(" + A.S(this.call$1(expression.left)) + ", " + A.S(this.call$1(expression.right)) + ")";
  88864. break $label0$0;
  88865. }
  88866. if (expression instanceof A.ParenthesizedExpression0) {
  88867. t1 = expression.expression.toString$0(0);
  88868. break $label0$0;
  88869. }
  88870. t1 = expression.toString$0(0);
  88871. break $label0$0;
  88872. }
  88873. return t1;
  88874. },
  88875. $signature: 135
  88876. };
  88877. A._EvaluateVisitor_visitVariableExpression_closure2.prototype = {
  88878. call$0() {
  88879. var t1 = this.node;
  88880. return this.$this._async_evaluate0$_environment.getVariable$2$namespace(t1.name, t1.namespace);
  88881. },
  88882. $signature: 40
  88883. };
  88884. A._EvaluateVisitor_visitUnaryOperationExpression_closure2.prototype = {
  88885. call$0() {
  88886. var t1, _this = this;
  88887. switch (_this.node.operator) {
  88888. case B.UnaryOperator_cLp0:
  88889. t1 = _this.operand.unaryPlus$0();
  88890. break;
  88891. case B.UnaryOperator_AiQ0:
  88892. t1 = _this.operand.unaryMinus$0();
  88893. break;
  88894. case B.UnaryOperator_SJr0:
  88895. t1 = new A.SassString0("/" + A.serializeValue0(_this.operand, false, true), false);
  88896. break;
  88897. case B.UnaryOperator_not_not_not0:
  88898. t1 = _this.operand.unaryNot$0();
  88899. break;
  88900. default:
  88901. t1 = null;
  88902. }
  88903. return t1;
  88904. },
  88905. $signature: 43
  88906. };
  88907. A._EvaluateVisitor_visitListExpression_closure2.prototype = {
  88908. call$1(expression) {
  88909. return expression.accept$1(this.$this);
  88910. },
  88911. $signature: 346
  88912. };
  88913. A._EvaluateVisitor_visitFunctionExpression_closure8.prototype = {
  88914. call$0() {
  88915. var t1 = this.node;
  88916. return this.$this._async_evaluate0$_environment.getFunction$2$namespace(t1.name, t1.namespace);
  88917. },
  88918. $signature: 93
  88919. };
  88920. A._EvaluateVisitor_visitFunctionExpression_closure9.prototype = {
  88921. call$1(argument) {
  88922. return argument.accept$1(new A._IsCalculationSafeVisitor0());
  88923. },
  88924. $signature: 107
  88925. };
  88926. A._EvaluateVisitor_visitFunctionExpression_closure10.prototype = {
  88927. call$0() {
  88928. var t1 = this.node;
  88929. return this.$this._async_evaluate0$_runFunctionCallable$3(t1.$arguments, this._box_0.$function, t1);
  88930. },
  88931. $signature: 65
  88932. };
  88933. A._EvaluateVisitor__checkCalculationArguments_check2.prototype = {
  88934. call$1(maxArgs) {
  88935. var t1 = this.node,
  88936. t2 = t1.$arguments.positional.length;
  88937. if (t2 === 0)
  88938. throw A.wrapException(this.$this._async_evaluate0$_exception$2("Missing argument.", t1.span));
  88939. else if (maxArgs != null && t2 > maxArgs)
  88940. 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));
  88941. },
  88942. call$0() {
  88943. return this.call$1(null);
  88944. },
  88945. $signature: 96
  88946. };
  88947. A._EvaluateVisitor__visitCalculationExpression_closure2.prototype = {
  88948. call$0() {
  88949. var $async$goto = 0,
  88950. $async$completer = A._makeAsyncAwaitCompleter(type$.Object),
  88951. $async$returnValue, $async$self = this, t1, t2, t3, $async$temp1, $async$temp2, $async$temp3;
  88952. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88953. if ($async$errorCode === 1)
  88954. return A._asyncRethrow($async$result, $async$completer);
  88955. while (true)
  88956. switch ($async$goto) {
  88957. case 0:
  88958. // Function start
  88959. t1 = $async$self.$this;
  88960. t2 = $async$self._box_0;
  88961. t3 = $async$self.inLegacySassFunction;
  88962. $async$temp1 = A;
  88963. $async$temp2 = t1._async_evaluate0$_binaryOperatorToCalculationOperator$2(t2.operator, $async$self.node);
  88964. $async$goto = 3;
  88965. return A._asyncAwait(t1._async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction(t2.left, t3), $async$call$0);
  88966. case 3:
  88967. // returning from await.
  88968. $async$temp3 = $async$result;
  88969. $async$goto = 4;
  88970. return A._asyncAwait(t1._async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction(t2.right, t3), $async$call$0);
  88971. case 4:
  88972. // returning from await.
  88973. $async$returnValue = $async$temp1.SassCalculation_operateInternal0($async$temp2, $async$temp3, $async$result, t3, !t1._async_evaluate0$_inSupportsDeclaration);
  88974. // goto return
  88975. $async$goto = 1;
  88976. break;
  88977. case 1:
  88978. // return
  88979. return A._asyncReturn($async$returnValue, $async$completer);
  88980. }
  88981. });
  88982. return A._asyncStartSync($async$call$0, $async$completer);
  88983. },
  88984. $signature: 180
  88985. };
  88986. A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure2.prototype = {
  88987. call$0() {
  88988. var t1 = this.node;
  88989. return this.$this._async_evaluate0$_runFunctionCallable$3(t1.$arguments, this.$function, t1);
  88990. },
  88991. $signature: 65
  88992. };
  88993. A._EvaluateVisitor__runUserDefinedCallable_closure2.prototype = {
  88994. call$0() {
  88995. var _this = this,
  88996. t1 = _this.$this,
  88997. t2 = _this.callable,
  88998. t3 = _this.V;
  88999. 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);
  89000. },
  89001. $signature() {
  89002. return this.V._eval$1("Future<0>()");
  89003. }
  89004. };
  89005. A._EvaluateVisitor__runUserDefinedCallable__closure2.prototype = {
  89006. call$0() {
  89007. var _this = this,
  89008. t1 = _this.$this,
  89009. t2 = _this.V;
  89010. return t1._async_evaluate0$_environment.scope$1$1(new A._EvaluateVisitor__runUserDefinedCallable___closure2(t1, _this.evaluated, _this.callable, _this.nodeWithSpan, _this.run, t2), t2);
  89011. },
  89012. $signature() {
  89013. return this.V._eval$1("Future<0>()");
  89014. }
  89015. };
  89016. A._EvaluateVisitor__runUserDefinedCallable___closure2.prototype = {
  89017. call$0() {
  89018. return this.$call$body$_EvaluateVisitor__runUserDefinedCallable___closure0(this.V);
  89019. },
  89020. $call$body$_EvaluateVisitor__runUserDefinedCallable___closure0($async$type) {
  89021. var $async$goto = 0,
  89022. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  89023. $async$returnValue, $async$self = this, declaredArguments, t5, minLength, i, argument, t6, t7, value, t8, restArgument, rest, argumentList, result, t1, t2, t3, t4, $async$temp1;
  89024. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  89025. if ($async$errorCode === 1)
  89026. return A._asyncRethrow($async$result, $async$completer);
  89027. while (true)
  89028. switch ($async$goto) {
  89029. case 0:
  89030. // Function start
  89031. t1 = $async$self.$this;
  89032. t2 = $async$self.evaluated._values;
  89033. t3 = $async$self.callable.declaration.$arguments;
  89034. t4 = $async$self.nodeWithSpan;
  89035. t1._async_evaluate0$_verifyArguments$4(J.get$length$asx(t2[2]), t2[0], t3, t4);
  89036. declaredArguments = t3.$arguments;
  89037. t5 = declaredArguments.length;
  89038. minLength = Math.min(J.get$length$asx(t2[2]), t5);
  89039. for (i = 0; i < minLength; ++i)
  89040. t1._async_evaluate0$_environment.setLocalVariable$3(declaredArguments[i].name, J.$index$asx(t2[2], i), J.$index$asx(t2[3], i));
  89041. i = J.get$length$asx(t2[2]);
  89042. case 3:
  89043. // for condition
  89044. if (!(i < t5)) {
  89045. // goto after for
  89046. $async$goto = 5;
  89047. break;
  89048. }
  89049. argument = declaredArguments[i];
  89050. t6 = t2[0];
  89051. t7 = argument.name;
  89052. value = J.remove$1$z(t6, t7);
  89053. $async$goto = value == null ? 6 : 7;
  89054. break;
  89055. case 6:
  89056. // then
  89057. t6 = argument.defaultValue;
  89058. $async$temp1 = t1;
  89059. $async$goto = 8;
  89060. return A._asyncAwait(t6.accept$1(t1), $async$call$0);
  89061. case 8:
  89062. // returning from await.
  89063. value = $async$temp1._async_evaluate0$_withoutSlash$2($async$result, t1._async_evaluate0$_expressionNode$1(t6));
  89064. case 7:
  89065. // join
  89066. t6 = t1._async_evaluate0$_environment;
  89067. t8 = J.$index$asx(t2[1], t7);
  89068. if (t8 == null) {
  89069. t8 = argument.defaultValue;
  89070. t8.toString;
  89071. t8 = t1._async_evaluate0$_expressionNode$1(t8);
  89072. }
  89073. t6.setLocalVariable$3(t7, value, t8);
  89074. case 4:
  89075. // for update
  89076. ++i;
  89077. // goto for condition
  89078. $async$goto = 3;
  89079. break;
  89080. case 5:
  89081. // after for
  89082. restArgument = t3.restArgument;
  89083. if (restArgument != null) {
  89084. rest = J.get$length$asx(t2[2]) > t5 ? J.sublist$1$ax(t2[2], t5) : B.List_empty19;
  89085. t5 = t2[0];
  89086. t6 = t2[4];
  89087. argumentList = A.SassArgumentList$0(rest, t5, t6 === B.ListSeparator_undecided_null_undecided0 ? B.ListSeparator_ECn0 : t6);
  89088. t1._async_evaluate0$_environment.setLocalVariable$3(restArgument, argumentList, t4);
  89089. } else
  89090. argumentList = null;
  89091. $async$goto = 9;
  89092. return A._asyncAwait($async$self.run.call$0(), $async$call$0);
  89093. case 9:
  89094. // returning from await.
  89095. result = $async$result;
  89096. if (argumentList == null) {
  89097. $async$returnValue = result;
  89098. // goto return
  89099. $async$goto = 1;
  89100. break;
  89101. }
  89102. if (J.get$isEmpty$asx(t2[0])) {
  89103. $async$returnValue = result;
  89104. // goto return
  89105. $async$goto = 1;
  89106. break;
  89107. }
  89108. if (argumentList._argument_list$_wereKeywordsAccessed) {
  89109. $async$returnValue = result;
  89110. // goto return
  89111. $async$goto = 1;
  89112. break;
  89113. }
  89114. throw A.wrapException(A.MultiSpanSassRuntimeException$0("No " + A.pluralize0("argument", J.get$length$asx(J.get$keys$z(t2[0])), null) + " named " + A.toSentence0(J.map$1$1$ax(J.get$keys$z(t2[0]), 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));
  89115. case 1:
  89116. // return
  89117. return A._asyncReturn($async$returnValue, $async$completer);
  89118. }
  89119. });
  89120. return A._asyncStartSync($async$call$0, $async$completer);
  89121. },
  89122. $signature() {
  89123. return this.V._eval$1("Future<0>()");
  89124. }
  89125. };
  89126. A._EvaluateVisitor__runUserDefinedCallable____closure2.prototype = {
  89127. call$1($name) {
  89128. return "$" + $name;
  89129. },
  89130. $signature: 5
  89131. };
  89132. A._EvaluateVisitor__runFunctionCallable_closure2.prototype = {
  89133. call$0() {
  89134. var $async$goto = 0,
  89135. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  89136. $async$returnValue, $async$self = this, t1, t2, t3, t4, _i, $returnValue;
  89137. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  89138. if ($async$errorCode === 1)
  89139. return A._asyncRethrow($async$result, $async$completer);
  89140. while (true)
  89141. switch ($async$goto) {
  89142. case 0:
  89143. // Function start
  89144. t1 = $async$self.callable.declaration, t2 = t1.children, t3 = t2.length, t4 = $async$self.$this, _i = 0;
  89145. case 3:
  89146. // for condition
  89147. if (!(_i < t3)) {
  89148. // goto after for
  89149. $async$goto = 5;
  89150. break;
  89151. }
  89152. $async$goto = 6;
  89153. return A._asyncAwait(t2[_i].accept$1(t4), $async$call$0);
  89154. case 6:
  89155. // returning from await.
  89156. $returnValue = $async$result;
  89157. if ($returnValue instanceof A.Value0) {
  89158. $async$returnValue = $returnValue;
  89159. // goto return
  89160. $async$goto = 1;
  89161. break;
  89162. }
  89163. case 4:
  89164. // for update
  89165. ++_i;
  89166. // goto for condition
  89167. $async$goto = 3;
  89168. break;
  89169. case 5:
  89170. // after for
  89171. throw A.wrapException(t4._async_evaluate0$_exception$2("Function finished without @return.", t1.span));
  89172. case 1:
  89173. // return
  89174. return A._asyncReturn($async$returnValue, $async$completer);
  89175. }
  89176. });
  89177. return A._asyncStartSync($async$call$0, $async$completer);
  89178. },
  89179. $signature: 65
  89180. };
  89181. A._EvaluateVisitor__runBuiltInCallable_closure8.prototype = {
  89182. call$0() {
  89183. return this._box_0.overload.verify$2(J.get$length$asx(this.evaluated._values[2]), this.namedSet);
  89184. },
  89185. $signature: 0
  89186. };
  89187. A._EvaluateVisitor__runBuiltInCallable_closure9.prototype = {
  89188. call$0() {
  89189. return this._box_0.callback.call$1(this.evaluated._values[2]);
  89190. },
  89191. $signature: 348
  89192. };
  89193. A._EvaluateVisitor__runBuiltInCallable_closure10.prototype = {
  89194. call$1($name) {
  89195. return "$" + $name;
  89196. },
  89197. $signature: 5
  89198. };
  89199. A._EvaluateVisitor__evaluateArguments_closure11.prototype = {
  89200. call$1(value) {
  89201. return value;
  89202. },
  89203. $signature: 41
  89204. };
  89205. A._EvaluateVisitor__evaluateArguments_closure12.prototype = {
  89206. call$1(value) {
  89207. return this.$this._async_evaluate0$_withoutSlash$2(value, this.restNodeForSpan);
  89208. },
  89209. $signature: 41
  89210. };
  89211. A._EvaluateVisitor__evaluateArguments_closure13.prototype = {
  89212. call$2(key, value) {
  89213. var _this = this,
  89214. t1 = _this.restNodeForSpan;
  89215. _this.named.$indexSet(0, key, _this.$this._async_evaluate0$_withoutSlash$2(value, t1));
  89216. _this.namedNodes.$indexSet(0, key, t1);
  89217. },
  89218. $signature: 100
  89219. };
  89220. A._EvaluateVisitor__evaluateArguments_closure14.prototype = {
  89221. call$1(value) {
  89222. return value;
  89223. },
  89224. $signature: 41
  89225. };
  89226. A._EvaluateVisitor__evaluateMacroArguments_closure11.prototype = {
  89227. call$1(value) {
  89228. var t1 = this.restArgs;
  89229. return new A.ValueExpression0(value, t1.get$span(t1));
  89230. },
  89231. $signature: 61
  89232. };
  89233. A._EvaluateVisitor__evaluateMacroArguments_closure12.prototype = {
  89234. call$1(value) {
  89235. var t1 = this.restArgs;
  89236. return new A.ValueExpression0(this.$this._async_evaluate0$_withoutSlash$2(value, this.restNodeForSpan), t1.get$span(t1));
  89237. },
  89238. $signature: 61
  89239. };
  89240. A._EvaluateVisitor__evaluateMacroArguments_closure13.prototype = {
  89241. call$2(key, value) {
  89242. var _this = this,
  89243. t1 = _this.restArgs;
  89244. _this.named.$indexSet(0, key, new A.ValueExpression0(_this.$this._async_evaluate0$_withoutSlash$2(value, _this.restNodeForSpan), t1.get$span(t1)));
  89245. },
  89246. $signature: 100
  89247. };
  89248. A._EvaluateVisitor__evaluateMacroArguments_closure14.prototype = {
  89249. call$1(value) {
  89250. var t1 = this.keywordRestArgs;
  89251. return new A.ValueExpression0(this.$this._async_evaluate0$_withoutSlash$2(value, this.keywordRestNodeForSpan), t1.get$span(t1));
  89252. },
  89253. $signature: 61
  89254. };
  89255. A._EvaluateVisitor__addRestMap_closure2.prototype = {
  89256. call$2(key, value) {
  89257. var t2, _this = this,
  89258. t1 = _this.$this;
  89259. if (key instanceof A.SassString0)
  89260. _this.values.$indexSet(0, key._string0$_text, _this.convert.call$1(t1._async_evaluate0$_withoutSlash$2(value, _this.expressionNode)));
  89261. else {
  89262. t2 = _this.nodeWithSpan;
  89263. 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)));
  89264. }
  89265. },
  89266. $signature: 94
  89267. };
  89268. A._EvaluateVisitor__verifyArguments_closure2.prototype = {
  89269. call$0() {
  89270. return this.$arguments.verify$2(this.positional, new A.MapKeySet(this.named, type$.MapKeySet_String));
  89271. },
  89272. $signature: 0
  89273. };
  89274. A._EvaluateVisitor_visitCssAtRule_closure5.prototype = {
  89275. call$0() {
  89276. var $async$goto = 0,
  89277. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  89278. $async$self = this, t1, t2, t3, t4;
  89279. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  89280. if ($async$errorCode === 1)
  89281. return A._asyncRethrow($async$result, $async$completer);
  89282. while (true)
  89283. switch ($async$goto) {
  89284. case 0:
  89285. // Function start
  89286. 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");
  89287. case 2:
  89288. // for condition
  89289. if (!t1.moveNext$0()) {
  89290. // goto after for
  89291. $async$goto = 3;
  89292. break;
  89293. }
  89294. t4 = t1.__internal$_current;
  89295. $async$goto = 4;
  89296. return A._asyncAwait((t4 == null ? t2._as(t4) : t4).accept$1(t3), $async$call$0);
  89297. case 4:
  89298. // returning from await.
  89299. // goto for condition
  89300. $async$goto = 2;
  89301. break;
  89302. case 3:
  89303. // after for
  89304. // implicit return
  89305. return A._asyncReturn(null, $async$completer);
  89306. }
  89307. });
  89308. return A._asyncStartSync($async$call$0, $async$completer);
  89309. },
  89310. $signature: 2
  89311. };
  89312. A._EvaluateVisitor_visitCssAtRule_closure6.prototype = {
  89313. call$1(node) {
  89314. return node instanceof A.ModifiableCssStyleRule0;
  89315. },
  89316. $signature: 8
  89317. };
  89318. A._EvaluateVisitor_visitCssKeyframeBlock_closure5.prototype = {
  89319. call$0() {
  89320. var $async$goto = 0,
  89321. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  89322. $async$self = this, t1, t2, t3, t4;
  89323. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  89324. if ($async$errorCode === 1)
  89325. return A._asyncRethrow($async$result, $async$completer);
  89326. while (true)
  89327. switch ($async$goto) {
  89328. case 0:
  89329. // Function start
  89330. 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");
  89331. case 2:
  89332. // for condition
  89333. if (!t1.moveNext$0()) {
  89334. // goto after for
  89335. $async$goto = 3;
  89336. break;
  89337. }
  89338. t4 = t1.__internal$_current;
  89339. $async$goto = 4;
  89340. return A._asyncAwait((t4 == null ? t2._as(t4) : t4).accept$1(t3), $async$call$0);
  89341. case 4:
  89342. // returning from await.
  89343. // goto for condition
  89344. $async$goto = 2;
  89345. break;
  89346. case 3:
  89347. // after for
  89348. // implicit return
  89349. return A._asyncReturn(null, $async$completer);
  89350. }
  89351. });
  89352. return A._asyncStartSync($async$call$0, $async$completer);
  89353. },
  89354. $signature: 2
  89355. };
  89356. A._EvaluateVisitor_visitCssKeyframeBlock_closure6.prototype = {
  89357. call$1(node) {
  89358. return node instanceof A.ModifiableCssStyleRule0;
  89359. },
  89360. $signature: 8
  89361. };
  89362. A._EvaluateVisitor_visitCssMediaRule_closure8.prototype = {
  89363. call$1(mediaQueries) {
  89364. return this.$this._async_evaluate0$_mergeMediaQueries$2(mediaQueries, this.node.queries);
  89365. },
  89366. $signature: 101
  89367. };
  89368. A._EvaluateVisitor_visitCssMediaRule_closure9.prototype = {
  89369. call$0() {
  89370. var $async$goto = 0,
  89371. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  89372. $async$self = this, t1, t2;
  89373. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  89374. if ($async$errorCode === 1)
  89375. return A._asyncRethrow($async$result, $async$completer);
  89376. while (true)
  89377. switch ($async$goto) {
  89378. case 0:
  89379. // Function start
  89380. t1 = $async$self.$this;
  89381. t2 = $async$self.mergedQueries;
  89382. if (t2 == null)
  89383. t2 = $async$self.node.queries;
  89384. $async$goto = 2;
  89385. 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);
  89386. case 2:
  89387. // returning from await.
  89388. // implicit return
  89389. return A._asyncReturn(null, $async$completer);
  89390. }
  89391. });
  89392. return A._asyncStartSync($async$call$0, $async$completer);
  89393. },
  89394. $signature: 2
  89395. };
  89396. A._EvaluateVisitor_visitCssMediaRule__closure2.prototype = {
  89397. call$0() {
  89398. var $async$goto = 0,
  89399. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  89400. $async$self = this, t2, t3, t4, t1, _0_0;
  89401. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  89402. if ($async$errorCode === 1)
  89403. return A._asyncRethrow($async$result, $async$completer);
  89404. while (true)
  89405. switch ($async$goto) {
  89406. case 0:
  89407. // Function start
  89408. t1 = $async$self.$this;
  89409. _0_0 = t1._async_evaluate0$_atRootExcludingStyleRule ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
  89410. $async$goto = _0_0 != null ? 2 : 4;
  89411. break;
  89412. case 2:
  89413. // then
  89414. $async$goto = 5;
  89415. 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);
  89416. case 5:
  89417. // returning from await.
  89418. // goto join
  89419. $async$goto = 3;
  89420. break;
  89421. case 4:
  89422. // else
  89423. 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");
  89424. case 6:
  89425. // for condition
  89426. if (!t2.moveNext$0()) {
  89427. // goto after for
  89428. $async$goto = 7;
  89429. break;
  89430. }
  89431. t4 = t2.__internal$_current;
  89432. $async$goto = 8;
  89433. return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t1), $async$call$0);
  89434. case 8:
  89435. // returning from await.
  89436. // goto for condition
  89437. $async$goto = 6;
  89438. break;
  89439. case 7:
  89440. // after for
  89441. case 3:
  89442. // join
  89443. // implicit return
  89444. return A._asyncReturn(null, $async$completer);
  89445. }
  89446. });
  89447. return A._asyncStartSync($async$call$0, $async$completer);
  89448. },
  89449. $signature: 2
  89450. };
  89451. A._EvaluateVisitor_visitCssMediaRule___closure2.prototype = {
  89452. call$0() {
  89453. var $async$goto = 0,
  89454. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  89455. $async$self = this, t1, t2, t3, t4;
  89456. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  89457. if ($async$errorCode === 1)
  89458. return A._asyncRethrow($async$result, $async$completer);
  89459. while (true)
  89460. switch ($async$goto) {
  89461. case 0:
  89462. // Function start
  89463. 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");
  89464. case 2:
  89465. // for condition
  89466. if (!t1.moveNext$0()) {
  89467. // goto after for
  89468. $async$goto = 3;
  89469. break;
  89470. }
  89471. t4 = t1.__internal$_current;
  89472. $async$goto = 4;
  89473. return A._asyncAwait((t4 == null ? t2._as(t4) : t4).accept$1(t3), $async$call$0);
  89474. case 4:
  89475. // returning from await.
  89476. // goto for condition
  89477. $async$goto = 2;
  89478. break;
  89479. case 3:
  89480. // after for
  89481. // implicit return
  89482. return A._asyncReturn(null, $async$completer);
  89483. }
  89484. });
  89485. return A._asyncStartSync($async$call$0, $async$completer);
  89486. },
  89487. $signature: 2
  89488. };
  89489. A._EvaluateVisitor_visitCssMediaRule_closure10.prototype = {
  89490. call$1(node) {
  89491. var t1;
  89492. if (!(node instanceof A.ModifiableCssStyleRule0)) {
  89493. t1 = this.mergedSources;
  89494. t1 = t1.get$isNotEmpty(t1) && node instanceof A.ModifiableCssMediaRule0 && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  89495. } else
  89496. t1 = true;
  89497. return t1;
  89498. },
  89499. $signature: 8
  89500. };
  89501. A._EvaluateVisitor_visitCssStyleRule_closure6.prototype = {
  89502. call$0() {
  89503. var $async$goto = 0,
  89504. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  89505. $async$self = this, t1;
  89506. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  89507. if ($async$errorCode === 1)
  89508. return A._asyncRethrow($async$result, $async$completer);
  89509. while (true)
  89510. switch ($async$goto) {
  89511. case 0:
  89512. // Function start
  89513. t1 = $async$self.$this;
  89514. $async$goto = 2;
  89515. 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);
  89516. case 2:
  89517. // returning from await.
  89518. // implicit return
  89519. return A._asyncReturn(null, $async$completer);
  89520. }
  89521. });
  89522. return A._asyncStartSync($async$call$0, $async$completer);
  89523. },
  89524. $signature: 2
  89525. };
  89526. A._EvaluateVisitor_visitCssStyleRule__closure2.prototype = {
  89527. call$0() {
  89528. var $async$goto = 0,
  89529. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  89530. $async$self = this, t1, t2, t3, t4;
  89531. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  89532. if ($async$errorCode === 1)
  89533. return A._asyncRethrow($async$result, $async$completer);
  89534. while (true)
  89535. switch ($async$goto) {
  89536. case 0:
  89537. // Function start
  89538. 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");
  89539. case 2:
  89540. // for condition
  89541. if (!t1.moveNext$0()) {
  89542. // goto after for
  89543. $async$goto = 3;
  89544. break;
  89545. }
  89546. t4 = t1.__internal$_current;
  89547. $async$goto = 4;
  89548. return A._asyncAwait((t4 == null ? t2._as(t4) : t4).accept$1(t3), $async$call$0);
  89549. case 4:
  89550. // returning from await.
  89551. // goto for condition
  89552. $async$goto = 2;
  89553. break;
  89554. case 3:
  89555. // after for
  89556. // implicit return
  89557. return A._asyncReturn(null, $async$completer);
  89558. }
  89559. });
  89560. return A._asyncStartSync($async$call$0, $async$completer);
  89561. },
  89562. $signature: 2
  89563. };
  89564. A._EvaluateVisitor_visitCssStyleRule_closure5.prototype = {
  89565. call$1(node) {
  89566. return node instanceof A.ModifiableCssStyleRule0;
  89567. },
  89568. $signature: 8
  89569. };
  89570. A._EvaluateVisitor_visitCssSupportsRule_closure5.prototype = {
  89571. call$0() {
  89572. var $async$goto = 0,
  89573. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  89574. $async$self = this, t2, t3, t4, t1, _0_0;
  89575. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  89576. if ($async$errorCode === 1)
  89577. return A._asyncRethrow($async$result, $async$completer);
  89578. while (true)
  89579. switch ($async$goto) {
  89580. case 0:
  89581. // Function start
  89582. t1 = $async$self.$this;
  89583. _0_0 = t1._async_evaluate0$_atRootExcludingStyleRule ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
  89584. $async$goto = _0_0 != null ? 2 : 4;
  89585. break;
  89586. case 2:
  89587. // then
  89588. $async$goto = 5;
  89589. 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);
  89590. case 5:
  89591. // returning from await.
  89592. // goto join
  89593. $async$goto = 3;
  89594. break;
  89595. case 4:
  89596. // else
  89597. 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");
  89598. case 6:
  89599. // for condition
  89600. if (!t2.moveNext$0()) {
  89601. // goto after for
  89602. $async$goto = 7;
  89603. break;
  89604. }
  89605. t4 = t2.__internal$_current;
  89606. $async$goto = 8;
  89607. return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t1), $async$call$0);
  89608. case 8:
  89609. // returning from await.
  89610. // goto for condition
  89611. $async$goto = 6;
  89612. break;
  89613. case 7:
  89614. // after for
  89615. case 3:
  89616. // join
  89617. // implicit return
  89618. return A._asyncReturn(null, $async$completer);
  89619. }
  89620. });
  89621. return A._asyncStartSync($async$call$0, $async$completer);
  89622. },
  89623. $signature: 2
  89624. };
  89625. A._EvaluateVisitor_visitCssSupportsRule__closure2.prototype = {
  89626. call$0() {
  89627. var $async$goto = 0,
  89628. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  89629. $async$self = this, t1, t2, t3, t4;
  89630. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  89631. if ($async$errorCode === 1)
  89632. return A._asyncRethrow($async$result, $async$completer);
  89633. while (true)
  89634. switch ($async$goto) {
  89635. case 0:
  89636. // Function start
  89637. 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");
  89638. case 2:
  89639. // for condition
  89640. if (!t1.moveNext$0()) {
  89641. // goto after for
  89642. $async$goto = 3;
  89643. break;
  89644. }
  89645. t4 = t1.__internal$_current;
  89646. $async$goto = 4;
  89647. return A._asyncAwait((t4 == null ? t2._as(t4) : t4).accept$1(t3), $async$call$0);
  89648. case 4:
  89649. // returning from await.
  89650. // goto for condition
  89651. $async$goto = 2;
  89652. break;
  89653. case 3:
  89654. // after for
  89655. // implicit return
  89656. return A._asyncReturn(null, $async$completer);
  89657. }
  89658. });
  89659. return A._asyncStartSync($async$call$0, $async$completer);
  89660. },
  89661. $signature: 2
  89662. };
  89663. A._EvaluateVisitor_visitCssSupportsRule_closure6.prototype = {
  89664. call$1(node) {
  89665. return node instanceof A.ModifiableCssStyleRule0;
  89666. },
  89667. $signature: 8
  89668. };
  89669. A._EvaluateVisitor__performInterpolationHelper_closure2.prototype = {
  89670. call$1(targetLocations) {
  89671. return A.InterpolationMap$0(this.interpolation, targetLocations);
  89672. },
  89673. $signature: 219
  89674. };
  89675. A._EvaluateVisitor__serialize_closure2.prototype = {
  89676. call$0() {
  89677. return A.serializeValue0(this.value, false, this.quote);
  89678. },
  89679. $signature: 25
  89680. };
  89681. A._EvaluateVisitor__expressionNode_closure2.prototype = {
  89682. call$0() {
  89683. var t1 = this.expression;
  89684. return this.$this._async_evaluate0$_environment.getVariableNode$2$namespace(t1.name, t1.namespace);
  89685. },
  89686. $signature: 218
  89687. };
  89688. A._EvaluateVisitor__withoutSlash_recommendation2.prototype = {
  89689. call$1(number) {
  89690. var t1, before, after,
  89691. _1_0 = number.asSlash;
  89692. $label0$0: {
  89693. if (type$.Record_2_nullable_Object_and_nullable_Object._is(_1_0)) {
  89694. t1 = type$.SassNumber_2;
  89695. before = t1._as(_1_0._0);
  89696. after = t1._as(_1_0._1);
  89697. t1 = "math.div(" + A.S(this.call$1(before)) + ", " + A.S(this.call$1(after)) + ")";
  89698. break $label0$0;
  89699. }
  89700. t1 = A.serializeValue0(number, true, true);
  89701. break $label0$0;
  89702. }
  89703. return t1;
  89704. },
  89705. $signature: 217
  89706. };
  89707. A._EvaluateVisitor__stackFrame_closure2.prototype = {
  89708. call$1(url) {
  89709. var t1 = this.$this._async_evaluate0$_importCache;
  89710. t1 = t1 == null ? null : t1.humanize$1(url);
  89711. return t1 == null ? url : t1;
  89712. },
  89713. $signature: 46
  89714. };
  89715. A._ImportedCssVisitor2.prototype = {
  89716. visitCssAtRule$1(node) {
  89717. var t1 = node.isChildless ? null : new A._ImportedCssVisitor_visitCssAtRule_closure2();
  89718. this._async_evaluate0$_visitor._async_evaluate0$_addChild$2$through(node, t1);
  89719. },
  89720. visitCssComment$1(node) {
  89721. return this._async_evaluate0$_visitor._async_evaluate0$_addChild$1(node);
  89722. },
  89723. visitCssDeclaration$1(node) {
  89724. },
  89725. visitCssImport$1(node) {
  89726. var t2,
  89727. _s13_ = "_endOfImports",
  89728. t1 = this._async_evaluate0$_visitor;
  89729. if (t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__parent, "__parent") !== t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__root, "_root"))
  89730. t1._async_evaluate0$_addChild$1(node);
  89731. 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)) {
  89732. t1._async_evaluate0$_addChild$1(node);
  89733. t1._async_evaluate0$__endOfImports = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__endOfImports, _s13_) + 1;
  89734. } else {
  89735. t2 = t1._async_evaluate0$_outOfOrderImports;
  89736. (t2 == null ? t1._async_evaluate0$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport_2) : t2).push(node);
  89737. }
  89738. },
  89739. visitCssKeyframeBlock$1(node) {
  89740. },
  89741. visitCssMediaRule$1(node) {
  89742. var t1 = this._async_evaluate0$_visitor,
  89743. mediaQueries = t1._async_evaluate0$_mediaQueries;
  89744. t1._async_evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssMediaRule_closure2(mediaQueries == null || t1._async_evaluate0$_mergeMediaQueries$2(mediaQueries, node.queries) != null));
  89745. },
  89746. visitCssStyleRule$1(node) {
  89747. return this._async_evaluate0$_visitor._async_evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssStyleRule_closure2());
  89748. },
  89749. visitCssStylesheet$1(node) {
  89750. var t1, t2, t3;
  89751. 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();) {
  89752. t3 = t1.__internal$_current;
  89753. (t3 == null ? t2._as(t3) : t3).accept$1(this);
  89754. }
  89755. },
  89756. visitCssSupportsRule$1(node) {
  89757. return this._async_evaluate0$_visitor._async_evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssSupportsRule_closure2());
  89758. }
  89759. };
  89760. A._ImportedCssVisitor_visitCssAtRule_closure2.prototype = {
  89761. call$1(node) {
  89762. return node instanceof A.ModifiableCssStyleRule0;
  89763. },
  89764. $signature: 8
  89765. };
  89766. A._ImportedCssVisitor_visitCssMediaRule_closure2.prototype = {
  89767. call$1(node) {
  89768. var t1;
  89769. if (!(node instanceof A.ModifiableCssStyleRule0))
  89770. t1 = this.hasBeenMerged && node instanceof A.ModifiableCssMediaRule0;
  89771. else
  89772. t1 = true;
  89773. return t1;
  89774. },
  89775. $signature: 8
  89776. };
  89777. A._ImportedCssVisitor_visitCssStyleRule_closure2.prototype = {
  89778. call$1(node) {
  89779. return node instanceof A.ModifiableCssStyleRule0;
  89780. },
  89781. $signature: 8
  89782. };
  89783. A._ImportedCssVisitor_visitCssSupportsRule_closure2.prototype = {
  89784. call$1(node) {
  89785. return node instanceof A.ModifiableCssStyleRule0;
  89786. },
  89787. $signature: 8
  89788. };
  89789. A._EvaluationContext2.prototype = {
  89790. get$currentCallableSpan() {
  89791. var _0_0 = this._async_evaluate0$_visitor._async_evaluate0$_callableNode;
  89792. if (_0_0 != null)
  89793. return _0_0.get$span(_0_0);
  89794. throw A.wrapException(A.StateError$(string$.No_Sasc));
  89795. },
  89796. warn$2(_, message, deprecation) {
  89797. var t1 = this._async_evaluate0$_visitor,
  89798. t2 = t1._async_evaluate0$_importSpan;
  89799. if (t2 == null) {
  89800. t2 = t1._async_evaluate0$_callableNode;
  89801. t2 = t2 == null ? null : t2.get$span(t2);
  89802. }
  89803. t1._async_evaluate0$_warn$3(message, t2 == null ? this._async_evaluate0$_defaultWarnNodeWithSpan.span : t2, deprecation);
  89804. },
  89805. $isEvaluationContext0: 1
  89806. };
  89807. A.JSToDartAsyncFileImporter.prototype = {
  89808. canonicalize$1(_, url) {
  89809. return this.canonicalize$body$JSToDartAsyncFileImporter(0, url);
  89810. },
  89811. canonicalize$body$JSToDartAsyncFileImporter(_, url) {
  89812. var $async$goto = 0,
  89813. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Uri),
  89814. $async$returnValue, $async$self = this, result, t1, resultUrl;
  89815. var $async$canonicalize$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  89816. if ($async$errorCode === 1)
  89817. return A._asyncRethrow($async$result, $async$completer);
  89818. while (true)
  89819. switch ($async$goto) {
  89820. case 0:
  89821. // Function start
  89822. if (url.get$scheme() === "file") {
  89823. $async$returnValue = $.$get$FilesystemImporter_cwd0().canonicalize$1(0, url);
  89824. // goto return
  89825. $async$goto = 1;
  89826. break;
  89827. }
  89828. result = A.wrapJSExceptions(new A.JSToDartAsyncFileImporter_canonicalize_closure($async$self, url));
  89829. $async$goto = result != null && result instanceof self.Promise ? 3 : 4;
  89830. break;
  89831. case 3:
  89832. // then
  89833. $async$goto = 5;
  89834. return A._asyncAwait(A.promiseToFuture(type$.Promise._as(result), type$.nullable_Object), $async$canonicalize$1);
  89835. case 5:
  89836. // returning from await.
  89837. result = $async$result;
  89838. case 4:
  89839. // join
  89840. if (result == null) {
  89841. $async$returnValue = null;
  89842. // goto return
  89843. $async$goto = 1;
  89844. break;
  89845. }
  89846. t1 = self.URL;
  89847. if (!(result instanceof t1))
  89848. A.jsThrow(new self.Error(string$.The_fie));
  89849. resultUrl = A.Uri_parse(J.toString$0$(type$.JSUrl._as(result)));
  89850. if (resultUrl.get$scheme() !== "file")
  89851. A.jsThrow(new self.Error(string$.The_fiu + url.toString$0(0) + '".'));
  89852. $async$returnValue = $.$get$FilesystemImporter_cwd0().canonicalize$1(0, resultUrl);
  89853. // goto return
  89854. $async$goto = 1;
  89855. break;
  89856. case 1:
  89857. // return
  89858. return A._asyncReturn($async$returnValue, $async$completer);
  89859. }
  89860. });
  89861. return A._asyncStartSync($async$canonicalize$1, $async$completer);
  89862. },
  89863. load$1(_, url) {
  89864. return $.$get$FilesystemImporter_cwd0().load$1(0, url);
  89865. },
  89866. isNonCanonicalScheme$1(scheme) {
  89867. return scheme !== "file";
  89868. }
  89869. };
  89870. A.JSToDartAsyncFileImporter_canonicalize_closure.prototype = {
  89871. call$0() {
  89872. return this.$this._findFileUrl.call$2(this.url.toString$0(0), A.canonicalizeContext0());
  89873. },
  89874. $signature: 31
  89875. };
  89876. A.AsyncImportCache0.prototype = {
  89877. canonicalize$4$baseImporter$baseUrl$forImport(_, url, baseImporter, baseUrl, forImport) {
  89878. return this.canonicalize$body$AsyncImportCache0(0, url, baseImporter, baseUrl, forImport);
  89879. },
  89880. canonicalize$body$AsyncImportCache0(_, url, baseImporter, baseUrl, forImport) {
  89881. var $async$goto = 0,
  89882. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2),
  89883. $async$returnValue, $async$self = this, t1, resolvedUrl, key, relativeResult, t2, t3, t4, t5, t6, cacheable, i, importer, perImporterKey, t7, _1_0, _1_2_isSet, _1_2, result, _2_0, _2_1, _2_5_isSet, _2_3, _2_5, _2_3_isSet, j;
  89884. var $async$canonicalize$4$baseImporter$baseUrl$forImport = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  89885. if ($async$errorCode === 1)
  89886. return A._asyncRethrow($async$result, $async$completer);
  89887. while (true)
  89888. switch ($async$goto) {
  89889. case 0:
  89890. // Function start
  89891. if (A.isBrowser())
  89892. t1 = (baseImporter == null || baseImporter instanceof A.NoOpImporter0) && $async$self._async_import_cache0$_importers.length === 0;
  89893. else
  89894. t1 = false;
  89895. if (t1)
  89896. throw A.wrapException(string$.Custom);
  89897. $async$goto = baseImporter != null && url.get$scheme() === "" ? 3 : 4;
  89898. break;
  89899. case 3:
  89900. // then
  89901. resolvedUrl = baseUrl == null ? null : baseUrl.resolveUri$1(url);
  89902. if (resolvedUrl == null)
  89903. resolvedUrl = url;
  89904. key = new A._Record_3_forImport(baseImporter, resolvedUrl, forImport);
  89905. $async$goto = 5;
  89906. 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);
  89907. case 5:
  89908. // returning from await.
  89909. relativeResult = $async$result;
  89910. if (relativeResult != null) {
  89911. $async$returnValue = relativeResult;
  89912. // goto return
  89913. $async$goto = 1;
  89914. break;
  89915. }
  89916. case 4:
  89917. // join
  89918. key = new A._Record_2_forImport(url, forImport);
  89919. t1 = $async$self._async_import_cache0$_canonicalizeCache;
  89920. if (t1.containsKey$1(key)) {
  89921. $async$returnValue = t1.$index(0, key);
  89922. // goto return
  89923. $async$goto = 1;
  89924. break;
  89925. }
  89926. 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;
  89927. case 6:
  89928. // for condition
  89929. if (!(i < t2.length)) {
  89930. // goto after for
  89931. $async$goto = 8;
  89932. break;
  89933. }
  89934. importer = t2[i];
  89935. perImporterKey = new A._Record_3_forImport(importer, url, forImport);
  89936. if (t4.containsKey$1(perImporterKey)) {
  89937. t7 = t4.$index(0, perImporterKey);
  89938. _1_0 = new A._Record_1(t7 == null ? t5._as(t7) : t7);
  89939. } else
  89940. _1_0 = null;
  89941. _1_2_isSet = t3._is(_1_0);
  89942. if (_1_2_isSet) {
  89943. _1_2 = _1_0._0;
  89944. t7 = _1_2 != null;
  89945. if (t7) {
  89946. t6._as(_1_2);
  89947. result = _1_2;
  89948. } else
  89949. result = null;
  89950. } else {
  89951. _1_2 = null;
  89952. result = null;
  89953. t7 = false;
  89954. }
  89955. if (t7) {
  89956. $async$returnValue = result;
  89957. // goto return
  89958. $async$goto = 1;
  89959. break;
  89960. }
  89961. if (_1_2_isSet)
  89962. t7 = _1_2 == null;
  89963. else
  89964. t7 = false;
  89965. if (t7) {
  89966. // goto for update
  89967. $async$goto = 7;
  89968. break;
  89969. }
  89970. $async$goto = 10;
  89971. return A._asyncAwait($async$self._async_import_cache0$_canonicalize$4(importer, url, baseUrl, forImport), $async$canonicalize$4$baseImporter$baseUrl$forImport);
  89972. case 10:
  89973. // returning from await.
  89974. _2_0 = $async$result;
  89975. _2_1 = _2_0._0;
  89976. _2_5_isSet = _2_1 != null;
  89977. if (_2_5_isSet) {
  89978. result = _2_1 == null ? t6._as(_2_1) : _2_1;
  89979. _2_3 = _2_0._1;
  89980. t7 = _2_3;
  89981. _2_5 = t7;
  89982. t7 = t7 && cacheable;
  89983. } else {
  89984. _2_5 = null;
  89985. _2_3 = null;
  89986. result = null;
  89987. t7 = false;
  89988. }
  89989. if (t7) {
  89990. t1.$indexSet(0, key, result);
  89991. $async$returnValue = result;
  89992. // goto return
  89993. $async$goto = 1;
  89994. break;
  89995. }
  89996. if (_2_5_isSet) {
  89997. t7 = _2_5;
  89998. _2_3_isSet = _2_5_isSet;
  89999. } else {
  90000. _2_3 = _2_0._1;
  90001. t7 = _2_3;
  90002. _2_3_isSet = true;
  90003. }
  90004. t7 = t7 && !cacheable;
  90005. if (t7) {
  90006. t4.$indexSet(0, perImporterKey, _2_1);
  90007. if (_2_1 != null) {
  90008. $async$returnValue = _2_1;
  90009. // goto return
  90010. $async$goto = 1;
  90011. break;
  90012. }
  90013. // goto break $label0$1
  90014. $async$goto = 9;
  90015. break;
  90016. }
  90017. t7 = false === (_2_3_isSet ? _2_3 : _2_0._1);
  90018. if (t7) {
  90019. if (cacheable) {
  90020. for (j = 0; j < i; ++j)
  90021. t4.$indexSet(0, new A._Record_3_forImport(t2[j], url, forImport), null);
  90022. cacheable = false;
  90023. }
  90024. if (_2_1 != null) {
  90025. $async$returnValue = _2_1;
  90026. // goto return
  90027. $async$goto = 1;
  90028. break;
  90029. }
  90030. }
  90031. case 9:
  90032. // break $label0$1
  90033. case 7:
  90034. // for update
  90035. ++i;
  90036. // goto for condition
  90037. $async$goto = 6;
  90038. break;
  90039. case 8:
  90040. // after for
  90041. if (cacheable)
  90042. t1.$indexSet(0, key, null);
  90043. $async$returnValue = null;
  90044. // goto return
  90045. $async$goto = 1;
  90046. break;
  90047. case 1:
  90048. // return
  90049. return A._asyncReturn($async$returnValue, $async$completer);
  90050. }
  90051. });
  90052. return A._asyncStartSync($async$canonicalize$4$baseImporter$baseUrl$forImport, $async$completer);
  90053. },
  90054. _async_import_cache0$_canonicalize$4(importer, url, baseUrl, forImport) {
  90055. return this._canonicalize$body$AsyncImportCache0(importer, url, baseUrl, forImport);
  90056. },
  90057. _canonicalize$body$AsyncImportCache0(importer, url, baseUrl, forImport) {
  90058. var $async$goto = 0,
  90059. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_and_bool_2),
  90060. $async$returnValue, $async$self = this, t1, passContainingUrl, canonicalizeContext, result, cacheable;
  90061. var $async$_async_import_cache0$_canonicalize$4 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90062. if ($async$errorCode === 1)
  90063. return A._asyncRethrow($async$result, $async$completer);
  90064. while (true)
  90065. switch ($async$goto) {
  90066. case 0:
  90067. // Function start
  90068. $async$goto = baseUrl != null ? 3 : 5;
  90069. break;
  90070. case 3:
  90071. // then
  90072. $async$goto = url.get$scheme() !== "" ? 6 : 8;
  90073. break;
  90074. case 6:
  90075. // then
  90076. t1 = A._Future$value(importer.isNonCanonicalScheme$1(url.get$scheme()), type$.bool);
  90077. $async$goto = 9;
  90078. return A._asyncAwait(t1, $async$_async_import_cache0$_canonicalize$4);
  90079. case 9:
  90080. // returning from await.
  90081. t1 = $async$result;
  90082. passContainingUrl = t1;
  90083. // goto join
  90084. $async$goto = 7;
  90085. break;
  90086. case 8:
  90087. // else
  90088. passContainingUrl = true;
  90089. case 7:
  90090. // join
  90091. // goto join
  90092. $async$goto = 4;
  90093. break;
  90094. case 5:
  90095. // else
  90096. passContainingUrl = false;
  90097. case 4:
  90098. // join
  90099. canonicalizeContext = new A.CanonicalizeContext0(forImport, passContainingUrl ? baseUrl : null);
  90100. t1 = type$.nullable_Object;
  90101. t1 = A.runZoned(new A.AsyncImportCache__canonicalize_closure0(importer, url), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__canonicalizeContext, canonicalizeContext], t1, t1), type$.FutureOr_nullable_Uri);
  90102. $async$goto = 10;
  90103. return A._asyncAwait(type$.Future_nullable_Uri._is(t1) ? t1 : A._Future$value(t1, type$.nullable_Uri), $async$_async_import_cache0$_canonicalize$4);
  90104. case 10:
  90105. // returning from await.
  90106. result = $async$result;
  90107. cacheable = !passContainingUrl || !canonicalizeContext._canonicalize_context$_wasContainingUrlAccessed;
  90108. if (result == null) {
  90109. $async$returnValue = new A._Record_2(null, cacheable);
  90110. // goto return
  90111. $async$goto = 1;
  90112. break;
  90113. }
  90114. $async$goto = result.get$scheme() === "" ? 11 : 13;
  90115. break;
  90116. case 11:
  90117. // then
  90118. A.WarnForDeprecation_warnForDeprecation0($async$self._async_import_cache0$_logger, B.Deprecation_jBa, "Importer " + importer.toString$0(0) + " canonicalized " + url.toString$0(0) + " to " + result.toString$0(0) + string$.x2e_Rela, null, null);
  90119. // goto join
  90120. $async$goto = 12;
  90121. break;
  90122. case 13:
  90123. // else
  90124. t1 = A._Future$value(importer.isNonCanonicalScheme$1(result.get$scheme()), type$.bool);
  90125. $async$goto = 14;
  90126. return A._asyncAwait(t1, $async$_async_import_cache0$_canonicalize$4);
  90127. case 14:
  90128. // returning from await.
  90129. if ($async$result)
  90130. throw A.wrapException("Importer " + importer.toString$0(0) + " canonicalized " + url.toString$0(0) + " to " + result.toString$0(0) + string$.x2c_whicu);
  90131. case 12:
  90132. // join
  90133. $async$returnValue = new A._Record_2(new A._Record_3_originalUrl(importer, result, url), cacheable);
  90134. // goto return
  90135. $async$goto = 1;
  90136. break;
  90137. case 1:
  90138. // return
  90139. return A._asyncReturn($async$returnValue, $async$completer);
  90140. }
  90141. });
  90142. return A._asyncStartSync($async$_async_import_cache0$_canonicalize$4, $async$completer);
  90143. },
  90144. importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, quiet) {
  90145. return this.importCanonical$body$AsyncImportCache0(importer, canonicalUrl, originalUrl, quiet);
  90146. },
  90147. importCanonical$3$originalUrl(importer, canonicalUrl, originalUrl) {
  90148. return this.importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, false);
  90149. },
  90150. importCanonical$body$AsyncImportCache0(importer, canonicalUrl, originalUrl, quiet) {
  90151. var $async$goto = 0,
  90152. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Stylesheet_2),
  90153. $async$returnValue, $async$self = this;
  90154. var $async$importCanonical$4$originalUrl$quiet = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90155. if ($async$errorCode === 1)
  90156. return A._asyncRethrow($async$result, $async$completer);
  90157. while (true)
  90158. switch ($async$goto) {
  90159. case 0:
  90160. // Function start
  90161. $async$goto = 3;
  90162. return A._asyncAwait(A.putIfAbsentAsync0($async$self._async_import_cache0$_importCache, canonicalUrl, new A.AsyncImportCache_importCanonical_closure0($async$self, importer, canonicalUrl, originalUrl, quiet), type$.Uri, type$.nullable_Stylesheet_2), $async$importCanonical$4$originalUrl$quiet);
  90163. case 3:
  90164. // returning from await.
  90165. $async$returnValue = $async$result;
  90166. // goto return
  90167. $async$goto = 1;
  90168. break;
  90169. case 1:
  90170. // return
  90171. return A._asyncReturn($async$returnValue, $async$completer);
  90172. }
  90173. });
  90174. return A._asyncStartSync($async$importCanonical$4$originalUrl$quiet, $async$completer);
  90175. },
  90176. humanize$1(canonicalUrl) {
  90177. var t1 = A.IterableNullableExtension_whereNotNull(this._async_import_cache0$_canonicalizeCache.get$values(0), type$.Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2),
  90178. t2 = t1.$ti;
  90179. t2 = A.NullableExtension_andThen0(A.minBy(new A.MappedIterable(new A.WhereIterable(t1, 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));
  90180. return t2 == null ? canonicalUrl : t2;
  90181. },
  90182. sourceMapUrl$1(_, canonicalUrl) {
  90183. var t1 = this._async_import_cache0$_resultsCache.$index(0, canonicalUrl);
  90184. t1 = t1 == null ? null : t1.get$sourceMapUrl(0);
  90185. return t1 == null ? canonicalUrl : t1;
  90186. }
  90187. };
  90188. A.AsyncImportCache_canonicalize_closure0.prototype = {
  90189. call$0() {
  90190. var $async$goto = 0,
  90191. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2),
  90192. $async$returnValue, $async$self = this, t1, t2, _0_0, result;
  90193. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90194. if ($async$errorCode === 1)
  90195. return A._asyncRethrow($async$result, $async$completer);
  90196. while (true)
  90197. switch ($async$goto) {
  90198. case 0:
  90199. // Function start
  90200. t1 = $async$self.$this;
  90201. t2 = $async$self.baseUrl;
  90202. $async$goto = 3;
  90203. return A._asyncAwait(t1._async_import_cache0$_canonicalize$4($async$self.baseImporter, $async$self.resolvedUrl, t2, $async$self.forImport), $async$call$0);
  90204. case 3:
  90205. // returning from await.
  90206. _0_0 = $async$result;
  90207. result = _0_0._0;
  90208. _0_0._1;
  90209. if (t2 != null)
  90210. t1._async_import_cache0$_nonCanonicalRelativeUrls.$indexSet(0, $async$self.key, $async$self.url);
  90211. $async$returnValue = result;
  90212. // goto return
  90213. $async$goto = 1;
  90214. break;
  90215. case 1:
  90216. // return
  90217. return A._asyncReturn($async$returnValue, $async$completer);
  90218. }
  90219. });
  90220. return A._asyncStartSync($async$call$0, $async$completer);
  90221. },
  90222. $signature: 355
  90223. };
  90224. A.AsyncImportCache__canonicalize_closure0.prototype = {
  90225. call$0() {
  90226. return this.importer.canonicalize$1(0, this.url);
  90227. },
  90228. $signature: 187
  90229. };
  90230. A.AsyncImportCache_importCanonical_closure0.prototype = {
  90231. call$0() {
  90232. var $async$goto = 0,
  90233. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Stylesheet_2),
  90234. $async$returnValue, $async$self = this, t3, t4, t1, t2, result;
  90235. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90236. if ($async$errorCode === 1)
  90237. return A._asyncRethrow($async$result, $async$completer);
  90238. while (true)
  90239. switch ($async$goto) {
  90240. case 0:
  90241. // Function start
  90242. t1 = $async$self.canonicalUrl;
  90243. t2 = $async$self.importer.load$1(0, t1);
  90244. $async$goto = 3;
  90245. return A._asyncAwait(type$.Future_nullable_ImporterResult._is(t2) ? t2 : A._Future$value(t2, type$.nullable_ImporterResult_2), $async$call$0);
  90246. case 3:
  90247. // returning from await.
  90248. result = $async$result;
  90249. if (result == null) {
  90250. $async$returnValue = null;
  90251. // goto return
  90252. $async$goto = 1;
  90253. break;
  90254. }
  90255. t2 = $async$self.$this;
  90256. t2._async_import_cache0$_resultsCache.$indexSet(0, t1, result);
  90257. t3 = result.contents;
  90258. t4 = result.syntax;
  90259. t1 = $async$self.originalUrl.resolveUri$1(t1);
  90260. $async$returnValue = A.Stylesheet_Stylesheet$parse0(t3, t4, $async$self.quiet ? $.$get$Logger_quiet0() : t2._async_import_cache0$_logger, t1);
  90261. // goto return
  90262. $async$goto = 1;
  90263. break;
  90264. case 1:
  90265. // return
  90266. return A._asyncReturn($async$returnValue, $async$completer);
  90267. }
  90268. });
  90269. return A._asyncStartSync($async$call$0, $async$completer);
  90270. },
  90271. $signature: 356
  90272. };
  90273. A.AsyncImportCache_humanize_closure3.prototype = {
  90274. call$1(result) {
  90275. return J.$eq$(result._1, this.canonicalUrl);
  90276. },
  90277. $signature: 357
  90278. };
  90279. A.AsyncImportCache_humanize_closure4.prototype = {
  90280. call$1(result) {
  90281. return result._2;
  90282. },
  90283. $signature: 358
  90284. };
  90285. A.AsyncImportCache_humanize_closure5.prototype = {
  90286. call$1(url) {
  90287. return url.get$path(url).length;
  90288. },
  90289. $signature: 85
  90290. };
  90291. A.AsyncImportCache_humanize_closure6.prototype = {
  90292. call$1(url) {
  90293. var t1 = $.$get$url(),
  90294. t2 = this.canonicalUrl;
  90295. return url.resolve$1(0, A.ParsedPath_ParsedPath$parse(t2.get$path(t2), t1.style).get$basename());
  90296. },
  90297. $signature: 46
  90298. };
  90299. A.AtRootQueryParser0.prototype = {
  90300. parse$0() {
  90301. return this.wrapSpanFormatException$1(new A.AtRootQueryParser_parse_closure0(this));
  90302. }
  90303. };
  90304. A.AtRootQueryParser_parse_closure0.prototype = {
  90305. call$0() {
  90306. var include, atRules,
  90307. t1 = this.$this,
  90308. t2 = t1.scanner;
  90309. t2.expectChar$1(40);
  90310. t1.whitespace$0();
  90311. include = t1.scanIdentifier$1("with");
  90312. if (!include)
  90313. t1.expectIdentifier$2$name("without", '"with" or "without"');
  90314. t1.whitespace$0();
  90315. t2.expectChar$1(58);
  90316. t1.whitespace$0();
  90317. atRules = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
  90318. do {
  90319. atRules.add$1(0, t1.identifier$0().toLowerCase());
  90320. t1.whitespace$0();
  90321. } while (t1.lookingAtIdentifier$0());
  90322. t2.expectChar$1(41);
  90323. t2.expectDone$0();
  90324. return new A.AtRootQuery0(include, atRules, atRules.contains$1(0, "all"), atRules.contains$1(0, "rule"));
  90325. },
  90326. $signature: 359
  90327. };
  90328. A.AtRootQuery0.prototype = {
  90329. excludes$1(node) {
  90330. var t1, _this = this;
  90331. if (_this._at_root_query0$_all)
  90332. return !_this.include;
  90333. $label0$0: {
  90334. if (node instanceof A.ModifiableCssStyleRule0) {
  90335. t1 = _this._at_root_query0$_rule !== _this.include;
  90336. break $label0$0;
  90337. }
  90338. if (node instanceof A.ModifiableCssMediaRule0) {
  90339. t1 = _this.excludesName$1("media");
  90340. break $label0$0;
  90341. }
  90342. if (node instanceof A.ModifiableCssSupportsRule0) {
  90343. t1 = _this.excludesName$1("supports");
  90344. break $label0$0;
  90345. }
  90346. if (node instanceof A.ModifiableCssAtRule0) {
  90347. t1 = _this.excludesName$1(node.name.value.toLowerCase());
  90348. break $label0$0;
  90349. }
  90350. t1 = false;
  90351. break $label0$0;
  90352. }
  90353. return t1;
  90354. },
  90355. excludesName$1($name) {
  90356. var t1 = this._at_root_query0$_all || this.names.contains$1(0, $name);
  90357. return t1 !== this.include;
  90358. }
  90359. };
  90360. A.AtRootRule0.prototype = {
  90361. accept$1$1(visitor) {
  90362. return visitor.visitAtRootRule$1(this);
  90363. },
  90364. accept$1(visitor) {
  90365. return this.accept$1$1(visitor, type$.dynamic);
  90366. },
  90367. toString$0(_) {
  90368. var buffer = new A.StringBuffer("@at-root "),
  90369. t1 = this.query;
  90370. if (t1 != null)
  90371. buffer._contents = "@at-root " + (t1.toString$0(0) + " ");
  90372. t1 = this.children;
  90373. return buffer.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  90374. },
  90375. get$span(receiver) {
  90376. return this.span;
  90377. }
  90378. };
  90379. A.ModifiableCssAtRule0.prototype = {
  90380. accept$1$1(visitor) {
  90381. return visitor.visitCssAtRule$1(this);
  90382. },
  90383. accept$1(visitor) {
  90384. return this.accept$1$1(visitor, type$.dynamic);
  90385. },
  90386. equalsIgnoringChildren$1(other) {
  90387. var t1, t2;
  90388. if (other instanceof A.ModifiableCssAtRule0) {
  90389. t1 = this.name;
  90390. t2 = other.name;
  90391. t1 = t1.$ti._is(t2) && J.$eq$(t2.value, t1.value) && J.$eq$(this.value, other.value) && this.isChildless === other.isChildless;
  90392. } else
  90393. t1 = false;
  90394. return t1;
  90395. },
  90396. copyWithoutChildren$0() {
  90397. var _this = this;
  90398. return A.ModifiableCssAtRule$0(_this.name, _this.span, _this.isChildless, _this.value);
  90399. },
  90400. addChild$1(child) {
  90401. this.super$ModifiableCssParentNode$addChild0(child);
  90402. },
  90403. get$isChildless() {
  90404. return this.isChildless;
  90405. },
  90406. get$span(receiver) {
  90407. return this.span;
  90408. }
  90409. };
  90410. A.AtRule0.prototype = {
  90411. accept$1$1(visitor) {
  90412. return visitor.visitAtRule$1(this);
  90413. },
  90414. accept$1(visitor) {
  90415. return this.accept$1$1(visitor, type$.dynamic);
  90416. },
  90417. toString$0(_) {
  90418. var children,
  90419. t1 = "@" + this.name.toString$0(0),
  90420. buffer = new A.StringBuffer(t1),
  90421. t2 = this.value;
  90422. if (t2 != null)
  90423. buffer._contents = t1 + (" " + t2.toString$0(0));
  90424. children = this.children;
  90425. return children == null ? buffer.toString$0(0) + ";" : buffer.toString$0(0) + " {" + B.JSArray_methods.join$1(children, " ") + "}";
  90426. },
  90427. get$span(receiver) {
  90428. return this.span;
  90429. }
  90430. };
  90431. A.AttributeSelector0.prototype = {
  90432. accept$1$1(visitor) {
  90433. return visitor.visitAttributeSelector$1(this);
  90434. },
  90435. accept$1(visitor) {
  90436. return this.accept$1$1(visitor, type$.dynamic);
  90437. },
  90438. $eq(_, other) {
  90439. var _this = this;
  90440. if (other == null)
  90441. return false;
  90442. return other instanceof A.AttributeSelector0 && other.name.$eq(0, _this.name) && other.op == _this.op && other.value == _this.value && other.modifier == _this.modifier;
  90443. },
  90444. get$hashCode(_) {
  90445. var _this = this,
  90446. t1 = _this.name;
  90447. 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;
  90448. }
  90449. };
  90450. A.AttributeOperator0.prototype = {
  90451. _enumToString$0() {
  90452. return "AttributeOperator." + this._name;
  90453. },
  90454. toString$0(_) {
  90455. return this._attribute0$_text;
  90456. }
  90457. };
  90458. A.BinaryOperationExpression0.prototype = {
  90459. get$span(_) {
  90460. var right,
  90461. left = this.left;
  90462. for (; left instanceof A.BinaryOperationExpression0;)
  90463. left = left.left;
  90464. right = this.right;
  90465. for (; right instanceof A.BinaryOperationExpression0;)
  90466. right = right.right;
  90467. return left.get$span(left).expand$1(0, right.get$span(right));
  90468. },
  90469. get$operatorSpan() {
  90470. var t3, t4,
  90471. t1 = this.left,
  90472. t2 = t1.get$span(t1);
  90473. t2 = t2.get$file(t2);
  90474. t3 = this.right;
  90475. t4 = t3.get$span(t3);
  90476. if (t2 === t4.get$file(t4)) {
  90477. t2 = t1.get$span(t1);
  90478. t2 = t2.get$end(t2);
  90479. t4 = t3.get$span(t3);
  90480. t4 = t2.offset < t4.get$start(t4).offset;
  90481. t2 = t4;
  90482. } else
  90483. t2 = false;
  90484. if (t2) {
  90485. t2 = t1.get$span(t1);
  90486. t2 = t2.get$file(t2);
  90487. t1 = t1.get$span(t1);
  90488. t1 = t1.get$end(t1);
  90489. t3 = t3.get$span(t3);
  90490. t3 = A.SpanExtensions_trimRight0(A.SpanExtensions_trimLeft0(t2.span$2(0, t1.offset, t3.get$start(t3).offset)));
  90491. t1 = t3;
  90492. } else
  90493. t1 = this.get$span(0);
  90494. return t1;
  90495. },
  90496. accept$1$1(visitor) {
  90497. return visitor.visitBinaryOperationExpression$1(this);
  90498. },
  90499. accept$1(visitor) {
  90500. return this.accept$1$1(visitor, type$.dynamic);
  90501. },
  90502. toString$0(_) {
  90503. var t1, t2, right, operator, t3, _this = this,
  90504. _0_0 = _this.left;
  90505. $label0$0: {
  90506. if (_0_0 instanceof A.BinaryOperationExpression0) {
  90507. t1 = _0_0.operator.precedence < _this.operator.precedence;
  90508. break $label0$0;
  90509. }
  90510. if (_0_0 instanceof A.ListExpression0 && !_0_0.hasBrackets && _0_0.contents.length >= 2) {
  90511. t1 = true;
  90512. break $label0$0;
  90513. }
  90514. t1 = false;
  90515. break $label0$0;
  90516. }
  90517. t2 = t1 ? "" + A.Primitives_stringFromCharCode(40) : "";
  90518. t2 += _0_0.toString$0(0);
  90519. t1 = t1 ? t2 + A.Primitives_stringFromCharCode(41) : t2;
  90520. t2 = _this.operator;
  90521. t1 = t1 + A.Primitives_stringFromCharCode(32) + t2.operator + A.Primitives_stringFromCharCode(32);
  90522. right = _this.right;
  90523. $label1$1: {
  90524. if (right instanceof A.BinaryOperationExpression0) {
  90525. operator = right.operator;
  90526. if (operator.precedence <= t2.precedence) {
  90527. t3 = !(operator === t2 && operator.isAssociative);
  90528. t2 = t3;
  90529. } else
  90530. t2 = false;
  90531. break $label1$1;
  90532. }
  90533. if (right instanceof A.ListExpression0 && !right.hasBrackets && right.contents.length >= 2) {
  90534. t2 = true;
  90535. break $label1$1;
  90536. }
  90537. t2 = false;
  90538. break $label1$1;
  90539. }
  90540. if (t2)
  90541. t1 += A.Primitives_stringFromCharCode(40);
  90542. t1 += right.toString$0(0);
  90543. if (t2)
  90544. t1 += A.Primitives_stringFromCharCode(41);
  90545. return t1.charCodeAt(0) == 0 ? t1 : t1;
  90546. },
  90547. $isExpression0: 1,
  90548. $isAstNode0: 1
  90549. };
  90550. A.BinaryOperator0.prototype = {
  90551. _enumToString$0() {
  90552. return "BinaryOperator." + this._name;
  90553. },
  90554. toString$0(_) {
  90555. return this.name;
  90556. }
  90557. };
  90558. A.BooleanExpression0.prototype = {
  90559. accept$1$1(visitor) {
  90560. return visitor.visitBooleanExpression$1(this);
  90561. },
  90562. accept$1(visitor) {
  90563. return this.accept$1$1(visitor, type$.dynamic);
  90564. },
  90565. toString$0(_) {
  90566. return String(this.value);
  90567. },
  90568. $isExpression0: 1,
  90569. $isAstNode0: 1,
  90570. get$span(receiver) {
  90571. return this.span;
  90572. }
  90573. };
  90574. A.booleanClass_closure.prototype = {
  90575. call$0() {
  90576. var t1 = type$.JSClass,
  90577. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassBoolean", new A.booleanClass__closure()));
  90578. A.JSClassExtension_injectSuperclass(t1._as(B.SassBoolean_true0.constructor), jsClass);
  90579. return jsClass;
  90580. },
  90581. $signature: 13
  90582. };
  90583. A.booleanClass__closure.prototype = {
  90584. call$2($self, _) {
  90585. A.jsThrow(new self.Error("new sass.SassBoolean() isn't allowed.\nUse sass.sassTrue or sass.sassFalse instead."));
  90586. },
  90587. call$1($self) {
  90588. return this.call$2($self, null);
  90589. },
  90590. "call*": "call$2",
  90591. $requiredArgCount: 1,
  90592. $defaultValues() {
  90593. return [null];
  90594. },
  90595. $signature: 216
  90596. };
  90597. A.legacyBooleanClass_closure.prototype = {
  90598. call$0() {
  90599. var t1 = type$.JSClass,
  90600. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.types.Boolean", new A.legacyBooleanClass__closure()));
  90601. J.get$$prototype$x(jsClass).getValue = A.allowInteropCaptureThisNamed("getValue", new A.legacyBooleanClass__closure0());
  90602. jsClass.TRUE = B.SassBoolean_true0;
  90603. jsClass.FALSE = B.SassBoolean_false0;
  90604. A.JSClassExtension_injectSuperclass(t1._as(B.SassBoolean_true0.constructor), jsClass);
  90605. return jsClass;
  90606. },
  90607. $signature: 13
  90608. };
  90609. A.legacyBooleanClass__closure.prototype = {
  90610. call$2(_, __) {
  90611. throw A.wrapException("new sass.types.Boolean() isn't allowed.\nUse sass.types.Boolean.TRUE or sass.types.Boolean.FALSE instead.");
  90612. },
  90613. call$1(_) {
  90614. return this.call$2(_, null);
  90615. },
  90616. "call*": "call$2",
  90617. $requiredArgCount: 1,
  90618. $defaultValues() {
  90619. return [null];
  90620. },
  90621. $signature: 213
  90622. };
  90623. A.legacyBooleanClass__closure0.prototype = {
  90624. call$1($self) {
  90625. return $self === B.SassBoolean_true0;
  90626. },
  90627. $signature: 67
  90628. };
  90629. A.SassBoolean0.prototype = {
  90630. get$isTruthy() {
  90631. return this.value;
  90632. },
  90633. accept$1$1(visitor) {
  90634. return visitor._serialize0$_buffer.write$1(0, String(this.value));
  90635. },
  90636. accept$1(visitor) {
  90637. return this.accept$1$1(visitor, type$.dynamic);
  90638. },
  90639. assertBoolean$1($name) {
  90640. return this;
  90641. },
  90642. unaryNot$0() {
  90643. return this.value ? B.SassBoolean_false0 : B.SassBoolean_true0;
  90644. }
  90645. };
  90646. A.Box0.prototype = {
  90647. $eq(_, other) {
  90648. if (other == null)
  90649. return false;
  90650. return this.$ti._is(other) && other._box0$_inner === this._box0$_inner;
  90651. },
  90652. get$hashCode(_) {
  90653. return A.Primitives_objectHashCode(this._box0$_inner);
  90654. }
  90655. };
  90656. A.ModifiableBox0.prototype = {};
  90657. A.BuiltInCallable0.prototype = {
  90658. callbackFor$2(positional, names) {
  90659. var t1, t2, fuzzyMatch, minMismatchDistance, _i, overload, t3, mismatchDistance, t4;
  90660. 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) {
  90661. overload = t1[_i];
  90662. t3 = overload._0;
  90663. if (t3.matches$2(positional, names))
  90664. return overload;
  90665. mismatchDistance = t3.$arguments.length - positional;
  90666. if (minMismatchDistance != null) {
  90667. t3 = Math.abs(mismatchDistance);
  90668. t4 = Math.abs(minMismatchDistance);
  90669. if (t3 > t4)
  90670. continue;
  90671. if (t3 === t4 && mismatchDistance < 0)
  90672. continue;
  90673. }
  90674. minMismatchDistance = mismatchDistance;
  90675. fuzzyMatch = overload;
  90676. }
  90677. if (fuzzyMatch != null)
  90678. return fuzzyMatch;
  90679. throw A.wrapException(A.StateError$("BuiltInCallable " + this.name + " may not have empty overloads."));
  90680. },
  90681. withName$1($name) {
  90682. return new A.BuiltInCallable0($name, this._built_in$_overloads, this.acceptsContent);
  90683. },
  90684. $isAsyncCallable0: 1,
  90685. $isAsyncBuiltInCallable0: 1,
  90686. $isCallable: 1,
  90687. get$name(receiver) {
  90688. return this.name;
  90689. },
  90690. get$acceptsContent() {
  90691. return this.acceptsContent;
  90692. }
  90693. };
  90694. A.BuiltInCallable$mixin_closure0.prototype = {
  90695. call$1($arguments) {
  90696. this.callback.call$1($arguments);
  90697. return B.C__SassNull0;
  90698. },
  90699. $signature: 3
  90700. };
  90701. A.BuiltInModule0.prototype = {
  90702. get$upstream() {
  90703. return B.List_empty18;
  90704. },
  90705. get$variableNodes() {
  90706. return B.Map_empty12;
  90707. },
  90708. get$extensionStore() {
  90709. return B.C_EmptyExtensionStore0;
  90710. },
  90711. get$css(_) {
  90712. return new A.CssStylesheet0(B.List_empty16, A.SourceFile$decoded(B.List_empty4, this.url).span$2(0, 0, 0));
  90713. },
  90714. get$preModuleComments() {
  90715. return B.Map_empty11;
  90716. },
  90717. get$transitivelyContainsCss() {
  90718. return false;
  90719. },
  90720. get$transitivelyContainsExtensions() {
  90721. return false;
  90722. },
  90723. setVariable$3($name, value, nodeWithSpan) {
  90724. if (!this.variables.containsKey$1($name))
  90725. throw A.wrapException(A.SassScriptException$0("Undefined variable.", null));
  90726. throw A.wrapException(A.SassScriptException$0("Cannot modify built-in variable.", null));
  90727. },
  90728. variableIdentity$1($name) {
  90729. return this;
  90730. },
  90731. cloneCss$0() {
  90732. return this;
  90733. },
  90734. $isModule1: 1,
  90735. get$url(receiver) {
  90736. return this.url;
  90737. },
  90738. get$functions(receiver) {
  90739. return this.functions;
  90740. },
  90741. get$mixins() {
  90742. return this.mixins;
  90743. },
  90744. get$variables() {
  90745. return this.variables;
  90746. }
  90747. };
  90748. A.calculationClass_closure.prototype = {
  90749. call$0() {
  90750. var t1 = type$.JSClass,
  90751. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassCalculation", new A.calculationClass__closure())),
  90752. t2 = type$.String,
  90753. t3 = type$.Function;
  90754. 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));
  90755. A.LinkedHashMap_LinkedHashMap$_literal(["assertCalculation", new A.calculationClass__closure4()], t2, t3).forEach$1(0, A.JSClassExtension_get_defineMethod(jsClass));
  90756. A.LinkedHashMap_LinkedHashMap$_literal(["arguments", new A.calculationClass__closure5()], t2, t3).forEach$1(0, A.JSClassExtension_get_defineGetter(jsClass));
  90757. 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);
  90758. return jsClass;
  90759. },
  90760. $signature: 13
  90761. };
  90762. A.calculationClass__closure.prototype = {
  90763. call$2($self, _) {
  90764. A.jsThrow0(new self.Error("new sass.SassCalculation() isn't allowed"));
  90765. },
  90766. call$1($self) {
  90767. return this.call$2($self, null);
  90768. },
  90769. "call*": "call$2",
  90770. $requiredArgCount: 1,
  90771. $defaultValues() {
  90772. return [null];
  90773. },
  90774. $signature: 216
  90775. };
  90776. A.calculationClass__closure0.prototype = {
  90777. call$1(argument) {
  90778. A._assertCalculationValue(argument);
  90779. return new A.SassCalculation0("calc", A.List_List$unmodifiable(A._setArrayType([argument], type$.JSArray_Object), type$.Object));
  90780. },
  90781. $signature: 112
  90782. };
  90783. A.calculationClass__closure1.prototype = {
  90784. call$1($arguments) {
  90785. var t1 = self.immutable.isOrderedMap($arguments) ? J.toArray$0$x(type$.ImmutableList_2._as($arguments)) : type$.List_dynamic._as($arguments),
  90786. t2 = type$.Object,
  90787. argList = J.cast$1$0$ax(t1, t2);
  90788. argList.forEach$1(argList, A.calculation1___assertCalculationValue$closure());
  90789. return new A.SassCalculation0("min", A.List_List$unmodifiable(argList, t2));
  90790. },
  90791. $signature: 112
  90792. };
  90793. A.calculationClass__closure2.prototype = {
  90794. call$1($arguments) {
  90795. var t1 = self.immutable.isOrderedMap($arguments) ? J.toArray$0$x(type$.ImmutableList_2._as($arguments)) : type$.List_dynamic._as($arguments),
  90796. t2 = type$.Object,
  90797. argList = J.cast$1$0$ax(t1, t2);
  90798. argList.forEach$1(argList, A.calculation1___assertCalculationValue$closure());
  90799. return new A.SassCalculation0("max", A.List_List$unmodifiable(argList, t2));
  90800. },
  90801. $signature: 112
  90802. };
  90803. A.calculationClass__closure3.prototype = {
  90804. call$3(min, value, max) {
  90805. var t1;
  90806. if (!(value == null && !A._isValidClampArg(min)))
  90807. t1 = max == null && !B.JSArray_methods.any$1([min, value], A.calculation1___isValidClampArg$closure());
  90808. else
  90809. t1 = true;
  90810. if (t1)
  90811. A.jsThrow0(new self.Error("Expected at least one SassString or CalculationInterpolation in `" + A.IterableNullableExtension_whereNotNull([min, value, max], type$.Object).toString$0(0) + "`"));
  90812. t1 = type$.Object;
  90813. A.IterableNullableExtension_whereNotNull([min, value, max], t1).forEach$1(0, A.calculation1___assertCalculationValue$closure());
  90814. return new A.SassCalculation0("clamp", A.List_List$unmodifiable(A.IterableNullableExtension_whereNotNull([min, value, max], t1), t1));
  90815. },
  90816. call$1(min) {
  90817. return this.call$3(min, null, null);
  90818. },
  90819. call$2(min, value) {
  90820. return this.call$3(min, value, null);
  90821. },
  90822. "call*": "call$3",
  90823. $requiredArgCount: 1,
  90824. $defaultValues() {
  90825. return [null, null];
  90826. },
  90827. $signature: 364
  90828. };
  90829. A.calculationClass__closure4.prototype = {
  90830. call$2($self, $name) {
  90831. return $self;
  90832. },
  90833. call$1($self) {
  90834. return this.call$2($self, null);
  90835. },
  90836. "call*": "call$2",
  90837. $requiredArgCount: 1,
  90838. $defaultValues() {
  90839. return [null];
  90840. },
  90841. $signature: 365
  90842. };
  90843. A.calculationClass__closure5.prototype = {
  90844. call$1($self) {
  90845. return new self.immutable.List($self.$arguments);
  90846. },
  90847. $signature: 366
  90848. };
  90849. A.calculationOperationClass_closure.prototype = {
  90850. call$0() {
  90851. var t1 = type$.JSClass,
  90852. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.CalculationOperation", new A.calculationOperationClass__closure())),
  90853. t2 = type$.String,
  90854. t3 = type$.Function;
  90855. A.LinkedHashMap_LinkedHashMap$_literal(["equals", new A.calculationOperationClass__closure0(), "hashCode", new A.calculationOperationClass__closure1()], t2, t3).forEach$1(0, A.JSClassExtension_get_defineMethod(jsClass));
  90856. 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));
  90857. A.JSClassExtension_injectSuperclass(t1._as(A.SassCalculation_operateInternal0(B.CalculationOperator_g2q0, A.SassNumber_SassNumber0(1, null), A.SassNumber_SassNumber0(1, null), false, false).constructor), jsClass);
  90858. return jsClass;
  90859. },
  90860. $signature: 13
  90861. };
  90862. A.calculationOperationClass__closure.prototype = {
  90863. call$4($self, strOperator, left, right) {
  90864. var operator = A.IterableExtension_firstWhereOrNull(B.List_kUZ, new A.calculationOperationClass___closure(strOperator));
  90865. if (operator == null)
  90866. A.jsThrow0(new self.Error("Invalid operator: " + strOperator));
  90867. A._assertCalculationValue(left);
  90868. A._assertCalculationValue(right);
  90869. return A.SassCalculation_operateInternal0(operator, left, right, false, false);
  90870. },
  90871. "call*": "call$4",
  90872. $requiredArgCount: 4,
  90873. $signature: 367
  90874. };
  90875. A.calculationOperationClass___closure.prototype = {
  90876. call$1(value) {
  90877. return value.operator === this.strOperator;
  90878. },
  90879. $signature: 368
  90880. };
  90881. A.calculationOperationClass__closure0.prototype = {
  90882. call$2($self, other) {
  90883. return $self.$eq(0, other);
  90884. },
  90885. $signature: 369
  90886. };
  90887. A.calculationOperationClass__closure1.prototype = {
  90888. call$1($self) {
  90889. return $self.get$hashCode(0);
  90890. },
  90891. $signature: 370
  90892. };
  90893. A.calculationOperationClass__closure2.prototype = {
  90894. call$1($self) {
  90895. return $self._calculation0$_operator.operator;
  90896. },
  90897. $signature: 371
  90898. };
  90899. A.calculationOperationClass__closure3.prototype = {
  90900. call$1($self) {
  90901. return $self._calculation0$_left;
  90902. },
  90903. $signature: 210
  90904. };
  90905. A.calculationOperationClass__closure4.prototype = {
  90906. call$1($self) {
  90907. return $self._calculation0$_right;
  90908. },
  90909. $signature: 210
  90910. };
  90911. A.calculationInterpolationClass_closure.prototype = {
  90912. call$0() {
  90913. var t1 = type$.JSClass,
  90914. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.CalculationInterpolation", new A.calculationInterpolationClass__closure())),
  90915. t2 = type$.String,
  90916. t3 = type$.Function;
  90917. A.LinkedHashMap_LinkedHashMap$_literal(["equals", new A.calculationInterpolationClass__closure0(), "hashCode", new A.calculationInterpolationClass__closure1()], t2, t3).forEach$1(0, A.JSClassExtension_get_defineMethod(jsClass));
  90918. A.LinkedHashMap_LinkedHashMap$_literal(["value", new A.calculationInterpolationClass__closure2()], t2, t3).forEach$1(0, A.JSClassExtension_get_defineGetter(jsClass));
  90919. A.JSClassExtension_injectSuperclass(t1._as(new A.CalculationInterpolation("").constructor), jsClass);
  90920. return jsClass;
  90921. },
  90922. $signature: 13
  90923. };
  90924. A.calculationInterpolationClass__closure.prototype = {
  90925. call$2($self, value) {
  90926. return new A.CalculationInterpolation(value);
  90927. },
  90928. $signature: 373
  90929. };
  90930. A.calculationInterpolationClass__closure0.prototype = {
  90931. call$2($self, other) {
  90932. return other instanceof A.CalculationInterpolation && $self._calculation0$_value === other._calculation0$_value;
  90933. },
  90934. $signature: 374
  90935. };
  90936. A.calculationInterpolationClass__closure1.prototype = {
  90937. call$1($self) {
  90938. return B.JSString_methods.get$hashCode($self._calculation0$_value);
  90939. },
  90940. $signature: 375
  90941. };
  90942. A.calculationInterpolationClass__closure2.prototype = {
  90943. call$1($self) {
  90944. return $self._calculation0$_value;
  90945. },
  90946. $signature: 376
  90947. };
  90948. A.SassCalculation0.prototype = {
  90949. get$isSpecialNumber() {
  90950. return true;
  90951. },
  90952. accept$1$1(visitor) {
  90953. return visitor.visitCalculation$1(this);
  90954. },
  90955. accept$1(visitor) {
  90956. return this.accept$1$1(visitor, type$.dynamic);
  90957. },
  90958. assertCalculation$1($name) {
  90959. return this;
  90960. },
  90961. plus$1(other) {
  90962. if (other instanceof A.SassString0)
  90963. return this.super$Value$plus0(other);
  90964. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  90965. },
  90966. minus$1(other) {
  90967. return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " - " + other.toString$0(0) + '".', null));
  90968. },
  90969. unaryPlus$0() {
  90970. return A.throwExpression(A.SassScriptException$0('Undefined operation "+' + this.toString$0(0) + '".', null));
  90971. },
  90972. unaryMinus$0() {
  90973. return A.throwExpression(A.SassScriptException$0('Undefined operation "-' + this.toString$0(0) + '".', null));
  90974. },
  90975. $eq(_, other) {
  90976. if (other == null)
  90977. return false;
  90978. return other instanceof A.SassCalculation0 && this.name === other.name && B.C_ListEquality.equals$2(0, this.$arguments, other.$arguments);
  90979. },
  90980. get$hashCode(_) {
  90981. return B.JSString_methods.get$hashCode(this.name) ^ B.C_ListEquality0.hash$1(this.$arguments);
  90982. }
  90983. };
  90984. A.SassCalculation__verifyLength_closure0.prototype = {
  90985. call$1(arg) {
  90986. return arg instanceof A.SassString0;
  90987. },
  90988. $signature: 67
  90989. };
  90990. A.CalculationOperation0.prototype = {
  90991. $eq(_, other) {
  90992. if (other == null)
  90993. return false;
  90994. 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);
  90995. },
  90996. get$hashCode(_) {
  90997. return (A.Primitives_objectHashCode(this._calculation0$_operator) ^ J.get$hashCode$(this._calculation0$_left) ^ J.get$hashCode$(this._calculation0$_right)) >>> 0;
  90998. },
  90999. toString$0(_) {
  91000. var parenthesized = A.serializeValue0(new A.SassCalculation0("", A._setArrayType([this], type$.JSArray_Object)), true, true);
  91001. return B.JSString_methods.substring$2(parenthesized, 1, parenthesized.length - 1);
  91002. }
  91003. };
  91004. A.CalculationOperator0.prototype = {
  91005. _enumToString$0() {
  91006. return "CalculationOperator." + this._name;
  91007. },
  91008. toString$0(_) {
  91009. return this.name;
  91010. }
  91011. };
  91012. A.CalculationInterpolation.prototype = {
  91013. $eq(_, other) {
  91014. if (other == null)
  91015. return false;
  91016. return other instanceof A.CalculationInterpolation && this._calculation0$_value === other._calculation0$_value;
  91017. },
  91018. get$hashCode(_) {
  91019. return B.JSString_methods.get$hashCode(this._calculation0$_value);
  91020. },
  91021. toString$0(_) {
  91022. return this._calculation0$_value;
  91023. }
  91024. };
  91025. A.CallableDeclaration0.prototype = {
  91026. get$span(receiver) {
  91027. return this.span;
  91028. }
  91029. };
  91030. A.updateCanonicalizeContextPrototype_closure.prototype = {
  91031. call$1($self) {
  91032. return $self._canonicalize_context$_fromImport;
  91033. },
  91034. $signature: 377
  91035. };
  91036. A.updateCanonicalizeContextPrototype_closure0.prototype = {
  91037. call$1($self) {
  91038. $self._canonicalize_context$_wasContainingUrlAccessed = true;
  91039. return A.NullableExtension_andThen0($self._canonicalize_context$_containingUrl, A.utils1__dartToJSUrl$closure());
  91040. },
  91041. $signature: 378
  91042. };
  91043. A.CanonicalizeContext0.prototype = {
  91044. withFromImport$1$2(fromImport, callback) {
  91045. var t1,
  91046. oldFromImport = this._canonicalize_context$_fromImport;
  91047. this._canonicalize_context$_fromImport = true;
  91048. try {
  91049. t1 = callback.call$0();
  91050. return t1;
  91051. } finally {
  91052. this._canonicalize_context$_fromImport = oldFromImport;
  91053. }
  91054. },
  91055. withFromImport$2(fromImport, callback) {
  91056. return this.withFromImport$1$2(fromImport, callback, type$.dynamic);
  91057. }
  91058. };
  91059. A.Chokidar0.prototype = {};
  91060. A.ChokidarOptions0.prototype = {};
  91061. A.ChokidarWatcher0.prototype = {};
  91062. A.ClassSelector0.prototype = {
  91063. $eq(_, other) {
  91064. if (other == null)
  91065. return false;
  91066. return other instanceof A.ClassSelector0 && other.name === this.name;
  91067. },
  91068. accept$1$1(visitor) {
  91069. return visitor.visitClassSelector$1(this);
  91070. },
  91071. accept$1(visitor) {
  91072. return this.accept$1$1(visitor, type$.dynamic);
  91073. },
  91074. addSuffix$1(suffix) {
  91075. return new A.ClassSelector0(this.name + suffix, this.span);
  91076. },
  91077. get$hashCode(_) {
  91078. return B.JSString_methods.get$hashCode(this.name);
  91079. }
  91080. };
  91081. A._CloneCssVisitor0.prototype = {
  91082. visitCssAtRule$1(node) {
  91083. var t1 = node.isChildless,
  91084. rule = A.ModifiableCssAtRule$0(node.name, node.span, t1, node.value);
  91085. return t1 ? rule : this._clone_css$_visitChildren$2(rule, node);
  91086. },
  91087. visitCssComment$1(node) {
  91088. return new A.ModifiableCssComment0(node.text, node.span);
  91089. },
  91090. visitCssDeclaration$1(node) {
  91091. return A.ModifiableCssDeclaration$0(node.name, node.value, node.span, node.parsedAsCustomProperty, node.valueSpanForMap);
  91092. },
  91093. visitCssImport$1(node) {
  91094. return new A.ModifiableCssImport0(node.url, node.modifiers, node.span);
  91095. },
  91096. visitCssKeyframeBlock$1(node) {
  91097. return this._clone_css$_visitChildren$2(A.ModifiableCssKeyframeBlock$0(node.selector, node.span), node);
  91098. },
  91099. visitCssMediaRule$1(node) {
  91100. return this._clone_css$_visitChildren$2(A.ModifiableCssMediaRule$0(node.queries, node.span), node);
  91101. },
  91102. visitCssStyleRule$1(node) {
  91103. var _0_0 = this._clone_css$_oldToNewSelectors.$index(0, node._style_rule0$_selector._box0$_inner.value);
  91104. if (_0_0 != null)
  91105. return this._clone_css$_visitChildren$2(A.ModifiableCssStyleRule$0(_0_0, node.span, false, node.originalSelector), node);
  91106. else
  91107. throw A.wrapException(A.StateError$(string$.The_Ex));
  91108. },
  91109. visitCssStylesheet$1(node) {
  91110. return this._clone_css$_visitChildren$2(A.ModifiableCssStylesheet$0(node.get$span(node)), node);
  91111. },
  91112. visitCssSupportsRule$1(node) {
  91113. return this._clone_css$_visitChildren$2(A.ModifiableCssSupportsRule$0(node.condition, node.span), node);
  91114. },
  91115. _clone_css$_visitChildren$1$2(newParent, oldParent) {
  91116. var t1, t2, newChild;
  91117. for (t1 = J.get$iterator$ax(oldParent.get$children(oldParent)); t1.moveNext$0();) {
  91118. t2 = t1.get$current(t1);
  91119. newChild = t2.accept$1(this);
  91120. newChild.isGroupEnd = t2.get$isGroupEnd();
  91121. newParent.addChild$1(newChild);
  91122. }
  91123. return newParent;
  91124. },
  91125. _clone_css$_visitChildren$2(newParent, oldParent) {
  91126. return this._clone_css$_visitChildren$1$2(newParent, oldParent, type$.ModifiableCssParentNode_2);
  91127. }
  91128. };
  91129. A.ColorExpression0.prototype = {
  91130. accept$1$1(visitor) {
  91131. return visitor.visitColorExpression$1(this);
  91132. },
  91133. accept$1(visitor) {
  91134. return this.accept$1$1(visitor, type$.dynamic);
  91135. },
  91136. toString$0(_) {
  91137. return A.serializeValue0(this.value, true, true);
  91138. },
  91139. $isExpression0: 1,
  91140. $isAstNode0: 1,
  91141. get$span(receiver) {
  91142. return this.span;
  91143. }
  91144. };
  91145. A.global_closure32.prototype = {
  91146. call$1($arguments) {
  91147. return A._rgb0("rgb", $arguments);
  91148. },
  91149. $signature: 3
  91150. };
  91151. A.global_closure33.prototype = {
  91152. call$1($arguments) {
  91153. return A._rgb0("rgb", $arguments);
  91154. },
  91155. $signature: 3
  91156. };
  91157. A.global_closure34.prototype = {
  91158. call$1($arguments) {
  91159. return A._rgbTwoArg0("rgb", $arguments);
  91160. },
  91161. $signature: 3
  91162. };
  91163. A.global_closure35.prototype = {
  91164. call$1($arguments) {
  91165. var parsed = A._parseChannels0("rgb", A._setArrayType(["$red", "$green", "$blue"], type$.JSArray_String), J.get$first$ax($arguments));
  91166. return parsed instanceof A.SassString0 ? parsed : A._rgb0("rgb", type$.List_Value_2._as(parsed));
  91167. },
  91168. $signature: 3
  91169. };
  91170. A.global_closure36.prototype = {
  91171. call$1($arguments) {
  91172. return A._rgb0("rgba", $arguments);
  91173. },
  91174. $signature: 3
  91175. };
  91176. A.global_closure37.prototype = {
  91177. call$1($arguments) {
  91178. return A._rgb0("rgba", $arguments);
  91179. },
  91180. $signature: 3
  91181. };
  91182. A.global_closure38.prototype = {
  91183. call$1($arguments) {
  91184. return A._rgbTwoArg0("rgba", $arguments);
  91185. },
  91186. $signature: 3
  91187. };
  91188. A.global_closure39.prototype = {
  91189. call$1($arguments) {
  91190. var parsed = A._parseChannels0("rgba", A._setArrayType(["$red", "$green", "$blue"], type$.JSArray_String), J.get$first$ax($arguments));
  91191. return parsed instanceof A.SassString0 ? parsed : A._rgb0("rgba", type$.List_Value_2._as(parsed));
  91192. },
  91193. $signature: 3
  91194. };
  91195. A.global_closure40.prototype = {
  91196. call$1($arguments) {
  91197. var color, t2,
  91198. t1 = J.getInterceptor$asx($arguments),
  91199. weight = t1.$index($arguments, 1).assertNumber$1("weight");
  91200. if (t1.$index($arguments, 0) instanceof A.SassNumber0 || t1.$index($arguments, 0).get$isSpecialNumber()) {
  91201. if (weight._number1$_value !== 100 || !weight.hasUnit$1("%"))
  91202. throw A.wrapException(string$.Only_oa);
  91203. return A._functionString0("invert", t1.take$1($arguments, 1));
  91204. }
  91205. color = t1.$index($arguments, 0).assertColor$1("color");
  91206. t1 = color.get$red(0);
  91207. t2 = color.get$green(0);
  91208. return A._mixColors0(color.changeRgb$3$blue$green$red(255 - color.get$blue(0), 255 - t2, 255 - t1), color, weight);
  91209. },
  91210. $signature: 3
  91211. };
  91212. A.global_closure41.prototype = {
  91213. call$1($arguments) {
  91214. return A._hsl0("hsl", $arguments);
  91215. },
  91216. $signature: 3
  91217. };
  91218. A.global_closure42.prototype = {
  91219. call$1($arguments) {
  91220. return A._hsl0("hsl", $arguments);
  91221. },
  91222. $signature: 3
  91223. };
  91224. A.global_closure43.prototype = {
  91225. call$1($arguments) {
  91226. var t1 = J.getInterceptor$asx($arguments);
  91227. if (t1.$index($arguments, 0).get$isVar() || t1.$index($arguments, 1).get$isVar())
  91228. return A._functionString0("hsl", $arguments);
  91229. else
  91230. throw A.wrapException(A.SassScriptException$0("Missing argument $lightness.", null));
  91231. },
  91232. $signature: 19
  91233. };
  91234. A.global_closure44.prototype = {
  91235. call$1($arguments) {
  91236. var parsed = A._parseChannels0("hsl", A._setArrayType(["$hue", "$saturation", "$lightness"], type$.JSArray_String), J.get$first$ax($arguments));
  91237. return parsed instanceof A.SassString0 ? parsed : A._hsl0("hsl", type$.List_Value_2._as(parsed));
  91238. },
  91239. $signature: 3
  91240. };
  91241. A.global_closure45.prototype = {
  91242. call$1($arguments) {
  91243. return A._hsl0("hsla", $arguments);
  91244. },
  91245. $signature: 3
  91246. };
  91247. A.global_closure46.prototype = {
  91248. call$1($arguments) {
  91249. return A._hsl0("hsla", $arguments);
  91250. },
  91251. $signature: 3
  91252. };
  91253. A.global_closure47.prototype = {
  91254. call$1($arguments) {
  91255. var t1 = J.getInterceptor$asx($arguments);
  91256. if (t1.$index($arguments, 0).get$isVar() || t1.$index($arguments, 1).get$isVar())
  91257. return A._functionString0("hsla", $arguments);
  91258. else
  91259. throw A.wrapException(A.SassScriptException$0("Missing argument $lightness.", null));
  91260. },
  91261. $signature: 19
  91262. };
  91263. A.global_closure48.prototype = {
  91264. call$1($arguments) {
  91265. var parsed = A._parseChannels0("hsla", A._setArrayType(["$hue", "$saturation", "$lightness"], type$.JSArray_String), J.get$first$ax($arguments));
  91266. return parsed instanceof A.SassString0 ? parsed : A._hsl0("hsla", type$.List_Value_2._as(parsed));
  91267. },
  91268. $signature: 3
  91269. };
  91270. A.global_closure49.prototype = {
  91271. call$1($arguments) {
  91272. var t1 = J.getInterceptor$asx($arguments);
  91273. if (t1.$index($arguments, 0) instanceof A.SassNumber0 || t1.$index($arguments, 0).get$isSpecialNumber())
  91274. return A._functionString0("grayscale", $arguments);
  91275. return t1.$index($arguments, 0).assertColor$1("color").changeHsl$1$saturation(0);
  91276. },
  91277. $signature: 3
  91278. };
  91279. A.global_closure50.prototype = {
  91280. call$1($arguments) {
  91281. var t1 = J.getInterceptor$asx($arguments),
  91282. color = t1.$index($arguments, 0).assertColor$1("color"),
  91283. degrees = A._angleValue0(t1.$index($arguments, 1), "degrees");
  91284. return color.changeHsl$1$hue(color.get$hue(0) + degrees);
  91285. },
  91286. $signature: 27
  91287. };
  91288. A.global_closure51.prototype = {
  91289. call$1($arguments) {
  91290. var t1 = J.getInterceptor$asx($arguments),
  91291. color = t1.$index($arguments, 0).assertColor$1("color"),
  91292. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  91293. return color.changeHsl$1$lightness(B.JSNumber_methods.clamp$2(color.get$lightness(0) + amount.valueInRange$3(0, 100, "amount"), 0, 100));
  91294. },
  91295. $signature: 27
  91296. };
  91297. A.global_closure52.prototype = {
  91298. call$1($arguments) {
  91299. var t1 = J.getInterceptor$asx($arguments),
  91300. color = t1.$index($arguments, 0).assertColor$1("color"),
  91301. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  91302. return color.changeHsl$1$lightness(B.JSNumber_methods.clamp$2(color.get$lightness(0) - amount.valueInRange$3(0, 100, "amount"), 0, 100));
  91303. },
  91304. $signature: 27
  91305. };
  91306. A.global_closure53.prototype = {
  91307. call$1($arguments) {
  91308. var t1 = J.getInterceptor$asx($arguments);
  91309. if (t1.$index($arguments, 0) instanceof A.SassNumber0 || t1.$index($arguments, 0).get$isSpecialNumber())
  91310. return A._functionString0("saturate", $arguments);
  91311. return new A.SassString0("saturate(" + A.serializeValue0(t1.$index($arguments, 0).assertNumber$1("amount"), false, true) + ")", false);
  91312. },
  91313. $signature: 19
  91314. };
  91315. A.global_closure54.prototype = {
  91316. call$1($arguments) {
  91317. var t1 = J.getInterceptor$asx($arguments),
  91318. color = t1.$index($arguments, 0).assertColor$1("color"),
  91319. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  91320. return color.changeHsl$1$saturation(B.JSNumber_methods.clamp$2(color.get$saturation(0) + amount.valueInRange$3(0, 100, "amount"), 0, 100));
  91321. },
  91322. $signature: 27
  91323. };
  91324. A.global_closure55.prototype = {
  91325. call$1($arguments) {
  91326. var t1 = J.getInterceptor$asx($arguments),
  91327. color = t1.$index($arguments, 0).assertColor$1("color"),
  91328. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  91329. return color.changeHsl$1$saturation(B.JSNumber_methods.clamp$2(color.get$saturation(0) - amount.valueInRange$3(0, 100, "amount"), 0, 100));
  91330. },
  91331. $signature: 27
  91332. };
  91333. A.global_closure56.prototype = {
  91334. call$1($arguments) {
  91335. var argument = J.$index$asx($arguments, 0);
  91336. if (argument instanceof A.SassString0 && !argument._string0$_hasQuotes && B.JSString_methods.contains$1(argument._string0$_text, $.$get$_microsoftFilterStart0()))
  91337. return A._functionString0("alpha", $arguments);
  91338. return A.SassNumber_SassNumber0(argument.assertColor$1("color")._color1$_alpha, null);
  91339. },
  91340. $signature: 3
  91341. };
  91342. A.global_closure57.prototype = {
  91343. call$1($arguments) {
  91344. var t1,
  91345. argList = J.$index$asx($arguments, 0).get$asList();
  91346. if (argList.length !== 0 && B.JSArray_methods.every$1(argList, new A.global__closure0()))
  91347. return A._functionString0("alpha", $arguments);
  91348. t1 = argList.length;
  91349. if (t1 === 0)
  91350. throw A.wrapException(A.SassScriptException$0("Missing argument $color.", null));
  91351. else
  91352. throw A.wrapException(A.SassScriptException$0("Only 1 argument allowed, but " + t1 + " were passed.", null));
  91353. },
  91354. $signature: 19
  91355. };
  91356. A.global__closure0.prototype = {
  91357. call$1(argument) {
  91358. return argument instanceof A.SassString0 && !argument._string0$_hasQuotes && B.JSString_methods.contains$1(argument._string0$_text, $.$get$_microsoftFilterStart0());
  91359. },
  91360. $signature: 49
  91361. };
  91362. A.global_closure58.prototype = {
  91363. call$1($arguments) {
  91364. var t1 = J.getInterceptor$asx($arguments);
  91365. if (t1.$index($arguments, 0) instanceof A.SassNumber0 || t1.$index($arguments, 0).get$isSpecialNumber())
  91366. return A._functionString0("opacity", $arguments);
  91367. return A.SassNumber_SassNumber0(t1.$index($arguments, 0).assertColor$1("color")._color1$_alpha, null);
  91368. },
  91369. $signature: 3
  91370. };
  91371. A.module_closure12.prototype = {
  91372. call$1($arguments) {
  91373. var result, color, t2,
  91374. t1 = J.getInterceptor$asx($arguments),
  91375. weight = t1.$index($arguments, 1).assertNumber$1("weight");
  91376. if (t1.$index($arguments, 0) instanceof A.SassNumber0) {
  91377. if (weight._number1$_value !== 100 || !weight.hasUnit$1("%"))
  91378. throw A.wrapException(string$.Only_oa);
  91379. result = A._functionString0("invert", t1.take$1($arguments, 1));
  91380. A.warnForDeprecation0("Passing a number (" + A.S(t1.$index($arguments, 0)) + string$.x29x20to_ci + result.toString$0(0), B.Deprecation_EfO);
  91381. return result;
  91382. }
  91383. color = t1.$index($arguments, 0).assertColor$1("color");
  91384. t1 = color.get$red(0);
  91385. t2 = color.get$green(0);
  91386. return A._mixColors0(color.changeRgb$3$blue$green$red(255 - color.get$blue(0), 255 - t2, 255 - t1), color, weight);
  91387. },
  91388. $signature: 3
  91389. };
  91390. A.module_closure13.prototype = {
  91391. call$1($arguments) {
  91392. var result,
  91393. t1 = J.getInterceptor$asx($arguments);
  91394. if (t1.$index($arguments, 0) instanceof A.SassNumber0) {
  91395. result = A._functionString0("grayscale", t1.take$1($arguments, 1));
  91396. A.warnForDeprecation0("Passing a number (" + A.S(t1.$index($arguments, 0)) + string$.x29x20to_cg + result.toString$0(0), B.Deprecation_EfO);
  91397. return result;
  91398. }
  91399. return t1.$index($arguments, 0).assertColor$1("color").changeHsl$1$saturation(0);
  91400. },
  91401. $signature: 3
  91402. };
  91403. A.module_closure14.prototype = {
  91404. call$1($arguments) {
  91405. return A._hwb0($arguments);
  91406. },
  91407. $signature: 3
  91408. };
  91409. A.module_closure15.prototype = {
  91410. call$1($arguments) {
  91411. var parsed = A._parseChannels0("hwb", A._setArrayType(["$hue", "$whiteness", "$blackness"], type$.JSArray_String), J.get$first$ax($arguments));
  91412. if (parsed instanceof A.SassString0)
  91413. throw A.wrapException(A.SassScriptException$0('Expected numeric channels, got "' + parsed.toString$0(0) + '".', null));
  91414. else
  91415. return A._hwb0(type$.List_Value_2._as(parsed));
  91416. },
  91417. $signature: 3
  91418. };
  91419. A.module_closure16.prototype = {
  91420. call$1($arguments) {
  91421. return A.SassNumber_SassNumber0(J.get$first$ax($arguments).assertColor$1("color").get$whiteness(0), "%");
  91422. },
  91423. $signature: 12
  91424. };
  91425. A.module_closure17.prototype = {
  91426. call$1($arguments) {
  91427. return A.SassNumber_SassNumber0(J.get$first$ax($arguments).assertColor$1("color").get$blackness(0), "%");
  91428. },
  91429. $signature: 12
  91430. };
  91431. A.module_closure18.prototype = {
  91432. call$1($arguments) {
  91433. var result,
  91434. argument = J.$index$asx($arguments, 0);
  91435. if (argument instanceof A.SassString0 && !argument._string0$_hasQuotes && B.JSString_methods.contains$1(argument._string0$_text, $.$get$_microsoftFilterStart0())) {
  91436. result = A._functionString0("alpha", $arguments);
  91437. A.warnForDeprecation0(string$.Using_c + result.toString$0(0), B.Deprecation_EfO);
  91438. return result;
  91439. }
  91440. return A.SassNumber_SassNumber0(argument.assertColor$1("color")._color1$_alpha, null);
  91441. },
  91442. $signature: 3
  91443. };
  91444. A.module_closure19.prototype = {
  91445. call$1($arguments) {
  91446. var result,
  91447. t1 = J.getInterceptor$asx($arguments);
  91448. if (B.JSArray_methods.every$1(t1.$index($arguments, 0).get$asList(), new A.module__closure4())) {
  91449. result = A._functionString0("alpha", $arguments);
  91450. A.warnForDeprecation0(string$.Using_c + result.toString$0(0), B.Deprecation_EfO);
  91451. return result;
  91452. }
  91453. throw A.wrapException(A.SassScriptException$0("Only 1 argument allowed, but " + t1.get$length($arguments) + " were passed.", null));
  91454. },
  91455. $signature: 19
  91456. };
  91457. A.module__closure4.prototype = {
  91458. call$1(argument) {
  91459. return argument instanceof A.SassString0 && !argument._string0$_hasQuotes && B.JSString_methods.contains$1(argument._string0$_text, $.$get$_microsoftFilterStart0());
  91460. },
  91461. $signature: 49
  91462. };
  91463. A.module_closure20.prototype = {
  91464. call$1($arguments) {
  91465. var result,
  91466. t1 = J.getInterceptor$asx($arguments);
  91467. if (t1.$index($arguments, 0) instanceof A.SassNumber0) {
  91468. result = A._functionString0("opacity", $arguments);
  91469. A.warnForDeprecation0("Passing a number (" + A.S(t1.$index($arguments, 0)) + string$.x20to_co + result.toString$0(0), B.Deprecation_EfO);
  91470. return result;
  91471. }
  91472. return A.SassNumber_SassNumber0(t1.$index($arguments, 0).assertColor$1("color")._color1$_alpha, null);
  91473. },
  91474. $signature: 3
  91475. };
  91476. A._red_closure0.prototype = {
  91477. call$1($arguments) {
  91478. return A.SassNumber_SassNumber0(J.get$first$ax($arguments).assertColor$1("color").get$red(0), null);
  91479. },
  91480. $signature: 12
  91481. };
  91482. A._green_closure0.prototype = {
  91483. call$1($arguments) {
  91484. return A.SassNumber_SassNumber0(J.get$first$ax($arguments).assertColor$1("color").get$green(0), null);
  91485. },
  91486. $signature: 12
  91487. };
  91488. A._blue_closure0.prototype = {
  91489. call$1($arguments) {
  91490. return A.SassNumber_SassNumber0(J.get$first$ax($arguments).assertColor$1("color").get$blue(0), null);
  91491. },
  91492. $signature: 12
  91493. };
  91494. A._mix_closure0.prototype = {
  91495. call$1($arguments) {
  91496. var t1 = J.getInterceptor$asx($arguments);
  91497. return A._mixColors0(t1.$index($arguments, 0).assertColor$1("color1"), t1.$index($arguments, 1).assertColor$1("color2"), t1.$index($arguments, 2).assertNumber$1("weight"));
  91498. },
  91499. $signature: 27
  91500. };
  91501. A._hue_closure0.prototype = {
  91502. call$1($arguments) {
  91503. return A.SassNumber_SassNumber0(J.get$first$ax($arguments).assertColor$1("color").get$hue(0), "deg");
  91504. },
  91505. $signature: 12
  91506. };
  91507. A._saturation_closure0.prototype = {
  91508. call$1($arguments) {
  91509. return A.SassNumber_SassNumber0(J.get$first$ax($arguments).assertColor$1("color").get$saturation(0), "%");
  91510. },
  91511. $signature: 12
  91512. };
  91513. A._lightness_closure0.prototype = {
  91514. call$1($arguments) {
  91515. return A.SassNumber_SassNumber0(J.get$first$ax($arguments).assertColor$1("color").get$lightness(0), "%");
  91516. },
  91517. $signature: 12
  91518. };
  91519. A._complement_closure0.prototype = {
  91520. call$1($arguments) {
  91521. var color = J.$index$asx($arguments, 0).assertColor$1("color");
  91522. return color.changeHsl$1$hue(color.get$hue(0) + 180);
  91523. },
  91524. $signature: 27
  91525. };
  91526. A._adjust_closure0.prototype = {
  91527. call$1($arguments) {
  91528. return A._updateComponents0($arguments, true, false, false);
  91529. },
  91530. $signature: 27
  91531. };
  91532. A._scale_closure0.prototype = {
  91533. call$1($arguments) {
  91534. return A._updateComponents0($arguments, false, false, true);
  91535. },
  91536. $signature: 27
  91537. };
  91538. A._change_closure0.prototype = {
  91539. call$1($arguments) {
  91540. return A._updateComponents0($arguments, false, true, false);
  91541. },
  91542. $signature: 27
  91543. };
  91544. A._ieHexStr_closure0.prototype = {
  91545. call$1($arguments) {
  91546. var color = J.$index$asx($arguments, 0).assertColor$1("color"),
  91547. t1 = new A._ieHexStr_closure_hexString0();
  91548. return new A.SassString0("#" + A.S(t1.call$1(A.fuzzyRound0(color._color1$_alpha * 255))) + A.S(t1.call$1(color.get$red(0))) + A.S(t1.call$1(color.get$green(0))) + A.S(t1.call$1(color.get$blue(0))), false);
  91549. },
  91550. $signature: 19
  91551. };
  91552. A._ieHexStr_closure_hexString0.prototype = {
  91553. call$1(component) {
  91554. return B.JSString_methods.padLeft$2(B.JSInt_methods.toRadixString$1(component, 16), 2, "0").toUpperCase();
  91555. },
  91556. $signature: 194
  91557. };
  91558. A._updateComponents_getParam0.prototype = {
  91559. call$5$assertPercent$checkPercent$checkUnitless($name, max, assertPercent, checkPercent, checkUnitless) {
  91560. var t2, _this = this,
  91561. t1 = _this.keywords.remove$1(0, $name),
  91562. number = t1 == null ? null : t1.assertNumber$1($name);
  91563. if (number == null)
  91564. return null;
  91565. t1 = _this.scale;
  91566. t2 = !t1;
  91567. if (t2 && checkUnitless)
  91568. if (number.get$hasUnits())
  91569. A.warnForDeprecation0("$" + $name + ": Passing a number with unit " + number.get$unitString() + string$.x20is_de + number.unitSuggestion$1($name) + string$.x0a_Morex3a, B.Deprecation_oCX);
  91570. if (t2 && checkPercent)
  91571. A._checkPercent0(number, $name);
  91572. if (!t2 || assertPercent)
  91573. number.assertUnit$2("%", $name);
  91574. if (t1)
  91575. max = 100;
  91576. if (!t2 || assertPercent)
  91577. t1 = number.valueInRange$3(_this.change ? 0 : -max, max, $name);
  91578. else {
  91579. t1 = _this.change ? 0 : -max;
  91580. t1 = number.valueInRangeWithUnit$4(t1, max, $name, checkPercent ? "%" : "");
  91581. }
  91582. return t1;
  91583. },
  91584. call$2($name, max) {
  91585. return this.call$5$assertPercent$checkPercent$checkUnitless($name, max, false, false, false);
  91586. },
  91587. call$3$checkUnitless($name, max, checkUnitless) {
  91588. return this.call$5$assertPercent$checkPercent$checkUnitless($name, max, false, false, checkUnitless);
  91589. },
  91590. call$3$checkPercent($name, max, checkPercent) {
  91591. return this.call$5$assertPercent$checkPercent$checkUnitless($name, max, false, checkPercent, false);
  91592. },
  91593. call$3$assertPercent($name, max, assertPercent) {
  91594. return this.call$5$assertPercent$checkPercent$checkUnitless($name, max, assertPercent, false, false);
  91595. },
  91596. $signature: 193
  91597. };
  91598. A._updateComponents_closure1.prototype = {
  91599. call$1(hue) {
  91600. return A._angleValue0(hue, "hue");
  91601. },
  91602. $signature: 106
  91603. };
  91604. A._updateComponents_closure2.prototype = {
  91605. call$1($name) {
  91606. return "$" + $name;
  91607. },
  91608. $signature: 5
  91609. };
  91610. A._updateComponents_updateValue0.prototype = {
  91611. call$3(current, param, max) {
  91612. var t1;
  91613. if (param == null)
  91614. return current;
  91615. if (this.change)
  91616. return param;
  91617. if (this.adjust)
  91618. return B.JSNumber_methods.clamp$2(current + param, 0, max);
  91619. t1 = param > 0 ? max - current : current;
  91620. return current + t1 * (param / 100);
  91621. },
  91622. $signature: 189
  91623. };
  91624. A._updateComponents_updateRgb0.prototype = {
  91625. call$2(current, param) {
  91626. return A.fuzzyRound0(this.updateValue.call$3(current, param, 255));
  91627. },
  91628. $signature: 254
  91629. };
  91630. A._functionString_closure0.prototype = {
  91631. call$1(argument) {
  91632. return A.serializeValue0(argument, false, true);
  91633. },
  91634. $signature: 138
  91635. };
  91636. A._removedColorFunction_closure0.prototype = {
  91637. call$1($arguments) {
  91638. var t1 = this.name,
  91639. t2 = J.getInterceptor$asx($arguments),
  91640. t3 = A.S(t2.$index($arguments, 0)),
  91641. t4 = this.negative ? "-" : "";
  91642. throw A.wrapException(A.SassScriptException$0("The function " + t1 + string$.x28__isn + t3 + ", $" + this.argument + ": " + t4 + A.S(t2.$index($arguments, 1)) + string$.x29x0a_Mor + t1, null));
  91643. },
  91644. $signature: 385
  91645. };
  91646. A._rgb_closure0.prototype = {
  91647. call$1(alpha) {
  91648. return A._percentageOrUnitless0(alpha.assertNumber$1("alpha"), 1, "alpha");
  91649. },
  91650. $signature: 106
  91651. };
  91652. A._hsl_closure0.prototype = {
  91653. call$1(alpha) {
  91654. return A._percentageOrUnitless0(alpha.assertNumber$1("alpha"), 1, "alpha");
  91655. },
  91656. $signature: 106
  91657. };
  91658. A._hwb_closure0.prototype = {
  91659. call$1(alpha) {
  91660. return A._percentageOrUnitless0(alpha.assertNumber$1("alpha"), 1, "alpha");
  91661. },
  91662. $signature: 106
  91663. };
  91664. A._parseChannels_closure0.prototype = {
  91665. call$1(value) {
  91666. return value.get$isVar();
  91667. },
  91668. $signature: 49
  91669. };
  91670. A.colorClass_closure.prototype = {
  91671. call$0() {
  91672. var t1 = type$.JSClass,
  91673. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassColor", new A.colorClass__closure()));
  91674. J.get$$prototype$x(jsClass).change = A.allowInteropCaptureThisNamed("change", new A.colorClass__closure0());
  91675. A.LinkedHashMap_LinkedHashMap$_literal(["red", new A.colorClass__closure1(), "green", new A.colorClass__closure2(), "blue", new A.colorClass__closure3(), "hue", new A.colorClass__closure4(), "saturation", new A.colorClass__closure5(), "lightness", new A.colorClass__closure6(), "whiteness", new A.colorClass__closure7(), "blackness", new A.colorClass__closure8(), "alpha", new A.colorClass__closure9()], type$.String, type$.Function).forEach$1(0, A.JSClassExtension_get_defineGetter(jsClass));
  91676. A.JSClassExtension_injectSuperclass(t1._as(A.SassColor$rgb0(0, 0, 0, 1).constructor), jsClass);
  91677. return jsClass;
  91678. },
  91679. $signature: 13
  91680. };
  91681. A.colorClass__closure.prototype = {
  91682. call$2($self, color) {
  91683. var t2, t3, t4,
  91684. t1 = J.getInterceptor$x(color);
  91685. if (t1.get$red(color) != null) {
  91686. t2 = t1.get$red(color);
  91687. t2.toString;
  91688. t2 = A.fuzzyRound0(t2);
  91689. t3 = t1.get$green(color);
  91690. t3.toString;
  91691. t3 = A.fuzzyRound0(t3);
  91692. t4 = t1.get$blue(color);
  91693. t4.toString;
  91694. t4 = A.fuzzyRound0(t4);
  91695. t1 = t1.get$alpha(color);
  91696. return A.SassColor$rgb0(t2, t3, t4, A._asBool($.$get$_isUndefined().call$1(t1)) ? 1 : t1);
  91697. } else if (t1.get$saturation(color) != null) {
  91698. t2 = t1.get$hue(color);
  91699. t2.toString;
  91700. t3 = t1.get$saturation(color);
  91701. t3.toString;
  91702. t4 = t1.get$lightness(color);
  91703. t4.toString;
  91704. t1 = t1.get$alpha(color);
  91705. return A.SassColor$hsl(t2, t3, t4, A._asBool($.$get$_isUndefined().call$1(t1)) ? 1 : t1);
  91706. } else {
  91707. t2 = t1.get$hue(color);
  91708. t2.toString;
  91709. t3 = t1.get$whiteness(color);
  91710. t3.toString;
  91711. t4 = t1.get$blackness(color);
  91712. t4.toString;
  91713. t1 = t1.get$alpha(color);
  91714. return A.SassColor_SassColor$hwb0(t2, t3, t4, A._asBool($.$get$_isUndefined().call$1(t1)) ? 1 : t1);
  91715. }
  91716. },
  91717. $signature: 386
  91718. };
  91719. A.colorClass__closure0.prototype = {
  91720. call$2($self, options) {
  91721. var t2, t3, t4,
  91722. t1 = J.getInterceptor$x(options);
  91723. if (t1.get$whiteness(options) != null || t1.get$blackness(options) != null) {
  91724. t2 = t1.get$hue(options);
  91725. if (t2 == null)
  91726. t2 = $self.get$hue(0);
  91727. t3 = t1.get$whiteness(options);
  91728. if (t3 == null)
  91729. t3 = $self.get$whiteness(0);
  91730. t4 = t1.get$blackness(options);
  91731. if (t4 == null)
  91732. t4 = $self.get$blackness(0);
  91733. t1 = t1.get$alpha(options);
  91734. return $self.changeHwb$4$alpha$blackness$hue$whiteness(t1 == null ? $self._color1$_alpha : t1, t4, t2, t3);
  91735. } else if (t1.get$hue(options) != null || t1.get$saturation(options) != null || t1.get$lightness(options) != null) {
  91736. t2 = t1.get$hue(options);
  91737. if (t2 == null)
  91738. t2 = $self.get$hue(0);
  91739. t3 = t1.get$saturation(options);
  91740. if (t3 == null)
  91741. t3 = $self.get$saturation(0);
  91742. t4 = t1.get$lightness(options);
  91743. if (t4 == null)
  91744. t4 = $self.get$lightness(0);
  91745. t1 = t1.get$alpha(options);
  91746. return $self.changeHsl$4$alpha$hue$lightness$saturation(t1 == null ? $self._color1$_alpha : t1, t2, t4, t3);
  91747. } else if (t1.get$red(options) != null || t1.get$green(options) != null || t1.get$blue(options) != null) {
  91748. t2 = A.NullableExtension_andThen0(t1.get$red(options), A.number2__fuzzyRound$closure());
  91749. if (t2 == null)
  91750. t2 = $self.get$red(0);
  91751. t3 = A.NullableExtension_andThen0(t1.get$green(options), A.number2__fuzzyRound$closure());
  91752. if (t3 == null)
  91753. t3 = $self.get$green(0);
  91754. t4 = A.NullableExtension_andThen0(t1.get$blue(options), A.number2__fuzzyRound$closure());
  91755. if (t4 == null)
  91756. t4 = $self.get$blue(0);
  91757. t1 = t1.get$alpha(options);
  91758. return $self.changeRgb$4$alpha$blue$green$red(t1 == null ? $self._color1$_alpha : t1, t4, t3, t2);
  91759. } else {
  91760. t1 = t1.get$alpha(options);
  91761. return $self.changeAlpha$1(t1 == null ? $self._color1$_alpha : t1);
  91762. }
  91763. },
  91764. $signature: 387
  91765. };
  91766. A.colorClass__closure1.prototype = {
  91767. call$1($self) {
  91768. return $self.get$red(0);
  91769. },
  91770. $signature: 118
  91771. };
  91772. A.colorClass__closure2.prototype = {
  91773. call$1($self) {
  91774. return $self.get$green(0);
  91775. },
  91776. $signature: 118
  91777. };
  91778. A.colorClass__closure3.prototype = {
  91779. call$1($self) {
  91780. return $self.get$blue(0);
  91781. },
  91782. $signature: 118
  91783. };
  91784. A.colorClass__closure4.prototype = {
  91785. call$1($self) {
  91786. return $self.get$hue(0);
  91787. },
  91788. $signature: 59
  91789. };
  91790. A.colorClass__closure5.prototype = {
  91791. call$1($self) {
  91792. return $self.get$saturation(0);
  91793. },
  91794. $signature: 59
  91795. };
  91796. A.colorClass__closure6.prototype = {
  91797. call$1($self) {
  91798. return $self.get$lightness(0);
  91799. },
  91800. $signature: 59
  91801. };
  91802. A.colorClass__closure7.prototype = {
  91803. call$1($self) {
  91804. return $self.get$whiteness(0);
  91805. },
  91806. $signature: 59
  91807. };
  91808. A.colorClass__closure8.prototype = {
  91809. call$1($self) {
  91810. return $self.get$blackness(0);
  91811. },
  91812. $signature: 59
  91813. };
  91814. A.colorClass__closure9.prototype = {
  91815. call$1($self) {
  91816. return $self._color1$_alpha;
  91817. },
  91818. $signature: 59
  91819. };
  91820. A._Channels.prototype = {};
  91821. A._NodeSassColor.prototype = {};
  91822. A.legacyColorClass_closure.prototype = {
  91823. call$6(thisArg, redOrArgb, green, blue, alpha, dartValue) {
  91824. var red, t1, t2, t3, t4;
  91825. if (dartValue != null) {
  91826. J.set$dartValue$x(thisArg, dartValue);
  91827. return;
  91828. }
  91829. if (green == null || blue == null) {
  91830. A._asInt(redOrArgb);
  91831. alpha = B.JSInt_methods._shrOtherPositive$1(redOrArgb, 24) / 255;
  91832. red = B.JSInt_methods.$mod(B.JSInt_methods._shrOtherPositive$1(redOrArgb, 16), 256);
  91833. green = B.JSInt_methods.$mod(B.JSInt_methods._shrOtherPositive$1(redOrArgb, 8), 256);
  91834. blue = B.JSInt_methods.$mod(redOrArgb, 256);
  91835. } else {
  91836. redOrArgb.toString;
  91837. red = redOrArgb;
  91838. }
  91839. t1 = A.fuzzyRound0(B.JSNumber_methods.clamp$2(red, 0, 255));
  91840. t2 = A.fuzzyRound0(B.JSNumber_methods.clamp$2(green, 0, 255));
  91841. t3 = A.fuzzyRound0(B.JSNumber_methods.clamp$2(blue, 0, 255));
  91842. t4 = alpha == null ? null : B.JSNumber_methods.clamp$2(alpha, 0, 1);
  91843. J.set$dartValue$x(thisArg, A.SassColor$rgb0(t1, t2, t3, t4 == null ? 1 : t4));
  91844. },
  91845. call$2(thisArg, redOrArgb) {
  91846. var _null = null;
  91847. return this.call$6(thisArg, redOrArgb, _null, _null, _null, _null);
  91848. },
  91849. call$3(thisArg, redOrArgb, green) {
  91850. return this.call$6(thisArg, redOrArgb, green, null, null, null);
  91851. },
  91852. call$4(thisArg, redOrArgb, green, blue) {
  91853. return this.call$6(thisArg, redOrArgb, green, blue, null, null);
  91854. },
  91855. call$5(thisArg, redOrArgb, green, blue, alpha) {
  91856. return this.call$6(thisArg, redOrArgb, green, blue, alpha, null);
  91857. },
  91858. "call*": "call$6",
  91859. $requiredArgCount: 2,
  91860. $defaultValues() {
  91861. return [null, null, null, null];
  91862. },
  91863. $signature: 390
  91864. };
  91865. A.legacyColorClass_closure0.prototype = {
  91866. call$1(thisArg) {
  91867. return J.get$red$x(J.get$dartValue$x(thisArg));
  91868. },
  91869. $signature: 120
  91870. };
  91871. A.legacyColorClass_closure1.prototype = {
  91872. call$1(thisArg) {
  91873. return J.get$green$x(J.get$dartValue$x(thisArg));
  91874. },
  91875. $signature: 120
  91876. };
  91877. A.legacyColorClass_closure2.prototype = {
  91878. call$1(thisArg) {
  91879. return J.get$blue$x(J.get$dartValue$x(thisArg));
  91880. },
  91881. $signature: 120
  91882. };
  91883. A.legacyColorClass_closure3.prototype = {
  91884. call$1(thisArg) {
  91885. return J.get$dartValue$x(thisArg)._color1$_alpha;
  91886. },
  91887. $signature: 392
  91888. };
  91889. A.legacyColorClass_closure4.prototype = {
  91890. call$2(thisArg, value) {
  91891. var t1 = J.getInterceptor$x(thisArg);
  91892. t1.set$dartValue(thisArg, t1.get$dartValue(thisArg).changeRgb$1$red(A.fuzzyRound0(B.JSNumber_methods.clamp$2(value, 0, 255))));
  91893. },
  91894. $signature: 90
  91895. };
  91896. A.legacyColorClass_closure5.prototype = {
  91897. call$2(thisArg, value) {
  91898. var t1 = J.getInterceptor$x(thisArg);
  91899. t1.set$dartValue(thisArg, t1.get$dartValue(thisArg).changeRgb$1$green(A.fuzzyRound0(B.JSNumber_methods.clamp$2(value, 0, 255))));
  91900. },
  91901. $signature: 90
  91902. };
  91903. A.legacyColorClass_closure6.prototype = {
  91904. call$2(thisArg, value) {
  91905. var t1 = J.getInterceptor$x(thisArg);
  91906. t1.set$dartValue(thisArg, t1.get$dartValue(thisArg).changeRgb$1$blue(A.fuzzyRound0(B.JSNumber_methods.clamp$2(value, 0, 255))));
  91907. },
  91908. $signature: 90
  91909. };
  91910. A.legacyColorClass_closure7.prototype = {
  91911. call$2(thisArg, value) {
  91912. var t1 = J.getInterceptor$x(thisArg);
  91913. t1.set$dartValue(thisArg, t1.get$dartValue(thisArg).changeRgb$1$alpha(B.JSNumber_methods.clamp$2(value, 0, 1)));
  91914. },
  91915. $signature: 90
  91916. };
  91917. A.SassColor0.prototype = {
  91918. get$red(_) {
  91919. var t1;
  91920. if (this._color1$_red == null)
  91921. this._color1$_hslToRgb$0();
  91922. t1 = this._color1$_red;
  91923. t1.toString;
  91924. return t1;
  91925. },
  91926. get$green(_) {
  91927. var t1;
  91928. if (this._color1$_green == null)
  91929. this._color1$_hslToRgb$0();
  91930. t1 = this._color1$_green;
  91931. t1.toString;
  91932. return t1;
  91933. },
  91934. get$blue(_) {
  91935. var t1;
  91936. if (this._color1$_blue == null)
  91937. this._color1$_hslToRgb$0();
  91938. t1 = this._color1$_blue;
  91939. t1.toString;
  91940. return t1;
  91941. },
  91942. get$hue(_) {
  91943. var t1;
  91944. if (this._color1$_hue == null)
  91945. this._color1$_rgbToHsl$0();
  91946. t1 = this._color1$_hue;
  91947. t1.toString;
  91948. return t1;
  91949. },
  91950. get$saturation(_) {
  91951. var t1;
  91952. if (this._color1$_saturation == null)
  91953. this._color1$_rgbToHsl$0();
  91954. t1 = this._color1$_saturation;
  91955. t1.toString;
  91956. return t1;
  91957. },
  91958. get$lightness(_) {
  91959. var t1;
  91960. if (this._color1$_lightness == null)
  91961. this._color1$_rgbToHsl$0();
  91962. t1 = this._color1$_lightness;
  91963. t1.toString;
  91964. return t1;
  91965. },
  91966. get$whiteness(_) {
  91967. return Math.min(Math.min(this.get$red(0), this.get$green(0)), this.get$blue(0)) / 255 * 100;
  91968. },
  91969. get$blackness(_) {
  91970. return 100 - Math.max(Math.max(this.get$red(0), this.get$green(0)), this.get$blue(0)) / 255 * 100;
  91971. },
  91972. accept$1$1(visitor) {
  91973. return visitor.visitColor$1(this);
  91974. },
  91975. accept$1(visitor) {
  91976. return this.accept$1$1(visitor, type$.dynamic);
  91977. },
  91978. assertColor$1($name) {
  91979. return this;
  91980. },
  91981. changeRgb$4$alpha$blue$green$red(alpha, blue, green, red) {
  91982. var _this = this,
  91983. t1 = red == null ? _this.get$red(0) : red,
  91984. t2 = green == null ? _this.get$green(0) : green,
  91985. t3 = blue == null ? _this.get$blue(0) : blue;
  91986. return A.SassColor$rgb0(t1, t2, t3, alpha == null ? _this._color1$_alpha : alpha);
  91987. },
  91988. changeRgb$3$blue$green$red(blue, green, red) {
  91989. return this.changeRgb$4$alpha$blue$green$red(null, blue, green, red);
  91990. },
  91991. changeRgb$1$alpha(alpha) {
  91992. return this.changeRgb$4$alpha$blue$green$red(alpha, null, null, null);
  91993. },
  91994. changeRgb$1$blue(blue) {
  91995. return this.changeRgb$4$alpha$blue$green$red(null, blue, null, null);
  91996. },
  91997. changeRgb$1$green(green) {
  91998. return this.changeRgb$4$alpha$blue$green$red(null, null, green, null);
  91999. },
  92000. changeRgb$1$red(red) {
  92001. return this.changeRgb$4$alpha$blue$green$red(null, null, null, red);
  92002. },
  92003. changeHsl$4$alpha$hue$lightness$saturation(alpha, hue, lightness, saturation) {
  92004. var _this = this,
  92005. t1 = hue == null ? _this.get$hue(0) : hue,
  92006. t2 = saturation == null ? _this.get$saturation(0) : saturation,
  92007. t3 = lightness == null ? _this.get$lightness(0) : lightness;
  92008. return A.SassColor$hsl(t1, t2, t3, alpha == null ? _this._color1$_alpha : alpha);
  92009. },
  92010. changeHsl$1$saturation(saturation) {
  92011. return this.changeHsl$4$alpha$hue$lightness$saturation(null, null, null, saturation);
  92012. },
  92013. changeHsl$1$lightness(lightness) {
  92014. return this.changeHsl$4$alpha$hue$lightness$saturation(null, null, lightness, null);
  92015. },
  92016. changeHsl$1$hue(hue) {
  92017. return this.changeHsl$4$alpha$hue$lightness$saturation(null, hue, null, null);
  92018. },
  92019. changeHwb$4$alpha$blackness$hue$whiteness(alpha, blackness, hue, whiteness) {
  92020. var t1 = hue == null ? this.get$hue(0) : hue;
  92021. return A.SassColor_SassColor$hwb0(t1, whiteness, blackness, alpha);
  92022. },
  92023. changeAlpha$1(alpha) {
  92024. var _this = this;
  92025. return new A.SassColor0(_this._color1$_red, _this._color1$_green, _this._color1$_blue, _this._color1$_hue, _this._color1$_saturation, _this._color1$_lightness, A.fuzzyAssertRange0(alpha, 0, 1, "alpha"), null);
  92026. },
  92027. plus$1(other) {
  92028. if (!(other instanceof A.SassNumber0) && !(other instanceof A.SassColor0))
  92029. return this.super$Value$plus0(other);
  92030. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  92031. },
  92032. minus$1(other) {
  92033. if (!(other instanceof A.SassNumber0) && !(other instanceof A.SassColor0))
  92034. return this.super$Value$minus0(other);
  92035. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " - " + other.toString$0(0) + '".', null));
  92036. },
  92037. dividedBy$1(other) {
  92038. if (!(other instanceof A.SassNumber0) && !(other instanceof A.SassColor0))
  92039. return this.super$Value$dividedBy0(other);
  92040. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " / " + other.toString$0(0) + '".', null));
  92041. },
  92042. $eq(_, other) {
  92043. var _this = this;
  92044. if (other == null)
  92045. return false;
  92046. return other instanceof A.SassColor0 && other.get$red(0) === _this.get$red(0) && other.get$green(0) === _this.get$green(0) && other.get$blue(0) === _this.get$blue(0) && other._color1$_alpha === _this._color1$_alpha;
  92047. },
  92048. get$hashCode(_) {
  92049. var _this = this;
  92050. return B.JSInt_methods.get$hashCode(_this.get$red(0)) ^ B.JSInt_methods.get$hashCode(_this.get$green(0)) ^ B.JSInt_methods.get$hashCode(_this.get$blue(0)) ^ B.JSNumber_methods.get$hashCode(_this._color1$_alpha);
  92051. },
  92052. _color1$_rgbToHsl$0() {
  92053. var t2, lightness, _this = this,
  92054. scaledRed = _this.get$red(0) / 255,
  92055. scaledGreen = _this.get$green(0) / 255,
  92056. scaledBlue = _this.get$blue(0) / 255,
  92057. max = Math.max(Math.max(scaledRed, scaledGreen), scaledBlue),
  92058. min = Math.min(Math.min(scaledRed, scaledGreen), scaledBlue),
  92059. delta = max - min,
  92060. t1 = max === min;
  92061. if (t1)
  92062. _this._color1$_hue = 0;
  92063. else if (max === scaledRed)
  92064. _this._color1$_hue = B.JSNumber_methods.$mod(60 * (scaledGreen - scaledBlue) / delta, 360);
  92065. else if (max === scaledGreen)
  92066. _this._color1$_hue = B.JSNumber_methods.$mod(120 + 60 * (scaledBlue - scaledRed) / delta, 360);
  92067. else if (max === scaledBlue)
  92068. _this._color1$_hue = B.JSNumber_methods.$mod(240 + 60 * (scaledRed - scaledGreen) / delta, 360);
  92069. t2 = max + min;
  92070. lightness = 50 * t2;
  92071. _this._color1$_lightness = lightness;
  92072. if (t1)
  92073. _this._color1$_saturation = 0;
  92074. else {
  92075. t1 = 100 * delta;
  92076. if (lightness < 50)
  92077. _this._color1$_saturation = t1 / t2;
  92078. else
  92079. _this._color1$_saturation = t1 / (2 - max - min);
  92080. }
  92081. },
  92082. _color1$_hslToRgb$0() {
  92083. var _this = this,
  92084. scaledHue = _this.get$hue(0) / 360,
  92085. scaledSaturation = _this.get$saturation(0) / 100,
  92086. scaledLightness = _this.get$lightness(0) / 100,
  92087. m2 = scaledLightness <= 0.5 ? scaledLightness * (scaledSaturation + 1) : scaledLightness + scaledSaturation - scaledLightness * scaledSaturation,
  92088. m1 = scaledLightness * 2 - m2;
  92089. _this._color1$_red = A.fuzzyRound0(A.SassColor__hueToRgb0(m1, m2, scaledHue + 0.3333333333333333) * 255);
  92090. _this._color1$_green = A.fuzzyRound0(A.SassColor__hueToRgb0(m1, m2, scaledHue) * 255);
  92091. _this._color1$_blue = A.fuzzyRound0(A.SassColor__hueToRgb0(m1, m2, scaledHue - 0.3333333333333333) * 255);
  92092. }
  92093. };
  92094. A.SassColor_SassColor$hwb_toRgb0.prototype = {
  92095. call$1(hue) {
  92096. return A.fuzzyRound0((A.SassColor__hueToRgb0(0, 1, hue) * this.factor + this._box_0.scaledWhiteness) * 255);
  92097. },
  92098. $signature: 161
  92099. };
  92100. A._ColorFormatEnum0.prototype = {
  92101. toString$0(_) {
  92102. return this._color1$_name;
  92103. }
  92104. };
  92105. A.SpanColorFormat0.prototype = {};
  92106. A.Combinator0.prototype = {
  92107. _enumToString$0() {
  92108. return "Combinator." + this._name;
  92109. },
  92110. toString$0(_) {
  92111. return this._combinator0$_text;
  92112. }
  92113. };
  92114. A.ModifiableCssComment0.prototype = {
  92115. accept$1$1(visitor) {
  92116. return visitor.visitCssComment$1(this);
  92117. },
  92118. accept$1(visitor) {
  92119. return this.accept$1$1(visitor, type$.dynamic);
  92120. },
  92121. $isCssComment0: 1,
  92122. get$span(receiver) {
  92123. return this.span;
  92124. }
  92125. };
  92126. A.compileAsync_closure.prototype = {
  92127. call$0() {
  92128. var $async$goto = 0,
  92129. $async$completer = A._makeAsyncAwaitCompleter(type$.NodeCompileResult),
  92130. $async$returnValue, $async$self = this, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, result, t1, t2, t3, t4;
  92131. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92132. if ($async$errorCode === 1)
  92133. return A._asyncRethrow($async$result, $async$completer);
  92134. while (true)
  92135. switch ($async$goto) {
  92136. case 0:
  92137. // Function start
  92138. t1 = $async$self.options;
  92139. t2 = t1 == null;
  92140. t3 = t2 ? null : J.get$loadPaths$x(t1);
  92141. t4 = t2 ? null : J.get$quietDeps$x(t1);
  92142. if (t4 == null)
  92143. t4 = false;
  92144. t5 = A._parseOutputStyle0(t2 ? null : J.get$style$x(t1));
  92145. t6 = t2 ? null : J.get$verbose$x(t1);
  92146. if (t6 == null)
  92147. t6 = false;
  92148. t7 = t2 ? null : J.get$charset$x(t1);
  92149. if (t7 == null)
  92150. t7 = true;
  92151. t8 = t2 ? null : J.get$sourceMap$x(t1);
  92152. if (t8 == null)
  92153. t8 = false;
  92154. t9 = $async$self.logger;
  92155. if (t2)
  92156. t10 = null;
  92157. else {
  92158. t10 = J.get$importers$x(t1);
  92159. t10 = t10 == null ? null : J.map$1$1$ax(t10, new A.compileAsync__closure(), type$.AsyncImporter);
  92160. }
  92161. t11 = A._parseFunctions0(t2 ? null : J.get$functions$x(t1), true);
  92162. t12 = A._parseDeprecations(t9, t2 ? null : J.get$fatalDeprecations$x(t1), true);
  92163. t13 = A._parseDeprecations(t9, t2 ? null : J.get$silenceDeprecations$x(t1), false);
  92164. t14 = A._parseDeprecations(t9, t2 ? null : J.get$futureDeprecations$x(t1), false);
  92165. $async$goto = 3;
  92166. return A._asyncAwait(A.compileAsync0($async$self.path, t7, t12, t11, t14, A.AsyncImportCache$(t10, t3, t9, null), null, null, t9, null, t4, t13, t8, t5, null, true, t6), $async$call$0);
  92167. case 3:
  92168. // returning from await.
  92169. result = $async$result;
  92170. t1 = t2 ? null : J.get$sourceMapIncludeSources$x(t1);
  92171. $async$returnValue = A._convertResult(result, t1 == null ? false : t1);
  92172. // goto return
  92173. $async$goto = 1;
  92174. break;
  92175. case 1:
  92176. // return
  92177. return A._asyncReturn($async$returnValue, $async$completer);
  92178. }
  92179. });
  92180. return A._asyncStartSync($async$call$0, $async$completer);
  92181. },
  92182. $signature: 206
  92183. };
  92184. A.compileAsync__closure.prototype = {
  92185. call$1(importer) {
  92186. return A._parseAsyncImporter(importer);
  92187. },
  92188. $signature: 201
  92189. };
  92190. A.compileStringAsync_closure.prototype = {
  92191. call$0() {
  92192. var $async$goto = 0,
  92193. $async$completer = A._makeAsyncAwaitCompleter(type$.NodeCompileResult),
  92194. $async$returnValue, $async$self = this, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, result, t1, t2, t3, t4, t5, t6;
  92195. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92196. if ($async$errorCode === 1)
  92197. return A._asyncRethrow($async$result, $async$completer);
  92198. while (true)
  92199. switch ($async$goto) {
  92200. case 0:
  92201. // Function start
  92202. t1 = $async$self.options;
  92203. t2 = t1 == null;
  92204. t3 = A.parseSyntax(t2 ? null : J.get$syntax$x(t1));
  92205. t4 = t2 ? null : A.NullableExtension_andThen0(J.get$url$x(t1), A.utils1__jsToDartUrl$closure());
  92206. t5 = t2 ? null : J.get$loadPaths$x(t1);
  92207. t6 = t2 ? null : J.get$quietDeps$x(t1);
  92208. if (t6 == null)
  92209. t6 = false;
  92210. t7 = A._parseOutputStyle0(t2 ? null : J.get$style$x(t1));
  92211. t8 = t2 ? null : J.get$verbose$x(t1);
  92212. if (t8 == null)
  92213. t8 = false;
  92214. t9 = t2 ? null : J.get$charset$x(t1);
  92215. if (t9 == null)
  92216. t9 = true;
  92217. t10 = t2 ? null : J.get$sourceMap$x(t1);
  92218. if (t10 == null)
  92219. t10 = false;
  92220. t11 = $async$self.logger;
  92221. if (t2)
  92222. t12 = null;
  92223. else {
  92224. t12 = J.get$importers$x(t1);
  92225. t12 = t12 == null ? null : J.map$1$1$ax(t12, new A.compileStringAsync__closure(), type$.AsyncImporter);
  92226. }
  92227. t13 = t2 ? null : A.NullableExtension_andThen0(J.get$importer$x(t1), new A.compileStringAsync__closure0());
  92228. if (t13 == null)
  92229. t13 = (t2 ? null : J.get$url$x(t1)) == null ? new A.NoOpImporter0() : null;
  92230. t14 = A._parseFunctions0(t2 ? null : J.get$functions$x(t1), true);
  92231. t15 = A._parseDeprecations(t11, t2 ? null : J.get$fatalDeprecations$x(t1), true);
  92232. t16 = A._parseDeprecations(t11, t2 ? null : J.get$silenceDeprecations$x(t1), false);
  92233. t17 = A._parseDeprecations(t11, t2 ? null : J.get$futureDeprecations$x(t1), false);
  92234. $async$goto = 3;
  92235. return A._asyncAwait(A.compileStringAsync0($async$self.text, t9, t15, t14, t17, A.AsyncImportCache$(t12, t5, t11, null), t13, null, null, t11, null, t6, t16, t10, t7, t3, t4, true, t8), $async$call$0);
  92236. case 3:
  92237. // returning from await.
  92238. result = $async$result;
  92239. t1 = t2 ? null : J.get$sourceMapIncludeSources$x(t1);
  92240. $async$returnValue = A._convertResult(result, t1 == null ? false : t1);
  92241. // goto return
  92242. $async$goto = 1;
  92243. break;
  92244. case 1:
  92245. // return
  92246. return A._asyncReturn($async$returnValue, $async$completer);
  92247. }
  92248. });
  92249. return A._asyncStartSync($async$call$0, $async$completer);
  92250. },
  92251. $signature: 206
  92252. };
  92253. A.compileStringAsync__closure.prototype = {
  92254. call$1(importer) {
  92255. return A._parseAsyncImporter(importer);
  92256. },
  92257. $signature: 201
  92258. };
  92259. A.compileStringAsync__closure0.prototype = {
  92260. call$1(importer) {
  92261. return A._parseAsyncImporter(importer);
  92262. },
  92263. $signature: 396
  92264. };
  92265. A._wrapAsyncSassExceptions_closure.prototype = {
  92266. call$1(error) {
  92267. var t1;
  92268. if (error instanceof A.SassException0)
  92269. t1 = A.throwNodeException(error, this.ascii, this.color, null);
  92270. else
  92271. t1 = A.jsThrow(error == null ? type$.Object._as(error) : error);
  92272. return t1;
  92273. },
  92274. $signature: 397
  92275. };
  92276. A._parseFunctions_closure0.prototype = {
  92277. call$2(signature, callback) {
  92278. var callable,
  92279. t1 = this.result;
  92280. if (!this.asynch) {
  92281. callable = A._Cell$();
  92282. callable.__late_helper$_value = A.Callable_Callable$fromSignature(signature, new A._parseFunctions__closure2(callback, callable), true);
  92283. t1.push(callable._readLocal$0());
  92284. } else {
  92285. callable = A._Cell$();
  92286. callable.__late_helper$_value = A.AsyncCallable_AsyncCallable$fromSignature(signature, new A._parseFunctions__closure3(callback, callable), true);
  92287. t1.push(callable._readLocal$0());
  92288. }
  92289. },
  92290. $signature: 122
  92291. };
  92292. A._parseFunctions__closure2.prototype = {
  92293. call$1($arguments) {
  92294. var t1, t2,
  92295. _s42_ = string$.Invali,
  92296. result = A.wrapJSExceptions(new A._parseFunctions___closure6(this.callback, $arguments));
  92297. if (result instanceof A.Value0)
  92298. return A._simplifyValue(result);
  92299. t1 = result != null && result instanceof self.Promise;
  92300. t2 = this.callable;
  92301. if (t1)
  92302. throw A.wrapException(_s42_ + J.get$name$x(t2.readLocal$0()) + '":\nPromises may only be returned for sass.compileAsync() and sass.compileStringAsync().');
  92303. else
  92304. throw A.wrapException(_s42_ + J.get$name$x(t2.readLocal$0()) + '": ' + A.S(result) + " is not a sass.Value.");
  92305. },
  92306. $signature: 3
  92307. };
  92308. A._parseFunctions___closure6.prototype = {
  92309. call$0() {
  92310. return type$.Function._as(this.callback).call$1(A.toJSArray(this.$arguments));
  92311. },
  92312. $signature: 62
  92313. };
  92314. A._parseFunctions__closure3.prototype = {
  92315. call$1($arguments) {
  92316. return this.$call$body$_parseFunctions__closure0($arguments);
  92317. },
  92318. $call$body$_parseFunctions__closure0($arguments) {
  92319. var $async$goto = 0,
  92320. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  92321. $async$returnValue, $async$self = this, result;
  92322. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92323. if ($async$errorCode === 1)
  92324. return A._asyncRethrow($async$result, $async$completer);
  92325. while (true)
  92326. switch ($async$goto) {
  92327. case 0:
  92328. // Function start
  92329. result = A.wrapJSExceptions(new A._parseFunctions___closure5($async$self.callback, $arguments));
  92330. $async$goto = result != null && result instanceof self.Promise ? 3 : 4;
  92331. break;
  92332. case 3:
  92333. // then
  92334. $async$goto = 5;
  92335. return A._asyncAwait(A.promiseToFuture(type$.Promise._as(result), type$.Object), $async$call$1);
  92336. case 5:
  92337. // returning from await.
  92338. result = $async$result;
  92339. case 4:
  92340. // join
  92341. if (result instanceof A.Value0) {
  92342. $async$returnValue = A._simplifyValue(result);
  92343. // goto return
  92344. $async$goto = 1;
  92345. break;
  92346. }
  92347. throw A.wrapException(string$.Invali + J.get$name$x($async$self.callable.readLocal$0()) + '": ' + A.S(result) + " is not a sass.Value.");
  92348. case 1:
  92349. // return
  92350. return A._asyncReturn($async$returnValue, $async$completer);
  92351. }
  92352. });
  92353. return A._asyncStartSync($async$call$1, $async$completer);
  92354. },
  92355. $signature: 89
  92356. };
  92357. A._parseFunctions___closure5.prototype = {
  92358. call$0() {
  92359. return type$.Function._as(this.callback).call$1(A.toJSArray(this.$arguments));
  92360. },
  92361. $signature: 62
  92362. };
  92363. A._parseDeprecations_closure.prototype = {
  92364. call$0() {
  92365. return new A._SyncStarIterable(this.$call$body$_parseDeprecations_closure(), type$._SyncStarIterable_Deprecation);
  92366. },
  92367. $call$body$_parseDeprecations_closure() {
  92368. var $async$self = this;
  92369. return function() {
  92370. var $async$goto = 0, $async$handler = 1, $async$currentError, t1, t2, t3, t4, item, t5, id, deprecation, version;
  92371. return function $async$call$0($async$iterator, $async$errorCode, $async$result) {
  92372. if ($async$errorCode === 1) {
  92373. $async$currentError = $async$result;
  92374. $async$goto = $async$handler;
  92375. }
  92376. while (true)
  92377. switch ($async$goto) {
  92378. case 0:
  92379. // Function start
  92380. t1 = J.get$iterator$ax($async$self.deprecations), t2 = type$.Deprecation_2, t3 = $async$self.supportVersions, t4 = $async$self.logger;
  92381. case 2:
  92382. // for condition
  92383. if (!t1.moveNext$0()) {
  92384. // goto after for
  92385. $async$goto = 3;
  92386. break;
  92387. }
  92388. item = t1.get$current(t1);
  92389. t5 = typeof item == "string";
  92390. id = t5 ? item : null;
  92391. $async$goto = t5 ? 4 : 5;
  92392. break;
  92393. case 4:
  92394. // then
  92395. deprecation = A.Deprecation_fromId0(id);
  92396. $async$goto = deprecation == null ? 6 : 8;
  92397. break;
  92398. case 6:
  92399. // then
  92400. t4.internalWarn$4$deprecation$span$trace('Invalid deprecation "' + A.S(id) + '".', null, null, null);
  92401. // goto join
  92402. $async$goto = 7;
  92403. break;
  92404. case 8:
  92405. // else
  92406. $async$goto = 9;
  92407. return $async$iterator._async$_current = deprecation, 1;
  92408. case 9:
  92409. // after yield
  92410. case 7:
  92411. // join
  92412. // goto for condition
  92413. $async$goto = 2;
  92414. break;
  92415. case 5:
  92416. // join
  92417. t5 = t2._is(item);
  92418. id = t5 ? J.get$id$x(item) : null;
  92419. $async$goto = t5 ? 10 : 11;
  92420. break;
  92421. case 10:
  92422. // then
  92423. deprecation = A.Deprecation_fromId0(id);
  92424. $async$goto = deprecation == null ? 12 : 14;
  92425. break;
  92426. case 12:
  92427. // then
  92428. t4.internalWarn$4$deprecation$span$trace('Invalid deprecation "' + A.S(id) + '".', null, null, null);
  92429. // goto join
  92430. $async$goto = 13;
  92431. break;
  92432. case 14:
  92433. // else
  92434. $async$goto = 15;
  92435. return $async$iterator._async$_current = deprecation, 1;
  92436. case 15:
  92437. // after yield
  92438. case 13:
  92439. // join
  92440. // goto for condition
  92441. $async$goto = 2;
  92442. break;
  92443. case 11:
  92444. // join
  92445. if (item instanceof A.Version) {
  92446. t5 = t3;
  92447. version = item;
  92448. } else {
  92449. version = null;
  92450. t5 = false;
  92451. }
  92452. $async$goto = t5 ? 16 : 17;
  92453. break;
  92454. case 16:
  92455. // then
  92456. $async$goto = 18;
  92457. return $async$iterator._yieldStar$1(A.Deprecation_forVersion0(version));
  92458. case 18:
  92459. // after yield
  92460. case 17:
  92461. // join
  92462. // goto for condition
  92463. $async$goto = 2;
  92464. break;
  92465. case 3:
  92466. // after for
  92467. // implicit return
  92468. return 0;
  92469. case 1:
  92470. // rethrow
  92471. return $async$iterator._datum = $async$currentError, 3;
  92472. }
  92473. };
  92474. };
  92475. },
  92476. $signature: 399
  92477. };
  92478. A.nodePackageImporterClass_closure.prototype = {
  92479. call$0() {
  92480. return type$.JSClass._as(A.allowInteropCaptureThisNamed("sass.NodePackageImporter", new A.nodePackageImporterClass__closure()));
  92481. },
  92482. $signature: 13
  92483. };
  92484. A.nodePackageImporterClass__closure.prototype = {
  92485. call$2($self, entrypointDirectory) {
  92486. var directory, t1, filename, t2, _null = null,
  92487. _0_3 = A.entrypointFilename();
  92488. $label0$0: {
  92489. if (entrypointDirectory != null) {
  92490. directory = entrypointDirectory == null ? A._asString(entrypointDirectory) : entrypointDirectory;
  92491. t1 = directory;
  92492. break $label0$0;
  92493. }
  92494. if (_0_3 != null) {
  92495. filename = _0_3 == null ? A._asString(_0_3) : _0_3;
  92496. t1 = $.$get$context().dirname$1(filename);
  92497. break $label0$0;
  92498. }
  92499. 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`.");
  92500. }
  92501. t2 = new A.NodePackageImporter0();
  92502. if (A.isBrowser())
  92503. A.throwExpression(string$.The_No);
  92504. t2._node_package$__NodePackageImporter__entryPointDirectory_F = A.absolute(t1, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  92505. return t2;
  92506. },
  92507. call$1($self) {
  92508. return this.call$2($self, null);
  92509. },
  92510. "call*": "call$2",
  92511. $requiredArgCount: 1,
  92512. $defaultValues() {
  92513. return [null];
  92514. },
  92515. $signature: 400
  92516. };
  92517. A._compileStylesheet_closure1.prototype = {
  92518. call$1(url) {
  92519. return url === "" ? A.Uri_Uri$dataFromString(A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(this.stylesheet.span.file._decodedChars, 0, null), 0, null), B.C_Utf8Codec, null).get$_text() : this.importCache.sourceMapUrl$1(0, A.Uri_parse(url)).toString$0(0);
  92520. },
  92521. $signature: 5
  92522. };
  92523. A.CompileOptions.prototype = {};
  92524. A.CompileStringOptions.prototype = {};
  92525. A.NodeCompileResult.prototype = {};
  92526. A.CompileResult0.prototype = {};
  92527. A.Compiler.prototype = {};
  92528. A.AsyncCompiler.prototype = {
  92529. addCompilation$1(compilation) {
  92530. this.compilations.add$1(0, A.promiseToFuture0(compilation, type$.dynamic).catchError$1(new A.AsyncCompiler_addCompilation_closure()));
  92531. }
  92532. };
  92533. A.AsyncCompiler_addCompilation_closure.prototype = {
  92534. call$1(err) {
  92535. },
  92536. $signature: 54
  92537. };
  92538. A.compilerClass_closure.prototype = {
  92539. call$0() {
  92540. var t1 = type$.JSClass,
  92541. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.Compiler", new A.compilerClass__closure()));
  92542. 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));
  92543. A.JSClassExtension_injectSuperclass(t1._as(new A.Compiler().constructor), jsClass);
  92544. return jsClass;
  92545. },
  92546. $signature: 13
  92547. };
  92548. A.compilerClass__closure.prototype = {
  92549. call$1($self) {
  92550. return A.LinkedHashSet_LinkedHashSet$_literal([A.jsThrow(new self.Error("Compiler can not be directly constructed. Please use `sass.initCompiler()` instead."))], type$.Never);
  92551. },
  92552. $signature: 200
  92553. };
  92554. A.compilerClass__closure0.prototype = {
  92555. call$3($self, path, options) {
  92556. if ($self._disposed)
  92557. A.jsThrow(new self.Error("Compiler has already been disposed."));
  92558. return A.compile0(path, options);
  92559. },
  92560. call$2($self, path) {
  92561. return this.call$3($self, path, null);
  92562. },
  92563. "call*": "call$3",
  92564. $requiredArgCount: 2,
  92565. $defaultValues() {
  92566. return [null];
  92567. },
  92568. $signature: 402
  92569. };
  92570. A.compilerClass__closure1.prototype = {
  92571. call$3($self, source, options) {
  92572. if ($self._disposed)
  92573. A.jsThrow(new self.Error("Compiler has already been disposed."));
  92574. return A.compileString0(source, options);
  92575. },
  92576. call$2($self, source) {
  92577. return this.call$3($self, source, null);
  92578. },
  92579. "call*": "call$3",
  92580. $requiredArgCount: 2,
  92581. $defaultValues() {
  92582. return [null];
  92583. },
  92584. $signature: 403
  92585. };
  92586. A.compilerClass__closure2.prototype = {
  92587. call$1($self) {
  92588. $self._disposed = true;
  92589. },
  92590. $signature: 404
  92591. };
  92592. A.asyncCompilerClass_closure.prototype = {
  92593. call$0() {
  92594. var t1 = type$.JSClass,
  92595. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.AsyncCompiler", new A.asyncCompilerClass__closure()));
  92596. 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));
  92597. 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);
  92598. return jsClass;
  92599. },
  92600. $signature: 13
  92601. };
  92602. A.asyncCompilerClass__closure.prototype = {
  92603. call$1($self) {
  92604. return A.LinkedHashSet_LinkedHashSet$_literal([A.jsThrow(new self.Error("AsyncCompiler can not be directly constructed. Please use `sass.initAsyncCompiler()` instead."))], type$.Never);
  92605. },
  92606. $signature: 200
  92607. };
  92608. A.asyncCompilerClass__closure0.prototype = {
  92609. call$3($self, path, options) {
  92610. var compilation;
  92611. if ($self._disposed)
  92612. A.jsThrow(new self.Error("Compiler has already been disposed."));
  92613. compilation = A.compileAsync1(path, options);
  92614. $self.addCompilation$1(compilation);
  92615. return compilation;
  92616. },
  92617. call$2($self, path) {
  92618. return this.call$3($self, path, null);
  92619. },
  92620. "call*": "call$3",
  92621. $requiredArgCount: 2,
  92622. $defaultValues() {
  92623. return [null];
  92624. },
  92625. $signature: 405
  92626. };
  92627. A.asyncCompilerClass__closure1.prototype = {
  92628. call$3($self, source, options) {
  92629. var compilation;
  92630. if ($self._disposed)
  92631. A.jsThrow(new self.Error("Compiler has already been disposed."));
  92632. compilation = A.compileStringAsync1(source, options);
  92633. $self.addCompilation$1(compilation);
  92634. return compilation;
  92635. },
  92636. call$2($self, source) {
  92637. return this.call$3($self, source, null);
  92638. },
  92639. "call*": "call$3",
  92640. $requiredArgCount: 2,
  92641. $defaultValues() {
  92642. return [null];
  92643. },
  92644. $signature: 406
  92645. };
  92646. A.asyncCompilerClass__closure2.prototype = {
  92647. call$1($self) {
  92648. $self._disposed = true;
  92649. return A.futureToPromise0(new A.asyncCompilerClass___closure($self).call$0());
  92650. },
  92651. $signature: 407
  92652. };
  92653. A.asyncCompilerClass___closure.prototype = {
  92654. call$0() {
  92655. var $async$goto = 0,
  92656. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  92657. $async$self = this, t1;
  92658. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92659. if ($async$errorCode === 1)
  92660. return A._asyncRethrow($async$result, $async$completer);
  92661. while (true)
  92662. switch ($async$goto) {
  92663. case 0:
  92664. // Function start
  92665. t1 = $async$self.self.compilations;
  92666. t1.close$0(0);
  92667. $async$goto = 2;
  92668. return A._asyncAwait(t1._future_group$_completer.future, $async$call$0);
  92669. case 2:
  92670. // returning from await.
  92671. // implicit return
  92672. return A._asyncReturn(null, $async$completer);
  92673. }
  92674. });
  92675. return A._asyncStartSync($async$call$0, $async$completer);
  92676. },
  92677. $signature: 2
  92678. };
  92679. A.initAsyncCompiler_closure.prototype = {
  92680. call$0() {
  92681. var $async$goto = 0,
  92682. $async$completer = A._makeAsyncAwaitCompleter(type$.AsyncCompiler),
  92683. $async$returnValue;
  92684. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92685. if ($async$errorCode === 1)
  92686. return A._asyncRethrow($async$result, $async$completer);
  92687. while (true)
  92688. switch ($async$goto) {
  92689. case 0:
  92690. // Function start
  92691. $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));
  92692. // goto return
  92693. $async$goto = 1;
  92694. break;
  92695. case 1:
  92696. // return
  92697. return A._asyncReturn($async$returnValue, $async$completer);
  92698. }
  92699. });
  92700. return A._asyncStartSync($async$call$0, $async$completer);
  92701. },
  92702. $signature: 408
  92703. };
  92704. A.ComplexSassNumber0.prototype = {
  92705. get$numeratorUnits(_) {
  92706. return this._complex0$_numeratorUnits;
  92707. },
  92708. get$denominatorUnits(_) {
  92709. return this._complex0$_denominatorUnits;
  92710. },
  92711. get$hasUnits() {
  92712. return true;
  92713. },
  92714. get$hasComplexUnits() {
  92715. return true;
  92716. },
  92717. hasUnit$1(unit) {
  92718. return false;
  92719. },
  92720. compatibleWithUnit$1(unit) {
  92721. return false;
  92722. },
  92723. hasPossiblyCompatibleUnits$1(other) {
  92724. throw A.wrapException(A.UnimplementedError$(string$.Comple));
  92725. },
  92726. withValue$1(value) {
  92727. return new A.ComplexSassNumber0(this._complex0$_numeratorUnits, this._complex0$_denominatorUnits, value, null);
  92728. },
  92729. withSlash$2(numerator, denominator) {
  92730. return new A.ComplexSassNumber0(this._complex0$_numeratorUnits, this._complex0$_denominatorUnits, this._number1$_value, new A._Record_2(numerator, denominator));
  92731. }
  92732. };
  92733. A.ComplexSelector0.prototype = {
  92734. get$specificity() {
  92735. var result, _this = this,
  92736. value = _this._complex$__ComplexSelector_specificity_FI;
  92737. if (value === $) {
  92738. result = B.JSArray_methods.fold$2(_this.components, 0, new A.ComplexSelector_specificity_closure0());
  92739. _this._complex$__ComplexSelector_specificity_FI !== $ && A.throwUnnamedLateFieldADI();
  92740. _this._complex$__ComplexSelector_specificity_FI = result;
  92741. value = result;
  92742. }
  92743. return value;
  92744. },
  92745. get$singleCompound() {
  92746. var _0_0, _0_4, t1, selector, _null = null;
  92747. if (this.leadingCombinators.length !== 0)
  92748. return _null;
  92749. _0_0 = this.components;
  92750. $label0$0: {
  92751. if (_0_0.length === 1) {
  92752. _0_4 = _0_0[0];
  92753. t1 = _0_4;
  92754. selector = t1.selector;
  92755. t1 = _0_4.combinators.length <= 0;
  92756. } else {
  92757. selector = _null;
  92758. t1 = false;
  92759. }
  92760. if (t1) {
  92761. t1 = selector;
  92762. break $label0$0;
  92763. }
  92764. t1 = _null;
  92765. break $label0$0;
  92766. }
  92767. return t1;
  92768. },
  92769. accept$1$1(visitor) {
  92770. return visitor.visitComplexSelector$1(this);
  92771. },
  92772. accept$1(visitor) {
  92773. return this.accept$1$1(visitor, type$.dynamic);
  92774. },
  92775. isSuperselector$1(other) {
  92776. return this.leadingCombinators.length === 0 && other.leadingCombinators.length === 0 && A.complexIsSuperselector0(this.components, other.components);
  92777. },
  92778. withAdditionalCombinators$1(combinators) {
  92779. var _0_0, _0_1, t1, initial, last, _this = this;
  92780. if (combinators.length === 0)
  92781. return _this;
  92782. _0_0 = _this.components;
  92783. $label0$0: {
  92784. _0_1 = _0_0.length;
  92785. if (_0_1 >= 1) {
  92786. t1 = _0_1 - 1;
  92787. initial = B.JSArray_methods.sublist$2(_0_0, 0, t1);
  92788. last = _0_0[t1];
  92789. t1 = A.List_List$of(initial, true, type$.ComplexSelectorComponent_2);
  92790. t1.push(last.withAdditionalCombinators$1(combinators));
  92791. t1 = A.ComplexSelector$0(_this.leadingCombinators, t1, _this.span, _this.lineBreak);
  92792. break $label0$0;
  92793. }
  92794. if (_0_1 <= 0) {
  92795. t1 = A.List_List$of(_this.leadingCombinators, true, type$.CssValue_Combinator_2);
  92796. B.JSArray_methods.addAll$1(t1, combinators);
  92797. t1 = A.ComplexSelector$0(t1, B.List_empty13, _this.span, _this.lineBreak);
  92798. break $label0$0;
  92799. }
  92800. throw A.wrapException(A.ReachabilityError$(string$.None_o));
  92801. }
  92802. return t1;
  92803. },
  92804. concatenate$3$forceLineBreak(child, span, forceLineBreak) {
  92805. var t2, _0_1, initial, last, _this = this,
  92806. t1 = child.leadingCombinators,
  92807. _0_0 = _this.components;
  92808. if (t1.length === 0) {
  92809. t1 = A.List_List$of(_0_0, true, type$.ComplexSelectorComponent_2);
  92810. B.JSArray_methods.addAll$1(t1, child.components);
  92811. t2 = _this.lineBreak || child.lineBreak || forceLineBreak;
  92812. return A.ComplexSelector$0(_this.leadingCombinators, t1, span, t2);
  92813. } else {
  92814. _0_1 = _0_0.length;
  92815. if (_0_1 >= 1) {
  92816. t2 = _0_1 - 1;
  92817. initial = B.JSArray_methods.sublist$2(_0_0, 0, t2);
  92818. last = _0_0[t2];
  92819. t2 = A.List_List$of(initial, true, type$.ComplexSelectorComponent_2);
  92820. t2.push(last.withAdditionalCombinators$1(t1));
  92821. B.JSArray_methods.addAll$1(t2, child.components);
  92822. t1 = _this.lineBreak || child.lineBreak || forceLineBreak;
  92823. return A.ComplexSelector$0(_this.leadingCombinators, t2, span, t1);
  92824. } else {
  92825. t2 = A.List_List$of(_this.leadingCombinators, true, type$.CssValue_Combinator_2);
  92826. B.JSArray_methods.addAll$1(t2, t1);
  92827. t1 = _this.lineBreak || child.lineBreak || forceLineBreak;
  92828. return A.ComplexSelector$0(t2, child.components, span, t1);
  92829. }
  92830. }
  92831. },
  92832. concatenate$2(child, span) {
  92833. return this.concatenate$3$forceLineBreak(child, span, false);
  92834. },
  92835. get$hashCode(_) {
  92836. return B.C_ListEquality0.hash$1(this.leadingCombinators) ^ B.C_ListEquality0.hash$1(this.components);
  92837. },
  92838. $eq(_, other) {
  92839. if (other == null)
  92840. return false;
  92841. 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);
  92842. }
  92843. };
  92844. A.ComplexSelector_specificity_closure0.prototype = {
  92845. call$2(sum, component) {
  92846. return sum + component.selector.get$specificity();
  92847. },
  92848. $signature: 409
  92849. };
  92850. A.ComplexSelectorComponent0.prototype = {
  92851. withAdditionalCombinators$1(combinators) {
  92852. var t1, t2, _this = this;
  92853. if (combinators.length === 0)
  92854. t1 = _this;
  92855. else {
  92856. t1 = type$.CssValue_Combinator_2;
  92857. t2 = A.List_List$of(_this.combinators, true, t1);
  92858. B.JSArray_methods.addAll$1(t2, combinators);
  92859. t1 = new A.ComplexSelectorComponent0(_this.selector, A.List_List$unmodifiable(t2, t1), _this.span);
  92860. }
  92861. return t1;
  92862. },
  92863. get$hashCode(_) {
  92864. return B.C_ListEquality0.hash$1(this.selector.components) ^ B.C_ListEquality0.hash$1(this.combinators);
  92865. },
  92866. $eq(_, other) {
  92867. var t1;
  92868. if (other == null)
  92869. return false;
  92870. if (other instanceof A.ComplexSelectorComponent0) {
  92871. t1 = B.C_ListEquality.equals$2(0, this.selector.components, other.selector.components);
  92872. t1 = t1 && B.C_ListEquality.equals$2(0, this.combinators, other.combinators);
  92873. } else
  92874. t1 = false;
  92875. return t1;
  92876. },
  92877. toString$0(_) {
  92878. var t1 = this.combinators;
  92879. 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, "");
  92880. }
  92881. };
  92882. A.ComplexSelectorComponent_toString_closure0.prototype = {
  92883. call$1(combinator) {
  92884. return " " + combinator.toString$0(0);
  92885. },
  92886. $signature: 410
  92887. };
  92888. A.CompoundSelector0.prototype = {
  92889. get$specificity() {
  92890. var result, _this = this,
  92891. value = _this._compound$__CompoundSelector_specificity_FI;
  92892. if (value === $) {
  92893. result = B.JSArray_methods.fold$2(_this.components, 0, new A.CompoundSelector_specificity_closure0());
  92894. _this._compound$__CompoundSelector_specificity_FI !== $ && A.throwUnnamedLateFieldADI();
  92895. _this._compound$__CompoundSelector_specificity_FI = result;
  92896. value = result;
  92897. }
  92898. return value;
  92899. },
  92900. accept$1$1(visitor) {
  92901. return visitor.visitCompoundSelector$1(this);
  92902. },
  92903. accept$1(visitor) {
  92904. return this.accept$1$1(visitor, type$.dynamic);
  92905. },
  92906. get$hashCode(_) {
  92907. return B.C_ListEquality0.hash$1(this.components);
  92908. },
  92909. $eq(_, other) {
  92910. if (other == null)
  92911. return false;
  92912. return other instanceof A.CompoundSelector0 && B.C_ListEquality.equals$2(0, this.components, other.components);
  92913. }
  92914. };
  92915. A.CompoundSelector_specificity_closure0.prototype = {
  92916. call$2(sum, component) {
  92917. return sum + component.get$specificity();
  92918. },
  92919. $signature: 411
  92920. };
  92921. A.Configuration0.prototype = {
  92922. throughForward$1($forward) {
  92923. var _0_0, _1_0, _2_0, t1, hiddenVariables,
  92924. newValues = this._configuration0$_values;
  92925. if (newValues.get$isEmpty(newValues))
  92926. return B.Configuration_Map_empty_null0;
  92927. _0_0 = $forward.prefix;
  92928. if (_0_0 != null)
  92929. newValues = new A.UnprefixedMapView0(newValues, _0_0, type$.UnprefixedMapView_ConfiguredValue_2);
  92930. _1_0 = $forward.shownVariables;
  92931. if (_1_0 != null)
  92932. newValues = new A.LimitedMapView0(newValues, _1_0._base.intersection$1(new A.MapKeySet(newValues, type$.MapKeySet_nullable_Object)), type$.LimitedMapView_String_ConfiguredValue_2);
  92933. else {
  92934. _2_0 = $forward.hiddenVariables;
  92935. if (_2_0 != null) {
  92936. t1 = _2_0._base.get$isNotEmpty(0);
  92937. hiddenVariables = _2_0;
  92938. } else {
  92939. hiddenVariables = null;
  92940. t1 = false;
  92941. }
  92942. if (t1)
  92943. newValues = A.LimitedMapView$blocklist0(newValues, hiddenVariables, type$.String, type$.ConfiguredValue_2);
  92944. }
  92945. return this._configuration0$_withValues$1(newValues);
  92946. },
  92947. _configuration0$_withValues$1(values) {
  92948. var t1 = this._configuration0$__originalConfiguration;
  92949. return new A.Configuration0(values, t1 == null ? this : t1);
  92950. },
  92951. toString$0(_) {
  92952. var t2, t3,
  92953. t1 = A._setArrayType([], type$.JSArray_String);
  92954. 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();) {
  92955. t3 = t2.get$current(t2);
  92956. t1.push("$" + t3._0 + ": " + t3._1.toString$0(0));
  92957. }
  92958. return "(" + B.JSArray_methods.join$1(t1, ",") + ")";
  92959. }
  92960. };
  92961. A.ExplicitConfiguration0.prototype = {
  92962. _configuration0$_withValues$1(values) {
  92963. var t1 = this._configuration0$__originalConfiguration;
  92964. if (t1 == null)
  92965. t1 = this;
  92966. return new A.ExplicitConfiguration0(this.nodeWithSpan, values, t1);
  92967. }
  92968. };
  92969. A.ConfiguredValue0.prototype = {
  92970. toString$0(_) {
  92971. return A.serializeValue0(this.value, true, true);
  92972. }
  92973. };
  92974. A.ConfiguredVariable0.prototype = {
  92975. toString$0(_) {
  92976. var t1 = this.expression.toString$0(0),
  92977. t2 = this.isGuarded ? " !default" : "";
  92978. return "$" + this.name + ": " + t1 + t2;
  92979. },
  92980. $isAstNode0: 1,
  92981. get$span(receiver) {
  92982. return this.span;
  92983. }
  92984. };
  92985. A.ContentBlock0.prototype = {
  92986. accept$1$1(visitor) {
  92987. return visitor.visitContentBlock$1(this);
  92988. },
  92989. accept$1(visitor) {
  92990. return this.accept$1$1(visitor, type$.dynamic);
  92991. },
  92992. toString$0(_) {
  92993. var t2,
  92994. t1 = this.$arguments;
  92995. t1 = t1.$arguments.length === 0 && t1.restArgument == null ? "" : " using (" + t1.toString$0(0) + ")";
  92996. t2 = this.children;
  92997. return t1 + (" {" + (t2 && B.JSArray_methods).join$1(t2, " ") + "}");
  92998. }
  92999. };
  93000. A.ContentRule0.prototype = {
  93001. accept$1$1(visitor) {
  93002. return visitor.visitContentRule$1(this);
  93003. },
  93004. accept$1(visitor) {
  93005. return this.accept$1$1(visitor, type$.dynamic);
  93006. },
  93007. toString$0(_) {
  93008. var t1 = this.$arguments;
  93009. return t1.get$isEmpty(0) ? "@content;" : "@content(" + t1.toString$0(0) + ");";
  93010. },
  93011. $isAstNode0: 1,
  93012. $isStatement0: 1,
  93013. get$span(receiver) {
  93014. return this.span;
  93015. }
  93016. };
  93017. A._disallowedFunctionNames_closure0.prototype = {
  93018. call$1($function) {
  93019. return $function.name;
  93020. },
  93021. $signature: 412
  93022. };
  93023. A.CssParser0.prototype = {
  93024. get$plainCss() {
  93025. return true;
  93026. },
  93027. silentComment$0() {
  93028. var t1, t2, _this = this;
  93029. if (_this._stylesheet0$_inExpression)
  93030. return false;
  93031. t1 = _this.scanner;
  93032. t2 = t1._string_scanner$_position;
  93033. _this.super$Parser$silentComment0();
  93034. _this.error$2(0, string$.Silent, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  93035. },
  93036. atRule$2$root(child, root) {
  93037. var $name, _0_0, _this = this,
  93038. t1 = _this.scanner,
  93039. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  93040. t1.expectChar$1(64);
  93041. $name = _this.interpolatedIdentifier$0();
  93042. _this.whitespace$0();
  93043. _0_0 = $name.get$asPlain();
  93044. $label0$0: {
  93045. if ("at-root" === _0_0 || "content" === _0_0 || "debug" === _0_0 || "each" === _0_0 || "error" === _0_0 || "extend" === _0_0 || "for" === _0_0 || "function" === _0_0 || "if" === _0_0 || "include" === _0_0 || "mixin" === _0_0 || "return" === _0_0 || "warn" === _0_0 || "while" === _0_0)
  93046. _this._css$_forbiddenAtRoot$1(start);
  93047. if ("import" === _0_0) {
  93048. t1 = _this._css$_cssImportRule$1(start);
  93049. break $label0$0;
  93050. }
  93051. if ("media" === _0_0) {
  93052. t1 = _this.mediaRule$1(start);
  93053. break $label0$0;
  93054. }
  93055. if ("-moz-document" === _0_0) {
  93056. t1 = _this.mozDocumentRule$2(start, $name);
  93057. break $label0$0;
  93058. }
  93059. if ("supports" === _0_0) {
  93060. t1 = _this.supportsRule$1(start);
  93061. break $label0$0;
  93062. }
  93063. t1 = _this.unknownAtRule$2(start, $name);
  93064. break $label0$0;
  93065. }
  93066. return t1;
  93067. },
  93068. _css$_forbiddenAtRoot$1(start) {
  93069. this.almostAnyValue$0();
  93070. this.error$2(0, "This at-rule isn't allowed in plain CSS.", this.scanner.spanFrom$1(start));
  93071. },
  93072. _css$_cssImportRule$1(start) {
  93073. var t2, urlSpan, modifiers, _this = this,
  93074. t1 = _this.scanner,
  93075. urlStart = new A._SpanScannerState(t1, t1._string_scanner$_position),
  93076. _0_0 = t1.peekChar$0();
  93077. $label0$0: {
  93078. if (117 === _0_0 || 85 === _0_0) {
  93079. t2 = _this.dynamicUrl$0();
  93080. break $label0$0;
  93081. }
  93082. t2 = new A.StringExpression0(_this.interpolatedString$0().asInterpolation$1$static(true), false);
  93083. break $label0$0;
  93084. }
  93085. urlSpan = t1.spanFrom$1(urlStart);
  93086. _this.whitespace$0();
  93087. modifiers = _this.tryImportModifiers$0();
  93088. _this.expectStatementSeparator$1("@import rule");
  93089. t2 = A._setArrayType([new A.StaticImport0(A.Interpolation$0(A._setArrayType([t2], type$.JSArray_Object), urlSpan), modifiers, t1.spanFrom$1(urlStart))], type$.JSArray_Import_2);
  93090. t1 = t1.spanFrom$1(start);
  93091. return new A.ImportRule0(A.List_List$unmodifiable(t2, type$.Import_2), t1);
  93092. },
  93093. parentheses$0() {
  93094. var expression,
  93095. t1 = this.scanner,
  93096. t2 = t1._string_scanner$_position;
  93097. t1.expectChar$1(40);
  93098. this.whitespace$0();
  93099. expression = this.expressionUntilComma$0();
  93100. t1.expectChar$1(41);
  93101. return new A.ParenthesizedExpression0(expression, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  93102. },
  93103. identifierLike$0() {
  93104. var t2, allowEmptySecondArg, $arguments, t3, t4, _this = this,
  93105. t1 = _this.scanner,
  93106. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  93107. identifier = _this.interpolatedIdentifier$0(),
  93108. plain = identifier.get$asPlain(),
  93109. lower = plain.toLowerCase(),
  93110. _0_0 = _this.trySpecialFunction$2(lower, start);
  93111. if (_0_0 != null)
  93112. return _0_0;
  93113. t2 = t1._string_scanner$_position;
  93114. if (t1.scanChar$1(46))
  93115. return _this.namespacedExpression$2(plain, start);
  93116. if (!t1.scanChar$1(40))
  93117. return new A.StringExpression0(identifier, false);
  93118. allowEmptySecondArg = lower === "var";
  93119. $arguments = A._setArrayType([], type$.JSArray_Expression_2);
  93120. if (!t1.scanChar$1(41)) {
  93121. do {
  93122. _this.whitespace$0();
  93123. if (allowEmptySecondArg && $arguments.length === 1 && t1.peekChar$0() === 41) {
  93124. t3 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  93125. t4 = t3.offset;
  93126. t4 = A._FileSpan$(t3.file, t4, t4);
  93127. $arguments.push(new A.StringExpression0(A.Interpolation$0(A._setArrayType([""], type$.JSArray_Object), t4), false));
  93128. break;
  93129. }
  93130. $arguments.push(_this.expressionUntilComma$1$singleEquals(true));
  93131. _this.whitespace$0();
  93132. } while (t1.scanChar$1(44));
  93133. t1.expectChar$1(41);
  93134. }
  93135. if ($.$get$_disallowedFunctionNames0().contains$1(0, plain))
  93136. _this.error$2(0, string$.This_f, t1.spanFrom$1(start));
  93137. t2 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  93138. t3 = type$.Expression_2;
  93139. t4 = A.List_List$unmodifiable($arguments, t3);
  93140. t3 = A.ConstantMap_ConstantMap$from(B.Map_empty14, type$.String, t3);
  93141. t1 = t1.spanFrom$1(start);
  93142. return new A.FunctionExpression0(null, A.stringReplaceAllUnchecked(plain, "_", "-"), plain, new A.ArgumentInvocation0(t4, t3, null, null, t2), t1);
  93143. },
  93144. namespacedExpression$2(namespace, start) {
  93145. var expression = this.super$StylesheetParser$namespacedExpression0(namespace, start);
  93146. this.error$2(0, string$.Modulen, expression.get$span(expression));
  93147. }
  93148. };
  93149. A.DebugRule0.prototype = {
  93150. accept$1$1(visitor) {
  93151. return visitor.visitDebugRule$1(this);
  93152. },
  93153. accept$1(visitor) {
  93154. return this.accept$1$1(visitor, type$.dynamic);
  93155. },
  93156. toString$0(_) {
  93157. return "@debug " + this.expression.toString$0(0) + ";";
  93158. },
  93159. $isAstNode0: 1,
  93160. $isStatement0: 1,
  93161. get$span(receiver) {
  93162. return this.span;
  93163. }
  93164. };
  93165. A.ModifiableCssDeclaration0.prototype = {
  93166. accept$1$1(visitor) {
  93167. return visitor.visitCssDeclaration$1(this);
  93168. },
  93169. accept$1(visitor) {
  93170. return this.accept$1$1(visitor, type$.dynamic);
  93171. },
  93172. toString$0(_) {
  93173. return this.name.toString$0(0) + ": " + this.value.toString$0(0) + ";";
  93174. },
  93175. get$span(receiver) {
  93176. return this.span;
  93177. }
  93178. };
  93179. A.Declaration0.prototype = {
  93180. accept$1$1(visitor) {
  93181. return visitor.visitDeclaration$1(this);
  93182. },
  93183. accept$1(visitor) {
  93184. return this.accept$1$1(visitor, type$.dynamic);
  93185. },
  93186. toString$0(_) {
  93187. var t3, _0_0,
  93188. buffer = new A.StringBuffer(""),
  93189. t1 = this.name,
  93190. t2 = "" + t1.toString$0(0);
  93191. buffer._contents = t2;
  93192. t2 = buffer._contents = t2 + A.Primitives_stringFromCharCode(58);
  93193. t3 = this.value;
  93194. if (t3 != null) {
  93195. t1 = !B.JSString_methods.startsWith$1(t1.get$initialPlain(), "--") ? buffer._contents = t2 + A.Primitives_stringFromCharCode(32) : t2;
  93196. buffer._contents = t1 + t3.toString$0(0);
  93197. }
  93198. _0_0 = this.children;
  93199. if (_0_0 != null)
  93200. return buffer.toString$0(0) + " {" + B.JSArray_methods.join$1(_0_0, " ") + "}";
  93201. else
  93202. return buffer.toString$0(0) + ";";
  93203. },
  93204. get$span(receiver) {
  93205. return this.span;
  93206. }
  93207. };
  93208. A.SupportsDeclaration0.prototype = {
  93209. get$isCustomProperty() {
  93210. var t1,
  93211. _0_0 = this.name;
  93212. $label0$0: {
  93213. if (_0_0 instanceof A.StringExpression0 && !_0_0.hasQuotes) {
  93214. t1 = B.JSString_methods.startsWith$1(_0_0.text.get$initialPlain(), "--");
  93215. break $label0$0;
  93216. }
  93217. t1 = false;
  93218. break $label0$0;
  93219. }
  93220. return t1;
  93221. },
  93222. toString$0(_) {
  93223. return "(" + this.name.toString$0(0) + ": " + this.value.toString$0(0) + ")";
  93224. },
  93225. $isAstNode0: 1,
  93226. get$span(receiver) {
  93227. return this.span;
  93228. }
  93229. };
  93230. A.Deprecation0.prototype = {
  93231. _enumToString$0() {
  93232. return "Deprecation." + this._name;
  93233. },
  93234. get$deprecatedIn(_) {
  93235. return A.NullableExtension_andThen0(this._deprecation$_deprecatedIn, A.version_Version___parse_tearOff$closure());
  93236. },
  93237. get$obsoleteIn(_) {
  93238. return null;
  93239. },
  93240. toString$0(_) {
  93241. return this.id;
  93242. }
  93243. };
  93244. A.Deprecation_fromId_closure0.prototype = {
  93245. call$1(deprecation) {
  93246. return deprecation.id === this.id;
  93247. },
  93248. $signature: 413
  93249. };
  93250. A.DeprecationProcessingLogger0.prototype = {
  93251. DeprecationProcessingLogger$5$fatalDeprecations$futureDeprecations$limitRepetition$silenceDeprecations0(_inner, fatalDeprecations, futureDeprecations, limitRepetition, silenceDeprecations) {
  93252. var t1, t2, t3, t4, t5, t6, _1_7, _this = this, _null = null;
  93253. for (t1 = _this.fatalDeprecations, t1 = A._LinkedHashSetIterator$(t1, t1._modifications, A._instanceType(t1)._precomputed1), t2 = _this.silenceDeprecations, t3 = t1.$ti._precomputed1, t4 = _this.futureDeprecations; t1.moveNext$0();) {
  93254. t5 = t1._collection$_current;
  93255. if (t5 == null)
  93256. t5 = t3._as(t5);
  93257. if (t5.isFuture && !t4.contains$1(0, t5)) {
  93258. t5 = t5.toString$0(0);
  93259. _this.internalWarn$4$deprecation$span$trace("Future " + t5 + string$.x20deprex20m, _null, _null, _null);
  93260. continue;
  93261. }
  93262. t6 = t2.contains$1(0, t5);
  93263. if (t6) {
  93264. t5 = t5.toString$0(0);
  93265. _this.internalWarn$4$deprecation$span$trace("Ignoring setting to silence " + t5 + string$.x20deprex2c, _null, _null, _null);
  93266. continue;
  93267. }
  93268. }
  93269. for (t1 = A._LinkedHashSetIterator$(t2, t2._modifications, A._instanceType(t2)._precomputed1), t2 = t1.$ti._precomputed1; t1.moveNext$0();) {
  93270. t3 = t1._collection$_current;
  93271. if (t3 == null)
  93272. t3 = t2._as(t3);
  93273. if (B.Deprecation_oty === t3) {
  93274. _this.internalWarn$4$deprecation$span$trace(string$.User_a, _null, _null, _null);
  93275. continue;
  93276. }
  93277. _1_7 = t3.isFuture;
  93278. if (_1_7 && t4.contains$1(0, t3)) {
  93279. t3 = t3.toString$0(0);
  93280. _this.internalWarn$4$deprecation$span$trace("Conflicting options for future " + t3 + " deprecation cancel each other out.", _null, _null, _null);
  93281. continue;
  93282. }
  93283. if (_1_7) {
  93284. t3 = t3.toString$0(0);
  93285. _this.internalWarn$4$deprecation$span$trace("Future " + t3 + string$.x20deprex20i, _null, _null, _null);
  93286. continue;
  93287. }
  93288. }
  93289. for (t1 = A._LinkedHashSetIterator$(t4, t4._modifications, A._instanceType(t4)._precomputed1), t2 = t1.$ti._precomputed1; t1.moveNext$0();) {
  93290. t3 = t1._collection$_current;
  93291. if (t3 == null)
  93292. t3 = t2._as(t3);
  93293. if (!t3.isFuture) {
  93294. t3 = t3.toString$0(0);
  93295. _this.internalWarn$4$deprecation$span$trace(t3 + string$.x20is_noaf, _null, _null, _null);
  93296. }
  93297. }
  93298. },
  93299. internalWarn$4$deprecation$span$trace(message, deprecation, span, trace) {
  93300. if (deprecation != null)
  93301. this._deprecation_processing$_handleDeprecation$4$span$trace(deprecation, message, span, trace);
  93302. else
  93303. this._deprecation_processing$_inner.warn$3$span$trace(0, message, span, trace);
  93304. },
  93305. _deprecation_processing$_handleDeprecation$4$span$trace(deprecation, message, span, trace) {
  93306. var _0_3_isSet, span0, t1, _0_3, t2, count, _1_0, _this = this, _null = null;
  93307. if (deprecation.isFuture && !_this.futureDeprecations.contains$1(0, deprecation))
  93308. return;
  93309. if (_this.fatalDeprecations.contains$1(0, deprecation)) {
  93310. message += string$.x0a_This + deprecation.toString$0(0) + string$.x20deprex20t;
  93311. $label0$0: {
  93312. _0_3_isSet = span != null;
  93313. if (_0_3_isSet) {
  93314. span0 = span == null ? type$.FileSpan._as(span) : span;
  93315. t1 = trace != null;
  93316. _0_3 = trace;
  93317. } else {
  93318. span0 = _null;
  93319. _0_3 = span0;
  93320. t1 = false;
  93321. }
  93322. if (t1) {
  93323. if (_0_3_isSet)
  93324. trace = _0_3;
  93325. t1 = A.SassRuntimeException$0(message, span0, trace == null ? type$.Trace._as(trace) : trace, _null);
  93326. break $label0$0;
  93327. }
  93328. if (span != null)
  93329. t1 = (_0_3_isSet ? _0_3 : trace) == null;
  93330. else {
  93331. span = _null;
  93332. t1 = false;
  93333. }
  93334. if (t1) {
  93335. t1 = A.SassException$0(message, span, _null);
  93336. break $label0$0;
  93337. }
  93338. t1 = A.SassScriptException$0(message, _null);
  93339. break $label0$0;
  93340. }
  93341. throw A.wrapException(t1);
  93342. }
  93343. if (_this.silenceDeprecations.contains$1(0, deprecation))
  93344. return;
  93345. if (_this.limitRepetition) {
  93346. t1 = _this._deprecation_processing$_warningCounts;
  93347. t2 = t1.$index(0, deprecation);
  93348. count = (t2 == null ? 0 : t2) + 1;
  93349. t1.$indexSet(0, deprecation, count);
  93350. if (count > 5)
  93351. return;
  93352. }
  93353. _1_0 = _this._deprecation_processing$_inner;
  93354. if (_1_0 instanceof A.LoggerWithDeprecationType)
  93355. _1_0.internalWarn$4$deprecation$span$trace(message, deprecation, span, trace);
  93356. else
  93357. _1_0.warn$4$deprecation$span$trace(0, message, true, span, trace);
  93358. },
  93359. debug$2(_, message, span) {
  93360. return this._deprecation_processing$_inner.debug$2(0, message, span);
  93361. },
  93362. summarize$1$js(js) {
  93363. var t1 = this._deprecation_processing$_warningCounts.get$values(0),
  93364. t2 = A._instanceType(t1),
  93365. total = A.IterableIntegerExtension_get_sum(new A.MappedIterable(new A.WhereIterable(t1, new A.DeprecationProcessingLogger_summarize_closure1(), t2._eval$1("WhereIterable<Iterable.E>")), new A.DeprecationProcessingLogger_summarize_closure2(), t2._eval$1("MappedIterable<Iterable.E,int>")));
  93366. if (total > 0) {
  93367. t1 = js ? "" : string$.x0aRun_i;
  93368. this._deprecation_processing$_inner.warn$1(0, "" + total + string$.x20repet + t1);
  93369. }
  93370. }
  93371. };
  93372. A.DeprecationProcessingLogger_summarize_closure1.prototype = {
  93373. call$1(count) {
  93374. return count > 5;
  93375. },
  93376. $signature: 45
  93377. };
  93378. A.DeprecationProcessingLogger_summarize_closure2.prototype = {
  93379. call$1(count) {
  93380. return count - 5;
  93381. },
  93382. $signature: 151
  93383. };
  93384. A.Deprecation1.prototype = {};
  93385. A.deprecations_closure.prototype = {
  93386. call$0() {
  93387. var t1, _0_8_isSet, _0_8,
  93388. _0_0 = this.deprecation;
  93389. $label0$0: {
  93390. if (_0_0.isFuture) {
  93391. t1 = "future";
  93392. break $label0$0;
  93393. }
  93394. _0_8_isSet = A.NullableExtension_andThen0(_0_0._deprecation$_deprecatedIn, A.version_Version___parse_tearOff$closure()) == null;
  93395. if (_0_8_isSet) {
  93396. _0_8 = _0_0.get$obsoleteIn(0) == null;
  93397. t1 = _0_8;
  93398. } else {
  93399. _0_8 = null;
  93400. t1 = false;
  93401. }
  93402. if (t1) {
  93403. t1 = "user";
  93404. break $label0$0;
  93405. }
  93406. if (_0_8_isSet ? _0_8 : _0_0.get$obsoleteIn(0) == null) {
  93407. t1 = "active";
  93408. break $label0$0;
  93409. }
  93410. t1 = "obsolete";
  93411. break $label0$0;
  93412. }
  93413. return t1;
  93414. },
  93415. $signature: 25
  93416. };
  93417. A.versionClass_closure.prototype = {
  93418. call$0() {
  93419. var t1 = type$.JSClass,
  93420. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.Version", new A.versionClass__closure()));
  93421. jsClass.parse = A.allowInteropNamed("parse", new A.versionClass__closure0());
  93422. A.JSClassExtension_injectSuperclass(t1._as(A.Version_Version(0, 0, 0, null).constructor), jsClass);
  93423. return jsClass;
  93424. },
  93425. $signature: 13
  93426. };
  93427. A.versionClass__closure.prototype = {
  93428. call$4($self, major, minor, patch) {
  93429. return A.Version_Version(major, minor, patch, null);
  93430. },
  93431. "call*": "call$4",
  93432. $requiredArgCount: 4,
  93433. $signature: 414
  93434. };
  93435. A.versionClass__closure0.prototype = {
  93436. call$1(version) {
  93437. var v = A.Version_Version$parse(version);
  93438. if (v.preRelease.length !== 0 || v.build.length !== 0)
  93439. throw A.wrapException(A.FormatException$("Build identifiers and prerelease versions not supported.", null, null));
  93440. return v;
  93441. },
  93442. $signature: 199
  93443. };
  93444. A.DynamicImport0.prototype = {
  93445. toString$0(_) {
  93446. return A.StringExpression_quoteText0(this.urlString);
  93447. },
  93448. $isImport0: 1,
  93449. $isAstNode0: 1,
  93450. get$span(receiver) {
  93451. return this.span;
  93452. }
  93453. };
  93454. A.EachRule0.prototype = {
  93455. accept$1$1(visitor) {
  93456. return visitor.visitEachRule$1(this);
  93457. },
  93458. accept$1(visitor) {
  93459. return this.accept$1$1(visitor, type$.dynamic);
  93460. },
  93461. toString$0(_) {
  93462. var t1 = this.variables,
  93463. t2 = this.children;
  93464. 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) + " {" + (t2 && B.JSArray_methods).join$1(t2, " ") + "}";
  93465. },
  93466. get$span(receiver) {
  93467. return this.span;
  93468. }
  93469. };
  93470. A.EachRule_toString_closure0.prototype = {
  93471. call$1(variable) {
  93472. return "$" + variable;
  93473. },
  93474. $signature: 5
  93475. };
  93476. A.EmptyExtensionStore0.prototype = {
  93477. get$_extension_store$_extensions() {
  93478. return A.throwExpression(A.NoSuchMethodError_NoSuchMethodError$withInvocation(this, A.JSInvocationMirror$(B.Symbol__extensions, "get$_empty_extension_store0$_extensions", 1, [], [], 0)));
  93479. },
  93480. get$_extension_store$_sourceSpecificity() {
  93481. return A.throwExpression(A.NoSuchMethodError_NoSuchMethodError$withInvocation(this, A.JSInvocationMirror$(B.Symbol__sourceSpecificity, "get$_empty_extension_store0$_sourceSpecificity", 1, [], [], 0)));
  93482. },
  93483. get$isEmpty(_) {
  93484. return true;
  93485. },
  93486. get$simpleSelectors() {
  93487. return B.C_EmptyUnmodifiableSet0;
  93488. },
  93489. extensionsWhereTarget$1(callback) {
  93490. return B.List_empty17;
  93491. },
  93492. addSelector$2(selector, mediaContext) {
  93493. throw A.wrapException(A.UnsupportedError$("addSelector() can't be called for a const ExtensionStore."));
  93494. },
  93495. addExtension$4(extender, target, extend, mediaContext) {
  93496. throw A.wrapException(A.UnsupportedError$("addExtension() can't be called for a const ExtensionStore."));
  93497. },
  93498. addExtensions$1(extenders) {
  93499. throw A.wrapException(A.UnsupportedError$(string$.addExt));
  93500. },
  93501. clone$0() {
  93502. return B.Record2_EmptyExtensionStore_Map_empty0;
  93503. },
  93504. $isExtensionStore0: 1
  93505. };
  93506. A.Environment0.prototype = {
  93507. closure$0() {
  93508. var t4, t5, t6, _this = this,
  93509. t1 = _this._environment0$_forwardedModules,
  93510. t2 = _this._environment0$_nestedForwardedModules,
  93511. t3 = _this._environment0$_variables;
  93512. t3 = A._setArrayType(t3.slice(0), A._arrayInstanceType(t3));
  93513. t4 = _this._environment0$_variableNodes;
  93514. t4 = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
  93515. t5 = _this._environment0$_functions;
  93516. t5 = A._setArrayType(t5.slice(0), A._arrayInstanceType(t5));
  93517. t6 = _this._environment0$_mixins;
  93518. t6 = A._setArrayType(t6.slice(0), A._arrayInstanceType(t6));
  93519. 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);
  93520. },
  93521. forwardModule$2(module, rule) {
  93522. var view, t1, t2, _this = this,
  93523. forwardedModules = _this._environment0$_forwardedModules;
  93524. if (forwardedModules == null)
  93525. forwardedModules = _this._environment0$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable_2, type$.AstNode_2);
  93526. view = A.ForwardedModuleView_ifNecessary0(module, rule, type$.Callable_2);
  93527. for (t1 = A.LinkedHashMapKeyIterator$(forwardedModules, forwardedModules.__js_helper$_modifications); t1.moveNext$0();) {
  93528. t2 = t1.__js_helper$_current;
  93529. _this._environment0$_assertNoConflicts$5(view.get$variables(), t2.get$variables(), view, t2, "variable");
  93530. _this._environment0$_assertNoConflicts$5(view.get$functions(view), t2.get$functions(t2), view, t2, "function");
  93531. _this._environment0$_assertNoConflicts$5(view.get$mixins(), t2.get$mixins(), view, t2, "mixin");
  93532. }
  93533. _this._environment0$_allModules.push(module);
  93534. forwardedModules.$indexSet(0, view, rule);
  93535. },
  93536. _environment0$_assertNoConflicts$5(newMembers, oldMembers, newModule, oldModule, type) {
  93537. var larger, smaller, t1, t2, t3, t4, $name, small, large, span;
  93538. if (newMembers.get$length(newMembers) < oldMembers.get$length(oldMembers)) {
  93539. larger = oldMembers;
  93540. smaller = newMembers;
  93541. } else {
  93542. larger = newMembers;
  93543. smaller = oldMembers;
  93544. }
  93545. for (t1 = type$.String, t2 = A.MapExtensions_get_pairs0(smaller, t1, type$.Object), t2 = t2.get$iterator(t2), t3 = type === "variable"; t2.moveNext$0();) {
  93546. t4 = t2.get$current(t2);
  93547. $name = t4._0;
  93548. small = t4._1;
  93549. large = larger.$index(0, $name);
  93550. if (large == null)
  93551. continue;
  93552. if (t3 ? newModule.variableIdentity$1($name) === oldModule.variableIdentity$1($name) : J.$eq$(large, small))
  93553. continue;
  93554. if (t3)
  93555. $name = "$" + $name;
  93556. t2 = this._environment0$_forwardedModules;
  93557. if (t2 == null)
  93558. span = null;
  93559. else {
  93560. t2 = t2.$index(0, oldModule);
  93561. span = t2 == null ? null : J.get$span$z(t2);
  93562. }
  93563. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, t1);
  93564. if (span != null)
  93565. t2.$indexSet(0, span, "original @forward");
  93566. throw A.wrapException(A.MultiSpanSassScriptException$0("Two forwarded modules both define a " + type + " named " + $name + ".", "new @forward", t2));
  93567. }
  93568. },
  93569. importForwards$1(module) {
  93570. var forwardedModules, t1, t2, t3, t4, node, t5, t6, t7, t8, t9, t10, _i, t11, shadowed, _length, _list, _this = this,
  93571. forwarded = module._environment0$_environment._environment0$_forwardedModules;
  93572. if (forwarded == null)
  93573. return;
  93574. forwardedModules = _this._environment0$_forwardedModules;
  93575. if (forwardedModules != null) {
  93576. t1 = type$.Module_Callable_2;
  93577. t2 = type$.AstNode_2;
  93578. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  93579. for (t1 = A.MapExtensions_get_pairs0(forwarded, t1, t2), t1 = t1.get$iterator(t1), t2 = _this._environment0$_globalModules; t1.moveNext$0();) {
  93580. t4 = t1.get$current(t1);
  93581. module = t4._0;
  93582. node = t4._1;
  93583. if (!forwardedModules.containsKey$1(module) || !t2.containsKey$1(module))
  93584. t3.$indexSet(0, module, node);
  93585. }
  93586. forwarded = t3;
  93587. } else
  93588. forwardedModules = _this._environment0$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable_2, type$.AstNode_2);
  93589. t1 = type$.String;
  93590. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  93591. for (t3 = A.LinkedHashMapKeyIterator$(forwarded, forwarded.__js_helper$_modifications); t3.moveNext$0();)
  93592. for (t4 = t3.__js_helper$_current.get$variables(), t4 = J.get$iterator$ax(t4.get$keys(t4)); t4.moveNext$0();)
  93593. t2.add$1(0, t4.get$current(t4));
  93594. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  93595. for (t4 = A.LinkedHashMapKeyIterator$(forwarded, forwarded.__js_helper$_modifications); t4.moveNext$0();) {
  93596. t5 = t4.__js_helper$_current;
  93597. for (t5 = t5.get$functions(t5), t5 = J.get$iterator$ax(t5.get$keys(t5)); t5.moveNext$0();)
  93598. t3.add$1(0, t5.get$current(t5));
  93599. }
  93600. t1 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  93601. for (t4 = A.LinkedHashMapKeyIterator$(forwarded, forwarded.__js_helper$_modifications); t4.moveNext$0();)
  93602. for (t5 = t4.__js_helper$_current.get$mixins(), t5 = J.get$iterator$ax(t5.get$keys(t5)); t5.moveNext$0();)
  93603. t1.add$1(0, t5.get$current(t5));
  93604. t4 = _this._environment0$_variables;
  93605. t5 = t4.length;
  93606. if (t5 === 1) {
  93607. 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) {
  93608. t11 = t8[_i];
  93609. module = t11._0;
  93610. node = t11._1;
  93611. shadowed = A.ShadowedModuleView_ifNecessary0(module, t3, t1, t2, t10);
  93612. if (shadowed != null) {
  93613. t5.remove$1(0, module);
  93614. t11 = shadowed.variables;
  93615. if (t11.get$isEmpty(t11)) {
  93616. t11 = shadowed.functions;
  93617. if (t11.get$isEmpty(t11)) {
  93618. t11 = shadowed.mixins;
  93619. if (t11.get$isEmpty(t11)) {
  93620. t11 = shadowed._shadowed_view0$_inner;
  93621. t11 = t11.get$css(t11);
  93622. t11 = J.get$isEmpty$asx(t11.get$children(t11));
  93623. } else
  93624. t11 = false;
  93625. } else
  93626. t11 = false;
  93627. } else
  93628. t11 = false;
  93629. if (!t11)
  93630. t5.$indexSet(0, shadowed, node);
  93631. }
  93632. }
  93633. 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) {
  93634. t8 = t6[_i];
  93635. module = t8._0;
  93636. node = t8._1;
  93637. shadowed = A.ShadowedModuleView_ifNecessary0(module, t3, t1, t2, t10);
  93638. if (shadowed != null) {
  93639. forwardedModules.remove$1(0, module);
  93640. t8 = shadowed.variables;
  93641. if (t8.get$isEmpty(t8)) {
  93642. t8 = shadowed.functions;
  93643. if (t8.get$isEmpty(t8)) {
  93644. t8 = shadowed.mixins;
  93645. if (t8.get$isEmpty(t8)) {
  93646. t8 = shadowed._shadowed_view0$_inner;
  93647. t8 = t8.get$css(t8);
  93648. t8 = J.get$isEmpty$asx(t8.get$children(t8));
  93649. } else
  93650. t8 = false;
  93651. } else
  93652. t8 = false;
  93653. } else
  93654. t8 = false;
  93655. if (!t8)
  93656. forwardedModules.$indexSet(0, shadowed, node);
  93657. }
  93658. }
  93659. t5.addAll$1(0, forwarded);
  93660. forwardedModules.addAll$1(0, forwarded);
  93661. } else {
  93662. t6 = _this._environment0$_nestedForwardedModules;
  93663. if (t6 == null) {
  93664. _length = t5 - 1;
  93665. _list = J.JSArray_JSArray$allocateGrowable(_length, type$.List_Module_Callable_2);
  93666. for (t5 = type$.JSArray_Module_Callable_2, _i = 0; _i < _length; ++_i)
  93667. _list[_i] = A._setArrayType([], t5);
  93668. _this._environment0$_nestedForwardedModules = _list;
  93669. t5 = _list;
  93670. } else
  93671. t5 = t6;
  93672. B.JSArray_methods.addAll$1(B.JSArray_methods.get$last(t5), new A.LinkedHashMapKeyIterable(forwarded, A._instanceType(forwarded)._eval$1("LinkedHashMapKeyIterable<1>")));
  93673. }
  93674. for (t2 = A._LinkedHashSetIterator$(t2, t2._modifications, t2.$ti._precomputed1), t5 = _this._environment0$_variableIndices, t6 = _this._environment0$_variableNodes, t7 = t2.$ti._precomputed1; t2.moveNext$0();) {
  93675. t8 = t2._collection$_current;
  93676. if (t8 == null)
  93677. t8 = t7._as(t8);
  93678. t5.remove$1(0, t8);
  93679. J.remove$1$z(B.JSArray_methods.get$last(t4), t8);
  93680. J.remove$1$z(B.JSArray_methods.get$last(t6), t8);
  93681. }
  93682. for (t2 = A._LinkedHashSetIterator$(t3, t3._modifications, t3.$ti._precomputed1), t3 = _this._environment0$_functionIndices, t4 = _this._environment0$_functions, t5 = t2.$ti._precomputed1; t2.moveNext$0();) {
  93683. t6 = t2._collection$_current;
  93684. if (t6 == null)
  93685. t6 = t5._as(t6);
  93686. t3.remove$1(0, t6);
  93687. J.remove$1$z(B.JSArray_methods.get$last(t4), t6);
  93688. }
  93689. for (t1 = A._LinkedHashSetIterator$(t1, t1._modifications, t1.$ti._precomputed1), t2 = _this._environment0$_mixinIndices, t3 = _this._environment0$_mixins, t4 = t1.$ti._precomputed1; t1.moveNext$0();) {
  93690. t5 = t1._collection$_current;
  93691. if (t5 == null)
  93692. t5 = t4._as(t5);
  93693. t2.remove$1(0, t5);
  93694. J.remove$1$z(B.JSArray_methods.get$last(t3), t5);
  93695. }
  93696. },
  93697. getVariable$2$namespace($name, namespace) {
  93698. var t1, _0_0, _1_0, _this = this;
  93699. if (namespace != null)
  93700. return _this._environment0$_getModule$1(namespace).get$variables().$index(0, $name);
  93701. if (_this._environment0$_lastVariableName === $name) {
  93702. t1 = _this._environment0$_lastVariableIndex;
  93703. t1.toString;
  93704. t1 = J.$index$asx(_this._environment0$_variables[t1], $name);
  93705. return t1 == null ? _this._environment0$_getVariableFromGlobalModule$1($name) : t1;
  93706. }
  93707. t1 = _this._environment0$_variableIndices;
  93708. _0_0 = t1.$index(0, $name);
  93709. if (_0_0 != null) {
  93710. _this._environment0$_lastVariableName = $name;
  93711. _this._environment0$_lastVariableIndex = _0_0;
  93712. t1 = J.$index$asx(_this._environment0$_variables[_0_0], $name);
  93713. return t1 == null ? _this._environment0$_getVariableFromGlobalModule$1($name) : t1;
  93714. } else {
  93715. _1_0 = _this._environment0$_variableIndex$1($name);
  93716. if (_1_0 != null) {
  93717. _this._environment0$_lastVariableName = $name;
  93718. _this._environment0$_lastVariableIndex = _1_0;
  93719. t1.$indexSet(0, $name, _1_0);
  93720. t1 = J.$index$asx(_this._environment0$_variables[_1_0], $name);
  93721. return t1 == null ? _this._environment0$_getVariableFromGlobalModule$1($name) : t1;
  93722. } else
  93723. return _this._environment0$_getVariableFromGlobalModule$1($name);
  93724. }
  93725. },
  93726. getVariable$1($name) {
  93727. return this.getVariable$2$namespace($name, null);
  93728. },
  93729. _environment0$_getVariableFromGlobalModule$1($name) {
  93730. return this._environment0$_fromOneModule$3($name, "variable", new A.Environment__getVariableFromGlobalModule_closure0($name));
  93731. },
  93732. getVariableNode$2$namespace($name, namespace) {
  93733. var t1, _0_0, _1_0, _this = this;
  93734. if (namespace != null)
  93735. return _this._environment0$_getModule$1(namespace).get$variableNodes().$index(0, $name);
  93736. if (_this._environment0$_lastVariableName === $name) {
  93737. t1 = _this._environment0$_lastVariableIndex;
  93738. t1.toString;
  93739. t1 = J.$index$asx(_this._environment0$_variableNodes[t1], $name);
  93740. return t1 == null ? _this._environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
  93741. }
  93742. t1 = _this._environment0$_variableIndices;
  93743. _0_0 = t1.$index(0, $name);
  93744. if (_0_0 != null) {
  93745. _this._environment0$_lastVariableName = $name;
  93746. _this._environment0$_lastVariableIndex = _0_0;
  93747. t1 = J.$index$asx(_this._environment0$_variableNodes[_0_0], $name);
  93748. return t1 == null ? _this._environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
  93749. } else {
  93750. _1_0 = _this._environment0$_variableIndex$1($name);
  93751. if (_1_0 != null) {
  93752. _this._environment0$_lastVariableName = $name;
  93753. _this._environment0$_lastVariableIndex = _1_0;
  93754. t1.$indexSet(0, $name, _1_0);
  93755. t1 = J.$index$asx(_this._environment0$_variableNodes[_1_0], $name);
  93756. return t1 == null ? _this._environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
  93757. } else
  93758. return _this._environment0$_getVariableNodeFromGlobalModule$1($name);
  93759. }
  93760. },
  93761. _environment0$_getVariableNodeFromGlobalModule$1($name) {
  93762. var t1, t2, _0_0;
  93763. for (t1 = this._environment0$_importedModules, t2 = this._environment0$_globalModules, t2 = new A.LinkedHashMapKeyIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapKeyIterable<1>")).followedBy$1(0, new A.LinkedHashMapKeyIterable(t2, A._instanceType(t2)._eval$1("LinkedHashMapKeyIterable<1>"))), t2 = new A.FollowedByIterator(J.get$iterator$ax(t2.__internal$_first), t2._second); t2.moveNext$0();) {
  93764. t1 = t2._currentIterator;
  93765. _0_0 = t1.get$current(t1).get$variableNodes().$index(0, $name);
  93766. if (_0_0 != null)
  93767. return _0_0;
  93768. }
  93769. return null;
  93770. },
  93771. globalVariableExists$2$namespace($name, namespace) {
  93772. if (namespace != null)
  93773. return this._environment0$_getModule$1(namespace).get$variables().containsKey$1($name);
  93774. if (B.JSArray_methods.get$first(this._environment0$_variables).containsKey$1($name))
  93775. return true;
  93776. return this._environment0$_getVariableFromGlobalModule$1($name) != null;
  93777. },
  93778. globalVariableExists$1($name) {
  93779. return this.globalVariableExists$2$namespace($name, null);
  93780. },
  93781. _environment0$_variableIndex$1($name) {
  93782. var t1, i;
  93783. for (t1 = this._environment0$_variables, i = t1.length - 1; i >= 0; --i)
  93784. if (t1[i].containsKey$1($name))
  93785. return i;
  93786. return null;
  93787. },
  93788. setVariable$5$global$namespace($name, value, nodeWithSpan, global, namespace) {
  93789. var t1, moduleWithName, nestedForwardedModules, t2, t3, t4, t5, index, _this = this;
  93790. if (namespace != null) {
  93791. _this._environment0$_getModule$1(namespace).setVariable$3($name, value, nodeWithSpan);
  93792. return;
  93793. }
  93794. if (global || _this._environment0$_variables.length === 1) {
  93795. _this._environment0$_variableIndices.putIfAbsent$2($name, new A.Environment_setVariable_closure2(_this, $name));
  93796. t1 = _this._environment0$_variables;
  93797. if (!B.JSArray_methods.get$first(t1).containsKey$1($name)) {
  93798. moduleWithName = _this._environment0$_fromOneModule$3($name, "variable", new A.Environment_setVariable_closure3($name));
  93799. if (moduleWithName != null) {
  93800. moduleWithName.setVariable$3($name, value, nodeWithSpan);
  93801. return;
  93802. }
  93803. }
  93804. J.$indexSet$ax(B.JSArray_methods.get$first(t1), $name, value);
  93805. J.$indexSet$ax(B.JSArray_methods.get$first(_this._environment0$_variableNodes), $name, nodeWithSpan);
  93806. return;
  93807. }
  93808. nestedForwardedModules = _this._environment0$_nestedForwardedModules;
  93809. if (nestedForwardedModules != null && !_this._environment0$_variableIndices.containsKey$1($name) && _this._environment0$_variableIndex$1($name) == null)
  93810. 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();) {
  93811. t3 = t2.__internal$_current;
  93812. 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();) {
  93813. t5 = t3.__internal$_current;
  93814. if (t5 == null)
  93815. t5 = t4._as(t5);
  93816. if (t5.get$variables().containsKey$1($name)) {
  93817. t5.setVariable$3($name, value, nodeWithSpan);
  93818. return;
  93819. }
  93820. }
  93821. }
  93822. if (_this._environment0$_lastVariableName === $name) {
  93823. t1 = _this._environment0$_lastVariableIndex;
  93824. t1.toString;
  93825. index = t1;
  93826. } else
  93827. index = _this._environment0$_variableIndices.putIfAbsent$2($name, new A.Environment_setVariable_closure4(_this, $name));
  93828. if (!_this._environment0$_inSemiGlobalScope && index === 0) {
  93829. index = _this._environment0$_variables.length - 1;
  93830. _this._environment0$_variableIndices.$indexSet(0, $name, index);
  93831. }
  93832. _this._environment0$_lastVariableName = $name;
  93833. _this._environment0$_lastVariableIndex = index;
  93834. J.$indexSet$ax(_this._environment0$_variables[index], $name, value);
  93835. J.$indexSet$ax(_this._environment0$_variableNodes[index], $name, nodeWithSpan);
  93836. },
  93837. setVariable$4$global($name, value, nodeWithSpan, global) {
  93838. return this.setVariable$5$global$namespace($name, value, nodeWithSpan, global, null);
  93839. },
  93840. setLocalVariable$3($name, value, nodeWithSpan) {
  93841. var index, _this = this,
  93842. t1 = _this._environment0$_variables,
  93843. t2 = t1.length;
  93844. _this._environment0$_lastVariableName = $name;
  93845. index = _this._environment0$_lastVariableIndex = t2 - 1;
  93846. _this._environment0$_variableIndices.$indexSet(0, $name, index);
  93847. J.$indexSet$ax(t1[index], $name, value);
  93848. J.$indexSet$ax(_this._environment0$_variableNodes[index], $name, nodeWithSpan);
  93849. },
  93850. getFunction$2$namespace($name, namespace) {
  93851. var t1, _0_0, _1_0, _this = this;
  93852. if (namespace != null) {
  93853. t1 = _this._environment0$_getModule$1(namespace);
  93854. return t1.get$functions(t1).$index(0, $name);
  93855. }
  93856. t1 = _this._environment0$_functionIndices;
  93857. _0_0 = t1.$index(0, $name);
  93858. if (_0_0 != null) {
  93859. t1 = J.$index$asx(_this._environment0$_functions[_0_0], $name);
  93860. return t1 == null ? _this._environment0$_getFunctionFromGlobalModule$1($name) : t1;
  93861. } else {
  93862. _1_0 = _this._environment0$_functionIndex$1($name);
  93863. if (_1_0 != null) {
  93864. t1.$indexSet(0, $name, _1_0);
  93865. t1 = J.$index$asx(_this._environment0$_functions[_1_0], $name);
  93866. return t1 == null ? _this._environment0$_getFunctionFromGlobalModule$1($name) : t1;
  93867. } else
  93868. return _this._environment0$_getFunctionFromGlobalModule$1($name);
  93869. }
  93870. },
  93871. getFunction$1($name) {
  93872. return this.getFunction$2$namespace($name, null);
  93873. },
  93874. _environment0$_getFunctionFromGlobalModule$1($name) {
  93875. return this._environment0$_fromOneModule$3($name, "function", new A.Environment__getFunctionFromGlobalModule_closure0($name));
  93876. },
  93877. _environment0$_functionIndex$1($name) {
  93878. var t1, i;
  93879. for (t1 = this._environment0$_functions, i = t1.length - 1; i >= 0; --i)
  93880. if (t1[i].containsKey$1($name))
  93881. return i;
  93882. return null;
  93883. },
  93884. getMixin$2$namespace($name, namespace) {
  93885. var t1, _0_0, _1_0, _this = this;
  93886. if (namespace != null)
  93887. return _this._environment0$_getModule$1(namespace).get$mixins().$index(0, $name);
  93888. t1 = _this._environment0$_mixinIndices;
  93889. _0_0 = t1.$index(0, $name);
  93890. if (_0_0 != null) {
  93891. t1 = J.$index$asx(_this._environment0$_mixins[_0_0], $name);
  93892. return t1 == null ? _this._environment0$_getMixinFromGlobalModule$1($name) : t1;
  93893. } else {
  93894. _1_0 = _this._environment0$_mixinIndex$1($name);
  93895. if (_1_0 != null) {
  93896. t1.$indexSet(0, $name, _1_0);
  93897. t1 = J.$index$asx(_this._environment0$_mixins[_1_0], $name);
  93898. return t1 == null ? _this._environment0$_getMixinFromGlobalModule$1($name) : t1;
  93899. } else
  93900. return _this._environment0$_getMixinFromGlobalModule$1($name);
  93901. }
  93902. },
  93903. _environment0$_getMixinFromGlobalModule$1($name) {
  93904. return this._environment0$_fromOneModule$3($name, "mixin", new A.Environment__getMixinFromGlobalModule_closure0($name));
  93905. },
  93906. _environment0$_mixinIndex$1($name) {
  93907. var t1, i;
  93908. for (t1 = this._environment0$_mixins, i = t1.length - 1; i >= 0; --i)
  93909. if (t1[i].containsKey$1($name))
  93910. return i;
  93911. return null;
  93912. },
  93913. withContent$2($content, callback) {
  93914. var oldContent = this._environment0$_content;
  93915. this._environment0$_content = $content;
  93916. callback.call$0();
  93917. this._environment0$_content = oldContent;
  93918. },
  93919. asMixin$1(callback) {
  93920. var oldInMixin = this._environment0$_inMixin;
  93921. this._environment0$_inMixin = true;
  93922. callback.call$0();
  93923. this._environment0$_inMixin = oldInMixin;
  93924. },
  93925. scope$1$3$semiGlobal$when(callback, semiGlobal, when) {
  93926. var wasInSemiGlobalScope, $name, name0, name1, t1, t2, t3, t4, t5, t6, _this = this;
  93927. semiGlobal = semiGlobal && _this._environment0$_inSemiGlobalScope;
  93928. wasInSemiGlobalScope = _this._environment0$_inSemiGlobalScope;
  93929. _this._environment0$_inSemiGlobalScope = semiGlobal;
  93930. if (!when)
  93931. try {
  93932. t1 = callback.call$0();
  93933. return t1;
  93934. } finally {
  93935. _this._environment0$_inSemiGlobalScope = wasInSemiGlobalScope;
  93936. }
  93937. t1 = _this._environment0$_variables;
  93938. t2 = type$.String;
  93939. B.JSArray_methods.add$1(t1, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.Value_2));
  93940. t3 = _this._environment0$_variableNodes;
  93941. B.JSArray_methods.add$1(t3, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.AstNode_2));
  93942. t4 = _this._environment0$_functions;
  93943. t5 = type$.Callable_2;
  93944. B.JSArray_methods.add$1(t4, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  93945. t6 = _this._environment0$_mixins;
  93946. B.JSArray_methods.add$1(t6, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  93947. t5 = _this._environment0$_nestedForwardedModules;
  93948. if (t5 != null)
  93949. t5.push(A._setArrayType([], type$.JSArray_Module_Callable_2));
  93950. try {
  93951. t2 = callback.call$0();
  93952. return t2;
  93953. } finally {
  93954. _this._environment0$_inSemiGlobalScope = wasInSemiGlobalScope;
  93955. _this._environment0$_lastVariableIndex = _this._environment0$_lastVariableName = null;
  93956. for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t1))), t2 = _this._environment0$_variableIndices; t1.moveNext$0();) {
  93957. $name = t1.get$current(t1);
  93958. t2.remove$1(0, $name);
  93959. }
  93960. B.JSArray_methods.removeLast$0(t3);
  93961. for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t4))), t2 = _this._environment0$_functionIndices; t1.moveNext$0();) {
  93962. name0 = t1.get$current(t1);
  93963. t2.remove$1(0, name0);
  93964. }
  93965. for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t6))), t2 = _this._environment0$_mixinIndices; t1.moveNext$0();) {
  93966. name1 = t1.get$current(t1);
  93967. t2.remove$1(0, name1);
  93968. }
  93969. t1 = _this._environment0$_nestedForwardedModules;
  93970. if (t1 != null)
  93971. t1.pop();
  93972. }
  93973. },
  93974. scope$1$1(callback) {
  93975. return this.scope$1$3$semiGlobal$when(callback, false, true);
  93976. },
  93977. scope$1$2$when(callback, when) {
  93978. return this.scope$1$3$semiGlobal$when(callback, false, when);
  93979. },
  93980. scope$1$2$semiGlobal(callback, semiGlobal) {
  93981. return this.scope$1$3$semiGlobal$when(callback, semiGlobal, true);
  93982. },
  93983. toImplicitConfiguration$0() {
  93984. var t2, t3, t4, i, values, nodes, t5, t6, $name, value,
  93985. t1 = type$.String,
  93986. configuration = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.ConfiguredValue_2);
  93987. for (t2 = this._environment0$_variables, t3 = type$.Value_2, t4 = this._environment0$_variableNodes, i = 0; i < t2.length; ++i) {
  93988. values = t2[i];
  93989. nodes = t4[i];
  93990. for (t5 = A.MapExtensions_get_pairs0(values, t1, t3), t5 = t5.get$iterator(t5); t5.moveNext$0();) {
  93991. t6 = t5.get$current(t5);
  93992. $name = t6._0;
  93993. value = t6._1;
  93994. t6 = nodes.$index(0, $name);
  93995. t6.toString;
  93996. configuration.$indexSet(0, $name, new A.ConfiguredValue0(value, null, t6));
  93997. }
  93998. }
  93999. return new A.Configuration0(configuration, null);
  94000. },
  94001. toModule$3(css, preModuleComments, extensionStore) {
  94002. return A._EnvironmentModule__EnvironmentModule1(this, css, preModuleComments, extensionStore, A.NullableExtension_andThen0(this._environment0$_forwardedModules, new A.Environment_toModule_closure0()));
  94003. },
  94004. toDummyModule$0() {
  94005. return A._EnvironmentModule__EnvironmentModule1(this, new A.CssStylesheet0(new A.UnmodifiableListView(B.List_empty16, type$.UnmodifiableListView_CssNode_2), A.SourceFile$decoded(B.List_empty4, "<dummy module>").span$1(0, 0)), B.Map_empty9, B.C_EmptyExtensionStore0, A.NullableExtension_andThen0(this._environment0$_forwardedModules, new A.Environment_toDummyModule_closure0()));
  94006. },
  94007. _environment0$_getModule$1(namespace) {
  94008. var _0_0 = this._environment0$_modules.$index(0, namespace);
  94009. if (_0_0 != null)
  94010. return _0_0;
  94011. throw A.wrapException(A.SassScriptException$0('There is no module with the namespace "' + namespace + '".', null));
  94012. },
  94013. _environment0$_fromOneModule$1$3($name, type, callback) {
  94014. var t1, t2, t3, t4, t5, _1_0, _2_0, value, identity, valueInModule, identityFromModule, module, node,
  94015. _0_0 = this._environment0$_nestedForwardedModules;
  94016. if (_0_0 != null)
  94017. 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();) {
  94018. t3 = t2.__internal$_current;
  94019. 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();) {
  94020. t5 = t3.__internal$_current;
  94021. _1_0 = callback.call$1(t5 == null ? t4._as(t5) : t5);
  94022. if (_1_0 != null)
  94023. return _1_0;
  94024. }
  94025. }
  94026. for (t1 = this._environment0$_importedModules, t1 = A.LinkedHashMapKeyIterator$(t1, t1.__js_helper$_modifications); t1.moveNext$0();) {
  94027. _2_0 = callback.call$1(t1.__js_helper$_current);
  94028. if (_2_0 != null)
  94029. return _2_0;
  94030. }
  94031. for (t1 = this._environment0$_globalModules, t2 = A.LinkedHashMapKeyIterator$(t1, t1.__js_helper$_modifications), t3 = type$.Callable_2, value = null, identity = null; t2.moveNext$0();) {
  94032. t4 = t2.__js_helper$_current;
  94033. valueInModule = callback.call$1(t4);
  94034. if (valueInModule == null)
  94035. continue;
  94036. identityFromModule = t3._is(valueInModule) ? valueInModule : t4.variableIdentity$1($name);
  94037. if (identityFromModule.$eq(0, identity))
  94038. continue;
  94039. if (value != null) {
  94040. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  94041. 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();) {
  94042. t1 = t3.get$current(t3);
  94043. module = t1._0;
  94044. node = t1._1;
  94045. if (callback.call$1(module) != null)
  94046. t2.$indexSet(0, node.get$span(node), t4);
  94047. }
  94048. throw A.wrapException(A.MultiSpanSassScriptException$0("This " + type + string$.x20is_av, type + " use", t2));
  94049. }
  94050. identity = identityFromModule;
  94051. value = valueInModule;
  94052. }
  94053. return value;
  94054. },
  94055. _environment0$_fromOneModule$3($name, type, callback) {
  94056. return this._environment0$_fromOneModule$1$3($name, type, callback, type$.dynamic);
  94057. }
  94058. };
  94059. A.Environment__getVariableFromGlobalModule_closure0.prototype = {
  94060. call$1(module) {
  94061. return module.get$variables().$index(0, this.name);
  94062. },
  94063. $signature: 417
  94064. };
  94065. A.Environment_setVariable_closure2.prototype = {
  94066. call$0() {
  94067. var t1 = this.$this;
  94068. t1._environment0$_lastVariableName = this.name;
  94069. return t1._environment0$_lastVariableIndex = 0;
  94070. },
  94071. $signature: 10
  94072. };
  94073. A.Environment_setVariable_closure3.prototype = {
  94074. call$1(module) {
  94075. return module.get$variables().containsKey$1(this.name) ? module : null;
  94076. },
  94077. $signature: 418
  94078. };
  94079. A.Environment_setVariable_closure4.prototype = {
  94080. call$0() {
  94081. var t1 = this.$this,
  94082. t2 = t1._environment0$_variableIndex$1(this.name);
  94083. return t2 == null ? t1._environment0$_variables.length - 1 : t2;
  94084. },
  94085. $signature: 10
  94086. };
  94087. A.Environment__getFunctionFromGlobalModule_closure0.prototype = {
  94088. call$1(module) {
  94089. return module.get$functions(module).$index(0, this.name);
  94090. },
  94091. $signature: 197
  94092. };
  94093. A.Environment__getMixinFromGlobalModule_closure0.prototype = {
  94094. call$1(module) {
  94095. return module.get$mixins().$index(0, this.name);
  94096. },
  94097. $signature: 197
  94098. };
  94099. A.Environment_toModule_closure0.prototype = {
  94100. call$1(modules) {
  94101. return new A.MapKeySet(modules, type$.MapKeySet_Module_Callable_2);
  94102. },
  94103. $signature: 243
  94104. };
  94105. A.Environment_toDummyModule_closure0.prototype = {
  94106. call$1(modules) {
  94107. return new A.MapKeySet(modules, type$.MapKeySet_Module_Callable_2);
  94108. },
  94109. $signature: 243
  94110. };
  94111. A._EnvironmentModule1.prototype = {
  94112. get$url(_) {
  94113. var t1 = this.css;
  94114. return t1.get$span(t1).file.url;
  94115. },
  94116. setVariable$3($name, value, nodeWithSpan) {
  94117. var t1, t2,
  94118. _0_0 = this._environment0$_modulesByVariable.$index(0, $name);
  94119. if (_0_0 != null) {
  94120. _0_0.setVariable$3($name, value, nodeWithSpan);
  94121. return;
  94122. }
  94123. t1 = this._environment0$_environment;
  94124. t2 = t1._environment0$_variables;
  94125. if (!B.JSArray_methods.get$first(t2).containsKey$1($name))
  94126. throw A.wrapException(A.SassScriptException$0("Undefined variable.", null));
  94127. J.$indexSet$ax(B.JSArray_methods.get$first(t2), $name, value);
  94128. J.$indexSet$ax(B.JSArray_methods.get$first(t1._environment0$_variableNodes), $name, nodeWithSpan);
  94129. return;
  94130. },
  94131. variableIdentity$1($name) {
  94132. var module = this._environment0$_modulesByVariable.$index(0, $name);
  94133. return module == null ? this : module.variableIdentity$1($name);
  94134. },
  94135. cloneCss$0() {
  94136. var _0_0, _this = this;
  94137. if (!_this.transitivelyContainsCss)
  94138. return _this;
  94139. _0_0 = A.cloneCssStylesheet0(_this.css, _this.extensionStore);
  94140. 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);
  94141. },
  94142. toString$0(_) {
  94143. var t2,
  94144. t1 = this.css;
  94145. if (t1.get$span(t1).file.url == null)
  94146. t1 = "<unknown url>";
  94147. else {
  94148. t1 = t1.get$span(t1).file.url;
  94149. t2 = $.$get$context();
  94150. t1.toString;
  94151. t1 = t2.prettyUri$1(t1);
  94152. }
  94153. return t1;
  94154. },
  94155. $isModule1: 1,
  94156. get$upstream() {
  94157. return this.upstream;
  94158. },
  94159. get$variables() {
  94160. return this.variables;
  94161. },
  94162. get$variableNodes() {
  94163. return this.variableNodes;
  94164. },
  94165. get$functions(receiver) {
  94166. return this.functions;
  94167. },
  94168. get$mixins() {
  94169. return this.mixins;
  94170. },
  94171. get$extensionStore() {
  94172. return this.extensionStore;
  94173. },
  94174. get$css(receiver) {
  94175. return this.css;
  94176. },
  94177. get$preModuleComments() {
  94178. return this.preModuleComments;
  94179. },
  94180. get$transitivelyContainsCss() {
  94181. return this.transitivelyContainsCss;
  94182. },
  94183. get$transitivelyContainsExtensions() {
  94184. return this.transitivelyContainsExtensions;
  94185. }
  94186. };
  94187. A._EnvironmentModule__EnvironmentModule_closure11.prototype = {
  94188. call$1(module) {
  94189. return module.get$variables();
  94190. },
  94191. $signature: 421
  94192. };
  94193. A._EnvironmentModule__EnvironmentModule_closure12.prototype = {
  94194. call$1(module) {
  94195. return module.get$variableNodes();
  94196. },
  94197. $signature: 422
  94198. };
  94199. A._EnvironmentModule__EnvironmentModule_closure13.prototype = {
  94200. call$1(module) {
  94201. return module.get$functions(module);
  94202. },
  94203. $signature: 196
  94204. };
  94205. A._EnvironmentModule__EnvironmentModule_closure14.prototype = {
  94206. call$1(module) {
  94207. return module.get$mixins();
  94208. },
  94209. $signature: 196
  94210. };
  94211. A._EnvironmentModule__EnvironmentModule_closure15.prototype = {
  94212. call$1(module) {
  94213. return module.get$transitivelyContainsCss();
  94214. },
  94215. $signature: 123
  94216. };
  94217. A._EnvironmentModule__EnvironmentModule_closure16.prototype = {
  94218. call$1(module) {
  94219. return module.get$transitivelyContainsExtensions();
  94220. },
  94221. $signature: 123
  94222. };
  94223. A.ErrorRule0.prototype = {
  94224. accept$1$1(visitor) {
  94225. return visitor.visitErrorRule$1(this);
  94226. },
  94227. accept$1(visitor) {
  94228. return this.accept$1$1(visitor, type$.dynamic);
  94229. },
  94230. toString$0(_) {
  94231. return "@error " + this.expression.toString$0(0) + ";";
  94232. },
  94233. $isAstNode0: 1,
  94234. $isStatement0: 1,
  94235. get$span(receiver) {
  94236. return this.span;
  94237. }
  94238. };
  94239. A._EvaluateVisitor1.prototype = {
  94240. _EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap1(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
  94241. var t2, metaModule, t3, _i, module, $function, t4, _this = this,
  94242. _s20_ = "$name, $module: null",
  94243. _s9_ = "sass:meta",
  94244. _s7_ = "$module",
  94245. t1 = type$.JSArray_BuiltInCallable_2,
  94246. 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),
  94247. 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);
  94248. t1 = type$.BuiltInCallable_2;
  94249. t2 = A.List_List$of($.$get$global6(), true, t1);
  94250. B.JSArray_methods.addAll$1(t2, $.$get$local0());
  94251. B.JSArray_methods.addAll$1(t2, metaFunctions);
  94252. metaModule = A.BuiltInModule$0("meta", t2, metaMixins, null, t1);
  94253. for (t1 = A.List_List$of($.$get$coreModules0(), true, type$.BuiltInModule_Callable_2), t1.push(metaModule), t2 = t1.length, t3 = _this._evaluate0$_builtInModules, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  94254. module = t1[_i];
  94255. t3.$indexSet(0, module.url, module);
  94256. }
  94257. t1 = A._setArrayType([], type$.JSArray_Callable_2);
  94258. B.JSArray_methods.addAll$1(t1, functions);
  94259. B.JSArray_methods.addAll$1(t1, $.$get$globalFunctions0());
  94260. B.JSArray_methods.addAll$1(t1, metaFunctions);
  94261. for (t2 = t1.length, t3 = _this._evaluate0$_builtInFunctions, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  94262. $function = t1[_i];
  94263. t4 = J.get$name$x($function);
  94264. t3.$indexSet(0, A.stringReplaceAllUnchecked(t4, "_", "-"), $function);
  94265. }
  94266. },
  94267. run$2(_, importer, node) {
  94268. var error, stackTrace, t1, exception;
  94269. try {
  94270. t1 = type$.nullable_Object;
  94271. 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);
  94272. return t1;
  94273. } catch (exception) {
  94274. t1 = A.unwrapException(exception);
  94275. if (t1 instanceof A.SassException0) {
  94276. error = t1;
  94277. stackTrace = A.getTraceFromException(exception);
  94278. A.throwWithTrace0(error.withLoadedUrls$1(this._evaluate0$_loadedUrls), error, stackTrace);
  94279. } else
  94280. throw exception;
  94281. }
  94282. },
  94283. _evaluate0$_assertInModule$1$2(value, $name) {
  94284. if (value != null)
  94285. return value;
  94286. throw A.wrapException(A.StateError$("Can't access " + $name + " outside of a module."));
  94287. },
  94288. _evaluate0$_assertInModule$2(value, $name) {
  94289. return this._evaluate0$_assertInModule$1$2(value, $name, type$.dynamic);
  94290. },
  94291. _evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
  94292. var t2, _this = this, t1 = {},
  94293. _0_0 = _this._evaluate0$_builtInModules.$index(0, url);
  94294. t1.builtInModule = null;
  94295. if (_0_0 != null) {
  94296. t1.builtInModule = _0_0;
  94297. if (configuration instanceof A.ExplicitConfiguration0) {
  94298. t1 = namesInErrors ? "Built-in module " + url.toString$0(0) + " can't be configured." : "Built-in modules can't be configured.";
  94299. t2 = configuration.nodeWithSpan;
  94300. throw A.wrapException(_this._evaluate0$_exception$2(t1, t2.get$span(t2)));
  94301. }
  94302. _this._evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__loadModule_closure3(t1, callback));
  94303. return;
  94304. }
  94305. _this._evaluate0$_withStackFrame$3(stackFrame, nodeWithSpan, new A._EvaluateVisitor__loadModule_closure4(_this, url, nodeWithSpan, baseUrl, namesInErrors, configuration, callback));
  94306. },
  94307. _evaluate0$_loadModule$5$configuration(url, stackFrame, nodeWithSpan, callback, configuration) {
  94308. return this._evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, configuration, false);
  94309. },
  94310. _evaluate0$_loadModule$4(url, stackFrame, nodeWithSpan, callback) {
  94311. return this._evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, null, false);
  94312. },
  94313. _evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
  94314. var currentConfiguration, t2, t3, message, existingSpan, configurationSpan, environment, css, preModuleComments, extensionStore, module, _this = this,
  94315. url = stylesheet.span.file.url,
  94316. t1 = _this._evaluate0$_modules,
  94317. _0_0 = t1.$index(0, url);
  94318. if (_0_0 != null) {
  94319. t1 = configuration == null;
  94320. currentConfiguration = t1 ? _this._evaluate0$_configuration : configuration;
  94321. t2 = _this._evaluate0$_moduleConfigurations.$index(0, url);
  94322. t3 = t2._configuration0$__originalConfiguration;
  94323. t2 = t3 == null ? t2 : t3;
  94324. t3 = currentConfiguration._configuration0$__originalConfiguration;
  94325. if (t2 !== (t3 == null ? currentConfiguration : t3) && currentConfiguration instanceof A.ExplicitConfiguration0) {
  94326. if (namesInErrors) {
  94327. t2 = $.$get$context();
  94328. url.toString;
  94329. message = t2.prettyUri$1(url) + string$.x20was_a;
  94330. } else
  94331. message = string$.This_mw;
  94332. t2 = _this._evaluate0$_moduleNodes.$index(0, url);
  94333. existingSpan = t2 == null ? null : t2.get$span(t2);
  94334. if (t1) {
  94335. t1 = currentConfiguration.nodeWithSpan;
  94336. configurationSpan = t1.get$span(t1);
  94337. } else
  94338. configurationSpan = null;
  94339. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  94340. if (existingSpan != null)
  94341. t1.$indexSet(0, existingSpan, "original load");
  94342. if (configurationSpan != null)
  94343. t1.$indexSet(0, configurationSpan, "configuration");
  94344. throw A.wrapException(t1.get$isEmpty(0) ? _this._evaluate0$_exception$1(message) : _this._evaluate0$_multiSpanException$3(message, "new load", t1));
  94345. }
  94346. return _0_0;
  94347. }
  94348. environment = A.Environment$0();
  94349. css = A._Cell$();
  94350. preModuleComments = A._Cell$();
  94351. extensionStore = A.ExtensionStore$0();
  94352. _this._evaluate0$_withEnvironment$2(environment, new A._EvaluateVisitor__execute_closure1(_this, importer, stylesheet, extensionStore, configuration, css, preModuleComments));
  94353. t2 = css._readLocal$0();
  94354. t3 = preModuleComments._readLocal$0();
  94355. module = environment.toModule$3(t2, t3 == null ? B.Map_empty9 : t3, extensionStore);
  94356. if (url != null) {
  94357. t1.$indexSet(0, url, module);
  94358. _this._evaluate0$_moduleConfigurations.$indexSet(0, url, _this._evaluate0$_configuration);
  94359. if (nodeWithSpan != null)
  94360. _this._evaluate0$_moduleNodes.$indexSet(0, url, nodeWithSpan);
  94361. }
  94362. return module;
  94363. },
  94364. _evaluate0$_execute$2(importer, stylesheet) {
  94365. return this._evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, null, false, null);
  94366. },
  94367. _evaluate0$_addOutOfOrderImports$0() {
  94368. var t1, t2, _this = this, _s5_ = "_root",
  94369. _s13_ = "_endOfImports",
  94370. _0_0 = _this._evaluate0$_outOfOrderImports;
  94371. $label0$0: {
  94372. if (_0_0 == null) {
  94373. t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_).children;
  94374. break $label0$0;
  94375. }
  94376. t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_).children;
  94377. 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")), true, type$.ModifiableCssNode_2);
  94378. B.JSArray_methods.addAll$1(t1, _0_0);
  94379. t2 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_).children;
  94380. B.JSArray_methods.addAll$1(t1, A.SubListIterable$(t2, _this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_), null, t2.$ti._eval$1("ListBase.E")));
  94381. break $label0$0;
  94382. }
  94383. return t1;
  94384. },
  94385. _evaluate0$_combineCss$2$clone(root, clone) {
  94386. var selectors, _0_0, t1, imports, css, sorted, t2;
  94387. if (!B.JSArray_methods.any$1(root.get$upstream(), new A._EvaluateVisitor__combineCss_closure3())) {
  94388. selectors = root.get$extensionStore().get$simpleSelectors();
  94389. _0_0 = A.IterableExtension_get_firstOrNull(root.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__combineCss_closure4(selectors)));
  94390. if (_0_0 != null)
  94391. this._evaluate0$_throwForUnsatisfiedExtension$1(_0_0);
  94392. return root.get$css(root);
  94393. }
  94394. t1 = type$.JSArray_CssNode_2;
  94395. imports = A._setArrayType([], t1);
  94396. css = A._setArrayType([], t1);
  94397. t1 = type$.Module_Callable_2;
  94398. sorted = A.ListQueue$(t1);
  94399. new A._EvaluateVisitor__combineCss_visitModule1(this, A.LinkedHashSet_LinkedHashSet$_empty(t1), clone, css, imports, sorted).call$1(root);
  94400. if (root.get$transitivelyContainsExtensions())
  94401. this._evaluate0$_extendModules$1(sorted);
  94402. t1 = B.JSArray_methods.$add(imports, css);
  94403. t2 = root.get$css(root);
  94404. return new A.CssStylesheet0(new A.UnmodifiableListView(t1, type$.UnmodifiableListView_CssNode_2), t2.get$span(t2));
  94405. },
  94406. _evaluate0$_combineCss$1(root) {
  94407. return this._evaluate0$_combineCss$2$clone(root, false);
  94408. },
  94409. _evaluate0$_extendModules$1(sortedModules) {
  94410. var t1, t2, t3, originalSelectors, $self, t4, t5, _i, upstream, _0_0,
  94411. downstreamExtensionStores = A.LinkedHashMap_LinkedHashMap$_empty(type$.Uri, type$.List_ExtensionStore_2),
  94412. unsatisfiedExtensions = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_Extension_2);
  94413. for (t1 = A._ListQueueIterator$(sortedModules, sortedModules.$ti._precomputed1), t2 = t1.$ti._precomputed1; t1.moveNext$0();) {
  94414. t3 = t1._collection$_current;
  94415. if (t3 == null)
  94416. t3 = t2._as(t3);
  94417. originalSelectors = t3.get$extensionStore().get$simpleSelectors().toSet$0(0);
  94418. unsatisfiedExtensions.addAll$1(0, t3.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__extendModules_closure3(originalSelectors)));
  94419. $self = downstreamExtensionStores.$index(0, t3.get$url(t3));
  94420. t4 = t3.get$extensionStore().get$addExtensions();
  94421. if ($self != null)
  94422. t4.call$1($self);
  94423. t4 = t3.get$extensionStore();
  94424. if (t4.get$isEmpty(t4))
  94425. continue;
  94426. for (t4 = t3.get$upstream(), t5 = t4.length, _i = 0; _i < t4.length; t4.length === t5 || (0, A.throwConcurrentModificationError)(t4), ++_i) {
  94427. upstream = t4[_i];
  94428. _0_0 = upstream.get$url(upstream);
  94429. if (_0_0 != null)
  94430. J.add$1$ax(downstreamExtensionStores.putIfAbsent$2(_0_0, new A._EvaluateVisitor__extendModules_closure4()), t3.get$extensionStore());
  94431. }
  94432. unsatisfiedExtensions.removeAll$1(t3.get$extensionStore().extensionsWhereTarget$1(originalSelectors.get$contains(originalSelectors)));
  94433. }
  94434. if (unsatisfiedExtensions._collection$_length !== 0)
  94435. this._evaluate0$_throwForUnsatisfiedExtension$1(unsatisfiedExtensions.get$first(0));
  94436. },
  94437. _evaluate0$_throwForUnsatisfiedExtension$1(extension) {
  94438. throw A.wrapException(A.SassException$0(string$.The_ta + extension.target.toString$0(0) + ' !optional" to avoid this error.', extension.span, null));
  94439. },
  94440. _evaluate0$_indexAfterImports$1(statements) {
  94441. var t1, lastImport, i, _0_0;
  94442. for (t1 = J.getInterceptor$asx(statements), lastImport = -1, i = 0; i < t1.get$length(statements); ++i) {
  94443. $label0$0: {
  94444. _0_0 = t1.$index(statements, i);
  94445. if (_0_0 instanceof A.ModifiableCssImport0)
  94446. break $label0$0;
  94447. if (_0_0 instanceof A.ModifiableCssComment0)
  94448. continue;
  94449. break;
  94450. }
  94451. lastImport = i;
  94452. }
  94453. return lastImport + 1;
  94454. },
  94455. visitStylesheet$1(node) {
  94456. var t1, t2, _i;
  94457. for (t1 = node.children, t2 = t1.length, _i = 0; _i < t2; ++_i)
  94458. t1[_i].accept$1(this);
  94459. return null;
  94460. },
  94461. visitAtRootRule$1(node) {
  94462. var t1, _2_0, root, first, rest, innerCopy, outerCopy, _i, copy, _this = this,
  94463. _s8_ = "__parent",
  94464. _0_0 = node.query,
  94465. query = _0_0 != null ? A.AtRootQueryParser$0(_this._evaluate0$_performInterpolationWithMap$2$warnForColor(_0_0, true)._0, _this._evaluate0$_logger, null).parse$0() : B.AtRootQuery_n2q0,
  94466. $parent = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_),
  94467. included = A._setArrayType([], type$.JSArray_ModifiableCssParentNode_2);
  94468. for (t1 = type$.CssStylesheet_2; !t1._is($parent); $parent = _2_0) {
  94469. if (!query.excludes$1($parent))
  94470. included.push($parent);
  94471. _2_0 = $parent._node$_parent;
  94472. if (_2_0 == null)
  94473. throw A.wrapException(A.StateError$(string$.CssNod));
  94474. }
  94475. root = _this._evaluate0$_trimIncluded$1(included);
  94476. if (root === _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_)) {
  94477. _this._evaluate0$_environment.scope$1$2$when(new A._EvaluateVisitor_visitAtRootRule_closure3(_this, node), node.hasDeclarations, type$.Null);
  94478. return null;
  94479. }
  94480. if (included.length >= 1) {
  94481. first = included[0];
  94482. rest = B.JSArray_methods.sublist$1(included, 1);
  94483. innerCopy = first.copyWithoutChildren$0();
  94484. for (t1 = rest.length, outerCopy = innerCopy, _i = 0; _i < rest.length; rest.length === t1 || (0, A.throwConcurrentModificationError)(rest), ++_i, outerCopy = copy) {
  94485. copy = rest[_i].copyWithoutChildren$0();
  94486. copy.addChild$1(outerCopy);
  94487. }
  94488. root.addChild$1(outerCopy);
  94489. } else
  94490. innerCopy = root;
  94491. _this._evaluate0$_scopeForAtRoot$4(node, innerCopy, query, included).call$1(new A._EvaluateVisitor_visitAtRootRule_closure4(_this, node));
  94492. return null;
  94493. },
  94494. _evaluate0$_trimIncluded$1(nodes) {
  94495. var $parent, t1, innermostContiguous, i, t2, _0_0, _1_0, root, _this = this, _null = null, _s5_ = "_root",
  94496. _s22_ = " to be an ancestor of ";
  94497. if (nodes.length === 0)
  94498. return _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_);
  94499. $parent = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, "__parent");
  94500. for (t1 = nodes.length, innermostContiguous = _null, i = 0; i < t1; ++i, $parent = _1_0) {
  94501. for (; t2 = nodes[i], $parent !== t2; innermostContiguous = _null, $parent = _0_0) {
  94502. _0_0 = $parent._node$_parent;
  94503. if (_0_0 == null)
  94504. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  94505. }
  94506. if (innermostContiguous == null)
  94507. innermostContiguous = i;
  94508. _1_0 = $parent._node$_parent;
  94509. if (_1_0 == null)
  94510. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  94511. }
  94512. if ($parent !== _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_))
  94513. return _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_);
  94514. innermostContiguous.toString;
  94515. root = nodes[innermostContiguous];
  94516. B.JSArray_methods.removeRange$2(nodes, innermostContiguous, nodes.length);
  94517. return root;
  94518. },
  94519. _evaluate0$_scopeForAtRoot$4(node, newParent, query, included) {
  94520. var _this = this,
  94521. scope = new A._EvaluateVisitor__scopeForAtRoot_closure11(_this, newParent, node),
  94522. t1 = query._at_root_query0$_all || query._at_root_query0$_rule;
  94523. if (t1 !== query.include)
  94524. scope = new A._EvaluateVisitor__scopeForAtRoot_closure12(_this, scope);
  94525. if (_this._evaluate0$_mediaQueries != null && query.excludesName$1("media"))
  94526. scope = new A._EvaluateVisitor__scopeForAtRoot_closure13(_this, scope);
  94527. if (_this._evaluate0$_inKeyframes && query.excludesName$1("keyframes"))
  94528. scope = new A._EvaluateVisitor__scopeForAtRoot_closure14(_this, scope);
  94529. return _this._evaluate0$_inUnknownAtRule && !B.JSArray_methods.any$1(included, new A._EvaluateVisitor__scopeForAtRoot_closure15()) ? new A._EvaluateVisitor__scopeForAtRoot_closure16(_this, scope) : scope;
  94530. },
  94531. visitContentBlock$1(node) {
  94532. return A.throwExpression(A.UnsupportedError$(string$.Evalua));
  94533. },
  94534. visitContentRule$1(node) {
  94535. var $content = this._evaluate0$_environment._environment0$_content;
  94536. if ($content == null)
  94537. return null;
  94538. this._evaluate0$_runUserDefinedCallable$1$4(node.$arguments, $content, node, new A._EvaluateVisitor_visitContentRule_closure1(this, $content), type$.Null);
  94539. return null;
  94540. },
  94541. visitDebugRule$1(node) {
  94542. var value = node.expression.accept$1(this),
  94543. t1 = value instanceof A.SassString0 ? value._string0$_text : A.serializeValue0(value, true, true);
  94544. this._evaluate0$_logger.debug$2(0, t1, node.span);
  94545. return null;
  94546. },
  94547. visitDeclaration$1(node) {
  94548. var t2, $name, _0_0, _1_0, value, t3, t4, t5, _2_0, oldDeclarationName, _this = this, _null = null, t1 = {};
  94549. if ((_this._evaluate0$_atRootExcludingStyleRule ? _null : _this._evaluate0$_styleRuleIgnoringAtRoot) == null && !_this._evaluate0$_inUnknownAtRule && !_this._evaluate0$_inKeyframes)
  94550. throw A.wrapException(_this._evaluate0$_exception$2(string$.Declarm, node.span));
  94551. if (_this._evaluate0$_declarationName != null && B.JSString_methods.startsWith$1(node.name.get$initialPlain(), "--"))
  94552. throw A.wrapException(_this._evaluate0$_exception$2(string$.Declarw, node.span));
  94553. t2 = node.name;
  94554. $name = _this._evaluate0$_interpolationToValue$2$warnForColor(t2, true);
  94555. _0_0 = _this._evaluate0$_declarationName;
  94556. if (_0_0 != null)
  94557. $name = new A.CssValue0(_0_0 + "-" + A.S($name.value), $name.span, type$.CssValue_String_2);
  94558. _1_0 = node.value;
  94559. if (_1_0 != null) {
  94560. value = _1_0.accept$1(_this);
  94561. if (!value.get$isBlank() || value.get$asList().length === 0) {
  94562. t3 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, "__parent");
  94563. t4 = _1_0.get$span(_1_0);
  94564. t2 = B.JSString_methods.startsWith$1(t2.get$initialPlain(), "--");
  94565. if (_this._evaluate0$_sourceMap) {
  94566. t5 = A.NullableExtension_andThen0(_1_0, _this.get$_evaluate0$_expressionNode());
  94567. t5 = t5 == null ? _null : J.get$span$z(t5);
  94568. } else
  94569. t5 = _null;
  94570. t3.addChild$1(A.ModifiableCssDeclaration$0($name, new A.CssValue0(value, t4, type$.CssValue_Value_2), node.span, t2, t5));
  94571. } else if (J.startsWith$1$s($name.value, "--"))
  94572. throw A.wrapException(_this._evaluate0$_exception$2("Custom property values may not be empty.", _1_0.get$span(_1_0)));
  94573. }
  94574. _2_0 = node.children;
  94575. t1.children = null;
  94576. if (_2_0 != null) {
  94577. t1.children = _2_0;
  94578. oldDeclarationName = _this._evaluate0$_declarationName;
  94579. _this._evaluate0$_declarationName = $name.value;
  94580. _this._evaluate0$_environment.scope$1$2$when(new A._EvaluateVisitor_visitDeclaration_closure1(t1, _this), node.hasDeclarations, type$.Null);
  94581. _this._evaluate0$_declarationName = oldDeclarationName;
  94582. }
  94583. return _null;
  94584. },
  94585. visitEachRule$1(node) {
  94586. var _this = this, _box_0 = {},
  94587. t1 = node.list,
  94588. list = t1.accept$1(_this),
  94589. nodeWithSpan = _this._evaluate0$_expressionNode$1(t1),
  94590. _0_0 = node.variables;
  94591. $label0$0: {
  94592. _box_0.variable = null;
  94593. if (_0_0.length === 1) {
  94594. _box_0.variable = _0_0[0];
  94595. t1 = new A._EvaluateVisitor_visitEachRule_closure5(_box_0, _this, nodeWithSpan);
  94596. break $label0$0;
  94597. }
  94598. _box_0.variables = null;
  94599. _box_0.variables = _0_0;
  94600. t1 = new A._EvaluateVisitor_visitEachRule_closure6(_box_0, _this, nodeWithSpan);
  94601. break $label0$0;
  94602. }
  94603. return _this._evaluate0$_environment.scope$1$2$semiGlobal(new A._EvaluateVisitor_visitEachRule_closure7(_this, list, t1, node), true, type$.nullable_Value_2);
  94604. },
  94605. _evaluate0$_setMultipleVariables$3(variables, value, nodeWithSpan) {
  94606. var i,
  94607. list = value.get$asList(),
  94608. t1 = variables.length,
  94609. minLength = Math.min(t1, list.length);
  94610. for (i = 0; i < minLength; ++i)
  94611. this._evaluate0$_environment.setLocalVariable$3(variables[i], this._evaluate0$_withoutSlash$2(list[i], nodeWithSpan), nodeWithSpan);
  94612. for (i = minLength; i < t1; ++i)
  94613. this._evaluate0$_environment.setLocalVariable$3(variables[i], B.C__SassNull0, nodeWithSpan);
  94614. },
  94615. visitErrorRule$1(node) {
  94616. throw A.wrapException(this._evaluate0$_exception$2(J.toString$0$(node.expression.accept$1(this)), node.span));
  94617. },
  94618. visitExtendRule$1(node) {
  94619. var t1, t2, t3, t4, t5, _i, complex, visitor, t6, t7, _0_0, compound, _this = this, _null = null,
  94620. styleRule = _this._evaluate0$_atRootExcludingStyleRule ? _null : _this._evaluate0$_styleRuleIgnoringAtRoot;
  94621. if (styleRule == null || _this._evaluate0$_declarationName != null)
  94622. throw A.wrapException(_this._evaluate0$_exception$2(string$.x40exten, node.span));
  94623. for (t1 = styleRule.originalSelector.components, t2 = t1.length, t3 = node.span, t4 = type$.SourceSpan, t5 = type$.String, _i = 0; _i < t2; ++_i) {
  94624. complex = t1[_i];
  94625. if (!complex.accept$1(B._IsBogusVisitor_true0))
  94626. continue;
  94627. visitor = A._SerializeVisitor$0(_null, true, _null, true, false, _null, true);
  94628. complex.accept$1(visitor);
  94629. t6 = B.JSString_methods.trim$0(visitor._serialize0$_buffer.toString$0(0));
  94630. t7 = complex.accept$1(B.C__IsUselessVisitor0) ? "can't" : "shouldn't";
  94631. _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_5pG);
  94632. }
  94633. _0_0 = _this._evaluate0$_performInterpolationWithMap$2$warnForColor(node.selector, true);
  94634. for (t1 = A.SelectorList_SelectorList$parse0(A.trimAscii0(_0_0._0, true), false, _0_0._1, _this._evaluate0$_logger, false).components, t2 = t1.length, t3 = styleRule._style_rule0$_selector._box0$_inner, _i = 0; _i < t2; ++_i) {
  94635. complex = t1[_i];
  94636. compound = complex.get$singleCompound();
  94637. if (compound == null)
  94638. throw A.wrapException(A.SassFormatException$0("complex selectors may not be extended.", complex.span, _null));
  94639. t4 = compound.components;
  94640. t5 = t4.length === 1 ? B.JSArray_methods.get$first(t4) : _null;
  94641. if (t5 == null)
  94642. throw A.wrapException(A.SassFormatException$0(string$.compou + B.JSArray_methods.join$1(t4, ", ") + string$.x60_inst, compound.span, _null));
  94643. _this._evaluate0$_assertInModule$2(_this._evaluate0$__extensionStore, "_extensionStore").addExtension$4(t3.value, t5, node, _this._evaluate0$_mediaQueries);
  94644. }
  94645. return _null;
  94646. },
  94647. visitAtRule$1(node) {
  94648. var $name, value, children, wasInKeyframes, wasInUnknownAtRule, _this = this;
  94649. if (_this._evaluate0$_declarationName != null)
  94650. throw A.wrapException(_this._evaluate0$_exception$2(string$.At_rul, node.span));
  94651. $name = _this._evaluate0$_interpolationToValue$1(node.name);
  94652. value = A.NullableExtension_andThen0(node.value, new A._EvaluateVisitor_visitAtRule_closure5(_this));
  94653. children = node.children;
  94654. if (children == null) {
  94655. _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$0($name, node.span, true, value));
  94656. return null;
  94657. }
  94658. wasInKeyframes = _this._evaluate0$_inKeyframes;
  94659. wasInUnknownAtRule = _this._evaluate0$_inUnknownAtRule;
  94660. if (A.unvendor0($name.value) === "keyframes")
  94661. _this._evaluate0$_inKeyframes = true;
  94662. else
  94663. _this._evaluate0$_inUnknownAtRule = true;
  94664. _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);
  94665. _this._evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
  94666. _this._evaluate0$_inKeyframes = wasInKeyframes;
  94667. return null;
  94668. },
  94669. visitForRule$1(node) {
  94670. var _this = this, t1 = {},
  94671. t2 = node.from,
  94672. fromNumber = _this._evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure9(_this, node)),
  94673. t3 = node.to,
  94674. toNumber = _this._evaluate0$_addExceptionSpan$2(t3, new A._EvaluateVisitor_visitForRule_closure10(_this, node)),
  94675. from = _this._evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure11(fromNumber)),
  94676. to = t1.to = _this._evaluate0$_addExceptionSpan$2(t3, new A._EvaluateVisitor_visitForRule_closure12(toNumber, fromNumber)),
  94677. direction = from > to ? -1 : 1;
  94678. if (from === (!node.isExclusive ? t1.to = to + direction : to))
  94679. return null;
  94680. return _this._evaluate0$_environment.scope$1$2$semiGlobal(new A._EvaluateVisitor_visitForRule_closure13(t1, _this, node, from, direction, fromNumber), true, type$.nullable_Value_2);
  94681. },
  94682. visitForwardRule$1(node) {
  94683. var newConfiguration, t4, _i, variable, $name, _this = this,
  94684. _s8_ = "@forward",
  94685. oldConfiguration = _this._evaluate0$_configuration,
  94686. adjustedConfiguration = oldConfiguration.throughForward$1(node),
  94687. t1 = node.configuration,
  94688. t2 = t1.length,
  94689. t3 = node.url;
  94690. if (t2 !== 0) {
  94691. newConfiguration = _this._evaluate0$_addForwardConfiguration$2(adjustedConfiguration, node);
  94692. _this._evaluate0$_loadModule$5$configuration(t3, _s8_, node, new A._EvaluateVisitor_visitForwardRule_closure3(_this, node), newConfiguration);
  94693. t3 = type$.String;
  94694. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  94695. for (_i = 0; _i < t2; ++_i) {
  94696. variable = t1[_i];
  94697. if (!variable.isGuarded)
  94698. t4.add$1(0, variable.name);
  94699. }
  94700. _this._evaluate0$_removeUsedConfiguration$3$except(adjustedConfiguration, newConfiguration, t4);
  94701. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  94702. for (_i = 0; _i < t2; ++_i)
  94703. t3.add$1(0, t1[_i].name);
  94704. for (t1 = newConfiguration._configuration0$_values, t2 = J.toList$0$ax(t1.get$keys(t1)), t4 = t2.length, _i = 0; _i < t2.length; t2.length === t4 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  94705. $name = t2[_i];
  94706. if (!t3.contains$1(0, $name))
  94707. if (!t1.get$isEmpty(t1))
  94708. t1.remove$1(0, $name);
  94709. }
  94710. _this._evaluate0$_assertConfigurationIsEmpty$1(newConfiguration);
  94711. } else {
  94712. _this._evaluate0$_configuration = adjustedConfiguration;
  94713. _this._evaluate0$_loadModule$4(t3, _s8_, node, new A._EvaluateVisitor_visitForwardRule_closure4(_this, node));
  94714. _this._evaluate0$_configuration = oldConfiguration;
  94715. }
  94716. return null;
  94717. },
  94718. _evaluate0$_addForwardConfiguration$2(configuration, node) {
  94719. var t2, t3, _i, variable, t4, oldValue, t5, variableNodeWithSpan, _null = null,
  94720. t1 = configuration._configuration0$_values,
  94721. newValues = A.LinkedHashMap_LinkedHashMap$of(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue_2), type$.String, type$.ConfiguredValue_2);
  94722. for (t2 = node.configuration, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  94723. variable = t2[_i];
  94724. if (variable.isGuarded) {
  94725. t4 = variable.name;
  94726. oldValue = t1.get$isEmpty(t1) ? _null : t1.remove$1(0, t4);
  94727. if (oldValue != null)
  94728. t5 = !oldValue.value.$eq(0, B.C__SassNull0);
  94729. else {
  94730. oldValue = _null;
  94731. t5 = false;
  94732. }
  94733. if (t5) {
  94734. newValues.$indexSet(0, t4, oldValue);
  94735. continue;
  94736. }
  94737. }
  94738. t4 = variable.expression;
  94739. variableNodeWithSpan = this._evaluate0$_expressionNode$1(t4);
  94740. newValues.$indexSet(0, variable.name, new A.ConfiguredValue0(this._evaluate0$_withoutSlash$2(t4.accept$1(this), variableNodeWithSpan), variable.span, variableNodeWithSpan));
  94741. }
  94742. if (configuration instanceof A.ExplicitConfiguration0 || t1.get$isEmpty(t1))
  94743. return new A.ExplicitConfiguration0(node, newValues, _null);
  94744. else
  94745. return new A.Configuration0(newValues, _null);
  94746. },
  94747. _evaluate0$_registerCommentsForModule$1(module) {
  94748. var _this = this, _s5_ = "_root",
  94749. t1 = _this._evaluate0$__root;
  94750. if (t1 == null)
  94751. return;
  94752. if (_this._evaluate0$_assertInModule$2(t1, _s5_).children.get$length(0) === 0 || !module.get$transitivelyContainsCss())
  94753. return;
  94754. t1 = _this._evaluate0$_preModuleComments;
  94755. if (t1 == null)
  94756. t1 = _this._evaluate0$_preModuleComments = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable_2, type$.List_CssComment_2);
  94757. 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));
  94758. _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_).clearChildren$0();
  94759. _this._evaluate0$__endOfImports = 0;
  94760. },
  94761. _evaluate0$_removeUsedConfiguration$3$except(upstream, downstream, except) {
  94762. var t1, t2, t3, t4, _i, $name;
  94763. for (t1 = upstream._configuration0$_values, t2 = J.toList$0$ax(t1.get$keys(t1)), t3 = t2.length, t4 = downstream._configuration0$_values, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  94764. $name = t2[_i];
  94765. if (except.contains$1(0, $name))
  94766. continue;
  94767. if (!t4.containsKey$1($name))
  94768. if (!t1.get$isEmpty(t1))
  94769. t1.remove$1(0, $name);
  94770. }
  94771. },
  94772. _evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, nameInError) {
  94773. var t1, _0_0, $name, value;
  94774. if (!(configuration instanceof A.ExplicitConfiguration0))
  94775. return;
  94776. t1 = configuration._configuration0$_values;
  94777. if (t1.get$isEmpty(t1))
  94778. return;
  94779. t1 = A.MapExtensions_get_pairs0(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue_2), type$.String, type$.ConfiguredValue_2);
  94780. _0_0 = t1.get$first(t1);
  94781. $name = _0_0._0;
  94782. value = _0_0._1;
  94783. t1 = nameInError ? "$" + $name + string$.x20was_n : string$.This_v;
  94784. throw A.wrapException(this._evaluate0$_exception$2(t1, value.configurationSpan));
  94785. },
  94786. _evaluate0$_assertConfigurationIsEmpty$1(configuration) {
  94787. return this._evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, false);
  94788. },
  94789. visitFunctionRule$1(node) {
  94790. var t1 = this._evaluate0$_environment,
  94791. t2 = t1.closure$0(),
  94792. t3 = this._evaluate0$_inDependency,
  94793. t4 = t1._environment0$_functions,
  94794. index = t4.length - 1,
  94795. t5 = node.name;
  94796. t1._environment0$_functionIndices.$indexSet(0, t5, index);
  94797. J.$indexSet$ax(t4[index], t5, new A.UserDefinedCallable0(node, t2, t3, type$.UserDefinedCallable_Environment_2));
  94798. return null;
  94799. },
  94800. visitIfRule$1(node) {
  94801. var t1, t2, _i, clauseToCheck,
  94802. clause = node.lastClause;
  94803. for (t1 = node.clauses, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  94804. clauseToCheck = t1[_i];
  94805. if (clauseToCheck.expression.accept$1(this).get$isTruthy()) {
  94806. clause = clauseToCheck;
  94807. break;
  94808. }
  94809. }
  94810. return A.NullableExtension_andThen0(clause, new A._EvaluateVisitor_visitIfRule_closure1(this));
  94811. },
  94812. visitImportRule$1(node) {
  94813. var t1, t2, t3, t4, t5, t6, _i, $import, t7, _0_0, $self, t8, _this = this,
  94814. _s8_ = "__parent",
  94815. _s5_ = "_root",
  94816. _s13_ = "_endOfImports";
  94817. 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) {
  94818. $import = t1[_i];
  94819. if ($import instanceof A.DynamicImport0)
  94820. _this._evaluate0$_visitDynamicImport$1($import);
  94821. else {
  94822. t5._as($import);
  94823. t7 = $import.url;
  94824. _0_0 = _this._evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor(t7, false, false);
  94825. $self = $import.modifiers;
  94826. t8 = $self == null ? null : t4.call$1($self);
  94827. node = new A.ModifiableCssImport0(new A.CssValue0(_0_0._0, t7.span, t3), t8, $import.span);
  94828. if (_this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_) !== _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_))
  94829. _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).addChild$1(node);
  94830. 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)) {
  94831. t7 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_);
  94832. node._node$_parent = t7;
  94833. t7 = t7._node$_children;
  94834. node._node$_indexInParent = t7.length;
  94835. t7.push(node);
  94836. _this._evaluate0$__endOfImports = _this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_) + 1;
  94837. } else {
  94838. t7 = _this._evaluate0$_outOfOrderImports;
  94839. (t7 == null ? _this._evaluate0$_outOfOrderImports = A._setArrayType([], t6) : t7).push(node);
  94840. }
  94841. }
  94842. }
  94843. return null;
  94844. },
  94845. _evaluate0$_visitDynamicImport$1($import) {
  94846. return this._evaluate0$_withStackFrame$3("@import", $import, new A._EvaluateVisitor__visitDynamicImport_closure1(this, $import));
  94847. },
  94848. _evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, forImport) {
  94849. var _0_0, importCache, _1_0, importer, canonicalUrl, originalUrl, isDependency, _2_0, stylesheet, _3_0, result, error, stackTrace, error0, stackTrace0, message, t1, t2, t3, t4, exception, message0, _this = this,
  94850. _s11_ = "_stylesheet";
  94851. baseUrl = baseUrl;
  94852. try {
  94853. _this._evaluate0$_importSpan = span;
  94854. _0_0 = _this._evaluate0$_importCache;
  94855. importCache = null;
  94856. if (_0_0 != null) {
  94857. importCache = _0_0;
  94858. if (baseUrl == null)
  94859. baseUrl = _this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, _s11_).span.file.url;
  94860. _1_0 = J.canonicalize$4$baseImporter$baseUrl$forImport$x(importCache, A.Uri_parse(url), _this._evaluate0$_importer, baseUrl, forImport);
  94861. importer = null;
  94862. canonicalUrl = null;
  94863. originalUrl = null;
  94864. if (type$.Record_3_nullable_Object_and_nullable_Object_and_nullable_Object_originalUrl._is(_1_0)) {
  94865. importer = _1_0._0;
  94866. canonicalUrl = _1_0._1;
  94867. originalUrl = _1_0._2;
  94868. _this._evaluate0$_loadedUrls.add$1(0, canonicalUrl);
  94869. isDependency = _this._evaluate0$_inDependency || !J.$eq$(importer, _this._evaluate0$_importer);
  94870. t1 = importCache;
  94871. t2 = importer;
  94872. t3 = canonicalUrl;
  94873. t4 = originalUrl;
  94874. _2_0 = t1.importCanonical$4$originalUrl$quiet(t2, t3, t4, _this._evaluate0$_quietDeps && isDependency);
  94875. stylesheet = null;
  94876. if (_2_0 != null) {
  94877. stylesheet = _2_0;
  94878. t1 = stylesheet;
  94879. t2 = importer;
  94880. return new A._Record_3_importer_isDependency(t1, t2, isDependency);
  94881. }
  94882. }
  94883. }
  94884. if (_this._nodeImporter != null) {
  94885. t1 = baseUrl;
  94886. _3_0 = _this._importLikeNode$3(url, t1 == null ? _this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, _s11_).span.file.url : t1, forImport);
  94887. result = null;
  94888. if (_3_0 != null) {
  94889. result = _3_0;
  94890. t1 = _this._evaluate0$_loadedUrls;
  94891. A.NullableExtension_andThen0(result._0.span.file.url, t1.get$add(t1));
  94892. t1 = result;
  94893. return t1;
  94894. }
  94895. }
  94896. t1 = B.JSString_methods.startsWith$1(url, "package:");
  94897. if (t1)
  94898. throw A.wrapException(string$.x22packa);
  94899. else
  94900. throw A.wrapException("Can't find stylesheet to import.");
  94901. } catch (exception) {
  94902. t1 = A.unwrapException(exception);
  94903. if (t1 instanceof A.SassException0)
  94904. throw exception;
  94905. else if (t1 instanceof A.ArgumentError) {
  94906. error = t1;
  94907. stackTrace = A.getTraceFromException(exception);
  94908. A.throwWithTrace0(_this._evaluate0$_exception$1(J.toString$0$(error)), error, stackTrace);
  94909. } else {
  94910. error0 = t1;
  94911. stackTrace0 = A.getTraceFromException(exception);
  94912. message = null;
  94913. try {
  94914. message = A._asString(J.get$message$x(error0));
  94915. } catch (exception) {
  94916. message0 = J.toString$0$(error0);
  94917. message = message0;
  94918. }
  94919. A.throwWithTrace0(_this._evaluate0$_exception$1(message), error0, stackTrace0);
  94920. }
  94921. } finally {
  94922. _this._evaluate0$_importSpan = null;
  94923. }
  94924. },
  94925. _evaluate0$_loadStylesheet$3$baseUrl(url, span, baseUrl) {
  94926. return this._evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, false);
  94927. },
  94928. _evaluate0$_loadStylesheet$3$forImport(url, span, forImport) {
  94929. return this._evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, null, forImport);
  94930. },
  94931. _importLikeNode$3(originalUrl, previous, forImport) {
  94932. var isDependency, url, t2, _this = this,
  94933. t1 = _this._nodeImporter,
  94934. result = t1.loadRelative$3(originalUrl, previous, forImport);
  94935. if (result != null)
  94936. isDependency = _this._evaluate0$_inDependency;
  94937. else {
  94938. result = t1.load$3(0, originalUrl, previous, forImport);
  94939. if (result == null)
  94940. return null;
  94941. isDependency = true;
  94942. }
  94943. url = result._1;
  94944. t1 = B.JSString_methods.startsWith$1(url, "file") ? A.Syntax_forPath0(url) : B.Syntax_SCSS_scss0;
  94945. t2 = _this._evaluate0$_quietDeps && isDependency ? $.$get$Logger_quiet0() : _this._evaluate0$_logger;
  94946. return new A._Record_3_importer_isDependency(A.Stylesheet_Stylesheet$parse0(result._0, t1, t2, url), null, isDependency);
  94947. },
  94948. _evaluate0$_applyMixin$5(mixin, contentCallable, $arguments, nodeWithSpan, nodeWithSpanWithoutContent) {
  94949. var t1, _0_0, _1_8, t2, _this = this,
  94950. _s37_ = "Mixin doesn't accept a content block.",
  94951. _s10_ = "invocation";
  94952. $label0$0: {
  94953. if (mixin == null)
  94954. throw A.wrapException(_this._evaluate0$_exception$2("Undefined mixin.", nodeWithSpan.get$span(nodeWithSpan)));
  94955. t1 = mixin instanceof A.BuiltInCallable0;
  94956. if (t1 && !mixin.acceptsContent && contentCallable != null) {
  94957. t1 = _this._evaluate0$_evaluateArguments$1($arguments)._values;
  94958. _0_0 = mixin.callbackFor$2(t1[2].length, new A.MapKeySet(t1[0], type$.MapKeySet_String));
  94959. 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));
  94960. }
  94961. if (t1) {
  94962. _this._evaluate0$_environment.withContent$2(contentCallable, new A._EvaluateVisitor__applyMixin_closure3(_this, $arguments, mixin, nodeWithSpanWithoutContent));
  94963. break $label0$0;
  94964. }
  94965. t1 = type$.UserDefinedCallable_Environment_2._is(mixin);
  94966. if (t1) {
  94967. _1_8 = mixin.declaration;
  94968. if (_1_8 instanceof A.MixinRule0)
  94969. t2 = !type$.MixinRule_2._as(_1_8).get$hasContent() && contentCallable != null;
  94970. else
  94971. t2 = false;
  94972. } else
  94973. t2 = false;
  94974. if (t2)
  94975. throw A.wrapException(A.MultiSpanSassRuntimeException$0(_s37_, nodeWithSpanWithoutContent.get$span(nodeWithSpanWithoutContent), _s10_, A.LinkedHashMap_LinkedHashMap$_literal([mixin.declaration.$arguments.get$spanWithName(), "declaration"], type$.FileSpan, type$.String), _this._evaluate0$_stackTrace$1(nodeWithSpanWithoutContent.get$span(nodeWithSpanWithoutContent)), null));
  94976. if (t1) {
  94977. _this._evaluate0$_runUserDefinedCallable$1$4($arguments, mixin, nodeWithSpanWithoutContent, new A._EvaluateVisitor__applyMixin_closure4(_this, contentCallable, mixin, nodeWithSpanWithoutContent), type$.Null);
  94978. break $label0$0;
  94979. }
  94980. throw A.wrapException(A.UnsupportedError$("Unknown callable type " + mixin.toString$0(0) + "."));
  94981. }
  94982. },
  94983. visitIncludeRule$1(node) {
  94984. var _this = this,
  94985. mixin = _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitIncludeRule_closure5(_this, node));
  94986. if (B.JSString_methods.startsWith$1(node.originalName, "--") && mixin instanceof A.UserDefinedCallable0 && !B.JSString_methods.startsWith$1(mixin.declaration.originalName, "--"))
  94987. _this._evaluate0$_warn$3(string$.Sass__m, node.get$nameSpan(), B.Deprecation_qBS);
  94988. _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)));
  94989. return null;
  94990. },
  94991. visitMixinRule$1(node) {
  94992. var t1 = this._evaluate0$_environment,
  94993. t2 = t1.closure$0(),
  94994. t3 = this._evaluate0$_inDependency,
  94995. t4 = t1._environment0$_mixins,
  94996. index = t4.length - 1,
  94997. t5 = node.name;
  94998. t1._environment0$_mixinIndices.$indexSet(0, t5, index);
  94999. J.$indexSet$ax(t4[index], t5, new A.UserDefinedCallable0(node, t2, t3, type$.UserDefinedCallable_Environment_2));
  95000. return null;
  95001. },
  95002. visitLoudComment$1(node) {
  95003. var t1, _this = this,
  95004. _s8_ = "__parent",
  95005. _s13_ = "_endOfImports";
  95006. if (_this._evaluate0$_inFunction)
  95007. return null;
  95008. 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))
  95009. _this._evaluate0$__endOfImports = _this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_) + 1;
  95010. t1 = node.text;
  95011. _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).addChild$1(new A.ModifiableCssComment0(_this._evaluate0$_performInterpolation$1(t1), t1.span));
  95012. return null;
  95013. },
  95014. visitMediaRule$1(node) {
  95015. var _0_0, queries, mergedQueries, t1, mergedSources, t2, t3, _this = this;
  95016. if (_this._evaluate0$_declarationName != null)
  95017. throw A.wrapException(_this._evaluate0$_exception$2(string$.Media_, node.span));
  95018. _0_0 = _this._evaluate0$_performInterpolationWithMap$2$warnForColor(node.query, true);
  95019. queries = A.CssMediaQuery_parseList0(_0_0._0, _0_0._1, _this._evaluate0$_logger);
  95020. mergedQueries = A.NullableExtension_andThen0(_this._evaluate0$_mediaQueries, new A._EvaluateVisitor_visitMediaRule_closure5(_this, queries));
  95021. t1 = mergedQueries == null;
  95022. if (!t1 && J.get$isEmpty$asx(mergedQueries))
  95023. return null;
  95024. if (t1)
  95025. mergedSources = B.Set_empty5;
  95026. else {
  95027. t2 = _this._evaluate0$_mediaQuerySources;
  95028. t2.toString;
  95029. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery_2);
  95030. t3 = _this._evaluate0$_mediaQueries;
  95031. t3.toString;
  95032. t2.addAll$1(0, t3);
  95033. t2.addAll$1(0, queries);
  95034. mergedSources = t2;
  95035. }
  95036. t1 = t1 ? queries : mergedQueries;
  95037. _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);
  95038. return null;
  95039. },
  95040. _evaluate0$_mergeMediaQueries$2(queries1, queries2) {
  95041. var t1, t2, t3, t4, _0_0, t5, result,
  95042. queries = A._setArrayType([], type$.JSArray_CssMediaQuery_2);
  95043. for (t1 = J.get$iterator$ax(queries1), t2 = J.getInterceptor$ax(queries2); t1.moveNext$0();) {
  95044. t3 = t1.get$current(t1);
  95045. for (t4 = t2.get$iterator(queries2); t4.moveNext$0();)
  95046. $label0$1: {
  95047. _0_0 = t3.merge$1(t4.get$current(t4));
  95048. if (B._SingletonCssMediaQueryMergeResult_00 === _0_0)
  95049. continue;
  95050. if (B._SingletonCssMediaQueryMergeResult_10 === _0_0)
  95051. return null;
  95052. t5 = _0_0 instanceof A.MediaQuerySuccessfulMergeResult0;
  95053. result = t5 ? _0_0 : null;
  95054. if (t5)
  95055. queries.push(result.query);
  95056. break $label0$1;
  95057. }
  95058. }
  95059. return queries;
  95060. },
  95061. visitReturnRule$1(node) {
  95062. var t1 = node.expression;
  95063. return this._evaluate0$_withoutSlash$2(t1.accept$1(this), t1);
  95064. },
  95065. visitSilentComment$1(node) {
  95066. return null;
  95067. },
  95068. visitStyleRule$1(node) {
  95069. var t1, _0_0, selectorText, selectorMap, parsedSelector, nest, t2, _i, _1_0, first, t3, rule, oldAtRootExcludingStyleRule, t4, t5, complex, visitor, t6, t7, t8, t9, _this = this, _null = null,
  95070. _s8_ = "__parent",
  95071. _s11_ = "_stylesheet";
  95072. if (_this._evaluate0$_declarationName != null)
  95073. throw A.wrapException(_this._evaluate0$_exception$2(string$.Style_n, node.span));
  95074. else if (_this._evaluate0$_inKeyframes && _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_) instanceof A.ModifiableCssKeyframeBlock0)
  95075. throw A.wrapException(_this._evaluate0$_exception$2(string$.Style_k, node.span));
  95076. t1 = node.selector;
  95077. _0_0 = _this._evaluate0$_performInterpolationWithMap$2$warnForColor(t1, true);
  95078. selectorText = _0_0._0;
  95079. selectorMap = _0_0._1;
  95080. if (_this._evaluate0$_inKeyframes) {
  95081. _this._evaluate0$_withParent$2$4$scopeWhen$through(A.ModifiableCssKeyframeBlock$0(new A.CssValue0(A.List_List$unmodifiable(A.KeyframeSelectorParser$0(selectorText, selectorMap, _this._evaluate0$_logger).parse$0(), type$.String), t1.span, type$.CssValue_List_String_2), node.span), new A._EvaluateVisitor_visitStyleRule_closure9(_this, node), node.hasDeclarations, new A._EvaluateVisitor_visitStyleRule_closure10(), type$.ModifiableCssKeyframeBlock_2, type$.Null);
  95082. return _null;
  95083. }
  95084. parsedSelector = A.SelectorList_SelectorList$parse0(selectorText, true, selectorMap, _this._evaluate0$_logger, _this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, _s11_).plainCss);
  95085. t1 = _this._evaluate0$_atRootExcludingStyleRule ? _null : _this._evaluate0$_styleRuleIgnoringAtRoot;
  95086. t1 = t1 == null ? _null : t1.fromPlainCss;
  95087. nest = t1 !== true;
  95088. if (nest) {
  95089. if (_this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, _s11_).plainCss)
  95090. for (t1 = parsedSelector.components, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  95091. _1_0 = t1[_i].leadingCombinators;
  95092. if (_1_0.length >= 1) {
  95093. first = _1_0[0];
  95094. t3 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, _s11_);
  95095. t3 = t3.plainCss;
  95096. } else {
  95097. first = _null;
  95098. t3 = false;
  95099. }
  95100. if (t3)
  95101. throw A.wrapException(_this._evaluate0$_exception$2(string$.Top_lel, first.span));
  95102. }
  95103. t1 = _this._evaluate0$_styleRuleIgnoringAtRoot;
  95104. t1 = t1 == null ? _null : t1.originalSelector;
  95105. parsedSelector = parsedSelector.nestWithin$3$implicitParent$preserveParentSelectors(t1, !_this._evaluate0$_atRootExcludingStyleRule, _this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, _s11_).plainCss);
  95106. }
  95107. 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);
  95108. oldAtRootExcludingStyleRule = _this._evaluate0$_atRootExcludingStyleRule;
  95109. _this._evaluate0$_atRootExcludingStyleRule = false;
  95110. t1 = nest ? new A._EvaluateVisitor_visitStyleRule_closure11() : _null;
  95111. _this._evaluate0$_withParent$2$4$scopeWhen$through(rule, new A._EvaluateVisitor_visitStyleRule_closure12(_this, rule, node), node.hasDeclarations, t1, type$.ModifiableCssStyleRule_2, type$.Null);
  95112. _this._evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  95113. if (!rule.accept$1(B._IsInvisibleVisitor_false_false0))
  95114. for (t1 = parsedSelector.components, t2 = t1.length, t3 = type$.SourceSpan, t4 = type$.String, t5 = rule.children, _i = 0; _i < t2; ++_i) {
  95115. complex = t1[_i];
  95116. if (!complex.accept$1(B._IsBogusVisitor_true0))
  95117. continue;
  95118. if (complex.accept$1(B.C__IsUselessVisitor0)) {
  95119. visitor = A._SerializeVisitor$0(_null, true, _null, true, false, _null, true);
  95120. complex.accept$1(visitor);
  95121. _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_5pG);
  95122. } else if (complex.leadingCombinators.length !== 0) {
  95123. if (!_this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, _s11_).plainCss) {
  95124. visitor = A._SerializeVisitor$0(_null, true, _null, true, false, _null, true);
  95125. complex.accept$1(visitor);
  95126. _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_5pG);
  95127. }
  95128. } else {
  95129. visitor = A._SerializeVisitor$0(_null, true, _null, true, false, _null, true);
  95130. complex.accept$1(visitor);
  95131. t6 = B.JSString_methods.trim$0(visitor._serialize0$_buffer.toString$0(0));
  95132. t7 = complex.accept$1(B._IsBogusVisitor_false0) ? string$.x20It_wi : "";
  95133. t8 = A.SpanExtensions_trimRight0(complex.span);
  95134. if (t5.get$length(0) === 0)
  95135. A.throwExpression(A.IterableElementError_noElement());
  95136. t9 = J.get$span$z(t5.$index(0, 0));
  95137. _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_visitStyleRule_closure13()) ? "\n(try converting to a //-style comment)" : "")], t3, t4), t3, t4)), B.Deprecation_5pG);
  95138. }
  95139. }
  95140. if ((_this._evaluate0$_atRootExcludingStyleRule ? _null : _this._evaluate0$_styleRuleIgnoringAtRoot) == null) {
  95141. t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).children;
  95142. t1 = !t1.get$isEmpty(t1);
  95143. } else
  95144. t1 = false;
  95145. if (t1) {
  95146. t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).children;
  95147. t1.get$last(t1).isGroupEnd = true;
  95148. }
  95149. return _null;
  95150. },
  95151. visitSupportsRule$1(node) {
  95152. var t1, _this = this;
  95153. if (_this._evaluate0$_declarationName != null)
  95154. throw A.wrapException(_this._evaluate0$_exception$2(string$.Suppor, node.span));
  95155. t1 = node.condition;
  95156. _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);
  95157. return null;
  95158. },
  95159. _evaluate0$_visitSupportsCondition$1(condition) {
  95160. var t1, _this = this, _box_0 = {};
  95161. $label0$0: {
  95162. if (condition instanceof A.SupportsOperation0) {
  95163. t1 = condition.operator;
  95164. t1 = _this._evaluate0$_parenthesize$2(condition.left, t1) + " " + t1 + " " + _this._evaluate0$_parenthesize$2(condition.right, t1);
  95165. break $label0$0;
  95166. }
  95167. if (condition instanceof A.SupportsNegation0) {
  95168. t1 = "not " + _this._evaluate0$_parenthesize$1(condition.condition);
  95169. break $label0$0;
  95170. }
  95171. if (condition instanceof A.SupportsInterpolation0) {
  95172. t1 = condition.expression;
  95173. t1 = _this._evaluate0$_serialize$3$quote(t1.accept$1(_this), t1, false);
  95174. break $label0$0;
  95175. }
  95176. _box_0.declaration = null;
  95177. if (condition instanceof A.SupportsDeclaration0) {
  95178. _box_0.declaration = condition;
  95179. t1 = _this._evaluate0$_withSupportsDeclaration$1(new A._EvaluateVisitor__visitSupportsCondition_closure1(_box_0, _this));
  95180. break $label0$0;
  95181. }
  95182. if (condition instanceof A.SupportsFunction0) {
  95183. t1 = _this._evaluate0$_performInterpolation$1(condition.name) + "(" + _this._evaluate0$_performInterpolation$1(condition.$arguments) + ")";
  95184. break $label0$0;
  95185. }
  95186. if (condition instanceof A.SupportsAnything0) {
  95187. t1 = "(" + _this._evaluate0$_performInterpolation$1(condition.contents) + ")";
  95188. break $label0$0;
  95189. }
  95190. t1 = A.throwExpression(A.ArgumentError$("Unknown supports condition type " + A.getRuntimeTypeOfDartObject(condition).toString$0(0) + ".", null));
  95191. }
  95192. return t1;
  95193. },
  95194. _evaluate0$_withSupportsDeclaration$1$1(callback) {
  95195. var t1,
  95196. oldInSupportsDeclaration = this._evaluate0$_inSupportsDeclaration;
  95197. this._evaluate0$_inSupportsDeclaration = true;
  95198. try {
  95199. t1 = callback.call$0();
  95200. return t1;
  95201. } finally {
  95202. this._evaluate0$_inSupportsDeclaration = oldInSupportsDeclaration;
  95203. }
  95204. },
  95205. _evaluate0$_withSupportsDeclaration$1(callback) {
  95206. return this._evaluate0$_withSupportsDeclaration$1$1(callback, type$.dynamic);
  95207. },
  95208. _evaluate0$_parenthesize$2(condition, operator) {
  95209. var t1;
  95210. if (!(condition instanceof A.SupportsNegation0))
  95211. if (condition instanceof A.SupportsOperation0)
  95212. t1 = operator == null || operator !== condition.operator;
  95213. else
  95214. t1 = false;
  95215. else
  95216. t1 = true;
  95217. if (t1)
  95218. return "(" + this._evaluate0$_visitSupportsCondition$1(condition) + ")";
  95219. return this._evaluate0$_visitSupportsCondition$1(condition);
  95220. },
  95221. _evaluate0$_parenthesize$1(condition) {
  95222. return this._evaluate0$_parenthesize$2(condition, null);
  95223. },
  95224. visitVariableDeclaration$1(node) {
  95225. var t2, value, _this = this, _null = null, t1 = {};
  95226. if (node.isGuarded) {
  95227. if (node.namespace == null && _this._evaluate0$_environment._environment0$_variables.length === 1) {
  95228. t2 = _this._evaluate0$_configuration._configuration0$_values;
  95229. t2 = t2.get$isEmpty(t2) ? _null : t2.remove$1(0, node.name);
  95230. t1.override = null;
  95231. if (t2 != null) {
  95232. t1.override = t2;
  95233. t2 = !t2.value.$eq(0, B.C__SassNull0);
  95234. } else
  95235. t2 = false;
  95236. if (t2) {
  95237. _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure5(t1, _this, node));
  95238. return _null;
  95239. }
  95240. }
  95241. value = _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure6(_this, node));
  95242. if (value != null && !value.$eq(0, B.C__SassNull0))
  95243. return _null;
  95244. }
  95245. if (node.isGlobal && !_this._evaluate0$_environment.globalVariableExists$1(node.name)) {
  95246. 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.";
  95247. _this._evaluate0$_warn$3(t1, node.span, B.Deprecation_W6Z);
  95248. }
  95249. t1 = node.expression;
  95250. _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure7(_this, node, _this._evaluate0$_withoutSlash$2(t1.accept$1(_this), t1)));
  95251. return _null;
  95252. },
  95253. visitUseRule$1(node) {
  95254. var values, _i, variable, t3, variableNodeWithSpan, configuration, _this = this,
  95255. t1 = node.configuration,
  95256. t2 = t1.length;
  95257. if (t2 !== 0) {
  95258. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue_2);
  95259. for (_i = 0; _i < t2; ++_i) {
  95260. variable = t1[_i];
  95261. t3 = variable.expression;
  95262. variableNodeWithSpan = _this._evaluate0$_expressionNode$1(t3);
  95263. values.$indexSet(0, variable.name, new A.ConfiguredValue0(_this._evaluate0$_withoutSlash$2(t3.accept$1(_this), variableNodeWithSpan), variable.span, variableNodeWithSpan));
  95264. }
  95265. configuration = new A.ExplicitConfiguration0(node, values, null);
  95266. } else
  95267. configuration = B.Configuration_Map_empty_null0;
  95268. _this._evaluate0$_loadModule$5$configuration(node.url, "@use", node, new A._EvaluateVisitor_visitUseRule_closure1(_this, node), configuration);
  95269. _this._evaluate0$_assertConfigurationIsEmpty$1(configuration);
  95270. return null;
  95271. },
  95272. visitWarnRule$1(node) {
  95273. var _this = this,
  95274. value = _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitWarnRule_closure1(_this, node)),
  95275. t1 = value instanceof A.SassString0 ? value._string0$_text : _this._evaluate0$_serialize$2(value, node.expression);
  95276. _this._evaluate0$_logger.warn$2$trace(0, t1, _this._evaluate0$_stackTrace$1(node.span));
  95277. return null;
  95278. },
  95279. visitWhileRule$1(node) {
  95280. return this._evaluate0$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitWhileRule_closure1(this, node), true, node.hasDeclarations, type$.nullable_Value_2);
  95281. },
  95282. visitBinaryOperationExpression$1(node) {
  95283. var t1, _this = this;
  95284. if (_this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, "_stylesheet").plainCss) {
  95285. t1 = node.operator;
  95286. t1 = t1 !== B.BinaryOperator_wdM0 && t1 !== B.BinaryOperator_U770;
  95287. } else
  95288. t1 = false;
  95289. if (t1)
  95290. throw A.wrapException(_this._evaluate0$_exception$2("Operators aren't allowed in plain CSS.", node.get$operatorSpan()));
  95291. return _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitBinaryOperationExpression_closure1(_this, node));
  95292. },
  95293. _evaluate0$_slash$3(left, right, node) {
  95294. var t1, right0, _1_2, _1_1, _null = null,
  95295. result = left.dividedBy$1(right),
  95296. _1_2_isSet = left instanceof A.SassNumber0;
  95297. if (_1_2_isSet) {
  95298. t1 = type$.SassNumber_2;
  95299. t1._as(left);
  95300. if (right instanceof A.SassNumber0) {
  95301. t1._as(right);
  95302. t1 = node.allowsSlash && this._evaluate0$_operandAllowsSlash$1(node.left) && this._evaluate0$_operandAllowsSlash$1(node.right);
  95303. right0 = right;
  95304. _1_2 = right0;
  95305. } else {
  95306. right0 = _null;
  95307. _1_2 = right;
  95308. t1 = false;
  95309. }
  95310. _1_1 = left;
  95311. } else {
  95312. right0 = _null;
  95313. _1_2 = right0;
  95314. _1_1 = left;
  95315. left = _1_2;
  95316. t1 = false;
  95317. }
  95318. if (t1)
  95319. return type$.SassNumber_2._as(result).withSlash$2(left, right0);
  95320. if (_1_1 instanceof A.SassNumber0)
  95321. t1 = (_1_2_isSet ? _1_2 : right) instanceof A.SassNumber0;
  95322. else
  95323. t1 = false;
  95324. if (t1) {
  95325. 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_E8a);
  95326. return result;
  95327. }
  95328. return result;
  95329. },
  95330. _evaluate0$_operandAllowsSlash$1(node) {
  95331. var t1;
  95332. if (node instanceof A.FunctionExpression0)
  95333. if (node.namespace == null) {
  95334. t1 = node.name;
  95335. t1 = B.Set_yHF81.contains$1(0, t1.toLowerCase()) && this._evaluate0$_environment.getFunction$1(t1) == null;
  95336. } else
  95337. t1 = false;
  95338. else
  95339. t1 = true;
  95340. return t1;
  95341. },
  95342. visitValueExpression$1(node) {
  95343. return node.value;
  95344. },
  95345. visitVariableExpression$1(node) {
  95346. var result = this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableExpression_closure1(this, node));
  95347. if (result != null)
  95348. return result;
  95349. throw A.wrapException(this._evaluate0$_exception$2("Undefined variable.", node.span));
  95350. },
  95351. visitUnaryOperationExpression$1(node) {
  95352. return this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitUnaryOperationExpression_closure1(node, node.operand.accept$1(this)));
  95353. },
  95354. visitBooleanExpression$1(node) {
  95355. return node.value ? B.SassBoolean_true0 : B.SassBoolean_false0;
  95356. },
  95357. visitIfExpression$1(node) {
  95358. var condition, t1, ifTrue, ifFalse, result, _this = this,
  95359. _0_0 = _this._evaluate0$_evaluateMacroArguments$1(node),
  95360. positional = _0_0._0,
  95361. named = _0_0._1;
  95362. _this._evaluate0$_verifyArguments$4(positional.length, named, $.$get$IfExpression_declaration0(), node);
  95363. condition = A.ListExtensions_elementAtOrNull(positional, 0);
  95364. if (condition == null) {
  95365. t1 = named.$index(0, "condition");
  95366. t1.toString;
  95367. condition = t1;
  95368. }
  95369. ifTrue = A.ListExtensions_elementAtOrNull(positional, 1);
  95370. if (ifTrue == null) {
  95371. t1 = named.$index(0, "if-true");
  95372. t1.toString;
  95373. ifTrue = t1;
  95374. }
  95375. ifFalse = A.ListExtensions_elementAtOrNull(positional, 2);
  95376. if (ifFalse == null) {
  95377. t1 = named.$index(0, "if-false");
  95378. t1.toString;
  95379. ifFalse = t1;
  95380. }
  95381. result = condition.accept$1(_this).get$isTruthy() ? ifTrue : ifFalse;
  95382. return _this._evaluate0$_withoutSlash$2(result.accept$1(_this), _this._evaluate0$_expressionNode$1(result));
  95383. },
  95384. visitNullExpression$1(node) {
  95385. return B.C__SassNull0;
  95386. },
  95387. visitNumberExpression$1(node) {
  95388. return A.SassNumber_SassNumber0(node.value, node.unit);
  95389. },
  95390. visitParenthesizedExpression$1(node) {
  95391. var _this = this;
  95392. 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);
  95393. },
  95394. visitColorExpression$1(node) {
  95395. return node.value;
  95396. },
  95397. visitListExpression$1(node) {
  95398. var t1 = node.contents;
  95399. 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);
  95400. },
  95401. visitMapExpression$1(node) {
  95402. var t2, t3, _i, t4, key, value, keyValue, valueValue, oldValueSpan,
  95403. t1 = type$.Value_2,
  95404. map = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1),
  95405. keyNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.AstNode_2);
  95406. for (t2 = node.pairs, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  95407. t4 = t2[_i];
  95408. key = t4._0;
  95409. value = t4._1;
  95410. keyValue = key.accept$1(this);
  95411. valueValue = value.accept$1(this);
  95412. if (map.containsKey$1(keyValue)) {
  95413. t1 = keyNodes.$index(0, keyValue);
  95414. oldValueSpan = t1 == null ? null : t1.get$span(t1);
  95415. t1 = key.get$span(key);
  95416. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  95417. if (oldValueSpan != null)
  95418. t2.$indexSet(0, oldValueSpan, "first key");
  95419. throw A.wrapException(A.MultiSpanSassRuntimeException$0("Duplicate key.", t1, "second key", t2, this._evaluate0$_stackTrace$1(key.get$span(key)), null));
  95420. }
  95421. map.$indexSet(0, keyValue, valueValue);
  95422. keyNodes.$indexSet(0, keyValue, key);
  95423. }
  95424. return new A.SassMap0(A.ConstantMap_ConstantMap$from(map, t1, t1));
  95425. },
  95426. visitFunctionExpression$1(node) {
  95427. var t2, _0_0, t3, t4, oldInFunction, result, _this = this,
  95428. _s11_ = "_stylesheet",
  95429. t1 = {},
  95430. $function = _this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, _s11_).plainCss ? null : _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure5(_this, node));
  95431. t1.$function = $function;
  95432. if ($function == null) {
  95433. if (node.namespace != null)
  95434. throw A.wrapException(_this._evaluate0$_exception$2("Undefined function.", node.span));
  95435. t2 = node.name;
  95436. _0_0 = t2.toLowerCase();
  95437. if ("min" === _0_0 || "max" === _0_0 || "round" === _0_0 || "abs" === _0_0) {
  95438. t3 = node.$arguments;
  95439. t4 = t3.named;
  95440. t3 = t4.get$isEmpty(t4) && t3.rest == null && B.JSArray_methods.every$1(t3.positional, new A._EvaluateVisitor_visitFunctionExpression_closure6());
  95441. } else
  95442. t3 = false;
  95443. if (t3)
  95444. return _this._evaluate0$_visitCalculation$2$inLegacySassFunction(node, true);
  95445. 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)
  95446. return _this._evaluate0$_visitCalculation$1(node);
  95447. $function = _this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, _s11_).plainCss ? null : _this._evaluate0$_builtInFunctions.$index(0, t2);
  95448. t2 = t1.$function = $function == null ? new A.PlainCssCallable0(node.originalName) : $function;
  95449. } else
  95450. t2 = $function;
  95451. if (B.JSString_methods.startsWith$1(node.originalName, "--") && t2 instanceof A.UserDefinedCallable0 && !B.JSString_methods.startsWith$1(t2.declaration.originalName, "--"))
  95452. _this._evaluate0$_warn$3(string$.Sass__ff, node.get$nameSpan(), B.Deprecation_qBS);
  95453. oldInFunction = _this._evaluate0$_inFunction;
  95454. _this._evaluate0$_inFunction = true;
  95455. result = _this._evaluate0$_addErrorSpan$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure7(t1, _this, node));
  95456. _this._evaluate0$_inFunction = oldInFunction;
  95457. return result;
  95458. },
  95459. _evaluate0$_visitCalculation$2$inLegacySassFunction(node, inLegacySassFunction) {
  95460. var $arguments, oldCallableNode, t1, _0_0, error, stackTrace, t4, _i, exception, _this = this,
  95461. t2 = node.$arguments,
  95462. t3 = t2.named;
  95463. if (t3.get$isNotEmpty(t3))
  95464. throw A.wrapException(_this._evaluate0$_exception$2(string$.Keywor, node.span));
  95465. else if (t2.rest != null)
  95466. throw A.wrapException(_this._evaluate0$_exception$2(string$.Rest_a, node.span));
  95467. _this._evaluate0$_checkCalculationArguments$1(node);
  95468. t3 = A._setArrayType([], type$.JSArray_Object);
  95469. for (t2 = t2.positional, t4 = t2.length, _i = 0; _i < t4; ++_i)
  95470. t3.push(_this._evaluate0$_visitCalculationExpression$2$inLegacySassFunction(t2[_i], inLegacySassFunction));
  95471. $arguments = t3;
  95472. if (_this._evaluate0$_inSupportsDeclaration)
  95473. return new A.SassCalculation0(node.name, A.List_List$unmodifiable($arguments, type$.Object));
  95474. oldCallableNode = _this._evaluate0$_callableNode;
  95475. _this._evaluate0$_callableNode = node;
  95476. try {
  95477. t1 = null;
  95478. t3 = node.name;
  95479. _0_0 = t3.toLowerCase();
  95480. $label0$0: {
  95481. if ("calc" === _0_0) {
  95482. t1 = A.SassCalculation_calc0(J.$index$asx($arguments, 0));
  95483. break $label0$0;
  95484. }
  95485. if ("sqrt" === _0_0) {
  95486. t1 = A.SassCalculation__singleArgument0("sqrt", J.$index$asx($arguments, 0), A.number2__sqrt$closure(), true);
  95487. break $label0$0;
  95488. }
  95489. if ("sin" === _0_0) {
  95490. t1 = A.SassCalculation__singleArgument0("sin", J.$index$asx($arguments, 0), A.number2__sin$closure(), false);
  95491. break $label0$0;
  95492. }
  95493. if ("cos" === _0_0) {
  95494. t1 = A.SassCalculation__singleArgument0("cos", J.$index$asx($arguments, 0), A.number2__cos$closure(), false);
  95495. break $label0$0;
  95496. }
  95497. if ("tan" === _0_0) {
  95498. t1 = A.SassCalculation__singleArgument0("tan", J.$index$asx($arguments, 0), A.number2__tan$closure(), false);
  95499. break $label0$0;
  95500. }
  95501. if ("asin" === _0_0) {
  95502. t1 = A.SassCalculation__singleArgument0("asin", J.$index$asx($arguments, 0), A.number2__asin$closure(), true);
  95503. break $label0$0;
  95504. }
  95505. if ("acos" === _0_0) {
  95506. t1 = A.SassCalculation__singleArgument0("acos", J.$index$asx($arguments, 0), A.number2__acos$closure(), true);
  95507. break $label0$0;
  95508. }
  95509. if ("atan" === _0_0) {
  95510. t1 = A.SassCalculation__singleArgument0("atan", J.$index$asx($arguments, 0), A.number2__atan$closure(), true);
  95511. break $label0$0;
  95512. }
  95513. if ("abs" === _0_0) {
  95514. t1 = A.SassCalculation_abs0(J.$index$asx($arguments, 0));
  95515. break $label0$0;
  95516. }
  95517. if ("exp" === _0_0) {
  95518. t1 = A.SassCalculation_exp0(J.$index$asx($arguments, 0));
  95519. break $label0$0;
  95520. }
  95521. if ("sign" === _0_0) {
  95522. t1 = A.SassCalculation_sign0(J.$index$asx($arguments, 0));
  95523. break $label0$0;
  95524. }
  95525. if ("min" === _0_0) {
  95526. t1 = A.SassCalculation_min0($arguments);
  95527. break $label0$0;
  95528. }
  95529. if ("max" === _0_0) {
  95530. t1 = A.SassCalculation_max0($arguments);
  95531. break $label0$0;
  95532. }
  95533. if ("hypot" === _0_0) {
  95534. t1 = A.SassCalculation_hypot0($arguments);
  95535. break $label0$0;
  95536. }
  95537. if ("pow" === _0_0) {
  95538. t1 = A.SassCalculation_pow0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  95539. break $label0$0;
  95540. }
  95541. if ("atan2" === _0_0) {
  95542. t1 = A.SassCalculation_atan20(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  95543. break $label0$0;
  95544. }
  95545. if ("log" === _0_0) {
  95546. t1 = A.SassCalculation_log0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  95547. break $label0$0;
  95548. }
  95549. if ("mod" === _0_0) {
  95550. t1 = A.SassCalculation_mod0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  95551. break $label0$0;
  95552. }
  95553. if ("rem" === _0_0) {
  95554. t1 = A.SassCalculation_rem0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  95555. break $label0$0;
  95556. }
  95557. if ("round" === _0_0) {
  95558. t1 = A.SassCalculation_round0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1), A.ListExtensions_elementAtOrNull($arguments, 2));
  95559. break $label0$0;
  95560. }
  95561. if ("clamp" === _0_0) {
  95562. t1 = A.SassCalculation_clamp0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1), A.ListExtensions_elementAtOrNull($arguments, 2));
  95563. break $label0$0;
  95564. }
  95565. t3 = A.UnsupportedError$('Unknown calculation name "' + t3 + '".');
  95566. t1 = A.throwExpression(t3);
  95567. }
  95568. t1 = t1;
  95569. return t1;
  95570. } catch (exception) {
  95571. t1 = A.unwrapException(exception);
  95572. if (t1 instanceof A.SassScriptException0) {
  95573. error = t1;
  95574. stackTrace = A.getTraceFromException(exception);
  95575. if (B.JSString_methods.contains$1(error.message, "compatible"))
  95576. _this._evaluate0$_verifyCompatibleNumbers$2($arguments, t2);
  95577. A.throwWithTrace0(_this._evaluate0$_exception$2(error.message, node.span), error, stackTrace);
  95578. } else
  95579. throw exception;
  95580. } finally {
  95581. _this._evaluate0$_callableNode = oldCallableNode;
  95582. }
  95583. },
  95584. _evaluate0$_visitCalculation$1(node) {
  95585. return this._evaluate0$_visitCalculation$2$inLegacySassFunction(node, false);
  95586. },
  95587. _evaluate0$_checkCalculationArguments$1(node) {
  95588. var t1, _0_0,
  95589. check = new A._EvaluateVisitor__checkCalculationArguments_check1(this, node);
  95590. $label0$0: {
  95591. t1 = node.name;
  95592. _0_0 = t1.toLowerCase();
  95593. 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) {
  95594. check.call$1(1);
  95595. break $label0$0;
  95596. }
  95597. if ("min" === _0_0 || "max" === _0_0 || "hypot" === _0_0) {
  95598. check.call$0();
  95599. break $label0$0;
  95600. }
  95601. if ("pow" === _0_0 || "atan2" === _0_0 || "log" === _0_0 || "mod" === _0_0 || "rem" === _0_0) {
  95602. check.call$1(2);
  95603. break $label0$0;
  95604. }
  95605. if ("round" === _0_0 || "clamp" === _0_0) {
  95606. check.call$1(3);
  95607. break $label0$0;
  95608. }
  95609. throw A.wrapException(A.UnsupportedError$('Unknown calculation name "' + t1 + '".'));
  95610. }
  95611. },
  95612. _evaluate0$_verifyCompatibleNumbers$2(args, nodesWithSpans) {
  95613. var i, t1, _0_0, arg, number1, j, number2;
  95614. for (i = 0; t1 = args.length, i < t1; ++i) {
  95615. _0_0 = args[i];
  95616. if (_0_0 instanceof A.SassNumber0) {
  95617. t1 = _0_0.get$hasComplexUnits();
  95618. arg = _0_0;
  95619. } else {
  95620. arg = null;
  95621. t1 = false;
  95622. }
  95623. if (t1)
  95624. throw A.wrapException(this._evaluate0$_exception$2("Number " + A.S(arg) + " isn't compatible with CSS calculations.", J.get$span$z(nodesWithSpans[i])));
  95625. }
  95626. for (i = 0; i < t1 - 1; ++i) {
  95627. number1 = args[i];
  95628. if (!(number1 instanceof A.SassNumber0))
  95629. continue;
  95630. for (j = i + 1; t1 = args.length, j < t1; ++j) {
  95631. number2 = args[j];
  95632. if (!(number2 instanceof A.SassNumber0))
  95633. continue;
  95634. if (number1.hasPossiblyCompatibleUnits$1(number2))
  95635. continue;
  95636. throw A.wrapException(A.MultiSpanSassRuntimeException$0(number1.toString$0(0) + " and " + number2.toString$0(0) + " are incompatible.", J.get$span$z(nodesWithSpans[i]), number1.toString$0(0), A.LinkedHashMap_LinkedHashMap$_literal([J.get$span$z(nodesWithSpans[j]), number2.toString$0(0)], type$.FileSpan, type$.String), this._evaluate0$_stackTrace$1(J.get$span$z(nodesWithSpans[i])), null));
  95637. }
  95638. }
  95639. },
  95640. _evaluate0$_visitCalculationExpression$2$inLegacySassFunction(node, inLegacySassFunction) {
  95641. var result, t2, _0_0, _1_0, t3, _i, i, _this = this, _null = null, _box_0 = {},
  95642. t1 = node instanceof A.ParenthesizedExpression0,
  95643. inner = t1 ? node.expression : _null;
  95644. if (t1) {
  95645. result = _this._evaluate0$_visitCalculationExpression$2$inLegacySassFunction(inner, inLegacySassFunction);
  95646. return result instanceof A.SassString0 ? new A.SassString0("(" + result._string0$_text + ")", false) : result;
  95647. }
  95648. if (node instanceof A.StringExpression0 && node.accept$1(new A._IsCalculationSafeVisitor0())) {
  95649. t1 = node.text;
  95650. t2 = t1.get$asPlain();
  95651. _0_0 = t2 == null ? _null : t2.toLowerCase();
  95652. $label0$0: {
  95653. if ("pi" === _0_0) {
  95654. t1 = A.SassNumber_SassNumber0(3.141592653589793, _null);
  95655. break $label0$0;
  95656. }
  95657. if ("e" === _0_0) {
  95658. t1 = A.SassNumber_SassNumber0(2.718281828459045, _null);
  95659. break $label0$0;
  95660. }
  95661. if ("infinity" === _0_0) {
  95662. t1 = A.SassNumber_SassNumber0(1 / 0, _null);
  95663. break $label0$0;
  95664. }
  95665. if ("-infinity" === _0_0) {
  95666. t1 = A.SassNumber_SassNumber0(-1 / 0, _null);
  95667. break $label0$0;
  95668. }
  95669. if ("nan" === _0_0) {
  95670. t1 = A.SassNumber_SassNumber0(0 / 0, _null);
  95671. break $label0$0;
  95672. }
  95673. t1 = new A.SassString0(_this._evaluate0$_performInterpolation$1(t1), false);
  95674. break $label0$0;
  95675. }
  95676. return t1;
  95677. }
  95678. _box_0.right = _box_0.left = _box_0.operator = null;
  95679. t1 = node instanceof A.BinaryOperationExpression0;
  95680. if (t1) {
  95681. _box_0.operator = node.operator;
  95682. _box_0.left = node.left;
  95683. _box_0.right = node.right;
  95684. }
  95685. if (t1) {
  95686. _this._evaluate0$_checkWhitespaceAroundCalculationOperator$1(node);
  95687. return _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor__visitCalculationExpression_closure1(_box_0, _this, node, inLegacySassFunction));
  95688. }
  95689. if (node instanceof A.NumberExpression0 || node instanceof A.VariableExpression0 || node instanceof A.FunctionExpression0 || node instanceof A.IfExpression0) {
  95690. _1_0 = node.accept$1(_this);
  95691. $label1$1: {
  95692. if (_1_0 instanceof A.SassNumber0) {
  95693. t1 = _1_0;
  95694. break $label1$1;
  95695. }
  95696. if (_1_0 instanceof A.SassCalculation0) {
  95697. t1 = _1_0;
  95698. break $label1$1;
  95699. }
  95700. if (_1_0 instanceof A.SassString0) {
  95701. t1 = !_1_0._string0$_hasQuotes;
  95702. result = _1_0;
  95703. } else {
  95704. result = _null;
  95705. t1 = false;
  95706. }
  95707. if (t1) {
  95708. t1 = result;
  95709. break $label1$1;
  95710. }
  95711. t1 = A.throwExpression(_this._evaluate0$_exception$2("Value " + _1_0.toString$0(0) + " can't be used in a calculation.", node.get$span(node)));
  95712. }
  95713. return t1;
  95714. }
  95715. if (node instanceof A.ListExpression0 && !node.hasBrackets && B.ListSeparator_nbm0 === node.separator && node.contents.length >= 2) {
  95716. t1 = A._setArrayType([], type$.JSArray_Object);
  95717. for (t2 = node.contents, t3 = t2.length, _i = 0; _i < t3; ++_i)
  95718. t1.push(_this._evaluate0$_visitCalculationExpression$2$inLegacySassFunction(t2[_i], inLegacySassFunction));
  95719. _this._evaluate0$_checkAdjacentCalculationValues$2(t1, node);
  95720. for (i = 0; i < t1.length; ++i) {
  95721. t3 = t1[i];
  95722. if (t3 instanceof A.CalculationOperation0 && t2[i] instanceof A.ParenthesizedExpression0)
  95723. t1[i] = new A.SassString0("(" + A.S(t3) + ")", false);
  95724. }
  95725. return new A.SassString0(B.JSArray_methods.join$1(t1, " "), false);
  95726. }
  95727. throw A.wrapException(_this._evaluate0$_exception$2(string$.This_e, node.get$span(node)));
  95728. },
  95729. _evaluate0$_checkWhitespaceAroundCalculationOperator$1(node) {
  95730. var t2, t3, t4, textBetweenOperands, first, last,
  95731. t1 = node.operator;
  95732. if (t1 !== B.BinaryOperator_u150 && t1 !== B.BinaryOperator_SjO0)
  95733. return;
  95734. t1 = node.left;
  95735. t2 = t1.get$span(t1);
  95736. t2 = t2.get$file(t2);
  95737. t3 = node.right;
  95738. t4 = t3.get$span(t3);
  95739. if (t2 !== t4.get$file(t4))
  95740. return;
  95741. t2 = t1.get$span(t1);
  95742. t2 = t2.get$end(t2);
  95743. t4 = t3.get$span(t3);
  95744. if (t2.offset >= t4.get$start(t4).offset)
  95745. return;
  95746. t2 = t1.get$span(t1);
  95747. t2 = t2.get$file(t2);
  95748. t1 = t1.get$span(t1);
  95749. t1 = t1.get$end(t1);
  95750. t3 = t3.get$span(t3);
  95751. textBetweenOperands = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2._decodedChars, t1.offset, t3.get$start(t3).offset), 0, null);
  95752. first = textBetweenOperands.charCodeAt(0);
  95753. last = textBetweenOperands.charCodeAt(textBetweenOperands.length - 1);
  95754. if (first === 32 || first === 9 || first === 10 || first === 13 || first === 12 || first === 47)
  95755. t1 = !(last === 32 || last === 9 || last === 10 || last === 13 || last === 12 || last === 47);
  95756. else
  95757. t1 = true;
  95758. if (t1)
  95759. throw A.wrapException(this._evaluate0$_exception$2(string$.x22x2b__an, node.get$operatorSpan()));
  95760. },
  95761. _evaluate0$_binaryOperatorToCalculationOperator$2(operator, node) {
  95762. var t1;
  95763. $label0$0: {
  95764. if (B.BinaryOperator_u150 === operator) {
  95765. t1 = B.CalculationOperator_g2q0;
  95766. break $label0$0;
  95767. }
  95768. if (B.BinaryOperator_SjO0 === operator) {
  95769. t1 = B.CalculationOperator_CxF0;
  95770. break $label0$0;
  95771. }
  95772. if (B.BinaryOperator_2No0 === operator) {
  95773. t1 = B.CalculationOperator_1710;
  95774. break $label0$0;
  95775. }
  95776. if (B.BinaryOperator_U770 === operator) {
  95777. t1 = B.CalculationOperator_Qf10;
  95778. break $label0$0;
  95779. }
  95780. t1 = A.throwExpression(this._evaluate0$_exception$2(string$.This_o, node.get$operatorSpan()));
  95781. }
  95782. return t1;
  95783. },
  95784. _evaluate0$_checkAdjacentCalculationValues$2(elements, node) {
  95785. var t1, i, t2, previous, current, previousNode, currentNode, _0_2;
  95786. for (t1 = elements.length, i = 1; i < t1; ++i) {
  95787. t2 = i - 1;
  95788. previous = elements[t2];
  95789. current = elements[i];
  95790. if (previous instanceof A.SassString0 || current instanceof A.SassString0)
  95791. continue;
  95792. t1 = node.contents;
  95793. previousNode = t1[t2];
  95794. currentNode = t1[i];
  95795. if (currentNode instanceof A.UnaryOperationExpression0) {
  95796. _0_2 = currentNode.operator;
  95797. if (B.UnaryOperator_AiQ0 !== _0_2)
  95798. t1 = B.UnaryOperator_cLp0 === _0_2;
  95799. else
  95800. t1 = true;
  95801. } else
  95802. t1 = false;
  95803. if (!t1)
  95804. t1 = currentNode instanceof A.NumberExpression0 && currentNode.value < 0;
  95805. else
  95806. t1 = true;
  95807. if (t1)
  95808. throw A.wrapException(this._evaluate0$_exception$2(string$.x22x2b__an, A.FileSpanExtension_subspan(currentNode.get$span(currentNode), 0, 1)));
  95809. else
  95810. throw A.wrapException(this._evaluate0$_exception$2("Missing math operator.", previousNode.get$span(previousNode).expand$1(0, currentNode.get$span(currentNode))));
  95811. }
  95812. },
  95813. visitInterpolatedFunctionExpression$1(node) {
  95814. var result, _this = this,
  95815. t1 = _this._evaluate0$_performInterpolation$1(node.name),
  95816. oldInFunction = _this._evaluate0$_inFunction;
  95817. _this._evaluate0$_inFunction = true;
  95818. result = _this._evaluate0$_addErrorSpan$2(node, new A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure1(_this, node, new A.PlainCssCallable0(t1)));
  95819. _this._evaluate0$_inFunction = oldInFunction;
  95820. return result;
  95821. },
  95822. _evaluate0$_runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, run, $V) {
  95823. var oldCallable, result, _this = this,
  95824. evaluated = _this._evaluate0$_evaluateArguments$1($arguments),
  95825. $name = callable.declaration.name;
  95826. if ($name !== "@content")
  95827. $name += "()";
  95828. oldCallable = _this._evaluate0$_currentCallable;
  95829. _this._evaluate0$_currentCallable = callable;
  95830. result = _this._evaluate0$_withStackFrame$3($name, nodeWithSpan, new A._EvaluateVisitor__runUserDefinedCallable_closure1(_this, callable, evaluated, nodeWithSpan, run, $V));
  95831. _this._evaluate0$_currentCallable = oldCallable;
  95832. return result;
  95833. },
  95834. _evaluate0$_runFunctionCallable$3($arguments, callable, nodeWithSpan) {
  95835. var buffer, first, argument, restArg, rest, error, t1, t2, _i, t3, t4, exception, _this = this;
  95836. if (callable instanceof A.BuiltInCallable0)
  95837. return _this._evaluate0$_withoutSlash$2(_this._evaluate0$_runBuiltInCallable$3($arguments, callable, nodeWithSpan), nodeWithSpan);
  95838. else if (type$.UserDefinedCallable_Environment_2._is(callable))
  95839. return _this._evaluate0$_runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, new A._EvaluateVisitor__runFunctionCallable_closure1(_this, callable), type$.Value_2);
  95840. else if (callable instanceof A.PlainCssCallable0) {
  95841. t1 = $arguments.named;
  95842. if (t1.get$isNotEmpty(t1) || $arguments.keywordRest != null)
  95843. throw A.wrapException(_this._evaluate0$_exception$2(string$.Plain_, nodeWithSpan.get$span(nodeWithSpan)));
  95844. buffer = new A.StringBuffer(callable.name + "(");
  95845. try {
  95846. first = true;
  95847. for (t1 = $arguments.positional, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  95848. argument = t1[_i];
  95849. if (first)
  95850. first = false;
  95851. else
  95852. buffer._contents += ", ";
  95853. t3 = buffer;
  95854. t4 = argument;
  95855. t4 = _this._evaluate0$_serialize$3$quote(t4.accept$1(_this), t4, true);
  95856. t3._contents += t4;
  95857. }
  95858. restArg = $arguments.rest;
  95859. if (restArg != null) {
  95860. rest = restArg.accept$1(_this);
  95861. if (!first)
  95862. buffer._contents += ", ";
  95863. t1 = buffer;
  95864. t2 = _this._evaluate0$_serialize$2(rest, restArg);
  95865. t1._contents += t2;
  95866. }
  95867. } catch (exception) {
  95868. t1 = A.unwrapException(exception);
  95869. if (type$.SassRuntimeException_2._is(t1)) {
  95870. error = t1;
  95871. if (!B.JSString_methods.endsWith$1(error._span_exception$_message, "isn't a valid CSS value."))
  95872. throw exception;
  95873. 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));
  95874. } else
  95875. throw exception;
  95876. }
  95877. t1 = buffer;
  95878. t2 = A.Primitives_stringFromCharCode(41);
  95879. t1._contents += t2;
  95880. t2 = buffer._contents;
  95881. return new A.SassString0(t2.charCodeAt(0) == 0 ? t2 : t2, false);
  95882. } else
  95883. throw A.wrapException(A.ArgumentError$("Unknown callable type " + J.get$runtimeType$(callable).toString$0(0) + ".", null));
  95884. },
  95885. _evaluate0$_runBuiltInCallable$3($arguments, callable, nodeWithSpan) {
  95886. var result, error, stackTrace, message, namedSet, _0_0, declaredArguments, i, t1, argument, t2, t3, rest, argumentList, exception, message0, _this = this, _box_0 = {},
  95887. evaluated = _this._evaluate0$_evaluateArguments$1($arguments),
  95888. oldCallableNode = _this._evaluate0$_callableNode;
  95889. _this._evaluate0$_callableNode = nodeWithSpan;
  95890. namedSet = new A.MapKeySet(evaluated._values[0], type$.MapKeySet_String);
  95891. _box_0.callback = _box_0.overload = null;
  95892. _0_0 = callable.callbackFor$2(evaluated._values[2].length, namedSet);
  95893. _box_0.overload = _0_0._0;
  95894. _box_0.callback = _0_0._1;
  95895. _this._evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure5(_box_0, evaluated, namedSet));
  95896. declaredArguments = _box_0.overload.$arguments;
  95897. for (i = evaluated._values[2].length, t1 = declaredArguments.length; i < t1; ++i) {
  95898. argument = declaredArguments[i];
  95899. t2 = evaluated._values[2];
  95900. t3 = evaluated._values[0].remove$1(0, argument.name);
  95901. if (t3 == null) {
  95902. t3 = argument.defaultValue;
  95903. t3 = _this._evaluate0$_withoutSlash$2(t3.accept$1(_this), t3);
  95904. }
  95905. t2.push(t3);
  95906. }
  95907. if (_box_0.overload.restArgument != null) {
  95908. if (evaluated._values[2].length > t1) {
  95909. rest = B.JSArray_methods.sublist$1(evaluated._values[2], t1);
  95910. B.JSArray_methods.removeRange$2(evaluated._values[2], t1, evaluated._values[2].length);
  95911. } else
  95912. rest = B.List_empty19;
  95913. t1 = evaluated._values[0];
  95914. argumentList = A.SassArgumentList$0(rest, t1, evaluated._values[4] === B.ListSeparator_undecided_null_undecided0 ? B.ListSeparator_ECn0 : evaluated._values[4]);
  95915. evaluated._values[2].push(argumentList);
  95916. } else
  95917. argumentList = null;
  95918. result = null;
  95919. try {
  95920. result = _this._evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure6(_box_0, evaluated));
  95921. } catch (exception) {
  95922. t1 = A.unwrapException(exception);
  95923. if (t1 instanceof A.SassException0)
  95924. throw exception;
  95925. else {
  95926. error = t1;
  95927. stackTrace = A.getTraceFromException(exception);
  95928. message = null;
  95929. try {
  95930. message = A._asString(J.get$message$x(error));
  95931. } catch (exception) {
  95932. message0 = J.toString$0$(error);
  95933. message = message0;
  95934. }
  95935. A.throwWithTrace0(_this._evaluate0$_exception$2(message, nodeWithSpan.get$span(nodeWithSpan)), error, stackTrace);
  95936. }
  95937. }
  95938. _this._evaluate0$_callableNode = oldCallableNode;
  95939. if (argumentList == null)
  95940. return result;
  95941. if (evaluated._values[0].__js_helper$_length === 0)
  95942. return result;
  95943. if (argumentList._argument_list$_wereKeywordsAccessed)
  95944. return result;
  95945. throw A.wrapException(A.MultiSpanSassRuntimeException$0("No " + A.pluralize0("argument", 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));
  95946. },
  95947. _evaluate0$_evaluateArguments$1($arguments) {
  95948. var t1, t2, _i, expression, nodeForSpan, named, namedNodes, t3, t4, $name, value, restArgs, rest, restNodeForSpan, t5, separator, keywordRestArgs, keywordRest, keywordRestNodeForSpan, _this = this,
  95949. positional = A._setArrayType([], type$.JSArray_Value_2),
  95950. positionalNodes = A._setArrayType([], type$.JSArray_AstNode_2);
  95951. for (t1 = $arguments.positional, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  95952. expression = t1[_i];
  95953. nodeForSpan = _this._evaluate0$_expressionNode$1(expression);
  95954. positional.push(_this._evaluate0$_withoutSlash$2(expression.accept$1(_this), nodeForSpan));
  95955. positionalNodes.push(nodeForSpan);
  95956. }
  95957. t1 = type$.String;
  95958. named = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Value_2);
  95959. t2 = type$.AstNode_2;
  95960. namedNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  95961. for (t3 = A.MapExtensions_get_pairs0($arguments.named, t1, type$.Expression_2), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  95962. t4 = t3.get$current(t3);
  95963. $name = t4._0;
  95964. value = t4._1;
  95965. nodeForSpan = _this._evaluate0$_expressionNode$1(value);
  95966. named.$indexSet(0, $name, _this._evaluate0$_withoutSlash$2(value.accept$1(_this), nodeForSpan));
  95967. namedNodes.$indexSet(0, $name, nodeForSpan);
  95968. }
  95969. restArgs = $arguments.rest;
  95970. if (restArgs == null)
  95971. return new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, B.ListSeparator_undecided_null_undecided0]);
  95972. rest = restArgs.accept$1(_this);
  95973. restNodeForSpan = _this._evaluate0$_expressionNode$1(restArgs);
  95974. if (rest instanceof A.SassMap0) {
  95975. _this._evaluate0$_addRestMap$4(named, rest, restArgs, new A._EvaluateVisitor__evaluateArguments_closure7());
  95976. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  95977. for (t4 = rest._map0$_contents, t4 = J.get$iterator$ax(t4.get$keys(t4)), t5 = type$.SassString_2; t4.moveNext$0();)
  95978. t3.$indexSet(0, t5._as(t4.get$current(t4))._string0$_text, restNodeForSpan);
  95979. namedNodes.addAll$1(0, t3);
  95980. separator = B.ListSeparator_undecided_null_undecided0;
  95981. } else if (rest instanceof A.SassList0) {
  95982. t3 = rest._list1$_contents;
  95983. 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>")));
  95984. B.JSArray_methods.addAll$1(positionalNodes, A.List_List$filled(t3.length, restNodeForSpan, false, t2));
  95985. separator = rest._list1$_separator;
  95986. if (rest instanceof A.SassArgumentList0) {
  95987. rest._argument_list$_wereKeywordsAccessed = true;
  95988. rest._argument_list$_keywords.forEach$1(0, new A._EvaluateVisitor__evaluateArguments_closure9(_this, named, restNodeForSpan, namedNodes));
  95989. }
  95990. } else {
  95991. positional.push(_this._evaluate0$_withoutSlash$2(rest, restNodeForSpan));
  95992. positionalNodes.push(restNodeForSpan);
  95993. separator = B.ListSeparator_undecided_null_undecided0;
  95994. }
  95995. keywordRestArgs = $arguments.keywordRest;
  95996. if (keywordRestArgs == null)
  95997. return new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, separator]);
  95998. keywordRest = keywordRestArgs.accept$1(_this);
  95999. keywordRestNodeForSpan = _this._evaluate0$_expressionNode$1(keywordRestArgs);
  96000. if (keywordRest instanceof A.SassMap0) {
  96001. _this._evaluate0$_addRestMap$4(named, keywordRest, keywordRestArgs, new A._EvaluateVisitor__evaluateArguments_closure10());
  96002. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  96003. for (t2 = keywordRest._map0$_contents, t2 = J.get$iterator$ax(t2.get$keys(t2)), t3 = type$.SassString_2; t2.moveNext$0();)
  96004. t1.$indexSet(0, t3._as(t2.get$current(t2))._string0$_text, keywordRestNodeForSpan);
  96005. namedNodes.addAll$1(0, t1);
  96006. return new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, separator]);
  96007. } else
  96008. throw A.wrapException(_this._evaluate0$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs.get$span(keywordRestArgs)));
  96009. },
  96010. _evaluate0$_evaluateMacroArguments$1(invocation) {
  96011. var t2, positional, named, rest, restNodeForSpan, keywordRestArgs_, keywordRest, keywordRestNodeForSpan, _this = this,
  96012. t1 = invocation.$arguments,
  96013. restArgs_ = t1.rest;
  96014. if (restArgs_ == null)
  96015. return new A._Record_2(t1.positional, t1.named);
  96016. t2 = t1.positional;
  96017. positional = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
  96018. named = A.LinkedHashMap_LinkedHashMap$of(t1.named, type$.String, type$.Expression_2);
  96019. rest = restArgs_.accept$1(_this);
  96020. restNodeForSpan = _this._evaluate0$_expressionNode$1(restArgs_);
  96021. if (rest instanceof A.SassMap0)
  96022. _this._evaluate0$_addRestMap$4(named, rest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure7(restArgs_));
  96023. else if (rest instanceof A.SassList0) {
  96024. t2 = rest._list1$_contents;
  96025. 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>")));
  96026. if (rest instanceof A.SassArgumentList0) {
  96027. rest._argument_list$_wereKeywordsAccessed = true;
  96028. rest._argument_list$_keywords.forEach$1(0, new A._EvaluateVisitor__evaluateMacroArguments_closure9(_this, named, restNodeForSpan, restArgs_));
  96029. }
  96030. } else
  96031. positional.push(new A.ValueExpression0(_this._evaluate0$_withoutSlash$2(rest, restNodeForSpan), restArgs_.get$span(restArgs_)));
  96032. keywordRestArgs_ = t1.keywordRest;
  96033. if (keywordRestArgs_ == null)
  96034. return new A._Record_2(positional, named);
  96035. keywordRest = keywordRestArgs_.accept$1(_this);
  96036. keywordRestNodeForSpan = _this._evaluate0$_expressionNode$1(keywordRestArgs_);
  96037. if (keywordRest instanceof A.SassMap0) {
  96038. _this._evaluate0$_addRestMap$4(named, keywordRest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure10(_this, keywordRestNodeForSpan, keywordRestArgs_));
  96039. return new A._Record_2(positional, named);
  96040. } else
  96041. throw A.wrapException(_this._evaluate0$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs_.get$span(keywordRestArgs_)));
  96042. },
  96043. _evaluate0$_addRestMap$1$4(values, map, nodeWithSpan, convert) {
  96044. map._map0$_contents.forEach$1(0, new A._EvaluateVisitor__addRestMap_closure1(this, values, convert, this._evaluate0$_expressionNode$1(nodeWithSpan), map, nodeWithSpan));
  96045. },
  96046. _evaluate0$_addRestMap$4(values, map, nodeWithSpan, convert) {
  96047. return this._evaluate0$_addRestMap$1$4(values, map, nodeWithSpan, convert, type$.dynamic);
  96048. },
  96049. _evaluate0$_verifyArguments$4(positional, named, $arguments, nodeWithSpan) {
  96050. return this._evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__verifyArguments_closure1($arguments, positional, named));
  96051. },
  96052. visitSelectorExpression$1(node) {
  96053. var t1 = this._evaluate0$_styleRuleIgnoringAtRoot;
  96054. t1 = t1 == null ? null : t1.originalSelector.get$asSassList();
  96055. return t1 == null ? B.C__SassNull0 : t1;
  96056. },
  96057. visitStringExpression$1(node) {
  96058. var t1, t2, t3, t4, _i, value, t5, _0_0, text, _this = this,
  96059. oldInSupportsDeclaration = _this._evaluate0$_inSupportsDeclaration;
  96060. _this._evaluate0$_inSupportsDeclaration = false;
  96061. t1 = A._setArrayType([], type$.JSArray_String);
  96062. for (t2 = node.text.contents, t3 = t2.length, t4 = type$.Expression_2, _i = 0; _i < t3; ++_i) {
  96063. value = t2[_i];
  96064. $label0$0: {
  96065. if (typeof value == "string") {
  96066. t5 = value;
  96067. break $label0$0;
  96068. }
  96069. if (t4._is(value)) {
  96070. _0_0 = value.accept$1(_this);
  96071. $label1$1: {
  96072. if (_0_0 instanceof A.SassString0) {
  96073. text = _0_0._string0$_text;
  96074. t5 = text;
  96075. break $label1$1;
  96076. }
  96077. t5 = _this._evaluate0$_serialize$3$quote(_0_0, value, false);
  96078. break $label1$1;
  96079. }
  96080. break $label0$0;
  96081. }
  96082. t5 = A.throwExpression(A.UnsupportedError$("Unknown interpolation value " + A.S(value)));
  96083. }
  96084. t1.push(t5);
  96085. }
  96086. t1 = B.JSArray_methods.join$0(t1);
  96087. _this._evaluate0$_inSupportsDeclaration = oldInSupportsDeclaration;
  96088. return new A.SassString0(t1, node.hasQuotes);
  96089. },
  96090. visitSupportsExpression$1(expression) {
  96091. return new A.SassString0(this._evaluate0$_visitSupportsCondition$1(expression.condition), false);
  96092. },
  96093. visitCssAtRule$1(node) {
  96094. var wasInKeyframes, wasInUnknownAtRule, t1, _this = this;
  96095. if (_this._evaluate0$_declarationName != null)
  96096. throw A.wrapException(_this._evaluate0$_exception$2(string$.At_rul, node.span));
  96097. if (node.isChildless) {
  96098. _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$0(node.name, node.span, true, node.value));
  96099. return;
  96100. }
  96101. wasInKeyframes = _this._evaluate0$_inKeyframes;
  96102. wasInUnknownAtRule = _this._evaluate0$_inUnknownAtRule;
  96103. t1 = node.name;
  96104. if (A.unvendor0(t1.value) === "keyframes")
  96105. _this._evaluate0$_inKeyframes = true;
  96106. else
  96107. _this._evaluate0$_inUnknownAtRule = true;
  96108. _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);
  96109. _this._evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
  96110. _this._evaluate0$_inKeyframes = wasInKeyframes;
  96111. },
  96112. visitCssComment$1(node) {
  96113. var _this = this,
  96114. _s8_ = "__parent",
  96115. _s13_ = "_endOfImports";
  96116. 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))
  96117. _this._evaluate0$__endOfImports = _this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_) + 1;
  96118. _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).addChild$1(new A.ModifiableCssComment0(node.text, node.span));
  96119. },
  96120. visitCssDeclaration$1(node) {
  96121. this._evaluate0$_assertInModule$2(this._evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssDeclaration$0(node.name, node.value, node.span, node.parsedAsCustomProperty, node.valueSpanForMap));
  96122. },
  96123. visitCssImport$1(node) {
  96124. var t1, _this = this,
  96125. _s8_ = "__parent",
  96126. _s5_ = "_root",
  96127. _s13_ = "_endOfImports",
  96128. modifiableNode = new A.ModifiableCssImport0(node.url, node.modifiers, node.span);
  96129. if (_this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_) !== _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_))
  96130. _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).addChild$1(modifiableNode);
  96131. 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)) {
  96132. _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_).addChild$1(modifiableNode);
  96133. _this._evaluate0$__endOfImports = _this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_) + 1;
  96134. } else {
  96135. t1 = _this._evaluate0$_outOfOrderImports;
  96136. (t1 == null ? _this._evaluate0$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport_2) : t1).push(modifiableNode);
  96137. }
  96138. },
  96139. visitCssKeyframeBlock$1(node) {
  96140. 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);
  96141. },
  96142. visitCssMediaRule$1(node) {
  96143. var mergedQueries, t1, mergedSources, t2, t3, _this = this;
  96144. if (_this._evaluate0$_declarationName != null)
  96145. throw A.wrapException(_this._evaluate0$_exception$2(string$.Media_, node.span));
  96146. mergedQueries = A.NullableExtension_andThen0(_this._evaluate0$_mediaQueries, new A._EvaluateVisitor_visitCssMediaRule_closure5(_this, node));
  96147. t1 = mergedQueries == null;
  96148. if (!t1 && J.get$isEmpty$asx(mergedQueries))
  96149. return;
  96150. if (t1)
  96151. mergedSources = B.Set_empty5;
  96152. else {
  96153. t2 = _this._evaluate0$_mediaQuerySources;
  96154. t2.toString;
  96155. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery_2);
  96156. t3 = _this._evaluate0$_mediaQueries;
  96157. t3.toString;
  96158. t2.addAll$1(0, t3);
  96159. t2.addAll$1(0, node.queries);
  96160. mergedSources = t2;
  96161. }
  96162. t1 = t1 ? node.queries : mergedQueries;
  96163. _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);
  96164. },
  96165. visitCssStyleRule$1(node) {
  96166. var t1, styleRule, t2, nest, t3, originalSelector, rule, oldAtRootExcludingStyleRule, _0_1, lastChild, _this = this, _null = null,
  96167. _s8_ = "__parent";
  96168. if (_this._evaluate0$_declarationName != null)
  96169. throw A.wrapException(_this._evaluate0$_exception$2(string$.Style_n, node.span));
  96170. else if (_this._evaluate0$_inKeyframes && _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_) instanceof A.ModifiableCssKeyframeBlock0)
  96171. throw A.wrapException(_this._evaluate0$_exception$2(string$.Style_k, node.span));
  96172. t1 = _this._evaluate0$_atRootExcludingStyleRule;
  96173. styleRule = t1 ? _null : _this._evaluate0$_styleRuleIgnoringAtRoot;
  96174. t2 = t1 ? _null : _this._evaluate0$_styleRuleIgnoringAtRoot;
  96175. t2 = t2 == null ? _null : t2.fromPlainCss;
  96176. nest = t2 !== true;
  96177. t2 = node._style_rule0$_selector._box0$_inner;
  96178. if (nest) {
  96179. t2 = t2.value;
  96180. t3 = styleRule == null ? _null : styleRule.originalSelector;
  96181. originalSelector = t2.nestWithin$3$implicitParent$preserveParentSelectors(t3, !t1, node.fromPlainCss);
  96182. } else
  96183. originalSelector = t2.value;
  96184. rule = A.ModifiableCssStyleRule$0(_this._evaluate0$_assertInModule$2(_this._evaluate0$__extensionStore, "_extensionStore").addSelector$2(originalSelector, _this._evaluate0$_mediaQueries), node.span, node.fromPlainCss, originalSelector);
  96185. oldAtRootExcludingStyleRule = _this._evaluate0$_atRootExcludingStyleRule;
  96186. _this._evaluate0$_atRootExcludingStyleRule = false;
  96187. t1 = nest ? new A._EvaluateVisitor_visitCssStyleRule_closure3() : _null;
  96188. _this._evaluate0$_withParent$2$4$scopeWhen$through(rule, new A._EvaluateVisitor_visitCssStyleRule_closure4(_this, rule, node), false, t1, type$.ModifiableCssStyleRule_2, type$.Null);
  96189. _this._evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  96190. t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).children._collection$_source;
  96191. t2 = J.getInterceptor$asx(t1);
  96192. _0_1 = t2.get$length(t1);
  96193. if (_0_1 >= 1) {
  96194. lastChild = t2.elementAt$1(t1, _0_1 - 1);
  96195. t1 = styleRule == null;
  96196. } else {
  96197. lastChild = _null;
  96198. t1 = false;
  96199. }
  96200. if (t1)
  96201. lastChild.isGroupEnd = true;
  96202. },
  96203. visitCssStylesheet$1(node) {
  96204. var t1;
  96205. for (t1 = J.get$iterator$ax(node.get$children(node)); t1.moveNext$0();)
  96206. t1.get$current(t1).accept$1(this);
  96207. },
  96208. visitCssSupportsRule$1(node) {
  96209. var _this = this;
  96210. if (_this._evaluate0$_declarationName != null)
  96211. throw A.wrapException(_this._evaluate0$_exception$2(string$.Suppor, node.span));
  96212. _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);
  96213. },
  96214. _evaluate0$_handleReturn$1$2(list, callback) {
  96215. var t1, _i, _0_0;
  96216. for (t1 = list.length, _i = 0; _i < list.length; list.length === t1 || (0, A.throwConcurrentModificationError)(list), ++_i) {
  96217. _0_0 = callback.call$1(list[_i]);
  96218. if (_0_0 != null)
  96219. return _0_0;
  96220. }
  96221. return null;
  96222. },
  96223. _evaluate0$_handleReturn$2(list, callback) {
  96224. return this._evaluate0$_handleReturn$1$2(list, callback, type$.dynamic);
  96225. },
  96226. _evaluate0$_withEnvironment$1$2(environment, callback) {
  96227. var result,
  96228. oldEnvironment = this._evaluate0$_environment;
  96229. this._evaluate0$_environment = environment;
  96230. result = callback.call$0();
  96231. this._evaluate0$_environment = oldEnvironment;
  96232. return result;
  96233. },
  96234. _evaluate0$_withEnvironment$2(environment, callback) {
  96235. return this._evaluate0$_withEnvironment$1$2(environment, callback, type$.dynamic);
  96236. },
  96237. _evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, trim, warnForColor) {
  96238. var result = this._evaluate0$_performInterpolation$2$warnForColor(interpolation, warnForColor),
  96239. t1 = trim ? A.trimAscii0(result, true) : result;
  96240. return new A.CssValue0(t1, interpolation.span, type$.CssValue_String_2);
  96241. },
  96242. _evaluate0$_interpolationToValue$1(interpolation) {
  96243. return this._evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, false, false);
  96244. },
  96245. _evaluate0$_interpolationToValue$2$warnForColor(interpolation, warnForColor) {
  96246. return this._evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, false, warnForColor);
  96247. },
  96248. _evaluate0$_performInterpolation$2$warnForColor(interpolation, warnForColor) {
  96249. return this._evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor(interpolation, false, warnForColor)._0;
  96250. },
  96251. _evaluate0$_performInterpolation$1(interpolation) {
  96252. return this._evaluate0$_performInterpolation$2$warnForColor(interpolation, false);
  96253. },
  96254. _evaluate0$_performInterpolationWithMap$2$warnForColor(interpolation, warnForColor) {
  96255. var _0_0 = this._evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor(interpolation, true, true),
  96256. map = _0_0._1;
  96257. map.toString;
  96258. return new A._Record_2(_0_0._0, map);
  96259. },
  96260. _evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor(interpolation, sourceMap, warnForColor) {
  96261. var t1, t2, t3, t4, t5, t6, t7, first, _i, t8, value, result, t9, result0, _this = this, _null = null,
  96262. targetLocations = sourceMap ? A._setArrayType([], type$.JSArray_SourceLocation) : _null,
  96263. oldInSupportsDeclaration = _this._evaluate0$_inSupportsDeclaration;
  96264. _this._evaluate0$_inSupportsDeclaration = false;
  96265. for (t1 = interpolation.contents, t2 = t1.length, t3 = type$.Expression_2, t4 = targetLocations == null, t5 = type$.JSArray_Object, t6 = interpolation.span, t7 = type$.Object, first = true, _i = 0, t8 = ""; _i < t2; ++_i, first = false) {
  96266. value = t1[_i];
  96267. if (!first)
  96268. if (!t4)
  96269. targetLocations.push(A.SourceLocation$(t8.length, _null, _null, _null));
  96270. if (typeof value == "string") {
  96271. t8 += value;
  96272. continue;
  96273. }
  96274. t3._as(value);
  96275. result = value.accept$1(_this);
  96276. if (warnForColor && $.$get$namesByColor0().containsKey$1(result)) {
  96277. t9 = A._setArrayType([""], t5);
  96278. result0 = A.List_List$from(t9, false, t7);
  96279. result0.fixed$length = Array;
  96280. result0.immutable$list = Array;
  96281. result0 = new A.Interpolation0(result0, t6);
  96282. result0.Interpolation$20(t9, t6);
  96283. t9 = $.$get$namesByColor0();
  96284. _this._evaluate0$_warn$2(string$.You_pr + A.S(t9.$index(0, result)) + string$.x20in_in + result.toString$0(0) + string$.x2c_whicw + A.S(t9.$index(0, result)) + string$.x22x29__If + new A.BinaryOperationExpression0(B.BinaryOperator_u150, new A.StringExpression0(result0, true), value, false).toString$0(0) + "'.", value.get$span(value));
  96285. }
  96286. t8 += _this._evaluate0$_serialize$3$quote(result, value, false);
  96287. }
  96288. _this._evaluate0$_inSupportsDeclaration = oldInSupportsDeclaration;
  96289. return new A._Record_2(t8.charCodeAt(0) == 0 ? t8 : t8, A.NullableExtension_andThen0(targetLocations, new A._EvaluateVisitor__performInterpolationHelper_closure1(interpolation)));
  96290. },
  96291. _evaluate0$_serialize$3$quote(value, nodeWithSpan, quote) {
  96292. return this._evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__serialize_closure1(value, quote));
  96293. },
  96294. _evaluate0$_serialize$2(value, nodeWithSpan) {
  96295. return this._evaluate0$_serialize$3$quote(value, nodeWithSpan, true);
  96296. },
  96297. _evaluate0$_expressionNode$1(expression) {
  96298. var t1;
  96299. if (expression instanceof A.VariableExpression0) {
  96300. t1 = this._evaluate0$_addExceptionSpan$2(expression, new A._EvaluateVisitor__expressionNode_closure1(this, expression));
  96301. return t1 == null ? expression : t1;
  96302. } else
  96303. return expression;
  96304. },
  96305. _evaluate0$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, through, $S, $T) {
  96306. var t1, result, _this = this;
  96307. _this._evaluate0$_addChild$2$through(node, through);
  96308. t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, "__parent");
  96309. _this._evaluate0$__parent = node;
  96310. result = _this._evaluate0$_environment.scope$1$2$when(callback, scopeWhen, $T);
  96311. _this._evaluate0$__parent = t1;
  96312. return result;
  96313. },
  96314. _evaluate0$_withParent$2$3$scopeWhen(node, callback, scopeWhen, $S, $T) {
  96315. return this._evaluate0$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, null, $S, $T);
  96316. },
  96317. _evaluate0$_withParent$2$2(node, callback, $S, $T) {
  96318. return this._evaluate0$_withParent$2$4$scopeWhen$through(node, callback, true, null, $S, $T);
  96319. },
  96320. _evaluate0$_addChild$2$through(node, through) {
  96321. var _0_0, grandparent, t1,
  96322. $parent = this._evaluate0$_assertInModule$2(this._evaluate0$__parent, "__parent");
  96323. if (through != null) {
  96324. for (; through.call$1($parent); $parent = _0_0) {
  96325. _0_0 = $parent._node$_parent;
  96326. if (_0_0 == null)
  96327. throw A.wrapException(A.ArgumentError$(string$.throug + node.toString$0(0) + ".", null));
  96328. }
  96329. if ($parent.get$hasFollowingSibling()) {
  96330. grandparent = $parent._node$_parent;
  96331. t1 = grandparent.children;
  96332. if ($parent.equalsIgnoringChildren$1(t1.get$last(t1)))
  96333. $parent = type$.ModifiableCssParentNode_2._as(t1.get$last(t1));
  96334. else {
  96335. $parent = $parent.copyWithoutChildren$0();
  96336. grandparent.addChild$1($parent);
  96337. }
  96338. }
  96339. }
  96340. $parent.addChild$1(node);
  96341. },
  96342. _evaluate0$_addChild$1(node) {
  96343. return this._evaluate0$_addChild$2$through(node, null);
  96344. },
  96345. _evaluate0$_withStyleRule$1$2(rule, callback) {
  96346. var result,
  96347. oldRule = this._evaluate0$_styleRuleIgnoringAtRoot;
  96348. this._evaluate0$_styleRuleIgnoringAtRoot = rule;
  96349. result = callback.call$0();
  96350. this._evaluate0$_styleRuleIgnoringAtRoot = oldRule;
  96351. return result;
  96352. },
  96353. _evaluate0$_withStyleRule$2(rule, callback) {
  96354. return this._evaluate0$_withStyleRule$1$2(rule, callback, type$.dynamic);
  96355. },
  96356. _evaluate0$_withMediaQueries$1$3(queries, sources, callback) {
  96357. var result, _this = this,
  96358. oldMediaQueries = _this._evaluate0$_mediaQueries,
  96359. oldSources = _this._evaluate0$_mediaQuerySources;
  96360. _this._evaluate0$_mediaQueries = queries;
  96361. _this._evaluate0$_mediaQuerySources = sources;
  96362. result = callback.call$0();
  96363. _this._evaluate0$_mediaQueries = oldMediaQueries;
  96364. _this._evaluate0$_mediaQuerySources = oldSources;
  96365. return result;
  96366. },
  96367. _evaluate0$_withMediaQueries$3(queries, sources, callback) {
  96368. return this._evaluate0$_withMediaQueries$1$3(queries, sources, callback, type$.dynamic);
  96369. },
  96370. _evaluate0$_withStackFrame$1$3(member, nodeWithSpan, callback) {
  96371. var oldMember, result, _this = this,
  96372. t1 = _this._evaluate0$_stack;
  96373. t1.push(new A._Record_2(_this._evaluate0$_member, nodeWithSpan));
  96374. oldMember = _this._evaluate0$_member;
  96375. _this._evaluate0$_member = member;
  96376. result = callback.call$0();
  96377. _this._evaluate0$_member = oldMember;
  96378. t1.pop();
  96379. return result;
  96380. },
  96381. _evaluate0$_withStackFrame$3(member, nodeWithSpan, callback) {
  96382. return this._evaluate0$_withStackFrame$1$3(member, nodeWithSpan, callback, type$.dynamic);
  96383. },
  96384. _evaluate0$_withoutSlash$2(value, nodeForSpan) {
  96385. var t1;
  96386. if (value instanceof A.SassNumber0)
  96387. t1 = value.asSlash != null;
  96388. else
  96389. t1 = false;
  96390. if (t1)
  96391. 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_E8a);
  96392. return value.withoutSlash$0();
  96393. },
  96394. _evaluate0$_stackFrame$2(member, span) {
  96395. return A.frameForSpan0(span, member, A.NullableExtension_andThen0(span.get$sourceUrl(span), new A._EvaluateVisitor__stackFrame_closure1(this)));
  96396. },
  96397. _evaluate0$_stackTrace$1(span) {
  96398. var t2, t3, _i, t4, nodeWithSpan, _this = this,
  96399. t1 = A._setArrayType([], type$.JSArray_Frame);
  96400. for (t2 = _this._evaluate0$_stack, t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  96401. t4 = t2[_i];
  96402. nodeWithSpan = t4._1;
  96403. t1.push(_this._evaluate0$_stackFrame$2(t4._0, nodeWithSpan.get$span(nodeWithSpan)));
  96404. }
  96405. if (span != null)
  96406. t1.push(_this._evaluate0$_stackFrame$2(_this._evaluate0$_member, span));
  96407. return A.Trace$(new A.ReversedListIterable(t1, type$.ReversedListIterable_Frame), null);
  96408. },
  96409. _evaluate0$_stackTrace$0() {
  96410. return this._evaluate0$_stackTrace$1(null);
  96411. },
  96412. _evaluate0$_warn$3(message, span, deprecation) {
  96413. var t1, trace, _this = this;
  96414. if (_this._evaluate0$_quietDeps)
  96415. if (!_this._evaluate0$_inDependency) {
  96416. t1 = _this._evaluate0$_currentCallable;
  96417. t1 = t1 == null ? null : t1.inDependency;
  96418. t1 = t1 === true;
  96419. } else
  96420. t1 = true;
  96421. else
  96422. t1 = false;
  96423. if (t1)
  96424. return;
  96425. if (!_this._evaluate0$_warningsEmitted.add$1(0, new A._Record_2(message, span)))
  96426. return;
  96427. trace = _this._evaluate0$_stackTrace$1(span);
  96428. t1 = _this._evaluate0$_logger;
  96429. if (deprecation == null)
  96430. t1.warn$3$span$trace(0, message, span, trace);
  96431. else
  96432. A.WarnForDeprecation_warnForDeprecation0(t1, deprecation, message, span, trace);
  96433. },
  96434. _evaluate0$_warn$2(message, span) {
  96435. return this._evaluate0$_warn$3(message, span, null);
  96436. },
  96437. _evaluate0$_exception$2(message, span) {
  96438. var t1, t2;
  96439. if (span == null) {
  96440. t1 = B.JSArray_methods.get$last(this._evaluate0$_stack)._1;
  96441. t1 = t1.get$span(t1);
  96442. } else
  96443. t1 = span;
  96444. t2 = this._evaluate0$_stackTrace$1(span);
  96445. return new A.SassRuntimeException0(t2, B.Set_empty, message, t1);
  96446. },
  96447. _evaluate0$_exception$1(message) {
  96448. return this._evaluate0$_exception$2(message, null);
  96449. },
  96450. _evaluate0$_multiSpanException$3(message, primaryLabel, secondaryLabels) {
  96451. var t1 = B.JSArray_methods.get$last(this._evaluate0$_stack)._1;
  96452. return A.MultiSpanSassRuntimeException$0(message, t1.get$span(t1), primaryLabel, secondaryLabels, this._evaluate0$_stackTrace$0(), null);
  96453. },
  96454. _evaluate0$_addExceptionSpan$1$3$addStackFrame(nodeWithSpan, callback, addStackFrame) {
  96455. var error, stackTrace, t1, exception;
  96456. try {
  96457. t1 = callback.call$0();
  96458. return t1;
  96459. } catch (exception) {
  96460. t1 = A.unwrapException(exception);
  96461. if (t1 instanceof A.SassScriptException0) {
  96462. error = t1;
  96463. stackTrace = A.getTraceFromException(exception);
  96464. t1 = error.withSpan$1(nodeWithSpan.get$span(nodeWithSpan));
  96465. A.throwWithTrace0(t1.withTrace$1(this._evaluate0$_stackTrace$1(addStackFrame ? nodeWithSpan.get$span(nodeWithSpan) : null)), error, stackTrace);
  96466. } else
  96467. throw exception;
  96468. }
  96469. },
  96470. _evaluate0$_addExceptionSpan$2(nodeWithSpan, callback) {
  96471. return this._evaluate0$_addExceptionSpan$1$3$addStackFrame(nodeWithSpan, callback, true, type$.dynamic);
  96472. },
  96473. _evaluate0$_addExceptionSpan$3$addStackFrame(nodeWithSpan, callback, addStackFrame) {
  96474. return this._evaluate0$_addExceptionSpan$1$3$addStackFrame(nodeWithSpan, callback, addStackFrame, type$.dynamic);
  96475. },
  96476. _evaluate0$_addExceptionTrace$1$1(callback) {
  96477. var error, stackTrace, t1, exception, t2;
  96478. try {
  96479. t1 = callback.call$0();
  96480. return t1;
  96481. } catch (exception) {
  96482. t1 = A.unwrapException(exception);
  96483. if (type$.SassRuntimeException_2._is(t1))
  96484. throw exception;
  96485. else if (t1 instanceof A.SassException0) {
  96486. error = t1;
  96487. stackTrace = A.getTraceFromException(exception);
  96488. t1 = error;
  96489. t2 = J.getInterceptor$z(t1);
  96490. A.throwWithTrace0(error.withTrace$1(this._evaluate0$_stackTrace$1(A.SourceSpanException.prototype.get$span.call(t2, t1))), error, stackTrace);
  96491. } else
  96492. throw exception;
  96493. }
  96494. },
  96495. _evaluate0$_addExceptionTrace$1(callback) {
  96496. return this._evaluate0$_addExceptionTrace$1$1(callback, type$.dynamic);
  96497. },
  96498. _evaluate0$_addErrorSpan$1$2(nodeWithSpan, callback) {
  96499. var error, stackTrace, t1, exception, t2, t3;
  96500. try {
  96501. t1 = callback.call$0();
  96502. return t1;
  96503. } catch (exception) {
  96504. t1 = A.unwrapException(exception);
  96505. if (type$.SassRuntimeException_2._is(t1)) {
  96506. error = t1;
  96507. stackTrace = A.getTraceFromException(exception);
  96508. if (!B.JSString_methods.startsWith$1(J.get$span$z(error).get$text(), "@error"))
  96509. throw exception;
  96510. t1 = error._span_exception$_message;
  96511. t2 = nodeWithSpan.get$span(nodeWithSpan);
  96512. t3 = this._evaluate0$_stackTrace$0();
  96513. A.throwWithTrace0(new A.SassRuntimeException0(t3, B.Set_empty, t1, t2), error, stackTrace);
  96514. } else
  96515. throw exception;
  96516. }
  96517. },
  96518. _evaluate0$_addErrorSpan$2(nodeWithSpan, callback) {
  96519. return this._evaluate0$_addErrorSpan$1$2(nodeWithSpan, callback, type$.dynamic);
  96520. }
  96521. };
  96522. A._EvaluateVisitor_closure25.prototype = {
  96523. call$1($arguments) {
  96524. var module, t2,
  96525. t1 = J.getInterceptor$asx($arguments),
  96526. variable = t1.$index($arguments, 0).assertString$1("name");
  96527. t1 = t1.$index($arguments, 1).get$realNull();
  96528. module = t1 == null ? null : t1.assertString$1("module");
  96529. t1 = this.$this._evaluate0$_environment;
  96530. t2 = A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-");
  96531. return t1.globalVariableExists$2$namespace(t2, module == null ? null : module._string0$_text) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  96532. },
  96533. $signature: 21
  96534. };
  96535. A._EvaluateVisitor_closure26.prototype = {
  96536. call$1($arguments) {
  96537. var variable = J.$index$asx($arguments, 0).assertString$1("name"),
  96538. t1 = this.$this._evaluate0$_environment;
  96539. return t1.getVariable$1(A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-")) != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
  96540. },
  96541. $signature: 21
  96542. };
  96543. A._EvaluateVisitor_closure27.prototype = {
  96544. call$1($arguments) {
  96545. var module, t2, t3, t4,
  96546. t1 = J.getInterceptor$asx($arguments),
  96547. variable = t1.$index($arguments, 0).assertString$1("name");
  96548. t1 = t1.$index($arguments, 1).get$realNull();
  96549. module = t1 == null ? null : t1.assertString$1("module");
  96550. t1 = this.$this;
  96551. t2 = t1._evaluate0$_environment;
  96552. t3 = variable._string0$_text;
  96553. t4 = A.stringReplaceAllUnchecked(t3, "_", "-");
  96554. 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;
  96555. },
  96556. $signature: 21
  96557. };
  96558. A._EvaluateVisitor_closure28.prototype = {
  96559. call$1($arguments) {
  96560. var module, t2,
  96561. t1 = J.getInterceptor$asx($arguments),
  96562. variable = t1.$index($arguments, 0).assertString$1("name");
  96563. t1 = t1.$index($arguments, 1).get$realNull();
  96564. module = t1 == null ? null : t1.assertString$1("module");
  96565. t1 = this.$this._evaluate0$_environment;
  96566. t2 = A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-");
  96567. return t1.getMixin$2$namespace(t2, module == null ? null : module._string0$_text) != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
  96568. },
  96569. $signature: 21
  96570. };
  96571. A._EvaluateVisitor_closure29.prototype = {
  96572. call$1($arguments) {
  96573. var t1 = this.$this._evaluate0$_environment;
  96574. if (!t1._environment0$_inMixin)
  96575. throw A.wrapException(A.SassScriptException$0(string$.conten, null));
  96576. return t1._environment0$_content != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
  96577. },
  96578. $signature: 21
  96579. };
  96580. A._EvaluateVisitor_closure30.prototype = {
  96581. call$1($arguments) {
  96582. var t2, t3, t4,
  96583. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string0$_text,
  96584. module = this.$this._evaluate0$_environment._environment0$_modules.$index(0, t1);
  96585. if (module == null)
  96586. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  96587. t1 = type$.Value_2;
  96588. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  96589. for (t3 = A.MapExtensions_get_pairs0(module.get$variables(), type$.String, t1), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  96590. t4 = t3.get$current(t3);
  96591. t2.$indexSet(0, new A.SassString0(t4._0, true), t4._1);
  96592. }
  96593. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  96594. },
  96595. $signature: 33
  96596. };
  96597. A._EvaluateVisitor_closure31.prototype = {
  96598. call$1($arguments) {
  96599. var t2, t3, t4,
  96600. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string0$_text,
  96601. module = this.$this._evaluate0$_environment._environment0$_modules.$index(0, t1);
  96602. if (module == null)
  96603. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  96604. t1 = type$.Value_2;
  96605. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  96606. for (t3 = A.MapExtensions_get_pairs0(module.get$functions(module), type$.String, type$.Callable_2), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  96607. t4 = t3.get$current(t3);
  96608. t2.$indexSet(0, new A.SassString0(t4._0, true), new A.SassFunction0(t4._1));
  96609. }
  96610. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  96611. },
  96612. $signature: 33
  96613. };
  96614. A._EvaluateVisitor_closure32.prototype = {
  96615. call$1($arguments) {
  96616. var t2, t3, t4,
  96617. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string0$_text,
  96618. module = this.$this._evaluate0$_environment._environment0$_modules.$index(0, t1);
  96619. if (module == null)
  96620. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  96621. t1 = type$.Value_2;
  96622. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  96623. for (t3 = A.MapExtensions_get_pairs0(module.get$mixins(), type$.String, type$.Callable_2), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  96624. t4 = t3.get$current(t3);
  96625. t2.$indexSet(0, new A.SassString0(t4._0, true), new A.SassMixin0(t4._1));
  96626. }
  96627. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  96628. },
  96629. $signature: 33
  96630. };
  96631. A._EvaluateVisitor_closure33.prototype = {
  96632. call$1($arguments) {
  96633. var module, t2, callable,
  96634. t1 = J.getInterceptor$asx($arguments),
  96635. $name = t1.$index($arguments, 0).assertString$1("name"),
  96636. css = t1.$index($arguments, 1).get$isTruthy();
  96637. t1 = t1.$index($arguments, 2).get$realNull();
  96638. module = t1 == null ? null : t1.assertString$1("module");
  96639. if (css) {
  96640. if (module != null)
  96641. throw A.wrapException(string$.x24css_a);
  96642. return new A.SassFunction0(new A.PlainCssCallable0($name._string0$_text));
  96643. }
  96644. t1 = this.$this;
  96645. t2 = t1._evaluate0$_callableNode;
  96646. t2.toString;
  96647. callable = t1._evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor__closure10(t1, $name, module));
  96648. if (callable == null)
  96649. throw A.wrapException("Function not found: " + $name.toString$0(0));
  96650. return new A.SassFunction0(callable);
  96651. },
  96652. $signature: 137
  96653. };
  96654. A._EvaluateVisitor__closure10.prototype = {
  96655. call$0() {
  96656. var local,
  96657. normalizedName = A.stringReplaceAllUnchecked(this.name._string0$_text, "_", "-"),
  96658. t1 = this.module,
  96659. namespace = t1 == null ? null : t1._string0$_text;
  96660. t1 = this.$this;
  96661. local = t1._evaluate0$_environment.getFunction$2$namespace(normalizedName, namespace);
  96662. if (local != null || namespace != null)
  96663. return local;
  96664. return t1._evaluate0$_builtInFunctions.$index(0, normalizedName);
  96665. },
  96666. $signature: 88
  96667. };
  96668. A._EvaluateVisitor_closure34.prototype = {
  96669. call$1($arguments) {
  96670. var module, t2, callable,
  96671. t1 = J.getInterceptor$asx($arguments),
  96672. $name = t1.$index($arguments, 0).assertString$1("name");
  96673. t1 = t1.$index($arguments, 1).get$realNull();
  96674. module = t1 == null ? null : t1.assertString$1("module");
  96675. t1 = this.$this;
  96676. t2 = t1._evaluate0$_callableNode;
  96677. t2.toString;
  96678. callable = t1._evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor__closure9(t1, $name, module));
  96679. if (callable == null)
  96680. throw A.wrapException("Mixin not found: " + $name.toString$0(0));
  96681. return new A.SassMixin0(callable);
  96682. },
  96683. $signature: 241
  96684. };
  96685. A._EvaluateVisitor__closure9.prototype = {
  96686. call$0() {
  96687. var t1 = this.$this._evaluate0$_environment,
  96688. t2 = A.stringReplaceAllUnchecked(this.name._string0$_text, "_", "-"),
  96689. t3 = this.module;
  96690. return t1.getMixin$2$namespace(t2, t3 == null ? null : t3._string0$_text);
  96691. },
  96692. $signature: 88
  96693. };
  96694. A._EvaluateVisitor_closure35.prototype = {
  96695. call$1($arguments) {
  96696. var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, invocation, callableNode, callable,
  96697. t1 = J.getInterceptor$asx($arguments),
  96698. $function = t1.$index($arguments, 0),
  96699. args = type$.SassArgumentList_2._as(t1.$index($arguments, 1));
  96700. t1 = this.$this;
  96701. t2 = t1._evaluate0$_callableNode;
  96702. t2.toString;
  96703. t3 = A._setArrayType([], type$.JSArray_Expression_2);
  96704. t4 = type$.String;
  96705. t5 = type$.Expression_2;
  96706. t6 = t2.get$span(t2);
  96707. t7 = t2.get$span(t2);
  96708. args._argument_list$_wereKeywordsAccessed = true;
  96709. t8 = args._argument_list$_keywords;
  96710. if (t8.get$isEmpty(t8))
  96711. t2 = null;
  96712. else {
  96713. t9 = type$.Value_2;
  96714. t10 = A.LinkedHashMap_LinkedHashMap$_empty(t9, t9);
  96715. for (args._argument_list$_wereKeywordsAccessed = true, t8 = A.MapExtensions_get_pairs0(t8, t4, t9), t8 = t8.get$iterator(t8); t8.moveNext$0();) {
  96716. t11 = t8.get$current(t8);
  96717. t10.$indexSet(0, new A.SassString0(t11._0, false), t11._1);
  96718. }
  96719. t2 = new A.ValueExpression0(new A.SassMap0(A.ConstantMap_ConstantMap$from(t10, t9, t9)), t2.get$span(t2));
  96720. }
  96721. invocation = new A.ArgumentInvocation0(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);
  96722. if ($function instanceof A.SassString0) {
  96723. A.warnForDeprecation0(string$.Passina + $function.toString$0(0) + "))", B.Deprecation_MMc);
  96724. callableNode = t1._evaluate0$_callableNode;
  96725. t2 = $function._string0$_text;
  96726. t3 = callableNode.get$span(callableNode);
  96727. return t1.visitFunctionExpression$1(new A.FunctionExpression0(null, A.stringReplaceAllUnchecked(t2, "_", "-"), t2, invocation, t3));
  96728. }
  96729. callable = $function.assertFunction$1("function").callable;
  96730. if (type$.Callable_2._is(callable)) {
  96731. t2 = t1._evaluate0$_callableNode;
  96732. t2.toString;
  96733. return t1._evaluate0$_runFunctionCallable$3(invocation, callable, t2);
  96734. } else
  96735. throw A.wrapException(A.SassScriptException$0("The function " + callable.get$name(callable) + string$.x20is_as, null));
  96736. },
  96737. $signature: 3
  96738. };
  96739. A._EvaluateVisitor_closure36.prototype = {
  96740. call$1($arguments) {
  96741. var withMap, t2, values, configuration, t3,
  96742. t1 = J.getInterceptor$asx($arguments),
  96743. url = A.Uri_parse(t1.$index($arguments, 0).assertString$1("url")._string0$_text);
  96744. t1 = t1.$index($arguments, 1).get$realNull();
  96745. withMap = t1 == null ? null : t1.assertMap$1("with")._map0$_contents;
  96746. t1 = this.$this;
  96747. t2 = t1._evaluate0$_callableNode;
  96748. t2.toString;
  96749. if (withMap != null) {
  96750. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue_2);
  96751. withMap.forEach$1(0, new A._EvaluateVisitor__closure7(values, t2.get$span(t2), t2));
  96752. configuration = new A.ExplicitConfiguration0(t2, values, null);
  96753. } else
  96754. configuration = B.Configuration_Map_empty_null0;
  96755. t3 = t2.get$span(t2);
  96756. t1._evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, "load-css()", t2, new A._EvaluateVisitor__closure8(t1), t3.get$sourceUrl(t3), configuration, true);
  96757. t1._evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, true);
  96758. },
  96759. $signature: 192
  96760. };
  96761. A._EvaluateVisitor__closure7.prototype = {
  96762. call$2(variable, value) {
  96763. var t1 = variable.assertString$1("with key"),
  96764. $name = A.stringReplaceAllUnchecked(t1._string0$_text, "_", "-");
  96765. t1 = this.values;
  96766. if (t1.containsKey$1($name))
  96767. throw A.wrapException("The variable $" + $name + " was configured twice.");
  96768. t1.$indexSet(0, $name, new A.ConfiguredValue0(value, this.span, this.callableNode));
  96769. },
  96770. $signature: 94
  96771. };
  96772. A._EvaluateVisitor__closure8.prototype = {
  96773. call$2(module, _) {
  96774. var t1 = this.$this;
  96775. return t1._evaluate0$_combineCss$2$clone(module, true).accept$1(t1);
  96776. },
  96777. $signature: 87
  96778. };
  96779. A._EvaluateVisitor_closure37.prototype = {
  96780. call$1($arguments) {
  96781. var callableNode, t2, t3, t4, t5, callable, $content,
  96782. t1 = J.getInterceptor$asx($arguments),
  96783. mixin = t1.$index($arguments, 0),
  96784. args = type$.SassArgumentList_2._as(t1.$index($arguments, 1));
  96785. t1 = this.$this;
  96786. callableNode = t1._evaluate0$_callableNode;
  96787. t2 = callableNode.get$span(callableNode);
  96788. t3 = callableNode.get$span(callableNode);
  96789. t4 = type$.Expression_2;
  96790. t5 = A.List_List$unmodifiable(B.List_empty20, t4);
  96791. t4 = A.ConstantMap_ConstantMap$from(B.Map_empty14, type$.String, t4);
  96792. callable = mixin.assertMixin$1("mixin").callable;
  96793. $content = t1._evaluate0$_environment._environment0$_content;
  96794. if (type$.Callable_2._is(callable))
  96795. t1._evaluate0$_applyMixin$5(callable, $content, new A.ArgumentInvocation0(t5, t4, new A.ValueExpression0(args, t3), null, t2), callableNode, callableNode);
  96796. else
  96797. throw A.wrapException(A.SassScriptException$0("The mixin " + callable.get$name(callable) + string$.x20is_as, null));
  96798. },
  96799. $signature: 192
  96800. };
  96801. A._EvaluateVisitor_run_closure1.prototype = {
  96802. call$0() {
  96803. var module, t2, _this = this,
  96804. t1 = _this.node,
  96805. _0_0 = t1.span.file.url,
  96806. url = null;
  96807. if (_0_0 != null) {
  96808. url = _0_0;
  96809. t2 = _this.$this;
  96810. t2._evaluate0$_activeModules.$indexSet(0, url, null);
  96811. if (!(t2._nodeImporter != null && J.toString$0$(url) === "stdin"))
  96812. t2._evaluate0$_loadedUrls.add$1(0, url);
  96813. }
  96814. t2 = _this.$this;
  96815. module = t2._evaluate0$_addExceptionTrace$1(new A._EvaluateVisitor_run__closure1(t2, _this.importer, t1));
  96816. return new A._Record_2_loadedUrls_stylesheet(t2._evaluate0$_loadedUrls, t2._evaluate0$_combineCss$1(module));
  96817. },
  96818. $signature: 429
  96819. };
  96820. A._EvaluateVisitor_run__closure1.prototype = {
  96821. call$0() {
  96822. return this.$this._evaluate0$_execute$2(this.importer, this.node);
  96823. },
  96824. $signature: 430
  96825. };
  96826. A._EvaluateVisitor__loadModule_closure3.prototype = {
  96827. call$0() {
  96828. return this.callback.call$2(this._box_1.builtInModule, false);
  96829. },
  96830. $signature: 0
  96831. };
  96832. A._EvaluateVisitor__loadModule_closure4.prototype = {
  96833. call$0() {
  96834. var canonicalUrl, oldInDependency, t4, message, _this = this, t1 = {}, stylesheet = null, importer = null,
  96835. t2 = _this.$this,
  96836. t3 = _this.nodeWithSpan,
  96837. _1_0 = t2._evaluate0$_loadStylesheet$3$baseUrl(_this.url.toString$0(0), t3.get$span(t3), _this.baseUrl);
  96838. stylesheet = _1_0._0;
  96839. importer = _1_0._1;
  96840. canonicalUrl = stylesheet.span.file.url;
  96841. if (canonicalUrl != null) {
  96842. t4 = t2._evaluate0$_activeModules;
  96843. if (t4.containsKey$1(canonicalUrl)) {
  96844. if (_this.namesInErrors) {
  96845. t1 = canonicalUrl;
  96846. t3 = $.$get$context();
  96847. t1.toString;
  96848. message = "Module loop: " + t3.prettyUri$1(t1) + " is already being loaded.";
  96849. } else
  96850. message = string$.Modulel;
  96851. t1 = A.NullableExtension_andThen0(t4.$index(0, canonicalUrl), new A._EvaluateVisitor__loadModule__closure3(t2, message));
  96852. throw A.wrapException(t1 == null ? t2._evaluate0$_exception$1(message) : t1);
  96853. } else
  96854. t4.$indexSet(0, canonicalUrl, t3);
  96855. }
  96856. t4 = t2._evaluate0$_modules.containsKey$1(canonicalUrl);
  96857. oldInDependency = t2._evaluate0$_inDependency;
  96858. t2._evaluate0$_inDependency = _1_0._2;
  96859. t1.module = null;
  96860. try {
  96861. t1.module = t2._evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, _this.configuration, _this.namesInErrors, t3);
  96862. } finally {
  96863. t2._evaluate0$_activeModules.remove$1(0, canonicalUrl);
  96864. t2._evaluate0$_inDependency = oldInDependency;
  96865. }
  96866. t2._evaluate0$_addExceptionSpan$3$addStackFrame(t3, new A._EvaluateVisitor__loadModule__closure4(t1, _this.callback, !t4), false);
  96867. },
  96868. $signature: 1
  96869. };
  96870. A._EvaluateVisitor__loadModule__closure3.prototype = {
  96871. call$1(previousLoad) {
  96872. return this.$this._evaluate0$_multiSpanException$3(this.message, "new load", A.LinkedHashMap_LinkedHashMap$_literal([previousLoad.get$span(previousLoad), "original load"], type$.FileSpan, type$.String));
  96873. },
  96874. $signature: 95
  96875. };
  96876. A._EvaluateVisitor__loadModule__closure4.prototype = {
  96877. call$0() {
  96878. return this.callback.call$2(this._box_0.module, this.firstLoad);
  96879. },
  96880. $signature: 0
  96881. };
  96882. A._EvaluateVisitor__execute_closure1.prototype = {
  96883. call$0() {
  96884. var t3, t4, t5, t6, _this = this,
  96885. t1 = _this.$this,
  96886. oldImporter = t1._evaluate0$_importer,
  96887. oldStylesheet = t1._evaluate0$__stylesheet,
  96888. oldRoot = t1._evaluate0$__root,
  96889. oldPreModuleComments = t1._evaluate0$_preModuleComments,
  96890. oldParent = t1._evaluate0$__parent,
  96891. oldEndOfImports = t1._evaluate0$__endOfImports,
  96892. oldOutOfOrderImports = t1._evaluate0$_outOfOrderImports,
  96893. oldExtensionStore = t1._evaluate0$__extensionStore,
  96894. t2 = t1._evaluate0$_atRootExcludingStyleRule,
  96895. oldStyleRule = t2 ? null : t1._evaluate0$_styleRuleIgnoringAtRoot,
  96896. oldMediaQueries = t1._evaluate0$_mediaQueries,
  96897. oldDeclarationName = t1._evaluate0$_declarationName,
  96898. oldInUnknownAtRule = t1._evaluate0$_inUnknownAtRule,
  96899. oldInKeyframes = t1._evaluate0$_inKeyframes,
  96900. oldConfiguration = t1._evaluate0$_configuration;
  96901. t1._evaluate0$_importer = _this.importer;
  96902. t3 = t1._evaluate0$__stylesheet = _this.stylesheet;
  96903. t4 = t3.span;
  96904. t5 = t1._evaluate0$__parent = t1._evaluate0$__root = A.ModifiableCssStylesheet$0(t4);
  96905. t1._evaluate0$__endOfImports = 0;
  96906. t1._evaluate0$_outOfOrderImports = null;
  96907. t1._evaluate0$__extensionStore = _this.extensionStore;
  96908. t1._evaluate0$_declarationName = t1._evaluate0$_mediaQueries = t1._evaluate0$_styleRuleIgnoringAtRoot = null;
  96909. t1._evaluate0$_inKeyframes = t1._evaluate0$_atRootExcludingStyleRule = t1._evaluate0$_inUnknownAtRule = false;
  96910. t6 = _this.configuration;
  96911. if (t6 != null)
  96912. t1._evaluate0$_configuration = t6;
  96913. t1.visitStylesheet$1(t3);
  96914. t3 = t1._evaluate0$_outOfOrderImports == null ? t5 : new A.CssStylesheet0(new A.UnmodifiableListView(t1._evaluate0$_addOutOfOrderImports$0(), type$.UnmodifiableListView_CssNode_2), t4);
  96915. _this.css.__late_helper$_value = t3;
  96916. _this.preModuleComments.__late_helper$_value = t1._evaluate0$_preModuleComments;
  96917. t1._evaluate0$_importer = oldImporter;
  96918. t1._evaluate0$__stylesheet = oldStylesheet;
  96919. t1._evaluate0$__root = oldRoot;
  96920. t1._evaluate0$_preModuleComments = oldPreModuleComments;
  96921. t1._evaluate0$__parent = oldParent;
  96922. t1._evaluate0$__endOfImports = oldEndOfImports;
  96923. t1._evaluate0$_outOfOrderImports = oldOutOfOrderImports;
  96924. t1._evaluate0$__extensionStore = oldExtensionStore;
  96925. t1._evaluate0$_styleRuleIgnoringAtRoot = oldStyleRule;
  96926. t1._evaluate0$_mediaQueries = oldMediaQueries;
  96927. t1._evaluate0$_declarationName = oldDeclarationName;
  96928. t1._evaluate0$_inUnknownAtRule = oldInUnknownAtRule;
  96929. t1._evaluate0$_atRootExcludingStyleRule = t2;
  96930. t1._evaluate0$_inKeyframes = oldInKeyframes;
  96931. t1._evaluate0$_configuration = oldConfiguration;
  96932. },
  96933. $signature: 1
  96934. };
  96935. A._EvaluateVisitor__combineCss_closure3.prototype = {
  96936. call$1(module) {
  96937. return module.get$transitivelyContainsCss();
  96938. },
  96939. $signature: 123
  96940. };
  96941. A._EvaluateVisitor__combineCss_closure4.prototype = {
  96942. call$1(target) {
  96943. return !this.selectors.contains$1(0, target);
  96944. },
  96945. $signature: 15
  96946. };
  96947. A._EvaluateVisitor__combineCss_visitModule1.prototype = {
  96948. call$1(module) {
  96949. var t1, t2, t3, t4, _i, upstream, _1_0, statements, index, _this = this;
  96950. if (!_this.seen.add$1(0, module))
  96951. return;
  96952. if (_this.clone)
  96953. module = module.cloneCss$0();
  96954. 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) {
  96955. upstream = t1[_i];
  96956. if (upstream.get$transitivelyContainsCss()) {
  96957. _1_0 = module.get$preModuleComments().$index(0, upstream);
  96958. if (_1_0 != null)
  96959. B.JSArray_methods.addAll$1(t3.length === 0 ? t4 : t3, _1_0);
  96960. _this.call$1(upstream);
  96961. }
  96962. }
  96963. _this.sorted.addFirst$1(module);
  96964. t1 = module.get$css(module);
  96965. statements = t1.get$children(t1);
  96966. index = _this.$this._evaluate0$_indexAfterImports$1(statements);
  96967. t1 = J.getInterceptor$ax(statements);
  96968. B.JSArray_methods.addAll$1(t4, t1.getRange$2(statements, 0, index));
  96969. B.JSArray_methods.addAll$1(t3, t1.getRange$2(statements, index, t1.get$length(statements)));
  96970. },
  96971. $signature: 431
  96972. };
  96973. A._EvaluateVisitor__extendModules_closure3.prototype = {
  96974. call$1(target) {
  96975. return !this.originalSelectors.contains$1(0, target);
  96976. },
  96977. $signature: 15
  96978. };
  96979. A._EvaluateVisitor__extendModules_closure4.prototype = {
  96980. call$0() {
  96981. return A._setArrayType([], type$.JSArray_ExtensionStore_2);
  96982. },
  96983. $signature: 234
  96984. };
  96985. A._EvaluateVisitor_visitAtRootRule_closure3.prototype = {
  96986. call$0() {
  96987. var t1, t2, t3, _i;
  96988. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  96989. t1[_i].accept$1(t3);
  96990. },
  96991. $signature: 1
  96992. };
  96993. A._EvaluateVisitor_visitAtRootRule_closure4.prototype = {
  96994. call$0() {
  96995. var t1, t2, t3, _i;
  96996. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  96997. t1[_i].accept$1(t3);
  96998. },
  96999. $signature: 0
  97000. };
  97001. A._EvaluateVisitor__scopeForAtRoot_closure11.prototype = {
  97002. call$1(callback) {
  97003. var t1 = this.$this,
  97004. t2 = t1._evaluate0$_assertInModule$2(t1._evaluate0$__parent, "__parent");
  97005. t1._evaluate0$__parent = this.newParent;
  97006. t1._evaluate0$_environment.scope$1$2$when(callback, this.node.hasDeclarations, type$.void);
  97007. t1._evaluate0$__parent = t2;
  97008. },
  97009. $signature: 35
  97010. };
  97011. A._EvaluateVisitor__scopeForAtRoot_closure12.prototype = {
  97012. call$1(callback) {
  97013. var t1 = this.$this,
  97014. oldAtRootExcludingStyleRule = t1._evaluate0$_atRootExcludingStyleRule;
  97015. t1._evaluate0$_atRootExcludingStyleRule = true;
  97016. this.innerScope.call$1(callback);
  97017. t1._evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  97018. },
  97019. $signature: 35
  97020. };
  97021. A._EvaluateVisitor__scopeForAtRoot_closure13.prototype = {
  97022. call$1(callback) {
  97023. return this.$this._evaluate0$_withMediaQueries$3(null, null, new A._EvaluateVisitor__scopeForAtRoot__closure1(this.innerScope, callback));
  97024. },
  97025. $signature: 35
  97026. };
  97027. A._EvaluateVisitor__scopeForAtRoot__closure1.prototype = {
  97028. call$0() {
  97029. return this.innerScope.call$1(this.callback);
  97030. },
  97031. $signature: 1
  97032. };
  97033. A._EvaluateVisitor__scopeForAtRoot_closure14.prototype = {
  97034. call$1(callback) {
  97035. var t1 = this.$this,
  97036. wasInKeyframes = t1._evaluate0$_inKeyframes;
  97037. t1._evaluate0$_inKeyframes = false;
  97038. this.innerScope.call$1(callback);
  97039. t1._evaluate0$_inKeyframes = wasInKeyframes;
  97040. },
  97041. $signature: 35
  97042. };
  97043. A._EvaluateVisitor__scopeForAtRoot_closure15.prototype = {
  97044. call$1($parent) {
  97045. return $parent instanceof A.ModifiableCssAtRule0;
  97046. },
  97047. $signature: 232
  97048. };
  97049. A._EvaluateVisitor__scopeForAtRoot_closure16.prototype = {
  97050. call$1(callback) {
  97051. var t1 = this.$this,
  97052. wasInUnknownAtRule = t1._evaluate0$_inUnknownAtRule;
  97053. t1._evaluate0$_inUnknownAtRule = false;
  97054. this.innerScope.call$1(callback);
  97055. t1._evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
  97056. },
  97057. $signature: 35
  97058. };
  97059. A._EvaluateVisitor_visitContentRule_closure1.prototype = {
  97060. call$0() {
  97061. var t1, t2, t3, _i;
  97062. for (t1 = this.content.declaration.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  97063. t1[_i].accept$1(t3);
  97064. return null;
  97065. },
  97066. $signature: 1
  97067. };
  97068. A._EvaluateVisitor_visitDeclaration_closure1.prototype = {
  97069. call$0() {
  97070. var t1, t2, t3, _i;
  97071. for (t1 = this._box_0.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  97072. t1[_i].accept$1(t3);
  97073. },
  97074. $signature: 1
  97075. };
  97076. A._EvaluateVisitor_visitEachRule_closure5.prototype = {
  97077. call$1(value) {
  97078. var t1 = this.$this,
  97079. t2 = this.nodeWithSpan;
  97080. return t1._evaluate0$_environment.setLocalVariable$3(this._box_0.variable, t1._evaluate0$_withoutSlash$2(value, t2), t2);
  97081. },
  97082. $signature: 63
  97083. };
  97084. A._EvaluateVisitor_visitEachRule_closure6.prototype = {
  97085. call$1(value) {
  97086. return this.$this._evaluate0$_setMultipleVariables$3(this._box_0.variables, value, this.nodeWithSpan);
  97087. },
  97088. $signature: 63
  97089. };
  97090. A._EvaluateVisitor_visitEachRule_closure7.prototype = {
  97091. call$0() {
  97092. var _this = this,
  97093. t1 = _this.$this;
  97094. return t1._evaluate0$_handleReturn$2(_this.list.get$asList(), new A._EvaluateVisitor_visitEachRule__closure1(t1, _this.setVariables, _this.node));
  97095. },
  97096. $signature: 40
  97097. };
  97098. A._EvaluateVisitor_visitEachRule__closure1.prototype = {
  97099. call$1(element) {
  97100. var t1;
  97101. this.setVariables.call$1(element);
  97102. t1 = this.$this;
  97103. return t1._evaluate0$_handleReturn$2(this.node.children, new A._EvaluateVisitor_visitEachRule___closure1(t1));
  97104. },
  97105. $signature: 190
  97106. };
  97107. A._EvaluateVisitor_visitEachRule___closure1.prototype = {
  97108. call$1(child) {
  97109. return child.accept$1(this.$this);
  97110. },
  97111. $signature: 83
  97112. };
  97113. A._EvaluateVisitor_visitAtRule_closure5.prototype = {
  97114. call$1(value) {
  97115. return this.$this._evaluate0$_interpolationToValue$3$trim$warnForColor(value, true, true);
  97116. },
  97117. $signature: 434
  97118. };
  97119. A._EvaluateVisitor_visitAtRule_closure6.prototype = {
  97120. call$0() {
  97121. var t2, t3, _i, _this = this,
  97122. t1 = _this.$this,
  97123. styleRule = t1._evaluate0$_atRootExcludingStyleRule ? null : t1._evaluate0$_styleRuleIgnoringAtRoot;
  97124. if (styleRule == null || t1._evaluate0$_inKeyframes || J.$eq$(_this.name.value, "font-face"))
  97125. for (t2 = _this.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
  97126. t2[_i].accept$1(t1);
  97127. else
  97128. 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);
  97129. },
  97130. $signature: 1
  97131. };
  97132. A._EvaluateVisitor_visitAtRule__closure1.prototype = {
  97133. call$0() {
  97134. var t1, t2, t3, _i;
  97135. for (t1 = this.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  97136. t1[_i].accept$1(t3);
  97137. },
  97138. $signature: 1
  97139. };
  97140. A._EvaluateVisitor_visitAtRule_closure7.prototype = {
  97141. call$1(node) {
  97142. return node instanceof A.ModifiableCssStyleRule0;
  97143. },
  97144. $signature: 8
  97145. };
  97146. A._EvaluateVisitor_visitForRule_closure9.prototype = {
  97147. call$0() {
  97148. return this.node.from.accept$1(this.$this).assertNumber$0();
  97149. },
  97150. $signature: 240
  97151. };
  97152. A._EvaluateVisitor_visitForRule_closure10.prototype = {
  97153. call$0() {
  97154. return this.node.to.accept$1(this.$this).assertNumber$0();
  97155. },
  97156. $signature: 240
  97157. };
  97158. A._EvaluateVisitor_visitForRule_closure11.prototype = {
  97159. call$0() {
  97160. return this.fromNumber.assertInt$0();
  97161. },
  97162. $signature: 10
  97163. };
  97164. A._EvaluateVisitor_visitForRule_closure12.prototype = {
  97165. call$0() {
  97166. var t1 = this.fromNumber;
  97167. return this.toNumber.coerce$2(t1.get$numeratorUnits(t1), t1.get$denominatorUnits(t1)).assertInt$0();
  97168. },
  97169. $signature: 10
  97170. };
  97171. A._EvaluateVisitor_visitForRule_closure13.prototype = {
  97172. call$0() {
  97173. var i, t3, t4, t5, t6, t7, t8, _0_0, _this = this,
  97174. t1 = _this.$this,
  97175. t2 = _this.node,
  97176. nodeWithSpan = t1._evaluate0$_expressionNode$1(t2.from);
  97177. 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) {
  97178. t7 = t1._evaluate0$_environment;
  97179. t8 = t6.get$numeratorUnits(t6);
  97180. t7.setLocalVariable$3(t5, A.SassNumber_SassNumber$withUnits0(i, t6.get$denominatorUnits(t6), t8), nodeWithSpan);
  97181. _0_0 = t1._evaluate0$_handleReturn$2(t2, new A._EvaluateVisitor_visitForRule__closure1(t1));
  97182. if (_0_0 != null)
  97183. return _0_0;
  97184. }
  97185. return null;
  97186. },
  97187. $signature: 40
  97188. };
  97189. A._EvaluateVisitor_visitForRule__closure1.prototype = {
  97190. call$1(child) {
  97191. return child.accept$1(this.$this);
  97192. },
  97193. $signature: 83
  97194. };
  97195. A._EvaluateVisitor_visitForwardRule_closure3.prototype = {
  97196. call$2(module, firstLoad) {
  97197. if (firstLoad)
  97198. this.$this._evaluate0$_registerCommentsForModule$1(module);
  97199. this.$this._evaluate0$_environment.forwardModule$2(module, this.node);
  97200. },
  97201. $signature: 87
  97202. };
  97203. A._EvaluateVisitor_visitForwardRule_closure4.prototype = {
  97204. call$2(module, firstLoad) {
  97205. if (firstLoad)
  97206. this.$this._evaluate0$_registerCommentsForModule$1(module);
  97207. this.$this._evaluate0$_environment.forwardModule$2(module, this.node);
  97208. },
  97209. $signature: 87
  97210. };
  97211. A._EvaluateVisitor__registerCommentsForModule_closure1.prototype = {
  97212. call$0() {
  97213. return A._setArrayType([], type$.JSArray_CssComment_2);
  97214. },
  97215. $signature: 228
  97216. };
  97217. A._EvaluateVisitor_visitIfRule_closure1.prototype = {
  97218. call$1(clause) {
  97219. var t1 = this.$this;
  97220. return t1._evaluate0$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitIfRule__closure1(t1, clause), true, clause.hasDeclarations, type$.nullable_Value_2);
  97221. },
  97222. $signature: 436
  97223. };
  97224. A._EvaluateVisitor_visitIfRule__closure1.prototype = {
  97225. call$0() {
  97226. var t1 = this.$this;
  97227. return t1._evaluate0$_handleReturn$2(this.clause.children, new A._EvaluateVisitor_visitIfRule___closure1(t1));
  97228. },
  97229. $signature: 40
  97230. };
  97231. A._EvaluateVisitor_visitIfRule___closure1.prototype = {
  97232. call$1(child) {
  97233. return child.accept$1(this.$this);
  97234. },
  97235. $signature: 83
  97236. };
  97237. A._EvaluateVisitor__visitDynamicImport_closure1.prototype = {
  97238. call$0() {
  97239. var t1, t2, _0_0, stylesheet, importer, isDependency, url, t3, oldImporter, oldInDependency, loadsUserDefinedModules, children, t4, t5, t6, t7, t8, t9, t10, environment, module, visitor, _box_0 = {};
  97240. _box_0.isDependency = _box_0.importer = _box_0.stylesheet = null;
  97241. t1 = this.$this;
  97242. t2 = this.$import;
  97243. _0_0 = t1._evaluate0$_loadStylesheet$3$forImport(t2.urlString, t2.span, true);
  97244. stylesheet = _box_0.stylesheet = _0_0._0;
  97245. importer = _0_0._1;
  97246. _box_0.importer = importer;
  97247. isDependency = _0_0._2;
  97248. _box_0.isDependency = isDependency;
  97249. url = stylesheet.span.file.url;
  97250. if (url != null) {
  97251. t3 = t1._evaluate0$_activeModules;
  97252. if (t3.containsKey$1(url)) {
  97253. t2 = A.NullableExtension_andThen0(t3.$index(0, url), new A._EvaluateVisitor__visitDynamicImport__closure7(t1));
  97254. throw A.wrapException(t2 == null ? t1._evaluate0$_exception$1("This file is already being loaded.") : t2);
  97255. }
  97256. t3.$indexSet(0, url, t2);
  97257. }
  97258. t2 = stylesheet._stylesheet1$_uses;
  97259. t3 = type$.UnmodifiableListView_UseRule_2;
  97260. if (new A.UnmodifiableListView(t2, t3).get$length(0) === 0 && new A.UnmodifiableListView(stylesheet._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2).get$length(0) === 0) {
  97261. oldImporter = t1._evaluate0$_importer;
  97262. t2 = t1._evaluate0$_assertInModule$2(t1._evaluate0$__stylesheet, "_stylesheet");
  97263. oldInDependency = t1._evaluate0$_inDependency;
  97264. t1._evaluate0$_importer = importer;
  97265. t1._evaluate0$__stylesheet = stylesheet;
  97266. t1._evaluate0$_inDependency = isDependency;
  97267. t1.visitStylesheet$1(stylesheet);
  97268. t1._evaluate0$_importer = oldImporter;
  97269. t1._evaluate0$__stylesheet = t2;
  97270. t1._evaluate0$_inDependency = oldInDependency;
  97271. t1._evaluate0$_activeModules.remove$1(0, url);
  97272. return;
  97273. }
  97274. t2 = new A.UnmodifiableListView(t2, t3);
  97275. if (!t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure8())) {
  97276. t2 = new A.UnmodifiableListView(stylesheet._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2);
  97277. loadsUserDefinedModules = t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure9());
  97278. } else
  97279. loadsUserDefinedModules = true;
  97280. children = A._Cell$();
  97281. t2 = t1._evaluate0$_environment;
  97282. t3 = type$.String;
  97283. t4 = type$.Module_Callable_2;
  97284. t5 = type$.AstNode_2;
  97285. t6 = A._setArrayType([], type$.JSArray_Module_Callable_2);
  97286. t7 = t2._environment0$_variables;
  97287. t7 = A._setArrayType(t7.slice(0), A._arrayInstanceType(t7));
  97288. t8 = t2._environment0$_variableNodes;
  97289. t8 = A._setArrayType(t8.slice(0), A._arrayInstanceType(t8));
  97290. t9 = t2._environment0$_functions;
  97291. t9 = A._setArrayType(t9.slice(0), A._arrayInstanceType(t9));
  97292. t10 = t2._environment0$_mixins;
  97293. t10 = A._setArrayType(t10.slice(0), A._arrayInstanceType(t10));
  97294. 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);
  97295. t1._evaluate0$_withEnvironment$2(environment, new A._EvaluateVisitor__visitDynamicImport__closure10(_box_0, t1, loadsUserDefinedModules, environment, children));
  97296. module = environment.toDummyModule$0();
  97297. t1._evaluate0$_environment.importForwards$1(module);
  97298. if (loadsUserDefinedModules) {
  97299. if (module.transitivelyContainsCss)
  97300. t1._evaluate0$_combineCss$2$clone(module, module.transitivelyContainsExtensions).accept$1(t1);
  97301. visitor = new A._ImportedCssVisitor1(t1);
  97302. for (t2 = J.get$iterator$ax(children._readLocal$0()); t2.moveNext$0();)
  97303. t2.get$current(t2).accept$1(visitor);
  97304. }
  97305. t1._evaluate0$_activeModules.remove$1(0, url);
  97306. },
  97307. $signature: 0
  97308. };
  97309. A._EvaluateVisitor__visitDynamicImport__closure7.prototype = {
  97310. call$1(previousLoad) {
  97311. 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));
  97312. },
  97313. $signature: 95
  97314. };
  97315. A._EvaluateVisitor__visitDynamicImport__closure8.prototype = {
  97316. call$1(rule) {
  97317. return rule.url.get$scheme() !== "sass";
  97318. },
  97319. $signature: 227
  97320. };
  97321. A._EvaluateVisitor__visitDynamicImport__closure9.prototype = {
  97322. call$1(rule) {
  97323. return rule.url.get$scheme() !== "sass";
  97324. },
  97325. $signature: 226
  97326. };
  97327. A._EvaluateVisitor__visitDynamicImport__closure10.prototype = {
  97328. call$0() {
  97329. var t7, t8, _this = this,
  97330. t1 = _this.$this,
  97331. oldImporter = t1._evaluate0$_importer,
  97332. t2 = t1._evaluate0$_assertInModule$2(t1._evaluate0$__stylesheet, "_stylesheet"),
  97333. t3 = t1._evaluate0$_assertInModule$2(t1._evaluate0$__root, "_root"),
  97334. t4 = t1._evaluate0$_assertInModule$2(t1._evaluate0$__parent, "__parent"),
  97335. t5 = t1._evaluate0$_assertInModule$2(t1._evaluate0$__endOfImports, "_endOfImports"),
  97336. oldOutOfOrderImports = t1._evaluate0$_outOfOrderImports,
  97337. oldConfiguration = t1._evaluate0$_configuration,
  97338. oldInDependency = t1._evaluate0$_inDependency,
  97339. t6 = _this._box_0;
  97340. t1._evaluate0$_importer = t6.importer;
  97341. t7 = t6.stylesheet;
  97342. t1._evaluate0$__stylesheet = t7;
  97343. t8 = _this.loadsUserDefinedModules;
  97344. if (t8) {
  97345. t7 = A.ModifiableCssStylesheet$0(t7.span);
  97346. t1._evaluate0$__root = t7;
  97347. t1._evaluate0$__parent = t1._evaluate0$_assertInModule$2(t7, "_root");
  97348. t1._evaluate0$__endOfImports = 0;
  97349. t1._evaluate0$_outOfOrderImports = null;
  97350. }
  97351. t1._evaluate0$_inDependency = t6.isDependency;
  97352. t7 = new A.UnmodifiableListView(t6.stylesheet._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2);
  97353. if (!t7.get$isEmpty(t7))
  97354. t1._evaluate0$_configuration = _this.environment.toImplicitConfiguration$0();
  97355. t1.visitStylesheet$1(t6.stylesheet);
  97356. t6 = t8 ? t1._evaluate0$_addOutOfOrderImports$0() : A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  97357. _this.children.__late_helper$_value = t6;
  97358. t1._evaluate0$_importer = oldImporter;
  97359. t1._evaluate0$__stylesheet = t2;
  97360. if (t8) {
  97361. t1._evaluate0$__root = t3;
  97362. t1._evaluate0$__parent = t4;
  97363. t1._evaluate0$__endOfImports = t5;
  97364. t1._evaluate0$_outOfOrderImports = oldOutOfOrderImports;
  97365. }
  97366. t1._evaluate0$_configuration = oldConfiguration;
  97367. t1._evaluate0$_inDependency = oldInDependency;
  97368. },
  97369. $signature: 1
  97370. };
  97371. A._EvaluateVisitor__applyMixin_closure3.prototype = {
  97372. call$0() {
  97373. var _this = this,
  97374. t1 = _this.$this;
  97375. t1._evaluate0$_environment.asMixin$1(new A._EvaluateVisitor__applyMixin__closure4(t1, _this.$arguments, _this.mixin, _this.nodeWithSpanWithoutContent));
  97376. },
  97377. $signature: 0
  97378. };
  97379. A._EvaluateVisitor__applyMixin__closure4.prototype = {
  97380. call$0() {
  97381. var _this = this;
  97382. _this.$this._evaluate0$_runBuiltInCallable$3(_this.$arguments, _this.mixin, _this.nodeWithSpanWithoutContent);
  97383. },
  97384. $signature: 0
  97385. };
  97386. A._EvaluateVisitor__applyMixin_closure4.prototype = {
  97387. call$0() {
  97388. var _this = this,
  97389. t1 = _this.$this;
  97390. t1._evaluate0$_environment.withContent$2(_this.contentCallable, new A._EvaluateVisitor__applyMixin__closure3(t1, _this.mixin, _this.nodeWithSpanWithoutContent));
  97391. },
  97392. $signature: 1
  97393. };
  97394. A._EvaluateVisitor__applyMixin__closure3.prototype = {
  97395. call$0() {
  97396. var t1 = this.$this;
  97397. t1._evaluate0$_environment.asMixin$1(new A._EvaluateVisitor__applyMixin___closure1(t1, this.mixin, this.nodeWithSpanWithoutContent));
  97398. },
  97399. $signature: 0
  97400. };
  97401. A._EvaluateVisitor__applyMixin___closure1.prototype = {
  97402. call$0() {
  97403. var t1, t2, t3, t4, _i;
  97404. for (t1 = this.mixin.declaration.children, t2 = t1.length, t3 = this.$this, t4 = this.nodeWithSpanWithoutContent, _i = 0; _i < t2; ++_i)
  97405. t3._evaluate0$_addErrorSpan$2(t4, new A._EvaluateVisitor__applyMixin____closure1(t3, t1[_i]));
  97406. },
  97407. $signature: 0
  97408. };
  97409. A._EvaluateVisitor__applyMixin____closure1.prototype = {
  97410. call$0() {
  97411. return this.statement.accept$1(this.$this);
  97412. },
  97413. $signature: 40
  97414. };
  97415. A._EvaluateVisitor_visitIncludeRule_closure5.prototype = {
  97416. call$0() {
  97417. var t1 = this.node;
  97418. return this.$this._evaluate0$_environment.getMixin$2$namespace(t1.name, t1.namespace);
  97419. },
  97420. $signature: 88
  97421. };
  97422. A._EvaluateVisitor_visitIncludeRule_closure6.prototype = {
  97423. call$1($content) {
  97424. var t1 = this.$this;
  97425. return new A.UserDefinedCallable0($content, t1._evaluate0$_environment.closure$0(), t1._evaluate0$_inDependency, type$.UserDefinedCallable_Environment_2);
  97426. },
  97427. $signature: 437
  97428. };
  97429. A._EvaluateVisitor_visitIncludeRule_closure7.prototype = {
  97430. call$0() {
  97431. return this.node.get$spanWithoutContent();
  97432. },
  97433. $signature: 26
  97434. };
  97435. A._EvaluateVisitor_visitMediaRule_closure5.prototype = {
  97436. call$1(mediaQueries) {
  97437. return this.$this._evaluate0$_mergeMediaQueries$2(mediaQueries, this.queries);
  97438. },
  97439. $signature: 101
  97440. };
  97441. A._EvaluateVisitor_visitMediaRule_closure6.prototype = {
  97442. call$0() {
  97443. var _this = this,
  97444. t1 = _this.$this,
  97445. t2 = _this.mergedQueries;
  97446. if (t2 == null)
  97447. t2 = _this.queries;
  97448. t1._evaluate0$_withMediaQueries$3(t2, _this.mergedSources, new A._EvaluateVisitor_visitMediaRule__closure1(t1, _this.node));
  97449. },
  97450. $signature: 1
  97451. };
  97452. A._EvaluateVisitor_visitMediaRule__closure1.prototype = {
  97453. call$0() {
  97454. var t2, t3, _i,
  97455. t1 = this.$this,
  97456. _0_0 = t1._evaluate0$_atRootExcludingStyleRule ? null : t1._evaluate0$_styleRuleIgnoringAtRoot;
  97457. if (_0_0 != null)
  97458. 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);
  97459. else
  97460. for (t2 = this.node.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
  97461. t2[_i].accept$1(t1);
  97462. },
  97463. $signature: 1
  97464. };
  97465. A._EvaluateVisitor_visitMediaRule___closure1.prototype = {
  97466. call$0() {
  97467. var t1, t2, t3, _i;
  97468. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  97469. t1[_i].accept$1(t3);
  97470. },
  97471. $signature: 1
  97472. };
  97473. A._EvaluateVisitor_visitMediaRule_closure7.prototype = {
  97474. call$1(node) {
  97475. var t1;
  97476. if (!(node instanceof A.ModifiableCssStyleRule0)) {
  97477. t1 = this.mergedSources;
  97478. t1 = t1.get$isNotEmpty(t1) && node instanceof A.ModifiableCssMediaRule0 && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  97479. } else
  97480. t1 = true;
  97481. return t1;
  97482. },
  97483. $signature: 8
  97484. };
  97485. A._EvaluateVisitor_visitStyleRule_closure9.prototype = {
  97486. call$0() {
  97487. var t1, t2, t3, _i;
  97488. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  97489. t1[_i].accept$1(t3);
  97490. },
  97491. $signature: 1
  97492. };
  97493. A._EvaluateVisitor_visitStyleRule_closure10.prototype = {
  97494. call$1(node) {
  97495. return node instanceof A.ModifiableCssStyleRule0;
  97496. },
  97497. $signature: 8
  97498. };
  97499. A._EvaluateVisitor_visitStyleRule_closure12.prototype = {
  97500. call$0() {
  97501. var t1 = this.$this;
  97502. t1._evaluate0$_withStyleRule$2(this.rule, new A._EvaluateVisitor_visitStyleRule__closure1(t1, this.node));
  97503. },
  97504. $signature: 1
  97505. };
  97506. A._EvaluateVisitor_visitStyleRule__closure1.prototype = {
  97507. call$0() {
  97508. var t1, t2, t3, _i;
  97509. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  97510. t1[_i].accept$1(t3);
  97511. },
  97512. $signature: 1
  97513. };
  97514. A._EvaluateVisitor_visitStyleRule_closure11.prototype = {
  97515. call$1(node) {
  97516. return node instanceof A.ModifiableCssStyleRule0;
  97517. },
  97518. $signature: 8
  97519. };
  97520. A._EvaluateVisitor_visitStyleRule_closure13.prototype = {
  97521. call$1(child) {
  97522. return child instanceof A.ModifiableCssComment0;
  97523. },
  97524. $signature: 108
  97525. };
  97526. A._EvaluateVisitor_visitSupportsRule_closure3.prototype = {
  97527. call$0() {
  97528. var t2, t3, _i,
  97529. t1 = this.$this,
  97530. _0_0 = t1._evaluate0$_atRootExcludingStyleRule ? null : t1._evaluate0$_styleRuleIgnoringAtRoot;
  97531. if (_0_0 != null)
  97532. 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);
  97533. else
  97534. for (t2 = this.node.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
  97535. t2[_i].accept$1(t1);
  97536. },
  97537. $signature: 1
  97538. };
  97539. A._EvaluateVisitor_visitSupportsRule__closure1.prototype = {
  97540. call$0() {
  97541. var t1, t2, t3, _i;
  97542. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  97543. t1[_i].accept$1(t3);
  97544. },
  97545. $signature: 1
  97546. };
  97547. A._EvaluateVisitor_visitSupportsRule_closure4.prototype = {
  97548. call$1(node) {
  97549. return node instanceof A.ModifiableCssStyleRule0;
  97550. },
  97551. $signature: 8
  97552. };
  97553. A._EvaluateVisitor__visitSupportsCondition_closure1.prototype = {
  97554. call$0() {
  97555. var t4,
  97556. t1 = this.$this,
  97557. t2 = this._box_0,
  97558. t3 = t2.declaration.name;
  97559. t3 = t1._evaluate0$_serialize$3$quote(t3.accept$1(t1), t3, true);
  97560. t4 = t2.declaration.get$isCustomProperty() ? "" : " ";
  97561. t2 = t2.declaration.value;
  97562. return "(" + t3 + ":" + t4 + t1._evaluate0$_serialize$3$quote(t2.accept$1(t1), t2, true) + ")";
  97563. },
  97564. $signature: 25
  97565. };
  97566. A._EvaluateVisitor_visitVariableDeclaration_closure5.prototype = {
  97567. call$0() {
  97568. var t1 = this.$this._evaluate0$_environment,
  97569. t2 = this._box_0.override;
  97570. t1.setVariable$4$global(this.node.name, t2.value, t2.assignmentNode, true);
  97571. },
  97572. $signature: 1
  97573. };
  97574. A._EvaluateVisitor_visitVariableDeclaration_closure6.prototype = {
  97575. call$0() {
  97576. var t1 = this.node;
  97577. return this.$this._evaluate0$_environment.getVariable$2$namespace(t1.name, t1.namespace);
  97578. },
  97579. $signature: 40
  97580. };
  97581. A._EvaluateVisitor_visitVariableDeclaration_closure7.prototype = {
  97582. call$0() {
  97583. var t1 = this.$this,
  97584. t2 = this.node;
  97585. t1._evaluate0$_environment.setVariable$5$global$namespace(t2.name, this.value, t1._evaluate0$_expressionNode$1(t2.expression), t2.isGlobal, t2.namespace);
  97586. },
  97587. $signature: 1
  97588. };
  97589. A._EvaluateVisitor_visitUseRule_closure1.prototype = {
  97590. call$2(module, firstLoad) {
  97591. var t1, t2, t3, _0_0, t4, t5, span;
  97592. if (firstLoad)
  97593. this.$this._evaluate0$_registerCommentsForModule$1(module);
  97594. t1 = this.$this._evaluate0$_environment;
  97595. t2 = this.node;
  97596. t3 = t2.namespace;
  97597. if (t3 == null) {
  97598. t1._environment0$_globalModules.$indexSet(0, module, t2);
  97599. t1._environment0$_allModules.push(module);
  97600. _0_0 = A.IterableExtension_firstWhereOrNull(J.get$keys$z(B.JSArray_methods.get$first(t1._environment0$_variables)), module.get$variables().get$containsKey());
  97601. if (_0_0 != null)
  97602. A.throwExpression(A.SassScriptException$0(string$.This_ma + _0_0 + '".', null));
  97603. } else {
  97604. t4 = t1._environment0$_modules;
  97605. if (t4.containsKey$1(t3)) {
  97606. t5 = t1._environment0$_namespaceNodes.$index(0, t3);
  97607. span = t5 == null ? null : t5.span;
  97608. t5 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  97609. if (span != null)
  97610. t5.$indexSet(0, span, "original @use");
  97611. A.throwExpression(A.MultiSpanSassScriptException$0(string$.There_ + t3 + '".', "new @use", t5));
  97612. }
  97613. t4.$indexSet(0, t3, module);
  97614. t1._environment0$_namespaceNodes.$indexSet(0, t3, t2);
  97615. t1._environment0$_allModules.push(module);
  97616. }
  97617. },
  97618. $signature: 87
  97619. };
  97620. A._EvaluateVisitor_visitWarnRule_closure1.prototype = {
  97621. call$0() {
  97622. return this.node.expression.accept$1(this.$this);
  97623. },
  97624. $signature: 43
  97625. };
  97626. A._EvaluateVisitor_visitWhileRule_closure1.prototype = {
  97627. call$0() {
  97628. var t1, t2, t3, _0_0;
  97629. for (t1 = this.node, t2 = t1.condition, t3 = this.$this, t1 = t1.children; t2.accept$1(t3).get$isTruthy();) {
  97630. _0_0 = t3._evaluate0$_handleReturn$2(t1, new A._EvaluateVisitor_visitWhileRule__closure1(t3));
  97631. if (_0_0 != null)
  97632. return _0_0;
  97633. }
  97634. return null;
  97635. },
  97636. $signature: 40
  97637. };
  97638. A._EvaluateVisitor_visitWhileRule__closure1.prototype = {
  97639. call$1(child) {
  97640. return child.accept$1(this.$this);
  97641. },
  97642. $signature: 83
  97643. };
  97644. A._EvaluateVisitor_visitBinaryOperationExpression_closure1.prototype = {
  97645. call$0() {
  97646. var t1 = this.node,
  97647. t2 = this.$this,
  97648. left = t1.left.accept$1(t2);
  97649. switch (t1.operator) {
  97650. case B.BinaryOperator_wdM0:
  97651. t1 = t1.right.accept$1(t2);
  97652. t1 = new A.SassString0(A.serializeValue0(left, false, true) + "=" + A.serializeValue0(t1, false, true), false);
  97653. break;
  97654. case B.BinaryOperator_qNM0:
  97655. t1 = left.get$isTruthy() ? left : t1.right.accept$1(t2);
  97656. break;
  97657. case B.BinaryOperator_eDt0:
  97658. t1 = left.get$isTruthy() ? t1.right.accept$1(t2) : left;
  97659. break;
  97660. case B.BinaryOperator_g8k0:
  97661. t1 = left.$eq(0, t1.right.accept$1(t2)) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  97662. break;
  97663. case B.BinaryOperator_icU0:
  97664. t1 = !left.$eq(0, t1.right.accept$1(t2)) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  97665. break;
  97666. case B.BinaryOperator_bEa0:
  97667. t1 = left.greaterThan$1(t1.right.accept$1(t2));
  97668. break;
  97669. case B.BinaryOperator_oEm0:
  97670. t1 = left.greaterThanOrEquals$1(t1.right.accept$1(t2));
  97671. break;
  97672. case B.BinaryOperator_miq0:
  97673. t1 = left.lessThan$1(t1.right.accept$1(t2));
  97674. break;
  97675. case B.BinaryOperator_SPQ0:
  97676. t1 = left.lessThanOrEquals$1(t1.right.accept$1(t2));
  97677. break;
  97678. case B.BinaryOperator_u150:
  97679. t1 = left.plus$1(t1.right.accept$1(t2));
  97680. break;
  97681. case B.BinaryOperator_SjO0:
  97682. t1 = left.minus$1(t1.right.accept$1(t2));
  97683. break;
  97684. case B.BinaryOperator_2No0:
  97685. t1 = left.times$1(t1.right.accept$1(t2));
  97686. break;
  97687. case B.BinaryOperator_U770:
  97688. t1 = t2._evaluate0$_slash$3(left, t1.right.accept$1(t2), t1);
  97689. break;
  97690. case B.BinaryOperator_KNx0:
  97691. t1 = left.modulo$1(t1.right.accept$1(t2));
  97692. break;
  97693. default:
  97694. t1 = null;
  97695. }
  97696. return t1;
  97697. },
  97698. $signature: 43
  97699. };
  97700. A._EvaluateVisitor__slash_recommendation1.prototype = {
  97701. call$1(expression) {
  97702. var t1;
  97703. $label0$0: {
  97704. if (expression instanceof A.BinaryOperationExpression0 && B.BinaryOperator_U770 === expression.operator) {
  97705. t1 = "math.div(" + A.S(this.call$1(expression.left)) + ", " + A.S(this.call$1(expression.right)) + ")";
  97706. break $label0$0;
  97707. }
  97708. if (expression instanceof A.ParenthesizedExpression0) {
  97709. t1 = expression.expression.toString$0(0);
  97710. break $label0$0;
  97711. }
  97712. t1 = expression.toString$0(0);
  97713. break $label0$0;
  97714. }
  97715. return t1;
  97716. },
  97717. $signature: 135
  97718. };
  97719. A._EvaluateVisitor_visitVariableExpression_closure1.prototype = {
  97720. call$0() {
  97721. var t1 = this.node;
  97722. return this.$this._evaluate0$_environment.getVariable$2$namespace(t1.name, t1.namespace);
  97723. },
  97724. $signature: 40
  97725. };
  97726. A._EvaluateVisitor_visitUnaryOperationExpression_closure1.prototype = {
  97727. call$0() {
  97728. var t1, _this = this;
  97729. switch (_this.node.operator) {
  97730. case B.UnaryOperator_cLp0:
  97731. t1 = _this.operand.unaryPlus$0();
  97732. break;
  97733. case B.UnaryOperator_AiQ0:
  97734. t1 = _this.operand.unaryMinus$0();
  97735. break;
  97736. case B.UnaryOperator_SJr0:
  97737. t1 = new A.SassString0("/" + A.serializeValue0(_this.operand, false, true), false);
  97738. break;
  97739. case B.UnaryOperator_not_not_not0:
  97740. t1 = _this.operand.unaryNot$0();
  97741. break;
  97742. default:
  97743. t1 = null;
  97744. }
  97745. return t1;
  97746. },
  97747. $signature: 43
  97748. };
  97749. A._EvaluateVisitor_visitListExpression_closure1.prototype = {
  97750. call$1(expression) {
  97751. return expression.accept$1(this.$this);
  97752. },
  97753. $signature: 438
  97754. };
  97755. A._EvaluateVisitor_visitFunctionExpression_closure5.prototype = {
  97756. call$0() {
  97757. var t1 = this.node;
  97758. return this.$this._evaluate0$_environment.getFunction$2$namespace(t1.name, t1.namespace);
  97759. },
  97760. $signature: 88
  97761. };
  97762. A._EvaluateVisitor_visitFunctionExpression_closure6.prototype = {
  97763. call$1(argument) {
  97764. return argument.accept$1(new A._IsCalculationSafeVisitor0());
  97765. },
  97766. $signature: 107
  97767. };
  97768. A._EvaluateVisitor_visitFunctionExpression_closure7.prototype = {
  97769. call$0() {
  97770. var t1 = this.node;
  97771. return this.$this._evaluate0$_runFunctionCallable$3(t1.$arguments, this._box_0.$function, t1);
  97772. },
  97773. $signature: 43
  97774. };
  97775. A._EvaluateVisitor__checkCalculationArguments_check1.prototype = {
  97776. call$1(maxArgs) {
  97777. var t1 = this.node,
  97778. t2 = t1.$arguments.positional.length;
  97779. if (t2 === 0)
  97780. throw A.wrapException(this.$this._evaluate0$_exception$2("Missing argument.", t1.span));
  97781. else if (maxArgs != null && t2 > maxArgs)
  97782. 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));
  97783. },
  97784. call$0() {
  97785. return this.call$1(null);
  97786. },
  97787. $signature: 96
  97788. };
  97789. A._EvaluateVisitor__visitCalculationExpression_closure1.prototype = {
  97790. call$0() {
  97791. var _this = this,
  97792. t1 = _this.$this,
  97793. t2 = _this._box_0,
  97794. t3 = _this.inLegacySassFunction;
  97795. return A.SassCalculation_operateInternal0(t1._evaluate0$_binaryOperatorToCalculationOperator$2(t2.operator, _this.node), t1._evaluate0$_visitCalculationExpression$2$inLegacySassFunction(t2.left, t3), t1._evaluate0$_visitCalculationExpression$2$inLegacySassFunction(t2.right, t3), t3, !t1._evaluate0$_inSupportsDeclaration);
  97796. },
  97797. $signature: 80
  97798. };
  97799. A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure1.prototype = {
  97800. call$0() {
  97801. var t1 = this.node;
  97802. return this.$this._evaluate0$_runFunctionCallable$3(t1.$arguments, this.$function, t1);
  97803. },
  97804. $signature: 43
  97805. };
  97806. A._EvaluateVisitor__runUserDefinedCallable_closure1.prototype = {
  97807. call$0() {
  97808. var _this = this,
  97809. t1 = _this.$this,
  97810. t2 = _this.callable;
  97811. return t1._evaluate0$_withEnvironment$2(t2.environment.closure$0(), new A._EvaluateVisitor__runUserDefinedCallable__closure1(t1, _this.evaluated, t2, _this.nodeWithSpan, _this.run, _this.V));
  97812. },
  97813. $signature() {
  97814. return this.V._eval$1("0()");
  97815. }
  97816. };
  97817. A._EvaluateVisitor__runUserDefinedCallable__closure1.prototype = {
  97818. call$0() {
  97819. var _this = this,
  97820. t1 = _this.$this,
  97821. t2 = _this.V;
  97822. return t1._evaluate0$_environment.scope$1$1(new A._EvaluateVisitor__runUserDefinedCallable___closure1(t1, _this.evaluated, _this.callable, _this.nodeWithSpan, _this.run, t2), t2);
  97823. },
  97824. $signature() {
  97825. return this.V._eval$1("0()");
  97826. }
  97827. };
  97828. A._EvaluateVisitor__runUserDefinedCallable___closure1.prototype = {
  97829. call$0() {
  97830. var declaredArguments, t5, minLength, i, argument, t6, t7, value, t8, restArgument, rest, argumentList, result, argumentWord, _this = this,
  97831. t1 = _this.$this,
  97832. t2 = _this.evaluated._values,
  97833. t3 = _this.callable.declaration.$arguments,
  97834. t4 = _this.nodeWithSpan;
  97835. t1._evaluate0$_verifyArguments$4(J.get$length$asx(t2[2]), t2[0], t3, t4);
  97836. declaredArguments = t3.$arguments;
  97837. t5 = declaredArguments.length;
  97838. minLength = Math.min(J.get$length$asx(t2[2]), t5);
  97839. for (i = 0; i < minLength; ++i)
  97840. t1._evaluate0$_environment.setLocalVariable$3(declaredArguments[i].name, J.$index$asx(t2[2], i), J.$index$asx(t2[3], i));
  97841. for (i = J.get$length$asx(t2[2]); i < t5; ++i) {
  97842. argument = declaredArguments[i];
  97843. t6 = t2[0];
  97844. t7 = argument.name;
  97845. value = J.remove$1$z(t6, t7);
  97846. if (value == null) {
  97847. t6 = argument.defaultValue;
  97848. value = t1._evaluate0$_withoutSlash$2(t6.accept$1(t1), t1._evaluate0$_expressionNode$1(t6));
  97849. }
  97850. t6 = t1._evaluate0$_environment;
  97851. t8 = J.$index$asx(t2[1], t7);
  97852. if (t8 == null) {
  97853. t8 = argument.defaultValue;
  97854. t8.toString;
  97855. t8 = t1._evaluate0$_expressionNode$1(t8);
  97856. }
  97857. t6.setLocalVariable$3(t7, value, t8);
  97858. }
  97859. restArgument = t3.restArgument;
  97860. if (restArgument != null) {
  97861. rest = J.get$length$asx(t2[2]) > t5 ? J.sublist$1$ax(t2[2], t5) : B.List_empty19;
  97862. t5 = t2[0];
  97863. t6 = t2[4];
  97864. argumentList = A.SassArgumentList$0(rest, t5, t6 === B.ListSeparator_undecided_null_undecided0 ? B.ListSeparator_ECn0 : t6);
  97865. t1._evaluate0$_environment.setLocalVariable$3(restArgument, argumentList, t4);
  97866. } else
  97867. argumentList = null;
  97868. result = _this.run.call$0();
  97869. if (argumentList == null)
  97870. return result;
  97871. t5 = t2[0].__js_helper$_length;
  97872. if (t5 === 0)
  97873. return result;
  97874. if (argumentList._argument_list$_wereKeywordsAccessed)
  97875. return result;
  97876. argumentWord = A.pluralize0("argument", t5, null);
  97877. t2 = t2[0];
  97878. t5 = A._instanceType(t2)._eval$1("LinkedHashMapKeyIterable<1>");
  97879. throw A.wrapException(A.MultiSpanSassRuntimeException$0("No " + argumentWord + " named " + A.toSentence0(A.MappedIterable_MappedIterable(new A.LinkedHashMapKeyIterable(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));
  97880. },
  97881. $signature() {
  97882. return this.V._eval$1("0()");
  97883. }
  97884. };
  97885. A._EvaluateVisitor__runUserDefinedCallable____closure1.prototype = {
  97886. call$1($name) {
  97887. return "$" + $name;
  97888. },
  97889. $signature: 5
  97890. };
  97891. A._EvaluateVisitor__runFunctionCallable_closure1.prototype = {
  97892. call$0() {
  97893. var t1, t2, t3, t4, _i, $returnValue;
  97894. for (t1 = this.callable.declaration, t2 = t1.children, t3 = t2.length, t4 = this.$this, _i = 0; _i < t3; ++_i) {
  97895. $returnValue = t2[_i].accept$1(t4);
  97896. if ($returnValue instanceof A.Value0)
  97897. return $returnValue;
  97898. }
  97899. throw A.wrapException(t4._evaluate0$_exception$2("Function finished without @return.", t1.span));
  97900. },
  97901. $signature: 43
  97902. };
  97903. A._EvaluateVisitor__runBuiltInCallable_closure5.prototype = {
  97904. call$0() {
  97905. return this._box_0.overload.verify$2(J.get$length$asx(this.evaluated._values[2]), this.namedSet);
  97906. },
  97907. $signature: 0
  97908. };
  97909. A._EvaluateVisitor__runBuiltInCallable_closure6.prototype = {
  97910. call$0() {
  97911. return this._box_0.callback.call$1(this.evaluated._values[2]);
  97912. },
  97913. $signature: 43
  97914. };
  97915. A._EvaluateVisitor__runBuiltInCallable_closure7.prototype = {
  97916. call$1($name) {
  97917. return "$" + $name;
  97918. },
  97919. $signature: 5
  97920. };
  97921. A._EvaluateVisitor__evaluateArguments_closure7.prototype = {
  97922. call$1(value) {
  97923. return value;
  97924. },
  97925. $signature: 41
  97926. };
  97927. A._EvaluateVisitor__evaluateArguments_closure8.prototype = {
  97928. call$1(value) {
  97929. return this.$this._evaluate0$_withoutSlash$2(value, this.restNodeForSpan);
  97930. },
  97931. $signature: 41
  97932. };
  97933. A._EvaluateVisitor__evaluateArguments_closure9.prototype = {
  97934. call$2(key, value) {
  97935. var _this = this,
  97936. t1 = _this.restNodeForSpan;
  97937. _this.named.$indexSet(0, key, _this.$this._evaluate0$_withoutSlash$2(value, t1));
  97938. _this.namedNodes.$indexSet(0, key, t1);
  97939. },
  97940. $signature: 100
  97941. };
  97942. A._EvaluateVisitor__evaluateArguments_closure10.prototype = {
  97943. call$1(value) {
  97944. return value;
  97945. },
  97946. $signature: 41
  97947. };
  97948. A._EvaluateVisitor__evaluateMacroArguments_closure7.prototype = {
  97949. call$1(value) {
  97950. var t1 = this.restArgs;
  97951. return new A.ValueExpression0(value, t1.get$span(t1));
  97952. },
  97953. $signature: 61
  97954. };
  97955. A._EvaluateVisitor__evaluateMacroArguments_closure8.prototype = {
  97956. call$1(value) {
  97957. var t1 = this.restArgs;
  97958. return new A.ValueExpression0(this.$this._evaluate0$_withoutSlash$2(value, this.restNodeForSpan), t1.get$span(t1));
  97959. },
  97960. $signature: 61
  97961. };
  97962. A._EvaluateVisitor__evaluateMacroArguments_closure9.prototype = {
  97963. call$2(key, value) {
  97964. var _this = this,
  97965. t1 = _this.restArgs;
  97966. _this.named.$indexSet(0, key, new A.ValueExpression0(_this.$this._evaluate0$_withoutSlash$2(value, _this.restNodeForSpan), t1.get$span(t1)));
  97967. },
  97968. $signature: 100
  97969. };
  97970. A._EvaluateVisitor__evaluateMacroArguments_closure10.prototype = {
  97971. call$1(value) {
  97972. var t1 = this.keywordRestArgs;
  97973. return new A.ValueExpression0(this.$this._evaluate0$_withoutSlash$2(value, this.keywordRestNodeForSpan), t1.get$span(t1));
  97974. },
  97975. $signature: 61
  97976. };
  97977. A._EvaluateVisitor__addRestMap_closure1.prototype = {
  97978. call$2(key, value) {
  97979. var t2, _this = this,
  97980. t1 = _this.$this;
  97981. if (key instanceof A.SassString0)
  97982. _this.values.$indexSet(0, key._string0$_text, _this.convert.call$1(t1._evaluate0$_withoutSlash$2(value, _this.expressionNode)));
  97983. else {
  97984. t2 = _this.nodeWithSpan;
  97985. 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)));
  97986. }
  97987. },
  97988. $signature: 94
  97989. };
  97990. A._EvaluateVisitor__verifyArguments_closure1.prototype = {
  97991. call$0() {
  97992. return this.$arguments.verify$2(this.positional, new A.MapKeySet(this.named, type$.MapKeySet_String));
  97993. },
  97994. $signature: 0
  97995. };
  97996. A._EvaluateVisitor_visitCssAtRule_closure3.prototype = {
  97997. call$0() {
  97998. var t1, t2, t3, t4;
  97999. 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();) {
  98000. t4 = t1.__internal$_current;
  98001. (t4 == null ? t2._as(t4) : t4).accept$1(t3);
  98002. }
  98003. },
  98004. $signature: 1
  98005. };
  98006. A._EvaluateVisitor_visitCssAtRule_closure4.prototype = {
  98007. call$1(node) {
  98008. return node instanceof A.ModifiableCssStyleRule0;
  98009. },
  98010. $signature: 8
  98011. };
  98012. A._EvaluateVisitor_visitCssKeyframeBlock_closure3.prototype = {
  98013. call$0() {
  98014. var t1, t2, t3, t4;
  98015. 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();) {
  98016. t4 = t1.__internal$_current;
  98017. (t4 == null ? t2._as(t4) : t4).accept$1(t3);
  98018. }
  98019. },
  98020. $signature: 1
  98021. };
  98022. A._EvaluateVisitor_visitCssKeyframeBlock_closure4.prototype = {
  98023. call$1(node) {
  98024. return node instanceof A.ModifiableCssStyleRule0;
  98025. },
  98026. $signature: 8
  98027. };
  98028. A._EvaluateVisitor_visitCssMediaRule_closure5.prototype = {
  98029. call$1(mediaQueries) {
  98030. return this.$this._evaluate0$_mergeMediaQueries$2(mediaQueries, this.node.queries);
  98031. },
  98032. $signature: 101
  98033. };
  98034. A._EvaluateVisitor_visitCssMediaRule_closure6.prototype = {
  98035. call$0() {
  98036. var _this = this,
  98037. t1 = _this.$this,
  98038. t2 = _this.mergedQueries;
  98039. if (t2 == null)
  98040. t2 = _this.node.queries;
  98041. t1._evaluate0$_withMediaQueries$3(t2, _this.mergedSources, new A._EvaluateVisitor_visitCssMediaRule__closure1(t1, _this.node));
  98042. },
  98043. $signature: 1
  98044. };
  98045. A._EvaluateVisitor_visitCssMediaRule__closure1.prototype = {
  98046. call$0() {
  98047. var t2, t3, t4,
  98048. t1 = this.$this,
  98049. _0_0 = t1._evaluate0$_atRootExcludingStyleRule ? null : t1._evaluate0$_styleRuleIgnoringAtRoot;
  98050. if (_0_0 != null)
  98051. 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);
  98052. else
  98053. 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();) {
  98054. t4 = t2.__internal$_current;
  98055. (t4 == null ? t3._as(t4) : t4).accept$1(t1);
  98056. }
  98057. },
  98058. $signature: 1
  98059. };
  98060. A._EvaluateVisitor_visitCssMediaRule___closure1.prototype = {
  98061. call$0() {
  98062. var t1, t2, t3, t4;
  98063. 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();) {
  98064. t4 = t1.__internal$_current;
  98065. (t4 == null ? t2._as(t4) : t4).accept$1(t3);
  98066. }
  98067. },
  98068. $signature: 1
  98069. };
  98070. A._EvaluateVisitor_visitCssMediaRule_closure7.prototype = {
  98071. call$1(node) {
  98072. var t1;
  98073. if (!(node instanceof A.ModifiableCssStyleRule0)) {
  98074. t1 = this.mergedSources;
  98075. t1 = t1.get$isNotEmpty(t1) && node instanceof A.ModifiableCssMediaRule0 && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  98076. } else
  98077. t1 = true;
  98078. return t1;
  98079. },
  98080. $signature: 8
  98081. };
  98082. A._EvaluateVisitor_visitCssStyleRule_closure4.prototype = {
  98083. call$0() {
  98084. var t1 = this.$this;
  98085. t1._evaluate0$_withStyleRule$2(this.rule, new A._EvaluateVisitor_visitCssStyleRule__closure1(t1, this.node));
  98086. },
  98087. $signature: 1
  98088. };
  98089. A._EvaluateVisitor_visitCssStyleRule__closure1.prototype = {
  98090. call$0() {
  98091. var t1, t2, t3, t4;
  98092. 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();) {
  98093. t4 = t1.__internal$_current;
  98094. (t4 == null ? t2._as(t4) : t4).accept$1(t3);
  98095. }
  98096. },
  98097. $signature: 1
  98098. };
  98099. A._EvaluateVisitor_visitCssStyleRule_closure3.prototype = {
  98100. call$1(node) {
  98101. return node instanceof A.ModifiableCssStyleRule0;
  98102. },
  98103. $signature: 8
  98104. };
  98105. A._EvaluateVisitor_visitCssSupportsRule_closure3.prototype = {
  98106. call$0() {
  98107. var t2, t3, t4,
  98108. t1 = this.$this,
  98109. _0_0 = t1._evaluate0$_atRootExcludingStyleRule ? null : t1._evaluate0$_styleRuleIgnoringAtRoot;
  98110. if (_0_0 != null)
  98111. 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);
  98112. else
  98113. 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();) {
  98114. t4 = t2.__internal$_current;
  98115. (t4 == null ? t3._as(t4) : t4).accept$1(t1);
  98116. }
  98117. },
  98118. $signature: 1
  98119. };
  98120. A._EvaluateVisitor_visitCssSupportsRule__closure1.prototype = {
  98121. call$0() {
  98122. var t1, t2, t3, t4;
  98123. 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();) {
  98124. t4 = t1.__internal$_current;
  98125. (t4 == null ? t2._as(t4) : t4).accept$1(t3);
  98126. }
  98127. },
  98128. $signature: 1
  98129. };
  98130. A._EvaluateVisitor_visitCssSupportsRule_closure4.prototype = {
  98131. call$1(node) {
  98132. return node instanceof A.ModifiableCssStyleRule0;
  98133. },
  98134. $signature: 8
  98135. };
  98136. A._EvaluateVisitor__performInterpolationHelper_closure1.prototype = {
  98137. call$1(targetLocations) {
  98138. return A.InterpolationMap$0(this.interpolation, targetLocations);
  98139. },
  98140. $signature: 219
  98141. };
  98142. A._EvaluateVisitor__serialize_closure1.prototype = {
  98143. call$0() {
  98144. return A.serializeValue0(this.value, false, this.quote);
  98145. },
  98146. $signature: 25
  98147. };
  98148. A._EvaluateVisitor__expressionNode_closure1.prototype = {
  98149. call$0() {
  98150. var t1 = this.expression;
  98151. return this.$this._evaluate0$_environment.getVariableNode$2$namespace(t1.name, t1.namespace);
  98152. },
  98153. $signature: 218
  98154. };
  98155. A._EvaluateVisitor__withoutSlash_recommendation1.prototype = {
  98156. call$1(number) {
  98157. var t1, before, after,
  98158. _1_0 = number.asSlash;
  98159. $label0$0: {
  98160. if (type$.Record_2_nullable_Object_and_nullable_Object._is(_1_0)) {
  98161. t1 = type$.SassNumber_2;
  98162. before = t1._as(_1_0._0);
  98163. after = t1._as(_1_0._1);
  98164. t1 = "math.div(" + A.S(this.call$1(before)) + ", " + A.S(this.call$1(after)) + ")";
  98165. break $label0$0;
  98166. }
  98167. t1 = A.serializeValue0(number, true, true);
  98168. break $label0$0;
  98169. }
  98170. return t1;
  98171. },
  98172. $signature: 217
  98173. };
  98174. A._EvaluateVisitor__stackFrame_closure1.prototype = {
  98175. call$1(url) {
  98176. var t1 = this.$this._evaluate0$_importCache;
  98177. t1 = t1 == null ? null : t1.humanize$1(url);
  98178. return t1 == null ? url : t1;
  98179. },
  98180. $signature: 46
  98181. };
  98182. A._ImportedCssVisitor1.prototype = {
  98183. visitCssAtRule$1(node) {
  98184. var t1 = node.isChildless ? null : new A._ImportedCssVisitor_visitCssAtRule_closure1();
  98185. this._evaluate0$_visitor._evaluate0$_addChild$2$through(node, t1);
  98186. },
  98187. visitCssComment$1(node) {
  98188. return this._evaluate0$_visitor._evaluate0$_addChild$1(node);
  98189. },
  98190. visitCssDeclaration$1(node) {
  98191. },
  98192. visitCssImport$1(node) {
  98193. var t2,
  98194. _s13_ = "_endOfImports",
  98195. t1 = this._evaluate0$_visitor;
  98196. if (t1._evaluate0$_assertInModule$2(t1._evaluate0$__parent, "__parent") !== t1._evaluate0$_assertInModule$2(t1._evaluate0$__root, "_root"))
  98197. t1._evaluate0$_addChild$1(node);
  98198. 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)) {
  98199. t1._evaluate0$_addChild$1(node);
  98200. t1._evaluate0$__endOfImports = t1._evaluate0$_assertInModule$2(t1._evaluate0$__endOfImports, _s13_) + 1;
  98201. } else {
  98202. t2 = t1._evaluate0$_outOfOrderImports;
  98203. (t2 == null ? t1._evaluate0$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport_2) : t2).push(node);
  98204. }
  98205. },
  98206. visitCssKeyframeBlock$1(node) {
  98207. },
  98208. visitCssMediaRule$1(node) {
  98209. var t1 = this._evaluate0$_visitor,
  98210. mediaQueries = t1._evaluate0$_mediaQueries;
  98211. t1._evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssMediaRule_closure1(mediaQueries == null || t1._evaluate0$_mergeMediaQueries$2(mediaQueries, node.queries) != null));
  98212. },
  98213. visitCssStyleRule$1(node) {
  98214. return this._evaluate0$_visitor._evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssStyleRule_closure1());
  98215. },
  98216. visitCssStylesheet$1(node) {
  98217. var t1, t2, t3;
  98218. 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();) {
  98219. t3 = t1.__internal$_current;
  98220. (t3 == null ? t2._as(t3) : t3).accept$1(this);
  98221. }
  98222. },
  98223. visitCssSupportsRule$1(node) {
  98224. return this._evaluate0$_visitor._evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssSupportsRule_closure1());
  98225. }
  98226. };
  98227. A._ImportedCssVisitor_visitCssAtRule_closure1.prototype = {
  98228. call$1(node) {
  98229. return node instanceof A.ModifiableCssStyleRule0;
  98230. },
  98231. $signature: 8
  98232. };
  98233. A._ImportedCssVisitor_visitCssMediaRule_closure1.prototype = {
  98234. call$1(node) {
  98235. var t1;
  98236. if (!(node instanceof A.ModifiableCssStyleRule0))
  98237. t1 = this.hasBeenMerged && node instanceof A.ModifiableCssMediaRule0;
  98238. else
  98239. t1 = true;
  98240. return t1;
  98241. },
  98242. $signature: 8
  98243. };
  98244. A._ImportedCssVisitor_visitCssStyleRule_closure1.prototype = {
  98245. call$1(node) {
  98246. return node instanceof A.ModifiableCssStyleRule0;
  98247. },
  98248. $signature: 8
  98249. };
  98250. A._ImportedCssVisitor_visitCssSupportsRule_closure1.prototype = {
  98251. call$1(node) {
  98252. return node instanceof A.ModifiableCssStyleRule0;
  98253. },
  98254. $signature: 8
  98255. };
  98256. A._EvaluationContext1.prototype = {
  98257. get$currentCallableSpan() {
  98258. var _0_0 = this._evaluate0$_visitor._evaluate0$_callableNode;
  98259. if (_0_0 != null)
  98260. return _0_0.get$span(_0_0);
  98261. throw A.wrapException(A.StateError$(string$.No_Sasc));
  98262. },
  98263. warn$2(_, message, deprecation) {
  98264. var t1 = this._evaluate0$_visitor,
  98265. t2 = t1._evaluate0$_importSpan;
  98266. if (t2 == null) {
  98267. t2 = t1._evaluate0$_callableNode;
  98268. t2 = t2 == null ? null : t2.get$span(t2);
  98269. }
  98270. t1._evaluate0$_warn$3(message, t2 == null ? this._evaluate0$_defaultWarnNodeWithSpan.span : t2, deprecation);
  98271. },
  98272. $isEvaluationContext0: 1
  98273. };
  98274. A.EveryCssVisitor0.prototype = {
  98275. visitCssAtRule$1(node) {
  98276. var t1 = node.children;
  98277. return t1.every$1(t1, new A.EveryCssVisitor_visitCssAtRule_closure0(this));
  98278. },
  98279. visitCssComment$1(node) {
  98280. return false;
  98281. },
  98282. visitCssDeclaration$1(node) {
  98283. return false;
  98284. },
  98285. visitCssImport$1(node) {
  98286. return false;
  98287. },
  98288. visitCssKeyframeBlock$1(node) {
  98289. var t1 = node.children;
  98290. return t1.every$1(t1, new A.EveryCssVisitor_visitCssKeyframeBlock_closure0(this));
  98291. },
  98292. visitCssMediaRule$1(node) {
  98293. var t1 = node.children;
  98294. return t1.every$1(t1, new A.EveryCssVisitor_visitCssMediaRule_closure0(this));
  98295. },
  98296. visitCssStyleRule$1(node) {
  98297. var t1 = node.children;
  98298. return t1.every$1(t1, new A.EveryCssVisitor_visitCssStyleRule_closure0(this));
  98299. },
  98300. visitCssStylesheet$1(node) {
  98301. return J.every$1$ax(node.get$children(node), new A.EveryCssVisitor_visitCssStylesheet_closure0(this));
  98302. },
  98303. visitCssSupportsRule$1(node) {
  98304. var t1 = node.children;
  98305. return t1.every$1(t1, new A.EveryCssVisitor_visitCssSupportsRule_closure0(this));
  98306. }
  98307. };
  98308. A.EveryCssVisitor_visitCssAtRule_closure0.prototype = {
  98309. call$1(child) {
  98310. return child.accept$1(this.$this);
  98311. },
  98312. $signature: 8
  98313. };
  98314. A.EveryCssVisitor_visitCssKeyframeBlock_closure0.prototype = {
  98315. call$1(child) {
  98316. return child.accept$1(this.$this);
  98317. },
  98318. $signature: 8
  98319. };
  98320. A.EveryCssVisitor_visitCssMediaRule_closure0.prototype = {
  98321. call$1(child) {
  98322. return child.accept$1(this.$this);
  98323. },
  98324. $signature: 8
  98325. };
  98326. A.EveryCssVisitor_visitCssStyleRule_closure0.prototype = {
  98327. call$1(child) {
  98328. return child.accept$1(this.$this);
  98329. },
  98330. $signature: 8
  98331. };
  98332. A.EveryCssVisitor_visitCssStylesheet_closure0.prototype = {
  98333. call$1(child) {
  98334. return child.accept$1(this.$this);
  98335. },
  98336. $signature: 8
  98337. };
  98338. A.EveryCssVisitor_visitCssSupportsRule_closure0.prototype = {
  98339. call$1(child) {
  98340. return child.accept$1(this.$this);
  98341. },
  98342. $signature: 8
  98343. };
  98344. A._NodeException.prototype = {};
  98345. A.exceptionClass_closure.prototype = {
  98346. call$0() {
  98347. 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());
  98348. A.defineGetter(jsClass, "name", null, "sass.Exception");
  98349. 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));
  98350. return jsClass;
  98351. },
  98352. $signature: 13
  98353. };
  98354. A.exceptionClass__closure.prototype = {
  98355. call$1(exception) {
  98356. return J.get$_dartException$x(exception)._span_exception$_message;
  98357. },
  98358. $signature: 262
  98359. };
  98360. A.exceptionClass__closure0.prototype = {
  98361. call$1(exception) {
  98362. return J.get$trace$z(J.get$_dartException$x(exception)).toString$0(0);
  98363. },
  98364. $signature: 262
  98365. };
  98366. A.exceptionClass__closure1.prototype = {
  98367. call$1(exception) {
  98368. var t1 = J.get$_dartException$x(exception),
  98369. t2 = J.getInterceptor$z(t1);
  98370. return A.SourceSpanException.prototype.get$span.call(t2, t1);
  98371. },
  98372. $signature: 440
  98373. };
  98374. A.SassException0.prototype = {
  98375. get$trace(_) {
  98376. return A.Trace$(A._setArrayType([A.frameForSpan0(A.SourceSpanException.prototype.get$span.call(this, 0), "root stylesheet", null)], type$.JSArray_Frame), null);
  98377. },
  98378. get$span(_) {
  98379. return A.SourceSpanException.prototype.get$span.call(this, 0);
  98380. },
  98381. withAdditionalSpan$2(span, label) {
  98382. 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);
  98383. },
  98384. withTrace$1(trace) {
  98385. var t1 = A.SourceSpanException.prototype.get$span.call(this, 0),
  98386. t2 = A.Set_Set$unmodifiable(this.loadedUrls, type$.Uri);
  98387. return new A.SassRuntimeException0(trace, t2, this._span_exception$_message, t1);
  98388. },
  98389. withLoadedUrls$1(loadedUrls) {
  98390. var t1 = A.SourceSpanException.prototype.get$span.call(this, 0),
  98391. t2 = A.Set_Set$unmodifiable(loadedUrls, type$.Uri);
  98392. return new A.SassException0(t2, this._span_exception$_message, t1);
  98393. },
  98394. toString$1$color(_, color) {
  98395. var t2, _i, frame, t3, _this = this,
  98396. buffer = new A.StringBuffer(""),
  98397. t1 = "" + ("Error: " + _this._span_exception$_message + "\n");
  98398. buffer._contents = t1;
  98399. buffer._contents = t1 + A.SourceSpanException.prototype.get$span.call(_this, 0).highlight$1$color(color);
  98400. for (t1 = _this.get$trace(_this).toString$0(0).split("\n"), t2 = t1.length, _i = 0; _i < t2; ++_i) {
  98401. frame = t1[_i];
  98402. if (J.get$length$asx(frame) === 0)
  98403. continue;
  98404. t3 = buffer._contents += "\n";
  98405. buffer._contents = t3 + (" " + A.S(frame));
  98406. }
  98407. t1 = buffer._contents;
  98408. return t1.charCodeAt(0) == 0 ? t1 : t1;
  98409. },
  98410. toString$0(_) {
  98411. return this.toString$1$color(0, null);
  98412. }
  98413. };
  98414. A.MultiSpanSassException0.prototype = {
  98415. withAdditionalSpan$2(span, label) {
  98416. var _this = this,
  98417. t1 = A.SourceSpanException.prototype.get$span.call(_this, 0),
  98418. t2 = A.LinkedHashMap_LinkedHashMap$of(_this.secondarySpans, type$.FileSpan, type$.String);
  98419. t2.$indexSet(0, span, label);
  98420. return A.MultiSpanSassException$0(_this._span_exception$_message, t1, _this.primaryLabel, t2, _this.loadedUrls);
  98421. },
  98422. withTrace$1(trace) {
  98423. var _this = this;
  98424. return A.MultiSpanSassRuntimeException$0(_this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(_this, 0), _this.primaryLabel, _this.secondarySpans, trace, _this.loadedUrls);
  98425. },
  98426. withLoadedUrls$1(loadedUrls) {
  98427. var _this = this;
  98428. return A.MultiSpanSassException$0(_this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(_this, 0), _this.primaryLabel, _this.secondarySpans, loadedUrls);
  98429. },
  98430. toString$1$color(_, color) {
  98431. var t1, t2, _i, frame, t3, _this = this,
  98432. useColor = color === true,
  98433. buffer = new A.StringBuffer("Error: " + _this._span_exception$_message + "\n");
  98434. 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));
  98435. for (t1 = _this.get$trace(_this).toString$0(0).split("\n"), t2 = t1.length, _i = 0; _i < t2; ++_i) {
  98436. frame = t1[_i];
  98437. if (J.get$length$asx(frame) === 0)
  98438. continue;
  98439. buffer._contents += "\n";
  98440. t3 = " " + A.S(frame);
  98441. buffer._contents += t3;
  98442. }
  98443. t1 = buffer._contents;
  98444. return t1.charCodeAt(0) == 0 ? t1 : t1;
  98445. },
  98446. toString$0(_) {
  98447. return this.toString$1$color(0, null);
  98448. },
  98449. get$primaryLabel() {
  98450. return this.primaryLabel;
  98451. },
  98452. get$secondarySpans() {
  98453. return this.secondarySpans;
  98454. }
  98455. };
  98456. A.SassRuntimeException0.prototype = {
  98457. withAdditionalSpan$2(span, label) {
  98458. var _this = this;
  98459. 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);
  98460. },
  98461. withLoadedUrls$1(loadedUrls) {
  98462. var t1 = A.SourceSpanException.prototype.get$span.call(this, 0),
  98463. t2 = A.Set_Set$unmodifiable(loadedUrls, type$.Uri);
  98464. return new A.SassRuntimeException0(this.trace, t2, this._span_exception$_message, t1);
  98465. },
  98466. get$trace(receiver) {
  98467. return this.trace;
  98468. }
  98469. };
  98470. A.MultiSpanSassRuntimeException0.prototype = {
  98471. withAdditionalSpan$2(span, label) {
  98472. var _this = this,
  98473. t1 = A.SourceSpanException.prototype.get$span.call(_this, 0),
  98474. t2 = A.LinkedHashMap_LinkedHashMap$of(_this.secondarySpans, type$.FileSpan, type$.String);
  98475. t2.$indexSet(0, span, label);
  98476. return A.MultiSpanSassRuntimeException$0(_this._span_exception$_message, t1, _this.primaryLabel, t2, _this.trace, _this.loadedUrls);
  98477. },
  98478. withLoadedUrls$1(loadedUrls) {
  98479. var _this = this;
  98480. return A.MultiSpanSassRuntimeException$0(_this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(_this, 0), _this.primaryLabel, _this.secondarySpans, _this.trace, loadedUrls);
  98481. },
  98482. $isSassRuntimeException0: 1,
  98483. get$trace(receiver) {
  98484. return this.trace;
  98485. }
  98486. };
  98487. A.SassFormatException0.prototype = {
  98488. get$source() {
  98489. var t1 = A.SourceSpanException.prototype.get$span.call(this, 0);
  98490. return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.get$file(t1)._decodedChars, 0, null), 0, null);
  98491. },
  98492. withAdditionalSpan$2(span, label) {
  98493. 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);
  98494. },
  98495. withLoadedUrls$1(loadedUrls) {
  98496. var t1 = A.SourceSpanException.prototype.get$span.call(this, 0),
  98497. t2 = A.Set_Set$unmodifiable(loadedUrls, type$.Uri);
  98498. return new A.SassFormatException0(t2, this._span_exception$_message, t1);
  98499. },
  98500. $isFormatException: 1,
  98501. $isSourceSpanFormatException: 1
  98502. };
  98503. A.MultiSpanSassFormatException0.prototype = {
  98504. get$source() {
  98505. var t1 = A.SourceSpanException.prototype.get$span.call(this, 0);
  98506. return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.get$file(t1)._decodedChars, 0, null), 0, null);
  98507. },
  98508. withAdditionalSpan$2(span, label) {
  98509. var _this = this,
  98510. t1 = A.SourceSpanException.prototype.get$span.call(_this, 0),
  98511. t2 = A.LinkedHashMap_LinkedHashMap$of(_this.secondarySpans, type$.FileSpan, type$.String);
  98512. t2.$indexSet(0, span, label);
  98513. return A.MultiSpanSassFormatException$0(_this._span_exception$_message, t1, _this.primaryLabel, t2, _this.loadedUrls);
  98514. },
  98515. withLoadedUrls$1(loadedUrls) {
  98516. var _this = this;
  98517. return A.MultiSpanSassFormatException$0(_this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(_this, 0), _this.primaryLabel, _this.secondarySpans, loadedUrls);
  98518. },
  98519. $isFormatException: 1,
  98520. $isSourceSpanFormatException: 1,
  98521. $isMultiSourceSpanFormatException: 1,
  98522. $isSassFormatException0: 1
  98523. };
  98524. A.SassScriptException0.prototype = {
  98525. withSpan$1(span) {
  98526. return new A.SassException0(B.Set_empty, this.message, span);
  98527. },
  98528. toString$0(_) {
  98529. return this.message + string$.x0a_BUG_;
  98530. },
  98531. get$message(receiver) {
  98532. return this.message;
  98533. }
  98534. };
  98535. A.MultiSpanSassScriptException0.prototype = {
  98536. withSpan$1(span) {
  98537. return A.MultiSpanSassException$0(this.message, span, this.primaryLabel, this.secondarySpans, null);
  98538. }
  98539. };
  98540. A.Exports.prototype = {};
  98541. A.LoggerNamespace.prototype = {};
  98542. A._IsCalculationSafeVisitor0.prototype = {
  98543. visitBinaryOperationExpression$1(node) {
  98544. var t1;
  98545. if (B.Set_mqKz0.contains$1(0, node.operator))
  98546. t1 = node.left.accept$1(this) || node.right.accept$1(this);
  98547. else
  98548. t1 = false;
  98549. return t1;
  98550. },
  98551. visitBooleanExpression$1(node) {
  98552. return false;
  98553. },
  98554. visitColorExpression$1(node) {
  98555. return false;
  98556. },
  98557. visitFunctionExpression$1(node) {
  98558. return true;
  98559. },
  98560. visitInterpolatedFunctionExpression$1(node) {
  98561. return true;
  98562. },
  98563. visitIfExpression$1(node) {
  98564. return true;
  98565. },
  98566. visitListExpression$1(node) {
  98567. var t1;
  98568. if (node.separator === B.ListSeparator_nbm0)
  98569. if (!node.hasBrackets) {
  98570. t1 = node.contents;
  98571. t1 = t1.length > 1 && B.JSArray_methods.every$1(t1, new A._IsCalculationSafeVisitor_visitListExpression_closure0(this));
  98572. } else
  98573. t1 = false;
  98574. else
  98575. t1 = false;
  98576. return t1;
  98577. },
  98578. visitMapExpression$1(node) {
  98579. return false;
  98580. },
  98581. visitNullExpression$1(node) {
  98582. return false;
  98583. },
  98584. visitNumberExpression$1(node) {
  98585. return true;
  98586. },
  98587. visitParenthesizedExpression$1(node) {
  98588. return node.expression.accept$1(this);
  98589. },
  98590. visitSelectorExpression$1(node) {
  98591. return false;
  98592. },
  98593. visitStringExpression$1(node) {
  98594. var text, t1, t2;
  98595. if (node.hasQuotes)
  98596. return false;
  98597. text = node.text.get$initialPlain();
  98598. if (!B.JSString_methods.startsWith$1(text, "!"))
  98599. if (!B.JSString_methods.startsWith$1(text, "#")) {
  98600. t1 = text.length;
  98601. if ((1 >= t1 ? null : text.charCodeAt(1)) !== 43) {
  98602. t2 = (3 >= t1 ? null : text.charCodeAt(3)) !== 40;
  98603. t1 = t2;
  98604. } else
  98605. t1 = false;
  98606. } else
  98607. t1 = false;
  98608. else
  98609. t1 = false;
  98610. return t1;
  98611. },
  98612. visitSupportsExpression$1(node) {
  98613. return false;
  98614. },
  98615. visitUnaryOperationExpression$1(node) {
  98616. return false;
  98617. },
  98618. visitValueExpression$1(node) {
  98619. return false;
  98620. },
  98621. visitVariableExpression$1(node) {
  98622. return true;
  98623. }
  98624. };
  98625. A._IsCalculationSafeVisitor_visitListExpression_closure0.prototype = {
  98626. call$1(expression) {
  98627. return expression.accept$1(this.$this);
  98628. },
  98629. $signature: 107
  98630. };
  98631. A._MakeExpressionCalculationSafe0.prototype = {
  98632. visitBinaryOperationExpression$1(node) {
  98633. var t1, t2, t3, t4;
  98634. if (node.operator === B.BinaryOperator_KNx0) {
  98635. t1 = A._setArrayType([node], type$.JSArray_Expression_2);
  98636. t2 = node.get$span(0);
  98637. t3 = type$.Expression_2;
  98638. t1 = A.List_List$unmodifiable(t1, t3);
  98639. t3 = A.ConstantMap_ConstantMap$from(B.Map_empty14, type$.String, t3);
  98640. t4 = node.get$span(0);
  98641. t1 = new A.FunctionExpression0("math", A.stringReplaceAllUnchecked("max", "_", "-"), "max", new A.ArgumentInvocation0(t1, t3, null, null, t2), t4);
  98642. } else
  98643. t1 = this.super$ReplaceExpressionVisitor$visitBinaryOperationExpression0(node);
  98644. return t1;
  98645. },
  98646. visitInterpolatedFunctionExpression$1(node) {
  98647. return node;
  98648. },
  98649. visitUnaryOperationExpression$1(node) {
  98650. var t1,
  98651. _0_0 = node.operator;
  98652. $label0$0: {
  98653. if (B.UnaryOperator_cLp0 === _0_0) {
  98654. t1 = node.operand;
  98655. break $label0$0;
  98656. }
  98657. if (B.UnaryOperator_AiQ0 === _0_0) {
  98658. t1 = new A.BinaryOperationExpression0(B.BinaryOperator_2No0, new A.NumberExpression0(-1, null, node.span), node.operand, false);
  98659. break $label0$0;
  98660. }
  98661. t1 = this.super$ReplaceExpressionVisitor$visitUnaryOperationExpression0(node);
  98662. break $label0$0;
  98663. }
  98664. return t1;
  98665. }
  98666. };
  98667. A.__MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor0.prototype = {};
  98668. A.ExtendRule0.prototype = {
  98669. accept$1$1(visitor) {
  98670. return visitor.visitExtendRule$1(this);
  98671. },
  98672. accept$1(visitor) {
  98673. return this.accept$1$1(visitor, type$.dynamic);
  98674. },
  98675. toString$0(_) {
  98676. var t1 = this.selector.toString$0(0),
  98677. t2 = this.isOptional ? " !optional" : "";
  98678. return "@extend " + t1 + t2 + ";";
  98679. },
  98680. $isAstNode0: 1,
  98681. $isStatement0: 1,
  98682. get$span(receiver) {
  98683. return this.span;
  98684. }
  98685. };
  98686. A.Extension0.prototype = {
  98687. toString$0(_) {
  98688. var t1 = this.extender.toString$0(0),
  98689. t2 = this.target.toString$0(0),
  98690. t3 = this.isOptional ? " !optional" : "";
  98691. return t1 + " {@extend " + t2 + t3 + "}";
  98692. }
  98693. };
  98694. A.Extender0.prototype = {
  98695. assertCompatibleMediaContext$1(mediaContext) {
  98696. var expectedMediaContext,
  98697. extension = this._extension$_extension;
  98698. if (extension == null)
  98699. return;
  98700. expectedMediaContext = extension.mediaContext;
  98701. if (expectedMediaContext == null)
  98702. return;
  98703. if (mediaContext != null && B.C_ListEquality.equals$2(0, expectedMediaContext, mediaContext))
  98704. return;
  98705. throw A.wrapException(A.SassException$0(string$.You_ma, extension.span, null));
  98706. },
  98707. toString$0(_) {
  98708. return A.serializeSelector0(this.selector, true);
  98709. }
  98710. };
  98711. A.ExtensionStore0.prototype = {
  98712. get$isEmpty(_) {
  98713. return this._extension_store$_extensions.__js_helper$_length === 0;
  98714. },
  98715. get$simpleSelectors() {
  98716. return new A.MapKeySet(this._extension_store$_selectors, type$.MapKeySet_SimpleSelector_2);
  98717. },
  98718. extensionsWhereTarget$1(callback) {
  98719. return new A._SyncStarIterable(this.extensionsWhereTarget$body$ExtensionStore0(callback), type$._SyncStarIterable_Extension_2);
  98720. },
  98721. extensionsWhereTarget$body$ExtensionStore0($async$callback) {
  98722. var $async$self = this;
  98723. return function() {
  98724. var callback = $async$callback;
  98725. var $async$goto = 0, $async$handler = 1, $async$currentError, t1, t2, simple, sources, t3;
  98726. return function $async$extensionsWhereTarget$1($async$iterator, $async$errorCode, $async$result) {
  98727. if ($async$errorCode === 1) {
  98728. $async$currentError = $async$result;
  98729. $async$goto = $async$handler;
  98730. }
  98731. while (true)
  98732. switch ($async$goto) {
  98733. case 0:
  98734. // Function start
  98735. t1 = A.MapExtensions_get_pairs0($async$self._extension_store$_extensions, type$.SimpleSelector_2, type$.Map_ComplexSelector_Extension_2), t1 = t1.get$iterator(t1);
  98736. case 2:
  98737. // for condition
  98738. if (!t1.moveNext$0()) {
  98739. // goto after for
  98740. $async$goto = 3;
  98741. break;
  98742. }
  98743. t2 = t1.get$current(t1);
  98744. simple = t2._0;
  98745. sources = t2._1;
  98746. if (!callback.call$1(simple)) {
  98747. // goto for condition
  98748. $async$goto = 2;
  98749. break;
  98750. }
  98751. t2 = sources.get$values(sources), t2 = t2.get$iterator(t2);
  98752. case 4:
  98753. // for condition
  98754. if (!t2.moveNext$0()) {
  98755. // goto after for
  98756. $async$goto = 5;
  98757. break;
  98758. }
  98759. t3 = t2.get$current(t2);
  98760. $async$goto = t3 instanceof A.MergedExtension0 ? 6 : 8;
  98761. break;
  98762. case 6:
  98763. // then
  98764. t3 = t3.unmerge$0();
  98765. $async$goto = 9;
  98766. return $async$iterator._yieldStar$1(new A.WhereIterable(t3, new A.ExtensionStore_extensionsWhereTarget_closure0(), t3.$ti._eval$1("WhereIterable<Iterable.E>")));
  98767. case 9:
  98768. // after yield
  98769. // goto join
  98770. $async$goto = 7;
  98771. break;
  98772. case 8:
  98773. // else
  98774. $async$goto = !t3.isOptional ? 10 : 11;
  98775. break;
  98776. case 10:
  98777. // then
  98778. $async$goto = 12;
  98779. return $async$iterator._async$_current = t3, 1;
  98780. case 12:
  98781. // after yield
  98782. case 11:
  98783. // join
  98784. case 7:
  98785. // join
  98786. // goto for condition
  98787. $async$goto = 4;
  98788. break;
  98789. case 5:
  98790. // after for
  98791. // goto for condition
  98792. $async$goto = 2;
  98793. break;
  98794. case 3:
  98795. // after for
  98796. // implicit return
  98797. return 0;
  98798. case 1:
  98799. // rethrow
  98800. return $async$iterator._datum = $async$currentError, 3;
  98801. }
  98802. };
  98803. };
  98804. },
  98805. addSelector$2(selector, mediaContext) {
  98806. var originalSelector, error, stackTrace, t1, exception, t2, t3, t4, modifiableSelector, _this = this;
  98807. selector = selector;
  98808. originalSelector = selector;
  98809. if (!originalSelector.accept$1(B._IsInvisibleVisitor_true0))
  98810. _this._extension_store$_originals.addAll$1(0, originalSelector.components);
  98811. t1 = _this._extension_store$_extensions;
  98812. if (t1.__js_helper$_length !== 0)
  98813. try {
  98814. selector = _this._extension_store$_extendList$3(originalSelector, t1, mediaContext);
  98815. } catch (exception) {
  98816. t1 = A.unwrapException(exception);
  98817. if (t1 instanceof A.SassException0) {
  98818. error = t1;
  98819. stackTrace = A.getTraceFromException(exception);
  98820. t1 = error;
  98821. t2 = J.getInterceptor$z(t1);
  98822. t1 = A.SourceSpanException.prototype.get$span.call(t2, t1).message$1(0, "");
  98823. t2 = error._span_exception$_message;
  98824. t3 = error;
  98825. t4 = J.getInterceptor$z(t3);
  98826. t3 = A.SourceSpanException.prototype.get$span.call(t4, t3);
  98827. A.throwWithTrace0(new A.SassException0(B.Set_empty, "From " + t1 + "\n" + t2, t3), error, stackTrace);
  98828. } else
  98829. throw exception;
  98830. }
  98831. modifiableSelector = new A.ModifiableBox0(selector, type$.ModifiableBox_SelectorList_2);
  98832. if (mediaContext != null)
  98833. _this._extension_store$_mediaContexts.$indexSet(0, modifiableSelector, mediaContext);
  98834. _this._extension_store$_registerSelector$2(selector, modifiableSelector);
  98835. return new A.Box0(modifiableSelector, type$.Box_SelectorList_2);
  98836. },
  98837. _extension_store$_registerSelector$2(list, selector) {
  98838. var t1, t2, t3, t4, _i, t5, t6, _i0, t7, t8, _i1, simple, _0_2_isSet, _0_2, t9, selectorInPseudo;
  98839. for (t1 = list.components, t2 = t1.length, t3 = this._extension_store$_selectors, t4 = type$.SelectorList_2, _i = 0; _i < t2; ++_i)
  98840. for (t5 = t1[_i].components, t6 = t5.length, _i0 = 0; _i0 < t6; ++_i0)
  98841. for (t7 = t5[_i0].selector.components, t8 = t7.length, _i1 = 0; _i1 < t8; ++_i1) {
  98842. simple = t7[_i1];
  98843. J.add$1$ax(t3.putIfAbsent$2(simple, new A.ExtensionStore__registerSelector_closure0()), selector);
  98844. _0_2_isSet = simple instanceof A.PseudoSelector0;
  98845. if (_0_2_isSet) {
  98846. _0_2 = simple.selector;
  98847. t9 = _0_2 != null;
  98848. } else {
  98849. _0_2 = null;
  98850. t9 = false;
  98851. }
  98852. if (t9) {
  98853. selectorInPseudo = _0_2_isSet ? _0_2 : simple.selector;
  98854. this._extension_store$_registerSelector$2(selectorInPseudo == null ? t4._as(selectorInPseudo) : selectorInPseudo, selector);
  98855. }
  98856. }
  98857. },
  98858. addExtension$4(extender, target, extend, mediaContext) {
  98859. var t2, t3, t4, t5, t6, t7, t8, t9, t10, newExtensions, _i, complex, t11, extension, _0_0, t12, newExtensionsByTarget, additionalExtensions, _this = this,
  98860. selectors = _this._extension_store$_selectors.$index(0, target),
  98861. t1 = _this._extension_store$_extensionsByExtender,
  98862. existingExtensions = t1.$index(0, target),
  98863. sources = _this._extension_store$_extensions.putIfAbsent$2(target, new A.ExtensionStore_addExtension_closure2());
  98864. 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) {
  98865. complex = t2[_i];
  98866. if (complex.accept$1(B.C__IsUselessVisitor0))
  98867. continue;
  98868. complex.get$specificity();
  98869. t11 = new A.Extender0(complex, false);
  98870. extension = t11._extension$_extension = new A.Extension0(t11, target, mediaContext, t7, t6);
  98871. _0_0 = sources.$index(0, complex);
  98872. if (_0_0 != null) {
  98873. sources.$indexSet(0, complex, A.MergedExtension_merge0(_0_0, extension));
  98874. continue;
  98875. }
  98876. sources.$indexSet(0, complex, extension);
  98877. for (t11 = new A._SyncStarIterator(_this._extension_store$_simpleSelectors$1(complex)._outerHelper()); t11.moveNext$0();) {
  98878. t12 = t11._async$_current;
  98879. J.add$1$ax(t1.putIfAbsent$2(t12, new A.ExtensionStore_addExtension_closure3()), extension);
  98880. t5.putIfAbsent$2(t12, new A.ExtensionStore_addExtension_closure4(complex));
  98881. }
  98882. if (!t4 || t8) {
  98883. if (newExtensions == null)
  98884. newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t9, t10);
  98885. newExtensions.$indexSet(0, complex, extension);
  98886. }
  98887. }
  98888. if (newExtensions == null)
  98889. return;
  98890. t1 = type$.SimpleSelector_2;
  98891. newExtensionsByTarget = A.LinkedHashMap_LinkedHashMap$_literal([target, newExtensions], t1, type$.Map_ComplexSelector_Extension_2);
  98892. if (t8) {
  98893. additionalExtensions = _this._extension_store$_extendExistingExtensions$2(existingExtensions, newExtensionsByTarget);
  98894. if (additionalExtensions != null)
  98895. A.mapAddAll20(newExtensionsByTarget, additionalExtensions, t1, t9, t10);
  98896. }
  98897. if (!t4)
  98898. _this._extension_store$_extendExistingSelectors$2(selectors, newExtensionsByTarget);
  98899. },
  98900. _extension_store$_simpleSelectors$1(complex) {
  98901. return new A._SyncStarIterable(this._simpleSelectors$body$ExtensionStore0(complex), type$._SyncStarIterable_SimpleSelector_2);
  98902. },
  98903. _simpleSelectors$body$ExtensionStore0($async$complex) {
  98904. var $async$self = this;
  98905. return function() {
  98906. var complex = $async$complex;
  98907. var $async$goto = 0, $async$handler = 1, $async$currentError, t1, t2, t3, _i, t4, t5, _i0, simple, _0_2_isSet, _0_2, t6, selector, t7, _i1;
  98908. return function $async$_extension_store$_simpleSelectors$1($async$iterator, $async$errorCode, $async$result) {
  98909. if ($async$errorCode === 1) {
  98910. $async$currentError = $async$result;
  98911. $async$goto = $async$handler;
  98912. }
  98913. while (true)
  98914. switch ($async$goto) {
  98915. case 0:
  98916. // Function start
  98917. t1 = complex.components, t2 = t1.length, t3 = type$.SelectorList_2, _i = 0;
  98918. case 2:
  98919. // for condition
  98920. if (!(_i < t2)) {
  98921. // goto after for
  98922. $async$goto = 4;
  98923. break;
  98924. }
  98925. t4 = t1[_i].selector.components, t5 = t4.length, _i0 = 0;
  98926. case 5:
  98927. // for condition
  98928. if (!(_i0 < t5)) {
  98929. // goto after for
  98930. $async$goto = 7;
  98931. break;
  98932. }
  98933. simple = t4[_i0];
  98934. $async$goto = 8;
  98935. return $async$iterator._async$_current = simple, 1;
  98936. case 8:
  98937. // after yield
  98938. _0_2_isSet = simple instanceof A.PseudoSelector0;
  98939. if (_0_2_isSet) {
  98940. _0_2 = simple.selector;
  98941. t6 = _0_2 != null;
  98942. } else {
  98943. _0_2 = null;
  98944. t6 = false;
  98945. }
  98946. $async$goto = t6 ? 9 : 10;
  98947. break;
  98948. case 9:
  98949. // then
  98950. selector = _0_2_isSet ? _0_2 : simple.selector;
  98951. t6 = (selector == null ? t3._as(selector) : selector).components, t7 = t6.length, _i1 = 0;
  98952. case 11:
  98953. // for condition
  98954. if (!(_i1 < t7)) {
  98955. // goto after for
  98956. $async$goto = 13;
  98957. break;
  98958. }
  98959. $async$goto = 14;
  98960. return $async$iterator._yieldStar$1($async$self._extension_store$_simpleSelectors$1(t6[_i1]));
  98961. case 14:
  98962. // after yield
  98963. case 12:
  98964. // for update
  98965. ++_i1;
  98966. // goto for condition
  98967. $async$goto = 11;
  98968. break;
  98969. case 13:
  98970. // after for
  98971. case 10:
  98972. // join
  98973. case 6:
  98974. // for update
  98975. ++_i0;
  98976. // goto for condition
  98977. $async$goto = 5;
  98978. break;
  98979. case 7:
  98980. // after for
  98981. case 3:
  98982. // for update
  98983. ++_i;
  98984. // goto for condition
  98985. $async$goto = 2;
  98986. break;
  98987. case 4:
  98988. // after for
  98989. // implicit return
  98990. return 0;
  98991. case 1:
  98992. // rethrow
  98993. return $async$iterator._datum = $async$currentError, 3;
  98994. }
  98995. };
  98996. };
  98997. },
  98998. _extension_store$_extendExistingExtensions$2(extensions, newExtensions) {
  98999. 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;
  99000. 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) {
  99001. extension = t1[_i];
  99002. t7 = t6.$index(0, extension.target);
  99003. t7.toString;
  99004. selectors = null;
  99005. try {
  99006. selectors = this._extension_store$_extendComplex$3(extension.extender.selector, newExtensions, extension.mediaContext);
  99007. if (selectors == null)
  99008. continue;
  99009. } catch (exception) {
  99010. t8 = A.unwrapException(exception);
  99011. if (t8 instanceof A.SassException0) {
  99012. error = t8;
  99013. stackTrace = A.getTraceFromException(exception);
  99014. A.throwWithTrace0(error.withAdditionalSpan$2(extension.extender.selector.span, "target selector"), error, stackTrace);
  99015. } else
  99016. throw exception;
  99017. }
  99018. t8 = J.get$first$ax(selectors);
  99019. t9 = extension.extender.selector;
  99020. if (B.C_ListEquality.equals$2(0, t8.leadingCombinators, t9.leadingCombinators) && B.C_ListEquality.equals$2(0, t8.components, t9.components)) {
  99021. t8 = selectors;
  99022. t9 = A._arrayInstanceType(t8);
  99023. selectors0 = new A.SubListIterable(t8, 1, null, t9._eval$1("SubListIterable<1>"));
  99024. selectors0.SubListIterable$3(t8, 1, null, t9._precomputed1);
  99025. selectors = selectors0;
  99026. }
  99027. for (t8 = J.get$iterator$ax(selectors); t8.moveNext$0();) {
  99028. t9 = t8.get$current(t8);
  99029. t10 = extension;
  99030. t11 = t10.target;
  99031. t12 = t10.span;
  99032. t13 = t10.mediaContext;
  99033. t10 = t10.isOptional;
  99034. t9.get$specificity();
  99035. t14 = new A.Extender0(t9, false);
  99036. withExtender = t14._extension$_extension = new A.Extension0(t14, t11, t13, t10, t12);
  99037. _0_0 = t7.$index(0, t9);
  99038. if (_0_0 != null)
  99039. t7.$indexSet(0, t9, A.MergedExtension_merge0(_0_0, withExtender));
  99040. else {
  99041. t7.$indexSet(0, t9, withExtender);
  99042. for (t10 = t9.components, t11 = t10.length, _i0 = 0; _i0 < t11; ++_i0)
  99043. for (t12 = t10[_i0].selector.components, t13 = t12.length, _i1 = 0; _i1 < t13; ++_i1)
  99044. J.add$1$ax(t3.putIfAbsent$2(t12[_i1], new A.ExtensionStore__extendExistingExtensions_closure1()), withExtender);
  99045. if (newExtensions.containsKey$1(extension.target)) {
  99046. if (additionalExtensions == null)
  99047. additionalExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t4, t5);
  99048. additionalExtensions.putIfAbsent$2(extension.target, new A.ExtensionStore__extendExistingExtensions_closure2()).$indexSet(0, t9, withExtender);
  99049. }
  99050. }
  99051. }
  99052. }
  99053. return additionalExtensions;
  99054. },
  99055. _extension_store$_extendExistingSelectors$2(selectors, newExtensions) {
  99056. var selector, error, stackTrace, t1, t2, oldValue, exception, t3, t4, t5, t6;
  99057. for (t1 = selectors.get$iterator(selectors), t2 = this._extension_store$_mediaContexts; t1.moveNext$0();) {
  99058. selector = t1.get$current(t1);
  99059. oldValue = selector.value;
  99060. try {
  99061. selector.value = this._extension_store$_extendList$3(selector.value, newExtensions, t2.$index(0, selector));
  99062. } catch (exception) {
  99063. t3 = A.unwrapException(exception);
  99064. if (t3 instanceof A.SassException0) {
  99065. error = t3;
  99066. stackTrace = A.getTraceFromException(exception);
  99067. t3 = selector.value.span.message$1(0, "");
  99068. t4 = error._span_exception$_message;
  99069. t5 = error;
  99070. t6 = J.getInterceptor$z(t5);
  99071. t5 = A.SourceSpanException.prototype.get$span.call(t6, t5);
  99072. A.throwWithTrace0(new A.SassException0(B.Set_empty, "From " + t3 + "\n" + t4, t5), error, stackTrace);
  99073. } else
  99074. throw exception;
  99075. }
  99076. if (oldValue === selector.value)
  99077. continue;
  99078. this._extension_store$_registerSelector$2(selector.value, selector);
  99079. }
  99080. },
  99081. addExtensions$1(extensionStores) {
  99082. 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;
  99083. 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();) {
  99084. t12 = t1.get$current(t1);
  99085. if (t12.get$isEmpty(t12))
  99086. continue;
  99087. t11.addAll$1(0, t12.get$_extension_store$_sourceSpecificity());
  99088. for (t12 = A.MapExtensions_get_pairs0(t12.get$_extension_store$_extensions(), t2, t3), t12 = t12.get$iterator(t12); t12.moveNext$0();) {
  99089. t13 = t12.get$current(t12);
  99090. target = t13._0;
  99091. newSources = t13._1;
  99092. if (target instanceof A.PlaceholderSelector0) {
  99093. first = target.name.charCodeAt(0);
  99094. t13 = first === 45 || first === 95;
  99095. } else
  99096. t13 = false;
  99097. if (t13)
  99098. continue;
  99099. extensionsForTarget = t8.$index(0, target);
  99100. t13 = extensionsForTarget == null;
  99101. if (!t13) {
  99102. if (extensionsToExtend == null) {
  99103. extensionsToExtend = A._setArrayType([], t9);
  99104. t14 = extensionsToExtend;
  99105. } else
  99106. t14 = extensionsToExtend;
  99107. B.JSArray_methods.addAll$1(t14, extensionsForTarget);
  99108. }
  99109. selectorsForTarget = t7.$index(0, target);
  99110. t14 = selectorsForTarget != null;
  99111. if (t14) {
  99112. if (selectorsToExtend == null) {
  99113. selectorsToExtend = A.LinkedHashSet_LinkedHashSet$_empty(t10);
  99114. t15 = selectorsToExtend;
  99115. } else
  99116. t15 = selectorsToExtend;
  99117. t15.addAll$1(0, selectorsForTarget);
  99118. }
  99119. _2_0 = t4.$index(0, target);
  99120. if (_2_0 != null)
  99121. for (t15 = A.MapExtensions_get_pairs0(newSources, t5, t6), t15 = t15.get$iterator(t15); t15.moveNext$0();) {
  99122. t16 = t15.get$current(t15);
  99123. extender = t16._0;
  99124. extension = t16._1;
  99125. if (_2_0.containsKey$1(extender)) {
  99126. t16 = _2_0.$index(0, extender);
  99127. extension = A.MergedExtension_merge0(t16 == null ? t6._as(t16) : t16, extension);
  99128. _2_0.$indexSet(0, extender, extension);
  99129. } else
  99130. _2_0.$indexSet(0, extender, extension);
  99131. if (!t13 || t14) {
  99132. if (newExtensions == null) {
  99133. newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t2, t3);
  99134. t16 = newExtensions;
  99135. } else
  99136. t16 = newExtensions;
  99137. J.$indexSet$ax(t16.putIfAbsent$2(target, new A.ExtensionStore_addExtensions_closure0()), extender, extension);
  99138. }
  99139. }
  99140. else {
  99141. t15 = A.LinkedHashMap_LinkedHashMap(_null, _null, _null, t5, t6);
  99142. t15.addAll$1(0, newSources);
  99143. t4.$indexSet(0, target, t15);
  99144. if (!t13 || t14) {
  99145. if (newExtensions == null) {
  99146. newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t2, t3);
  99147. t13 = newExtensions;
  99148. } else
  99149. t13 = newExtensions;
  99150. t14 = A.LinkedHashMap_LinkedHashMap(_null, _null, _null, t5, t6);
  99151. t14.addAll$1(0, newSources);
  99152. t13.$indexSet(0, target, t14);
  99153. }
  99154. }
  99155. }
  99156. }
  99157. if (newExtensions != null) {
  99158. if (extensionsToExtend != null)
  99159. _this._extension_store$_extendExistingExtensions$2(extensionsToExtend, newExtensions);
  99160. if (selectorsToExtend != null)
  99161. _this._extension_store$_extendExistingSelectors$2(selectorsToExtend, newExtensions);
  99162. }
  99163. },
  99164. _extension_store$_extendList$3(list, extensions, mediaQueryContext) {
  99165. var t1, t2, t3, extended, i, complex, result, t4;
  99166. for (t1 = list.components, t2 = t1.length, t3 = type$.JSArray_ComplexSelector_2, extended = null, i = 0; i < t2; ++i) {
  99167. complex = t1[i];
  99168. result = this._extension_store$_extendComplex$3(complex, extensions, mediaQueryContext);
  99169. if (result == null) {
  99170. if (extended != null)
  99171. extended.push(complex);
  99172. } else {
  99173. if (extended == null)
  99174. if (i === 0)
  99175. extended = A._setArrayType([], t3);
  99176. else {
  99177. t4 = B.JSArray_methods.sublist$2(t1, 0, i);
  99178. extended = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
  99179. }
  99180. B.JSArray_methods.addAll$1(extended, result);
  99181. }
  99182. }
  99183. if (extended == null)
  99184. return list;
  99185. t1 = this._extension_store$_originals;
  99186. return A.SelectorList$0(this._extension_store$_trim$2(extended, t1.get$contains(t1)), list.span);
  99187. },
  99188. _extension_store$_extendList$2(list, extensions) {
  99189. return this._extension_store$_extendList$3(list, extensions, null);
  99190. },
  99191. _extension_store$_extendComplex$3(complex, extensions, mediaQueryContext) {
  99192. var isOriginal, t3, t4, t5, t6, t7, t8, t9, t10, extendedNotExpanded, i, component, extended, t11, t12, t13, t14, _box_0 = {},
  99193. t1 = complex.leadingCombinators,
  99194. t2 = t1.length;
  99195. if (t2 > 1)
  99196. return null;
  99197. isOriginal = this._extension_store$_originals.contains$1(0, complex);
  99198. 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) {
  99199. component = t3[i];
  99200. extended = this._extension_store$_extendCompound$4$inOriginal(component, extensions, mediaQueryContext, isOriginal);
  99201. if (extended == null) {
  99202. if (extendedNotExpanded != null)
  99203. extendedNotExpanded.push(A._setArrayType([A.ComplexSelector$0(B.List_empty14, A._setArrayType([component], t10), t8, t6)], t9));
  99204. } else if (extendedNotExpanded != null)
  99205. extendedNotExpanded.push(extended);
  99206. else if (i !== 0) {
  99207. t11 = A._arrayInstanceType(t3);
  99208. t12 = new A.SubListIterable(t3, 0, i, t11._eval$1("SubListIterable<1>"));
  99209. t12.SubListIterable$3(t3, 0, i, t11._precomputed1);
  99210. extendedNotExpanded = A._setArrayType([A._setArrayType([A.ComplexSelector$0(t1, t12, t8, t6)], t9), extended], t5);
  99211. } else if (t2)
  99212. extendedNotExpanded = A._setArrayType([extended], t5);
  99213. else {
  99214. t11 = A._setArrayType([], t9);
  99215. for (t12 = J.get$iterator$ax(extended); t12.moveNext$0();) {
  99216. t13 = t12.get$current(t12);
  99217. t14 = t13.leadingCombinators;
  99218. if (t14.length === 0 || B.C_ListEquality.equals$2(0, t1, t14)) {
  99219. t14 = t13.components;
  99220. t11.push(A.ComplexSelector$0(t1, t14, t8, !t7 || t13.lineBreak));
  99221. }
  99222. }
  99223. extendedNotExpanded = A._setArrayType([t11], t5);
  99224. }
  99225. }
  99226. if (extendedNotExpanded == null)
  99227. return null;
  99228. _box_0.first = true;
  99229. t1 = type$.ComplexSelector_2;
  99230. t1 = J.expand$1$1$ax(A.paths0(extendedNotExpanded, t1), new A.ExtensionStore__extendComplex_closure0(_box_0, this, complex), t1);
  99231. return A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E"));
  99232. },
  99233. _extension_store$_extendCompound$4$inOriginal(component, extensions, mediaQueryContext, inOriginal) {
  99234. 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,
  99235. t1 = _this._extension_store$_mode,
  99236. targetsUsed = t1 === B.ExtendMode_normal_normal0 || extensions.__js_helper$_length < 2 ? _null : A.LinkedHashSet_LinkedHashSet$_empty(type$.SimpleSelector_2),
  99237. t2 = component.selector,
  99238. simples = t2.components;
  99239. 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) {
  99240. simple = simples[i];
  99241. extended = _this._extension_store$_extendSimple$4(simple, extensions, mediaQueryContext, targetsUsed);
  99242. if (extended == null) {
  99243. if (options != null)
  99244. options.push(A._setArrayType([_this._extension_store$_extenderForSimple$1(simple)], t5));
  99245. } else {
  99246. if (options == null) {
  99247. options = A._setArrayType([], t4);
  99248. if (i !== 0) {
  99249. t12 = new A.SubListIterable(simples, 0, i, t8);
  99250. t12.SubListIterable$3(simples, 0, i, t9);
  99251. result = A.List_List$from(t12, false, t11);
  99252. result.fixed$length = Array;
  99253. result.immutable$list = Array;
  99254. t12 = result;
  99255. compound = new A.CompoundSelector0(t12, t10);
  99256. if (t12.length === 0)
  99257. A.throwExpression(A.ArgumentError$("components may not be empty.", _null));
  99258. result = A.List_List$from(B.List_empty14, false, t6);
  99259. result.fixed$length = Array;
  99260. result.immutable$list = Array;
  99261. t12 = A.ComplexSelector$0(B.List_empty14, A._setArrayType([new A.ComplexSelectorComponent0(compound, result, t10)], t7), t10, false);
  99262. _this._extension_store$_sourceSpecificityFor$1(compound);
  99263. options.push(A._setArrayType([new A.Extender0(t12, true)], t5));
  99264. }
  99265. }
  99266. B.JSArray_methods.addAll$1(options, extended);
  99267. }
  99268. }
  99269. if (options == null)
  99270. return _null;
  99271. if (targetsUsed != null && targetsUsed._collection$_length !== extensions.__js_helper$_length)
  99272. return _null;
  99273. if (options.length === 1) {
  99274. for (t1 = J.get$iterator$ax(options[0]), t2 = component.combinators, t3 = type$.JSArray_ComplexSelector_2, result = _null; t1.moveNext$0();) {
  99275. t4 = t1.get$current(t1);
  99276. t4.assertCompatibleMediaContext$1(mediaQueryContext);
  99277. complex = t4.selector.withAdditionalCombinators$1(t2);
  99278. if (complex.accept$1(B.C__IsUselessVisitor0))
  99279. continue;
  99280. if (result == null)
  99281. result = A._setArrayType([], t3);
  99282. result.push(complex);
  99283. }
  99284. return result;
  99285. }
  99286. extenderPaths = A.paths0(options, type$.Extender_2);
  99287. t3 = A._setArrayType([], type$.JSArray_ComplexSelector_2);
  99288. t1 = t1 === B.ExtendMode_replace_replace0;
  99289. t4 = !t1;
  99290. if (t4)
  99291. t3.push(A.ComplexSelector$0(B.List_empty14, 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));
  99292. t2 = J.skip$1$ax(extenderPaths, t1 ? 0 : 1);
  99293. t5 = t2.$ti;
  99294. t2 = new A.ListIterator(t2, t2.get$length(0), t5._eval$1("ListIterator<ListIterable.E>"));
  99295. t6 = component.combinators;
  99296. t5 = t5._eval$1("ListIterable.E");
  99297. for (; t2.moveNext$0();) {
  99298. t1 = t2.__internal$_current;
  99299. extended = _this._extension_store$_unifyExtenders$3(t1 == null ? t5._as(t1) : t1, mediaQueryContext, t10);
  99300. if (extended == null)
  99301. continue;
  99302. for (t1 = J.get$iterator$ax(extended); t1.moveNext$0();) {
  99303. withCombinators = t1.get$current(t1).withAdditionalCombinators$1(t6);
  99304. if (!withCombinators.accept$1(B.C__IsUselessVisitor0))
  99305. t3.push(withCombinators);
  99306. }
  99307. }
  99308. isOriginal = new A.ExtensionStore__extendCompound_closure3();
  99309. return _this._extension_store$_trim$2(t3, inOriginal && t4 ? new A.ExtensionStore__extendCompound_closure4(B.JSArray_methods.get$first(t3)) : isOriginal);
  99310. },
  99311. _extension_store$_unifyExtenders$3(extenders, mediaQueryContext, span) {
  99312. var t1, t2, t3, originals, originalsLineBreak, t4, complexes, _null = null,
  99313. toUnify = A.QueueList$(_null, type$.ComplexSelector_2);
  99314. for (t1 = J.getInterceptor$ax(extenders), t2 = t1.get$iterator(extenders), t3 = type$.JSArray_SimpleSelector_2, originals = _null, originalsLineBreak = false; t2.moveNext$0();) {
  99315. t4 = t2.get$current(t2);
  99316. if (t4.isOriginal) {
  99317. if (originals == null)
  99318. originals = A._setArrayType([], t3);
  99319. t4 = t4.selector;
  99320. B.JSArray_methods.addAll$1(originals, B.JSArray_methods.get$last(t4.components).selector.components);
  99321. originalsLineBreak = originalsLineBreak || t4.lineBreak;
  99322. } else {
  99323. t4 = t4.selector;
  99324. if (t4.accept$1(B.C__IsUselessVisitor0))
  99325. return _null;
  99326. else
  99327. toUnify._queue_list$_add$1(t4);
  99328. }
  99329. }
  99330. if (originals != null)
  99331. toUnify.addFirst$1(A.ComplexSelector$0(B.List_empty14, A._setArrayType([new A.ComplexSelectorComponent0(A.CompoundSelector$0(originals, span), A.List_List$unmodifiable(B.List_empty14, type$.CssValue_Combinator_2), span)], type$.JSArray_ComplexSelectorComponent_2), span, originalsLineBreak));
  99332. complexes = A.unifyComplex0(toUnify, span);
  99333. if (complexes == null)
  99334. return _null;
  99335. for (t1 = t1.get$iterator(extenders); t1.moveNext$0();)
  99336. t1.get$current(t1).assertCompatibleMediaContext$1(mediaQueryContext);
  99337. return complexes;
  99338. },
  99339. _extension_store$_extendSimple$4(simple, extensions, mediaQueryContext, targetsUsed) {
  99340. var t2, _1_0,
  99341. t1 = new A.ExtensionStore__extendSimple_withoutPseudo0(this, extensions, targetsUsed);
  99342. if (simple instanceof A.PseudoSelector0)
  99343. t2 = simple.selector != null;
  99344. else
  99345. t2 = false;
  99346. if (t2) {
  99347. _1_0 = this._extension_store$_extendPseudo$3(simple, extensions, mediaQueryContext);
  99348. if (_1_0 != null)
  99349. return new A.MappedListIterable(_1_0, new A.ExtensionStore__extendSimple_closure1(this, t1), A._arrayInstanceType(_1_0)._eval$1("MappedListIterable<1,List<Extender0>>"));
  99350. }
  99351. return A.NullableExtension_andThen0(t1.call$1(simple), new A.ExtensionStore__extendSimple_closure2());
  99352. },
  99353. _extension_store$_extenderForSimple$1(simple) {
  99354. var t1 = simple.span;
  99355. t1 = A.ComplexSelector$0(B.List_empty14, A._setArrayType([new A.ComplexSelectorComponent0(A.CompoundSelector$0(A._setArrayType([simple], type$.JSArray_SimpleSelector_2), t1), A.List_List$unmodifiable(B.List_empty14, type$.CssValue_Combinator_2), t1)], type$.JSArray_ComplexSelectorComponent_2), t1, false);
  99356. this._extension_store$_sourceSpecificity.$index(0, simple);
  99357. return new A.Extender0(t1, true);
  99358. },
  99359. _extension_store$_extendPseudo$3(pseudo, extensions, mediaQueryContext) {
  99360. var extended, complexes, t1, result,
  99361. selector = pseudo.selector;
  99362. if (selector == null)
  99363. throw A.wrapException(A.ArgumentError$("Selector " + pseudo.toString$0(0) + " must have a selector argument.", null));
  99364. extended = this._extension_store$_extendList$3(selector, extensions, mediaQueryContext);
  99365. if (extended === selector)
  99366. return null;
  99367. complexes = extended.components;
  99368. t1 = pseudo.normalizedName === "not";
  99369. 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()))
  99370. complexes = new A.WhereIterable(complexes, new A.ExtensionStore__extendPseudo_closure6(), A._arrayInstanceType(complexes)._eval$1("WhereIterable<1>"));
  99371. complexes = J.expand$1$1$ax(complexes, new A.ExtensionStore__extendPseudo_closure7(pseudo), type$.ComplexSelector_2);
  99372. if (t1 && selector.components.length === 1) {
  99373. t1 = A.MappedIterable_MappedIterable(complexes, new A.ExtensionStore__extendPseudo_closure8(pseudo, selector), complexes.$ti._eval$1("Iterable.E"), type$.PseudoSelector_2);
  99374. result = A.List_List$of(t1, true, A._instanceType(t1)._eval$1("Iterable.E"));
  99375. return result.length === 0 ? null : result;
  99376. } else
  99377. return A._setArrayType([pseudo.withSelector$1(A.SelectorList$0(complexes, selector.span))], type$.JSArray_PseudoSelector_2);
  99378. },
  99379. _extension_store$_trim$2(selectors, isOriginal) {
  99380. var result, i, t1, t2, numOriginals, _box_0, complex1, j, t3, t4, _i, t5, maxSpecificity;
  99381. if (selectors.length > 100)
  99382. return selectors;
  99383. result = A.QueueList$(null, type$.ComplexSelector_2);
  99384. $label0$0:
  99385. for (i = selectors.length - 1, t1 = A._arrayInstanceType(selectors), t2 = t1._precomputed1, t1 = t1._eval$1("SubListIterable<1>"), numOriginals = 0; i >= 0; --i) {
  99386. _box_0 = {};
  99387. complex1 = selectors[i];
  99388. if (isOriginal.call$1(complex1)) {
  99389. for (j = 0; j < numOriginals; ++j)
  99390. if (J.$eq$(result.$index(0, j), complex1)) {
  99391. A.rotateSlice0(result, 0, j + 1);
  99392. continue $label0$0;
  99393. }
  99394. ++numOriginals;
  99395. result.addFirst$1(complex1);
  99396. continue $label0$0;
  99397. }
  99398. _box_0.maxSpecificity = 0;
  99399. for (t3 = complex1.components, t4 = t3.length, _i = 0, t5 = 0; _i < t4; ++_i, t5 = maxSpecificity) {
  99400. maxSpecificity = Math.max(t5, this._extension_store$_sourceSpecificityFor$1(t3[_i].selector));
  99401. _box_0.maxSpecificity = maxSpecificity;
  99402. }
  99403. if (result.any$1(result, new A.ExtensionStore__trim_closure1(_box_0, complex1)))
  99404. continue $label0$0;
  99405. t3 = new A.SubListIterable(selectors, 0, i, t1);
  99406. t3.SubListIterable$3(selectors, 0, i, t2);
  99407. if (t3.any$1(0, new A.ExtensionStore__trim_closure2(_box_0, complex1)))
  99408. continue $label0$0;
  99409. result.addFirst$1(complex1);
  99410. }
  99411. return result;
  99412. },
  99413. _extension_store$_sourceSpecificityFor$1(compound) {
  99414. var t1, t2, t3, specificity, _i, t4;
  99415. for (t1 = compound.components, t2 = t1.length, t3 = this._extension_store$_sourceSpecificity, specificity = 0, _i = 0; _i < t2; ++_i) {
  99416. t4 = t3.$index(0, t1[_i]);
  99417. specificity = Math.max(specificity, A.checkNum(t4 == null ? 0 : t4));
  99418. }
  99419. return specificity;
  99420. },
  99421. clone$0() {
  99422. var t2, t3, t4, _this = this,
  99423. t1 = type$.SimpleSelector_2,
  99424. newSelectors = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Set_ModifiableBox_SelectorList_2),
  99425. newMediaContexts = A.LinkedHashMap_LinkedHashMap$_empty(type$.ModifiableBox_SelectorList_2, type$.List_CssMediaQuery_2),
  99426. oldToNewSelectors = new A.JsIdentityLinkedHashMap(type$.JsIdentityLinkedHashMap_of_SelectorList_and_Box_SelectorList_2);
  99427. _this._extension_store$_selectors.forEach$1(0, new A.ExtensionStore_clone_closure0(_this, newSelectors, oldToNewSelectors, newMediaContexts));
  99428. t2 = type$.Extension_2;
  99429. t3 = A.copyMapOfMap0(_this._extension_store$_extensions, t1, type$.ComplexSelector_2, t2);
  99430. t2 = A.copyMapOfList0(_this._extension_store$_extensionsByExtender, t1, t2);
  99431. t1 = new A.JsIdentityLinkedHashMap(type$.JsIdentityLinkedHashMap_SimpleSelector_int_2);
  99432. t1.addAll$1(0, _this._extension_store$_sourceSpecificity);
  99433. t4 = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_ComplexSelector_2);
  99434. t4.addAll$1(0, _this._extension_store$_originals);
  99435. return new A._Record_2(new A.ExtensionStore0(newSelectors, t3, t2, newMediaContexts, t1, t4, B.ExtendMode_normal_normal0), oldToNewSelectors);
  99436. },
  99437. get$_extension_store$_extensions() {
  99438. return this._extension_store$_extensions;
  99439. },
  99440. get$_extension_store$_sourceSpecificity() {
  99441. return this._extension_store$_sourceSpecificity;
  99442. }
  99443. };
  99444. A.ExtensionStore_extensionsWhereTarget_closure0.prototype = {
  99445. call$1(extension) {
  99446. return !extension.isOptional;
  99447. },
  99448. $signature: 441
  99449. };
  99450. A.ExtensionStore__registerSelector_closure0.prototype = {
  99451. call$0() {
  99452. return A.LinkedHashSet_LinkedHashSet$_empty(type$.ModifiableBox_SelectorList_2);
  99453. },
  99454. $signature: 442
  99455. };
  99456. A.ExtensionStore_addExtension_closure2.prototype = {
  99457. call$0() {
  99458. return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector_2, type$.Extension_2);
  99459. },
  99460. $signature: 127
  99461. };
  99462. A.ExtensionStore_addExtension_closure3.prototype = {
  99463. call$0() {
  99464. return A._setArrayType([], type$.JSArray_Extension_2);
  99465. },
  99466. $signature: 251
  99467. };
  99468. A.ExtensionStore_addExtension_closure4.prototype = {
  99469. call$0() {
  99470. return this.complex.get$specificity();
  99471. },
  99472. $signature: 10
  99473. };
  99474. A.ExtensionStore__extendExistingExtensions_closure1.prototype = {
  99475. call$0() {
  99476. return A._setArrayType([], type$.JSArray_Extension_2);
  99477. },
  99478. $signature: 251
  99479. };
  99480. A.ExtensionStore__extendExistingExtensions_closure2.prototype = {
  99481. call$0() {
  99482. return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector_2, type$.Extension_2);
  99483. },
  99484. $signature: 127
  99485. };
  99486. A.ExtensionStore_addExtensions_closure0.prototype = {
  99487. call$0() {
  99488. return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector_2, type$.Extension_2);
  99489. },
  99490. $signature: 127
  99491. };
  99492. A.ExtensionStore__extendComplex_closure0.prototype = {
  99493. call$1(path) {
  99494. var t1 = this.complex;
  99495. 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);
  99496. },
  99497. $signature: 445
  99498. };
  99499. A.ExtensionStore__extendComplex__closure0.prototype = {
  99500. call$1(outputComplex) {
  99501. var _this = this,
  99502. t1 = _this._box_0;
  99503. if (t1.first && _this.$this._extension_store$_originals.contains$1(0, _this.complex))
  99504. _this.$this._extension_store$_originals.add$1(0, outputComplex);
  99505. t1.first = false;
  99506. return outputComplex;
  99507. },
  99508. $signature: 56
  99509. };
  99510. A.ExtensionStore__extendCompound_closure2.prototype = {
  99511. call$1(extender) {
  99512. return B.JSArray_methods.get$last(extender.selector.components).selector.components;
  99513. },
  99514. $signature: 447
  99515. };
  99516. A.ExtensionStore__extendCompound_closure3.prototype = {
  99517. call$1(_) {
  99518. return false;
  99519. },
  99520. $signature: 18
  99521. };
  99522. A.ExtensionStore__extendCompound_closure4.prototype = {
  99523. call$1(complex) {
  99524. return complex.$eq(0, this.original);
  99525. },
  99526. $signature: 18
  99527. };
  99528. A.ExtensionStore__extendSimple_withoutPseudo0.prototype = {
  99529. call$1(simple) {
  99530. var t1, t2,
  99531. extensionsForSimple = this.extensions.$index(0, simple);
  99532. if (extensionsForSimple == null)
  99533. return null;
  99534. t1 = this.targetsUsed;
  99535. if (t1 != null)
  99536. t1.add$1(0, simple);
  99537. t1 = A._setArrayType([], type$.JSArray_Extender_2);
  99538. t2 = this.$this;
  99539. if (t2._extension_store$_mode !== B.ExtendMode_replace_replace0)
  99540. t1.push(t2._extension_store$_extenderForSimple$1(simple));
  99541. for (t2 = extensionsForSimple.get$values(extensionsForSimple), t2 = t2.get$iterator(t2); t2.moveNext$0();)
  99542. t1.push(t2.get$current(t2).extender);
  99543. return t1;
  99544. },
  99545. $signature: 448
  99546. };
  99547. A.ExtensionStore__extendSimple_closure1.prototype = {
  99548. call$1(pseudo) {
  99549. var t1 = this.withoutPseudo.call$1(pseudo);
  99550. return t1 == null ? A._setArrayType([this.$this._extension_store$_extenderForSimple$1(pseudo)], type$.JSArray_Extender_2) : t1;
  99551. },
  99552. $signature: 449
  99553. };
  99554. A.ExtensionStore__extendSimple_closure2.prototype = {
  99555. call$1(result) {
  99556. return A._setArrayType([result], type$.JSArray_List_Extender_2);
  99557. },
  99558. $signature: 450
  99559. };
  99560. A.ExtensionStore__extendPseudo_closure4.prototype = {
  99561. call$1(complex) {
  99562. return complex.components.length > 1;
  99563. },
  99564. $signature: 18
  99565. };
  99566. A.ExtensionStore__extendPseudo_closure5.prototype = {
  99567. call$1(complex) {
  99568. return complex.components.length === 1;
  99569. },
  99570. $signature: 18
  99571. };
  99572. A.ExtensionStore__extendPseudo_closure6.prototype = {
  99573. call$1(complex) {
  99574. return complex.components.length <= 1;
  99575. },
  99576. $signature: 18
  99577. };
  99578. A.ExtensionStore__extendPseudo_closure7.prototype = {
  99579. call$1(complex) {
  99580. var innerPseudo, innerSelector,
  99581. t1 = complex.get$singleCompound();
  99582. if (t1 == null)
  99583. innerPseudo = null;
  99584. else {
  99585. t1 = t1.components;
  99586. innerPseudo = t1.length === 1 ? B.JSArray_methods.get$first(t1) : null;
  99587. }
  99588. if (!(innerPseudo instanceof A.PseudoSelector0))
  99589. return A._setArrayType([complex], type$.JSArray_ComplexSelector_2);
  99590. innerSelector = innerPseudo.selector;
  99591. if (innerSelector == null)
  99592. return A._setArrayType([complex], type$.JSArray_ComplexSelector_2);
  99593. t1 = this.pseudo;
  99594. switch (t1.normalizedName) {
  99595. case "not":
  99596. if (!B.Set_mlzm2.contains$1(0, innerPseudo.normalizedName))
  99597. return A._setArrayType([], type$.JSArray_ComplexSelector_2);
  99598. return innerSelector.components;
  99599. case "is":
  99600. case "matches":
  99601. case "where":
  99602. case "any":
  99603. case "current":
  99604. case "nth-child":
  99605. case "nth-last-child":
  99606. if (innerPseudo.name !== t1.name)
  99607. return A._setArrayType([], type$.JSArray_ComplexSelector_2);
  99608. if (innerPseudo.argument != t1.argument)
  99609. return A._setArrayType([], type$.JSArray_ComplexSelector_2);
  99610. return innerSelector.components;
  99611. case "has":
  99612. case "host":
  99613. case "host-context":
  99614. case "slotted":
  99615. return A._setArrayType([complex], type$.JSArray_ComplexSelector_2);
  99616. default:
  99617. return A._setArrayType([], type$.JSArray_ComplexSelector_2);
  99618. }
  99619. },
  99620. $signature: 451
  99621. };
  99622. A.ExtensionStore__extendPseudo_closure8.prototype = {
  99623. call$1(complex) {
  99624. return this.pseudo.withSelector$1(A.SelectorList$0(A._setArrayType([complex], type$.JSArray_ComplexSelector_2), this.selector.span));
  99625. },
  99626. $signature: 452
  99627. };
  99628. A.ExtensionStore__trim_closure1.prototype = {
  99629. call$1(complex2) {
  99630. return complex2.get$specificity() >= this._box_0.maxSpecificity && complex2.isSuperselector$1(this.complex1);
  99631. },
  99632. $signature: 18
  99633. };
  99634. A.ExtensionStore__trim_closure2.prototype = {
  99635. call$1(complex2) {
  99636. return complex2.get$specificity() >= this._box_0.maxSpecificity && complex2.isSuperselector$1(this.complex1);
  99637. },
  99638. $signature: 18
  99639. };
  99640. A.ExtensionStore_clone_closure0.prototype = {
  99641. call$2(simple, selectors) {
  99642. var t2, t3, t4, t5, t6, t7, newSelector, _0_0, _this = this,
  99643. t1 = type$.ModifiableBox_SelectorList_2,
  99644. newSelectorSet = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  99645. _this.newSelectors.$indexSet(0, simple, newSelectorSet);
  99646. for (t2 = selectors.get$iterator(selectors), t3 = _this.oldToNewSelectors, t4 = type$.Box_SelectorList_2, t5 = _this.$this._extension_store$_mediaContexts, t6 = _this.newMediaContexts; t2.moveNext$0();) {
  99647. t7 = t2.get$current(t2);
  99648. newSelector = new A.ModifiableBox0(t7.value, t1);
  99649. newSelectorSet.add$1(0, newSelector);
  99650. t3.$indexSet(0, t7.value, new A.Box0(newSelector, t4));
  99651. _0_0 = t5.$index(0, t7);
  99652. if (_0_0 != null)
  99653. t6.$indexSet(0, newSelector, _0_0);
  99654. }
  99655. },
  99656. $signature: 453
  99657. };
  99658. A.FiberClass.prototype = {};
  99659. A.Fiber.prototype = {};
  99660. A.JSToDartFileImporter.prototype = {
  99661. canonicalize$1(_, url) {
  99662. var result, t1, resultUrl;
  99663. if (url.get$scheme() === "file")
  99664. return $.$get$FilesystemImporter_cwd0().canonicalize$1(0, url);
  99665. result = A.wrapJSExceptions(new A.JSToDartFileImporter_canonicalize_closure(this, url));
  99666. if (result == null)
  99667. return null;
  99668. t1 = self.Promise;
  99669. if (result instanceof t1)
  99670. A.jsThrow(new self.Error("The findFileUrl() function can't return a Promise for synchron compile functions."));
  99671. else {
  99672. t1 = self.URL;
  99673. if (!(result instanceof t1))
  99674. A.jsThrow(new self.Error(string$.The_fie));
  99675. }
  99676. resultUrl = A.Uri_parse(J.toString$0$(type$.JSUrl._as(result)));
  99677. if (resultUrl.get$scheme() !== "file")
  99678. A.jsThrow(new self.Error(string$.The_fiu + url.toString$0(0) + '".'));
  99679. return $.$get$FilesystemImporter_cwd0().canonicalize$1(0, resultUrl);
  99680. },
  99681. load$1(_, url) {
  99682. return $.$get$FilesystemImporter_cwd0().load$1(0, url);
  99683. },
  99684. isNonCanonicalScheme$1(scheme) {
  99685. return scheme !== "file";
  99686. }
  99687. };
  99688. A.JSToDartFileImporter_canonicalize_closure.prototype = {
  99689. call$0() {
  99690. return this.$this._file0$_findFileUrl.call$2(this.url.toString$0(0), A.canonicalizeContext0());
  99691. },
  99692. $signature: 31
  99693. };
  99694. A.FilesystemImporter0.prototype = {
  99695. canonicalize$1(_, url) {
  99696. var resolved;
  99697. if (url.get$scheme() === "file")
  99698. resolved = A.resolveImportPath0($.$get$context().style.pathFromUri$1(A._parseUri(url)));
  99699. else if (url.get$scheme() !== "")
  99700. return null;
  99701. else {
  99702. resolved = A.resolveImportPath0(A.join(this._filesystem$_loadPath, $.$get$context().style.pathFromUri$1(A._parseUri(url)), null));
  99703. if (resolved != null && this._filesystem$_loadPathDeprecated)
  99704. A.warnForDeprecation0(string$.Using_t, B.Deprecation_kmo);
  99705. }
  99706. return A.NullableExtension_andThen0(resolved, new A.FilesystemImporter_canonicalize_closure0());
  99707. },
  99708. load$1(_, url) {
  99709. var path = $.$get$context().style.pathFromUri$1(A._parseUri(url));
  99710. return A.ImporterResult$(A.readFile0(path), url, A.Syntax_forPath0(path));
  99711. },
  99712. toString$0(_) {
  99713. return this._filesystem$_loadPath;
  99714. }
  99715. };
  99716. A.FilesystemImporter_canonicalize_closure0.prototype = {
  99717. call$1(resolved) {
  99718. var t2, t0, _null = null,
  99719. t1 = A.isNodeJs() ? self.process : _null;
  99720. if (!J.$eq$(t1 == null ? _null : J.get$platform$x(t1), "win32")) {
  99721. t1 = A.isNodeJs() ? self.process : _null;
  99722. t1 = J.$eq$(t1 == null ? _null : J.get$platform$x(t1), "darwin");
  99723. } else
  99724. t1 = true;
  99725. if (t1) {
  99726. t1 = $.$get$context();
  99727. t2 = A._realCasePath0(A.absolute(t1.normalize$1(resolved), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null));
  99728. t0 = t2;
  99729. t2 = t1;
  99730. t1 = t0;
  99731. } else {
  99732. t1 = $.$get$context();
  99733. t2 = t1.canonicalize$1(0, resolved);
  99734. t0 = t2;
  99735. t2 = t1;
  99736. t1 = t0;
  99737. }
  99738. return t2.toUri$1(t1);
  99739. },
  99740. $signature: 142
  99741. };
  99742. A.ForRule0.prototype = {
  99743. accept$1$1(visitor) {
  99744. return visitor.visitForRule$1(this);
  99745. },
  99746. accept$1(visitor) {
  99747. return this.accept$1$1(visitor, type$.dynamic);
  99748. },
  99749. toString$0(_) {
  99750. var _this = this,
  99751. t1 = _this.from.toString$0(0),
  99752. t2 = _this.isExclusive ? "to" : "through",
  99753. t3 = _this.children;
  99754. return "@for $" + _this.variable + " from " + t1 + " " + t2 + " " + _this.to.toString$0(0) + " {" + (t3 && B.JSArray_methods).join$1(t3, " ") + "}";
  99755. },
  99756. get$span(receiver) {
  99757. return this.span;
  99758. }
  99759. };
  99760. A.ForwardRule0.prototype = {
  99761. accept$1$1(visitor) {
  99762. return visitor.visitForwardRule$1(this);
  99763. },
  99764. accept$1(visitor) {
  99765. return this.accept$1$1(visitor, type$.dynamic);
  99766. },
  99767. toString$0(_) {
  99768. var t2, prefix, _this = this,
  99769. t1 = "@forward " + A.StringExpression_quoteText0(_this.url.toString$0(0)),
  99770. shownMixinsAndFunctions = _this.shownMixinsAndFunctions,
  99771. hiddenMixinsAndFunctions = _this.hiddenMixinsAndFunctions;
  99772. if (shownMixinsAndFunctions != null) {
  99773. t2 = _this.shownVariables;
  99774. t2.toString;
  99775. t2 = t1 + " show " + _this._forward_rule0$_memberList$2(shownMixinsAndFunctions, t2);
  99776. t1 = t2;
  99777. } else if (hiddenMixinsAndFunctions != null && hiddenMixinsAndFunctions._base.get$isNotEmpty(0)) {
  99778. t2 = _this.hiddenVariables;
  99779. t2.toString;
  99780. t2 = t1 + " hide " + _this._forward_rule0$_memberList$2(hiddenMixinsAndFunctions, t2);
  99781. t1 = t2;
  99782. }
  99783. prefix = _this.prefix;
  99784. if (prefix != null)
  99785. t1 += " as " + prefix + "*";
  99786. t2 = _this.configuration;
  99787. t1 = (t2.length !== 0 ? t1 + (" with (" + B.JSArray_methods.join$1(t2, ", ") + ")") : t1) + ";";
  99788. return t1.charCodeAt(0) == 0 ? t1 : t1;
  99789. },
  99790. _forward_rule0$_memberList$2(mixinsAndFunctions, variables) {
  99791. var t2,
  99792. t1 = A.List_List$of(mixinsAndFunctions, true, type$.String);
  99793. for (t2 = variables._base.get$iterator(0); t2.moveNext$0();)
  99794. t1.push("$" + t2.get$current(0));
  99795. return B.JSArray_methods.join$1(t1, ", ");
  99796. },
  99797. $isAstNode0: 1,
  99798. $isStatement0: 1,
  99799. get$span(receiver) {
  99800. return this.span;
  99801. }
  99802. };
  99803. A.ForwardedModuleView0.prototype = {
  99804. get$url(_) {
  99805. var t1 = this._forwarded_view0$_inner;
  99806. return t1.get$url(t1);
  99807. },
  99808. get$upstream() {
  99809. return this._forwarded_view0$_inner.get$upstream();
  99810. },
  99811. get$extensionStore() {
  99812. return this._forwarded_view0$_inner.get$extensionStore();
  99813. },
  99814. get$css(_) {
  99815. var t1 = this._forwarded_view0$_inner;
  99816. return t1.get$css(t1);
  99817. },
  99818. get$preModuleComments() {
  99819. return this._forwarded_view0$_inner.get$preModuleComments();
  99820. },
  99821. get$transitivelyContainsCss() {
  99822. return this._forwarded_view0$_inner.get$transitivelyContainsCss();
  99823. },
  99824. get$transitivelyContainsExtensions() {
  99825. return this._forwarded_view0$_inner.get$transitivelyContainsExtensions();
  99826. },
  99827. setVariable$3($name, value, nodeWithSpan) {
  99828. var t2, _1_0, _2_0,
  99829. _s19_ = "Undefined variable.",
  99830. t1 = this._forwarded_view0$_rule,
  99831. _0_0 = t1.shownVariables;
  99832. if (_0_0 != null)
  99833. t2 = !_0_0._base.contains$1(0, $name);
  99834. else
  99835. t2 = false;
  99836. if (t2)
  99837. throw A.wrapException(A.SassScriptException$0(_s19_, null));
  99838. else {
  99839. _1_0 = t1.hiddenVariables;
  99840. if (_1_0 != null)
  99841. t2 = _1_0._base.contains$1(0, $name);
  99842. else
  99843. t2 = false;
  99844. if (t2)
  99845. throw A.wrapException(A.SassScriptException$0(_s19_, null));
  99846. }
  99847. _2_0 = t1.prefix;
  99848. if (_2_0 != null) {
  99849. if (!B.JSString_methods.startsWith$1($name, _2_0))
  99850. throw A.wrapException(A.SassScriptException$0(_s19_, null));
  99851. $name = B.JSString_methods.substring$1($name, _2_0.length);
  99852. }
  99853. return this._forwarded_view0$_inner.setVariable$3($name, value, nodeWithSpan);
  99854. },
  99855. variableIdentity$1($name) {
  99856. var _0_0 = this._forwarded_view0$_rule.prefix;
  99857. if (_0_0 != null)
  99858. $name = B.JSString_methods.substring$1($name, _0_0.length);
  99859. return this._forwarded_view0$_inner.variableIdentity$1($name);
  99860. },
  99861. $eq(_, other) {
  99862. if (other == null)
  99863. return false;
  99864. return other instanceof A.ForwardedModuleView0 && this._forwarded_view0$_inner.$eq(0, other._forwarded_view0$_inner) && this._forwarded_view0$_rule === other._forwarded_view0$_rule;
  99865. },
  99866. get$hashCode(_) {
  99867. var t1 = this._forwarded_view0$_inner;
  99868. return (t1.get$hashCode(t1) ^ A.Primitives_objectHashCode(this._forwarded_view0$_rule)) >>> 0;
  99869. },
  99870. cloneCss$0() {
  99871. return A.ForwardedModuleView$0(this._forwarded_view0$_inner.cloneCss$0(), this._forwarded_view0$_rule, this.$ti._precomputed1);
  99872. },
  99873. toString$0(_) {
  99874. return "forwarded " + this._forwarded_view0$_inner.toString$0(0);
  99875. },
  99876. $isModule1: 1,
  99877. get$variables() {
  99878. return this.variables;
  99879. },
  99880. get$variableNodes() {
  99881. return this.variableNodes;
  99882. },
  99883. get$functions(receiver) {
  99884. return this.functions;
  99885. },
  99886. get$mixins() {
  99887. return this.mixins;
  99888. }
  99889. };
  99890. A.FunctionExpression0.prototype = {
  99891. get$nameSpan() {
  99892. if (this.namespace == null)
  99893. return A.SpanExtensions_initialIdentifier0(this.span);
  99894. return A.SpanExtensions_initialIdentifier0(A.FileSpanExtension_subspan(A.SpanExtensions_withoutInitialIdentifier0(this.span), 1, null));
  99895. },
  99896. accept$1$1(visitor) {
  99897. return visitor.visitFunctionExpression$1(this);
  99898. },
  99899. accept$1(visitor) {
  99900. return this.accept$1$1(visitor, type$.dynamic);
  99901. },
  99902. toString$0(_) {
  99903. var t1 = this.namespace;
  99904. t1 = t1 != null ? "" + (t1 + ".") : "";
  99905. t1 += this.originalName + this.$arguments.toString$0(0);
  99906. return t1.charCodeAt(0) == 0 ? t1 : t1;
  99907. },
  99908. $isExpression0: 1,
  99909. $isAstNode0: 1,
  99910. get$span(receiver) {
  99911. return this.span;
  99912. }
  99913. };
  99914. A.JSFunction0.prototype = {};
  99915. A.SupportsFunction0.prototype = {
  99916. toString$0(_) {
  99917. return this.name.toString$0(0) + "(" + this.$arguments.toString$0(0) + ")";
  99918. },
  99919. $isAstNode0: 1,
  99920. get$span(receiver) {
  99921. return this.span;
  99922. }
  99923. };
  99924. A.functionClass_closure.prototype = {
  99925. call$0() {
  99926. var t1 = type$.JSClass,
  99927. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassFunction", new A.functionClass__closure()));
  99928. A.JSClassExtension_injectSuperclass(t1._as(new A.SassFunction0(A.BuiltInCallable$function0("f", "", new A.functionClass__closure0(), null)).constructor), jsClass);
  99929. return jsClass;
  99930. },
  99931. $signature: 13
  99932. };
  99933. A.functionClass__closure.prototype = {
  99934. call$3($self, signature, callback) {
  99935. var paren = B.JSString_methods.indexOf$1(signature, "(");
  99936. if (paren === -1 || !B.JSString_methods.endsWith$1(signature, ")"))
  99937. A.jsThrow(new self.Error('Invalid signature for new sass.SassFunction(): "' + signature + '"'));
  99938. 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));
  99939. },
  99940. "call*": "call$3",
  99941. $requiredArgCount: 3,
  99942. $signature: 454
  99943. };
  99944. A.functionClass__closure0.prototype = {
  99945. call$1(_) {
  99946. return B.C__SassNull0;
  99947. },
  99948. $signature: 3
  99949. };
  99950. A.SassFunction0.prototype = {
  99951. accept$1$1(visitor) {
  99952. var t1, t2;
  99953. if (!visitor._serialize0$_inspect)
  99954. A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " isn't a valid CSS value.", null));
  99955. t1 = visitor._serialize0$_buffer;
  99956. t1.write$1(0, "get-function(");
  99957. t2 = this.callable;
  99958. visitor._serialize0$_visitQuotedString$1(t2.get$name(t2));
  99959. t1.writeCharCode$1(41);
  99960. return null;
  99961. },
  99962. accept$1(visitor) {
  99963. return this.accept$1$1(visitor, type$.dynamic);
  99964. },
  99965. assertFunction$1($name) {
  99966. return this;
  99967. },
  99968. $eq(_, other) {
  99969. if (other == null)
  99970. return false;
  99971. return other instanceof A.SassFunction0 && this.callable.$eq(0, other.callable);
  99972. },
  99973. get$hashCode(_) {
  99974. var t1 = this.callable;
  99975. return t1.get$hashCode(t1);
  99976. }
  99977. };
  99978. A.FunctionRule0.prototype = {
  99979. accept$1$1(visitor) {
  99980. return visitor.visitFunctionRule$1(this);
  99981. },
  99982. accept$1(visitor) {
  99983. return this.accept$1$1(visitor, type$.dynamic);
  99984. },
  99985. toString$0(_) {
  99986. var t1 = this.children;
  99987. return "@function " + this.name + "(" + this.$arguments.toString$0(0) + ") {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  99988. }
  99989. };
  99990. A.unifyComplex_closure0.prototype = {
  99991. call$1(complex) {
  99992. return complex.lineBreak;
  99993. },
  99994. $signature: 18
  99995. };
  99996. A._weaveParents_closure3.prototype = {
  99997. call$2(group1, group2) {
  99998. var t1, unified;
  99999. if (B.C_ListEquality.equals$2(0, group1, group2))
  100000. return group1;
  100001. if (A._complexIsParentSuperselector0(group1, group2))
  100002. return group2;
  100003. if (A._complexIsParentSuperselector0(group2, group1))
  100004. return group1;
  100005. if (!A._mustUnify0(group1, group2))
  100006. return null;
  100007. t1 = this.span;
  100008. unified = A.unifyComplex0(A._setArrayType([A.ComplexSelector$0(B.List_empty14, group1, t1, false), A.ComplexSelector$0(B.List_empty14, group2, t1, false)], type$.JSArray_ComplexSelector_2), t1);
  100009. if (unified == null)
  100010. t1 = null;
  100011. else {
  100012. t1 = A.IterableExtension_get_singleOrNull(unified);
  100013. t1 = t1 == null ? null : t1.components;
  100014. }
  100015. return t1;
  100016. },
  100017. $signature: 455
  100018. };
  100019. A._weaveParents_closure4.prototype = {
  100020. call$1(sequence) {
  100021. return A._complexIsParentSuperselector0(sequence.get$first(sequence), this.group);
  100022. },
  100023. $signature: 250
  100024. };
  100025. A._weaveParents_closure5.prototype = {
  100026. call$1(sequence) {
  100027. return sequence.get$length(0) === 0;
  100028. },
  100029. $signature: 250
  100030. };
  100031. A._weaveParents_closure6.prototype = {
  100032. call$1(choice) {
  100033. return J.get$isNotEmpty$asx(choice);
  100034. },
  100035. $signature: 457
  100036. };
  100037. A._mustUnify_closure0.prototype = {
  100038. call$1(component) {
  100039. return B.JSArray_methods.any$1(component.selector.components, new A._mustUnify__closure0(this.uniqueSelectors));
  100040. },
  100041. $signature: 51
  100042. };
  100043. A._mustUnify__closure0.prototype = {
  100044. call$1(simple) {
  100045. var t1;
  100046. if (!(simple instanceof A.IDSelector0))
  100047. t1 = simple instanceof A.PseudoSelector0 && !simple.isClass;
  100048. else
  100049. t1 = true;
  100050. return t1 && this.uniqueSelectors.contains$1(0, simple);
  100051. },
  100052. $signature: 15
  100053. };
  100054. A.paths_closure0.prototype = {
  100055. call$2(paths, choice) {
  100056. var t1 = this.T;
  100057. t1 = J.expand$1$1$ax(choice, new A.paths__closure0(paths, t1), t1._eval$1("List<0>"));
  100058. return A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E"));
  100059. },
  100060. $signature() {
  100061. return this.T._eval$1("List<List<0>>(List<List<0>>,List<0>)");
  100062. }
  100063. };
  100064. A.paths__closure0.prototype = {
  100065. call$1(option) {
  100066. var t1 = this.T;
  100067. return J.map$1$1$ax(this.paths, new A.paths___closure0(option, t1), t1._eval$1("List<0>"));
  100068. },
  100069. $signature() {
  100070. return this.T._eval$1("Iterable<List<0>>(0)");
  100071. }
  100072. };
  100073. A.paths___closure0.prototype = {
  100074. call$1(path) {
  100075. var t1 = A.List_List$of(path, true, this.T);
  100076. t1.push(this.option);
  100077. return t1;
  100078. },
  100079. $signature() {
  100080. return this.T._eval$1("List<0>(List<0>)");
  100081. }
  100082. };
  100083. A.listIsSuperselector_closure0.prototype = {
  100084. call$1(complex1) {
  100085. return B.JSArray_methods.any$1(this.list1, new A.listIsSuperselector__closure0(complex1));
  100086. },
  100087. $signature: 18
  100088. };
  100089. A.listIsSuperselector__closure0.prototype = {
  100090. call$1(complex2) {
  100091. return complex2.isSuperselector$1(this.complex1);
  100092. },
  100093. $signature: 18
  100094. };
  100095. A.complexIsSuperselector_closure1.prototype = {
  100096. call$1($parent) {
  100097. return $parent.combinators.length > 1;
  100098. },
  100099. $signature: 51
  100100. };
  100101. A.complexIsSuperselector_closure2.prototype = {
  100102. call$1(component) {
  100103. return A._isSupercombinator0(this.combinator1, A.IterableExtension_get_firstOrNull(component.combinators));
  100104. },
  100105. $signature: 51
  100106. };
  100107. A._compatibleWithPreviousCombinator_closure0.prototype = {
  100108. call$1(component) {
  100109. var t1 = component.combinators,
  100110. t2 = A.IterableExtension_get_firstOrNull(t1);
  100111. if (!J.$eq$(t2 == null ? null : t2.value, B.Combinator_y180)) {
  100112. t1 = A.IterableExtension_get_firstOrNull(t1);
  100113. t1 = J.$eq$(t1 == null ? null : t1.value, B.Combinator_gRV0);
  100114. } else
  100115. t1 = true;
  100116. return t1;
  100117. },
  100118. $signature: 51
  100119. };
  100120. A._selectorPseudoIsSuperselector_closure6.prototype = {
  100121. call$1(selector2) {
  100122. return A.listIsSuperselector0(this.selector1.components, selector2.components);
  100123. },
  100124. $signature: 70
  100125. };
  100126. A._selectorPseudoIsSuperselector_closure7.prototype = {
  100127. call$1(complex1) {
  100128. var t1, t2;
  100129. if (complex1.leadingCombinators.length === 0) {
  100130. t1 = A._setArrayType([], type$.JSArray_ComplexSelectorComponent_2);
  100131. t2 = this.parents;
  100132. if (t2 != null)
  100133. B.JSArray_methods.addAll$1(t1, t2);
  100134. t2 = this.compound2;
  100135. t1.push(new A.ComplexSelectorComponent0(t2, A.List_List$unmodifiable(B.List_empty14, type$.CssValue_Combinator_2), t2.span));
  100136. t1 = A.complexIsSuperselector0(complex1.components, t1);
  100137. } else
  100138. t1 = false;
  100139. return t1;
  100140. },
  100141. $signature: 18
  100142. };
  100143. A._selectorPseudoIsSuperselector_closure8.prototype = {
  100144. call$1(selector2) {
  100145. return A.listIsSuperselector0(this.selector1.components, selector2.components);
  100146. },
  100147. $signature: 70
  100148. };
  100149. A._selectorPseudoIsSuperselector_closure9.prototype = {
  100150. call$1(selector2) {
  100151. return A.listIsSuperselector0(this.selector1.components, selector2.components);
  100152. },
  100153. $signature: 70
  100154. };
  100155. A._selectorPseudoIsSuperselector_closure10.prototype = {
  100156. call$1(complex) {
  100157. if (complex.accept$1(B._IsBogusVisitor_true0))
  100158. return false;
  100159. return B.JSArray_methods.any$1(this.compound2.components, new A._selectorPseudoIsSuperselector__closure0(complex, this.pseudo1));
  100160. },
  100161. $signature: 18
  100162. };
  100163. A._selectorPseudoIsSuperselector__closure0.prototype = {
  100164. call$1(simple2) {
  100165. var t1, _0_4, selector2, _this = this;
  100166. $label0$1: {
  100167. if (simple2 instanceof A.TypeSelector0) {
  100168. t1 = B.JSArray_methods.any$1(B.JSArray_methods.get$last(_this.complex.components).selector.components, new A._selectorPseudoIsSuperselector___closure1(simple2));
  100169. break $label0$1;
  100170. }
  100171. if (simple2 instanceof A.IDSelector0) {
  100172. t1 = B.JSArray_methods.any$1(B.JSArray_methods.get$last(_this.complex.components).selector.components, new A._selectorPseudoIsSuperselector___closure2(simple2));
  100173. break $label0$1;
  100174. }
  100175. if (simple2 instanceof A.PseudoSelector0) {
  100176. _0_4 = simple2.selector;
  100177. if (_0_4 != null) {
  100178. selector2 = _0_4 == null ? type$.SelectorList_2._as(_0_4) : _0_4;
  100179. t1 = simple2.name === _this.pseudo1.name;
  100180. } else {
  100181. selector2 = null;
  100182. t1 = false;
  100183. }
  100184. } else {
  100185. selector2 = null;
  100186. t1 = false;
  100187. }
  100188. if (t1) {
  100189. t1 = A.listIsSuperselector0(selector2.components, A._setArrayType([_this.complex], type$.JSArray_ComplexSelector_2));
  100190. break $label0$1;
  100191. }
  100192. t1 = false;
  100193. break $label0$1;
  100194. }
  100195. return t1;
  100196. },
  100197. $signature: 15
  100198. };
  100199. A._selectorPseudoIsSuperselector___closure1.prototype = {
  100200. call$1(simple1) {
  100201. var t1;
  100202. if (simple1 instanceof A.TypeSelector0) {
  100203. t1 = this.simple2;
  100204. t1 = !(t1 instanceof A.TypeSelector0 && t1.name.$eq(0, simple1.name));
  100205. } else
  100206. t1 = false;
  100207. return t1;
  100208. },
  100209. $signature: 15
  100210. };
  100211. A._selectorPseudoIsSuperselector___closure2.prototype = {
  100212. call$1(simple1) {
  100213. var t1;
  100214. if (simple1 instanceof A.IDSelector0) {
  100215. t1 = this.simple2;
  100216. t1 = !(t1 instanceof A.IDSelector0 && t1.name === simple1.name);
  100217. } else
  100218. t1 = false;
  100219. return t1;
  100220. },
  100221. $signature: 15
  100222. };
  100223. A._selectorPseudoIsSuperselector_closure11.prototype = {
  100224. call$1(selector2) {
  100225. var t1 = B.C_ListEquality.equals$2(0, this.selector1.components, selector2.components);
  100226. return t1;
  100227. },
  100228. $signature: 70
  100229. };
  100230. A._selectorPseudoIsSuperselector_closure12.prototype = {
  100231. call$1(pseudo2) {
  100232. var t1, selector2;
  100233. if (!(pseudo2 instanceof A.PseudoSelector0))
  100234. return false;
  100235. t1 = this.pseudo1;
  100236. if (pseudo2.name !== t1.name)
  100237. return false;
  100238. if (pseudo2.argument != t1.argument)
  100239. return false;
  100240. selector2 = pseudo2.selector;
  100241. if (selector2 == null)
  100242. return false;
  100243. return A.listIsSuperselector0(this.selector1.components, selector2.components);
  100244. },
  100245. $signature: 15
  100246. };
  100247. A._selectorPseudoArgs_closure1.prototype = {
  100248. call$1(pseudo) {
  100249. return pseudo.isClass === this.isClass && pseudo.name === this.name;
  100250. },
  100251. $signature: 459
  100252. };
  100253. A._selectorPseudoArgs_closure2.prototype = {
  100254. call$1(pseudo) {
  100255. return pseudo.selector;
  100256. },
  100257. $signature: 460
  100258. };
  100259. A.globalFunctions_closure0.prototype = {
  100260. call$1($arguments) {
  100261. var t1 = J.getInterceptor$asx($arguments);
  100262. return t1.$index($arguments, 0).get$isTruthy() ? t1.$index($arguments, 1) : t1.$index($arguments, 2);
  100263. },
  100264. $signature: 3
  100265. };
  100266. A.IDSelector0.prototype = {
  100267. get$specificity() {
  100268. return A._asInt(Math.pow(A.SimpleSelector0.prototype.get$specificity.call(this), 2));
  100269. },
  100270. accept$1$1(visitor) {
  100271. return visitor.visitIDSelector$1(this);
  100272. },
  100273. accept$1(visitor) {
  100274. return this.accept$1$1(visitor, type$.dynamic);
  100275. },
  100276. addSuffix$1(suffix) {
  100277. return new A.IDSelector0(this.name + suffix, this.span);
  100278. },
  100279. unify$1(compound) {
  100280. if (B.JSArray_methods.any$1(compound, new A.IDSelector_unify_closure0(this)))
  100281. return null;
  100282. return this.super$SimpleSelector$unify0(compound);
  100283. },
  100284. $eq(_, other) {
  100285. if (other == null)
  100286. return false;
  100287. return other instanceof A.IDSelector0 && other.name === this.name;
  100288. },
  100289. get$hashCode(_) {
  100290. return B.JSString_methods.get$hashCode(this.name);
  100291. }
  100292. };
  100293. A.IDSelector_unify_closure0.prototype = {
  100294. call$1(simple) {
  100295. var t1;
  100296. if (simple instanceof A.IDSelector0)
  100297. t1 = this.$this.name !== simple.name;
  100298. else
  100299. t1 = false;
  100300. return t1;
  100301. },
  100302. $signature: 15
  100303. };
  100304. A.IfExpression0.prototype = {
  100305. accept$1$1(visitor) {
  100306. return visitor.visitIfExpression$1(this);
  100307. },
  100308. accept$1(visitor) {
  100309. return this.accept$1$1(visitor, type$.dynamic);
  100310. },
  100311. toString$0(_) {
  100312. return "if" + this.$arguments.toString$0(0);
  100313. },
  100314. $isExpression0: 1,
  100315. $isAstNode0: 1,
  100316. get$span(receiver) {
  100317. return this.span;
  100318. }
  100319. };
  100320. A.IfRule0.prototype = {
  100321. accept$1$1(visitor) {
  100322. return visitor.visitIfRule$1(this);
  100323. },
  100324. accept$1(visitor) {
  100325. return this.accept$1$1(visitor, type$.dynamic);
  100326. },
  100327. toString$0(_) {
  100328. var result = A.ListExtensions_mapIndexed(this.clauses, new A.IfRule_toString_closure0(), type$.IfClause_2, type$.String).join$1(0, " "),
  100329. lastClause = this.lastClause;
  100330. return lastClause != null ? result + (" " + lastClause.toString$0(0)) : result;
  100331. },
  100332. $isAstNode0: 1,
  100333. $isStatement0: 1,
  100334. get$span(receiver) {
  100335. return this.span;
  100336. }
  100337. };
  100338. A.IfRule_toString_closure0.prototype = {
  100339. call$2(index, clause) {
  100340. var t1 = index === 0 ? "if" : "else if";
  100341. return "@" + t1 + " " + clause.expression.toString$0(0) + " {" + B.JSArray_methods.join$1(clause.children, " ") + "}";
  100342. },
  100343. $signature: 461
  100344. };
  100345. A.IfRuleClause0.prototype = {};
  100346. A.IfRuleClause$__closure0.prototype = {
  100347. call$1(child) {
  100348. var t1;
  100349. $label0$0: {
  100350. if (child instanceof A.VariableDeclaration0 || child instanceof A.FunctionRule0 || child instanceof A.MixinRule0) {
  100351. t1 = true;
  100352. break $label0$0;
  100353. }
  100354. if (child instanceof A.ImportRule0) {
  100355. t1 = B.JSArray_methods.any$1(child.imports, new A.IfRuleClause$___closure0());
  100356. break $label0$0;
  100357. }
  100358. t1 = false;
  100359. break $label0$0;
  100360. }
  100361. return t1;
  100362. },
  100363. $signature: 249
  100364. };
  100365. A.IfRuleClause$___closure0.prototype = {
  100366. call$1($import) {
  100367. return $import instanceof A.DynamicImport0;
  100368. },
  100369. $signature: 245
  100370. };
  100371. A.IfClause0.prototype = {
  100372. toString$0(_) {
  100373. return "@if " + this.expression.toString$0(0) + " {" + B.JSArray_methods.join$1(this.children, " ") + "}";
  100374. }
  100375. };
  100376. A.ElseClause0.prototype = {
  100377. toString$0(_) {
  100378. return "@else {" + B.JSArray_methods.join$1(this.children, " ") + "}";
  100379. }
  100380. };
  100381. A.ImmutableList0.prototype = {};
  100382. A.ImmutableMap0.prototype = {};
  100383. A.immutableMapToDartMap_closure.prototype = {
  100384. call$3(value, key, _) {
  100385. this.dartMap.$indexSet(0, key, value);
  100386. },
  100387. "call*": "call$3",
  100388. $requiredArgCount: 3,
  100389. $signature: 464
  100390. };
  100391. A.NodeImporter.prototype = {
  100392. loadRelative$3(url, previous, forImport) {
  100393. var t1, t2, _null = null;
  100394. if ($.$get$url().style.rootLength$1(url) > 0) {
  100395. if (!B.JSString_methods.startsWith$1(url, "/") && !B.JSString_methods.startsWith$1(url, "file:"))
  100396. return _null;
  100397. return this._tryPath$2($.$get$context().style.pathFromUri$1(A._parseUri(url)), forImport);
  100398. }
  100399. if ((previous == null ? _null : previous.get$scheme()) !== "file")
  100400. return _null;
  100401. t1 = $.$get$context();
  100402. previous.toString;
  100403. t2 = t1.style;
  100404. return this._tryPath$2(A.join(t1.dirname$1(t2.pathFromUri$1(A._parseUri(previous))), t2.pathFromUri$1(A._parseUri(url)), _null), forImport);
  100405. },
  100406. load$3(_, url, previous, forImport) {
  100407. var t1, t2, _i, _0_0, _this = this,
  100408. previousString = _this._previousToString$1(previous);
  100409. for (t1 = _this._implementation$_importers, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  100410. _0_0 = A.wrapJSExceptions(new A.NodeImporter_load_closure(_this, t1[_i], forImport, url, previousString));
  100411. if (_0_0 != null)
  100412. return _this._handleImportResult$4(url, previous, _0_0, forImport);
  100413. }
  100414. return _this._resolveLoadPathFromUrl$2(A.Uri_parse(url), forImport);
  100415. },
  100416. loadAsync$3(url, previous, forImport) {
  100417. return this.loadAsync$body$NodeImporter(url, previous, forImport);
  100418. },
  100419. loadAsync$body$NodeImporter(url, previous, forImport) {
  100420. var $async$goto = 0,
  100421. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Record_2_String_and_String),
  100422. $async$returnValue, $async$self = this, t1, t2, _i, _0_0, previousString;
  100423. var $async$loadAsync$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  100424. if ($async$errorCode === 1)
  100425. return A._asyncRethrow($async$result, $async$completer);
  100426. while (true)
  100427. switch ($async$goto) {
  100428. case 0:
  100429. // Function start
  100430. previousString = $async$self._previousToString$1(previous);
  100431. t1 = $async$self._implementation$_importers, t2 = t1.length, _i = 0;
  100432. case 3:
  100433. // for condition
  100434. if (!(_i < t2)) {
  100435. // goto after for
  100436. $async$goto = 5;
  100437. break;
  100438. }
  100439. $async$goto = 6;
  100440. return A._asyncAwait($async$self._callImporterAsync$4(t1[_i], url, previousString, forImport), $async$loadAsync$3);
  100441. case 6:
  100442. // returning from await.
  100443. _0_0 = $async$result;
  100444. if (_0_0 != null) {
  100445. $async$returnValue = $async$self._handleImportResult$4(url, previous, _0_0, forImport);
  100446. // goto return
  100447. $async$goto = 1;
  100448. break;
  100449. }
  100450. case 4:
  100451. // for update
  100452. ++_i;
  100453. // goto for condition
  100454. $async$goto = 3;
  100455. break;
  100456. case 5:
  100457. // after for
  100458. $async$returnValue = $async$self._resolveLoadPathFromUrl$2(A.Uri_parse(url), forImport);
  100459. // goto return
  100460. $async$goto = 1;
  100461. break;
  100462. case 1:
  100463. // return
  100464. return A._asyncReturn($async$returnValue, $async$completer);
  100465. }
  100466. });
  100467. return A._asyncStartSync($async$loadAsync$3, $async$completer);
  100468. },
  100469. _previousToString$1(previous) {
  100470. var t1;
  100471. $label0$0: {
  100472. if (previous == null) {
  100473. t1 = "stdin";
  100474. break $label0$0;
  100475. }
  100476. if ("file" === previous.get$scheme()) {
  100477. t1 = $.$get$context().style.pathFromUri$1(A._parseUri(previous));
  100478. break $label0$0;
  100479. }
  100480. t1 = previous.toString$0(0);
  100481. break $label0$0;
  100482. }
  100483. return t1;
  100484. },
  100485. _resolveLoadPathFromUrl$2(url, forImport) {
  100486. return url.get$scheme() === "" || url.get$scheme() === "file" ? this._resolveLoadPath$2($.$get$context().style.pathFromUri$1(A._parseUri(url)), forImport) : null;
  100487. },
  100488. _resolveLoadPath$2(path, forImport) {
  100489. var t1, t2, _i, t3, _1_0, _null = null,
  100490. _0_0 = this._tryPath$2(A.absolute(path, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), forImport);
  100491. if (_0_0 != null)
  100492. return _0_0;
  100493. for (t1 = this._includePaths, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  100494. t3 = A.join(t1[_i], path, _null);
  100495. _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);
  100496. if (_1_0 != null)
  100497. return _1_0;
  100498. }
  100499. return _null;
  100500. },
  100501. _tryPath$2(path, forImport) {
  100502. var t1 = forImport ? A.inImportRule(new A.NodeImporter__tryPath_closure(path), type$.nullable_String) : A.resolveImportPath0(path);
  100503. return A.NullableExtension_andThen0(t1, new A.NodeImporter__tryPath_closure0());
  100504. },
  100505. _handleImportResult$4(url, previous, value, forImport) {
  100506. var t1, file, contents, t2, resolved;
  100507. if (value instanceof self.Error)
  100508. throw A.wrapException(value);
  100509. if (!type$.NodeImporterResult._is(value))
  100510. return null;
  100511. t1 = J.getInterceptor$x(value);
  100512. file = t1.get$file(value);
  100513. contents = t1.get$contents(value);
  100514. t1 = contents == null;
  100515. t2 = !t1;
  100516. if (t2 && A._asString(new self.Function("value", "return typeof value").call$1(contents)) !== "string")
  100517. A.jsThrow(new A.ArgumentError(true, contents, "contents", "must be a string but was: " + A.jsType(contents)));
  100518. if (file == null)
  100519. return new A._Record_2(t1 ? "" : contents, url);
  100520. else if (t2)
  100521. return new A._Record_2(contents, $.$get$context().toUri$1(file).toString$0(0));
  100522. else {
  100523. resolved = this.loadRelative$3($.$get$context().toUri$1(file).toString$0(0), previous, forImport);
  100524. if (resolved == null)
  100525. resolved = this._resolveLoadPath$2(file, forImport);
  100526. if (resolved != null)
  100527. return resolved;
  100528. throw A.wrapException("Can't find stylesheet to import.");
  100529. }
  100530. },
  100531. _callImporterAsync$4(importer, url, previousString, forImport) {
  100532. return this._callImporterAsync$body$NodeImporter(importer, url, previousString, forImport);
  100533. },
  100534. _callImporterAsync$body$NodeImporter(importer, url, previousString, forImport) {
  100535. var $async$goto = 0,
  100536. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Object),
  100537. $async$returnValue, $async$self = this, t1, result;
  100538. var $async$_callImporterAsync$4 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  100539. if ($async$errorCode === 1)
  100540. return A._asyncRethrow($async$result, $async$completer);
  100541. while (true)
  100542. switch ($async$goto) {
  100543. case 0:
  100544. // Function start
  100545. t1 = new A._Future($.Zone__current, type$._Future_Object);
  100546. result = A.wrapJSExceptions(new A.NodeImporter__callImporterAsync_closure($async$self, importer, forImport, url, previousString, new A._AsyncCompleter(t1, type$._AsyncCompleter_Object)));
  100547. $async$goto = A._asBool($.$get$_isUndefined().call$1(result)) ? 3 : 4;
  100548. break;
  100549. case 3:
  100550. // then
  100551. $async$goto = 5;
  100552. return A._asyncAwait(t1, $async$_callImporterAsync$4);
  100553. case 5:
  100554. // returning from await.
  100555. $async$returnValue = $async$result;
  100556. // goto return
  100557. $async$goto = 1;
  100558. break;
  100559. case 4:
  100560. // join
  100561. $async$returnValue = result;
  100562. // goto return
  100563. $async$goto = 1;
  100564. break;
  100565. case 1:
  100566. // return
  100567. return A._asyncReturn($async$returnValue, $async$completer);
  100568. }
  100569. });
  100570. return A._asyncStartSync($async$_callImporterAsync$4, $async$completer);
  100571. },
  100572. _renderContext$1(fromImport) {
  100573. var context = {options: type$.RenderContextOptions._as(this._implementation$_options), fromImport: fromImport};
  100574. J.set$context$x(J.get$options$x(context), context);
  100575. return context;
  100576. }
  100577. };
  100578. A.NodeImporter_load_closure.prototype = {
  100579. call$0() {
  100580. var _this = this;
  100581. return J.apply$2$x(_this.importer, _this.$this._renderContext$1(_this.forImport), A._setArrayType([_this.url, _this.previousString], type$.JSArray_Object));
  100582. },
  100583. $signature: 31
  100584. };
  100585. A.NodeImporter__tryPath_closure.prototype = {
  100586. call$0() {
  100587. return A.resolveImportPath0(this.path);
  100588. },
  100589. $signature: 44
  100590. };
  100591. A.NodeImporter__tryPath_closure0.prototype = {
  100592. call$1(resolved) {
  100593. return new A._Record_2(A.readFile0(resolved), $.$get$context().toUri$1(resolved).toString$0(0));
  100594. },
  100595. $signature: 465
  100596. };
  100597. A.NodeImporter__callImporterAsync_closure.prototype = {
  100598. call$0() {
  100599. var _this = this;
  100600. 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));
  100601. },
  100602. $signature: 31
  100603. };
  100604. A.ModifiableCssImport0.prototype = {
  100605. accept$1$1(visitor) {
  100606. return visitor.visitCssImport$1(this);
  100607. },
  100608. accept$1(visitor) {
  100609. return this.accept$1$1(visitor, type$.dynamic);
  100610. },
  100611. get$span(receiver) {
  100612. return this.span;
  100613. }
  100614. };
  100615. A.ImportCache0.prototype = {
  100616. canonicalize$4$baseImporter$baseUrl$forImport(_, url, baseImporter, baseUrl, forImport) {
  100617. var t1, resolvedUrl, key, relativeResult, t2, t3, t4, t5, t6, cacheable, i, importer, perImporterKey, t7, _1_0, _1_2_isSet, _1_2, result, _2_0, _2_1, _2_5_isSet, _2_3, _2_5, _2_3_isSet, j, _this = this, _null = null;
  100618. if (A.isBrowser())
  100619. t1 = (baseImporter == null || baseImporter instanceof A.NoOpImporter0) && _this._import_cache$_importers.length === 0;
  100620. else
  100621. t1 = false;
  100622. if (t1)
  100623. throw A.wrapException(string$.Custom);
  100624. if (baseImporter != null && url.get$scheme() === "") {
  100625. resolvedUrl = baseUrl == null ? _null : baseUrl.resolveUri$1(url);
  100626. if (resolvedUrl == null)
  100627. resolvedUrl = url;
  100628. key = new A._Record_3_forImport(baseImporter, resolvedUrl, forImport);
  100629. relativeResult = _this._import_cache$_perImporterCanonicalizeCache.putIfAbsent$2(key, new A.ImportCache_canonicalize_closure0(_this, baseImporter, resolvedUrl, baseUrl, forImport, key, url));
  100630. if (relativeResult != null)
  100631. return relativeResult;
  100632. }
  100633. key = new A._Record_2_forImport(url, forImport);
  100634. t1 = _this._import_cache$_canonicalizeCache;
  100635. if (t1.containsKey$1(key))
  100636. return t1.$index(0, key);
  100637. 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) {
  100638. importer = t2[i];
  100639. perImporterKey = new A._Record_3_forImport(importer, url, forImport);
  100640. if (t4.containsKey$1(perImporterKey)) {
  100641. t7 = t4.$index(0, perImporterKey);
  100642. _1_0 = new A._Record_1(t7 == null ? t5._as(t7) : t7);
  100643. } else
  100644. _1_0 = _null;
  100645. _1_2_isSet = t3._is(_1_0);
  100646. if (_1_2_isSet) {
  100647. _1_2 = _1_0._0;
  100648. t7 = _1_2 != null;
  100649. if (t7) {
  100650. t6._as(_1_2);
  100651. result = _1_2;
  100652. } else
  100653. result = _null;
  100654. } else {
  100655. result = _null;
  100656. _1_2 = result;
  100657. t7 = false;
  100658. }
  100659. if (t7)
  100660. return result;
  100661. if (_1_2_isSet)
  100662. t7 = _1_2 == null;
  100663. else
  100664. t7 = false;
  100665. if (t7)
  100666. continue;
  100667. $label0$1: {
  100668. _2_0 = _this._import_cache$_canonicalize$4(importer, url, baseUrl, forImport);
  100669. _2_1 = _2_0._0;
  100670. _2_5_isSet = _2_1 != null;
  100671. if (_2_5_isSet) {
  100672. result = _2_1 == null ? t6._as(_2_1) : _2_1;
  100673. _2_3 = _2_0._1;
  100674. t7 = _2_3;
  100675. _2_5 = t7;
  100676. t7 = t7 && cacheable;
  100677. } else {
  100678. result = _null;
  100679. _2_3 = result;
  100680. _2_5 = _2_3;
  100681. t7 = false;
  100682. }
  100683. if (t7) {
  100684. t1.$indexSet(0, key, result);
  100685. return result;
  100686. }
  100687. if (_2_5_isSet) {
  100688. t7 = _2_5;
  100689. _2_3_isSet = _2_5_isSet;
  100690. } else {
  100691. _2_3 = _2_0._1;
  100692. t7 = _2_3;
  100693. _2_3_isSet = true;
  100694. }
  100695. t7 = t7 && !cacheable;
  100696. if (t7) {
  100697. t4.$indexSet(0, perImporterKey, _2_1);
  100698. if (_2_1 != null)
  100699. return _2_1;
  100700. break $label0$1;
  100701. }
  100702. t7 = false === (_2_3_isSet ? _2_3 : _2_0._1);
  100703. if (t7) {
  100704. if (cacheable) {
  100705. for (j = 0; j < i; ++j)
  100706. t4.$indexSet(0, new A._Record_3_forImport(t2[j], url, forImport), _null);
  100707. cacheable = false;
  100708. }
  100709. if (_2_1 != null)
  100710. return _2_1;
  100711. }
  100712. }
  100713. }
  100714. if (cacheable)
  100715. t1.$indexSet(0, key, _null);
  100716. return _null;
  100717. },
  100718. _import_cache$_canonicalize$4(importer, url, baseUrl, forImport) {
  100719. var passContainingUrl, canonicalizeContext, t1, result, cacheable, _null = null;
  100720. if (baseUrl != null)
  100721. passContainingUrl = url.get$scheme() === "" || importer.isNonCanonicalScheme$1(url.get$scheme());
  100722. else
  100723. passContainingUrl = false;
  100724. canonicalizeContext = new A.CanonicalizeContext0(forImport, passContainingUrl ? baseUrl : _null);
  100725. t1 = type$.nullable_Object;
  100726. result = A.runZoned(new A.ImportCache__canonicalize_closure0(importer, url), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__canonicalizeContext, canonicalizeContext], t1, t1), type$.nullable_Uri);
  100727. cacheable = !passContainingUrl || !canonicalizeContext._canonicalize_context$_wasContainingUrlAccessed;
  100728. if (result == null)
  100729. return new A._Record_2(_null, cacheable);
  100730. if (result.get$scheme() === "")
  100731. A.WarnForDeprecation_warnForDeprecation0(this._import_cache$_logger, B.Deprecation_jBa, "Importer " + importer.toString$0(0) + " canonicalized " + url.toString$0(0) + " to " + result.toString$0(0) + string$.x2e_Rela, _null, _null);
  100732. else if (importer.isNonCanonicalScheme$1(result.get$scheme()))
  100733. throw A.wrapException("Importer " + importer.toString$0(0) + " canonicalized " + url.toString$0(0) + " to " + result.toString$0(0) + string$.x2c_whicu);
  100734. return new A._Record_2(new A._Record_3_originalUrl(importer, result, url), cacheable);
  100735. },
  100736. importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, quiet) {
  100737. return this._import_cache$_importCache.putIfAbsent$2(canonicalUrl, new A.ImportCache_importCanonical_closure0(this, importer, canonicalUrl, originalUrl, quiet));
  100738. },
  100739. importCanonical$3$originalUrl(importer, canonicalUrl, originalUrl) {
  100740. return this.importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, false);
  100741. },
  100742. humanize$1(canonicalUrl) {
  100743. var t1 = A.IterableNullableExtension_whereNotNull(this._import_cache$_canonicalizeCache.get$values(0), type$.Record_3_Importer_and_Uri_and_Uri_originalUrl_2),
  100744. t2 = t1.$ti;
  100745. t2 = A.NullableExtension_andThen0(A.minBy(new A.MappedIterable(new A.WhereIterable(t1, 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));
  100746. return t2 == null ? canonicalUrl : t2;
  100747. },
  100748. sourceMapUrl$1(_, canonicalUrl) {
  100749. var t1 = this._import_cache$_resultsCache.$index(0, canonicalUrl);
  100750. t1 = t1 == null ? null : t1.get$sourceMapUrl(0);
  100751. return t1 == null ? canonicalUrl : t1;
  100752. }
  100753. };
  100754. A.ImportCache_canonicalize_closure0.prototype = {
  100755. call$0() {
  100756. var _this = this,
  100757. t1 = _this.$this,
  100758. t2 = _this.baseUrl,
  100759. _0_0 = t1._import_cache$_canonicalize$4(_this.baseImporter, _this.resolvedUrl, t2, _this.forImport);
  100760. if (t2 != null)
  100761. t1._import_cache$_nonCanonicalRelativeUrls.$indexSet(0, _this.key, _this.url);
  100762. return _0_0._0;
  100763. },
  100764. $signature: 630
  100765. };
  100766. A.ImportCache__canonicalize_closure0.prototype = {
  100767. call$0() {
  100768. return this.importer.canonicalize$1(0, this.url);
  100769. },
  100770. $signature: 141
  100771. };
  100772. A.ImportCache_importCanonical_closure0.prototype = {
  100773. call$0() {
  100774. var t2, t3, t4, _this = this,
  100775. t1 = _this.canonicalUrl,
  100776. result = _this.importer.load$1(0, t1);
  100777. if (result == null)
  100778. return null;
  100779. t2 = _this.$this;
  100780. t2._import_cache$_resultsCache.$indexSet(0, t1, result);
  100781. t3 = result.contents;
  100782. t4 = result.syntax;
  100783. t1 = _this.originalUrl.resolveUri$1(t1);
  100784. return A.Stylesheet_Stylesheet$parse0(t3, t4, _this.quiet ? $.$get$Logger_quiet0() : t2._import_cache$_logger, t1);
  100785. },
  100786. $signature: 467
  100787. };
  100788. A.ImportCache_humanize_closure3.prototype = {
  100789. call$1(result) {
  100790. return J.$eq$(result._1, this.canonicalUrl);
  100791. },
  100792. $signature: 468
  100793. };
  100794. A.ImportCache_humanize_closure4.prototype = {
  100795. call$1(result) {
  100796. return result._2;
  100797. },
  100798. $signature: 469
  100799. };
  100800. A.ImportCache_humanize_closure5.prototype = {
  100801. call$1(url) {
  100802. return url.get$path(url).length;
  100803. },
  100804. $signature: 85
  100805. };
  100806. A.ImportCache_humanize_closure6.prototype = {
  100807. call$1(url) {
  100808. var t1 = $.$get$url(),
  100809. t2 = this.canonicalUrl;
  100810. return url.resolve$1(0, A.ParsedPath_ParsedPath$parse(t2.get$path(t2), t1.style).get$basename());
  100811. },
  100812. $signature: 46
  100813. };
  100814. A.ImportRule0.prototype = {
  100815. accept$1$1(visitor) {
  100816. return visitor.visitImportRule$1(this);
  100817. },
  100818. accept$1(visitor) {
  100819. return this.accept$1$1(visitor, type$.dynamic);
  100820. },
  100821. toString$0(_) {
  100822. return "@import " + B.JSArray_methods.join$1(this.imports, ", ") + ";";
  100823. },
  100824. $isAstNode0: 1,
  100825. $isStatement0: 1,
  100826. get$span(receiver) {
  100827. return this.span;
  100828. }
  100829. };
  100830. A.JSImporter.prototype = {};
  100831. A.JSImporterResult.prototype = {};
  100832. A.Importer0.prototype = {
  100833. isNonCanonicalScheme$1(scheme) {
  100834. return false;
  100835. }
  100836. };
  100837. A.NodeImporterResult0.prototype = {};
  100838. A.IncludeRule0.prototype = {
  100839. get$spanWithoutContent() {
  100840. var t2, t3,
  100841. t1 = this.span;
  100842. if (!(this.content == null)) {
  100843. t2 = t1.file;
  100844. t3 = this.$arguments.span;
  100845. t3 = A.SpanExtensions_trimRight0(A.SpanExtensions_trimLeft0(t2.span$2(0, A.FileLocation$_(t2, t1._file$_start).offset, t3.get$end(t3).offset)));
  100846. t1 = t3;
  100847. }
  100848. return t1;
  100849. },
  100850. get$nameSpan() {
  100851. var startSpan, scanner, _null = null,
  100852. t1 = this.span,
  100853. t2 = t1._file$_start,
  100854. t3 = t1._end,
  100855. t4 = t1.file._decodedChars;
  100856. if (B.JSString_methods.startsWith$1(A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t4, t2, t3), 0, _null), "+"))
  100857. startSpan = A.SpanExtensions_trimLeft0(A.FileSpanExtension_subspan(t1, 1, _null));
  100858. else {
  100859. scanner = A.StringScanner$(A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t4, t2, t3), 0, _null), _null, _null);
  100860. scanner.expectChar$1(64);
  100861. A._scanIdentifier0(scanner);
  100862. startSpan = A.SpanExtensions_trimLeft0(A.FileSpanExtension_subspan(t1, scanner._string_scanner$_position, _null));
  100863. }
  100864. return A.SpanExtensions_initialIdentifier0(this.namespace != null ? A.FileSpanExtension_subspan(A.SpanExtensions_withoutInitialIdentifier0(startSpan), 1, _null) : startSpan);
  100865. },
  100866. accept$1$1(visitor) {
  100867. return visitor.visitIncludeRule$1(this);
  100868. },
  100869. accept$1(visitor) {
  100870. return this.accept$1$1(visitor, type$.dynamic);
  100871. },
  100872. toString$0(_) {
  100873. var t2, _this = this,
  100874. t1 = _this.namespace;
  100875. t1 = t1 != null ? "@include " + (t1 + ".") : "@include ";
  100876. t1 += _this.name;
  100877. t2 = _this.$arguments;
  100878. if (!t2.get$isEmpty(0))
  100879. t1 += "(" + t2.toString$0(0) + ")";
  100880. t2 = _this.content;
  100881. t1 += t2 == null ? ";" : " " + t2.toString$0(0);
  100882. return t1.charCodeAt(0) == 0 ? t1 : t1;
  100883. },
  100884. $isAstNode0: 1,
  100885. $isStatement0: 1,
  100886. get$span(receiver) {
  100887. return this.span;
  100888. }
  100889. };
  100890. A.InterpolatedFunctionExpression0.prototype = {
  100891. accept$1$1(visitor) {
  100892. return visitor.visitInterpolatedFunctionExpression$1(this);
  100893. },
  100894. accept$1(visitor) {
  100895. return this.accept$1$1(visitor, type$.dynamic);
  100896. },
  100897. toString$0(_) {
  100898. return this.name.toString$0(0) + this.$arguments.toString$0(0);
  100899. },
  100900. $isExpression0: 1,
  100901. $isAstNode0: 1,
  100902. get$span(receiver) {
  100903. return this.span;
  100904. }
  100905. };
  100906. A.Interpolation0.prototype = {
  100907. get$asPlain() {
  100908. var _0_1, t1, _0_6_isSet, _0_6, first, _null = null,
  100909. _0_0 = this.contents;
  100910. $label0$0: {
  100911. _0_1 = _0_0.length;
  100912. if (_0_1 <= 0) {
  100913. t1 = "";
  100914. break $label0$0;
  100915. }
  100916. _0_6_isSet = _0_1 === 1;
  100917. if (_0_6_isSet) {
  100918. _0_6 = _0_0[0];
  100919. t1 = _0_6;
  100920. t1 = typeof t1 == "string";
  100921. } else {
  100922. _0_6 = _null;
  100923. t1 = false;
  100924. }
  100925. if (t1) {
  100926. first = A._asString(_0_6_isSet ? _0_6 : _0_0[0]);
  100927. t1 = first;
  100928. break $label0$0;
  100929. }
  100930. t1 = _null;
  100931. break $label0$0;
  100932. }
  100933. return t1;
  100934. },
  100935. get$initialPlain() {
  100936. var _0_4_isSet, _0_4, t1, first,
  100937. _0_0 = this.contents;
  100938. $label0$0: {
  100939. _0_4_isSet = _0_0.length >= 1;
  100940. if (_0_4_isSet) {
  100941. _0_4 = _0_0[0];
  100942. t1 = _0_4;
  100943. t1 = typeof t1 == "string";
  100944. } else {
  100945. _0_4 = null;
  100946. t1 = false;
  100947. }
  100948. if (t1) {
  100949. first = A._asString(_0_4_isSet ? _0_4 : _0_0[0]);
  100950. t1 = first;
  100951. break $label0$0;
  100952. }
  100953. t1 = "";
  100954. break $label0$0;
  100955. }
  100956. return t1;
  100957. },
  100958. Interpolation$20(contents, span) {
  100959. var t1, t2, t3, i, t4, t5,
  100960. _s8_ = "contents";
  100961. for (t1 = this.contents, t2 = t1.length, t3 = type$.Expression_2, i = 0; i < t2; ++i) {
  100962. t4 = t1[i];
  100963. t5 = typeof t4 == "string";
  100964. if (!t5 && !t3._is(t4))
  100965. throw A.wrapException(A.ArgumentError$value(t1, _s8_, string$.May_on));
  100966. if (i !== 0 && typeof t1[i - 1] == "string" && t5)
  100967. throw A.wrapException(A.ArgumentError$value(t1, _s8_, "May not contain adjacent Strings."));
  100968. }
  100969. },
  100970. toString$0(_) {
  100971. var t1 = this.contents;
  100972. return new A.MappedListIterable(t1, new A.Interpolation_toString_closure0(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
  100973. },
  100974. $isAstNode0: 1,
  100975. get$span(receiver) {
  100976. return this.span;
  100977. }
  100978. };
  100979. A.Interpolation_toString_closure0.prototype = {
  100980. call$1(value) {
  100981. return typeof value == "string" ? value : "#{" + A.S(value) + "}";
  100982. },
  100983. $signature: 117
  100984. };
  100985. A.SupportsInterpolation0.prototype = {
  100986. toString$0(_) {
  100987. return "#{" + this.expression.toString$0(0) + "}";
  100988. },
  100989. $isAstNode0: 1,
  100990. get$span(receiver) {
  100991. return this.span;
  100992. }
  100993. };
  100994. A.InterpolationBuffer0.prototype = {
  100995. writeCharCode$1(character) {
  100996. var t1 = this._interpolation_buffer0$_text,
  100997. t2 = A.Primitives_stringFromCharCode(character);
  100998. t1._contents += t2;
  100999. return null;
  101000. },
  101001. addInterpolation$1(interpolation) {
  101002. var _0_4_isSet, _0_4, first, rest, t2, _this = this,
  101003. toAdd = interpolation.contents,
  101004. t1 = toAdd.length;
  101005. if (t1 === 0)
  101006. return;
  101007. _0_4_isSet = t1 >= 1;
  101008. if (_0_4_isSet) {
  101009. _0_4 = toAdd[0];
  101010. t1 = _0_4;
  101011. t1 = typeof t1 == "string";
  101012. } else {
  101013. _0_4 = null;
  101014. t1 = false;
  101015. }
  101016. if (t1) {
  101017. first = A._asString(_0_4_isSet ? _0_4 : toAdd[0]);
  101018. rest = B.JSArray_methods.sublist$1(toAdd, 1);
  101019. t1 = _this._interpolation_buffer0$_text;
  101020. t1._contents += first;
  101021. toAdd = rest;
  101022. }
  101023. _this._interpolation_buffer0$_flushText$0();
  101024. t1 = _this._interpolation_buffer0$_contents;
  101025. B.JSArray_methods.addAll$1(t1, toAdd);
  101026. if (typeof B.JSArray_methods.get$last(t1) == "string") {
  101027. t2 = _this._interpolation_buffer0$_text;
  101028. t1 = A.S(t1.pop());
  101029. t2._contents += t1;
  101030. }
  101031. },
  101032. _interpolation_buffer0$_flushText$0() {
  101033. var t1 = this._interpolation_buffer0$_text,
  101034. t2 = t1._contents;
  101035. if (t2.length === 0)
  101036. return;
  101037. this._interpolation_buffer0$_contents.push(t2.charCodeAt(0) == 0 ? t2 : t2);
  101038. t1._contents = "";
  101039. },
  101040. interpolation$1(span) {
  101041. var t1 = A.List_List$of(this._interpolation_buffer0$_contents, true, type$.Object),
  101042. t2 = this._interpolation_buffer0$_text._contents;
  101043. if (t2.length !== 0)
  101044. t1.push(t2.charCodeAt(0) == 0 ? t2 : t2);
  101045. return A.Interpolation$0(t1, span);
  101046. },
  101047. toString$0(_) {
  101048. var t1, t2, _i, t3, element;
  101049. for (t1 = this._interpolation_buffer0$_contents, t2 = t1.length, _i = 0, t3 = ""; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  101050. element = t1[_i];
  101051. t3 = typeof element == "string" ? t3 + element : t3 + "#{" + A.S(element) + A.Primitives_stringFromCharCode(125);
  101052. }
  101053. t1 = t3 + this._interpolation_buffer0$_text.toString$0(0);
  101054. return t1.charCodeAt(0) == 0 ? t1 : t1;
  101055. }
  101056. };
  101057. A.InterpolationMap0.prototype = {
  101058. mapException$1(error) {
  101059. var t3, t4, _this = this,
  101060. target = error.get$span(error),
  101061. source = _this.mapSpan$1(target),
  101062. startIndex = _this._interpolation_map$_indexInContents$1(target.get$start(target)),
  101063. endIndex = _this._interpolation_map$_indexInContents$1(target.get$end(target)),
  101064. t1 = _this._interpolation_map$_interpolation.contents,
  101065. t2 = error._span_exception$_message;
  101066. if (!A.SubListIterable$(t1, startIndex, null, A._arrayInstanceType(t1)._precomputed1).take$1(0, endIndex - startIndex + 1).any$1(0, new A.InterpolationMap_mapException_closure0()))
  101067. return new A.SourceSpanFormatException(error.get$source(), t2, source);
  101068. else {
  101069. t1 = type$.SourceSpan;
  101070. t3 = type$.String;
  101071. t4 = A.LinkedHashMap_LinkedHashMap$_literal([target, "error in interpolated output"], t1, t3);
  101072. return new A.MultiSourceSpanFormatException(error.get$source(), "", A.ConstantMap_ConstantMap$from(t4, t1, t3), t2, source);
  101073. }
  101074. },
  101075. mapSpan$1(target) {
  101076. var _0_10, t1, _0_2_isSet, _0_20, t2, start, end, _this = this, _null = null,
  101077. _0_1 = _this._interpolation_map$_mapLocation$1(target.get$start(target)),
  101078. _0_2 = _this._interpolation_map$_mapLocation$1(target.get$end(target));
  101079. $label0$0: {
  101080. _0_10 = _0_1;
  101081. t1 = type$.FileSpan;
  101082. _0_2_isSet = t1._is(_0_1);
  101083. if (_0_2_isSet) {
  101084. t1._as(_0_10);
  101085. _0_20 = _0_2;
  101086. t2 = t1._is(_0_2);
  101087. start = _0_10;
  101088. _0_1 = start;
  101089. } else {
  101090. start = _null;
  101091. _0_20 = start;
  101092. _0_1 = _0_10;
  101093. t2 = false;
  101094. }
  101095. if (t2) {
  101096. t1 = start.expand$1(0, t1._as(_0_2_isSet ? _0_20 : _0_2));
  101097. break $label0$0;
  101098. }
  101099. if (t1._is(_0_1)) {
  101100. if (_0_2_isSet)
  101101. t2 = _0_20;
  101102. else {
  101103. t2 = _0_2;
  101104. _0_20 = t2;
  101105. _0_2_isSet = true;
  101106. }
  101107. t2 = t2 instanceof A.FileLocation;
  101108. start = _0_1;
  101109. } else {
  101110. start = _null;
  101111. t2 = false;
  101112. }
  101113. if (t2) {
  101114. t1 = _0_2_isSet ? _0_20 : _0_2;
  101115. type$.FileLocation._as(t1);
  101116. t2 = _this._interpolation_map$_interpolation.span;
  101117. t1 = t2.get$file(t2).span$2(0, _this._interpolation_map$_expandInterpolationSpanLeft$1(start.get$start(start)), t1.offset);
  101118. break $label0$0;
  101119. }
  101120. if (_0_1 instanceof A.FileLocation) {
  101121. if (_0_2_isSet)
  101122. t2 = _0_20;
  101123. else {
  101124. t2 = _0_2;
  101125. _0_20 = t2;
  101126. _0_2_isSet = true;
  101127. }
  101128. t2 = t1._is(t2);
  101129. start = _0_1;
  101130. } else {
  101131. start = _null;
  101132. t2 = false;
  101133. }
  101134. if (t2) {
  101135. end = t1._as(_0_2_isSet ? _0_20 : _0_2);
  101136. t1 = _this._interpolation_map$_interpolation.span;
  101137. t1 = t1.get$file(t1).span$2(0, start.offset, _this._interpolation_map$_expandInterpolationSpanRight$1(end.get$end(end)));
  101138. break $label0$0;
  101139. }
  101140. if (_0_1 instanceof A.FileLocation) {
  101141. if (_0_2_isSet)
  101142. t1 = _0_20;
  101143. else {
  101144. t1 = _0_2;
  101145. _0_20 = t1;
  101146. _0_2_isSet = true;
  101147. }
  101148. t1 = t1 instanceof A.FileLocation;
  101149. start = _0_1;
  101150. } else {
  101151. start = _null;
  101152. t1 = false;
  101153. }
  101154. if (t1) {
  101155. t1 = _0_2_isSet ? _0_20 : _0_2;
  101156. type$.FileLocation._as(t1);
  101157. t2 = _this._interpolation_map$_interpolation.span;
  101158. t1 = t2.get$file(t2).span$2(0, start.offset, t1.offset);
  101159. break $label0$0;
  101160. }
  101161. t1 = A.throwExpression("[BUG] Unreachable");
  101162. }
  101163. return t1;
  101164. },
  101165. _interpolation_map$_mapLocation$1(target) {
  101166. var t4, previousLocation, _this = this,
  101167. index = _this._interpolation_map$_indexInContents$1(target),
  101168. t1 = _this._interpolation_map$_interpolation,
  101169. t2 = t1.contents,
  101170. _0_0 = t2[index],
  101171. t3 = type$.Expression_2;
  101172. if (t3._is(_0_0))
  101173. return _0_0.get$span(_0_0);
  101174. t4 = index === 0;
  101175. t1 = t1.span;
  101176. if (t4)
  101177. previousLocation = t1.get$start(t1);
  101178. else {
  101179. t1 = t1.get$file(t1);
  101180. t2 = t3._as(t2[index - 1]);
  101181. t2 = t2.get$span(t2);
  101182. previousLocation = A.FileLocation$_(t1, _this._interpolation_map$_expandInterpolationSpanRight$1(t2.get$end(t2)));
  101183. }
  101184. t1 = t4 ? 0 : _this._interpolation_map$_targetLocations[index - 1].get$offset();
  101185. return A.FileLocation$_(previousLocation.file, previousLocation.offset + (target.offset - t1));
  101186. },
  101187. _interpolation_map$_indexInContents$1(target) {
  101188. var t1, t2, t3, i;
  101189. for (t1 = this._interpolation_map$_targetLocations, t2 = t1.length, t3 = target.offset, i = 0; i < t2; ++i)
  101190. if (t3 < t1[i].get$offset())
  101191. return i;
  101192. return this._interpolation_map$_interpolation.contents.length - 1;
  101193. },
  101194. _interpolation_map$_expandInterpolationSpanLeft$1(start) {
  101195. var i0, prev, char,
  101196. source = start.file._decodedChars,
  101197. i = start.offset - 1;
  101198. for (; i >= 0;) {
  101199. i0 = i - 1;
  101200. prev = source[i];
  101201. if (prev === 123) {
  101202. if (source[i0] === 35) {
  101203. i = i0;
  101204. break;
  101205. }
  101206. i = i0;
  101207. } else if (prev === 47) {
  101208. i = i0 - 1;
  101209. if (source[i0] === 42)
  101210. for (; true;) {
  101211. i0 = i - 1;
  101212. if (source[i] !== 42) {
  101213. i = i0;
  101214. continue;
  101215. }
  101216. i = i0;
  101217. do {
  101218. i0 = i - 1;
  101219. char = source[i];
  101220. if (char === 42) {
  101221. i = i0;
  101222. continue;
  101223. } else
  101224. break;
  101225. } while (true);
  101226. if (char === 47) {
  101227. i = i0;
  101228. break;
  101229. }
  101230. i = i0;
  101231. }
  101232. } else
  101233. i = i0;
  101234. }
  101235. return i;
  101236. },
  101237. _interpolation_map$_expandInterpolationSpanRight$1(end) {
  101238. var t1, i0, next, second, t2, char,
  101239. source = end.file._decodedChars,
  101240. i = end.offset;
  101241. for (t1 = source.length; i < t1;) {
  101242. i0 = i + 1;
  101243. next = source[i];
  101244. if (next === 125) {
  101245. i = i0;
  101246. break;
  101247. }
  101248. if (next === 47) {
  101249. i = i0 + 1;
  101250. second = source[i0];
  101251. if (second === 47) {
  101252. while (true) {
  101253. i0 = i + 1;
  101254. t2 = source[i];
  101255. if (!!(t2 === 10 || t2 === 13 || t2 === 12))
  101256. break;
  101257. i = i0;
  101258. }
  101259. i = i0;
  101260. } else if (second === 42)
  101261. for (; true;) {
  101262. i0 = i + 1;
  101263. if (source[i] !== 42) {
  101264. i = i0;
  101265. continue;
  101266. }
  101267. i = i0;
  101268. do {
  101269. i0 = i + 1;
  101270. char = source[i];
  101271. if (char === 42) {
  101272. i = i0;
  101273. continue;
  101274. } else
  101275. break;
  101276. } while (true);
  101277. if (char === 47) {
  101278. i = i0;
  101279. break;
  101280. }
  101281. i = i0;
  101282. }
  101283. } else
  101284. i = i0;
  101285. }
  101286. return i;
  101287. }
  101288. };
  101289. A.InterpolationMap_mapException_closure0.prototype = {
  101290. call$1($content) {
  101291. return type$.Expression_2._is($content);
  101292. },
  101293. $signature: 67
  101294. };
  101295. A._realCasePath_helper0.prototype = {
  101296. call$1(path) {
  101297. var dirname = $.$get$context().dirname$1(path);
  101298. if (dirname === path)
  101299. return path;
  101300. return $._realCaseCache0.putIfAbsent$2(path, new A._realCasePath_helper_closure0(this, dirname, path));
  101301. },
  101302. $signature: 5
  101303. };
  101304. A._realCasePath_helper_closure0.prototype = {
  101305. call$0() {
  101306. var matches, t1, _0_0, match, exception,
  101307. realDirname = this.helper.call$1(this.dirname),
  101308. t2 = this.path,
  101309. basename = A.ParsedPath_ParsedPath$parse(t2, $.$get$context().style).get$basename();
  101310. try {
  101311. matches = J.where$1$ax(A.listDir0(realDirname), new A._realCasePath_helper__closure0(basename)).toList$0(0);
  101312. t1 = null;
  101313. _0_0 = matches;
  101314. $label0$0: {
  101315. match = null;
  101316. if (J.get$length$asx(_0_0) === 1) {
  101317. match = J.$index$asx(_0_0, 0);
  101318. t1 = match;
  101319. break $label0$0;
  101320. }
  101321. t1 = A.join(realDirname, basename, null);
  101322. break $label0$0;
  101323. }
  101324. t1 = t1;
  101325. return t1;
  101326. } catch (exception) {
  101327. if (A.unwrapException(exception) instanceof A.FileSystemException0)
  101328. return t2;
  101329. else
  101330. throw exception;
  101331. }
  101332. },
  101333. $signature: 25
  101334. };
  101335. A._realCasePath_helper__closure0.prototype = {
  101336. call$1(realPath) {
  101337. return A.equalsIgnoreCase0(A.ParsedPath_ParsedPath$parse(realPath, $.$get$context().style).get$basename(), this.basename);
  101338. },
  101339. $signature: 4
  101340. };
  101341. A.FileSystemException0.prototype = {
  101342. toString$0(_) {
  101343. var t1 = $.$get$context();
  101344. return t1.prettyUri$1(t1.toUri$1(this.path)) + ": " + this.message;
  101345. },
  101346. get$message(receiver) {
  101347. return this.message;
  101348. }
  101349. };
  101350. A._readFile_closure0.prototype = {
  101351. call$0() {
  101352. return J.readFileSync$2$x(A.fs(), this.path, this.encoding);
  101353. },
  101354. $signature: 62
  101355. };
  101356. A.fileExists_closure0.prototype = {
  101357. call$0() {
  101358. var error, systemError, exception,
  101359. t1 = this.path;
  101360. if (!J.existsSync$1$x(A.fs(), t1))
  101361. return false;
  101362. try {
  101363. t1 = J.isFile$0$x(J.statSync$1$x(A.fs(), t1));
  101364. return t1;
  101365. } catch (exception) {
  101366. error = A.unwrapException(exception);
  101367. systemError = type$.JsSystemError._as(error);
  101368. if (J.$eq$(J.get$code$x(systemError), "ENOENT"))
  101369. return false;
  101370. throw exception;
  101371. }
  101372. },
  101373. $signature: 30
  101374. };
  101375. A.dirExists_closure0.prototype = {
  101376. call$0() {
  101377. var error, systemError, exception,
  101378. t1 = this.path;
  101379. if (!J.existsSync$1$x(A.fs(), t1))
  101380. return false;
  101381. try {
  101382. t1 = J.isDirectory$0$x(J.statSync$1$x(A.fs(), t1));
  101383. return t1;
  101384. } catch (exception) {
  101385. error = A.unwrapException(exception);
  101386. systemError = type$.JsSystemError._as(error);
  101387. if (J.$eq$(J.get$code$x(systemError), "ENOENT"))
  101388. return false;
  101389. throw exception;
  101390. }
  101391. },
  101392. $signature: 30
  101393. };
  101394. A.listDir_closure0.prototype = {
  101395. call$0() {
  101396. var t1 = this.path;
  101397. if (!this.recursive)
  101398. 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());
  101399. else
  101400. return new A.listDir_closure_list0().call$1(t1);
  101401. },
  101402. $signature: 146
  101403. };
  101404. A.listDir__closure1.prototype = {
  101405. call$1(child) {
  101406. return A.join(this.path, A._asString(child), null);
  101407. },
  101408. $signature: 125
  101409. };
  101410. A.listDir__closure2.prototype = {
  101411. call$1(child) {
  101412. return !A.dirExists0(child);
  101413. },
  101414. $signature: 4
  101415. };
  101416. A.listDir_closure_list0.prototype = {
  101417. call$1($parent) {
  101418. return J.expand$1$1$ax(J.readdirSync$1$x(A.fs(), $parent), new A.listDir__list_closure0($parent, this), type$.String);
  101419. },
  101420. $signature: 147
  101421. };
  101422. A.listDir__list_closure0.prototype = {
  101423. call$1(child) {
  101424. var path = A.join(this.parent, A._asString(child), null);
  101425. return A.dirExists0(path) ? this.list.call$1(path) : A._setArrayType([path], type$.JSArray_String);
  101426. },
  101427. $signature: 148
  101428. };
  101429. A.main_closure.prototype = {
  101430. call$2(_, __) {
  101431. },
  101432. $signature: 470
  101433. };
  101434. A.main_closure0.prototype = {
  101435. call$2(_, __) {
  101436. },
  101437. $signature: 471
  101438. };
  101439. A.JSToDartLogger.prototype = {
  101440. internalWarn$4$deprecation$span$trace(message, deprecation, span, trace) {
  101441. var t2, t3, t4,
  101442. t1 = this._node,
  101443. _0_0 = t1 == null ? null : J.get$warn$x(t1);
  101444. if (_0_0 != null) {
  101445. t1 = span == null ? type$.nullable_SourceSpan._as(self.undefined) : span;
  101446. t2 = J.toString$0$(trace);
  101447. t3 = deprecation == null;
  101448. t4 = $.$get$deprecations();
  101449. _0_0.call$2(message, {deprecation: !t3, deprecationType: t4.$index(0, t3 ? null : deprecation.id), span: t1, stack: t2});
  101450. } else
  101451. this._withAscii$1(new A.JSToDartLogger_internalWarn_closure(this, message, span, trace, deprecation));
  101452. },
  101453. debug$2(_, message, span) {
  101454. var t1 = this._node,
  101455. _0_0 = t1 == null ? null : J.get$debug$x(t1);
  101456. if (_0_0 != null)
  101457. _0_0.call$2(message, {span: span});
  101458. else
  101459. this._withAscii$1(new A.JSToDartLogger_debug_closure(this, message, span));
  101460. },
  101461. _withAscii$1$1(callback) {
  101462. var t1,
  101463. wasAscii = $._glyphs === B.C_AsciiGlyphSet;
  101464. $._glyphs = this._ascii ? B.C_AsciiGlyphSet : B.C_UnicodeGlyphSet;
  101465. try {
  101466. t1 = callback.call$0();
  101467. return t1;
  101468. } finally {
  101469. $._glyphs = wasAscii ? B.C_AsciiGlyphSet : B.C_UnicodeGlyphSet;
  101470. }
  101471. },
  101472. _withAscii$1(callback) {
  101473. return this._withAscii$1$1(callback, type$.dynamic);
  101474. }
  101475. };
  101476. A.JSToDartLogger_internalWarn_closure.prototype = {
  101477. call$0() {
  101478. var _this = this;
  101479. _this.$this._fallback.warn$4$deprecation$span$trace(0, _this.message, _this.deprecation != null, _this.span, _this.trace);
  101480. },
  101481. $signature: 1
  101482. };
  101483. A.JSToDartLogger_debug_closure.prototype = {
  101484. call$0() {
  101485. return this.$this._fallback.debug$2(0, this.message, this.span);
  101486. },
  101487. $signature: 0
  101488. };
  101489. A.ModifiableCssKeyframeBlock0.prototype = {
  101490. accept$1$1(visitor) {
  101491. return visitor.visitCssKeyframeBlock$1(this);
  101492. },
  101493. accept$1(visitor) {
  101494. return this.accept$1$1(visitor, type$.dynamic);
  101495. },
  101496. equalsIgnoringChildren$1(other) {
  101497. return other instanceof A.ModifiableCssKeyframeBlock0 && B.C_ListEquality.equals$2(0, this.selector.value, other.selector.value);
  101498. },
  101499. copyWithoutChildren$0() {
  101500. return A.ModifiableCssKeyframeBlock$0(this.selector, this.span);
  101501. },
  101502. get$span(receiver) {
  101503. return this.span;
  101504. }
  101505. };
  101506. A.KeyframeSelectorParser0.prototype = {
  101507. parse$0() {
  101508. return this.wrapSpanFormatException$1(new A.KeyframeSelectorParser_parse_closure0(this));
  101509. },
  101510. _keyframe_selector$_percentage$0() {
  101511. var $self, _0_0,
  101512. t1 = this.scanner,
  101513. t2 = t1.scanChar$1(43) ? "" + A.Primitives_stringFromCharCode(43) : "",
  101514. second = t1.peekChar$0();
  101515. if (!(second != null && second >= 48 && second <= 57) && second !== 46)
  101516. t1.error$1(0, "Expected number.");
  101517. while (true) {
  101518. $self = t1.peekChar$0();
  101519. if (!($self != null && $self >= 48 && $self <= 57))
  101520. break;
  101521. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  101522. }
  101523. if (t1.peekChar$0() === 46) {
  101524. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  101525. while (true) {
  101526. $self = t1.peekChar$0();
  101527. if (!($self != null && $self >= 48 && $self <= 57))
  101528. break;
  101529. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  101530. }
  101531. }
  101532. if (this.scanIdentChar$1(101)) {
  101533. t2 += A.Primitives_stringFromCharCode(101);
  101534. _0_0 = t1.peekChar$0();
  101535. if (43 === _0_0 || 45 === _0_0)
  101536. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  101537. $self = t1.peekChar$0();
  101538. if (!($self != null && $self >= 48 && $self <= 57))
  101539. t1.error$1(0, "Expected digit.");
  101540. do {
  101541. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  101542. $self = t1.peekChar$0();
  101543. } while ($self != null && $self >= 48 && $self <= 57);
  101544. }
  101545. t1.expectChar$1(37);
  101546. t2 += A.Primitives_stringFromCharCode(37);
  101547. return t2.charCodeAt(0) == 0 ? t2 : t2;
  101548. }
  101549. };
  101550. A.KeyframeSelectorParser_parse_closure0.prototype = {
  101551. call$0() {
  101552. var selectors = A._setArrayType([], type$.JSArray_String),
  101553. t1 = this.$this,
  101554. t2 = t1.scanner;
  101555. do {
  101556. t1.whitespace$0();
  101557. if (t1.lookingAtIdentifier$0())
  101558. if (t1.scanIdentifier$1("from"))
  101559. selectors.push("from");
  101560. else {
  101561. t1.expectIdentifier$2$name("to", '"to" or "from"');
  101562. selectors.push("to");
  101563. }
  101564. else
  101565. selectors.push(t1._keyframe_selector$_percentage$0());
  101566. t1.whitespace$0();
  101567. } while (t2.scanChar$1(44));
  101568. t2.expectDone$0();
  101569. return selectors;
  101570. },
  101571. $signature: 126
  101572. };
  101573. A.LazyFileSpan0.prototype = {
  101574. get$span(_) {
  101575. var t1 = this._lazy_file_span0$_span;
  101576. return t1 == null ? this._lazy_file_span0$_span = this._lazy_file_span0$_builder.call$0() : t1;
  101577. },
  101578. compareTo$1(_, other) {
  101579. return this.get$span(0).compareTo$1(0, other);
  101580. },
  101581. get$context(_) {
  101582. var t1 = this.get$span(0);
  101583. return t1.get$context(t1);
  101584. },
  101585. get$end(_) {
  101586. var t1 = this.get$span(0);
  101587. return t1.get$end(t1);
  101588. },
  101589. expand$1(_, other) {
  101590. return this.get$span(0).expand$1(0, other);
  101591. },
  101592. get$file(_) {
  101593. var t1 = this.get$span(0);
  101594. return t1.get$file(t1);
  101595. },
  101596. highlight$1$color(color) {
  101597. return this.get$span(0).highlight$1$color(color);
  101598. },
  101599. get$length(_) {
  101600. var t1 = this.get$span(0);
  101601. return t1.get$length(t1);
  101602. },
  101603. message$2$color(_, message, color) {
  101604. return this.get$span(0).message$2$color(0, message, color);
  101605. },
  101606. message$1(_, message) {
  101607. return this.message$2$color(0, message, null);
  101608. },
  101609. get$sourceUrl(_) {
  101610. var t1 = this.get$span(0);
  101611. return t1.get$sourceUrl(t1);
  101612. },
  101613. get$start(_) {
  101614. var t1 = this.get$span(0);
  101615. return t1.get$start(t1);
  101616. },
  101617. get$text() {
  101618. return this.get$span(0).get$text();
  101619. },
  101620. $isComparable: 1,
  101621. $isFileSpan: 1,
  101622. $isSourceSpan: 1,
  101623. $isSourceSpanWithContext: 1
  101624. };
  101625. A.render_closure.prototype = {
  101626. call$0() {
  101627. var error, exception;
  101628. try {
  101629. this.callback.call$2(null, A.renderSync(this.options));
  101630. } catch (exception) {
  101631. error = A.unwrapException(exception);
  101632. this.callback.call$2(error, null);
  101633. }
  101634. return null;
  101635. },
  101636. $signature: 1
  101637. };
  101638. A.render_closure0.prototype = {
  101639. call$1(result) {
  101640. this.callback.call$2(null, result);
  101641. },
  101642. $signature: 472
  101643. };
  101644. A.render_closure1.prototype = {
  101645. call$2(error, stackTrace) {
  101646. var t2, t3, _null = null,
  101647. t1 = this.callback;
  101648. if (error instanceof A.SassException0)
  101649. t1.call$2(A._wrapException(error, stackTrace), _null);
  101650. else {
  101651. t2 = J.toString$0$(error);
  101652. t3 = A.getTrace0(error);
  101653. t1.call$2(A._newRenderError(t2, t3 == null ? stackTrace : t3, _null, _null, _null, 3), _null);
  101654. }
  101655. },
  101656. $signature: 53
  101657. };
  101658. A._parseFunctions_closure.prototype = {
  101659. call$2(signature, callback) {
  101660. var _0_0, _this = this, t1 = {},
  101661. t2 = _this.options,
  101662. context = {options: A._contextOptions(t2, _this.start)};
  101663. J.set$context$x(J.get$options$x(context), context);
  101664. _0_0 = J.get$fiber$x(t2);
  101665. t1.fiber = null;
  101666. if (_0_0 != null) {
  101667. t1.fiber = _0_0;
  101668. _this.result.push(A.Callable_Callable$fromSignature(B.JSString_methods.trimLeft$0(signature), new A._parseFunctions__closure(t1, callback, context), false));
  101669. } else {
  101670. t1 = _this.result;
  101671. if (!_this.asynch)
  101672. t1.push(A.Callable_Callable$fromSignature(B.JSString_methods.trimLeft$0(signature), new A._parseFunctions__closure0(callback, context), false));
  101673. else
  101674. t1.push(A.AsyncCallable_AsyncCallable$fromSignature(B.JSString_methods.trimLeft$0(signature), new A._parseFunctions__closure1(callback, context), false));
  101675. }
  101676. },
  101677. $signature: 122
  101678. };
  101679. A._parseFunctions__closure.prototype = {
  101680. call$1($arguments) {
  101681. var result,
  101682. t1 = this._box_0,
  101683. currentFiber = J.get$current$x(t1.fiber),
  101684. t2 = type$.Object;
  101685. t2 = A.List_List$of(J.map$1$1$ax($arguments, A.value0__wrapValue$closure(), t2), true, t2);
  101686. t2.push(A.allowInterop(new A._parseFunctions___closure2(currentFiber)));
  101687. result = A.wrapJSExceptions(new A._parseFunctions___closure3(this.callback, this.context, t2));
  101688. return A.unwrapValue(A._asBool($.$get$_isUndefined().call$1(result)) ? A.runZoned(new A._parseFunctions___closure4(t1), null, type$.nullable_Object) : result);
  101689. },
  101690. $signature: 3
  101691. };
  101692. A._parseFunctions___closure2.prototype = {
  101693. call$1(result) {
  101694. A.scheduleMicrotask(new A._parseFunctions____closure(this.currentFiber, result));
  101695. },
  101696. call$0() {
  101697. return this.call$1(null);
  101698. },
  101699. "call*": "call$1",
  101700. $requiredArgCount: 0,
  101701. $defaultValues() {
  101702. return [null];
  101703. },
  101704. $signature: 104
  101705. };
  101706. A._parseFunctions____closure.prototype = {
  101707. call$0() {
  101708. return J.run$1$x(this.currentFiber, this.result);
  101709. },
  101710. $signature: 0
  101711. };
  101712. A._parseFunctions___closure3.prototype = {
  101713. call$0() {
  101714. return J.apply$2$x(type$.JSFunction._as(this.callback), this.context, this.jsArguments);
  101715. },
  101716. $signature: 31
  101717. };
  101718. A._parseFunctions___closure4.prototype = {
  101719. call$0() {
  101720. return J.yield$0$x(this._box_0.fiber);
  101721. },
  101722. $signature: 80
  101723. };
  101724. A._parseFunctions__closure0.prototype = {
  101725. call$1($arguments) {
  101726. return A.unwrapValue(A.wrapJSExceptions(new A._parseFunctions___closure1(this.callback, this.context, $arguments)));
  101727. },
  101728. $signature: 3
  101729. };
  101730. A._parseFunctions___closure1.prototype = {
  101731. call$0() {
  101732. var t1 = type$.JSFunction._as(this.callback),
  101733. t2 = J.map$1$1$ax(this.$arguments, A.value0__wrapValue$closure(), type$.Object);
  101734. return J.apply$2$x(t1, this.context, A.List_List$of(t2, true, t2.$ti._eval$1("ListIterable.E")));
  101735. },
  101736. $signature: 31
  101737. };
  101738. A._parseFunctions__closure1.prototype = {
  101739. call$1($arguments) {
  101740. return this.$call$body$_parseFunctions__closure($arguments);
  101741. },
  101742. $call$body$_parseFunctions__closure($arguments) {
  101743. var $async$goto = 0,
  101744. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  101745. $async$returnValue, $async$self = this, result, t1, t2, $async$temp1;
  101746. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  101747. if ($async$errorCode === 1)
  101748. return A._asyncRethrow($async$result, $async$completer);
  101749. while (true)
  101750. switch ($async$goto) {
  101751. case 0:
  101752. // Function start
  101753. t1 = new A._Future($.Zone__current, type$._Future_nullable_Object);
  101754. t2 = type$.Object;
  101755. t2 = A.List_List$of(J.map$1$1$ax($arguments, A.value0__wrapValue$closure(), t2), true, t2);
  101756. t2.push(A.allowInterop(new A._parseFunctions___closure(new A._AsyncCompleter(t1, type$._AsyncCompleter_nullable_Object))));
  101757. result = A.wrapJSExceptions(new A._parseFunctions___closure0($async$self.callback, $async$self.context, t2));
  101758. $async$temp1 = A;
  101759. $async$goto = A._asBool($.$get$_isUndefined().call$1(result)) ? 3 : 5;
  101760. break;
  101761. case 3:
  101762. // then
  101763. $async$goto = 6;
  101764. return A._asyncAwait(t1, $async$call$1);
  101765. case 6:
  101766. // returning from await.
  101767. // goto join
  101768. $async$goto = 4;
  101769. break;
  101770. case 5:
  101771. // else
  101772. $async$result = result;
  101773. case 4:
  101774. // join
  101775. $async$returnValue = $async$temp1.unwrapValue($async$result);
  101776. // goto return
  101777. $async$goto = 1;
  101778. break;
  101779. case 1:
  101780. // return
  101781. return A._asyncReturn($async$returnValue, $async$completer);
  101782. }
  101783. });
  101784. return A._asyncStartSync($async$call$1, $async$completer);
  101785. },
  101786. $signature: 89
  101787. };
  101788. A._parseFunctions___closure.prototype = {
  101789. call$1(result) {
  101790. return this.completer.complete$1(result);
  101791. },
  101792. call$0() {
  101793. return this.call$1(null);
  101794. },
  101795. "call*": "call$1",
  101796. $requiredArgCount: 0,
  101797. $defaultValues() {
  101798. return [null];
  101799. },
  101800. $signature: 259
  101801. };
  101802. A._parseFunctions___closure0.prototype = {
  101803. call$0() {
  101804. return J.apply$2$x(type$.JSFunction._as(this.callback), this.context, this.jsArguments);
  101805. },
  101806. $signature: 31
  101807. };
  101808. A._parseImporter_closure.prototype = {
  101809. call$1(importer) {
  101810. return type$.JSFunction._as(A.allowInteropCaptureThis(new A._parseImporter__closure(this._box_0, importer)));
  101811. },
  101812. $signature: 473
  101813. };
  101814. A._parseImporter__closure.prototype = {
  101815. call$4(thisArg, url, previous, _) {
  101816. var t1 = this._box_0,
  101817. 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));
  101818. if (A._asBool($.$get$_isUndefined().call$1(result)))
  101819. return A.runZoned(new A._parseImporter___closure0(t1), null, type$.Object);
  101820. return result;
  101821. },
  101822. call$3(thisArg, url, previous) {
  101823. return this.call$4(thisArg, url, previous, null);
  101824. },
  101825. "call*": "call$4",
  101826. $requiredArgCount: 3,
  101827. $defaultValues() {
  101828. return [null];
  101829. },
  101830. $signature: 474
  101831. };
  101832. A._parseImporter___closure.prototype = {
  101833. call$1(result) {
  101834. A.scheduleMicrotask(new A._parseImporter____closure(this.currentFiber, result));
  101835. },
  101836. $signature: 475
  101837. };
  101838. A._parseImporter____closure.prototype = {
  101839. call$0() {
  101840. return J.run$1$x(this.currentFiber, this.result);
  101841. },
  101842. $signature: 0
  101843. };
  101844. A._parseImporter___closure0.prototype = {
  101845. call$0() {
  101846. return J.yield$0$x(this._box_0.fiber);
  101847. },
  101848. $signature: 80
  101849. };
  101850. A.LimitedMapView0.prototype = {
  101851. get$keys(_) {
  101852. return this._limited_map_view0$_keys;
  101853. },
  101854. get$length(_) {
  101855. return this._limited_map_view0$_keys._collection$_length;
  101856. },
  101857. get$isEmpty(_) {
  101858. return this._limited_map_view0$_keys._collection$_length === 0;
  101859. },
  101860. get$isNotEmpty(_) {
  101861. return this._limited_map_view0$_keys._collection$_length !== 0;
  101862. },
  101863. $index(_, key) {
  101864. return this._limited_map_view0$_keys.contains$1(0, key) ? this._limited_map_view0$_map.$index(0, key) : null;
  101865. },
  101866. containsKey$1(key) {
  101867. return this._limited_map_view0$_keys.contains$1(0, key);
  101868. },
  101869. remove$1(_, key) {
  101870. return this._limited_map_view0$_keys.contains$1(0, key) ? this._limited_map_view0$_map.remove$1(0, key) : null;
  101871. }
  101872. };
  101873. A.ListExpression0.prototype = {
  101874. accept$1$1(visitor) {
  101875. return visitor.visitListExpression$1(this);
  101876. },
  101877. accept$1(visitor) {
  101878. return this.accept$1$1(visitor, type$.dynamic);
  101879. },
  101880. toString$0(_) {
  101881. var t2, t3, t4, t5, _this = this,
  101882. t1 = _this.hasBrackets;
  101883. if (t1)
  101884. t2 = "" + A.Primitives_stringFromCharCode(91);
  101885. else {
  101886. t2 = _this.contents.length;
  101887. if (t2 !== 0)
  101888. t2 = t2 === 1 && _this.separator === B.ListSeparator_ECn0;
  101889. else
  101890. t2 = true;
  101891. t2 = t2 ? "" + A.Primitives_stringFromCharCode(40) : "";
  101892. }
  101893. t3 = _this.contents;
  101894. t4 = _this.separator === B.ListSeparator_ECn0;
  101895. t5 = t4 ? ", " : " ";
  101896. t5 = t2 + new A.MappedListIterable(t3, new A.ListExpression_toString_closure0(_this), A._arrayInstanceType(t3)._eval$1("MappedListIterable<1,String>")).join$1(0, t5);
  101897. if (t1)
  101898. t1 = t5 + A.Primitives_stringFromCharCode(93);
  101899. else {
  101900. t1 = t3.length;
  101901. if (t1 === 0)
  101902. t1 = t5 + A.Primitives_stringFromCharCode(41);
  101903. else
  101904. t1 = t1 === 1 && t4 ? t5 + ",)" : t5;
  101905. }
  101906. return t1.charCodeAt(0) == 0 ? t1 : t1;
  101907. },
  101908. _list3$_elementNeedsParens$1(expression) {
  101909. var childSeparator, t1, _0_13;
  101910. $label0$0: {
  101911. if (expression instanceof A.ListExpression0 && expression.contents.length >= 2 && !expression.hasBrackets) {
  101912. childSeparator = expression.separator;
  101913. t1 = this.separator === B.ListSeparator_ECn0 ? childSeparator === B.ListSeparator_ECn0 : childSeparator !== B.ListSeparator_undecided_null_undecided0;
  101914. break $label0$0;
  101915. }
  101916. if (expression instanceof A.UnaryOperationExpression0) {
  101917. _0_13 = expression.operator;
  101918. if (B.UnaryOperator_cLp0 !== _0_13)
  101919. t1 = B.UnaryOperator_AiQ0 === _0_13;
  101920. else
  101921. t1 = true;
  101922. } else
  101923. t1 = false;
  101924. if (t1) {
  101925. t1 = this.separator === B.ListSeparator_nbm0;
  101926. break $label0$0;
  101927. }
  101928. t1 = false;
  101929. break $label0$0;
  101930. }
  101931. return t1;
  101932. },
  101933. $isExpression0: 1,
  101934. $isAstNode0: 1,
  101935. get$span(receiver) {
  101936. return this.span;
  101937. }
  101938. };
  101939. A.ListExpression_toString_closure0.prototype = {
  101940. call$1(element) {
  101941. return this.$this._list3$_elementNeedsParens$1(element) ? "(" + element.toString$0(0) + ")" : element.toString$0(0);
  101942. },
  101943. $signature: 135
  101944. };
  101945. A._length_closure2.prototype = {
  101946. call$1($arguments) {
  101947. return A.SassNumber_SassNumber0(J.$index$asx($arguments, 0).get$asList().length, null);
  101948. },
  101949. $signature: 12
  101950. };
  101951. A._nth_closure0.prototype = {
  101952. call$1($arguments) {
  101953. var t1 = J.getInterceptor$asx($arguments),
  101954. list = t1.$index($arguments, 0),
  101955. index = t1.$index($arguments, 1);
  101956. return list.get$asList()[list.sassIndexToListIndex$2(index, "n")];
  101957. },
  101958. $signature: 3
  101959. };
  101960. A._setNth_closure0.prototype = {
  101961. call$1($arguments) {
  101962. var newList,
  101963. t1 = J.getInterceptor$asx($arguments),
  101964. list = t1.$index($arguments, 0),
  101965. index = t1.$index($arguments, 1),
  101966. value = t1.$index($arguments, 2);
  101967. t1 = list.get$asList();
  101968. newList = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
  101969. newList[list.sassIndexToListIndex$2(index, "n")] = value;
  101970. return list.withListContents$1(newList);
  101971. },
  101972. $signature: 22
  101973. };
  101974. A._join_closure0.prototype = {
  101975. call$1($arguments) {
  101976. var _0_1, _0_4, _0_3, t2, _0_40, separator, bracketed, _null = null,
  101977. t1 = J.getInterceptor$asx($arguments),
  101978. list1 = t1.$index($arguments, 0),
  101979. list2 = t1.$index($arguments, 1),
  101980. separatorParam = t1.$index($arguments, 2).assertString$1("separator"),
  101981. bracketedParam = t1.$index($arguments, 3),
  101982. _1_0 = separatorParam._string0$_text;
  101983. $label1$1: {
  101984. if ("auto" === _1_0) {
  101985. _0_1 = list1.get$separator(list1);
  101986. _0_4 = list2.get$separator(list2);
  101987. $label0$0: {
  101988. _0_3 = B.ListSeparator_undecided_null_undecided0 === _0_1;
  101989. t1 = _0_3;
  101990. if (t1) {
  101991. t2 = B.ListSeparator_undecided_null_undecided0 === _0_4;
  101992. _0_40 = _0_4;
  101993. } else {
  101994. _0_40 = _null;
  101995. t2 = false;
  101996. }
  101997. if (t2) {
  101998. t1 = B.ListSeparator_nbm0;
  101999. break $label0$0;
  102000. }
  102001. if (_0_3)
  102002. separator = t1 ? _0_40 : _0_4;
  102003. else
  102004. separator = _null;
  102005. if (!_0_3)
  102006. separator = _0_1;
  102007. t1 = separator;
  102008. break $label0$0;
  102009. }
  102010. break $label1$1;
  102011. }
  102012. if ("space" === _1_0) {
  102013. t1 = B.ListSeparator_nbm0;
  102014. break $label1$1;
  102015. }
  102016. if ("comma" === _1_0) {
  102017. t1 = B.ListSeparator_ECn0;
  102018. break $label1$1;
  102019. }
  102020. if ("slash" === _1_0) {
  102021. t1 = B.ListSeparator_cQA0;
  102022. break $label1$1;
  102023. }
  102024. t1 = A.throwExpression(A.SassScriptException$0(string$.x24separ, _null));
  102025. }
  102026. bracketed = bracketedParam instanceof A.SassString0 && bracketedParam._string0$_text === "auto" ? list1.get$hasBrackets() : bracketedParam.get$isTruthy();
  102027. t2 = A.List_List$of(list1.get$asList(), true, type$.Value_2);
  102028. B.JSArray_methods.addAll$1(t2, list2.get$asList());
  102029. return A.SassList$0(t2, t1, bracketed);
  102030. },
  102031. $signature: 22
  102032. };
  102033. A._append_closure2.prototype = {
  102034. call$1($arguments) {
  102035. var t2,
  102036. t1 = J.getInterceptor$asx($arguments),
  102037. list = t1.$index($arguments, 0),
  102038. value = t1.$index($arguments, 1),
  102039. _0_0 = t1.$index($arguments, 2).assertString$1("separator")._string0$_text;
  102040. $label0$0: {
  102041. if ("auto" === _0_0) {
  102042. t1 = list.get$separator(list) === B.ListSeparator_undecided_null_undecided0 ? B.ListSeparator_nbm0 : list.get$separator(list);
  102043. break $label0$0;
  102044. }
  102045. if ("space" === _0_0) {
  102046. t1 = B.ListSeparator_nbm0;
  102047. break $label0$0;
  102048. }
  102049. if ("comma" === _0_0) {
  102050. t1 = B.ListSeparator_ECn0;
  102051. break $label0$0;
  102052. }
  102053. if ("slash" === _0_0) {
  102054. t1 = B.ListSeparator_cQA0;
  102055. break $label0$0;
  102056. }
  102057. t1 = A.throwExpression(A.SassScriptException$0(string$.x24separ, null));
  102058. }
  102059. t2 = A.List_List$of(list.get$asList(), true, type$.Value_2);
  102060. t2.push(value);
  102061. return list.withListContents$2$separator(t2, t1);
  102062. },
  102063. $signature: 22
  102064. };
  102065. A._zip_closure0.prototype = {
  102066. call$1($arguments) {
  102067. var results, result, _box_0 = {},
  102068. t1 = J.$index$asx($arguments, 0).get$asList(),
  102069. t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,List<Value0>>"),
  102070. lists = A.List_List$of(new A.MappedListIterable(t1, new A._zip__closure2(), t2), true, t2._eval$1("ListIterable.E"));
  102071. if (lists.length === 0)
  102072. return B.SassList_bdS1;
  102073. _box_0.i = 0;
  102074. results = A._setArrayType([], type$.JSArray_SassList_2);
  102075. 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));) {
  102076. result = A.List_List$from(new A.MappedListIterable(lists, new A._zip__closure4(_box_0), t1), false, t2);
  102077. result.fixed$length = Array;
  102078. result.immutable$list = Array;
  102079. results.push(new A.SassList0(result, B.ListSeparator_nbm0, false));
  102080. ++_box_0.i;
  102081. }
  102082. return A.SassList$0(results, B.ListSeparator_ECn0, false);
  102083. },
  102084. $signature: 22
  102085. };
  102086. A._zip__closure2.prototype = {
  102087. call$1(list) {
  102088. return list.get$asList();
  102089. },
  102090. $signature: 477
  102091. };
  102092. A._zip__closure3.prototype = {
  102093. call$1(list) {
  102094. return this._box_0.i !== J.get$length$asx(list);
  102095. },
  102096. $signature: 478
  102097. };
  102098. A._zip__closure4.prototype = {
  102099. call$1(list) {
  102100. return J.$index$asx(list, this._box_0.i);
  102101. },
  102102. $signature: 3
  102103. };
  102104. A._index_closure2.prototype = {
  102105. call$1($arguments) {
  102106. var t1 = J.getInterceptor$asx($arguments),
  102107. index = B.JSArray_methods.indexOf$1(t1.$index($arguments, 0).get$asList(), t1.$index($arguments, 1));
  102108. return index === -1 ? B.C__SassNull0 : A.SassNumber_SassNumber0(index + 1, null);
  102109. },
  102110. $signature: 3
  102111. };
  102112. A._separator_closure0.prototype = {
  102113. call$1($arguments) {
  102114. var t1,
  102115. _0_0 = J.get$separator$x(J.$index$asx($arguments, 0));
  102116. $label0$0: {
  102117. if (B.ListSeparator_ECn0 === _0_0) {
  102118. t1 = new A.SassString0("comma", false);
  102119. break $label0$0;
  102120. }
  102121. if (B.ListSeparator_cQA0 === _0_0) {
  102122. t1 = new A.SassString0("slash", false);
  102123. break $label0$0;
  102124. }
  102125. t1 = new A.SassString0("space", false);
  102126. break $label0$0;
  102127. }
  102128. return t1;
  102129. },
  102130. $signature: 19
  102131. };
  102132. A._isBracketed_closure0.prototype = {
  102133. call$1($arguments) {
  102134. return J.$index$asx($arguments, 0).get$hasBrackets() ? B.SassBoolean_true0 : B.SassBoolean_false0;
  102135. },
  102136. $signature: 21
  102137. };
  102138. A._slash_closure0.prototype = {
  102139. call$1($arguments) {
  102140. var list = J.$index$asx($arguments, 0).get$asList();
  102141. if (list.length < 2)
  102142. throw A.wrapException(A.SassScriptException$0("At least two elements are required.", null));
  102143. return A.SassList$0(list, B.ListSeparator_cQA0, false);
  102144. },
  102145. $signature: 22
  102146. };
  102147. A.SelectorList0.prototype = {
  102148. get$asSassList() {
  102149. var t1 = this.components;
  102150. return A.SassList$0(new A.MappedListIterable(t1, new A.SelectorList_asSassList_closure0(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value0>")), B.ListSeparator_ECn0, false);
  102151. },
  102152. accept$1$1(visitor) {
  102153. return visitor.visitSelectorList$1(this);
  102154. },
  102155. accept$1(visitor) {
  102156. return this.accept$1$1(visitor, type$.dynamic);
  102157. },
  102158. unify$1(other) {
  102159. var t3, t4, t5, t6, _i, complex1, _i0, t7,
  102160. t1 = type$.JSArray_ComplexSelector_2,
  102161. t2 = A._setArrayType([], t1);
  102162. for (t3 = this.components, t4 = t3.length, t5 = other.components, t6 = t5.length, _i = 0; _i < t4; ++_i) {
  102163. complex1 = t3[_i];
  102164. for (_i0 = 0; _i0 < t6; ++_i0) {
  102165. t7 = A.unifyComplex0(A._setArrayType([complex1, t5[_i0]], t1), complex1.span);
  102166. if (t7 != null)
  102167. B.JSArray_methods.addAll$1(t2, t7);
  102168. }
  102169. }
  102170. return t2.length === 0 ? null : A.SelectorList$0(t2, this.span);
  102171. },
  102172. nestWithin$3$implicitParent$preserveParentSelectors($parent, implicitParent, preserveParentSelectors) {
  102173. var parentSelector, t1, _this = this;
  102174. if ($parent == null) {
  102175. if (preserveParentSelectors)
  102176. return _this;
  102177. parentSelector = B.C__ParentSelectorVisitor0.visitSelectorList$1(_this);
  102178. if (parentSelector == null)
  102179. return _this;
  102180. throw A.wrapException(A.SassException$0(string$.Top_les, parentSelector.span, null));
  102181. }
  102182. t1 = _this.components;
  102183. 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);
  102184. },
  102185. nestWithin$1($parent) {
  102186. return this.nestWithin$3$implicitParent$preserveParentSelectors($parent, true, false);
  102187. },
  102188. nestWithin$2$implicitParent($parent, implicitParent) {
  102189. return this.nestWithin$3$implicitParent$preserveParentSelectors($parent, implicitParent, false);
  102190. },
  102191. _list2$_nestWithinCompound$2(component, $parent) {
  102192. var resolvedSimples, parentSelector, error, stackTrace, t2, resolvedSimples0, exception,
  102193. t1 = component.selector,
  102194. simples = t1.components,
  102195. containsSelectorPseudo = J.any$1$ax(simples, new A.SelectorList__nestWithinCompound_closure2());
  102196. if (!containsSelectorPseudo && !(J.get$first$ax(simples) instanceof A.ParentSelector0))
  102197. return null;
  102198. if (containsSelectorPseudo) {
  102199. t2 = simples;
  102200. resolvedSimples0 = new A.MappedListIterable(t2, new A.SelectorList__nestWithinCompound_closure3($parent), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,SimpleSelector0>"));
  102201. } else
  102202. resolvedSimples0 = simples;
  102203. resolvedSimples = resolvedSimples0;
  102204. parentSelector = J.get$first$ax(simples);
  102205. try {
  102206. if (!(parentSelector instanceof A.ParentSelector0)) {
  102207. t2 = component.span;
  102208. t2 = A._setArrayType([A.ComplexSelector$0(B.List_empty14, 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);
  102209. return t2;
  102210. } else if (J.get$length$asx(simples) === 1 && parentSelector.suffix == null) {
  102211. t1 = $parent.withAdditionalCombinators$1(component.combinators);
  102212. return t1.components;
  102213. }
  102214. } catch (exception) {
  102215. t1 = A.unwrapException(exception);
  102216. if (t1 instanceof A.SassException0) {
  102217. error = t1;
  102218. stackTrace = A.getTraceFromException(exception);
  102219. A.throwWithTrace0(error.withAdditionalSpan$2(parentSelector.span, "parent selector"), error, stackTrace);
  102220. } else
  102221. throw exception;
  102222. }
  102223. t1 = $parent.components;
  102224. return new A.MappedListIterable(t1, new A.SelectorList__nestWithinCompound_closure4(parentSelector, resolvedSimples, component), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector0>"));
  102225. },
  102226. isSuperselector$1(other) {
  102227. return A.listIsSuperselector0(this.components, other.components);
  102228. },
  102229. withAdditionalCombinators$1(combinators) {
  102230. var t1;
  102231. if (combinators.length === 0)
  102232. t1 = this;
  102233. else {
  102234. t1 = this.components;
  102235. t1 = A.SelectorList$0(new A.MappedListIterable(t1, new A.SelectorList_withAdditionalCombinators_closure0(combinators), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector0>")), this.span);
  102236. }
  102237. return t1;
  102238. },
  102239. get$hashCode(_) {
  102240. return B.C_ListEquality0.hash$1(this.components);
  102241. },
  102242. $eq(_, other) {
  102243. if (other == null)
  102244. return false;
  102245. return other instanceof A.SelectorList0 && B.C_ListEquality.equals$2(0, this.components, other.components);
  102246. }
  102247. };
  102248. A.SelectorList_asSassList_closure0.prototype = {
  102249. call$1(complex) {
  102250. var t3, t4, _i, component, t5, visitor, t6, t7, _i0,
  102251. t1 = type$.JSArray_Value_2,
  102252. t2 = A._setArrayType([], t1);
  102253. for (t3 = complex.leadingCombinators, t4 = t3.length, _i = 0; _i < t4; ++_i)
  102254. t2.push(new A.SassString0(J.toString$0$(t3[_i].value), false));
  102255. for (t3 = complex.components, t4 = t3.length, _i = 0; _i < t4; ++_i) {
  102256. component = t3[_i];
  102257. t5 = component.selector;
  102258. visitor = A._SerializeVisitor$0(null, true, null, true, false, null, true);
  102259. t5.accept$1(visitor);
  102260. t5 = A._setArrayType([new A.SassString0(visitor._serialize0$_buffer.toString$0(0), false)], t1);
  102261. for (t6 = component.combinators, t7 = t6.length, _i0 = 0; _i0 < t7; ++_i0)
  102262. t5.push(new A.SassString0(J.toString$0$(t6[_i0].value), false));
  102263. B.JSArray_methods.addAll$1(t2, t5);
  102264. }
  102265. return A.SassList$0(t2, B.ListSeparator_nbm0, false);
  102266. },
  102267. $signature: 479
  102268. };
  102269. A.SelectorList_nestWithin_closure0.prototype = {
  102270. call$1(complex) {
  102271. var t1, newComplexes, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, _i, component, resolved, i, t12, t13, t14, _i0, newComplex, t15, _this = this;
  102272. if (_this.preserveParentSelectors || complex.accept$1(B.C__ParentSelectorVisitor0) == null) {
  102273. if (!_this.implicitParent)
  102274. return A._setArrayType([complex], type$.JSArray_ComplexSelector_2);
  102275. t1 = _this.parent.components;
  102276. return new A.MappedListIterable(t1, new A.SelectorList_nestWithin__closure1(complex), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector0>"));
  102277. }
  102278. t1 = type$.JSArray_ComplexSelector_2;
  102279. newComplexes = A._setArrayType([], t1);
  102280. 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) {
  102281. component = t2[_i];
  102282. resolved = t4._list2$_nestWithinCompound$2(component, t5);
  102283. if (resolved == null)
  102284. if (newComplexes.length === 0)
  102285. newComplexes.push(A.ComplexSelector$0(t7, A._setArrayType([component], t11), t9, false));
  102286. else
  102287. for (i = 0; i < newComplexes.length; ++i) {
  102288. t12 = newComplexes[i];
  102289. t13 = t12.leadingCombinators;
  102290. t14 = A.List_List$of(t12.components, true, t10);
  102291. t14.push(component);
  102292. t12 = t12.lineBreak;
  102293. newComplexes[i] = A.ComplexSelector$0(t13, t14, t9, t12);
  102294. }
  102295. else if (newComplexes.length === 0)
  102296. B.JSArray_methods.addAll$1(newComplexes, t8 ? resolved : J.map$1$1$ax(resolved, new A.SelectorList_nestWithin__closure2(complex), t6));
  102297. else {
  102298. t12 = A._setArrayType([], t1);
  102299. for (t13 = newComplexes.length, t14 = J.getInterceptor$ax(resolved), _i0 = 0; _i0 < newComplexes.length; newComplexes.length === t13 || (0, A.throwConcurrentModificationError)(newComplexes), ++_i0) {
  102300. newComplex = newComplexes[_i0];
  102301. for (t15 = t14.get$iterator(resolved); t15.moveNext$0();)
  102302. t12.push(newComplex.concatenate$2(t15.get$current(t15), newComplex.span));
  102303. }
  102304. newComplexes = t12;
  102305. }
  102306. }
  102307. return newComplexes;
  102308. },
  102309. $signature: 480
  102310. };
  102311. A.SelectorList_nestWithin__closure1.prototype = {
  102312. call$1(parentComplex) {
  102313. var t1 = this.complex;
  102314. return parentComplex.concatenate$2(t1, t1.span);
  102315. },
  102316. $signature: 56
  102317. };
  102318. A.SelectorList_nestWithin__closure2.prototype = {
  102319. call$1(resolvedComplex) {
  102320. var t1 = resolvedComplex.leadingCombinators,
  102321. t2 = this.complex,
  102322. t3 = t2.leadingCombinators;
  102323. if (t1.length === 0)
  102324. t1 = t3;
  102325. else {
  102326. t3 = A.List_List$of(t3, true, type$.CssValue_Combinator_2);
  102327. B.JSArray_methods.addAll$1(t3, t1);
  102328. t1 = t3;
  102329. }
  102330. return A.ComplexSelector$0(t1, resolvedComplex.components, t2.span, resolvedComplex.lineBreak);
  102331. },
  102332. $signature: 56
  102333. };
  102334. A.SelectorList__nestWithinCompound_closure2.prototype = {
  102335. call$1(simple) {
  102336. var selector;
  102337. if (!(simple instanceof A.PseudoSelector0))
  102338. return false;
  102339. selector = simple.selector;
  102340. return selector != null && selector.accept$1(B.C__ParentSelectorVisitor0) != null;
  102341. },
  102342. $signature: 15
  102343. };
  102344. A.SelectorList__nestWithinCompound_closure3.prototype = {
  102345. call$1(simple) {
  102346. var _0_2, selector, t1;
  102347. $label0$0: {
  102348. if (simple instanceof A.PseudoSelector0) {
  102349. _0_2 = simple.selector;
  102350. if (_0_2 != null) {
  102351. selector = _0_2 == null ? type$.SelectorList_2._as(_0_2) : _0_2;
  102352. t1 = selector.accept$1(B.C__ParentSelectorVisitor0) != null;
  102353. } else {
  102354. selector = null;
  102355. t1 = false;
  102356. }
  102357. } else {
  102358. selector = null;
  102359. t1 = false;
  102360. }
  102361. if (t1) {
  102362. t1 = simple.withSelector$1(selector.nestWithin$2$implicitParent(this.parent, false));
  102363. break $label0$0;
  102364. }
  102365. t1 = simple;
  102366. break $label0$0;
  102367. }
  102368. return t1;
  102369. },
  102370. $signature: 481
  102371. };
  102372. A.SelectorList__nestWithinCompound_closure4.prototype = {
  102373. call$1(complex) {
  102374. var lastComponent, suffix, lastSimples, t1, t2, last, t3, error, stackTrace, t4, t5, t6, t7, exception, _this = this;
  102375. try {
  102376. t4 = complex.components;
  102377. lastComponent = B.JSArray_methods.get$last(t4);
  102378. if (lastComponent.combinators.length !== 0) {
  102379. 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);
  102380. throw A.wrapException(t1);
  102381. }
  102382. suffix = _this.parentSelector.suffix;
  102383. lastSimples = lastComponent.selector.components;
  102384. t5 = type$.SimpleSelector_2;
  102385. t6 = _this.resolvedSimples;
  102386. t7 = J.getInterceptor$ax(t6);
  102387. if (suffix == null) {
  102388. t1 = A.List_List$of(lastSimples, true, t5);
  102389. J.addAll$1$ax(t1, t7.skip$1(t6, 1));
  102390. t1 = t1;
  102391. } else {
  102392. t2 = A.List_List$of(A.IterableExtension_get_exceptLast0(lastSimples), true, t5);
  102393. J.add$1$ax(t2, J.get$last$ax(lastSimples).addSuffix$1(suffix));
  102394. J.addAll$1$ax(t2, t7.skip$1(t6, 1));
  102395. t1 = t2;
  102396. }
  102397. t2 = _this.component;
  102398. last = A.CompoundSelector$0(t1, t2.selector.span);
  102399. t3 = A.List_List$of(A.IterableExtension_get_exceptLast0(t4), true, type$.ComplexSelectorComponent_2);
  102400. t4 = t2.span;
  102401. J.add$1$ax(t3, new A.ComplexSelectorComponent0(last, A.List_List$unmodifiable(t2.combinators, type$.CssValue_Combinator_2), t4));
  102402. t4 = A.ComplexSelector$0(complex.leadingCombinators, t3, t4, complex.lineBreak);
  102403. return t4;
  102404. } catch (exception) {
  102405. t1 = A.unwrapException(exception);
  102406. if (t1 instanceof A.SassException0) {
  102407. error = t1;
  102408. stackTrace = A.getTraceFromException(exception);
  102409. A.throwWithTrace0(error.withAdditionalSpan$2(_this.parentSelector.span, "parent selector"), error, stackTrace);
  102410. } else
  102411. throw exception;
  102412. }
  102413. },
  102414. $signature: 56
  102415. };
  102416. A.SelectorList_withAdditionalCombinators_closure0.prototype = {
  102417. call$1(complex) {
  102418. return complex.withAdditionalCombinators$1(this.combinators);
  102419. },
  102420. $signature: 56
  102421. };
  102422. A._ParentSelectorVisitor0.prototype = {
  102423. visitParentSelector$1(selector) {
  102424. return selector;
  102425. }
  102426. };
  102427. A.__ParentSelectorVisitor_Object_SelectorSearchVisitor0.prototype = {};
  102428. A.listClass_closure.prototype = {
  102429. call$0() {
  102430. var t1 = type$.JSClass,
  102431. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassList", new A.listClass__closure()));
  102432. J.get$$prototype$x(jsClass).get = A.allowInteropCaptureThisNamed("get", new A.listClass__closure0());
  102433. A.JSClassExtension_injectSuperclass(t1._as(B.SassList_k8F.constructor), jsClass);
  102434. return jsClass;
  102435. },
  102436. $signature: 13
  102437. };
  102438. A.listClass__closure.prototype = {
  102439. call$3($self, contentsOrOptions, options) {
  102440. var contents, t1, t2;
  102441. if (self.immutable.isList(contentsOrOptions))
  102442. contents = J.cast$1$0$ax(J.toArray$0$x(type$.ImmutableList._as(contentsOrOptions)), type$.Value_2);
  102443. else if (type$.List_dynamic._is(contentsOrOptions))
  102444. contents = J.cast$1$0$ax(contentsOrOptions, type$.Value_2);
  102445. else {
  102446. contents = A._setArrayType([], type$.JSArray_Value_2);
  102447. type$.nullable__ConstructorOptions._as(contentsOrOptions);
  102448. options = contentsOrOptions;
  102449. }
  102450. t1 = options == null;
  102451. if (!t1) {
  102452. t2 = J.get$separator$x(options);
  102453. t2 = A._asBool($.$get$_isUndefined().call$1(t2));
  102454. } else
  102455. t2 = true;
  102456. t2 = t2 ? B.ListSeparator_ECn0 : A.jsToDartSeparator(J.get$separator$x(options));
  102457. t1 = t1 ? null : J.get$brackets$x(options);
  102458. return A.SassList$0(contents, t2, t1 == null ? false : t1);
  102459. },
  102460. call$1($self) {
  102461. return this.call$3($self, null, null);
  102462. },
  102463. call$2($self, contentsOrOptions) {
  102464. return this.call$3($self, contentsOrOptions, null);
  102465. },
  102466. "call*": "call$3",
  102467. $requiredArgCount: 1,
  102468. $defaultValues() {
  102469. return [null, null];
  102470. },
  102471. $signature: 482
  102472. };
  102473. A.listClass__closure0.prototype = {
  102474. call$2($self, indexFloat) {
  102475. var index = B.JSNumber_methods.floor$0(indexFloat);
  102476. if (index < 0)
  102477. index = $self.get$asList().length + index;
  102478. if (index < 0 || index >= $self.get$asList().length)
  102479. return self.undefined;
  102480. return $self.get$asList()[index];
  102481. },
  102482. $signature: 244
  102483. };
  102484. A._ConstructorOptions.prototype = {};
  102485. A._NodeSassList.prototype = {};
  102486. A.legacyListClass_closure.prototype = {
  102487. call$4(thisArg, $length, commaSeparator, dartValue) {
  102488. var t1;
  102489. if (dartValue == null) {
  102490. $length.toString;
  102491. t1 = A.Iterable_Iterable$generate($length, new A.legacyListClass__closure(), type$.Value_2);
  102492. t1 = A.SassList$0(t1, commaSeparator !== false ? B.ListSeparator_ECn0 : B.ListSeparator_nbm0, false);
  102493. } else
  102494. t1 = dartValue;
  102495. J.set$dartValue$x(thisArg, t1);
  102496. },
  102497. call$2(thisArg, $length) {
  102498. return this.call$4(thisArg, $length, null, null);
  102499. },
  102500. call$3(thisArg, $length, commaSeparator) {
  102501. return this.call$4(thisArg, $length, commaSeparator, null);
  102502. },
  102503. "call*": "call$4",
  102504. $requiredArgCount: 2,
  102505. $defaultValues() {
  102506. return [null, null];
  102507. },
  102508. $signature: 484
  102509. };
  102510. A.legacyListClass__closure.prototype = {
  102511. call$1(_) {
  102512. return B.C__SassNull0;
  102513. },
  102514. $signature: 239
  102515. };
  102516. A.legacyListClass_closure0.prototype = {
  102517. call$2(thisArg, index) {
  102518. return A.wrapValue(J.get$dartValue$x(thisArg)._list1$_contents[index]);
  102519. },
  102520. $signature: 486
  102521. };
  102522. A.legacyListClass_closure1.prototype = {
  102523. call$3(thisArg, index, value) {
  102524. var t1 = J.getInterceptor$x(thisArg),
  102525. t2 = t1.get$dartValue(thisArg)._list1$_contents,
  102526. mutable = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
  102527. mutable[index] = A.unwrapValue(value);
  102528. t1.set$dartValue(thisArg, t1.get$dartValue(thisArg).withListContents$1(mutable));
  102529. },
  102530. "call*": "call$3",
  102531. $requiredArgCount: 3,
  102532. $signature: 487
  102533. };
  102534. A.legacyListClass_closure2.prototype = {
  102535. call$1(thisArg) {
  102536. return J.get$dartValue$x(thisArg)._list1$_separator === B.ListSeparator_ECn0;
  102537. },
  102538. $signature: 488
  102539. };
  102540. A.legacyListClass_closure3.prototype = {
  102541. call$2(thisArg, isComma) {
  102542. var t1 = J.getInterceptor$x(thisArg),
  102543. t2 = t1.get$dartValue(thisArg)._list1$_contents,
  102544. t3 = isComma ? B.ListSeparator_ECn0 : B.ListSeparator_nbm0;
  102545. t1.set$dartValue(thisArg, A.SassList$0(t2, t3, t1.get$dartValue(thisArg)._list1$_hasBrackets));
  102546. },
  102547. $signature: 489
  102548. };
  102549. A.legacyListClass_closure4.prototype = {
  102550. call$1(thisArg) {
  102551. return J.get$dartValue$x(thisArg)._list1$_contents.length;
  102552. },
  102553. $signature: 490
  102554. };
  102555. A.SassList0.prototype = {
  102556. get$separator(_) {
  102557. return this._list1$_separator;
  102558. },
  102559. get$hasBrackets() {
  102560. return this._list1$_hasBrackets;
  102561. },
  102562. get$isBlank() {
  102563. return !this._list1$_hasBrackets && B.JSArray_methods.every$1(this._list1$_contents, new A.SassList_isBlank_closure0());
  102564. },
  102565. get$asList() {
  102566. return this._list1$_contents;
  102567. },
  102568. get$lengthAsList() {
  102569. return this._list1$_contents.length;
  102570. },
  102571. SassList$3$brackets0(contents, _separator, brackets) {
  102572. if (this._list1$_separator === B.ListSeparator_undecided_null_undecided0 && this._list1$_contents.length > 1)
  102573. throw A.wrapException(A.ArgumentError$(string$.A_list, null));
  102574. },
  102575. accept$1$1(visitor) {
  102576. return visitor.visitList$1(this);
  102577. },
  102578. accept$1(visitor) {
  102579. return this.accept$1$1(visitor, type$.dynamic);
  102580. },
  102581. assertMap$1($name) {
  102582. return this._list1$_contents.length === 0 ? B.SassMap_Map_empty0 : this.super$Value$assertMap0($name);
  102583. },
  102584. tryMap$0() {
  102585. return this._list1$_contents.length === 0 ? B.SassMap_Map_empty0 : null;
  102586. },
  102587. $eq(_, other) {
  102588. var t1, _this = this;
  102589. if (other == null)
  102590. return false;
  102591. 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)))
  102592. t1 = _this._list1$_contents.length === 0 && other instanceof A.SassMap0 && other.get$asList().length === 0;
  102593. else
  102594. t1 = true;
  102595. return t1;
  102596. },
  102597. get$hashCode(_) {
  102598. return B.C_ListEquality0.hash$1(this._list1$_contents);
  102599. }
  102600. };
  102601. A.SassList_isBlank_closure0.prototype = {
  102602. call$1(element) {
  102603. return element.get$isBlank();
  102604. },
  102605. $signature: 49
  102606. };
  102607. A.ListSeparator0.prototype = {
  102608. _enumToString$0() {
  102609. return "ListSeparator." + this._name;
  102610. },
  102611. toString$0(_) {
  102612. return this._list1$_name;
  102613. }
  102614. };
  102615. A.JSLogger.prototype = {};
  102616. A.WarnOptions.prototype = {};
  102617. A.DebugOptions.prototype = {};
  102618. A.LoggerWithDeprecationType.prototype = {
  102619. warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
  102620. this.internalWarn$4$deprecation$span$trace(message, deprecation ? B.Deprecation_oty : null, span, trace);
  102621. },
  102622. warn$1(_, message) {
  102623. return this.warn$4$deprecation$span$trace(0, message, false, null, null);
  102624. },
  102625. warn$3$span$trace(_, message, span, trace) {
  102626. return this.warn$4$deprecation$span$trace(0, message, false, span, trace);
  102627. },
  102628. warn$2$span(_, message, span) {
  102629. return this.warn$4$deprecation$span$trace(0, message, false, span, null);
  102630. },
  102631. warn$2$trace(_, message, trace) {
  102632. return this.warn$4$deprecation$span$trace(0, message, false, null, trace);
  102633. }
  102634. };
  102635. A._QuietLogger0.prototype = {
  102636. warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
  102637. },
  102638. warn$2$span(_, message, span) {
  102639. return this.warn$4$deprecation$span$trace(0, message, false, span, null);
  102640. }
  102641. };
  102642. A.LoudComment0.prototype = {
  102643. get$span(_) {
  102644. return this.text.span;
  102645. },
  102646. accept$1$1(visitor) {
  102647. return visitor.visitLoudComment$1(this);
  102648. },
  102649. accept$1(visitor) {
  102650. return this.accept$1$1(visitor, type$.dynamic);
  102651. },
  102652. toString$0(_) {
  102653. return this.text.toString$0(0);
  102654. },
  102655. $isAstNode0: 1,
  102656. $isStatement0: 1
  102657. };
  102658. A.MapExpression0.prototype = {
  102659. accept$1$1(visitor) {
  102660. return visitor.visitMapExpression$1(this);
  102661. },
  102662. accept$1(visitor) {
  102663. return this.accept$1$1(visitor, type$.dynamic);
  102664. },
  102665. toString$0(_) {
  102666. var t2, t3, _i, t4, key, value,
  102667. t1 = A._setArrayType([], type$.JSArray_String);
  102668. for (t2 = this.pairs, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  102669. t4 = t2[_i];
  102670. key = t4._0;
  102671. value = t4._1;
  102672. t1.push(key.toString$0(0) + ": " + value.toString$0(0));
  102673. }
  102674. return "(" + B.JSArray_methods.join$1(t1, ", ") + ")";
  102675. },
  102676. $isExpression0: 1,
  102677. $isAstNode0: 1,
  102678. get$span(receiver) {
  102679. return this.span;
  102680. }
  102681. };
  102682. A._get_closure0.prototype = {
  102683. call$1($arguments) {
  102684. var value,
  102685. t1 = J.getInterceptor$asx($arguments),
  102686. map = t1.$index($arguments, 0).assertMap$1("map"),
  102687. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value_2);
  102688. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  102689. for (t1 = A.IterableExtension_get_exceptLast0(t2), t1 = t1.get$iterator(t1); t1.moveNext$0(); map = value) {
  102690. value = map._map0$_contents.$index(0, t1.get$current(t1));
  102691. if (!(value instanceof A.SassMap0))
  102692. return B.C__SassNull0;
  102693. }
  102694. t1 = map._map0$_contents.$index(0, B.JSArray_methods.get$last(t2));
  102695. return t1 == null ? B.C__SassNull0 : t1;
  102696. },
  102697. $signature: 3
  102698. };
  102699. A._set_closure1.prototype = {
  102700. call$1($arguments) {
  102701. var t1 = J.getInterceptor$asx($arguments);
  102702. 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);
  102703. },
  102704. $signature: 3
  102705. };
  102706. A._set__closure2.prototype = {
  102707. call$1(_) {
  102708. return J.$index$asx(this.$arguments, 2);
  102709. },
  102710. $signature: 41
  102711. };
  102712. A._set_closure2.prototype = {
  102713. call$1($arguments) {
  102714. var keys, t3, t1 = {},
  102715. t2 = J.getInterceptor$asx($arguments),
  102716. map = t2.$index($arguments, 0).assertMap$1("map"),
  102717. _0_0 = t2.$index($arguments, 1).get$asList(),
  102718. _0_1 = _0_0.length;
  102719. if (_0_1 <= 0)
  102720. throw A.wrapException(A.SassScriptException$0("Expected $args to contain a key.", null));
  102721. if (_0_1 === 1)
  102722. throw A.wrapException(A.SassScriptException$0("Expected $args to contain a value.", null));
  102723. keys = t1.value = null;
  102724. t2 = _0_1 >= 1;
  102725. if (t2) {
  102726. t3 = _0_1 - 1;
  102727. keys = B.JSArray_methods.sublist$2(_0_0, 0, t3);
  102728. t1.value = _0_0[t3];
  102729. }
  102730. if (t2)
  102731. return A._modify0(map, keys, new A._set__closure1(t1), true);
  102732. throw A.wrapException("[BUG] Unreachable code");
  102733. },
  102734. $signature: 3
  102735. };
  102736. A._set__closure1.prototype = {
  102737. call$1(_) {
  102738. return this._box_0.value;
  102739. },
  102740. $signature: 41
  102741. };
  102742. A._merge_closure1.prototype = {
  102743. call$1($arguments) {
  102744. var t2,
  102745. t1 = J.getInterceptor$asx($arguments),
  102746. map1 = t1.$index($arguments, 0).assertMap$1("map1"),
  102747. map2 = t1.$index($arguments, 1).assertMap$1("map2");
  102748. t1 = type$.Value_2;
  102749. t2 = A.LinkedHashMap_LinkedHashMap$of(map1._map0$_contents, t1, t1);
  102750. t2.addAll$1(0, map2._map0$_contents);
  102751. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  102752. },
  102753. $signature: 33
  102754. };
  102755. A._merge_closure2.prototype = {
  102756. call$1($arguments) {
  102757. var t2, keys, last, _null = null,
  102758. t1 = J.getInterceptor$asx($arguments),
  102759. map1 = t1.$index($arguments, 0).assertMap$1("map1"),
  102760. _0_0 = t1.$index($arguments, 1).get$asList(),
  102761. _0_1 = _0_0.length;
  102762. if (_0_1 <= 0)
  102763. throw A.wrapException(A.SassScriptException$0("Expected $args to contain a key.", _null));
  102764. if (_0_1 === 1)
  102765. throw A.wrapException(A.SassScriptException$0("Expected $args to contain a map.", _null));
  102766. t1 = _0_1 >= 1;
  102767. if (t1) {
  102768. t2 = _0_1 - 1;
  102769. keys = B.JSArray_methods.sublist$2(_0_0, 0, t2);
  102770. last = _0_0[t2];
  102771. } else {
  102772. last = _null;
  102773. keys = last;
  102774. }
  102775. if (t1)
  102776. return A._modify0(map1, keys, new A._merge__closure0(last.assertMap$1("map2")), true);
  102777. throw A.wrapException("[BUG] Unreachable code");
  102778. },
  102779. $signature: 3
  102780. };
  102781. A._merge__closure0.prototype = {
  102782. call$1(oldValue) {
  102783. var t1, t2,
  102784. nestedMap = oldValue.tryMap$0();
  102785. if (nestedMap == null)
  102786. return this.map2;
  102787. t1 = type$.Value_2;
  102788. t2 = A.LinkedHashMap_LinkedHashMap$of(nestedMap._map0$_contents, t1, t1);
  102789. t2.addAll$1(0, this.map2._map0$_contents);
  102790. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  102791. },
  102792. $signature: 491
  102793. };
  102794. A._deepMerge_closure0.prototype = {
  102795. call$1($arguments) {
  102796. var t1 = J.getInterceptor$asx($arguments);
  102797. return A._deepMergeImpl0(t1.$index($arguments, 0).assertMap$1("map1"), t1.$index($arguments, 1).assertMap$1("map2"));
  102798. },
  102799. $signature: 33
  102800. };
  102801. A._deepRemove_closure0.prototype = {
  102802. call$1($arguments) {
  102803. var t1 = J.getInterceptor$asx($arguments),
  102804. map = t1.$index($arguments, 0).assertMap$1("map"),
  102805. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value_2);
  102806. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  102807. return A._modify0(map, A.IterableExtension_get_exceptLast0(t2), new A._deepRemove__closure0(t2), false);
  102808. },
  102809. $signature: 3
  102810. };
  102811. A._deepRemove__closure0.prototype = {
  102812. call$1(value) {
  102813. var t1, nestedMap, t2,
  102814. _0_0 = value.tryMap$0();
  102815. if (_0_0 != null) {
  102816. t1 = _0_0._map0$_contents.containsKey$1(B.JSArray_methods.get$last(this.keys));
  102817. nestedMap = _0_0;
  102818. } else {
  102819. nestedMap = null;
  102820. t1 = false;
  102821. }
  102822. if (t1) {
  102823. t1 = type$.Value_2;
  102824. t2 = A.LinkedHashMap_LinkedHashMap$of(nestedMap._map0$_contents, t1, t1);
  102825. t2.remove$1(0, B.JSArray_methods.get$last(this.keys));
  102826. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  102827. }
  102828. return value;
  102829. },
  102830. $signature: 41
  102831. };
  102832. A._remove_closure1.prototype = {
  102833. call$1($arguments) {
  102834. return J.$index$asx($arguments, 0).assertMap$1("map");
  102835. },
  102836. $signature: 33
  102837. };
  102838. A._remove_closure2.prototype = {
  102839. call$1($arguments) {
  102840. var mutableMap, t3, _i,
  102841. t1 = J.getInterceptor$asx($arguments),
  102842. map = t1.$index($arguments, 0).assertMap$1("map"),
  102843. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value_2);
  102844. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  102845. t1 = type$.Value_2;
  102846. mutableMap = A.LinkedHashMap_LinkedHashMap$of(map._map0$_contents, t1, t1);
  102847. for (t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i)
  102848. mutableMap.remove$1(0, t2[_i]);
  102849. return new A.SassMap0(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  102850. },
  102851. $signature: 33
  102852. };
  102853. A._keys_closure0.prototype = {
  102854. call$1($arguments) {
  102855. var t1 = J.$index$asx($arguments, 0).assertMap$1("map")._map0$_contents;
  102856. return A.SassList$0(t1.get$keys(t1), B.ListSeparator_ECn0, false);
  102857. },
  102858. $signature: 22
  102859. };
  102860. A._values_closure0.prototype = {
  102861. call$1($arguments) {
  102862. var t1 = J.$index$asx($arguments, 0).assertMap$1("map")._map0$_contents;
  102863. return A.SassList$0(t1.get$values(t1), B.ListSeparator_ECn0, false);
  102864. },
  102865. $signature: 22
  102866. };
  102867. A._hasKey_closure0.prototype = {
  102868. call$1($arguments) {
  102869. var value,
  102870. t1 = J.getInterceptor$asx($arguments),
  102871. map = t1.$index($arguments, 0).assertMap$1("map"),
  102872. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value_2);
  102873. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  102874. for (t1 = A.IterableExtension_get_exceptLast0(t2), t1 = t1.get$iterator(t1); t1.moveNext$0(); map = value) {
  102875. value = map._map0$_contents.$index(0, t1.get$current(t1));
  102876. if (!(value instanceof A.SassMap0))
  102877. return B.SassBoolean_false0;
  102878. }
  102879. return map._map0$_contents.containsKey$1(B.JSArray_methods.get$last(t2)) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  102880. },
  102881. $signature: 21
  102882. };
  102883. A._modify_modifyNestedMap0.prototype = {
  102884. call$1(map) {
  102885. var nestedMap, _this = this,
  102886. t1 = type$.Value_2,
  102887. mutableMap = A.LinkedHashMap_LinkedHashMap$of(map._map0$_contents, t1, t1),
  102888. t2 = _this.keyIterator,
  102889. key = t2.get$current(t2);
  102890. if (!t2.moveNext$0()) {
  102891. t2 = mutableMap.$index(0, key);
  102892. if (t2 == null)
  102893. t2 = B.C__SassNull0;
  102894. mutableMap.$indexSet(0, key, _this.modify.call$1(t2));
  102895. return new A.SassMap0(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  102896. }
  102897. t2 = mutableMap.$index(0, key);
  102898. nestedMap = t2 == null ? null : t2.tryMap$0();
  102899. t2 = nestedMap == null;
  102900. if (t2 && !_this.addNesting)
  102901. return new A.SassMap0(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  102902. mutableMap.$indexSet(0, key, _this.call$1(t2 ? B.SassMap_Map_empty0 : nestedMap));
  102903. return new A.SassMap0(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  102904. },
  102905. $signature: 492
  102906. };
  102907. A.MapExtensions_get_pairs_closure0.prototype = {
  102908. call$1(e) {
  102909. return new A._Record_2(e.key, e.value);
  102910. },
  102911. $signature() {
  102912. return this.K._eval$1("@<0>")._bind$1(this.V)._eval$1("+(1,2)(MapEntry<1,2>)");
  102913. }
  102914. };
  102915. A.mapClass_closure.prototype = {
  102916. call$0() {
  102917. var t1 = type$.JSClass,
  102918. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassMap", new A.mapClass__closure())),
  102919. t2 = J.getInterceptor$x(jsClass);
  102920. A.defineGetter(t2.get$$prototype(jsClass), "contents", new A.mapClass__closure0(), null);
  102921. t2.get$$prototype(jsClass).get = A.allowInteropCaptureThisNamed("get", new A.mapClass__closure1());
  102922. A.JSClassExtension_injectSuperclass(t1._as(B.SassMap_Map_empty0.constructor), jsClass);
  102923. return jsClass;
  102924. },
  102925. $signature: 13
  102926. };
  102927. A.mapClass__closure.prototype = {
  102928. call$2($self, contents) {
  102929. var t1;
  102930. if (contents == null)
  102931. t1 = B.SassMap_Map_empty0;
  102932. else {
  102933. t1 = type$.Value_2;
  102934. t1 = new A.SassMap0(A.ConstantMap_ConstantMap$from(A.immutableMapToDartMap(contents).cast$2$0(0, t1, t1), t1, t1));
  102935. }
  102936. return t1;
  102937. },
  102938. call$1($self) {
  102939. return this.call$2($self, null);
  102940. },
  102941. "call*": "call$2",
  102942. $requiredArgCount: 1,
  102943. $defaultValues() {
  102944. return [null];
  102945. },
  102946. $signature: 493
  102947. };
  102948. A.mapClass__closure0.prototype = {
  102949. call$1($self) {
  102950. return A.dartMapToImmutableMap($self._map0$_contents);
  102951. },
  102952. $signature: 494
  102953. };
  102954. A.mapClass__closure1.prototype = {
  102955. call$2($self, indexOrKey) {
  102956. var index, t1, _0_0;
  102957. if (typeof indexOrKey == "number") {
  102958. index = B.JSNumber_methods.floor$0(indexOrKey);
  102959. if (index < 0) {
  102960. t1 = $self._map0$_contents;
  102961. index = t1.get$length(t1) + index;
  102962. }
  102963. if (index >= 0) {
  102964. t1 = $self._map0$_contents;
  102965. t1 = index >= t1.get$length(t1);
  102966. } else
  102967. t1 = true;
  102968. if (t1)
  102969. return self.undefined;
  102970. t1 = type$.Value_2;
  102971. _0_0 = A.MapExtensions_get_pairs0($self._map0$_contents, t1, t1).elementAt$1(0, index);
  102972. return A.SassList$0(A._setArrayType([_0_0._0, _0_0._1], type$.JSArray_Value_2), B.ListSeparator_nbm0, false);
  102973. } else {
  102974. t1 = $self._map0$_contents.$index(0, indexOrKey);
  102975. return t1 == null ? self.undefined : t1;
  102976. }
  102977. },
  102978. $signature: 495
  102979. };
  102980. A._NodeSassMap.prototype = {};
  102981. A.legacyMapClass_closure.prototype = {
  102982. call$3(thisArg, $length, dartValue) {
  102983. var t1, t2, t3, map;
  102984. if (dartValue == null) {
  102985. $length.toString;
  102986. t1 = type$.Value_2;
  102987. t2 = A.Iterable_Iterable$generate($length, new A.legacyMapClass__closure(), t1);
  102988. t3 = A.Iterable_Iterable$generate($length, new A.legacyMapClass__closure0(), t1);
  102989. map = A.LinkedHashMap_LinkedHashMap(null, null, null, t1, t1);
  102990. A.MapBase__fillMapWithIterables(map, t2, t3);
  102991. t1 = new A.SassMap0(A.ConstantMap_ConstantMap$from(map, t1, t1));
  102992. } else
  102993. t1 = dartValue;
  102994. J.set$dartValue$x(thisArg, t1);
  102995. },
  102996. call$2(thisArg, $length) {
  102997. return this.call$3(thisArg, $length, null);
  102998. },
  102999. "call*": "call$3",
  103000. $requiredArgCount: 2,
  103001. $defaultValues() {
  103002. return [null];
  103003. },
  103004. $signature: 496
  103005. };
  103006. A.legacyMapClass__closure.prototype = {
  103007. call$1(i) {
  103008. return A.SassNumber_SassNumber0(i, null);
  103009. },
  103010. $signature: 497
  103011. };
  103012. A.legacyMapClass__closure0.prototype = {
  103013. call$1(_) {
  103014. return B.C__SassNull0;
  103015. },
  103016. $signature: 239
  103017. };
  103018. A.legacyMapClass_closure0.prototype = {
  103019. call$2(thisArg, index) {
  103020. var t1 = J.get$dartValue$x(thisArg)._map0$_contents;
  103021. return A.wrapValue(J.elementAt$1$ax(t1.get$keys(t1), index));
  103022. },
  103023. $signature: 238
  103024. };
  103025. A.legacyMapClass_closure1.prototype = {
  103026. call$2(thisArg, index) {
  103027. var t1 = J.get$dartValue$x(thisArg)._map0$_contents;
  103028. return A.wrapValue(t1.get$values(t1).elementAt$1(0, index));
  103029. },
  103030. $signature: 238
  103031. };
  103032. A.legacyMapClass_closure2.prototype = {
  103033. call$1(thisArg) {
  103034. var t1 = J.get$dartValue$x(thisArg)._map0$_contents;
  103035. return t1.get$length(t1);
  103036. },
  103037. $signature: 499
  103038. };
  103039. A.legacyMapClass_closure3.prototype = {
  103040. call$3(thisArg, index, key) {
  103041. var newKey, t2, newMap, t3, i, t4, oldKey, oldValue,
  103042. t1 = J.getInterceptor$x(thisArg),
  103043. oldMap = t1.get$dartValue(thisArg)._map0$_contents,
  103044. $length = oldMap.get$length(oldMap);
  103045. A.IndexError_check(index, $length, oldMap, null, "index");
  103046. newKey = A.unwrapValue(key);
  103047. t2 = type$.Value_2;
  103048. newMap = A.LinkedHashMap_LinkedHashMap$_empty(t2, t2);
  103049. for (t3 = A.MapExtensions_get_pairs0(t1.get$dartValue(thisArg)._map0$_contents, t2, t2), t3 = t3.get$iterator(t3), i = 0; t3.moveNext$0();) {
  103050. t4 = t3.get$current(t3);
  103051. oldKey = t4._0;
  103052. oldValue = t4._1;
  103053. if (i === index)
  103054. newMap.$indexSet(0, newKey, oldValue);
  103055. else {
  103056. if (newKey.$eq(0, oldKey))
  103057. throw A.wrapException(A.ArgumentError$value(key, "key", "is already in the map"));
  103058. newMap.$indexSet(0, oldKey, oldValue);
  103059. }
  103060. ++i;
  103061. }
  103062. t1.set$dartValue(thisArg, new A.SassMap0(A.ConstantMap_ConstantMap$from(newMap, t2, t2)));
  103063. },
  103064. "call*": "call$3",
  103065. $requiredArgCount: 3,
  103066. $signature: 236
  103067. };
  103068. A.legacyMapClass_closure4.prototype = {
  103069. call$3(thisArg, index, value) {
  103070. var t3,
  103071. t1 = J.getInterceptor$x(thisArg),
  103072. t2 = t1.get$dartValue(thisArg)._map0$_contents,
  103073. key = J.elementAt$1$ax(t2.get$keys(t2), index);
  103074. t2 = type$.Value_2;
  103075. t3 = A.LinkedHashMap_LinkedHashMap$of(t1.get$dartValue(thisArg)._map0$_contents, t2, t2);
  103076. t3.$indexSet(0, key, A.unwrapValue(value));
  103077. t1.set$dartValue(thisArg, new A.SassMap0(A.ConstantMap_ConstantMap$from(t3, t2, t2)));
  103078. },
  103079. "call*": "call$3",
  103080. $requiredArgCount: 3,
  103081. $signature: 236
  103082. };
  103083. A.SassMap0.prototype = {
  103084. get$separator(_) {
  103085. var t1 = this._map0$_contents;
  103086. return t1.get$isEmpty(t1) ? B.ListSeparator_undecided_null_undecided0 : B.ListSeparator_ECn0;
  103087. },
  103088. get$asList() {
  103089. var t3, t4, t5, result,
  103090. t1 = type$.JSArray_Value_2,
  103091. t2 = A._setArrayType([], t1);
  103092. for (t3 = type$.Value_2, t4 = A.MapExtensions_get_pairs0(this._map0$_contents, t3, t3), t4 = t4.get$iterator(t4); t4.moveNext$0();) {
  103093. t5 = t4.get$current(t4);
  103094. result = A.List_List$from(A._setArrayType([t5._0, t5._1], t1), false, t3);
  103095. result.fixed$length = Array;
  103096. result.immutable$list = Array;
  103097. t2.push(new A.SassList0(result, B.ListSeparator_nbm0, false));
  103098. }
  103099. return t2;
  103100. },
  103101. get$lengthAsList() {
  103102. var t1 = this._map0$_contents;
  103103. return t1.get$length(t1);
  103104. },
  103105. accept$1$1(visitor) {
  103106. return visitor.visitMap$1(this);
  103107. },
  103108. accept$1(visitor) {
  103109. return this.accept$1$1(visitor, type$.dynamic);
  103110. },
  103111. assertMap$1($name) {
  103112. return this;
  103113. },
  103114. tryMap$0() {
  103115. return this;
  103116. },
  103117. $eq(_, other) {
  103118. var t1;
  103119. if (other == null)
  103120. return false;
  103121. if (!(other instanceof A.SassMap0 && B.C_MapEquality.equals$2(0, other._map0$_contents, this._map0$_contents))) {
  103122. t1 = this._map0$_contents;
  103123. t1 = t1.get$isEmpty(t1) && other instanceof A.SassList0 && other._list1$_contents.length === 0;
  103124. } else
  103125. t1 = true;
  103126. return t1;
  103127. },
  103128. get$hashCode(_) {
  103129. var t1 = this._map0$_contents;
  103130. return t1.get$isEmpty(t1) ? B.C_ListEquality0.hash$1(B.List_empty19) : B.C_MapEquality.hash$1(t1);
  103131. }
  103132. };
  103133. A.global_closure31.prototype = {
  103134. call$1($arguments) {
  103135. var t1,
  103136. number = J.$index$asx($arguments, 0).assertNumber$1("number");
  103137. if (number.hasUnit$1("%"))
  103138. A.warnForDeprecation0(string$.Passinp + number.toString$0(0) + ")\nTo emit a CSS abs() now: abs(#{" + number.toString$0(0) + string$.x7d__Mor, B.Deprecation_jYb);
  103139. t1 = number.get$numeratorUnits(number);
  103140. return A.SassNumber_SassNumber$withUnits0(Math.abs(number._number1$_value), number.get$denominatorUnits(number), t1);
  103141. },
  103142. $signature: 12
  103143. };
  103144. A.module_closure11.prototype = {
  103145. call$1(value) {
  103146. return Math.abs(value);
  103147. },
  103148. $signature: 38
  103149. };
  103150. A._ceil_closure0.prototype = {
  103151. call$1(value) {
  103152. return B.JSNumber_methods.ceil$0(value);
  103153. },
  103154. $signature: 38
  103155. };
  103156. A._clamp_closure0.prototype = {
  103157. call$1($arguments) {
  103158. var t1 = J.getInterceptor$asx($arguments),
  103159. min = t1.$index($arguments, 0).assertNumber$1("min"),
  103160. number = t1.$index($arguments, 1).assertNumber$1("number"),
  103161. max = t1.$index($arguments, 2).assertNumber$1("max");
  103162. number.convertValueToMatch$3(min, "number", "min");
  103163. max.convertValueToMatch$3(min, "max", "min");
  103164. if (min.greaterThanOrEquals$1(max).value)
  103165. return min;
  103166. if (min.greaterThanOrEquals$1(number).value)
  103167. return min;
  103168. if (number.greaterThanOrEquals$1(max).value)
  103169. return max;
  103170. return number;
  103171. },
  103172. $signature: 12
  103173. };
  103174. A._floor_closure0.prototype = {
  103175. call$1(value) {
  103176. return B.JSNumber_methods.floor$0(value);
  103177. },
  103178. $signature: 38
  103179. };
  103180. A._max_closure0.prototype = {
  103181. call$1($arguments) {
  103182. var t1, t2, max, _i, number;
  103183. 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) {
  103184. number = t1[_i].assertNumber$0();
  103185. if (max == null || max.lessThan$1(number).value)
  103186. max = number;
  103187. }
  103188. if (max != null)
  103189. return max;
  103190. throw A.wrapException(A.SassScriptException$0("At least one argument must be passed.", null));
  103191. },
  103192. $signature: 12
  103193. };
  103194. A._min_closure0.prototype = {
  103195. call$1($arguments) {
  103196. var t1, t2, min, _i, number;
  103197. 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) {
  103198. number = t1[_i].assertNumber$0();
  103199. if (min == null || min.greaterThan$1(number).value)
  103200. min = number;
  103201. }
  103202. if (min != null)
  103203. return min;
  103204. throw A.wrapException(A.SassScriptException$0("At least one argument must be passed.", null));
  103205. },
  103206. $signature: 12
  103207. };
  103208. A._round_closure0.prototype = {
  103209. call$1(number) {
  103210. return B.JSNumber_methods.round$0(number);
  103211. },
  103212. $signature: 38
  103213. };
  103214. A._hypot_closure0.prototype = {
  103215. call$1($arguments) {
  103216. var subtotal, i, i0, t3, t4,
  103217. t1 = J.$index$asx($arguments, 0).get$asList(),
  103218. t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,SassNumber0>"),
  103219. numbers = A.List_List$of(new A.MappedListIterable(t1, new A._hypot__closure0(), t2), true, t2._eval$1("ListIterable.E"));
  103220. t1 = numbers.length;
  103221. if (t1 === 0)
  103222. throw A.wrapException(A.SassScriptException$0("At least one argument must be passed.", null));
  103223. for (subtotal = 0, i = 0; i < t1; i = i0) {
  103224. i0 = i + 1;
  103225. subtotal += Math.pow(numbers[i].convertValueToMatch$3(numbers[0], "numbers[" + i0 + "]", "numbers[1]"), 2);
  103226. }
  103227. t1 = Math.sqrt(subtotal);
  103228. t2 = numbers[0];
  103229. t3 = J.getInterceptor$x(t2);
  103230. t4 = t3.get$numeratorUnits(t2);
  103231. return A.SassNumber_SassNumber$withUnits0(t1, t3.get$denominatorUnits(t2), t4);
  103232. },
  103233. $signature: 12
  103234. };
  103235. A._hypot__closure0.prototype = {
  103236. call$1(argument) {
  103237. return argument.assertNumber$0();
  103238. },
  103239. $signature: 501
  103240. };
  103241. A._log_closure0.prototype = {
  103242. call$1($arguments) {
  103243. var base,
  103244. _s18_ = " to have no units.",
  103245. _null = null,
  103246. t1 = J.getInterceptor$asx($arguments),
  103247. number = t1.$index($arguments, 0).assertNumber$1("number");
  103248. if (number.get$hasUnits())
  103249. throw A.wrapException(A.SassScriptException$0("$number: Expected " + number.toString$0(0) + _s18_, _null));
  103250. else if (J.$eq$(t1.$index($arguments, 1), B.C__SassNull0))
  103251. return A.SassNumber_SassNumber0(Math.log(number._number1$_value), _null);
  103252. base = t1.$index($arguments, 1).assertNumber$1("base");
  103253. if (base.get$hasUnits())
  103254. throw A.wrapException(A.SassScriptException$0("$base: Expected " + base.toString$0(0) + _s18_, _null));
  103255. else
  103256. return A.SassNumber_SassNumber0(Math.log(number._number1$_value) / Math.log(base._number1$_value), _null);
  103257. },
  103258. $signature: 12
  103259. };
  103260. A._pow_closure0.prototype = {
  103261. call$1($arguments) {
  103262. var t1 = J.getInterceptor$asx($arguments);
  103263. return A.pow1(t1.$index($arguments, 0).assertNumber$1("base"), t1.$index($arguments, 1).assertNumber$1("exponent"));
  103264. },
  103265. $signature: 12
  103266. };
  103267. A._atan2_closure0.prototype = {
  103268. call$1($arguments) {
  103269. var t1 = J.getInterceptor$asx($arguments),
  103270. y = t1.$index($arguments, 0).assertNumber$1("y");
  103271. 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));
  103272. },
  103273. $signature: 12
  103274. };
  103275. A._compatible_closure0.prototype = {
  103276. call$1($arguments) {
  103277. var t1 = J.getInterceptor$asx($arguments);
  103278. return t1.$index($arguments, 0).assertNumber$1("number1").isComparableTo$1(t1.$index($arguments, 1).assertNumber$1("number2")) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  103279. },
  103280. $signature: 21
  103281. };
  103282. A._isUnitless_closure0.prototype = {
  103283. call$1($arguments) {
  103284. return !J.$index$asx($arguments, 0).assertNumber$1("number").get$hasUnits() ? B.SassBoolean_true0 : B.SassBoolean_false0;
  103285. },
  103286. $signature: 21
  103287. };
  103288. A._unit_closure0.prototype = {
  103289. call$1($arguments) {
  103290. return new A.SassString0(J.$index$asx($arguments, 0).assertNumber$1("number").get$unitString(), true);
  103291. },
  103292. $signature: 19
  103293. };
  103294. A._percentage_closure0.prototype = {
  103295. call$1($arguments) {
  103296. var number = J.$index$asx($arguments, 0).assertNumber$1("number");
  103297. number.assertNoUnits$1("number");
  103298. return A.SassNumber_SassNumber0(number._number1$_value * 100, "%");
  103299. },
  103300. $signature: 12
  103301. };
  103302. A._randomFunction_closure0.prototype = {
  103303. call$1($arguments) {
  103304. var limit, limitScalar,
  103305. t1 = J.getInterceptor$asx($arguments);
  103306. if (J.$eq$(t1.$index($arguments, 0), B.C__SassNull0))
  103307. return A.SassNumber_SassNumber0($.$get$_random2().nextDouble$0(), null);
  103308. limit = t1.$index($arguments, 0).assertNumber$1("limit");
  103309. if (limit.get$hasUnits())
  103310. 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_oCX);
  103311. limitScalar = limit.assertInt$1("limit");
  103312. if (limitScalar < 1)
  103313. throw A.wrapException(A.SassScriptException$0("$limit: Must be greater than 0, was " + limit.toString$0(0) + ".", null));
  103314. return A.SassNumber_SassNumber0($.$get$_random2().nextInt$1(limitScalar) + 1, null);
  103315. },
  103316. $signature: 12
  103317. };
  103318. A._div_closure0.prototype = {
  103319. call$1($arguments) {
  103320. var t1 = J.getInterceptor$asx($arguments),
  103321. number1 = t1.$index($arguments, 0),
  103322. number2 = t1.$index($arguments, 1);
  103323. if (!(number1 instanceof A.SassNumber0) || !(number2 instanceof A.SassNumber0))
  103324. A.warn0(string$.math_d);
  103325. return number1.dividedBy$1(number2);
  103326. },
  103327. $signature: 3
  103328. };
  103329. A._singleArgumentMathFunc_closure0.prototype = {
  103330. call$1($arguments) {
  103331. return this.mathFunc.call$1(J.$index$asx($arguments, 0).assertNumber$1("number"));
  103332. },
  103333. $signature: 12
  103334. };
  103335. A._numberFunction_closure0.prototype = {
  103336. call$1($arguments) {
  103337. var number = J.$index$asx($arguments, 0).assertNumber$1("number"),
  103338. t1 = this.transform.call$1(number._number1$_value),
  103339. t2 = number.get$numeratorUnits(number);
  103340. return A.SassNumber_SassNumber$withUnits0(t1, number.get$denominatorUnits(number), t2);
  103341. },
  103342. $signature: 12
  103343. };
  103344. A.CssMediaQuery0.prototype = {
  103345. merge$1(other) {
  103346. 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";
  103347. if (!_this.conjunction || !other.conjunction)
  103348. return B._SingletonCssMediaQueryMergeResult_10;
  103349. t1 = _this.modifier;
  103350. ourModifier = t1 == null ? _null : t1.toLowerCase();
  103351. t2 = _this.type;
  103352. t3 = t2 == null;
  103353. ourType = t3 ? _null : t2.toLowerCase();
  103354. t4 = other.modifier;
  103355. theirModifier = t4 == null ? _null : t4.toLowerCase();
  103356. t5 = other.type;
  103357. t6 = t5 == null;
  103358. theirType = t6 ? _null : t5.toLowerCase();
  103359. t7 = ourType == null;
  103360. if (t7 && theirType == null) {
  103361. t1 = A.List_List$of(_this.conditions, true, type$.String);
  103362. B.JSArray_methods.addAll$1(t1, other.conditions);
  103363. return new A.MediaQuerySuccessfulMergeResult0(A.CssMediaQuery$condition0(t1, true));
  103364. }
  103365. t8 = ourModifier === "not";
  103366. if (t8 !== (theirModifier === "not")) {
  103367. if (ourType == theirType) {
  103368. negativeConditions = t8 ? _this.conditions : other.conditions;
  103369. if (B.JSArray_methods.every$1(negativeConditions, B.JSArray_methods.get$contains(t8 ? other.conditions : _this.conditions)))
  103370. return B._SingletonCssMediaQueryMergeResult_00;
  103371. else
  103372. return B._SingletonCssMediaQueryMergeResult_10;
  103373. } else if (t3 || A.equalsIgnoreCase0(t2, _s3_) || t6 || A.equalsIgnoreCase0(t5, _s3_))
  103374. return B._SingletonCssMediaQueryMergeResult_10;
  103375. if (t8) {
  103376. conditions = other.conditions;
  103377. type = theirType;
  103378. modifier = theirModifier;
  103379. } else {
  103380. conditions = _this.conditions;
  103381. type = ourType;
  103382. modifier = ourModifier;
  103383. }
  103384. } else if (t8) {
  103385. if (ourType != theirType)
  103386. return B._SingletonCssMediaQueryMergeResult_10;
  103387. fewerConditions = _this.conditions;
  103388. fewerConditions0 = other.conditions;
  103389. t3 = fewerConditions.length > fewerConditions0.length;
  103390. moreConditions = t3 ? fewerConditions : fewerConditions0;
  103391. if (t3)
  103392. fewerConditions = fewerConditions0;
  103393. if (!B.JSArray_methods.every$1(fewerConditions, B.JSArray_methods.get$contains(moreConditions)))
  103394. return B._SingletonCssMediaQueryMergeResult_10;
  103395. conditions = moreConditions;
  103396. type = ourType;
  103397. modifier = ourModifier;
  103398. } else if (t3 || A.equalsIgnoreCase0(t2, _s3_)) {
  103399. type = (t6 || A.equalsIgnoreCase0(t5, _s3_)) && t7 ? _null : theirType;
  103400. t3 = A.List_List$of(_this.conditions, true, type$.String);
  103401. B.JSArray_methods.addAll$1(t3, other.conditions);
  103402. conditions = t3;
  103403. modifier = theirModifier;
  103404. } else {
  103405. if (t6 || A.equalsIgnoreCase0(t5, _s3_)) {
  103406. t3 = A.List_List$of(_this.conditions, true, type$.String);
  103407. B.JSArray_methods.addAll$1(t3, other.conditions);
  103408. conditions = t3;
  103409. modifier = ourModifier;
  103410. } else {
  103411. if (ourType != theirType)
  103412. return B._SingletonCssMediaQueryMergeResult_00;
  103413. else {
  103414. modifier = ourModifier == null ? theirModifier : ourModifier;
  103415. t3 = A.List_List$of(_this.conditions, true, type$.String);
  103416. B.JSArray_methods.addAll$1(t3, other.conditions);
  103417. }
  103418. conditions = t3;
  103419. }
  103420. type = ourType;
  103421. }
  103422. t2 = type == ourType ? t2 : t5;
  103423. return new A.MediaQuerySuccessfulMergeResult0(A.CssMediaQuery$type0(t2, conditions, modifier == ourModifier ? t1 : t4));
  103424. },
  103425. $eq(_, other) {
  103426. if (other == null)
  103427. return false;
  103428. return other instanceof A.CssMediaQuery0 && other.modifier == this.modifier && other.type == this.type && B.C_ListEquality.equals$2(0, other.conditions, this.conditions);
  103429. },
  103430. get$hashCode(_) {
  103431. return J.get$hashCode$(this.modifier) ^ J.get$hashCode$(this.type) ^ B.C_ListEquality0.hash$1(this.conditions);
  103432. },
  103433. toString$0(_) {
  103434. var t2, _this = this,
  103435. t1 = _this.modifier;
  103436. t1 = t1 != null ? "" + (t1 + " ") : "";
  103437. t2 = _this.type;
  103438. if (t2 != null) {
  103439. t1 += t2;
  103440. if (_this.conditions.length !== 0)
  103441. t1 += " and ";
  103442. }
  103443. t2 = _this.conjunction ? " and " : " or ";
  103444. t2 = t1 + B.JSArray_methods.join$1(_this.conditions, t2);
  103445. return t2.charCodeAt(0) == 0 ? t2 : t2;
  103446. }
  103447. };
  103448. A._SingletonCssMediaQueryMergeResult0.prototype = {
  103449. _enumToString$0() {
  103450. return "_SingletonCssMediaQueryMergeResult." + this._name;
  103451. }
  103452. };
  103453. A.MediaQuerySuccessfulMergeResult0.prototype = {
  103454. toString$0(_) {
  103455. return this.query.toString$0(0);
  103456. }
  103457. };
  103458. A.MediaQueryParser0.prototype = {
  103459. parse$0() {
  103460. return this.wrapSpanFormatException$1(new A.MediaQueryParser_parse_closure0(this));
  103461. },
  103462. _media_query$_mediaQuery$0() {
  103463. var conditions, conjunction, t1, identifier1, identifier2, type, modifier, _this = this, _s3_ = "and", _null = null;
  103464. if (_this.scanner.peekChar$0() === 40) {
  103465. conditions = A._setArrayType([_this._media_query$_mediaInParens$0()], type$.JSArray_String);
  103466. _this.whitespace$0();
  103467. if (_this.scanIdentifier$1(_s3_)) {
  103468. _this.expectWhitespace$0();
  103469. B.JSArray_methods.addAll$1(conditions, _this._media_query$_mediaLogicSequence$1(_s3_));
  103470. conjunction = true;
  103471. } else {
  103472. t1 = _this.scanIdentifier$1("or");
  103473. if (t1) {
  103474. _this.expectWhitespace$0();
  103475. B.JSArray_methods.addAll$1(conditions, _this._media_query$_mediaLogicSequence$1("or"));
  103476. }
  103477. conjunction = !t1;
  103478. }
  103479. return A.CssMediaQuery$condition0(conditions, conjunction);
  103480. }
  103481. identifier1 = _this.identifier$0();
  103482. if (A.equalsIgnoreCase0(identifier1, "not")) {
  103483. _this.expectWhitespace$0();
  103484. if (!_this.lookingAtIdentifier$0())
  103485. return A.CssMediaQuery$condition0(A._setArrayType(["(not " + _this._media_query$_mediaInParens$0() + ")"], type$.JSArray_String), _null);
  103486. }
  103487. _this.whitespace$0();
  103488. if (!_this.lookingAtIdentifier$0())
  103489. return A.CssMediaQuery$type0(identifier1, _null, _null);
  103490. identifier2 = _this.identifier$0();
  103491. if (A.equalsIgnoreCase0(identifier2, _s3_)) {
  103492. _this.expectWhitespace$0();
  103493. type = identifier1;
  103494. modifier = _null;
  103495. } else {
  103496. _this.whitespace$0();
  103497. if (_this.scanIdentifier$1(_s3_))
  103498. _this.expectWhitespace$0();
  103499. else
  103500. return A.CssMediaQuery$type0(identifier2, _null, identifier1);
  103501. type = identifier2;
  103502. modifier = identifier1;
  103503. }
  103504. if (_this.scanIdentifier$1("not")) {
  103505. _this.expectWhitespace$0();
  103506. return A.CssMediaQuery$type0(type, A._setArrayType(["(not " + _this._media_query$_mediaInParens$0() + ")"], type$.JSArray_String), modifier);
  103507. }
  103508. return A.CssMediaQuery$type0(type, _this._media_query$_mediaLogicSequence$1(_s3_), modifier);
  103509. },
  103510. _media_query$_mediaLogicSequence$1(operator) {
  103511. var t1, t2, _this = this,
  103512. result = A._setArrayType([], type$.JSArray_String);
  103513. for (t1 = _this.scanner; true;) {
  103514. t1.expectChar$2$name(40, "media condition in parentheses");
  103515. t2 = _this.declarationValue$0();
  103516. t1.expectChar$1(41);
  103517. result.push("(" + t2 + ")");
  103518. _this.whitespace$0();
  103519. if (!_this.scanIdentifier$1(operator))
  103520. return result;
  103521. _this.expectWhitespace$0();
  103522. }
  103523. },
  103524. _media_query$_mediaInParens$0() {
  103525. var t2,
  103526. t1 = this.scanner;
  103527. t1.expectChar$2$name(40, "media condition in parentheses");
  103528. t2 = this.declarationValue$0();
  103529. t1.expectChar$1(41);
  103530. return "(" + t2 + ")";
  103531. }
  103532. };
  103533. A.MediaQueryParser_parse_closure0.prototype = {
  103534. call$0() {
  103535. var queries = A._setArrayType([], type$.JSArray_CssMediaQuery_2),
  103536. t1 = this.$this,
  103537. t2 = t1.scanner;
  103538. do {
  103539. t1.whitespace$0();
  103540. queries.push(t1._media_query$_mediaQuery$0());
  103541. t1.whitespace$0();
  103542. } while (t2.scanChar$1(44));
  103543. t2.expectDone$0();
  103544. return queries;
  103545. },
  103546. $signature: 502
  103547. };
  103548. A.ModifiableCssMediaRule0.prototype = {
  103549. accept$1$1(visitor) {
  103550. return visitor.visitCssMediaRule$1(this);
  103551. },
  103552. accept$1(visitor) {
  103553. return this.accept$1$1(visitor, type$.dynamic);
  103554. },
  103555. equalsIgnoringChildren$1(other) {
  103556. return other instanceof A.ModifiableCssMediaRule0 && B.C_ListEquality.equals$2(0, this.queries, other.queries);
  103557. },
  103558. copyWithoutChildren$0() {
  103559. return A.ModifiableCssMediaRule$0(this.queries, this.span);
  103560. },
  103561. get$span(receiver) {
  103562. return this.span;
  103563. }
  103564. };
  103565. A.MediaRule0.prototype = {
  103566. accept$1$1(visitor) {
  103567. return visitor.visitMediaRule$1(this);
  103568. },
  103569. accept$1(visitor) {
  103570. return this.accept$1$1(visitor, type$.dynamic);
  103571. },
  103572. toString$0(_) {
  103573. var t1 = this.children;
  103574. return "@media " + this.query.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  103575. },
  103576. get$span(receiver) {
  103577. return this.span;
  103578. }
  103579. };
  103580. A.MergedExtension0.prototype = {
  103581. unmerge$0() {
  103582. return new A._SyncStarIterable(this.unmerge$body$MergedExtension0(), type$._SyncStarIterable_Extension_2);
  103583. },
  103584. unmerge$body$MergedExtension0() {
  103585. var $async$self = this;
  103586. return function() {
  103587. var $async$goto = 0, $async$handler = 1, $async$currentError, right, left;
  103588. return function $async$unmerge$0($async$iterator, $async$errorCode, $async$result) {
  103589. if ($async$errorCode === 1) {
  103590. $async$currentError = $async$result;
  103591. $async$goto = $async$handler;
  103592. }
  103593. while (true)
  103594. switch ($async$goto) {
  103595. case 0:
  103596. // Function start
  103597. left = $async$self.left;
  103598. $async$goto = left instanceof A.MergedExtension0 ? 2 : 4;
  103599. break;
  103600. case 2:
  103601. // then
  103602. $async$goto = 5;
  103603. return $async$iterator._yieldStar$1(left.unmerge$0());
  103604. case 5:
  103605. // after yield
  103606. // goto join
  103607. $async$goto = 3;
  103608. break;
  103609. case 4:
  103610. // else
  103611. $async$goto = 6;
  103612. return $async$iterator._async$_current = left, 1;
  103613. case 6:
  103614. // after yield
  103615. case 3:
  103616. // join
  103617. right = $async$self.right;
  103618. $async$goto = right instanceof A.MergedExtension0 ? 7 : 9;
  103619. break;
  103620. case 7:
  103621. // then
  103622. $async$goto = 10;
  103623. return $async$iterator._yieldStar$1(right.unmerge$0());
  103624. case 10:
  103625. // after yield
  103626. // goto join
  103627. $async$goto = 8;
  103628. break;
  103629. case 9:
  103630. // else
  103631. $async$goto = 11;
  103632. return $async$iterator._async$_current = right, 1;
  103633. case 11:
  103634. // after yield
  103635. case 8:
  103636. // join
  103637. // implicit return
  103638. return 0;
  103639. case 1:
  103640. // rethrow
  103641. return $async$iterator._datum = $async$currentError, 3;
  103642. }
  103643. };
  103644. };
  103645. }
  103646. };
  103647. A.MergedMapView0.prototype = {
  103648. get$keys(_) {
  103649. var t1 = this._merged_map_view$_mapsByKey;
  103650. return new A.LinkedHashMapKeyIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapKeyIterable<1>"));
  103651. },
  103652. get$length(_) {
  103653. return this._merged_map_view$_mapsByKey.__js_helper$_length;
  103654. },
  103655. get$isEmpty(_) {
  103656. return this._merged_map_view$_mapsByKey.__js_helper$_length === 0;
  103657. },
  103658. get$isNotEmpty(_) {
  103659. return this._merged_map_view$_mapsByKey.__js_helper$_length !== 0;
  103660. },
  103661. MergedMapView$10(maps, $K, $V) {
  103662. var t1, t2, t3, _i, map, t4, t5, t6;
  103663. for (t1 = maps.length, t2 = this._merged_map_view$_mapsByKey, t3 = $K._eval$1("@<0>")._bind$1($V)._eval$1("MergedMapView0<1,2>"), _i = 0; _i < maps.length; maps.length === t1 || (0, A.throwConcurrentModificationError)(maps), ++_i) {
  103664. map = maps[_i];
  103665. if (t3._is(map))
  103666. for (t4 = map._merged_map_view$_mapsByKey.get$values(0), t5 = A._instanceType(t4), t5 = t5._eval$1("@<1>")._bind$1(t5._rest[1]), t4 = new A.MappedIterator(J.get$iterator$ax(t4.__internal$_iterable), t4._f, t5._eval$1("MappedIterator<1,2>")), t5 = t5._rest[1]; t4.moveNext$0();) {
  103667. t6 = t4.__internal$_current;
  103668. if (t6 == null)
  103669. t6 = t5._as(t6);
  103670. A.setAll0(t2, t6.get$keys(t6), t6);
  103671. }
  103672. else
  103673. A.setAll0(t2, map.get$keys(map), map);
  103674. }
  103675. },
  103676. $index(_, key) {
  103677. var t1 = this._merged_map_view$_mapsByKey.$index(0, this.$ti._precomputed1._as(key));
  103678. return t1 == null ? null : t1.$index(0, key);
  103679. },
  103680. $indexSet(_, key, value) {
  103681. var _0_0 = this._merged_map_view$_mapsByKey.$index(0, key);
  103682. if (_0_0 != null)
  103683. _0_0.$indexSet(0, key, value);
  103684. else
  103685. throw A.wrapException(A.UnsupportedError$(string$.New_en));
  103686. },
  103687. remove$1(_, key) {
  103688. throw A.wrapException(A.UnsupportedError$(string$.Entrie));
  103689. },
  103690. containsKey$1(key) {
  103691. return this._merged_map_view$_mapsByKey.containsKey$1(key);
  103692. }
  103693. };
  103694. A.global_closure59.prototype = {
  103695. call$1($arguments) {
  103696. return $._features0.contains$1(0, J.$index$asx($arguments, 0).assertString$1("feature")._string0$_text) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  103697. },
  103698. $signature: 21
  103699. };
  103700. A.global_closure60.prototype = {
  103701. call$1($arguments) {
  103702. return new A.SassString0(A.serializeValue0(J.get$first$ax($arguments), true, true), false);
  103703. },
  103704. $signature: 19
  103705. };
  103706. A.global_closure61.prototype = {
  103707. call$1($arguments) {
  103708. var t1 = J.getInterceptor$asx($arguments),
  103709. _0_0 = t1.$index($arguments, 0);
  103710. $label0$0: {
  103711. if (_0_0 instanceof A.SassArgumentList0) {
  103712. t1 = "arglist";
  103713. break $label0$0;
  103714. }
  103715. if (_0_0 instanceof A.SassBoolean0) {
  103716. t1 = "bool";
  103717. break $label0$0;
  103718. }
  103719. if (_0_0 instanceof A.SassColor0) {
  103720. t1 = "color";
  103721. break $label0$0;
  103722. }
  103723. if (_0_0 instanceof A.SassList0) {
  103724. t1 = "list";
  103725. break $label0$0;
  103726. }
  103727. if (_0_0 instanceof A.SassMap0) {
  103728. t1 = "map";
  103729. break $label0$0;
  103730. }
  103731. if (B.C__SassNull0 === _0_0) {
  103732. t1 = "null";
  103733. break $label0$0;
  103734. }
  103735. if (_0_0 instanceof A.SassNumber0) {
  103736. t1 = "number";
  103737. break $label0$0;
  103738. }
  103739. if (_0_0 instanceof A.SassFunction0) {
  103740. t1 = "function";
  103741. break $label0$0;
  103742. }
  103743. if (_0_0 instanceof A.SassMixin0) {
  103744. t1 = "mixin";
  103745. break $label0$0;
  103746. }
  103747. if (_0_0 instanceof A.SassCalculation0) {
  103748. t1 = "calculation";
  103749. break $label0$0;
  103750. }
  103751. if (_0_0 instanceof A.SassString0) {
  103752. t1 = "string";
  103753. break $label0$0;
  103754. }
  103755. t1 = A.throwExpression("[BUG] Unknown value type " + A.S(t1.$index($arguments, 0)));
  103756. }
  103757. return new A.SassString0(t1, false);
  103758. },
  103759. $signature: 19
  103760. };
  103761. A.global_closure62.prototype = {
  103762. call$1($arguments) {
  103763. var t2, t3, t4,
  103764. t1 = J.getInterceptor$asx($arguments),
  103765. _1_0 = t1.$index($arguments, 0);
  103766. if (_1_0 instanceof A.SassArgumentList0) {
  103767. _1_0._argument_list$_wereKeywordsAccessed = true;
  103768. t1 = type$.Value_2;
  103769. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  103770. for (t3 = A.MapExtensions_get_pairs0(_1_0._argument_list$_keywords, type$.String, t1), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  103771. t4 = t3.get$current(t3);
  103772. t2.$indexSet(0, new A.SassString0(t4._0, false), t4._1);
  103773. }
  103774. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  103775. } else
  103776. throw A.wrapException("$args: " + A.S(t1.$index($arguments, 0)) + " is not an argument list.");
  103777. },
  103778. $signature: 33
  103779. };
  103780. A.local_closure2.prototype = {
  103781. call$1($arguments) {
  103782. return new A.SassString0(J.$index$asx($arguments, 0).assertCalculation$1("calc").name, true);
  103783. },
  103784. $signature: 19
  103785. };
  103786. A.local_closure3.prototype = {
  103787. call$1($arguments) {
  103788. var t1 = J.$index$asx($arguments, 0).assertCalculation$1("calc").$arguments;
  103789. return A.SassList$0(new A.MappedListIterable(t1, new A.local__closure0(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value0>")), B.ListSeparator_ECn0, false);
  103790. },
  103791. $signature: 22
  103792. };
  103793. A.local__closure0.prototype = {
  103794. call$1(argument) {
  103795. return argument instanceof A.Value0 ? argument : new A.SassString0(J.toString$0$(argument), false);
  103796. },
  103797. $signature: 503
  103798. };
  103799. A.local_closure4.prototype = {
  103800. call$1($arguments) {
  103801. var _0_2_isSet, _0_2, acceptsContent, t1, _0_5_isSet, _0_5, hasContent,
  103802. mixin = J.$index$asx($arguments, 0).assertMixin$1("mixin"),
  103803. _0_0 = mixin.callable;
  103804. $label0$0: {
  103805. _0_2_isSet = type$.AsyncBuiltInCallable_2._is(_0_0);
  103806. if (_0_2_isSet) {
  103807. _0_2 = _0_0.get$acceptsContent();
  103808. acceptsContent = _0_2;
  103809. } else
  103810. acceptsContent = null;
  103811. if (!_0_2_isSet) {
  103812. _0_2_isSet = _0_0 instanceof A.BuiltInCallable0;
  103813. if (_0_2_isSet) {
  103814. _0_2 = _0_0.acceptsContent;
  103815. acceptsContent = _0_2;
  103816. }
  103817. t1 = _0_2_isSet;
  103818. } else
  103819. t1 = true;
  103820. if (t1) {
  103821. t1 = acceptsContent;
  103822. break $label0$0;
  103823. }
  103824. _0_5_isSet = _0_0 instanceof A.UserDefinedCallable0;
  103825. if (_0_5_isSet) {
  103826. _0_5 = _0_0.declaration;
  103827. t1 = _0_5 instanceof A.MixinRule0;
  103828. } else {
  103829. _0_5 = null;
  103830. t1 = false;
  103831. }
  103832. if (t1) {
  103833. t1 = _0_5_isSet ? _0_5 : _0_0.declaration;
  103834. hasContent = type$.MixinRule_2._as(t1).get$hasContent();
  103835. t1 = hasContent;
  103836. break $label0$0;
  103837. }
  103838. t1 = A.throwExpression(A.UnsupportedError$("Unknown callable type " + mixin.toString$0(0) + "."));
  103839. }
  103840. return t1 ? B.SassBoolean_true0 : B.SassBoolean_false0;
  103841. },
  103842. $signature: 21
  103843. };
  103844. A.mixinClass_closure.prototype = {
  103845. call$0() {
  103846. var t1 = type$.JSClass,
  103847. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassMixin", new A.mixinClass__closure()));
  103848. A.JSClassExtension_injectSuperclass(t1._as(new A.SassMixin0(A.BuiltInCallable$function0("f", "", new A.mixinClass__closure0(), null)).constructor), jsClass);
  103849. return jsClass;
  103850. },
  103851. $signature: 13
  103852. };
  103853. A.mixinClass__closure.prototype = {
  103854. call$1($self) {
  103855. A.jsThrow(new self.Error("It is not possible to construct a SassMixin through the JavaScript API"));
  103856. },
  103857. $signature: 504
  103858. };
  103859. A.mixinClass__closure0.prototype = {
  103860. call$1(_) {
  103861. return B.C__SassNull0;
  103862. },
  103863. $signature: 3
  103864. };
  103865. A.SassMixin0.prototype = {
  103866. accept$1$1(visitor) {
  103867. var t1, t2;
  103868. if (!visitor._serialize0$_inspect)
  103869. A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " isn't a valid CSS value.", null));
  103870. t1 = visitor._serialize0$_buffer;
  103871. t1.write$1(0, "get-mixin(");
  103872. t2 = this.callable;
  103873. visitor._serialize0$_visitQuotedString$1(t2.get$name(t2));
  103874. t1.writeCharCode$1(41);
  103875. return null;
  103876. },
  103877. accept$1(visitor) {
  103878. return this.accept$1$1(visitor, type$.dynamic);
  103879. },
  103880. assertMixin$1($name) {
  103881. return this;
  103882. },
  103883. $eq(_, other) {
  103884. if (other == null)
  103885. return false;
  103886. return other instanceof A.SassMixin0 && this.callable.$eq(0, other.callable);
  103887. },
  103888. get$hashCode(_) {
  103889. var t1 = this.callable;
  103890. return t1.get$hashCode(t1);
  103891. }
  103892. };
  103893. A.MixinRule0.prototype = {
  103894. get$hasContent() {
  103895. var result, _this = this,
  103896. value = _this._mixin_rule$__MixinRule_hasContent_FI;
  103897. if (value === $) {
  103898. result = J.$eq$(B.C__HasContentVisitor0.visitChildren$1(_this.children), true);
  103899. _this._mixin_rule$__MixinRule_hasContent_FI !== $ && A.throwUnnamedLateFieldADI();
  103900. _this._mixin_rule$__MixinRule_hasContent_FI = result;
  103901. value = result;
  103902. }
  103903. return value;
  103904. },
  103905. accept$1$1(visitor) {
  103906. return visitor.visitMixinRule$1(this);
  103907. },
  103908. accept$1(visitor) {
  103909. return this.accept$1$1(visitor, type$.dynamic);
  103910. },
  103911. toString$0(_) {
  103912. var t1 = "@mixin " + this.name,
  103913. t2 = this.$arguments;
  103914. if (!(t2.$arguments.length === 0 && t2.restArgument == null))
  103915. t1 += "(" + t2.toString$0(0) + ")";
  103916. t2 = this.children;
  103917. t2 = t1 + (" {" + (t2 && B.JSArray_methods).join$1(t2, " ") + "}");
  103918. return t2.charCodeAt(0) == 0 ? t2 : t2;
  103919. }
  103920. };
  103921. A._HasContentVisitor0.prototype = {
  103922. visitContentRule$1(_) {
  103923. return true;
  103924. }
  103925. };
  103926. A.__HasContentVisitor_Object_StatementSearchVisitor0.prototype = {};
  103927. A.ExtendMode0.prototype = {
  103928. _enumToString$0() {
  103929. return "ExtendMode." + this._name;
  103930. },
  103931. toString$0(_) {
  103932. return this.name;
  103933. }
  103934. };
  103935. A.JSModule0.prototype = {};
  103936. A.JSModuleRequire0.prototype = {};
  103937. A.MultiSpan0.prototype = {
  103938. get$start(_) {
  103939. var t1 = this._multi_span0$_primary;
  103940. return t1.get$start(t1);
  103941. },
  103942. get$end(_) {
  103943. var t1 = this._multi_span0$_primary;
  103944. return t1.get$end(t1);
  103945. },
  103946. get$text() {
  103947. return this._multi_span0$_primary.get$text();
  103948. },
  103949. get$context(_) {
  103950. var t1 = this._multi_span0$_primary;
  103951. return t1.get$context(t1);
  103952. },
  103953. get$file(_) {
  103954. var t1 = this._multi_span0$_primary;
  103955. return t1.get$file(t1);
  103956. },
  103957. get$length(_) {
  103958. var t1 = this._multi_span0$_primary;
  103959. return t1.get$length(t1);
  103960. },
  103961. get$sourceUrl(_) {
  103962. var t1 = this._multi_span0$_primary;
  103963. return t1.get$sourceUrl(t1);
  103964. },
  103965. compareTo$1(_, other) {
  103966. return this._multi_span0$_primary.compareTo$1(0, other);
  103967. },
  103968. toString$0(_) {
  103969. return this._multi_span0$_primary.toString$0(0);
  103970. },
  103971. expand$1(_, other) {
  103972. return new A.MultiSpan0(this._multi_span0$_primary.expand$1(0, other), this.primaryLabel, this.secondarySpans);
  103973. },
  103974. highlight$1$color(color) {
  103975. return A.Highlighter$multiple(this._multi_span0$_primary, this.primaryLabel, this.secondarySpans, color === true, null, null).highlight$0();
  103976. },
  103977. message$2$color(_, message, color) {
  103978. var t1 = J.$eq$(color, true) || typeof color == "string",
  103979. t2 = typeof color == "string" ? color : null;
  103980. return A.SourceSpanExtension_messageMultiple(this._multi_span0$_primary, message, this.primaryLabel, this.secondarySpans, t1, t2, null);
  103981. },
  103982. message$1(_, message) {
  103983. return this.message$2$color(0, message, null);
  103984. },
  103985. $isComparable: 1,
  103986. $isFileSpan: 1,
  103987. $isSourceSpan: 1,
  103988. $isSourceSpanWithContext: 1
  103989. };
  103990. A.SupportsNegation0.prototype = {
  103991. toString$0(_) {
  103992. var t1 = this.condition;
  103993. if (t1 instanceof A.SupportsNegation0 || t1 instanceof A.SupportsOperation0)
  103994. return "not (" + t1.toString$0(0) + ")";
  103995. else
  103996. return "not " + t1.toString$0(0);
  103997. },
  103998. $isAstNode0: 1,
  103999. get$span(receiver) {
  104000. return this.span;
  104001. }
  104002. };
  104003. A.NoOpImporter0.prototype = {
  104004. canonicalize$1(_, url) {
  104005. return null;
  104006. },
  104007. load$1(_, url) {
  104008. return null;
  104009. },
  104010. toString$0(_) {
  104011. return "(unknown)";
  104012. }
  104013. };
  104014. A.NoSourceMapBuffer0.prototype = {
  104015. get$length(_) {
  104016. return this._no_source_map_buffer0$_buffer._contents.length;
  104017. },
  104018. forSpan$1$2(span, callback) {
  104019. return callback.call$0();
  104020. },
  104021. forSpan$2(span, callback) {
  104022. return this.forSpan$1$2(span, callback, type$.dynamic);
  104023. },
  104024. write$1(_, object) {
  104025. var t1 = this._no_source_map_buffer0$_buffer,
  104026. t2 = A.S(object);
  104027. t1._contents += t2;
  104028. return null;
  104029. },
  104030. writeCharCode$1(charCode) {
  104031. var t1 = this._no_source_map_buffer0$_buffer,
  104032. t2 = A.Primitives_stringFromCharCode(charCode);
  104033. t1._contents += t2;
  104034. return null;
  104035. },
  104036. toString$0(_) {
  104037. var t1 = this._no_source_map_buffer0$_buffer._contents;
  104038. return t1.charCodeAt(0) == 0 ? t1 : t1;
  104039. },
  104040. buildSourceMap$1$prefix(prefix) {
  104041. return A.throwExpression(A.UnsupportedError$(string$.NoSour));
  104042. }
  104043. };
  104044. A._FakeAstNode0.prototype = {
  104045. get$span(_) {
  104046. return this._node0$_callback.call$0();
  104047. },
  104048. $isAstNode0: 1
  104049. };
  104050. A.CssNode0.prototype = {
  104051. toString$0(_) {
  104052. return A.serialize0(this, true, null, true, null, false, null, true)._0;
  104053. },
  104054. $isAstNode0: 1
  104055. };
  104056. A.CssParentNode0.prototype = {};
  104057. A._IsInvisibleVisitor1.prototype = {
  104058. visitCssAtRule$1(rule) {
  104059. return false;
  104060. },
  104061. visitCssComment$1(comment) {
  104062. return this.includeComments && comment.text.charCodeAt(2) !== 33;
  104063. },
  104064. visitCssStyleRule$1(rule) {
  104065. var t1 = rule._style_rule0$_selector._box0$_inner;
  104066. return (this.includeBogus ? t1.value.accept$1(B._IsInvisibleVisitor_true0) : t1.value.accept$1(B._IsInvisibleVisitor_false0)) || this.super$EveryCssVisitor$visitCssStyleRule0(rule);
  104067. }
  104068. };
  104069. A.__IsInvisibleVisitor_Object_EveryCssVisitor0.prototype = {};
  104070. A.ModifiableCssNode0.prototype = {
  104071. get$hasFollowingSibling() {
  104072. var t2,
  104073. t1 = this._node$_parent;
  104074. if (t1 == null)
  104075. t1 = null;
  104076. else {
  104077. t1 = t1.children;
  104078. t2 = this._node$_indexInParent;
  104079. t2.toString;
  104080. t1 = A.SubListIterable$(t1, t2 + 1, null, t1.$ti._eval$1("ListBase.E")).any$1(0, new A.ModifiableCssNode_hasFollowingSibling_closure0());
  104081. }
  104082. return t1 === true;
  104083. },
  104084. get$isGroupEnd() {
  104085. return this.isGroupEnd;
  104086. }
  104087. };
  104088. A.ModifiableCssNode_hasFollowingSibling_closure0.prototype = {
  104089. call$1(sibling) {
  104090. return !sibling.accept$1(B._IsInvisibleVisitor_true_false0);
  104091. },
  104092. $signature: 108
  104093. };
  104094. A.ModifiableCssParentNode0.prototype = {
  104095. get$isChildless() {
  104096. return false;
  104097. },
  104098. addChild$1(child) {
  104099. var t1;
  104100. child._node$_parent = this;
  104101. t1 = this._node$_children;
  104102. child._node$_indexInParent = t1.length;
  104103. t1.push(child);
  104104. },
  104105. clearChildren$0() {
  104106. var t1, t2, _i, child;
  104107. for (t1 = this._node$_children, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  104108. child = t1[_i];
  104109. child._node$_indexInParent = child._node$_parent = null;
  104110. }
  104111. B.JSArray_methods.clear$0(t1);
  104112. },
  104113. $isCssParentNode0: 1,
  104114. get$children(receiver) {
  104115. return this.children;
  104116. }
  104117. };
  104118. A.NodePackageImporter0.prototype = {
  104119. isNonCanonicalScheme$1(scheme) {
  104120. return scheme === "pkg";
  104121. },
  104122. canonicalize$1(_, url) {
  104123. 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;
  104124. if (url.get$scheme() === "file")
  104125. return $.$get$FilesystemImporter_cwd0().canonicalize$1(0, url);
  104126. if (url.get$scheme() !== "pkg")
  104127. return _null;
  104128. if (url.get$hasAuthority())
  104129. throw A.wrapException(string$.A_pkg_h);
  104130. else {
  104131. t1 = $.$get$url();
  104132. t2 = t1.style;
  104133. if (t2.rootLength$1(url.get$path(url)) > 0)
  104134. throw A.wrapException("A pkg: URL's path must not begin with /.");
  104135. else if (url.get$path(url).length === 0)
  104136. throw A.wrapException("A pkg: URL must not have an empty path.");
  104137. else if (url.get$hasQuery() || url.get$hasFragment())
  104138. throw A.wrapException(string$.A_pkg_q);
  104139. }
  104140. t3 = A.canonicalizeContext0();
  104141. t3._canonicalize_context$_wasContainingUrlAccessed = true;
  104142. t3 = t3._canonicalize_context$_containingUrl;
  104143. if ((t3 == null ? _null : t3.get$scheme()) === "file") {
  104144. t3 = A.canonicalizeContext0();
  104145. t3._canonicalize_context$_wasContainingUrlAccessed = true;
  104146. t3 = t3._canonicalize_context$_containingUrl;
  104147. t3.toString;
  104148. t4 = $.$get$context();
  104149. baseDirectory = t4.dirname$1(t4.style.pathFromUri$1(A._parseUri(t3)));
  104150. } else {
  104151. t3 = _this._node_package$__NodePackageImporter__entryPointDirectory_F;
  104152. t3 === $ && A.throwUnnamedLateFieldNI();
  104153. baseDirectory = t3;
  104154. }
  104155. packageName = null;
  104156. parts = t1.split$1(0, url.get$path(url));
  104157. t3 = B.JSArray_methods.removeAt$1(parts, 0);
  104158. t4 = $.$get$context();
  104159. t3.toString;
  104160. t5 = t4.style;
  104161. $name = t5.pathFromUri$1(A._parseUri(t3));
  104162. if (B.JSString_methods.startsWith$1($name, "@"))
  104163. $name = parts.length !== 0 ? t1.join$2(0, $name, B.JSArray_methods.removeAt$1(parts, 0)) : $name;
  104164. subpath = parts.length !== 0 ? t5.pathFromUri$1(A._parseUri(t1.joinAll$1(parts))) : _null;
  104165. packageName = $name;
  104166. if (!J.startsWith$1$s(packageName, "."))
  104167. if (!J.contains$1$asx(packageName, "\\"))
  104168. if (!J.contains$1$asx(packageName, "%"))
  104169. t1 = J.startsWith$1$s(packageName, "@") && !J.contains$1$asx(packageName, t2.get$separator(t2));
  104170. else
  104171. t1 = true;
  104172. else
  104173. t1 = true;
  104174. else
  104175. t1 = true;
  104176. if (t1)
  104177. return _null;
  104178. packageRoot = _this._node_package$_resolvePackageRoot$2(packageName, baseDirectory);
  104179. if (packageRoot == null)
  104180. return _null;
  104181. jsonPath = A.join(packageRoot, "package.json", _null);
  104182. jsonString = A.readFile0(jsonPath);
  104183. packageManifest = null;
  104184. try {
  104185. packageManifest = type$.Map_String_dynamic._as(B.C_JsonCodec.decode$1(jsonString));
  104186. } catch (exception) {
  104187. e = A.unwrapException(exception);
  104188. t1 = A.S(jsonPath);
  104189. t2 = A.S(packageName);
  104190. t3 = A.S(e);
  104191. throw A.wrapException("Failed to parse " + t1 + ' for "pkg:' + t2 + '": ' + t3);
  104192. }
  104193. _1_0 = _this._node_package$_resolvePackageExports$4(packageRoot, subpath, packageManifest, packageName);
  104194. if (_1_0 != null)
  104195. if (B.Set_0.contains$1(0, A.ParsedPath_ParsedPath$parse(_1_0, t5)._splitExtension$1(1)[1]))
  104196. return t4.toUri$1(t4.canonicalize$1(0, _1_0));
  104197. else {
  104198. t1 = subpath == null ? "root" : subpath;
  104199. throw A.wrapException("The export for '" + t1 + "' in '" + A.S(packageName) + "' resolved to '" + _1_0 + string$.x27x2c_whi);
  104200. }
  104201. if (subpath == null) {
  104202. rootPath = _this._node_package$_resolvePackageRootValues$2(packageRoot, packageManifest);
  104203. return rootPath != null ? t4.toUri$1(t4.canonicalize$1(0, rootPath)) : _null;
  104204. }
  104205. subpathInRoot = A.join(packageRoot, subpath, _null);
  104206. return $.$get$FilesystemImporter_cwd0().canonicalize$1(0, t4.toUri$1(subpathInRoot));
  104207. },
  104208. load$1(_, url) {
  104209. return $.$get$FilesystemImporter_cwd0().load$1(0, url);
  104210. },
  104211. _node_package$_resolvePackageRoot$2(packageName, baseDirectory) {
  104212. var potentialPackage, t1;
  104213. for (; true;) {
  104214. potentialPackage = A.join(baseDirectory, "node_modules", packageName);
  104215. if (A.dirExists0(potentialPackage))
  104216. return potentialPackage;
  104217. t1 = $.$get$context();
  104218. if (t1.split$1(0, baseDirectory).length === 1)
  104219. return null;
  104220. baseDirectory = t1.dirname$1(baseDirectory);
  104221. }
  104222. },
  104223. _node_package$_resolvePackageRootValues$2(packageRoot, packageManifest) {
  104224. var t1, sassValue, _1_0, styleValue, _null = null,
  104225. _0_0 = packageManifest.$index(0, "sass");
  104226. if (typeof _0_0 == "string") {
  104227. t1 = B.Set_0.contains$1(0, A.ParsedPath_ParsedPath$parse(_0_0, $.$get$url().style)._splitExtension$1(1)[1]);
  104228. sassValue = _0_0;
  104229. } else {
  104230. sassValue = _null;
  104231. t1 = false;
  104232. }
  104233. if (t1)
  104234. return A.join(packageRoot, sassValue, _null);
  104235. else {
  104236. _1_0 = packageManifest.$index(0, "style");
  104237. if (typeof _1_0 == "string") {
  104238. t1 = B.Set_0.contains$1(0, A.ParsedPath_ParsedPath$parse(_1_0, $.$get$url().style)._splitExtension$1(1)[1]);
  104239. styleValue = _1_0;
  104240. } else {
  104241. styleValue = _null;
  104242. t1 = false;
  104243. }
  104244. if (t1)
  104245. return A.join(packageRoot, styleValue, _null);
  104246. }
  104247. return A.resolveImportPath0(A.join(packageRoot, "index", _null));
  104248. },
  104249. _node_package$_resolvePackageExports$4(packageRoot, subpath, packageManifest, packageName) {
  104250. var _0_0, _1_0, _this = this,
  104251. exports = packageManifest.$index(0, "exports");
  104252. if (exports == null)
  104253. return null;
  104254. _0_0 = _this._node_package$_nodePackageExportsResolve$5(packageRoot, _this._node_package$_exportsToCheck$1(subpath), exports, subpath, packageName);
  104255. if (_0_0 != null)
  104256. return _0_0;
  104257. if (subpath != null && A.ParsedPath_ParsedPath$parse(subpath, $.$get$url().style)._splitExtension$1(1)[1].length !== 0)
  104258. return null;
  104259. _1_0 = _this._node_package$_nodePackageExportsResolve$5(packageRoot, _this._node_package$_exportsToCheck$2$addIndex(subpath, true), exports, subpath, packageName);
  104260. if (_1_0 != null)
  104261. return _1_0;
  104262. return null;
  104263. },
  104264. _node_package$_nodePackageExportsResolve$5(packageRoot, subpathVariants, exports, subpath, packageName) {
  104265. var t1, matches, _1_1, path;
  104266. if (type$.Map_String_dynamic._is(exports) && J.any$1$ax(exports.get$keys(exports), new A.NodePackageImporter__nodePackageExportsResolve_closure3()) && J.any$1$ax(exports.get$keys(exports), new A.NodePackageImporter__nodePackageExportsResolve_closure4()))
  104267. throw A.wrapException("`exports` in " + packageName + string$.x20can_n + J.map$1$1$ax(J.get$keys$z(exports), new A.NodePackageImporter__nodePackageExportsResolve_closure5(), type$.String).join$1(0, ",") + " in " + A.join(packageRoot, "package.json", null) + ".");
  104268. t1 = A.IterableNullableExtension_whereNotNull(new A.MappedListIterable(subpathVariants, new A.NodePackageImporter__nodePackageExportsResolve_closure6(this, exports, packageRoot), A._arrayInstanceType(subpathVariants)._eval$1("MappedListIterable<1,String?>")), type$.String);
  104269. matches = A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E"));
  104270. $label0$1: {
  104271. _1_1 = matches.length;
  104272. if (_1_1 === 1) {
  104273. path = matches[0];
  104274. t1 = path;
  104275. break $label0$1;
  104276. }
  104277. if (_1_1 <= 0) {
  104278. t1 = null;
  104279. break $label0$1;
  104280. }
  104281. t1 = subpath == null ? "root" : subpath;
  104282. t1 = A.throwExpression(string$.Unable + t1 + " in " + packageName + " should be used. \n\nFound:\n" + B.JSArray_methods.join$1(matches, "\n"));
  104283. }
  104284. return t1;
  104285. },
  104286. _node_package$_compareExpansionKeys$2(keyA, keyB) {
  104287. var t1 = B.JSString_methods.contains$1(keyA, "*"),
  104288. baseLengthA = t1 ? B.JSString_methods.indexOf$1(keyA, "*") + 1 : keyA.length,
  104289. t2 = B.JSString_methods.contains$1(keyB, "*"),
  104290. baseLengthB = t2 ? B.JSString_methods.indexOf$1(keyB, "*") + 1 : keyB.length;
  104291. if (baseLengthA > baseLengthB)
  104292. return -1;
  104293. if (baseLengthB > baseLengthA)
  104294. return 1;
  104295. if (!t1)
  104296. return 1;
  104297. if (!t2)
  104298. return -1;
  104299. t1 = keyA.length;
  104300. t2 = keyB.length;
  104301. if (t1 > t2)
  104302. return -1;
  104303. if (t2 > t1)
  104304. return 1;
  104305. return 0;
  104306. },
  104307. _node_package$_packageTargetResolve$4(subpath, exports, packageRoot, patternMatch) {
  104308. var t2, string, path, map, key, value, _1_0, array, _2_0, _null = null,
  104309. t1 = typeof exports == "string";
  104310. if (t1) {
  104311. t2 = !B.JSString_methods.startsWith$1(exports, "./");
  104312. string = exports;
  104313. } else {
  104314. string = _null;
  104315. t2 = false;
  104316. }
  104317. if (t2)
  104318. throw A.wrapException("Export '" + A.S(string) + string$.x27x20must + packageRoot + "'.");
  104319. if (t1) {
  104320. t2 = patternMatch != null;
  104321. string = exports;
  104322. } else {
  104323. string = _null;
  104324. t2 = false;
  104325. }
  104326. if (t2) {
  104327. t1 = J.replaceFirst$2$s(string, "*", patternMatch);
  104328. t2 = $.$get$context();
  104329. path = t2.normalize$1(A.join(packageRoot, t2.style.pathFromUri$1(A._parseUri(t1)), _null));
  104330. return A.fileExists0(path) ? path : _null;
  104331. }
  104332. string = t1 ? exports : _null;
  104333. if (t1) {
  104334. t1 = $.$get$context();
  104335. string.toString;
  104336. return A.join(packageRoot, t1.style.pathFromUri$1(A._parseUri(string)), _null);
  104337. }
  104338. t1 = type$.Map_String_dynamic._is(exports);
  104339. map = t1 ? exports : _null;
  104340. if (t1) {
  104341. for (t1 = A.MapExtensions_get_pairs(map, type$.String, type$.dynamic), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  104342. t2 = t1.get$current(t1);
  104343. key = t2._0;
  104344. value = t2._1;
  104345. if (!B.Set_TnQrk.contains$1(0, key))
  104346. continue;
  104347. if (value == null)
  104348. continue;
  104349. _1_0 = this._node_package$_packageTargetResolve$4(subpath, value, packageRoot, patternMatch);
  104350. if (_1_0 != null)
  104351. return _1_0;
  104352. }
  104353. return _null;
  104354. }
  104355. if (type$.List_nullable_Object._is(exports) && J.get$length$asx(exports) <= 0)
  104356. return _null;
  104357. t1 = type$.List_dynamic._is(exports);
  104358. array = t1 ? exports : _null;
  104359. if (t1) {
  104360. for (t1 = J.get$iterator$ax(array); t1.moveNext$0();) {
  104361. value = t1.get$current(t1);
  104362. if (value == null)
  104363. continue;
  104364. _2_0 = this._node_package$_packageTargetResolve$4(subpath, value, packageRoot, patternMatch);
  104365. if (_2_0 != null)
  104366. return _2_0;
  104367. }
  104368. return _null;
  104369. }
  104370. throw A.wrapException("Invalid 'exports' value " + A.S(exports) + " in " + A.join(packageRoot, "package.json", _null) + ".");
  104371. },
  104372. _node_package$_packageTargetResolve$3(subpath, exports, packageRoot) {
  104373. return this._node_package$_packageTargetResolve$4(subpath, exports, packageRoot, null);
  104374. },
  104375. _node_package$_getMainExport$1(exports) {
  104376. var t1, t2, map, _0_4, $export;
  104377. $label0$0: {
  104378. if (typeof exports == "string") {
  104379. t1 = exports;
  104380. break $label0$0;
  104381. }
  104382. if (type$.List_String._is(exports)) {
  104383. t1 = exports;
  104384. break $label0$0;
  104385. }
  104386. t1 = type$.Map_String_dynamic._is(exports);
  104387. if (t1) {
  104388. t2 = !J.any$1$ax(exports.get$keys(exports), new A.NodePackageImporter__getMainExport_closure0());
  104389. map = exports;
  104390. } else {
  104391. map = null;
  104392. t2 = false;
  104393. }
  104394. if (t2) {
  104395. t1 = map;
  104396. break $label0$0;
  104397. }
  104398. if (t1) {
  104399. _0_4 = exports.$index(0, ".");
  104400. if (_0_4 == null)
  104401. t2 = exports.containsKey$1(".");
  104402. else
  104403. t2 = true;
  104404. if (t2)
  104405. t2 = _0_4 != null;
  104406. else
  104407. t2 = false;
  104408. } else {
  104409. _0_4 = null;
  104410. t2 = false;
  104411. }
  104412. if (t2) {
  104413. $export = t1 ? _0_4 : J.$index$asx(exports, ".");
  104414. t1 = $export;
  104415. break $label0$0;
  104416. }
  104417. t1 = null;
  104418. break $label0$0;
  104419. }
  104420. return t1;
  104421. },
  104422. _node_package$_exportsToCheck$2$addIndex(subpath, addIndex) {
  104423. var basename, dirname, t3, t4, _i, path,
  104424. t1 = type$.JSArray_String,
  104425. paths = A._setArrayType([], t1),
  104426. t2 = subpath == null;
  104427. if (t2 && addIndex)
  104428. subpath = "index";
  104429. else if (!t2 && addIndex)
  104430. subpath = A.join(subpath, "index", null);
  104431. if (subpath == null)
  104432. return A._setArrayType([null], type$.JSArray_nullable_String);
  104433. if (B.Set_0.contains$1(0, A.ParsedPath_ParsedPath$parse(subpath, $.$get$url().style)._splitExtension$1(1)[1]))
  104434. paths.push(subpath);
  104435. else
  104436. B.JSArray_methods.addAll$1(paths, A._setArrayType([subpath, subpath + ".scss", subpath + ".sass", subpath + ".css"], t1));
  104437. t1 = $.$get$context();
  104438. t2 = t1.style;
  104439. basename = A.ParsedPath_ParsedPath$parse(subpath, t2).get$basename();
  104440. dirname = t1.dirname$1(subpath);
  104441. if (B.JSString_methods.startsWith$1(basename, "_"))
  104442. return paths;
  104443. t1 = A.List_List$of(paths, true, type$.nullable_String);
  104444. for (t3 = paths.length, t4 = dirname === ".", _i = 0; _i < paths.length; paths.length === t3 || (0, A.throwConcurrentModificationError)(paths), ++_i) {
  104445. path = paths[_i];
  104446. if (t4)
  104447. t1.push("_" + A.ParsedPath_ParsedPath$parse(path, t2).get$basename());
  104448. else
  104449. t1.push(A.join(dirname, "_" + A.ParsedPath_ParsedPath$parse(path, t2).get$basename(), null));
  104450. }
  104451. return t1;
  104452. },
  104453. _node_package$_exportsToCheck$1(subpath) {
  104454. return this._node_package$_exportsToCheck$2$addIndex(subpath, false);
  104455. }
  104456. };
  104457. A.NodePackageImporter__nodePackageExportsResolve_closure3.prototype = {
  104458. call$1(key) {
  104459. return B.JSString_methods.startsWith$1(key, ".");
  104460. },
  104461. $signature: 4
  104462. };
  104463. A.NodePackageImporter__nodePackageExportsResolve_closure4.prototype = {
  104464. call$1(key) {
  104465. return !B.JSString_methods.startsWith$1(key, ".");
  104466. },
  104467. $signature: 4
  104468. };
  104469. A.NodePackageImporter__nodePackageExportsResolve_closure5.prototype = {
  104470. call$1(key) {
  104471. return '"' + key + '"';
  104472. },
  104473. $signature: 5
  104474. };
  104475. A.NodePackageImporter__nodePackageExportsResolve_closure6.prototype = {
  104476. call$1(variant) {
  104477. var t1, matchKey, t2, t3, t4, t5, t6, _i, expansionKey, _0_0, t7, patternBase, patternTrailer, t8, target, _this = this, _null = null;
  104478. if (variant == null) {
  104479. t1 = _this.$this;
  104480. return A.NullableExtension_andThen(t1._node_package$_getMainExport$1(_this.exports), new A.NodePackageImporter__nodePackageExportsResolve__closure1(t1, variant, _this.packageRoot));
  104481. } else {
  104482. t1 = _this.exports;
  104483. if (!type$.Map_String_dynamic._is(t1) || J.every$1$ax(t1.get$keys(t1), new A.NodePackageImporter__nodePackageExportsResolve__closure2()))
  104484. return _null;
  104485. }
  104486. matchKey = "./" + $.$get$context().toUri$1(variant).toString$0(0);
  104487. if (t1.containsKey$1(matchKey) && J.$index$asx(t1, matchKey) != null && !B.JSString_methods.contains$1(matchKey, "*")) {
  104488. t1 = J.$index$asx(t1, matchKey);
  104489. if (t1 == null)
  104490. t1 = type$.Object._as(t1);
  104491. return _this.$this._node_package$_packageTargetResolve$3(matchKey, t1, _this.packageRoot);
  104492. }
  104493. t2 = A._setArrayType([], type$.JSArray_String);
  104494. for (t3 = J.getInterceptor$z(t1), t4 = J.get$iterator$ax(t3.get$keys(t1)); t4.moveNext$0();) {
  104495. t5 = t4.get$current(t4);
  104496. if (B.JSString_methods.allMatches$1("*", t5).get$length(0) === 1)
  104497. t2.push(t5);
  104498. }
  104499. t4 = _this.$this;
  104500. B.JSArray_methods.sort$1(t2, t4.get$_node_package$_compareExpansionKeys());
  104501. for (t5 = t2.length, t6 = matchKey.length, _i = 0; _i < t2.length; t2.length === t5 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  104502. expansionKey = t2[_i];
  104503. _0_0 = expansionKey.split("*");
  104504. t7 = _0_0.length === 2;
  104505. if (t7) {
  104506. patternBase = _0_0[0];
  104507. patternTrailer = _0_0[1];
  104508. patternTrailer = patternTrailer;
  104509. } else {
  104510. patternTrailer = _null;
  104511. patternBase = patternTrailer;
  104512. }
  104513. if (!t7)
  104514. throw A.wrapException(A.StateError$("Pattern matching error"));
  104515. if (!B.JSString_methods.startsWith$1(matchKey, patternBase))
  104516. continue;
  104517. if (matchKey === patternBase)
  104518. continue;
  104519. t7 = patternTrailer.length;
  104520. if (t7 !== 0)
  104521. t8 = B.JSString_methods.endsWith$1(matchKey, patternTrailer) && t6 >= expansionKey.length;
  104522. else
  104523. t8 = true;
  104524. if (t8) {
  104525. target = t3.$index(t1, expansionKey);
  104526. if (target == null)
  104527. continue;
  104528. return t4._node_package$_packageTargetResolve$4(variant, target, _this.packageRoot, B.JSString_methods.substring$2(matchKey, patternBase.length, t6 - t7));
  104529. }
  104530. }
  104531. return _null;
  104532. },
  104533. $signature: 144
  104534. };
  104535. A.NodePackageImporter__nodePackageExportsResolve__closure1.prototype = {
  104536. call$1(mainExport) {
  104537. return this.$this._node_package$_packageTargetResolve$3(this.variant, mainExport, this.packageRoot);
  104538. },
  104539. $signature: 145
  104540. };
  104541. A.NodePackageImporter__nodePackageExportsResolve__closure2.prototype = {
  104542. call$1(key) {
  104543. return !B.JSString_methods.startsWith$1(key, ".");
  104544. },
  104545. $signature: 4
  104546. };
  104547. A.NodePackageImporter__getMainExport_closure0.prototype = {
  104548. call$1(key) {
  104549. return B.JSString_methods.startsWith$1(key, ".");
  104550. },
  104551. $signature: 4
  104552. };
  104553. A.NullExpression0.prototype = {
  104554. accept$1$1(visitor) {
  104555. return visitor.visitNullExpression$1(this);
  104556. },
  104557. accept$1(visitor) {
  104558. return this.accept$1$1(visitor, type$.dynamic);
  104559. },
  104560. toString$0(_) {
  104561. return "null";
  104562. },
  104563. $isExpression0: 1,
  104564. $isAstNode0: 1,
  104565. get$span(receiver) {
  104566. return this.span;
  104567. }
  104568. };
  104569. A.legacyNullClass_closure.prototype = {
  104570. call$0() {
  104571. var t1 = type$.JSClass,
  104572. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.types.Null", new A.legacyNullClass__closure()));
  104573. jsClass.NULL = B.C__SassNull0;
  104574. A.JSClassExtension_injectSuperclass(t1._as(B.C__SassNull0.constructor), jsClass);
  104575. return jsClass;
  104576. },
  104577. $signature: 13
  104578. };
  104579. A.legacyNullClass__closure.prototype = {
  104580. call$2(_, __) {
  104581. throw A.wrapException("new sass.types.Null() isn't allowed. Use sass.types.Null.NULL instead.");
  104582. },
  104583. call$1(_) {
  104584. return this.call$2(_, null);
  104585. },
  104586. "call*": "call$2",
  104587. $requiredArgCount: 1,
  104588. $defaultValues() {
  104589. return [null];
  104590. },
  104591. $signature: 213
  104592. };
  104593. A._SassNull0.prototype = {
  104594. get$isTruthy() {
  104595. return false;
  104596. },
  104597. get$isBlank() {
  104598. return true;
  104599. },
  104600. get$realNull() {
  104601. return null;
  104602. },
  104603. accept$1$1(visitor) {
  104604. if (visitor._serialize0$_inspect)
  104605. visitor._serialize0$_buffer.write$1(0, "null");
  104606. return null;
  104607. },
  104608. accept$1(visitor) {
  104609. return this.accept$1$1(visitor, type$.dynamic);
  104610. },
  104611. unaryNot$0() {
  104612. return B.SassBoolean_true0;
  104613. }
  104614. };
  104615. A.NumberExpression0.prototype = {
  104616. accept$1$1(visitor) {
  104617. return visitor.visitNumberExpression$1(this);
  104618. },
  104619. accept$1(visitor) {
  104620. return this.accept$1$1(visitor, type$.dynamic);
  104621. },
  104622. toString$0(_) {
  104623. return A.serializeValue0(A.SassNumber_SassNumber0(this.value, this.unit), true, true);
  104624. },
  104625. $isExpression0: 1,
  104626. $isAstNode0: 1,
  104627. get$span(receiver) {
  104628. return this.span;
  104629. }
  104630. };
  104631. A.numberClass_closure.prototype = {
  104632. call$0() {
  104633. var t1 = type$.JSClass,
  104634. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassNumber", new A.numberClass__closure())),
  104635. t2 = type$.String,
  104636. t3 = type$.Function;
  104637. 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));
  104638. 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));
  104639. A.JSClassExtension_injectSuperclass(t1._as(self.Object.getPrototypeOf(J.get$$prototype$x(t1._as(A.SassNumber_SassNumber0(0, null).constructor))).constructor), jsClass);
  104640. return jsClass;
  104641. },
  104642. $signature: 13
  104643. };
  104644. A.numberClass__closure.prototype = {
  104645. call$3($self, value, unitOrOptions) {
  104646. var t1, t2, _null = null;
  104647. if (typeof unitOrOptions == "string")
  104648. return A.SassNumber_SassNumber0(value, unitOrOptions);
  104649. type$.nullable__ConstructorOptions_2._as(unitOrOptions);
  104650. t1 = unitOrOptions == null;
  104651. if (t1)
  104652. t2 = _null;
  104653. else {
  104654. t2 = A.NullableExtension_andThen0(J.get$numeratorUnits$x(unitOrOptions), A.immutable__jsToDartList$closure());
  104655. t2 = t2 == null ? _null : J.cast$1$0$ax(t2, type$.String);
  104656. }
  104657. if (t1)
  104658. t1 = _null;
  104659. else {
  104660. t1 = A.NullableExtension_andThen0(J.get$denominatorUnits$x(unitOrOptions), A.immutable__jsToDartList$closure());
  104661. t1 = t1 == null ? _null : J.cast$1$0$ax(t1, type$.String);
  104662. }
  104663. return A.SassNumber_SassNumber$withUnits0(value, t1, t2);
  104664. },
  104665. call$2($self, value) {
  104666. return this.call$3($self, value, null);
  104667. },
  104668. "call*": "call$3",
  104669. $requiredArgCount: 2,
  104670. $defaultValues() {
  104671. return [null];
  104672. },
  104673. $signature: 505
  104674. };
  104675. A.numberClass__closure0.prototype = {
  104676. call$1($self) {
  104677. return $self._number1$_value;
  104678. },
  104679. $signature: 506
  104680. };
  104681. A.numberClass__closure1.prototype = {
  104682. call$1($self) {
  104683. return A.fuzzyIsInt($self._number1$_value);
  104684. },
  104685. $signature: 233
  104686. };
  104687. A.numberClass__closure2.prototype = {
  104688. call$1($self) {
  104689. return A.fuzzyAsInt0($self._number1$_value);
  104690. },
  104691. $signature: 508
  104692. };
  104693. A.numberClass__closure3.prototype = {
  104694. call$1($self) {
  104695. return new self.immutable.List($self.get$numeratorUnits($self));
  104696. },
  104697. $signature: 224
  104698. };
  104699. A.numberClass__closure4.prototype = {
  104700. call$1($self) {
  104701. return new self.immutable.List($self.get$denominatorUnits($self));
  104702. },
  104703. $signature: 224
  104704. };
  104705. A.numberClass__closure5.prototype = {
  104706. call$1($self) {
  104707. return $self.get$hasUnits();
  104708. },
  104709. $signature: 233
  104710. };
  104711. A.numberClass__closure6.prototype = {
  104712. call$2($self, $name) {
  104713. return $self.assertInt$1($name);
  104714. },
  104715. call$1($self) {
  104716. return this.call$2($self, null);
  104717. },
  104718. "call*": "call$2",
  104719. $requiredArgCount: 1,
  104720. $defaultValues() {
  104721. return [null];
  104722. },
  104723. $signature: 510
  104724. };
  104725. A.numberClass__closure7.prototype = {
  104726. call$4($self, min, max, $name) {
  104727. return $self.valueInRange$3(min, max, $name);
  104728. },
  104729. call$3($self, min, max) {
  104730. return this.call$4($self, min, max, null);
  104731. },
  104732. "call*": "call$4",
  104733. $requiredArgCount: 3,
  104734. $defaultValues() {
  104735. return [null];
  104736. },
  104737. $signature: 511
  104738. };
  104739. A.numberClass__closure8.prototype = {
  104740. call$2($self, $name) {
  104741. $self.assertNoUnits$1($name);
  104742. return $self;
  104743. },
  104744. call$1($self) {
  104745. return this.call$2($self, null);
  104746. },
  104747. "call*": "call$2",
  104748. $requiredArgCount: 1,
  104749. $defaultValues() {
  104750. return [null];
  104751. },
  104752. $signature: 512
  104753. };
  104754. A.numberClass__closure9.prototype = {
  104755. call$3($self, unit, $name) {
  104756. $self.assertUnit$2(unit, $name);
  104757. return $self;
  104758. },
  104759. call$2($self, unit) {
  104760. return this.call$3($self, unit, null);
  104761. },
  104762. "call*": "call$3",
  104763. $requiredArgCount: 2,
  104764. $defaultValues() {
  104765. return [null];
  104766. },
  104767. $signature: 513
  104768. };
  104769. A.numberClass__closure10.prototype = {
  104770. call$2($self, unit) {
  104771. return $self.hasUnit$1(unit);
  104772. },
  104773. $signature: 223
  104774. };
  104775. A.numberClass__closure11.prototype = {
  104776. call$2($self, unit) {
  104777. return $self.get$hasUnits() && $self.compatibleWithUnit$1(unit);
  104778. },
  104779. $signature: 223
  104780. };
  104781. A.numberClass__closure12.prototype = {
  104782. call$4($self, numeratorUnits, denominatorUnits, $name) {
  104783. var t1 = self.immutable.isOrderedMap(numeratorUnits) ? J.toArray$0$x(type$.ImmutableList._as(numeratorUnits)) : type$.List_dynamic._as(numeratorUnits),
  104784. t2 = type$.String;
  104785. t1 = J.cast$1$0$ax(t1, t2);
  104786. t2 = J.cast$1$0$ax(self.immutable.isOrderedMap(denominatorUnits) ? J.toArray$0$x(type$.ImmutableList._as(denominatorUnits)) : type$.List_dynamic._as(denominatorUnits), t2);
  104787. return A.SassNumber_SassNumber$withUnits0($self._number1$_coerceOrConvertValue$4$coerceUnitless$name(t1, t2, false, $name), t2, t1);
  104788. },
  104789. call$3($self, numeratorUnits, denominatorUnits) {
  104790. return this.call$4($self, numeratorUnits, denominatorUnits, null);
  104791. },
  104792. "call*": "call$4",
  104793. $requiredArgCount: 3,
  104794. $defaultValues() {
  104795. return [null];
  104796. },
  104797. $signature: 222
  104798. };
  104799. A.numberClass__closure13.prototype = {
  104800. call$4($self, other, $name, otherName) {
  104801. return $self.convertToMatch$3(other, $name, otherName);
  104802. },
  104803. call$2($self, other) {
  104804. return this.call$4($self, other, null, null);
  104805. },
  104806. call$3($self, other, $name) {
  104807. return this.call$4($self, other, $name, null);
  104808. },
  104809. "call*": "call$4",
  104810. $requiredArgCount: 2,
  104811. $defaultValues() {
  104812. return [null, null];
  104813. },
  104814. $signature: 215
  104815. };
  104816. A.numberClass__closure14.prototype = {
  104817. call$4($self, numeratorUnits, denominatorUnits, $name) {
  104818. var t1 = self.immutable.isOrderedMap(numeratorUnits) ? J.toArray$0$x(type$.ImmutableList._as(numeratorUnits)) : type$.List_dynamic._as(numeratorUnits),
  104819. t2 = type$.String;
  104820. t1 = J.cast$1$0$ax(t1, t2);
  104821. 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);
  104822. },
  104823. call$3($self, numeratorUnits, denominatorUnits) {
  104824. return this.call$4($self, numeratorUnits, denominatorUnits, null);
  104825. },
  104826. "call*": "call$4",
  104827. $requiredArgCount: 3,
  104828. $defaultValues() {
  104829. return [null];
  104830. },
  104831. $signature: 188
  104832. };
  104833. A.numberClass__closure15.prototype = {
  104834. call$4($self, other, $name, otherName) {
  104835. return $self.convertValueToMatch$3(other, $name, otherName);
  104836. },
  104837. call$2($self, other) {
  104838. return this.call$4($self, other, null, null);
  104839. },
  104840. call$3($self, other, $name) {
  104841. return this.call$4($self, other, $name, null);
  104842. },
  104843. "call*": "call$4",
  104844. $requiredArgCount: 2,
  104845. $defaultValues() {
  104846. return [null, null];
  104847. },
  104848. $signature: 204
  104849. };
  104850. A.numberClass__closure16.prototype = {
  104851. call$4($self, numeratorUnits, denominatorUnits, $name) {
  104852. var t1 = self.immutable.isOrderedMap(numeratorUnits) ? J.toArray$0$x(type$.ImmutableList._as(numeratorUnits)) : type$.List_dynamic._as(numeratorUnits),
  104853. t2 = type$.String;
  104854. t1 = J.cast$1$0$ax(t1, t2);
  104855. 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);
  104856. },
  104857. call$3($self, numeratorUnits, denominatorUnits) {
  104858. return this.call$4($self, numeratorUnits, denominatorUnits, null);
  104859. },
  104860. "call*": "call$4",
  104861. $requiredArgCount: 3,
  104862. $defaultValues() {
  104863. return [null];
  104864. },
  104865. $signature: 222
  104866. };
  104867. A.numberClass__closure17.prototype = {
  104868. call$4($self, other, $name, otherName) {
  104869. return $self.coerceToMatch$3(other, $name, otherName);
  104870. },
  104871. call$2($self, other) {
  104872. return this.call$4($self, other, null, null);
  104873. },
  104874. call$3($self, other, $name) {
  104875. return this.call$4($self, other, $name, null);
  104876. },
  104877. "call*": "call$4",
  104878. $requiredArgCount: 2,
  104879. $defaultValues() {
  104880. return [null, null];
  104881. },
  104882. $signature: 215
  104883. };
  104884. A.numberClass__closure18.prototype = {
  104885. call$4($self, numeratorUnits, denominatorUnits, $name) {
  104886. var t1 = self.immutable.isOrderedMap(numeratorUnits) ? J.toArray$0$x(type$.ImmutableList._as(numeratorUnits)) : type$.List_dynamic._as(numeratorUnits),
  104887. t2 = type$.String;
  104888. t1 = J.cast$1$0$ax(t1, t2);
  104889. 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);
  104890. },
  104891. call$3($self, numeratorUnits, denominatorUnits) {
  104892. return this.call$4($self, numeratorUnits, denominatorUnits, null);
  104893. },
  104894. "call*": "call$4",
  104895. $requiredArgCount: 3,
  104896. $defaultValues() {
  104897. return [null];
  104898. },
  104899. $signature: 188
  104900. };
  104901. A.numberClass__closure19.prototype = {
  104902. call$4($self, other, $name, otherName) {
  104903. return $self.coerceValueToMatch$3(other, $name, otherName);
  104904. },
  104905. call$2($self, other) {
  104906. return this.call$4($self, other, null, null);
  104907. },
  104908. call$3($self, other, $name) {
  104909. return this.call$4($self, other, $name, null);
  104910. },
  104911. "call*": "call$4",
  104912. $requiredArgCount: 2,
  104913. $defaultValues() {
  104914. return [null, null];
  104915. },
  104916. $signature: 204
  104917. };
  104918. A._ConstructorOptions0.prototype = {};
  104919. A._NodeSassNumber.prototype = {};
  104920. A.legacyNumberClass_closure.prototype = {
  104921. call$4(thisArg, value, unit, dartValue) {
  104922. var t1;
  104923. if (dartValue == null) {
  104924. value.toString;
  104925. t1 = A._parseNumber(value, unit);
  104926. } else
  104927. t1 = dartValue;
  104928. J.set$dartValue$x(thisArg, t1);
  104929. },
  104930. call$2(thisArg, value) {
  104931. return this.call$4(thisArg, value, null, null);
  104932. },
  104933. call$3(thisArg, value, unit) {
  104934. return this.call$4(thisArg, value, unit, null);
  104935. },
  104936. "call*": "call$4",
  104937. $requiredArgCount: 2,
  104938. $defaultValues() {
  104939. return [null, null];
  104940. },
  104941. $signature: 519
  104942. };
  104943. A.legacyNumberClass_closure0.prototype = {
  104944. call$1(thisArg) {
  104945. return J.get$dartValue$x(thisArg)._number1$_value;
  104946. },
  104947. $signature: 520
  104948. };
  104949. A.legacyNumberClass_closure1.prototype = {
  104950. call$2(thisArg, value) {
  104951. var t1 = J.getInterceptor$x(thisArg),
  104952. t2 = J.get$numeratorUnits$x(t1.get$dartValue(thisArg));
  104953. t1.set$dartValue(thisArg, A.SassNumber_SassNumber$withUnits0(value, J.get$denominatorUnits$x(t1.get$dartValue(thisArg)), t2));
  104954. },
  104955. $signature: 521
  104956. };
  104957. A.legacyNumberClass_closure2.prototype = {
  104958. call$1(thisArg) {
  104959. var t1 = J.getInterceptor$x(thisArg),
  104960. t2 = B.JSArray_methods.join$1(J.get$numeratorUnits$x(t1.get$dartValue(thisArg)), "*"),
  104961. t3 = J.get$denominatorUnits$x(t1.get$dartValue(thisArg)).length === 0 ? "" : "/";
  104962. return t2 + t3 + B.JSArray_methods.join$1(J.get$denominatorUnits$x(t1.get$dartValue(thisArg)), "*");
  104963. },
  104964. $signature: 522
  104965. };
  104966. A.legacyNumberClass_closure3.prototype = {
  104967. call$2(thisArg, unit) {
  104968. var t1 = J.getInterceptor$x(thisArg);
  104969. t1.set$dartValue(thisArg, A._parseNumber(t1.get$dartValue(thisArg)._number1$_value, unit));
  104970. },
  104971. $signature: 523
  104972. };
  104973. A._parseNumber_closure.prototype = {
  104974. call$1(unit) {
  104975. return unit.length === 0;
  104976. },
  104977. $signature: 4
  104978. };
  104979. A._parseNumber_closure0.prototype = {
  104980. call$1(unit) {
  104981. return unit.length === 0;
  104982. },
  104983. $signature: 4
  104984. };
  104985. A.SassNumber0.prototype = {
  104986. get$unitString() {
  104987. var _this = this;
  104988. return _this.get$hasUnits() ? _this._number1$_unitString$2(_this.get$numeratorUnits(_this), _this.get$denominatorUnits(_this)) : "";
  104989. },
  104990. accept$1$1(visitor) {
  104991. return visitor.visitNumber$1(this);
  104992. },
  104993. accept$1(visitor) {
  104994. return this.accept$1$1(visitor, type$.dynamic);
  104995. },
  104996. withoutSlash$0() {
  104997. var _this = this;
  104998. return _this.asSlash == null ? _this : _this.withValue$1(_this._number1$_value);
  104999. },
  105000. assertNumber$1($name) {
  105001. return this;
  105002. },
  105003. assertNumber$0() {
  105004. return this.assertNumber$1(null);
  105005. },
  105006. assertInt$1($name) {
  105007. var _0_0 = A.fuzzyAsInt0(this._number1$_value);
  105008. if (_0_0 != null)
  105009. return _0_0;
  105010. throw A.wrapException(A.SassScriptException$0(this.toString$0(0) + " is not an int.", $name));
  105011. },
  105012. assertInt$0() {
  105013. return this.assertInt$1(null);
  105014. },
  105015. valueInRange$3(min, max, $name) {
  105016. var _this = this,
  105017. _0_0 = A.fuzzyCheckRange0(_this._number1$_value, min, max);
  105018. if (_0_0 != null)
  105019. return _0_0;
  105020. 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));
  105021. },
  105022. valueInRangeWithUnit$4(min, max, $name, unit) {
  105023. var _0_0 = A.fuzzyCheckRange0(this._number1$_value, min, max);
  105024. if (_0_0 != null)
  105025. return _0_0;
  105026. throw A.wrapException(A.SassScriptException$0("Expected " + this.toString$0(0) + " to be within " + min + unit + " and " + max + unit + ".", $name));
  105027. },
  105028. hasCompatibleUnits$1(other) {
  105029. var _this = this;
  105030. if (_this.get$numeratorUnits(_this).length !== other.get$numeratorUnits(other).length)
  105031. return false;
  105032. if (_this.get$denominatorUnits(_this).length !== other.get$denominatorUnits(other).length)
  105033. return false;
  105034. return _this.isComparableTo$1(other);
  105035. },
  105036. assertUnit$2(unit, $name) {
  105037. if (this.hasUnit$1(unit))
  105038. return;
  105039. throw A.wrapException(A.SassScriptException$0("Expected " + this.toString$0(0) + ' to have unit "' + unit + '".', $name));
  105040. },
  105041. assertNoUnits$1($name) {
  105042. if (!this.get$hasUnits())
  105043. return;
  105044. throw A.wrapException(A.SassScriptException$0("Expected " + this.toString$0(0) + " to have no units.", $name));
  105045. },
  105046. assertNoUnits$0() {
  105047. return this.assertNoUnits$1(null);
  105048. },
  105049. convertToMatch$3(other, $name, otherName) {
  105050. var t1 = this.convertValueToMatch$3(other, $name, otherName),
  105051. t2 = other.get$numeratorUnits(other);
  105052. return A.SassNumber_SassNumber$withUnits0(t1, other.get$denominatorUnits(other), t2);
  105053. },
  105054. convertValueToMatch$3(other, $name, otherName) {
  105055. return this._number1$_coerceOrConvertValue$6$coerceUnitless$name$other$otherName(other.get$numeratorUnits(other), other.get$denominatorUnits(other), false, $name, other, otherName);
  105056. },
  105057. convertValueToMatch$1(other) {
  105058. return this.convertValueToMatch$3(other, null, null);
  105059. },
  105060. coerce$3(newNumerators, newDenominators, $name) {
  105061. return A.SassNumber_SassNumber$withUnits0(this.coerceValue$3(newNumerators, newDenominators, $name), newDenominators, newNumerators);
  105062. },
  105063. coerce$2(newNumerators, newDenominators) {
  105064. return this.coerce$3(newNumerators, newDenominators, null);
  105065. },
  105066. coerceValue$3(newNumerators, newDenominators, $name) {
  105067. return this._number1$_coerceOrConvertValue$4$coerceUnitless$name(newNumerators, newDenominators, true, $name);
  105068. },
  105069. coerceValueToUnit$2(unit, $name) {
  105070. var t1 = type$.JSArray_String;
  105071. return this.coerceValue$3(A._setArrayType([unit], t1), A._setArrayType([], t1), $name);
  105072. },
  105073. coerceValueToUnit$1(unit) {
  105074. return this.coerceValueToUnit$2(unit, null);
  105075. },
  105076. coerceToMatch$3(other, $name, otherName) {
  105077. var t1 = this.coerceValueToMatch$3(other, $name, otherName),
  105078. t2 = other.get$numeratorUnits(other);
  105079. return A.SassNumber_SassNumber$withUnits0(t1, other.get$denominatorUnits(other), t2);
  105080. },
  105081. coerceValueToMatch$3(other, $name, otherName) {
  105082. return this._number1$_coerceOrConvertValue$6$coerceUnitless$name$other$otherName(other.get$numeratorUnits(other), other.get$denominatorUnits(other), true, $name, other, otherName);
  105083. },
  105084. coerceValueToMatch$1(other) {
  105085. return this.coerceValueToMatch$3(other, null, null);
  105086. },
  105087. _number1$_coerceOrConvertValue$6$coerceUnitless$name$other$otherName(newNumerators, newDenominators, coerceUnitless, $name, other, otherName) {
  105088. var t1, otherHasUnits, t2, compatibilityException, oldNumerators, oldDenominators, _this = this, _box_0 = {};
  105089. if (B.C_ListEquality.equals$2(0, _this.get$numeratorUnits(_this), newNumerators) && B.C_ListEquality.equals$2(0, _this.get$denominatorUnits(_this), newDenominators))
  105090. return _this._number1$_value;
  105091. t1 = J.getInterceptor$asx(newNumerators);
  105092. otherHasUnits = t1.get$isNotEmpty(newNumerators) || J.get$isNotEmpty$asx(newDenominators);
  105093. if (coerceUnitless)
  105094. t2 = !_this.get$hasUnits() || !otherHasUnits;
  105095. else
  105096. t2 = false;
  105097. if (t2)
  105098. return _this._number1$_value;
  105099. compatibilityException = new A.SassNumber__coerceOrConvertValue_compatibilityException0(_this, other, otherName, otherHasUnits, $name, newNumerators, newDenominators);
  105100. _box_0.value = _this._number1$_value;
  105101. t2 = _this.get$numeratorUnits(_this);
  105102. oldNumerators = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
  105103. for (t1 = t1.get$iterator(newNumerators); t1.moveNext$0();)
  105104. A.removeFirstWhere0(oldNumerators, new A.SassNumber__coerceOrConvertValue_closure3(_box_0, t1.get$current(t1)), new A.SassNumber__coerceOrConvertValue_closure4(compatibilityException));
  105105. t1 = _this.get$denominatorUnits(_this);
  105106. oldDenominators = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
  105107. for (t1 = J.get$iterator$ax(newDenominators); t1.moveNext$0();)
  105108. A.removeFirstWhere0(oldDenominators, new A.SassNumber__coerceOrConvertValue_closure5(_box_0, t1.get$current(t1)), new A.SassNumber__coerceOrConvertValue_closure6(compatibilityException));
  105109. if (oldNumerators.length !== 0 || oldDenominators.length !== 0)
  105110. throw A.wrapException(compatibilityException.call$0());
  105111. return _box_0.value;
  105112. },
  105113. _number1$_coerceOrConvertValue$4$coerceUnitless$name(newNumerators, newDenominators, coerceUnitless, $name) {
  105114. return this._number1$_coerceOrConvertValue$6$coerceUnitless$name$other$otherName(newNumerators, newDenominators, coerceUnitless, $name, null, null);
  105115. },
  105116. isComparableTo$1(other) {
  105117. var exception;
  105118. if (!this.get$hasUnits() || !other.get$hasUnits())
  105119. return true;
  105120. try {
  105121. this.greaterThan$1(other);
  105122. return true;
  105123. } catch (exception) {
  105124. if (A.unwrapException(exception) instanceof A.SassScriptException0)
  105125. return false;
  105126. else
  105127. throw exception;
  105128. }
  105129. },
  105130. greaterThan$1(other) {
  105131. if (other instanceof A.SassNumber0)
  105132. return this._number1$_coerceUnits$2(other, A.number2__fuzzyGreaterThan$closure()) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  105133. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " > " + other.toString$0(0) + '".', null));
  105134. },
  105135. greaterThanOrEquals$1(other) {
  105136. if (other instanceof A.SassNumber0)
  105137. return this._number1$_coerceUnits$2(other, A.number2__fuzzyGreaterThanOrEquals$closure()) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  105138. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " >= " + other.toString$0(0) + '".', null));
  105139. },
  105140. lessThan$1(other) {
  105141. if (other instanceof A.SassNumber0)
  105142. return this._number1$_coerceUnits$2(other, A.number2__fuzzyLessThan$closure()) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  105143. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " < " + other.toString$0(0) + '".', null));
  105144. },
  105145. lessThanOrEquals$1(other) {
  105146. if (other instanceof A.SassNumber0)
  105147. return this._number1$_coerceUnits$2(other, A.number2__fuzzyLessThanOrEquals$closure()) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  105148. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " <= " + other.toString$0(0) + '".', null));
  105149. },
  105150. modulo$1(other) {
  105151. if (other instanceof A.SassNumber0)
  105152. return this.withValue$1(this._number1$_coerceUnits$2(other, A.number2__moduloLikeSass$closure()));
  105153. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " % " + other.toString$0(0) + '".', null));
  105154. },
  105155. plus$1(other) {
  105156. var _this = this;
  105157. if (other instanceof A.SassNumber0)
  105158. return _this.withValue$1(_this._number1$_coerceUnits$2(other, new A.SassNumber_plus_closure0()));
  105159. if (!(other instanceof A.SassColor0))
  105160. return _this.super$Value$plus0(other);
  105161. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + _this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  105162. },
  105163. minus$1(other) {
  105164. var _this = this;
  105165. if (other instanceof A.SassNumber0)
  105166. return _this.withValue$1(_this._number1$_coerceUnits$2(other, new A.SassNumber_minus_closure0()));
  105167. if (!(other instanceof A.SassColor0))
  105168. return _this.super$Value$minus0(other);
  105169. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + _this.toString$0(0) + " - " + other.toString$0(0) + '".', null));
  105170. },
  105171. times$1(other) {
  105172. var _this = this;
  105173. if (other instanceof A.SassNumber0) {
  105174. if (!other.get$hasUnits())
  105175. return _this.withValue$1(_this._number1$_value * other._number1$_value);
  105176. return _this.multiplyUnits$3(_this._number1$_value * other._number1$_value, other.get$numeratorUnits(other), other.get$denominatorUnits(other));
  105177. }
  105178. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + _this.toString$0(0) + " * " + other.toString$0(0) + '".', null));
  105179. },
  105180. dividedBy$1(other) {
  105181. var _this = this;
  105182. if (other instanceof A.SassNumber0) {
  105183. if (!other.get$hasUnits())
  105184. return _this.withValue$1(_this._number1$_value / other._number1$_value);
  105185. return _this.multiplyUnits$3(_this._number1$_value / other._number1$_value, other.get$denominatorUnits(other), other.get$numeratorUnits(other));
  105186. }
  105187. return _this.super$Value$dividedBy0(other);
  105188. },
  105189. unaryPlus$0() {
  105190. return this;
  105191. },
  105192. _number1$_coerceUnits$1$2(other, operation) {
  105193. var t1, exception;
  105194. try {
  105195. t1 = operation.call$2(this._number1$_value, other.coerceValueToMatch$1(this));
  105196. return t1;
  105197. } catch (exception) {
  105198. if (A.unwrapException(exception) instanceof A.SassScriptException0) {
  105199. this.coerceValueToMatch$1(other);
  105200. throw exception;
  105201. } else
  105202. throw exception;
  105203. }
  105204. },
  105205. _number1$_coerceUnits$2(other, operation) {
  105206. return this._number1$_coerceUnits$1$2(other, operation, type$.dynamic);
  105207. },
  105208. multiplyUnits$3(value, otherNumerators, otherDenominators) {
  105209. var t1, _0_1, _0_2, _0_3, _0_6, _0_7_isSet, _0_7, _0_9, t2, _0_9_isSet, denominators_case_0, _0_11_isSet, _0_11, _0_13_isSet, _0_10, _0_13, numerators_case_0, t4, t3, numerators_case_1, denominators_case_1, t0, newNumerators, mutableOtherDenominators, _i, numerator, mutableDenominatorUnits, _this = this, _null = null, _box_0 = {};
  105210. _box_0.value = value;
  105211. t1 = [_this.get$numeratorUnits(_this), _this.get$denominatorUnits(_this), otherNumerators, otherDenominators];
  105212. _0_1 = t1[0];
  105213. _0_2 = t1[1];
  105214. _0_3 = t1[2];
  105215. _0_6 = _0_3.length <= 0;
  105216. _0_7_isSet = _0_6;
  105217. if (_0_7_isSet) {
  105218. _0_7 = t1[3];
  105219. _0_9 = _0_7.length <= 0;
  105220. t2 = _0_9;
  105221. } else {
  105222. _0_7 = _null;
  105223. _0_9 = _0_7;
  105224. t2 = false;
  105225. }
  105226. _0_9_isSet = _0_7_isSet;
  105227. denominators_case_0 = _0_2;
  105228. _0_11_isSet = !t2;
  105229. if (_0_11_isSet) {
  105230. _0_11 = _0_1.length <= 0;
  105231. _0_13_isSet = _0_11;
  105232. _0_10 = _0_1;
  105233. if (_0_13_isSet) {
  105234. _0_13 = _0_2.length <= 0;
  105235. t2 = _0_13;
  105236. if (t2) {
  105237. if (_0_7_isSet)
  105238. denominators_case_0 = _0_7;
  105239. else {
  105240. _0_7 = t1[3];
  105241. denominators_case_0 = _0_7;
  105242. _0_7_isSet = true;
  105243. }
  105244. numerators_case_0 = _0_3;
  105245. } else
  105246. numerators_case_0 = _0_1;
  105247. } else {
  105248. numerators_case_0 = _0_1;
  105249. _0_13 = _null;
  105250. t2 = false;
  105251. }
  105252. _0_1 = _0_10;
  105253. } else {
  105254. numerators_case_0 = _0_1;
  105255. _0_13 = _null;
  105256. _0_11 = _0_13;
  105257. _0_13_isSet = false;
  105258. t2 = true;
  105259. }
  105260. if (t2) {
  105261. t4 = denominators_case_0;
  105262. t3 = numerators_case_0;
  105263. } else {
  105264. t4 = _null;
  105265. t3 = t4;
  105266. }
  105267. if (!t2) {
  105268. if (_0_11_isSet)
  105269. t2 = _0_11;
  105270. else {
  105271. _0_11 = _0_1.length <= 0;
  105272. t2 = _0_11;
  105273. }
  105274. if (t2) {
  105275. if (_0_9_isSet)
  105276. t2 = _0_9;
  105277. else {
  105278. if (_0_7_isSet)
  105279. t2 = _0_7;
  105280. else {
  105281. _0_7 = t1[3];
  105282. t2 = _0_7;
  105283. _0_7_isSet = true;
  105284. }
  105285. _0_9 = t2.length <= 0;
  105286. t2 = _0_9;
  105287. }
  105288. numerators_case_1 = _0_3;
  105289. denominators_case_1 = _0_2;
  105290. } else {
  105291. numerators_case_1 = _null;
  105292. denominators_case_1 = numerators_case_1;
  105293. t2 = false;
  105294. }
  105295. if (!t2) {
  105296. if (_0_13_isSet)
  105297. t2 = _0_13;
  105298. else {
  105299. _0_13 = _0_2.length <= 0;
  105300. t2 = _0_13;
  105301. }
  105302. if (t2) {
  105303. if (_0_6)
  105304. denominators_case_1 = _0_7_isSet ? _0_7 : t1[3];
  105305. t1 = _0_6;
  105306. } else
  105307. t1 = false;
  105308. numerators_case_1 = _0_1;
  105309. } else
  105310. t1 = true;
  105311. if (t1) {
  105312. t1 = !_this._number1$_areAnyConvertible$2(numerators_case_1, denominators_case_1);
  105313. if (t1) {
  105314. t3 = denominators_case_1;
  105315. t2 = numerators_case_1;
  105316. } else {
  105317. t2 = t3;
  105318. t3 = t4;
  105319. }
  105320. t0 = t3;
  105321. t3 = t1;
  105322. t1 = t2;
  105323. t2 = t0;
  105324. } else {
  105325. t2 = t4;
  105326. t1 = t3;
  105327. t3 = false;
  105328. }
  105329. } else {
  105330. t2 = t4;
  105331. t1 = t3;
  105332. t3 = true;
  105333. }
  105334. if (t3)
  105335. return A.SassNumber_SassNumber$withUnits0(value, t2, t1);
  105336. newNumerators = A._setArrayType([], type$.JSArray_String);
  105337. mutableOtherDenominators = A._setArrayType(otherDenominators.slice(0), A._arrayInstanceType(otherDenominators));
  105338. for (t1 = _this.get$numeratorUnits(_this), t2 = t1.length, _i = 0; _i < t2; ++_i) {
  105339. numerator = t1[_i];
  105340. A.removeFirstWhere0(mutableOtherDenominators, new A.SassNumber_multiplyUnits_closure3(_box_0, numerator), new A.SassNumber_multiplyUnits_closure4(newNumerators, numerator));
  105341. }
  105342. t1 = _this.get$denominatorUnits(_this);
  105343. mutableDenominatorUnits = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
  105344. for (t1 = otherNumerators.length, _i = 0; _i < t1; ++_i) {
  105345. numerator = otherNumerators[_i];
  105346. A.removeFirstWhere0(mutableDenominatorUnits, new A.SassNumber_multiplyUnits_closure5(_box_0, numerator), new A.SassNumber_multiplyUnits_closure6(newNumerators, numerator));
  105347. }
  105348. t1 = _box_0.value;
  105349. B.JSArray_methods.addAll$1(mutableDenominatorUnits, mutableOtherDenominators);
  105350. return A.SassNumber_SassNumber$withUnits0(t1, mutableDenominatorUnits, newNumerators);
  105351. },
  105352. _number1$_areAnyConvertible$2(units1, units2) {
  105353. return B.JSArray_methods.any$1(units1, new A.SassNumber__areAnyConvertible_closure0(units2));
  105354. },
  105355. _number1$_unitString$2(numerators, denominators) {
  105356. var _0_4, _0_6, t1, _0_7, _0_5, _null = null;
  105357. $label0$0: {
  105358. _0_4 = J.get$length$asx(numerators) <= 0;
  105359. if (_0_4) {
  105360. _0_6 = J.get$length$asx(denominators);
  105361. t1 = _0_6;
  105362. _0_7 = t1 <= 0;
  105363. t1 = _0_7;
  105364. _0_5 = denominators;
  105365. } else {
  105366. _0_5 = _null;
  105367. _0_6 = _0_5;
  105368. _0_7 = _0_6;
  105369. t1 = false;
  105370. }
  105371. if (t1) {
  105372. t1 = "no units";
  105373. break $label0$0;
  105374. }
  105375. if (_0_4)
  105376. t1 = _0_6 === 1;
  105377. else
  105378. t1 = false;
  105379. if (t1) {
  105380. t1 = J.$index$asx(_0_4 ? _0_5 : denominators, 0) + "^-1";
  105381. break $label0$0;
  105382. }
  105383. if (_0_4) {
  105384. t1 = "(" + J.join$1$ax(denominators, "*") + ")^-1";
  105385. break $label0$0;
  105386. }
  105387. _0_6 = J.get$length$asx(denominators);
  105388. t1 = _0_6;
  105389. _0_7 = t1 <= 0;
  105390. t1 = _0_7;
  105391. if (t1) {
  105392. t1 = J.join$1$ax(numerators, "*");
  105393. break $label0$0;
  105394. }
  105395. t1 = J.join$1$ax(numerators, "*") + "/" + J.join$1$ax(denominators, "*");
  105396. break $label0$0;
  105397. }
  105398. return t1;
  105399. },
  105400. $eq(_, other) {
  105401. var _this = this;
  105402. if (other == null)
  105403. return false;
  105404. if (!(other instanceof A.SassNumber0))
  105405. return false;
  105406. if (_this.get$numeratorUnits(_this).length !== other.get$numeratorUnits(other).length || _this.get$denominatorUnits(_this).length !== other.get$denominatorUnits(other).length)
  105407. return false;
  105408. if (!_this.get$hasUnits())
  105409. return A.fuzzyEquals0(_this._number1$_value, other._number1$_value);
  105410. 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))))
  105411. return false;
  105412. 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)));
  105413. },
  105414. get$hashCode(_) {
  105415. var _this = this,
  105416. t1 = _this.hashCache;
  105417. 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;
  105418. },
  105419. _number1$_canonicalizeUnitList$1(units) {
  105420. var type,
  105421. t1 = units.length;
  105422. if (t1 === 0)
  105423. return units;
  105424. if (t1 === 1) {
  105425. type = $.$get$_typesByUnit0().$index(0, B.JSArray_methods.get$first(units));
  105426. if (type == null)
  105427. t1 = units;
  105428. else {
  105429. t1 = B.Map_397RH.$index(0, type);
  105430. t1.toString;
  105431. t1 = A._setArrayType([B.JSArray_methods.get$first(t1)], type$.JSArray_String);
  105432. }
  105433. return t1;
  105434. }
  105435. t1 = A._arrayInstanceType(units)._eval$1("MappedListIterable<1,String>");
  105436. t1 = A.List_List$of(new A.MappedListIterable(units, new A.SassNumber__canonicalizeUnitList_closure0(), t1), true, t1._eval$1("ListIterable.E"));
  105437. B.JSArray_methods.sort$0(t1);
  105438. return t1;
  105439. },
  105440. _number1$_canonicalMultiplier$1(units) {
  105441. return B.JSArray_methods.fold$2(units, 1, new A.SassNumber__canonicalMultiplier_closure0(this));
  105442. },
  105443. canonicalMultiplierForUnit$1(unit) {
  105444. var t1,
  105445. innerMap = B.Map_gQqJO.$index(0, unit);
  105446. if (innerMap == null)
  105447. t1 = 1;
  105448. else {
  105449. t1 = innerMap.get$values(innerMap);
  105450. t1 = 1 / t1.get$first(t1);
  105451. }
  105452. return t1;
  105453. },
  105454. unitSuggestion$2($name, unit) {
  105455. var t2, t3, result, _this = this,
  105456. t1 = _this.get$denominatorUnits(_this);
  105457. t1 = new A.MappedListIterable(t1, new A.SassNumber_unitSuggestion_closure1(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
  105458. t2 = _this.get$numeratorUnits(_this);
  105459. t2 = new A.MappedListIterable(t2, new A.SassNumber_unitSuggestion_closure2(), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,String>")).join$0(0);
  105460. t3 = unit == null ? "" : " * 1" + unit;
  105461. result = "$" + $name + t1 + t2 + t3;
  105462. return _this.get$numeratorUnits(_this).length === 0 ? result : "calc(" + result + ")";
  105463. },
  105464. unitSuggestion$1($name) {
  105465. return this.unitSuggestion$2($name, null);
  105466. }
  105467. };
  105468. A.SassNumber__coerceOrConvertValue_compatibilityException0.prototype = {
  105469. call$0() {
  105470. var t2, t3, message, t4, type, unit, _this = this,
  105471. t1 = _this.other;
  105472. if (t1 != null) {
  105473. t2 = _this.$this;
  105474. t3 = t2.toString$0(0) + " and";
  105475. message = new A.StringBuffer(t3);
  105476. t4 = _this.otherName;
  105477. if (t4 != null)
  105478. t3 = message._contents = t3 + (" $" + t4 + ":");
  105479. t1 = t3 + (" " + t1.toString$0(0) + " have incompatible units");
  105480. message._contents = t1;
  105481. if (!t2.get$hasUnits() || !_this.otherHasUnits)
  105482. message._contents = t1 + " (one has units and the other doesn't)";
  105483. t1 = message.toString$0(0) + ".";
  105484. t2 = _this.name;
  105485. return new A.SassScriptException0(t2 == null ? t1 : "$" + t2 + ": " + t1);
  105486. } else if (!_this.otherHasUnits) {
  105487. t1 = "Expected " + _this.$this.toString$0(0) + " to have no units.";
  105488. t2 = _this.name;
  105489. return new A.SassScriptException0(t2 == null ? t1 : "$" + t2 + ": " + t1);
  105490. } else {
  105491. t1 = _this.newNumerators;
  105492. t2 = J.getInterceptor$asx(t1);
  105493. if (t2.get$length(t1) === 1 && J.get$isEmpty$asx(_this.newDenominators)) {
  105494. type = $.$get$_typesByUnit0().$index(0, t2.get$first(t1));
  105495. if (type != null) {
  105496. t1 = _this.$this.toString$0(0);
  105497. t2 = B.JSArray_methods.contains$1(A._setArrayType([97, 101, 105, 111, 117], type$.JSArray_int), type.charCodeAt(0)) ? "an " + type : "a " + type;
  105498. t3 = B.Map_397RH.$index(0, type);
  105499. t3.toString;
  105500. t3 = "Expected " + t1 + " to have " + t2 + " unit (" + B.JSArray_methods.join$1(t3, ", ") + ").";
  105501. t2 = _this.name;
  105502. return new A.SassScriptException0(t2 == null ? t3 : "$" + t2 + ": " + t3);
  105503. }
  105504. }
  105505. t3 = _this.newDenominators;
  105506. unit = A.pluralize0("unit", t2.get$length(t1) + J.get$length$asx(t3), null);
  105507. t2 = _this.$this;
  105508. t3 = "Expected " + t2.toString$0(0) + " to have " + unit + " " + t2._number1$_unitString$2(t1, t3) + ".";
  105509. t1 = _this.name;
  105510. return new A.SassScriptException0(t1 == null ? t3 : "$" + t1 + ": " + t3);
  105511. }
  105512. },
  105513. $signature: 524
  105514. };
  105515. A.SassNumber__coerceOrConvertValue_closure3.prototype = {
  105516. call$1(oldNumerator) {
  105517. var factor = A.conversionFactor0(this.newNumerator, oldNumerator);
  105518. if (factor == null)
  105519. return false;
  105520. this._box_0.value *= factor;
  105521. return true;
  105522. },
  105523. $signature: 4
  105524. };
  105525. A.SassNumber__coerceOrConvertValue_closure4.prototype = {
  105526. call$0() {
  105527. return A.throwExpression(this.compatibilityException.call$0());
  105528. },
  105529. $signature: 0
  105530. };
  105531. A.SassNumber__coerceOrConvertValue_closure5.prototype = {
  105532. call$1(oldDenominator) {
  105533. var factor = A.conversionFactor0(this.newDenominator, oldDenominator);
  105534. if (factor == null)
  105535. return false;
  105536. this._box_0.value /= factor;
  105537. return true;
  105538. },
  105539. $signature: 4
  105540. };
  105541. A.SassNumber__coerceOrConvertValue_closure6.prototype = {
  105542. call$0() {
  105543. return A.throwExpression(this.compatibilityException.call$0());
  105544. },
  105545. $signature: 0
  105546. };
  105547. A.SassNumber_plus_closure0.prototype = {
  105548. call$2(num1, num2) {
  105549. return num1 + num2;
  105550. },
  105551. $signature: 55
  105552. };
  105553. A.SassNumber_minus_closure0.prototype = {
  105554. call$2(num1, num2) {
  105555. return num1 - num2;
  105556. },
  105557. $signature: 55
  105558. };
  105559. A.SassNumber_multiplyUnits_closure3.prototype = {
  105560. call$1(denominator) {
  105561. var factor = A.conversionFactor0(this.numerator, denominator);
  105562. if (factor == null)
  105563. return false;
  105564. this._box_0.value /= factor;
  105565. return true;
  105566. },
  105567. $signature: 4
  105568. };
  105569. A.SassNumber_multiplyUnits_closure4.prototype = {
  105570. call$0() {
  105571. return this.newNumerators.push(this.numerator);
  105572. },
  105573. $signature: 0
  105574. };
  105575. A.SassNumber_multiplyUnits_closure5.prototype = {
  105576. call$1(denominator) {
  105577. var factor = A.conversionFactor0(this.numerator, denominator);
  105578. if (factor == null)
  105579. return false;
  105580. this._box_0.value /= factor;
  105581. return true;
  105582. },
  105583. $signature: 4
  105584. };
  105585. A.SassNumber_multiplyUnits_closure6.prototype = {
  105586. call$0() {
  105587. return this.newNumerators.push(this.numerator);
  105588. },
  105589. $signature: 0
  105590. };
  105591. A.SassNumber__areAnyConvertible_closure0.prototype = {
  105592. call$1(unit1) {
  105593. var t1,
  105594. _0_0 = B.Map_gQqJO.$index(0, unit1);
  105595. $label0$0: {
  105596. if (_0_0 != null) {
  105597. t1 = B.JSArray_methods.any$1(this.units2, _0_0.get$containsKey());
  105598. break $label0$0;
  105599. }
  105600. t1 = B.JSArray_methods.contains$1(this.units2, unit1);
  105601. break $label0$0;
  105602. }
  105603. return t1;
  105604. },
  105605. $signature: 4
  105606. };
  105607. A.SassNumber__canonicalizeUnitList_closure0.prototype = {
  105608. call$1(unit) {
  105609. var t1,
  105610. type = $.$get$_typesByUnit0().$index(0, unit);
  105611. if (type == null)
  105612. t1 = unit;
  105613. else {
  105614. t1 = B.Map_397RH.$index(0, type);
  105615. t1.toString;
  105616. t1 = B.JSArray_methods.get$first(t1);
  105617. }
  105618. return t1;
  105619. },
  105620. $signature: 5
  105621. };
  105622. A.SassNumber__canonicalMultiplier_closure0.prototype = {
  105623. call$2(multiplier, unit) {
  105624. return multiplier * this.$this.canonicalMultiplierForUnit$1(unit);
  105625. },
  105626. $signature: 163
  105627. };
  105628. A.SassNumber_unitSuggestion_closure1.prototype = {
  105629. call$1(unit) {
  105630. return " * 1" + unit;
  105631. },
  105632. $signature: 5
  105633. };
  105634. A.SassNumber_unitSuggestion_closure2.prototype = {
  105635. call$1(unit) {
  105636. return " / 1" + unit;
  105637. },
  105638. $signature: 5
  105639. };
  105640. A.SupportsOperation0.prototype = {
  105641. toString$0(_) {
  105642. var _this = this;
  105643. return _this._operation0$_parenthesize$1(_this.left) + " " + _this.operator + " " + _this._operation0$_parenthesize$1(_this.right);
  105644. },
  105645. _operation0$_parenthesize$1(condition) {
  105646. var t1;
  105647. if (!(condition instanceof A.SupportsNegation0))
  105648. t1 = condition instanceof A.SupportsOperation0 && condition.operator === this.operator;
  105649. else
  105650. t1 = true;
  105651. return t1 ? "(" + condition.toString$0(0) + ")" : condition.toString$0(0);
  105652. },
  105653. $isAstNode0: 1,
  105654. get$span(receiver) {
  105655. return this.span;
  105656. }
  105657. };
  105658. A.ParentSelector0.prototype = {
  105659. accept$1$1(visitor) {
  105660. return visitor.visitParentSelector$1(this);
  105661. },
  105662. accept$1(visitor) {
  105663. return this.accept$1$1(visitor, type$.dynamic);
  105664. },
  105665. unify$1(compound) {
  105666. return A.throwExpression(A.UnsupportedError$("& doesn't support unification."));
  105667. }
  105668. };
  105669. A.ParentStatement0.prototype = {$isAstNode0: 1, $isStatement0: 1};
  105670. A.ParentStatement_closure0.prototype = {
  105671. call$1(child) {
  105672. var t1;
  105673. $label0$0: {
  105674. if (child instanceof A.VariableDeclaration0 || child instanceof A.FunctionRule0 || child instanceof A.MixinRule0) {
  105675. t1 = true;
  105676. break $label0$0;
  105677. }
  105678. if (child instanceof A.ImportRule0) {
  105679. t1 = B.JSArray_methods.any$1(child.imports, new A.ParentStatement__closure0());
  105680. break $label0$0;
  105681. }
  105682. t1 = false;
  105683. break $label0$0;
  105684. }
  105685. return t1;
  105686. },
  105687. $signature: 249
  105688. };
  105689. A.ParentStatement__closure0.prototype = {
  105690. call$1($import) {
  105691. return $import instanceof A.DynamicImport0;
  105692. },
  105693. $signature: 245
  105694. };
  105695. A.ParenthesizedExpression0.prototype = {
  105696. accept$1$1(visitor) {
  105697. return visitor.visitParenthesizedExpression$1(this);
  105698. },
  105699. accept$1(visitor) {
  105700. return this.accept$1$1(visitor, type$.dynamic);
  105701. },
  105702. toString$0(_) {
  105703. return "(" + this.expression.toString$0(0) + ")";
  105704. },
  105705. $isExpression0: 1,
  105706. $isAstNode0: 1,
  105707. get$span(receiver) {
  105708. return this.span;
  105709. }
  105710. };
  105711. A.Parser1.prototype = {
  105712. _parser0$_parseIdentifier$0() {
  105713. return this.wrapSpanFormatException$1(new A.Parser__parseIdentifier_closure0(this));
  105714. },
  105715. whitespace$0() {
  105716. do
  105717. this.whitespaceWithoutComments$0();
  105718. while (this.scanComment$0());
  105719. },
  105720. whitespaceWithoutComments$0() {
  105721. var t3,
  105722. t1 = this.scanner,
  105723. t2 = t1.string.length;
  105724. while (true) {
  105725. if (t1._string_scanner$_position !== t2) {
  105726. t3 = t1.peekChar$0();
  105727. t3 = t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12;
  105728. } else
  105729. t3 = false;
  105730. if (!t3)
  105731. break;
  105732. t1.readChar$0();
  105733. }
  105734. },
  105735. spaces$0() {
  105736. var t3,
  105737. t1 = this.scanner,
  105738. t2 = t1.string.length;
  105739. while (true) {
  105740. if (t1._string_scanner$_position !== t2) {
  105741. t3 = t1.peekChar$0();
  105742. t3 = t3 === 32 || t3 === 9;
  105743. } else
  105744. t3 = false;
  105745. if (!t3)
  105746. break;
  105747. t1.readChar$0();
  105748. }
  105749. },
  105750. scanComment$0() {
  105751. var _0_0,
  105752. t1 = this.scanner;
  105753. if (t1.peekChar$0() !== 47)
  105754. return false;
  105755. _0_0 = t1.peekChar$1(1);
  105756. if (47 === _0_0)
  105757. return this.silentComment$0();
  105758. if (42 === _0_0) {
  105759. this.loudComment$0();
  105760. return true;
  105761. }
  105762. return false;
  105763. },
  105764. expectWhitespace$0() {
  105765. var t2, t3,
  105766. t1 = this.scanner;
  105767. if (t1._string_scanner$_position !== t1.string.length) {
  105768. t2 = t1.peekChar$0();
  105769. t3 = !(t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12 || this.scanComment$0());
  105770. t2 = t3;
  105771. } else
  105772. t2 = true;
  105773. if (t2)
  105774. t1.error$1(0, "Expected whitespace.");
  105775. this.whitespace$0();
  105776. },
  105777. silentComment$0() {
  105778. var t2, t3,
  105779. t1 = this.scanner;
  105780. t1.expect$1("//");
  105781. t2 = t1.string.length;
  105782. while (true) {
  105783. if (t1._string_scanner$_position !== t2) {
  105784. t3 = t1.peekChar$0();
  105785. t3 = !(t3 === 10 || t3 === 13 || t3 === 12);
  105786. } else
  105787. t3 = false;
  105788. if (!t3)
  105789. break;
  105790. t1.readChar$0();
  105791. }
  105792. return true;
  105793. },
  105794. loudComment$0() {
  105795. var next,
  105796. t1 = this.scanner;
  105797. t1.expect$1("/*");
  105798. for (; true;) {
  105799. if (t1.readChar$0() !== 42)
  105800. continue;
  105801. do
  105802. next = t1.readChar$0();
  105803. while (next === 42);
  105804. if (next === 47)
  105805. break;
  105806. }
  105807. },
  105808. identifier$2$normalize$unit(normalize, unit) {
  105809. var t2, _0_0, _this = this,
  105810. _s20_ = "Expected identifier.",
  105811. text = new A.StringBuffer(""),
  105812. t1 = _this.scanner;
  105813. if (t1.scanChar$1(45)) {
  105814. t2 = text._contents = "" + A.Primitives_stringFromCharCode(45);
  105815. if (t1.scanChar$1(45)) {
  105816. text._contents = t2 + A.Primitives_stringFromCharCode(45);
  105817. _this._parser0$_identifierBody$3$normalize$unit(text, normalize, unit);
  105818. t1 = text._contents;
  105819. return t1.charCodeAt(0) == 0 ? t1 : t1;
  105820. }
  105821. } else
  105822. t2 = "";
  105823. $label0$0: {
  105824. _0_0 = t1.peekChar$0();
  105825. if (_0_0 == null)
  105826. t1.error$1(0, _s20_);
  105827. if (95 === _0_0 && normalize) {
  105828. t1.readChar$0();
  105829. text._contents = t2 + A.Primitives_stringFromCharCode(45);
  105830. break $label0$0;
  105831. }
  105832. if (_0_0 === 95 || A.CharacterExtension_get_isAlphabetic0(_0_0) || _0_0 >= 128) {
  105833. text._contents = t2 + A.Primitives_stringFromCharCode(t1.readChar$0());
  105834. break $label0$0;
  105835. }
  105836. if (92 === _0_0) {
  105837. text._contents = t2 + _this.escape$1$identifierStart(true);
  105838. break $label0$0;
  105839. }
  105840. t1.error$1(0, _s20_);
  105841. }
  105842. _this._parser0$_identifierBody$3$normalize$unit(text, normalize, unit);
  105843. t1 = text._contents;
  105844. return t1.charCodeAt(0) == 0 ? t1 : t1;
  105845. },
  105846. identifier$0() {
  105847. return this.identifier$2$normalize$unit(false, false);
  105848. },
  105849. identifier$1$normalize(normalize) {
  105850. return this.identifier$2$normalize$unit(normalize, false);
  105851. },
  105852. identifier$1$unit(unit) {
  105853. return this.identifier$2$normalize$unit(false, unit);
  105854. },
  105855. _parser0$_identifierBody$3$normalize$unit(text, normalize, unit) {
  105856. var t1, _1_0, _0_0, t2;
  105857. for (t1 = this.scanner; true;) {
  105858. _1_0 = t1.peekChar$0();
  105859. if (_1_0 == null)
  105860. break;
  105861. if (45 === _1_0 && unit) {
  105862. _0_0 = t1.peekChar$1(1);
  105863. if (46 !== _0_0)
  105864. t2 = A._isInt(_0_0) && _0_0 >= 48 && _0_0 <= 57;
  105865. else
  105866. t2 = true;
  105867. if (t2)
  105868. break;
  105869. t2 = A.Primitives_stringFromCharCode(t1.readChar$0());
  105870. text._contents += t2;
  105871. continue;
  105872. }
  105873. if (95 === _1_0 && normalize) {
  105874. t1.readChar$0();
  105875. t2 = A.Primitives_stringFromCharCode(45);
  105876. text._contents += t2;
  105877. continue;
  105878. }
  105879. if (_1_0 !== 95) {
  105880. if (!(_1_0 >= 97 && _1_0 <= 122))
  105881. t2 = _1_0 >= 65 && _1_0 <= 90;
  105882. else
  105883. t2 = true;
  105884. t2 = t2 || _1_0 >= 128;
  105885. } else
  105886. t2 = true;
  105887. if (!t2)
  105888. t2 = _1_0 >= 48 && _1_0 <= 57 || _1_0 === 45;
  105889. else
  105890. t2 = true;
  105891. if (t2) {
  105892. t2 = A.Primitives_stringFromCharCode(t1.readChar$0());
  105893. text._contents += t2;
  105894. continue;
  105895. }
  105896. if (92 === _1_0) {
  105897. t2 = this.escape$0();
  105898. text._contents += t2;
  105899. continue;
  105900. }
  105901. break;
  105902. }
  105903. },
  105904. _parser0$_identifierBody$1(text) {
  105905. return this._parser0$_identifierBody$3$normalize$unit(text, false, false);
  105906. },
  105907. string$0() {
  105908. var buffer, _0_0, t2,
  105909. t1 = this.scanner,
  105910. quote = t1.readChar$0();
  105911. if (quote !== 39 && quote !== 34)
  105912. t1.error$2$position(0, "Expected string.", t1._string_scanner$_position - 1);
  105913. buffer = new A.StringBuffer("");
  105914. for (; true;) {
  105915. _0_0 = t1.peekChar$0();
  105916. if (_0_0 === quote) {
  105917. t1.readChar$0();
  105918. break;
  105919. }
  105920. if (_0_0 == null || _0_0 === 10 || _0_0 === 13 || _0_0 === 12)
  105921. t1.error$1(0, "Expected " + A.Primitives_stringFromCharCode(quote) + ".");
  105922. if (92 === _0_0) {
  105923. t2 = t1.peekChar$1(1);
  105924. if (t2 === 10 || t2 === 13 || t2 === 12) {
  105925. t1.readChar$0();
  105926. t1.readChar$0();
  105927. } else {
  105928. t2 = A.Primitives_stringFromCharCode(A.consumeEscapedCharacter0(t1));
  105929. buffer._contents += t2;
  105930. }
  105931. continue;
  105932. }
  105933. t2 = A.Primitives_stringFromCharCode(t1.readChar$0());
  105934. buffer._contents += t2;
  105935. }
  105936. t1 = buffer._contents;
  105937. return t1.charCodeAt(0) == 0 ? t1 : t1;
  105938. },
  105939. declarationValue$1$allowEmpty(allowEmpty) {
  105940. var t1, t2, wroteNewline, next, t3, start, end, _0_0, _this = this,
  105941. buffer = new A.StringBuffer(""),
  105942. brackets = A._setArrayType([], type$.JSArray_int);
  105943. for (t1 = _this.scanner, t2 = _this.get$string(), wroteNewline = false; true;) {
  105944. next = t1.peekChar$0();
  105945. if (next == null)
  105946. break;
  105947. if (92 === next) {
  105948. t3 = _this.escape$1$identifierStart(true);
  105949. buffer._contents += t3;
  105950. wroteNewline = false;
  105951. continue;
  105952. }
  105953. if (34 === next || 39 === next) {
  105954. start = t1._string_scanner$_position;
  105955. t2.call$0();
  105956. end = t1._string_scanner$_position;
  105957. buffer._contents += B.JSString_methods.substring$2(t1.string, start, end);
  105958. wroteNewline = false;
  105959. continue;
  105960. }
  105961. if (47 === next) {
  105962. if (t1.peekChar$1(1) === 42) {
  105963. t3 = _this.get$loudComment();
  105964. start = t1._string_scanner$_position;
  105965. t3.call$0();
  105966. end = t1._string_scanner$_position;
  105967. buffer._contents += B.JSString_methods.substring$2(t1.string, start, end);
  105968. } else {
  105969. t3 = A.Primitives_stringFromCharCode(t1.readChar$0());
  105970. buffer._contents += t3;
  105971. }
  105972. wroteNewline = false;
  105973. continue;
  105974. }
  105975. if (32 === next || 9 === next) {
  105976. if (!wroteNewline) {
  105977. t3 = t1.peekChar$1(1);
  105978. t3 = !(t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12);
  105979. } else
  105980. t3 = true;
  105981. if (t3) {
  105982. t3 = A.Primitives_stringFromCharCode(32);
  105983. buffer._contents += t3;
  105984. }
  105985. t1.readChar$0();
  105986. continue;
  105987. }
  105988. if (10 === next || 13 === next || 12 === next) {
  105989. t3 = t1.peekChar$1(-1);
  105990. if (!(t3 === 10 || t3 === 13 || t3 === 12))
  105991. buffer._contents += "\n";
  105992. t1.readChar$0();
  105993. wroteNewline = true;
  105994. continue;
  105995. }
  105996. if (40 === next || 123 === next || 91 === next) {
  105997. t3 = A.Primitives_stringFromCharCode(next);
  105998. buffer._contents += t3;
  105999. brackets.push(A.opposite0(t1.readChar$0()));
  106000. wroteNewline = false;
  106001. continue;
  106002. }
  106003. if (41 === next || 125 === next || 93 === next) {
  106004. if (brackets.length === 0)
  106005. break;
  106006. t3 = A.Primitives_stringFromCharCode(next);
  106007. buffer._contents += t3;
  106008. t1.expectChar$1(brackets.pop());
  106009. wroteNewline = false;
  106010. continue;
  106011. }
  106012. if (59 === next) {
  106013. if (brackets.length === 0)
  106014. break;
  106015. t3 = A.Primitives_stringFromCharCode(t1.readChar$0());
  106016. buffer._contents += t3;
  106017. continue;
  106018. }
  106019. if (117 === next || 85 === next) {
  106020. _0_0 = _this.tryUrl$0();
  106021. if (_0_0 != null)
  106022. buffer._contents += _0_0;
  106023. else {
  106024. t3 = A.Primitives_stringFromCharCode(t1.readChar$0());
  106025. buffer._contents += t3;
  106026. }
  106027. wroteNewline = false;
  106028. continue;
  106029. }
  106030. if (_this.lookingAtIdentifier$0()) {
  106031. t3 = _this.identifier$0();
  106032. buffer._contents += t3;
  106033. } else {
  106034. t3 = A.Primitives_stringFromCharCode(t1.readChar$0());
  106035. buffer._contents += t3;
  106036. }
  106037. wroteNewline = false;
  106038. }
  106039. if (brackets.length !== 0)
  106040. t1.expectChar$1(B.JSArray_methods.get$last(brackets));
  106041. if (!allowEmpty && buffer._contents.length === 0)
  106042. t1.error$1(0, "Expected token.");
  106043. t1 = buffer._contents;
  106044. return t1.charCodeAt(0) == 0 ? t1 : t1;
  106045. },
  106046. declarationValue$0() {
  106047. return this.declarationValue$1$allowEmpty(false);
  106048. },
  106049. tryUrl$0() {
  106050. var buffer, _0_0, t2, _this = this,
  106051. t1 = _this.scanner,
  106052. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  106053. if (!_this.scanIdentifier$1("url"))
  106054. return null;
  106055. if (!t1.scanChar$1(40)) {
  106056. t1.set$state(start);
  106057. return null;
  106058. }
  106059. _this.whitespace$0();
  106060. buffer = new A.StringBuffer("");
  106061. buffer._contents = "" + "url(";
  106062. for (; true;) {
  106063. _0_0 = t1.peekChar$0();
  106064. if (_0_0 == null)
  106065. break;
  106066. if (92 === _0_0) {
  106067. t2 = _this.escape$0();
  106068. buffer._contents += t2;
  106069. continue;
  106070. }
  106071. if (37 !== _0_0)
  106072. if (38 !== _0_0)
  106073. if (35 !== _0_0)
  106074. t2 = _0_0 >= 42 && _0_0 <= 126 || _0_0 >= 128;
  106075. else
  106076. t2 = true;
  106077. else
  106078. t2 = true;
  106079. else
  106080. t2 = true;
  106081. if (t2) {
  106082. t2 = A.Primitives_stringFromCharCode(t1.readChar$0());
  106083. buffer._contents += t2;
  106084. continue;
  106085. }
  106086. if (_0_0 === 32 || _0_0 === 9 || _0_0 === 10 || _0_0 === 13 || _0_0 === 12) {
  106087. _this.whitespace$0();
  106088. if (t1.peekChar$0() !== 41)
  106089. break;
  106090. continue;
  106091. }
  106092. if (41 === _0_0) {
  106093. t2 = A.Primitives_stringFromCharCode(t1.readChar$0());
  106094. t2 = buffer._contents += t2;
  106095. return t2.charCodeAt(0) == 0 ? t2 : t2;
  106096. }
  106097. break;
  106098. }
  106099. t1.set$state(start);
  106100. return null;
  106101. },
  106102. variableName$0() {
  106103. this.scanner.expectChar$1(36);
  106104. return this.identifier$1$normalize(true);
  106105. },
  106106. escape$1$identifierStart(identifierStart) {
  106107. var value, _0_0, i, next, t2, exception,
  106108. _s25_ = "Expected escape sequence.",
  106109. t1 = this.scanner,
  106110. start = t1._string_scanner$_position;
  106111. t1.expectChar$1(92);
  106112. value = 0;
  106113. $label0$1: {
  106114. _0_0 = t1.peekChar$0();
  106115. if (_0_0 == null)
  106116. t1.error$1(0, _s25_);
  106117. if (_0_0 === 10 || _0_0 === 13 || _0_0 === 12)
  106118. t1.error$1(0, _s25_);
  106119. if (A.CharacterExtension_get_isHex0(_0_0)) {
  106120. for (i = 0; i < 6; ++i) {
  106121. next = t1.peekChar$0();
  106122. if (next != null) {
  106123. if (!(next >= 48 && next <= 57))
  106124. if (!(next >= 97 && next <= 102))
  106125. t2 = next >= 65 && next <= 70;
  106126. else
  106127. t2 = true;
  106128. else
  106129. t2 = true;
  106130. t2 = !t2;
  106131. } else
  106132. t2 = true;
  106133. if (t2)
  106134. break;
  106135. value *= 16;
  106136. value += A.asHex0(t1.readChar$0());
  106137. }
  106138. this.scanCharIf$1(new A.Parser_escape_closure0());
  106139. break $label0$1;
  106140. }
  106141. value = t1.readChar$0();
  106142. }
  106143. if (identifierStart) {
  106144. t2 = value;
  106145. t2 = t2 === 95 || A.CharacterExtension_get_isAlphabetic0(t2) || t2 >= 128;
  106146. } else {
  106147. t2 = value;
  106148. if (!(t2 === 95 || A.CharacterExtension_get_isAlphabetic0(t2) || t2 >= 128))
  106149. t2 = t2 >= 48 && t2 <= 57 || t2 === 45;
  106150. else
  106151. t2 = true;
  106152. }
  106153. if (t2)
  106154. try {
  106155. t2 = A.Primitives_stringFromCharCode(value);
  106156. return t2;
  106157. } catch (exception) {
  106158. if (type$.RangeError._is(A.unwrapException(exception)))
  106159. t1.error$3$length$position(0, "Invalid Unicode code point.", t1._string_scanner$_position - start, start);
  106160. else
  106161. throw exception;
  106162. }
  106163. else {
  106164. if (!(value <= 31))
  106165. if (!J.$eq$(value, 127))
  106166. if (identifierStart) {
  106167. t1 = value;
  106168. t1 = t1 >= 48 && t1 <= 57;
  106169. } else
  106170. t1 = false;
  106171. else
  106172. t1 = true;
  106173. else
  106174. t1 = true;
  106175. if (t1) {
  106176. t1 = "" + A.Primitives_stringFromCharCode(92);
  106177. if (value > 15)
  106178. t1 += A.Primitives_stringFromCharCode(A.hexCharFor0(B.JSNumber_methods._shrOtherPositive$1(value, 4)));
  106179. t1 = t1 + A.Primitives_stringFromCharCode(A.hexCharFor0(value & 15)) + A.Primitives_stringFromCharCode(32);
  106180. return t1.charCodeAt(0) == 0 ? t1 : t1;
  106181. } else
  106182. return A.String_String$fromCharCodes(A._setArrayType([92, value], type$.JSArray_int), 0, null);
  106183. }
  106184. },
  106185. escape$0() {
  106186. return this.escape$1$identifierStart(false);
  106187. },
  106188. scanCharIf$1(condition) {
  106189. var t1 = this.scanner;
  106190. if (!condition.call$1(t1.peekChar$0()))
  106191. return false;
  106192. t1.readChar$0();
  106193. return true;
  106194. },
  106195. scanIdentChar$2$caseSensitive(char, caseSensitive) {
  106196. var t3,
  106197. t1 = new A.Parser_scanIdentChar_matches0(caseSensitive, char),
  106198. t2 = this.scanner,
  106199. _0_0 = t2.peekChar$0();
  106200. if (_0_0 != null) {
  106201. t3 = t1.call$1(_0_0);
  106202. t3 = t3;
  106203. } else
  106204. t3 = false;
  106205. if (t3) {
  106206. t2.readChar$0();
  106207. return true;
  106208. }
  106209. if (92 === _0_0) {
  106210. t3 = t2._string_scanner$_position;
  106211. if (t1.call$1(A.consumeEscapedCharacter0(t2)))
  106212. return true;
  106213. t2.set$state(new A._SpanScannerState(t2, t3));
  106214. }
  106215. return false;
  106216. },
  106217. scanIdentChar$1(char) {
  106218. return this.scanIdentChar$2$caseSensitive(char, false);
  106219. },
  106220. expectIdentChar$1(letter) {
  106221. var t1;
  106222. if (this.scanIdentChar$2$caseSensitive(letter, false))
  106223. return;
  106224. t1 = this.scanner;
  106225. t1.error$2$position(0, 'Expected "' + A.Primitives_stringFromCharCode(letter) + '".', t1._string_scanner$_position);
  106226. },
  106227. lookingAtIdentifier$1($forward) {
  106228. var t1, _1_0, t2, _0_0;
  106229. if ($forward == null)
  106230. $forward = 0;
  106231. t1 = this.scanner;
  106232. _1_0 = t1.peekChar$1($forward);
  106233. $label0$0: {
  106234. if (A._isInt(_1_0))
  106235. t2 = _1_0 === 95 || A.CharacterExtension_get_isAlphabetic0(_1_0) || _1_0 >= 128;
  106236. else
  106237. t2 = false;
  106238. if (t2 || 92 === _1_0) {
  106239. t1 = true;
  106240. break $label0$0;
  106241. }
  106242. if (45 === _1_0) {
  106243. _0_0 = t1.peekChar$1($forward + 1);
  106244. $label1$1: {
  106245. if (A._isInt(_0_0))
  106246. t1 = _0_0 === 95 || A.CharacterExtension_get_isAlphabetic0(_0_0) || _0_0 >= 128;
  106247. else
  106248. t1 = false;
  106249. t1 = t1 || 92 === _0_0 || 45 === _0_0;
  106250. if (t1)
  106251. break $label1$1;
  106252. break $label1$1;
  106253. }
  106254. break $label0$0;
  106255. }
  106256. t1 = false;
  106257. break $label0$0;
  106258. }
  106259. return t1;
  106260. },
  106261. lookingAtIdentifier$0() {
  106262. return this.lookingAtIdentifier$1(null);
  106263. },
  106264. lookingAtIdentifierBody$0() {
  106265. var t1,
  106266. next = this.scanner.peekChar$0();
  106267. if (next != null) {
  106268. if (!(next === 95 || A.CharacterExtension_get_isAlphabetic0(next) || next >= 128))
  106269. t1 = next >= 48 && next <= 57 || next === 45;
  106270. else
  106271. t1 = true;
  106272. t1 = t1 || next === 92;
  106273. } else
  106274. t1 = false;
  106275. return t1;
  106276. },
  106277. scanIdentifier$2$caseSensitive(text, caseSensitive) {
  106278. var t1, t2, _this = this;
  106279. if (!_this.lookingAtIdentifier$0())
  106280. return false;
  106281. t1 = _this.scanner;
  106282. t2 = t1._string_scanner$_position;
  106283. if (_this._parser0$_consumeIdentifier$2(text, caseSensitive) && !_this.lookingAtIdentifierBody$0())
  106284. return true;
  106285. else {
  106286. t1.set$state(new A._SpanScannerState(t1, t2));
  106287. return false;
  106288. }
  106289. },
  106290. scanIdentifier$1(text) {
  106291. return this.scanIdentifier$2$caseSensitive(text, false);
  106292. },
  106293. _parser0$_consumeIdentifier$2(text, caseSensitive) {
  106294. var t1, t2, t3;
  106295. 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();) {
  106296. t3 = t1.__internal$_current;
  106297. if (!this.scanIdentChar$2$caseSensitive(t3 == null ? t2._as(t3) : t3, caseSensitive))
  106298. return false;
  106299. }
  106300. return true;
  106301. },
  106302. expectIdentifier$2$name(text, $name) {
  106303. var t1, start, t2, t3, t4, t5, t6;
  106304. if ($name == null)
  106305. $name = '"' + text + '"';
  106306. t1 = this.scanner;
  106307. start = t1._string_scanner$_position;
  106308. 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();) {
  106309. t6 = t2.__internal$_current;
  106310. if (this.scanIdentChar$2$caseSensitive(t6 == null ? t3._as(t6) : t6, false))
  106311. continue;
  106312. t1.error$2$position(0, t5, start);
  106313. }
  106314. if (!this.lookingAtIdentifierBody$0())
  106315. return;
  106316. t1.error$2$position(0, t4, start);
  106317. },
  106318. expectIdentifier$1(text) {
  106319. return this.expectIdentifier$2$name(text, null);
  106320. },
  106321. rawText$1(consumer) {
  106322. var t1 = this.scanner,
  106323. start = t1._string_scanner$_position;
  106324. consumer.call$0();
  106325. return t1.substring$1(0, start);
  106326. },
  106327. spanFrom$1(state) {
  106328. var span = this.scanner.spanFrom$1(state);
  106329. return this._parser0$_interpolationMap == null ? span : new A.LazyFileSpan0(new A.Parser_spanFrom_closure0(this, span));
  106330. },
  106331. error$3(_, message, span, trace) {
  106332. var exception = new A.StringScannerException(this.scanner.string, message, span);
  106333. if (trace == null)
  106334. throw A.wrapException(exception);
  106335. else
  106336. A.throwWithTrace0(exception, this.get$error(this), trace);
  106337. },
  106338. error$2(_, message, span) {
  106339. return this.error$3(0, message, span, null);
  106340. },
  106341. withErrorMessage$1$2(message, callback) {
  106342. var error, stackTrace, t1, exception;
  106343. try {
  106344. t1 = callback.call$0();
  106345. return t1;
  106346. } catch (exception) {
  106347. t1 = A.unwrapException(exception);
  106348. if (type$.SourceSpanFormatException._is(t1)) {
  106349. error = t1;
  106350. stackTrace = A.getTraceFromException(exception);
  106351. t1 = J.get$span$z(error);
  106352. A.throwWithTrace0(new A.SourceSpanFormatException(error.get$source(), message, t1), error, stackTrace);
  106353. } else
  106354. throw exception;
  106355. }
  106356. },
  106357. withErrorMessage$2(message, callback) {
  106358. return this.withErrorMessage$1$2(message, callback, type$.dynamic);
  106359. },
  106360. wrapSpanFormatException$1$1(callback) {
  106361. var error, stackTrace, map, error0, stackTrace0, span, error1, stackTrace1, span0, secondarySpans, t1, t2, span1, description, _0_0, t3, exception, t4, _this = this,
  106362. _s8_ = "expected";
  106363. try {
  106364. try {
  106365. t3 = callback.call$0();
  106366. return t3;
  106367. } catch (exception) {
  106368. t3 = A.unwrapException(exception);
  106369. if (type$.SourceSpanFormatException._is(t3)) {
  106370. error = t3;
  106371. stackTrace = A.getTraceFromException(exception);
  106372. map = _this._parser0$_interpolationMap;
  106373. if (map == null)
  106374. throw exception;
  106375. A.throwWithTrace0(map.mapException$1(error), error, stackTrace);
  106376. } else
  106377. throw exception;
  106378. }
  106379. } catch (exception) {
  106380. t3 = A.unwrapException(exception);
  106381. if (type$.SourceSpanFormatException._is(t3)) {
  106382. error0 = t3;
  106383. stackTrace0 = A.getTraceFromException(exception);
  106384. span = J.get$span$z(error0);
  106385. if (A.startsWithIgnoreCase0(error0._span_exception$_message, _s8_))
  106386. span = _this._parser0$_adjustExceptionSpan$1(span);
  106387. t1 = error0._span_exception$_message;
  106388. t2 = span;
  106389. A.throwWithTrace0(new A.SassFormatException0(B.Set_empty, t1, t2), error0, stackTrace0);
  106390. } else if (type$.MultiSourceSpanFormatException._is(t3)) {
  106391. error1 = t3;
  106392. stackTrace1 = A.getTraceFromException(exception);
  106393. span0 = J.get$span$z(error1);
  106394. t3 = type$.FileSpan;
  106395. t4 = type$.String;
  106396. secondarySpans = error1.get$secondarySpans().cast$2$0(0, t3, t4);
  106397. if (A.startsWithIgnoreCase0(error1._span_exception$_message, _s8_)) {
  106398. span0 = _this._parser0$_adjustExceptionSpan$1(span0);
  106399. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t3, t4);
  106400. for (t3 = A.MapExtensions_get_pairs0(secondarySpans, t3, t4), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  106401. t2 = t3.get$current(t3);
  106402. span1 = null;
  106403. description = null;
  106404. _0_0 = t2;
  106405. span1 = _0_0._0;
  106406. description = _0_0._1;
  106407. J.$indexSet$ax(t1, _this._parser0$_adjustExceptionSpan$1(span1), description);
  106408. }
  106409. secondarySpans = t1;
  106410. }
  106411. A.throwWithTrace0(A.MultiSpanSassFormatException$0(error1._span_exception$_message, span0, error1.get$primaryLabel(), secondarySpans, null), error1, stackTrace1);
  106412. } else
  106413. throw exception;
  106414. }
  106415. },
  106416. wrapSpanFormatException$1(callback) {
  106417. return this.wrapSpanFormatException$1$1(callback, type$.dynamic);
  106418. },
  106419. _parser0$_adjustExceptionSpan$1(span) {
  106420. var start, t1;
  106421. if (span.get$length(span) > 0)
  106422. return span;
  106423. start = this._parser0$_firstNewlineBefore$1(span.get$start(span));
  106424. if (start.$eq(0, span.get$start(span)))
  106425. t1 = span;
  106426. else {
  106427. t1 = start.offset;
  106428. t1 = A._FileSpan$(start.file, t1, t1);
  106429. }
  106430. return t1;
  106431. },
  106432. _parser0$_firstNewlineBefore$1($location) {
  106433. var lastNewline, codeUnit,
  106434. t1 = $location.file,
  106435. t2 = $location.offset,
  106436. text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1._decodedChars, 0, t2), 0, null),
  106437. index = t2 - 1;
  106438. for (lastNewline = null; index >= 0;) {
  106439. codeUnit = text.charCodeAt(index);
  106440. if (!(codeUnit === 32 || codeUnit === 9 || codeUnit === 10 || codeUnit === 13 || codeUnit === 12)) {
  106441. if (lastNewline == null)
  106442. t1 = $location;
  106443. else {
  106444. t2 = new A.FileLocation(t1, lastNewline);
  106445. t2.FileLocation$_$2(t1, lastNewline);
  106446. t1 = t2;
  106447. }
  106448. return t1;
  106449. }
  106450. if (codeUnit === 10 || codeUnit === 13 || codeUnit === 12)
  106451. lastNewline = index;
  106452. --index;
  106453. }
  106454. return $location;
  106455. }
  106456. };
  106457. A.Parser__parseIdentifier_closure0.prototype = {
  106458. call$0() {
  106459. var t1 = this.$this,
  106460. result = t1.identifier$0();
  106461. t1.scanner.expectDone$0();
  106462. return result;
  106463. },
  106464. $signature: 25
  106465. };
  106466. A.Parser_escape_closure0.prototype = {
  106467. call$1(char) {
  106468. return char === 32 || char === 9 || char === 10 || char === 13 || char === 12;
  106469. },
  106470. $signature: 28
  106471. };
  106472. A.Parser_scanIdentChar_matches0.prototype = {
  106473. call$1(actual) {
  106474. var t1 = this.char;
  106475. return this.caseSensitive ? actual === t1 : A.characterEqualsIgnoreCase0(t1, actual);
  106476. },
  106477. $signature: 45
  106478. };
  106479. A.Parser_spanFrom_closure0.prototype = {
  106480. call$0() {
  106481. return this.$this._parser0$_interpolationMap.mapSpan$1(this.span);
  106482. },
  106483. $signature: 26
  106484. };
  106485. A.PlaceholderSelector0.prototype = {
  106486. accept$1$1(visitor) {
  106487. return visitor.visitPlaceholderSelector$1(this);
  106488. },
  106489. accept$1(visitor) {
  106490. return this.accept$1$1(visitor, type$.dynamic);
  106491. },
  106492. addSuffix$1(suffix) {
  106493. return new A.PlaceholderSelector0(this.name + suffix, this.span);
  106494. },
  106495. $eq(_, other) {
  106496. if (other == null)
  106497. return false;
  106498. return other instanceof A.PlaceholderSelector0 && other.name === this.name;
  106499. },
  106500. get$hashCode(_) {
  106501. return B.JSString_methods.get$hashCode(this.name);
  106502. }
  106503. };
  106504. A.PlainCssCallable0.prototype = {
  106505. $eq(_, other) {
  106506. if (other == null)
  106507. return false;
  106508. return other instanceof A.PlainCssCallable0 && this.name === other.name;
  106509. },
  106510. get$hashCode(_) {
  106511. return B.JSString_methods.get$hashCode(this.name);
  106512. },
  106513. $isAsyncCallable0: 1,
  106514. $isCallable: 1,
  106515. get$name(receiver) {
  106516. return this.name;
  106517. }
  106518. };
  106519. A.PrefixedMapView0.prototype = {
  106520. get$keys(_) {
  106521. return new A._PrefixedKeys0(this);
  106522. },
  106523. get$length(_) {
  106524. var t1 = this._prefixed_map_view0$_map;
  106525. return t1.get$length(t1);
  106526. },
  106527. get$isEmpty(_) {
  106528. var t1 = this._prefixed_map_view0$_map;
  106529. return t1.get$isEmpty(t1);
  106530. },
  106531. get$isNotEmpty(_) {
  106532. var t1 = this._prefixed_map_view0$_map;
  106533. return t1.get$isNotEmpty(t1);
  106534. },
  106535. $index(_, key) {
  106536. return typeof key == "string" && B.JSString_methods.startsWith$1(key, this._prefixed_map_view0$_prefix) ? this._prefixed_map_view0$_map.$index(0, J.substring$1$s(key, this._prefixed_map_view0$_prefix.length)) : null;
  106537. },
  106538. containsKey$1(key) {
  106539. return typeof key == "string" && B.JSString_methods.startsWith$1(key, this._prefixed_map_view0$_prefix) && this._prefixed_map_view0$_map.containsKey$1(J.substring$1$s(key, this._prefixed_map_view0$_prefix.length));
  106540. }
  106541. };
  106542. A._PrefixedKeys0.prototype = {
  106543. get$length(_) {
  106544. var t1 = this._prefixed_map_view0$_view._prefixed_map_view0$_map;
  106545. return t1.get$length(t1);
  106546. },
  106547. get$iterator(_) {
  106548. var t1 = this._prefixed_map_view0$_view._prefixed_map_view0$_map;
  106549. t1 = J.map$1$1$ax(t1.get$keys(t1), new A._PrefixedKeys_iterator_closure0(this), type$.String);
  106550. return t1.get$iterator(t1);
  106551. },
  106552. contains$1(_, key) {
  106553. return this._prefixed_map_view0$_view.containsKey$1(key);
  106554. }
  106555. };
  106556. A._PrefixedKeys_iterator_closure0.prototype = {
  106557. call$1(key) {
  106558. return this.$this._prefixed_map_view0$_view._prefixed_map_view0$_prefix + key;
  106559. },
  106560. $signature: 5
  106561. };
  106562. A.PseudoSelector0.prototype = {
  106563. get$isHostContext() {
  106564. return this.isClass && this.name === "host-context" && this.selector != null;
  106565. },
  106566. get$specificity() {
  106567. var result, _this = this,
  106568. value = _this._pseudo$__PseudoSelector_specificity_FI;
  106569. if (value === $) {
  106570. result = new A.PseudoSelector_specificity_closure0(_this).call$0();
  106571. _this._pseudo$__PseudoSelector_specificity_FI !== $ && A.throwUnnamedLateFieldADI();
  106572. _this._pseudo$__PseudoSelector_specificity_FI = result;
  106573. value = result;
  106574. }
  106575. return value;
  106576. },
  106577. withSelector$1(selector) {
  106578. var _this = this;
  106579. return A.PseudoSelector$0(_this.name, _this.span, _this.argument, !_this.isClass, selector);
  106580. },
  106581. addSuffix$1(suffix) {
  106582. var _this = this;
  106583. if (_this.argument != null || _this.selector != null)
  106584. _this.super$SimpleSelector$addSuffix0(suffix);
  106585. return A.PseudoSelector$0(_this.name + suffix, _this.span, null, !_this.isClass, null);
  106586. },
  106587. unify$1(compound) {
  106588. var other, result, t2, addedThis, _i, simple, _this = this,
  106589. t1 = _this.name;
  106590. if (t1 === "host" || t1 === "host-context") {
  106591. if (!B.JSArray_methods.every$1(compound, new A.PseudoSelector_unify_closure0()))
  106592. return null;
  106593. } else {
  106594. if (compound.length === 1) {
  106595. other = compound[0];
  106596. if (!(other instanceof A.UniversalSelector0))
  106597. if (other instanceof A.PseudoSelector0)
  106598. t1 = other.isClass && other.name === "host" || other.get$isHostContext();
  106599. else
  106600. t1 = false;
  106601. else
  106602. t1 = true;
  106603. } else {
  106604. other = null;
  106605. t1 = false;
  106606. }
  106607. if (t1)
  106608. return other.unify$1(A._setArrayType([_this], type$.JSArray_SimpleSelector_2));
  106609. }
  106610. if (B.JSArray_methods.contains$1(compound, _this))
  106611. return compound;
  106612. result = A._setArrayType([], type$.JSArray_SimpleSelector_2);
  106613. for (t1 = compound.length, t2 = !_this.isClass, addedThis = false, _i = 0; _i < compound.length; compound.length === t1 || (0, A.throwConcurrentModificationError)(compound), ++_i) {
  106614. simple = compound[_i];
  106615. if (simple instanceof A.PseudoSelector0 && !simple.isClass) {
  106616. if (t2)
  106617. return null;
  106618. result.push(_this);
  106619. addedThis = true;
  106620. }
  106621. result.push(simple);
  106622. }
  106623. if (!addedThis)
  106624. result.push(_this);
  106625. return result;
  106626. },
  106627. isSuperselector$1(other) {
  106628. var selector, t1, t2, _this = this;
  106629. if (_this.super$SimpleSelector$isSuperselector0(other))
  106630. return true;
  106631. selector = _this.selector;
  106632. if (selector == null)
  106633. return _this.$eq(0, other);
  106634. if (other instanceof A.PseudoSelector0 && !_this.isClass && !other.isClass && _this.normalizedName === "slotted" && other.name === _this.name) {
  106635. t1 = A.NullableExtension_andThen0(other.selector, selector.get$isSuperselector());
  106636. return t1 == null ? false : t1;
  106637. }
  106638. t1 = type$.JSArray_SimpleSelector_2;
  106639. t2 = _this.span;
  106640. return A.compoundIsSuperselector0(A.CompoundSelector$0(A._setArrayType([_this], t1), t2), A.CompoundSelector$0(A._setArrayType([other], t1), t2), null);
  106641. },
  106642. accept$1$1(visitor) {
  106643. return visitor.visitPseudoSelector$1(this);
  106644. },
  106645. accept$1(visitor) {
  106646. return this.accept$1$1(visitor, type$.dynamic);
  106647. },
  106648. $eq(_, other) {
  106649. var _this = this;
  106650. if (other == null)
  106651. return false;
  106652. return other instanceof A.PseudoSelector0 && other.name === _this.name && other.isClass === _this.isClass && other.argument == _this.argument && J.$eq$(other.selector, _this.selector);
  106653. },
  106654. get$hashCode(_) {
  106655. var _this = this,
  106656. t1 = B.JSString_methods.get$hashCode(_this.name),
  106657. t2 = !_this.isClass ? 519018 : 218159;
  106658. return t1 ^ t2 ^ J.get$hashCode$(_this.argument) ^ J.get$hashCode$(_this.selector);
  106659. }
  106660. };
  106661. A.PseudoSelector_specificity_closure0.prototype = {
  106662. call$0() {
  106663. var selector, t2,
  106664. t1 = this.$this;
  106665. if (!t1.isClass)
  106666. return 1;
  106667. selector = t1.selector;
  106668. if (selector == null)
  106669. return A.SimpleSelector0.prototype.get$specificity.call(t1);
  106670. switch (t1.normalizedName) {
  106671. case "where":
  106672. return 0;
  106673. case "is":
  106674. case "not":
  106675. case "has":
  106676. case "matches":
  106677. t1 = selector.components;
  106678. return A.IterableIntegerExtension_get_max(new A.MappedListIterable(t1, new A.PseudoSelector_specificity__closure1(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,int>")));
  106679. case "nth-child":
  106680. case "nth-last-child":
  106681. t1 = A.SimpleSelector0.prototype.get$specificity.call(t1);
  106682. t2 = selector.components;
  106683. return t1 + A.IterableIntegerExtension_get_max(new A.MappedListIterable(t2, new A.PseudoSelector_specificity__closure2(), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,int>")));
  106684. default:
  106685. return A.SimpleSelector0.prototype.get$specificity.call(t1);
  106686. }
  106687. },
  106688. $signature: 10
  106689. };
  106690. A.PseudoSelector_specificity__closure1.prototype = {
  106691. call$1(component) {
  106692. return component.get$specificity();
  106693. },
  106694. $signature: 203
  106695. };
  106696. A.PseudoSelector_specificity__closure2.prototype = {
  106697. call$1(component) {
  106698. return component.get$specificity();
  106699. },
  106700. $signature: 203
  106701. };
  106702. A.PseudoSelector_unify_closure0.prototype = {
  106703. call$1(simple) {
  106704. var t1;
  106705. if (simple instanceof A.PseudoSelector0)
  106706. t1 = simple.isClass && simple.name === "host" || simple.selector != null;
  106707. else
  106708. t1 = false;
  106709. return t1;
  106710. },
  106711. $signature: 15
  106712. };
  106713. A.PublicMemberMapView0.prototype = {
  106714. get$keys(_) {
  106715. var t1 = this._public_member_map_view0$_inner;
  106716. return J.where$1$ax(t1.get$keys(t1), A.utils0__isPublic$closure());
  106717. },
  106718. containsKey$1(key) {
  106719. return typeof key == "string" && A.isPublic0(key) && this._public_member_map_view0$_inner.containsKey$1(key);
  106720. },
  106721. $index(_, key) {
  106722. if (typeof key == "string" && A.isPublic0(key))
  106723. return this._public_member_map_view0$_inner.$index(0, key);
  106724. return null;
  106725. }
  106726. };
  106727. A.QualifiedName0.prototype = {
  106728. $eq(_, other) {
  106729. if (other == null)
  106730. return false;
  106731. return other instanceof A.QualifiedName0 && other.name === this.name && other.namespace == this.namespace;
  106732. },
  106733. get$hashCode(_) {
  106734. return B.JSString_methods.get$hashCode(this.name) ^ J.get$hashCode$(this.namespace);
  106735. },
  106736. toString$0(_) {
  106737. var t1 = this.namespace,
  106738. t2 = this.name;
  106739. return t1 == null ? t2 : t1 + "|" + t2;
  106740. }
  106741. };
  106742. A.JSClass0.prototype = {};
  106743. A.JSClassExtension_setCustomInspect_closure.prototype = {
  106744. call$4($self, _, __, ___) {
  106745. return this.inspect.call$1($self);
  106746. },
  106747. call$3($self, _, __) {
  106748. return this.call$4($self, _, __, null);
  106749. },
  106750. "call*": "call$4",
  106751. $requiredArgCount: 3,
  106752. $defaultValues() {
  106753. return [null];
  106754. },
  106755. $signature: 526
  106756. };
  106757. A.JSClassExtension_get_defineStaticMethod_closure.prototype = {
  106758. call$2($name, body) {
  106759. this._this[$name] = A.allowInteropNamed($name, body);
  106760. return null;
  106761. },
  106762. $signature: 131
  106763. };
  106764. A.JSClassExtension_get_defineMethod_closure.prototype = {
  106765. call$2($name, body) {
  106766. J.get$$prototype$x(this._this)[$name] = A.allowInteropCaptureThisNamed($name, body);
  106767. return null;
  106768. },
  106769. $signature: 131
  106770. };
  106771. A.JSClassExtension_get_defineGetter_closure.prototype = {
  106772. call$2($name, body) {
  106773. A.defineGetter(J.get$$prototype$x(this._this), $name, body, null);
  106774. return null;
  106775. },
  106776. $signature: 131
  106777. };
  106778. A.RenderContext0.prototype = {};
  106779. A.RenderContextOptions0.prototype = {};
  106780. A.RenderContextResult0.prototype = {};
  106781. A.RenderContextResultStats0.prototype = {};
  106782. A.RenderOptions.prototype = {};
  106783. A.RenderResult.prototype = {};
  106784. A.RenderResultStats.prototype = {};
  106785. A.ReplaceExpressionVisitor0.prototype = {
  106786. visitBinaryOperationExpression$1(node) {
  106787. return new A.BinaryOperationExpression0(node.operator, node.left.accept$1(this), node.right.accept$1(this), false);
  106788. },
  106789. visitBooleanExpression$1(node) {
  106790. return node;
  106791. },
  106792. visitColorExpression$1(node) {
  106793. return node;
  106794. },
  106795. visitFunctionExpression$1(node) {
  106796. var t1 = node.originalName,
  106797. t2 = this.visitArgumentInvocation$1(node.$arguments);
  106798. return new A.FunctionExpression0(node.namespace, A.stringReplaceAllUnchecked(t1, "_", "-"), t1, t2, node.span);
  106799. },
  106800. visitInterpolatedFunctionExpression$1(node) {
  106801. return new A.InterpolatedFunctionExpression0(this.visitInterpolation$1(node.name), this.visitArgumentInvocation$1(node.$arguments), node.span);
  106802. },
  106803. visitIfExpression$1(node) {
  106804. return new A.IfExpression0(this.visitArgumentInvocation$1(node.$arguments), node.span);
  106805. },
  106806. visitListExpression$1(node) {
  106807. var t1 = node.contents;
  106808. 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);
  106809. },
  106810. visitMapExpression$1(node) {
  106811. var t2, t3, _i, t4, key, value,
  106812. t1 = A._setArrayType([], type$.JSArray_Record_2_Expression_and_Expression_2);
  106813. for (t2 = node.pairs, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  106814. t4 = t2[_i];
  106815. key = t4._0;
  106816. value = t4._1;
  106817. t1.push(new A._Record_2(key.accept$1(this), value.accept$1(this)));
  106818. }
  106819. return new A.MapExpression0(A.List_List$unmodifiable(t1, type$.Record_2_Expression_and_Expression_2), node.span);
  106820. },
  106821. visitNullExpression$1(node) {
  106822. return node;
  106823. },
  106824. visitNumberExpression$1(node) {
  106825. return node;
  106826. },
  106827. visitParenthesizedExpression$1(node) {
  106828. return new A.ParenthesizedExpression0(node.expression.accept$1(this), node.span);
  106829. },
  106830. visitSelectorExpression$1(node) {
  106831. return node;
  106832. },
  106833. visitStringExpression$1(node) {
  106834. return new A.StringExpression0(this.visitInterpolation$1(node.text), node.hasQuotes);
  106835. },
  106836. visitSupportsExpression$1(node) {
  106837. return new A.SupportsExpression0(this.visitSupportsCondition$1(node.condition));
  106838. },
  106839. visitUnaryOperationExpression$1(node) {
  106840. return new A.UnaryOperationExpression0(node.operator, node.operand.accept$1(this), node.span);
  106841. },
  106842. visitValueExpression$1(node) {
  106843. return node;
  106844. },
  106845. visitVariableExpression$1(node) {
  106846. return node;
  106847. },
  106848. visitArgumentInvocation$1(invocation) {
  106849. var t5, t6, _this = this,
  106850. t1 = invocation.positional,
  106851. t2 = type$.String,
  106852. t3 = type$.Expression_2,
  106853. t4 = A.LinkedHashMap_LinkedHashMap$_empty(t2, t3);
  106854. for (t5 = A.MapExtensions_get_pairs0(invocation.named, t2, t3), t5 = t5.get$iterator(t5); t5.moveNext$0();) {
  106855. t6 = t5.get$current(t5);
  106856. t4.$indexSet(0, t6._0, t6._1.accept$1(_this));
  106857. }
  106858. t5 = invocation.rest;
  106859. t5 = t5 == null ? null : t5.accept$1(_this);
  106860. t6 = invocation.keywordRest;
  106861. t6 = t6 == null ? null : t6.accept$1(_this);
  106862. return new A.ArgumentInvocation0(A.List_List$unmodifiable(new A.MappedListIterable(t1, new A.ReplaceExpressionVisitor_visitArgumentInvocation_closure0(_this), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Expression0>")), t3), A.ConstantMap_ConstantMap$from(t4, t2, t3), t5, t6, invocation.span);
  106863. },
  106864. visitSupportsCondition$1(condition) {
  106865. var _this = this;
  106866. if (condition instanceof A.SupportsOperation0)
  106867. return A.SupportsOperation$0(_this.visitSupportsCondition$1(condition.left), _this.visitSupportsCondition$1(condition.right), condition.operator, condition.span);
  106868. else if (condition instanceof A.SupportsNegation0)
  106869. return new A.SupportsNegation0(_this.visitSupportsCondition$1(condition.condition), condition.span);
  106870. else if (condition instanceof A.SupportsInterpolation0)
  106871. return new A.SupportsInterpolation0(condition.expression.accept$1(_this), condition.span);
  106872. else if (condition instanceof A.SupportsDeclaration0)
  106873. return new A.SupportsDeclaration0(condition.name.accept$1(_this), condition.value.accept$1(_this), condition.span);
  106874. else
  106875. throw A.wrapException(A.SassException$0("BUG: Unknown SupportsCondition " + condition.toString$0(0) + ".", condition.get$span(condition), null));
  106876. },
  106877. visitInterpolation$1(interpolation) {
  106878. var t1 = interpolation.contents;
  106879. return A.Interpolation$0(new A.MappedListIterable(t1, new A.ReplaceExpressionVisitor_visitInterpolation_closure0(this), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Object>")), interpolation.span);
  106880. }
  106881. };
  106882. A.ReplaceExpressionVisitor_visitListExpression_closure0.prototype = {
  106883. call$1(item) {
  106884. return item.accept$1(this.$this);
  106885. },
  106886. $signature: 202
  106887. };
  106888. A.ReplaceExpressionVisitor_visitArgumentInvocation_closure0.prototype = {
  106889. call$1(expression) {
  106890. return expression.accept$1(this.$this);
  106891. },
  106892. $signature: 202
  106893. };
  106894. A.ReplaceExpressionVisitor_visitInterpolation_closure0.prototype = {
  106895. call$1(node) {
  106896. return type$.Expression_2._is(node) ? node.accept$1(this.$this) : node;
  106897. },
  106898. $signature: 64
  106899. };
  106900. A.ImporterResult0.prototype = {
  106901. get$sourceMapUrl(_) {
  106902. var t1 = this._result$_sourceMapUrl;
  106903. return t1 == null ? A.Uri_Uri$dataFromString(this.contents, B.C_Utf8Codec, null) : t1;
  106904. }
  106905. };
  106906. A.ReturnRule0.prototype = {
  106907. accept$1$1(visitor) {
  106908. return visitor.visitReturnRule$1(this);
  106909. },
  106910. accept$1(visitor) {
  106911. return this.accept$1$1(visitor, type$.dynamic);
  106912. },
  106913. toString$0(_) {
  106914. return "@return " + this.expression.toString$0(0) + ";";
  106915. },
  106916. $isAstNode0: 1,
  106917. $isStatement0: 1,
  106918. get$span(receiver) {
  106919. return this.span;
  106920. }
  106921. };
  106922. A.SassParser0.prototype = {
  106923. get$currentIndentation() {
  106924. return this._sass0$_currentIndentation;
  106925. },
  106926. get$indented() {
  106927. return true;
  106928. },
  106929. styleRuleSelector$0() {
  106930. var t4,
  106931. t1 = this.scanner,
  106932. t2 = t1._string_scanner$_position,
  106933. t3 = new A.StringBuffer(""),
  106934. buffer = new A.InterpolationBuffer0(t3, A._setArrayType([], type$.JSArray_Object));
  106935. do {
  106936. buffer.addInterpolation$1(this.almostAnyValue$1$omitComments(true));
  106937. t4 = A.Primitives_stringFromCharCode(10);
  106938. t4 = t3._contents += t4;
  106939. } 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()));
  106940. return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  106941. },
  106942. expectStatementSeparator$1($name) {
  106943. var t1, _this = this;
  106944. if (!_this.atEndOfStatement$0())
  106945. _this._sass0$_expectNewline$0();
  106946. if (_this._sass0$_peekIndentation$0() <= _this._sass0$_currentIndentation)
  106947. return;
  106948. t1 = $name == null ? "here" : "beneath a " + $name;
  106949. _this.scanner.error$2$position(0, "Nothing may be indented " + t1 + ".", _this._sass0$_nextIndentationEnd.position);
  106950. },
  106951. expectStatementSeparator$0() {
  106952. return this.expectStatementSeparator$1(null);
  106953. },
  106954. atEndOfStatement$0() {
  106955. var t1 = this.scanner.peekChar$0();
  106956. if (t1 == null)
  106957. t1 = null;
  106958. else
  106959. t1 = t1 === 10 || t1 === 13 || t1 === 12;
  106960. return t1 !== false;
  106961. },
  106962. lookingAtChildren$0() {
  106963. return this.atEndOfStatement$0() && this._sass0$_peekIndentation$0() > this._sass0$_currentIndentation;
  106964. },
  106965. importArgument$0() {
  106966. var url, span, innerError, stackTrace, t1, _0_0, start, next, t2, exception, _this = this;
  106967. $label0$0: {
  106968. t1 = _this.scanner;
  106969. _0_0 = t1.peekChar$0();
  106970. if (117 === _0_0 || 85 === _0_0) {
  106971. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  106972. if (_this.scanIdentifier$1("url"))
  106973. if (t1.scanChar$1(40)) {
  106974. t1.set$state(start);
  106975. return _this.super$StylesheetParser$importArgument0();
  106976. } else
  106977. t1.set$state(start);
  106978. break $label0$0;
  106979. }
  106980. if (39 === _0_0 || 34 === _0_0)
  106981. return _this.super$StylesheetParser$importArgument0();
  106982. }
  106983. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  106984. next = t1.peekChar$0();
  106985. while (true) {
  106986. if (next != null)
  106987. if (next !== 44)
  106988. if (next !== 59)
  106989. t2 = !(next === 10 || next === 13 || next === 12);
  106990. else
  106991. t2 = false;
  106992. else
  106993. t2 = false;
  106994. else
  106995. t2 = false;
  106996. if (!t2)
  106997. break;
  106998. t1.readChar$0();
  106999. next = t1.peekChar$0();
  107000. }
  107001. url = t1.substring$1(0, start.position);
  107002. span = t1.spanFrom$1(start);
  107003. if (_this.isPlainImportUrl$1(url))
  107004. return new A.StaticImport0(A.Interpolation$0(A._setArrayType([A.serializeValue0(new A.SassString0(url, true), true, true)], type$.JSArray_Object), span), null, span);
  107005. else
  107006. try {
  107007. t1 = _this.parseImportUrl$1(url);
  107008. return new A.DynamicImport0(t1, span);
  107009. } catch (exception) {
  107010. t1 = A.unwrapException(exception);
  107011. if (type$.FormatException._is(t1)) {
  107012. innerError = t1;
  107013. stackTrace = A.getTraceFromException(exception);
  107014. _this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), span, stackTrace);
  107015. } else
  107016. throw exception;
  107017. }
  107018. },
  107019. scanElse$1(ifIndentation) {
  107020. var t1, t2, startIndentation, startNextIndentation, startNextIndentationEnd, _this = this;
  107021. if (_this._sass0$_peekIndentation$0() !== ifIndentation)
  107022. return false;
  107023. t1 = _this.scanner;
  107024. t2 = t1._string_scanner$_position;
  107025. startIndentation = _this._sass0$_currentIndentation;
  107026. startNextIndentation = _this._sass0$_nextIndentation;
  107027. startNextIndentationEnd = _this._sass0$_nextIndentationEnd;
  107028. _this._sass0$_readIndentation$0();
  107029. if (t1.scanChar$1(64) && _this.scanIdentifier$1("else"))
  107030. return true;
  107031. t1.set$state(new A._SpanScannerState(t1, t2));
  107032. _this._sass0$_currentIndentation = startIndentation;
  107033. _this._sass0$_nextIndentation = startNextIndentation;
  107034. _this._sass0$_nextIndentationEnd = startNextIndentationEnd;
  107035. return false;
  107036. },
  107037. children$1(_, child) {
  107038. var children = A._setArrayType([], type$.JSArray_Statement_2);
  107039. this._sass0$_whileIndentedLower$1(new A.SassParser_children_closure0(this, child, children));
  107040. return children;
  107041. },
  107042. statements$1(statement) {
  107043. var statements, t2, _1_0,
  107044. t1 = this.scanner,
  107045. _0_0 = t1.peekChar$0();
  107046. if (9 === _0_0 || 32 === _0_0)
  107047. t1.error$3$length$position(0, string$.Indent, t1._string_scanner$_position, 0);
  107048. statements = A._setArrayType([], type$.JSArray_Statement_2);
  107049. for (t2 = t1.string.length; t1._string_scanner$_position !== t2;) {
  107050. _1_0 = this._sass0$_child$1(statement);
  107051. if (_1_0 != null)
  107052. statements.push(_1_0);
  107053. this._sass0$_readIndentation$0();
  107054. }
  107055. return statements;
  107056. },
  107057. _sass0$_child$1(child) {
  107058. var _0_0, _this = this,
  107059. t1 = _this.scanner,
  107060. _1_0 = t1.peekChar$0();
  107061. $label0$0: {
  107062. if (13 === _1_0 || 10 === _1_0 || 12 === _1_0) {
  107063. t1 = null;
  107064. break $label0$0;
  107065. }
  107066. if (36 === _1_0) {
  107067. t1 = _this.variableDeclarationWithoutNamespace$0();
  107068. break $label0$0;
  107069. }
  107070. if (47 === _1_0) {
  107071. _0_0 = t1.peekChar$1(1);
  107072. $label1$1: {
  107073. if (47 === _0_0) {
  107074. t1 = _this._sass0$_silentComment$0();
  107075. break $label1$1;
  107076. }
  107077. if (42 === _0_0) {
  107078. t1 = _this._sass0$_loudComment$0();
  107079. break $label1$1;
  107080. }
  107081. t1 = child.call$0();
  107082. break $label1$1;
  107083. }
  107084. break $label0$0;
  107085. }
  107086. t1 = child.call$0();
  107087. break $label0$0;
  107088. }
  107089. return t1;
  107090. },
  107091. _sass0$_silentComment$0() {
  107092. var buffer, parentIndentation, t3, t4, t5, commentPrefix, i, t6, i0, t7, _this = this,
  107093. t1 = _this.scanner,
  107094. t2 = t1._string_scanner$_position;
  107095. t1.expect$1("//");
  107096. buffer = new A.StringBuffer("");
  107097. parentIndentation = _this._sass0$_currentIndentation;
  107098. t3 = t1.string.length;
  107099. t4 = 1 + parentIndentation;
  107100. t5 = 2 + parentIndentation;
  107101. $label0$0:
  107102. do {
  107103. commentPrefix = t1.scanChar$1(47) ? "///" : "//";
  107104. for (i = commentPrefix.length; true;) {
  107105. t6 = buffer._contents += commentPrefix;
  107106. for (i0 = i; i0 < _this._sass0$_currentIndentation - parentIndentation; ++i0) {
  107107. t6 += A.Primitives_stringFromCharCode(32);
  107108. buffer._contents = t6;
  107109. }
  107110. while (true) {
  107111. if (t1._string_scanner$_position !== t3) {
  107112. t7 = t1.peekChar$0();
  107113. t7 = !(t7 === 10 || t7 === 13 || t7 === 12);
  107114. } else
  107115. t7 = false;
  107116. if (!t7)
  107117. break;
  107118. t6 += A.Primitives_stringFromCharCode(t1.readChar$0());
  107119. buffer._contents = t6;
  107120. }
  107121. buffer._contents = t6 + "\n";
  107122. if (_this._sass0$_peekIndentation$0() < parentIndentation)
  107123. break $label0$0;
  107124. if (_this._sass0$_peekIndentation$0() === parentIndentation) {
  107125. if (t1.peekChar$1(t4) === 47 && t1.peekChar$1(t5) === 47)
  107126. _this._sass0$_readIndentation$0();
  107127. break;
  107128. }
  107129. _this._sass0$_readIndentation$0();
  107130. }
  107131. } while (t1.scan$1("//"));
  107132. t3 = buffer._contents;
  107133. return _this.lastSilentComment = new A.SilentComment0(t3.charCodeAt(0) == 0 ? t3 : t3, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  107134. },
  107135. _sass0$_loudComment$0() {
  107136. var t3, t4, buffer, parentIndentation, t5, t6, first, beginningOfComment, t7, end, i, _0_0, _this = this,
  107137. t1 = _this.scanner,
  107138. t2 = t1._string_scanner$_position;
  107139. t1.expect$1("/*");
  107140. t3 = new A.StringBuffer("");
  107141. t4 = A._setArrayType([], type$.JSArray_Object);
  107142. buffer = new A.InterpolationBuffer0(t3, t4);
  107143. t3._contents = "" + "/*";
  107144. parentIndentation = _this._sass0$_currentIndentation;
  107145. for (t5 = t1.string, t6 = t5.length, first = true; true; first = false) {
  107146. if (first) {
  107147. beginningOfComment = t1._string_scanner$_position;
  107148. _this.spaces$0();
  107149. t7 = t1.peekChar$0();
  107150. if (t7 === 10 || t7 === 13 || t7 === 12) {
  107151. _this._sass0$_readIndentation$0();
  107152. t7 = A.Primitives_stringFromCharCode(32);
  107153. t3._contents += t7;
  107154. } else {
  107155. end = t1._string_scanner$_position;
  107156. t3._contents += B.JSString_methods.substring$2(t5, beginningOfComment, end);
  107157. }
  107158. } else {
  107159. t7 = t3._contents += "\n";
  107160. t3._contents = t7 + " * ";
  107161. }
  107162. for (i = 3; i < _this._sass0$_currentIndentation - parentIndentation; ++i) {
  107163. t7 = A.Primitives_stringFromCharCode(32);
  107164. t3._contents += t7;
  107165. }
  107166. for (; t1._string_scanner$_position !== t6;) {
  107167. _0_0 = t1.peekChar$0();
  107168. if (10 === _0_0 || 13 === _0_0 || 12 === _0_0)
  107169. break;
  107170. if (35 === _0_0) {
  107171. if (t1.peekChar$1(1) === 123) {
  107172. t7 = _this.singleInterpolation$0();
  107173. buffer._interpolation_buffer0$_flushText$0();
  107174. t4.push(t7);
  107175. } else {
  107176. t7 = A.Primitives_stringFromCharCode(t1.readChar$0());
  107177. t3._contents += t7;
  107178. }
  107179. continue;
  107180. }
  107181. t7 = A.Primitives_stringFromCharCode(t1.readChar$0());
  107182. t3._contents += t7;
  107183. }
  107184. if (_this._sass0$_peekIndentation$0() <= parentIndentation)
  107185. break;
  107186. for (; _this._sass0$_lookingAtDoubleNewline$0();) {
  107187. _this._sass0$_expectNewline$0();
  107188. t7 = t3._contents += "\n";
  107189. t3._contents = t7 + " *";
  107190. }
  107191. _this._sass0$_readIndentation$0();
  107192. }
  107193. t4 = t3._contents;
  107194. if (!B.JSString_methods.endsWith$1(B.JSString_methods.trimRight$0(t4.charCodeAt(0) == 0 ? t4 : t4), "*/"))
  107195. t3._contents += " */";
  107196. return new A.LoudComment0(buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2))));
  107197. },
  107198. whitespaceWithoutComments$0() {
  107199. var t1, t2, next;
  107200. for (t1 = this.scanner, t2 = t1.string.length; t1._string_scanner$_position !== t2;) {
  107201. next = t1.peekChar$0();
  107202. if (next !== 9 && next !== 32)
  107203. break;
  107204. t1.readChar$0();
  107205. }
  107206. },
  107207. loudComment$0() {
  107208. var next,
  107209. t1 = this.scanner;
  107210. t1.expect$1("/*");
  107211. for (; true;) {
  107212. next = t1.readChar$0();
  107213. if (next === 10 || next === 13 || next === 12)
  107214. t1.error$1(0, "expected */.");
  107215. if (next !== 42)
  107216. continue;
  107217. do
  107218. next = t1.readChar$0();
  107219. while (next === 42);
  107220. if (next === 47)
  107221. break;
  107222. }
  107223. },
  107224. _sass0$_expectNewline$0() {
  107225. var t1 = this.scanner,
  107226. _0_0 = t1.peekChar$0();
  107227. if (59 === _0_0)
  107228. t1.error$1(0, string$.semico);
  107229. if (13 === _0_0) {
  107230. t1.readChar$0();
  107231. if (t1.peekChar$0() === 10)
  107232. t1.readChar$0();
  107233. return;
  107234. }
  107235. if (10 === _0_0 || 12 === _0_0) {
  107236. t1.readChar$0();
  107237. return;
  107238. }
  107239. t1.error$1(0, "expected newline.");
  107240. },
  107241. _sass0$_lookingAtDoubleNewline$0() {
  107242. var _0_0,
  107243. t1 = this.scanner,
  107244. _1_0 = t1.peekChar$0();
  107245. $label1$1: {
  107246. if (13 === _1_0) {
  107247. _0_0 = t1.peekChar$1(1);
  107248. $label0$0: {
  107249. if (10 === _0_0) {
  107250. t1 = t1.peekChar$1(2);
  107251. t1 = t1 === 10 || t1 === 13 || t1 === 12;
  107252. break $label0$0;
  107253. }
  107254. if (13 === _0_0 || 12 === _0_0) {
  107255. t1 = true;
  107256. break $label0$0;
  107257. }
  107258. t1 = false;
  107259. break $label0$0;
  107260. }
  107261. break $label1$1;
  107262. }
  107263. if (10 === _1_0 || 12 === _1_0) {
  107264. t1 = t1.peekChar$1(1);
  107265. t1 = t1 === 10 || t1 === 13 || t1 === 12;
  107266. break $label1$1;
  107267. }
  107268. t1 = false;
  107269. break $label1$1;
  107270. }
  107271. return t1;
  107272. },
  107273. _sass0$_whileIndentedLower$1(body) {
  107274. var t1, t2, childIndentation, indentation, t3, t4, _this = this,
  107275. parentIndentation = _this._sass0$_currentIndentation;
  107276. for (t1 = _this.scanner, t2 = t1._sourceFile, childIndentation = null; _this._sass0$_peekIndentation$0() > parentIndentation;) {
  107277. indentation = _this._sass0$_readIndentation$0();
  107278. if (childIndentation == null)
  107279. childIndentation = indentation;
  107280. if (childIndentation !== indentation) {
  107281. t3 = t1._string_scanner$_position;
  107282. t4 = t2.getColumn$1(t3);
  107283. t1.error$3$length$position(0, "Inconsistent indentation, expected " + childIndentation + " spaces.", t2.getColumn$1(t1._string_scanner$_position), t3 - t4);
  107284. }
  107285. body.call$0();
  107286. }
  107287. },
  107288. _sass0$_readIndentation$0() {
  107289. var t1, _this = this,
  107290. currentIndentation = _this._sass0$_nextIndentation;
  107291. if (currentIndentation == null)
  107292. currentIndentation = _this._sass0$_nextIndentation = _this._sass0$_peekIndentation$0();
  107293. _this._sass0$_currentIndentation = currentIndentation;
  107294. t1 = _this._sass0$_nextIndentationEnd;
  107295. t1.toString;
  107296. _this.scanner.set$state(t1);
  107297. _this._sass0$_nextIndentationEnd = _this._sass0$_nextIndentation = null;
  107298. return currentIndentation;
  107299. },
  107300. _sass0$_peekIndentation$0() {
  107301. var t1, t2, t3, start, containsTab, containsSpace, nextIndentation, _1_0, t4, _this = this,
  107302. _0_0 = _this._sass0$_nextIndentation;
  107303. if (_0_0 != null)
  107304. return _0_0;
  107305. t1 = _this.scanner;
  107306. t2 = t1._string_scanner$_position;
  107307. t3 = t1.string.length;
  107308. if (t2 === t3) {
  107309. _this._sass0$_nextIndentation = 0;
  107310. _this._sass0$_nextIndentationEnd = new A._SpanScannerState(t1, t2);
  107311. return 0;
  107312. }
  107313. start = new A._SpanScannerState(t1, t2);
  107314. if (!_this.scanCharIf$1(new A.SassParser__peekIndentation_closure1()))
  107315. t1.error$2$position(0, "Expected newline.", t1._string_scanner$_position);
  107316. containsTab = A._Cell$();
  107317. containsSpace = A._Cell$();
  107318. nextIndentation = A._Cell$();
  107319. do {
  107320. containsSpace.__late_helper$_value = containsTab.__late_helper$_value = false;
  107321. nextIndentation.__late_helper$_value = 0;
  107322. for (; true;) {
  107323. $label0$0: {
  107324. _1_0 = t1.peekChar$0();
  107325. if (32 === _1_0) {
  107326. containsSpace.__late_helper$_value = true;
  107327. break $label0$0;
  107328. }
  107329. if (9 === _1_0) {
  107330. containsTab.__late_helper$_value = true;
  107331. break $label0$0;
  107332. }
  107333. break;
  107334. }
  107335. t2 = nextIndentation.__late_helper$_value;
  107336. if (t2 === nextIndentation)
  107337. A.throwExpression(A.LateError$localNI(""));
  107338. nextIndentation.__late_helper$_value = t2 + 1;
  107339. t1.readChar$0();
  107340. }
  107341. t2 = t1._string_scanner$_position;
  107342. if (t2 === t3) {
  107343. _this._sass0$_nextIndentation = 0;
  107344. _this._sass0$_nextIndentationEnd = new A._SpanScannerState(t1, t2);
  107345. t1.set$state(start);
  107346. return 0;
  107347. }
  107348. } while (_this.scanCharIf$1(new A.SassParser__peekIndentation_closure2()));
  107349. t2 = containsTab._readLocal$0();
  107350. t3 = containsSpace._readLocal$0();
  107351. if (t2) {
  107352. if (t3) {
  107353. t2 = t1._string_scanner$_position;
  107354. t3 = t1._sourceFile;
  107355. t4 = t3.getColumn$1(t2);
  107356. t1.error$3$length$position(0, "Tabs and spaces may not be mixed.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
  107357. } else if (_this._sass0$_spaces === true) {
  107358. t2 = t1._string_scanner$_position;
  107359. t3 = t1._sourceFile;
  107360. t4 = t3.getColumn$1(t2);
  107361. t1.error$3$length$position(0, "Expected spaces, was tabs.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
  107362. }
  107363. } else if (t3 && _this._sass0$_spaces === false) {
  107364. t2 = t1._string_scanner$_position;
  107365. t3 = t1._sourceFile;
  107366. t4 = t3.getColumn$1(t2);
  107367. t1.error$3$length$position(0, "Expected tabs, was spaces.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
  107368. }
  107369. _this._sass0$_nextIndentation = nextIndentation._readLocal$0();
  107370. if (nextIndentation._readLocal$0() > 0)
  107371. if (_this._sass0$_spaces == null)
  107372. _this._sass0$_spaces = containsSpace._readLocal$0();
  107373. _this._sass0$_nextIndentationEnd = new A._SpanScannerState(t1, t1._string_scanner$_position);
  107374. t1.set$state(start);
  107375. return nextIndentation._readLocal$0();
  107376. }
  107377. };
  107378. A.SassParser_styleRuleSelector_closure0.prototype = {
  107379. call$1(char) {
  107380. return char === 10 || char === 13 || char === 12;
  107381. },
  107382. $signature: 28
  107383. };
  107384. A.SassParser_children_closure0.prototype = {
  107385. call$0() {
  107386. var _0_0 = this.$this._sass0$_child$1(this.child);
  107387. if (_0_0 != null)
  107388. this.children.push(_0_0);
  107389. },
  107390. $signature: 0
  107391. };
  107392. A.SassParser__peekIndentation_closure1.prototype = {
  107393. call$1(char) {
  107394. return char === 10 || char === 13 || char === 12;
  107395. },
  107396. $signature: 28
  107397. };
  107398. A.SassParser__peekIndentation_closure2.prototype = {
  107399. call$1(char) {
  107400. return char === 10 || char === 13 || char === 12;
  107401. },
  107402. $signature: 28
  107403. };
  107404. A._Exports.prototype = {};
  107405. A._wrapMain_closure.prototype = {
  107406. call$1(_) {
  107407. return A._translateReturnValue(this.main.call$0());
  107408. },
  107409. $signature: 105
  107410. };
  107411. A._wrapMain_closure0.prototype = {
  107412. call$1(args) {
  107413. return A._translateReturnValue(this.main.call$1(A.List_List$from(type$.List_dynamic._as(args), true, type$.String)));
  107414. },
  107415. $signature: 105
  107416. };
  107417. A.ScssParser0.prototype = {
  107418. get$indented() {
  107419. return false;
  107420. },
  107421. get$currentIndentation() {
  107422. return 0;
  107423. },
  107424. styleRuleSelector$0() {
  107425. return this.almostAnyValue$0();
  107426. },
  107427. expectStatementSeparator$1($name) {
  107428. var t1, _0_0;
  107429. this.whitespaceWithoutComments$0();
  107430. t1 = this.scanner;
  107431. if (t1._string_scanner$_position === t1.string.length)
  107432. return;
  107433. _0_0 = t1.peekChar$0();
  107434. if (59 === _0_0 || 125 === _0_0)
  107435. return;
  107436. t1.expectChar$1(59);
  107437. },
  107438. expectStatementSeparator$0() {
  107439. return this.expectStatementSeparator$1(null);
  107440. },
  107441. atEndOfStatement$0() {
  107442. var next = this.scanner.peekChar$0();
  107443. return next == null || next === 59 || next === 125 || next === 123;
  107444. },
  107445. lookingAtChildren$0() {
  107446. return this.scanner.peekChar$0() === 123;
  107447. },
  107448. scanElse$1(ifIndentation) {
  107449. var t3, _this = this,
  107450. t1 = _this.scanner,
  107451. t2 = t1._string_scanner$_position;
  107452. _this.whitespace$0();
  107453. t3 = t1._string_scanner$_position;
  107454. if (t1.scanChar$1(64)) {
  107455. if (_this.scanIdentifier$2$caseSensitive("else", true))
  107456. return true;
  107457. if (_this.scanIdentifier$2$caseSensitive("elseif", true)) {
  107458. A.WarnForDeprecation_warnForDeprecation0(_this.logger, B.Deprecation_xw8, string$.x40elsei, t1.spanFrom$1(new A._SpanScannerState(t1, t3)), null);
  107459. t1.set$position(t1._string_scanner$_position - 2);
  107460. return true;
  107461. }
  107462. }
  107463. t1.set$state(new A._SpanScannerState(t1, t2));
  107464. return false;
  107465. },
  107466. children$1(_, child) {
  107467. var children, _this = this,
  107468. t1 = _this.scanner;
  107469. t1.expectChar$1(123);
  107470. _this.whitespaceWithoutComments$0();
  107471. children = A._setArrayType([], type$.JSArray_Statement_2);
  107472. for (; true;)
  107473. switch (t1.peekChar$0()) {
  107474. case 36:
  107475. children.push(_this.variableDeclarationWithoutNamespace$0());
  107476. break;
  107477. case 47:
  107478. switch (t1.peekChar$1(1)) {
  107479. case 47:
  107480. children.push(_this._scss0$_silentComment$0());
  107481. _this.whitespaceWithoutComments$0();
  107482. break;
  107483. case 42:
  107484. children.push(_this._scss0$_loudComment$0());
  107485. _this.whitespaceWithoutComments$0();
  107486. break;
  107487. default:
  107488. children.push(child.call$0());
  107489. }
  107490. break;
  107491. case 59:
  107492. t1.readChar$0();
  107493. _this.whitespaceWithoutComments$0();
  107494. break;
  107495. case 125:
  107496. t1.expectChar$1(125);
  107497. return children;
  107498. default:
  107499. children.push(child.call$0());
  107500. }
  107501. },
  107502. statements$1(statement) {
  107503. var t1, t2, _0_0, _1_0, _this = this,
  107504. statements = A._setArrayType([], type$.JSArray_Statement_2);
  107505. _this.whitespaceWithoutComments$0();
  107506. for (t1 = _this.scanner, t2 = t1.string.length; t1._string_scanner$_position !== t2;)
  107507. switch (t1.peekChar$0()) {
  107508. case 36:
  107509. statements.push(_this.variableDeclarationWithoutNamespace$0());
  107510. break;
  107511. case 47:
  107512. switch (t1.peekChar$1(1)) {
  107513. case 47:
  107514. statements.push(_this._scss0$_silentComment$0());
  107515. _this.whitespaceWithoutComments$0();
  107516. break;
  107517. case 42:
  107518. statements.push(_this._scss0$_loudComment$0());
  107519. _this.whitespaceWithoutComments$0();
  107520. break;
  107521. default:
  107522. _0_0 = statement.call$0();
  107523. if (_0_0 != null)
  107524. statements.push(_0_0);
  107525. }
  107526. break;
  107527. case 59:
  107528. t1.readChar$0();
  107529. _this.whitespaceWithoutComments$0();
  107530. break;
  107531. default:
  107532. _1_0 = statement.call$0();
  107533. if (_1_0 != null)
  107534. statements.push(_1_0);
  107535. }
  107536. return statements;
  107537. },
  107538. _scss0$_silentComment$0() {
  107539. var t2, t3, _this = this,
  107540. t1 = _this.scanner,
  107541. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  107542. t1.expect$1("//");
  107543. t2 = t1.string.length;
  107544. do {
  107545. while (true) {
  107546. if (t1._string_scanner$_position !== t2) {
  107547. t3 = t1.readChar$0();
  107548. t3 = !(t3 === 10 || t3 === 13 || t3 === 12);
  107549. } else
  107550. t3 = false;
  107551. if (!t3)
  107552. break;
  107553. }
  107554. if (t1._string_scanner$_position === t2)
  107555. break;
  107556. _this.spaces$0();
  107557. } while (t1.scan$1("//"));
  107558. if (_this.get$plainCss())
  107559. _this.error$2(0, string$.Silent, t1.spanFrom$1(start));
  107560. return _this.lastSilentComment = new A.SilentComment0(t1.substring$1(0, start.position), t1.spanFrom$1(start));
  107561. },
  107562. _scss0$_loudComment$0() {
  107563. var t3, t4, buffer, t5, endPosition, t6, result,
  107564. t1 = this.scanner,
  107565. t2 = t1._string_scanner$_position;
  107566. t1.expect$1("/*");
  107567. t3 = new A.StringBuffer("");
  107568. t4 = A._setArrayType([], type$.JSArray_Object);
  107569. buffer = new A.InterpolationBuffer0(t3, t4);
  107570. t3._contents = "" + "/*";
  107571. $label0$1:
  107572. for (; true;)
  107573. switch (t1.peekChar$0()) {
  107574. case 35:
  107575. if (t1.peekChar$1(1) === 123) {
  107576. t5 = this.singleInterpolation$0();
  107577. buffer._interpolation_buffer0$_flushText$0();
  107578. t4.push(t5);
  107579. } else {
  107580. t5 = A.Primitives_stringFromCharCode(t1.readChar$0());
  107581. t3._contents += t5;
  107582. }
  107583. break;
  107584. case 42:
  107585. t5 = A.Primitives_stringFromCharCode(t1.readChar$0());
  107586. t3._contents += t5;
  107587. if (t1.peekChar$0() !== 47)
  107588. continue $label0$1;
  107589. t5 = A.Primitives_stringFromCharCode(t1.readChar$0());
  107590. t3._contents += t5;
  107591. endPosition = t1._string_scanner$_position;
  107592. t5 = t1._sourceFile;
  107593. t6 = new A._SpanScannerState(t1, t2).position;
  107594. t1 = new A._FileSpan(t5, t6, endPosition);
  107595. t1._FileSpan$3(t5, t6, endPosition);
  107596. t6 = type$.Object;
  107597. t5 = A.List_List$of(t4, true, t6);
  107598. t2 = t3._contents;
  107599. if (t2.length !== 0)
  107600. t5.push(t2.charCodeAt(0) == 0 ? t2 : t2);
  107601. result = A.List_List$from(t5, false, t6);
  107602. result.fixed$length = Array;
  107603. result.immutable$list = Array;
  107604. t2 = new A.Interpolation0(result, t1);
  107605. t2.Interpolation$20(t5, t1);
  107606. return new A.LoudComment0(t2);
  107607. case 13:
  107608. t1.readChar$0();
  107609. if (t1.peekChar$0() !== 10) {
  107610. t5 = A.Primitives_stringFromCharCode(10);
  107611. t3._contents += t5;
  107612. }
  107613. break;
  107614. case 12:
  107615. t1.readChar$0();
  107616. t5 = A.Primitives_stringFromCharCode(10);
  107617. t3._contents += t5;
  107618. break;
  107619. default:
  107620. t5 = A.Primitives_stringFromCharCode(t1.readChar$0());
  107621. t3._contents += t5;
  107622. }
  107623. }
  107624. };
  107625. A.Selector0.prototype = {
  107626. assertNotBogus$1$name($name) {
  107627. if (!this.accept$1(B._IsBogusVisitor_true0))
  107628. return;
  107629. A.warnForDeprecation0("$" + $name + ": " + (this.toString$0(0) + string$.x20is_nov), B.Deprecation_5pG);
  107630. },
  107631. toString$0(_) {
  107632. var visitor = A._SerializeVisitor$0(null, true, null, true, false, null, true);
  107633. this.accept$1(visitor);
  107634. return visitor._serialize0$_buffer.toString$0(0);
  107635. },
  107636. $isAstNode0: 1,
  107637. get$span(receiver) {
  107638. return this.span;
  107639. }
  107640. };
  107641. A._IsInvisibleVisitor2.prototype = {
  107642. visitSelectorList$1(list) {
  107643. return B.JSArray_methods.every$1(list.components, this.get$visitComplexSelector());
  107644. },
  107645. visitComplexSelector$1(complex) {
  107646. var t1;
  107647. if (!this.super$AnySelectorVisitor$visitComplexSelector0(complex))
  107648. t1 = this.includeBogus && complex.accept$1(B._IsBogusVisitor_false0);
  107649. else
  107650. t1 = true;
  107651. return t1;
  107652. },
  107653. visitPlaceholderSelector$1(placeholder) {
  107654. return true;
  107655. },
  107656. visitPseudoSelector$1(pseudo) {
  107657. var t1,
  107658. _0_0 = pseudo.selector;
  107659. if (_0_0 != null) {
  107660. if (pseudo.name === "not")
  107661. t1 = this.includeBogus && _0_0.accept$1(B._IsBogusVisitor_true0);
  107662. else
  107663. t1 = this.visitSelectorList$1(_0_0);
  107664. return t1;
  107665. } else
  107666. return false;
  107667. }
  107668. };
  107669. A._IsBogusVisitor0.prototype = {
  107670. visitComplexSelector$1(complex) {
  107671. var t2,
  107672. t1 = complex.components;
  107673. if (t1.length === 0)
  107674. return complex.leadingCombinators.length !== 0;
  107675. else {
  107676. t2 = this.includeLeadingCombinator ? 0 : 1;
  107677. 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));
  107678. }
  107679. },
  107680. visitPseudoSelector$1(pseudo) {
  107681. var selector = pseudo.selector;
  107682. if (selector == null)
  107683. return false;
  107684. return pseudo.name === "has" ? selector.accept$1(B._IsBogusVisitor_false0) : selector.accept$1(B._IsBogusVisitor_true0);
  107685. }
  107686. };
  107687. A._IsBogusVisitor_visitComplexSelector_closure0.prototype = {
  107688. call$1(component) {
  107689. return component.combinators.length > 1 || this.$this.visitCompoundSelector$1(component.selector);
  107690. },
  107691. $signature: 51
  107692. };
  107693. A._IsUselessVisitor0.prototype = {
  107694. visitComplexSelector$1(complex) {
  107695. return complex.leadingCombinators.length > 1 || B.JSArray_methods.any$1(complex.components, new A._IsUselessVisitor_visitComplexSelector_closure0(this));
  107696. },
  107697. visitPseudoSelector$1(pseudo) {
  107698. return pseudo.accept$1(B._IsBogusVisitor_true0);
  107699. }
  107700. };
  107701. A._IsUselessVisitor_visitComplexSelector_closure0.prototype = {
  107702. call$1(component) {
  107703. return component.combinators.length > 1 || this.$this.visitCompoundSelector$1(component.selector);
  107704. },
  107705. $signature: 51
  107706. };
  107707. A.__IsBogusVisitor_Object_AnySelectorVisitor0.prototype = {};
  107708. A.__IsInvisibleVisitor_Object_AnySelectorVisitor0.prototype = {};
  107709. A.__IsUselessVisitor_Object_AnySelectorVisitor0.prototype = {};
  107710. A.SelectorExpression0.prototype = {
  107711. accept$1$1(visitor) {
  107712. return visitor.visitSelectorExpression$1(this);
  107713. },
  107714. accept$1(visitor) {
  107715. return this.accept$1$1(visitor, type$.dynamic);
  107716. },
  107717. toString$0(_) {
  107718. return "&";
  107719. },
  107720. $isExpression0: 1,
  107721. $isAstNode0: 1,
  107722. get$span(receiver) {
  107723. return this.span;
  107724. }
  107725. };
  107726. A._nest_closure0.prototype = {
  107727. call$1($arguments) {
  107728. var t1 = {},
  107729. selectors = J.$index$asx($arguments, 0).get$asList();
  107730. if (selectors.length === 0)
  107731. throw A.wrapException(A.SassScriptException$0(string$.x24selec, null));
  107732. t1.first = true;
  107733. 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();
  107734. },
  107735. $signature: 22
  107736. };
  107737. A._nest__closure1.prototype = {
  107738. call$1(selector) {
  107739. var t1 = this._box_0,
  107740. result = A.SassApiValue_assertSelector0(selector, !t1.first, null);
  107741. t1.first = false;
  107742. return result;
  107743. },
  107744. $signature: 195
  107745. };
  107746. A._nest__closure2.prototype = {
  107747. call$2($parent, child) {
  107748. return child.nestWithin$1($parent);
  107749. },
  107750. $signature: 214
  107751. };
  107752. A._append_closure1.prototype = {
  107753. call$1($arguments) {
  107754. var t1,
  107755. selectors = J.$index$asx($arguments, 0).get$asList();
  107756. if (selectors.length === 0)
  107757. throw A.wrapException(A.SassScriptException$0(string$.x24selec, null));
  107758. t1 = A.EvaluationContext_currentOrNull0();
  107759. 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();
  107760. },
  107761. $signature: 22
  107762. };
  107763. A._append__closure1.prototype = {
  107764. call$1(selector) {
  107765. return A.SassApiValue_assertSelector0(selector, false, null);
  107766. },
  107767. $signature: 195
  107768. };
  107769. A._append__closure2.prototype = {
  107770. call$2($parent, child) {
  107771. var t1 = child.components,
  107772. t2 = this.span;
  107773. 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);
  107774. },
  107775. $signature: 214
  107776. };
  107777. A._append___closure0.prototype = {
  107778. call$1(complex) {
  107779. var _0_0, t1, component, rest, newCompound, t2, _null = null;
  107780. if (complex.leadingCombinators.length !== 0)
  107781. throw A.wrapException(A.SassScriptException$0("Can't append " + complex.toString$0(0) + " to " + this.parent.toString$0(0) + ".", _null));
  107782. _0_0 = complex.components;
  107783. t1 = _0_0.length >= 1;
  107784. if (t1) {
  107785. component = _0_0[0];
  107786. rest = B.JSArray_methods.sublist$1(_0_0, 1);
  107787. } else {
  107788. rest = _null;
  107789. component = rest;
  107790. }
  107791. if (!t1)
  107792. throw A.wrapException(A.StateError$("Pattern matching error"));
  107793. newCompound = A._prependParent0(component.selector);
  107794. if (newCompound == null)
  107795. throw A.wrapException(A.SassScriptException$0("Can't append " + complex.toString$0(0) + " to " + this.parent.toString$0(0) + ".", _null));
  107796. t1 = this.span;
  107797. t2 = A._setArrayType([new A.ComplexSelectorComponent0(newCompound, A.List_List$unmodifiable(component.combinators, type$.CssValue_Combinator_2), t1)], type$.JSArray_ComplexSelectorComponent_2);
  107798. B.JSArray_methods.addAll$1(t2, rest);
  107799. return A.ComplexSelector$0(B.List_empty14, t2, t1, false);
  107800. },
  107801. $signature: 56
  107802. };
  107803. A._extend_closure0.prototype = {
  107804. call$1($arguments) {
  107805. var target, source,
  107806. _s8_ = "selector",
  107807. _s8_0 = "extendee",
  107808. _s8_1 = "extender",
  107809. t1 = J.getInterceptor$asx($arguments),
  107810. selector = A.SassApiValue_assertSelector0(t1.$index($arguments, 0), false, _s8_);
  107811. selector.assertNotBogus$1$name(_s8_);
  107812. target = A.SassApiValue_assertSelector0(t1.$index($arguments, 1), false, _s8_0);
  107813. target.assertNotBogus$1$name(_s8_0);
  107814. source = A.SassApiValue_assertSelector0(t1.$index($arguments, 2), false, _s8_1);
  107815. source.assertNotBogus$1$name(_s8_1);
  107816. t1 = A.EvaluationContext_currentOrNull0();
  107817. return A.ExtensionStore__extendOrReplace0(selector, source, target, B.ExtendMode_allTargets_allTargets0, (t1 == null ? A.throwExpression(A.StateError$(string$.No_Sass)) : t1).get$currentCallableSpan()).get$asSassList();
  107818. },
  107819. $signature: 22
  107820. };
  107821. A._replace_closure0.prototype = {
  107822. call$1($arguments) {
  107823. var target, source,
  107824. _s8_ = "selector",
  107825. _s8_0 = "original",
  107826. _s11_ = "replacement",
  107827. t1 = J.getInterceptor$asx($arguments),
  107828. selector = A.SassApiValue_assertSelector0(t1.$index($arguments, 0), false, _s8_);
  107829. selector.assertNotBogus$1$name(_s8_);
  107830. target = A.SassApiValue_assertSelector0(t1.$index($arguments, 1), false, _s8_0);
  107831. target.assertNotBogus$1$name(_s8_0);
  107832. source = A.SassApiValue_assertSelector0(t1.$index($arguments, 2), false, _s11_);
  107833. source.assertNotBogus$1$name(_s11_);
  107834. t1 = A.EvaluationContext_currentOrNull0();
  107835. return A.ExtensionStore__extendOrReplace0(selector, source, target, B.ExtendMode_replace_replace0, (t1 == null ? A.throwExpression(A.StateError$(string$.No_Sass)) : t1).get$currentCallableSpan()).get$asSassList();
  107836. },
  107837. $signature: 22
  107838. };
  107839. A._unify_closure0.prototype = {
  107840. call$1($arguments) {
  107841. var selector2,
  107842. _s9_ = "selector1",
  107843. _s9_0 = "selector2",
  107844. t1 = J.getInterceptor$asx($arguments),
  107845. selector1 = A.SassApiValue_assertSelector0(t1.$index($arguments, 0), false, _s9_);
  107846. selector1.assertNotBogus$1$name(_s9_);
  107847. selector2 = A.SassApiValue_assertSelector0(t1.$index($arguments, 1), false, _s9_0);
  107848. selector2.assertNotBogus$1$name(_s9_0);
  107849. t1 = selector1.unify$1(selector2);
  107850. t1 = t1 == null ? null : t1.get$asSassList();
  107851. return t1 == null ? B.C__SassNull0 : t1;
  107852. },
  107853. $signature: 3
  107854. };
  107855. A._isSuperselector_closure0.prototype = {
  107856. call$1($arguments) {
  107857. var selector2,
  107858. t1 = J.getInterceptor$asx($arguments),
  107859. selector1 = A.SassApiValue_assertSelector0(t1.$index($arguments, 0), false, "super");
  107860. selector1.assertNotBogus$1$name("super");
  107861. selector2 = A.SassApiValue_assertSelector0(t1.$index($arguments, 1), false, "sub");
  107862. selector2.assertNotBogus$1$name("sub");
  107863. return A.listIsSuperselector0(selector1.components, selector2.components) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  107864. },
  107865. $signature: 21
  107866. };
  107867. A._simpleSelectors_closure0.prototype = {
  107868. call$1($arguments) {
  107869. var t1 = A.SassApiValue_assertCompoundSelector0(J.$index$asx($arguments, 0), "selector").components;
  107870. return A.SassList$0(new A.MappedListIterable(t1, new A._simpleSelectors__closure0(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value0>")), B.ListSeparator_ECn0, false);
  107871. },
  107872. $signature: 22
  107873. };
  107874. A._simpleSelectors__closure0.prototype = {
  107875. call$1(simple) {
  107876. return new A.SassString0(A.serializeSelector0(simple, true), false);
  107877. },
  107878. $signature: 531
  107879. };
  107880. A._parse_closure0.prototype = {
  107881. call$1($arguments) {
  107882. return A.SassApiValue_assertSelector0(J.$index$asx($arguments, 0), false, "selector").get$asSassList();
  107883. },
  107884. $signature: 22
  107885. };
  107886. A.SelectorParser0.prototype = {
  107887. parse$0() {
  107888. return this.wrapSpanFormatException$1(new A.SelectorParser_parse_closure0(this));
  107889. },
  107890. parseCompoundSelector$0() {
  107891. return this.wrapSpanFormatException$1(new A.SelectorParser_parseCompoundSelector_closure0(this));
  107892. },
  107893. _selector$_selectorList$0() {
  107894. var t4, t5, lineBreak, _this = this,
  107895. t1 = _this.scanner,
  107896. t2 = t1._string_scanner$_position,
  107897. t3 = t1._sourceFile,
  107898. previousLine = t3.getLine$1(t2),
  107899. components = A._setArrayType([_this._selector$_complexSelector$0()], type$.JSArray_ComplexSelector_2);
  107900. _this.whitespace$0();
  107901. for (t4 = t1.string.length; t1.scanChar$1(44);) {
  107902. _this.whitespace$0();
  107903. if (t1.peekChar$0() === 44)
  107904. continue;
  107905. t5 = t1._string_scanner$_position;
  107906. if (t5 === t4)
  107907. break;
  107908. lineBreak = t3.getLine$1(t5) !== previousLine;
  107909. if (lineBreak)
  107910. previousLine = t3.getLine$1(t1._string_scanner$_position);
  107911. components.push(_this._selector$_complexSelector$1$lineBreak(lineBreak));
  107912. }
  107913. return A.SelectorList$0(components, _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  107914. },
  107915. _selector$_complexSelector$1$lineBreak(lineBreak) {
  107916. var t4, lastCompound, initialCombinators, _0_0, t5, result, _this = this,
  107917. _s18_ = "expected selector.",
  107918. t1 = _this.scanner,
  107919. t2 = t1._string_scanner$_position,
  107920. componentStart = new A._SpanScannerState(t1, t2),
  107921. t3 = type$.JSArray_CssValue_Combinator_2,
  107922. combinators = A._setArrayType([], t3),
  107923. components = A._setArrayType([], type$.JSArray_ComplexSelectorComponent_2);
  107924. for (t4 = type$.CssValue_Combinator_2, lastCompound = null, initialCombinators = null; true;) {
  107925. _this.whitespace$0();
  107926. _0_0 = t1.peekChar$0();
  107927. if (43 === _0_0) {
  107928. t5 = t1._string_scanner$_position;
  107929. t1.readChar$0();
  107930. combinators.push(new A.CssValue0(B.Combinator_gRV0, _this.spanFrom$1(new A._SpanScannerState(t1, t5)), t4));
  107931. continue;
  107932. }
  107933. if (62 === _0_0) {
  107934. t5 = t1._string_scanner$_position;
  107935. t1.readChar$0();
  107936. combinators.push(new A.CssValue0(B.Combinator_8I80, _this.spanFrom$1(new A._SpanScannerState(t1, t5)), t4));
  107937. continue;
  107938. }
  107939. if (126 === _0_0) {
  107940. t5 = t1._string_scanner$_position;
  107941. t1.readChar$0();
  107942. combinators.push(new A.CssValue0(B.Combinator_y180, _this.spanFrom$1(new A._SpanScannerState(t1, t5)), t4));
  107943. continue;
  107944. }
  107945. if (_0_0 == null)
  107946. break;
  107947. if (91 !== _0_0)
  107948. if (46 !== _0_0)
  107949. if (35 !== _0_0)
  107950. if (37 !== _0_0)
  107951. if (58 !== _0_0)
  107952. if (38 !== _0_0)
  107953. if (42 !== _0_0)
  107954. if (124 !== _0_0)
  107955. t5 = _this.lookingAtIdentifier$0();
  107956. else
  107957. t5 = true;
  107958. else
  107959. t5 = true;
  107960. else
  107961. t5 = true;
  107962. else
  107963. t5 = true;
  107964. else
  107965. t5 = true;
  107966. else
  107967. t5 = true;
  107968. else
  107969. t5 = true;
  107970. else
  107971. t5 = true;
  107972. if (t5) {
  107973. if (lastCompound != null) {
  107974. t5 = _this.spanFrom$1(componentStart);
  107975. result = A.List_List$from(combinators, false, t4);
  107976. result.fixed$length = Array;
  107977. result.immutable$list = Array;
  107978. components.push(new A.ComplexSelectorComponent0(lastCompound, result, t5));
  107979. } else if (combinators.length !== 0) {
  107980. componentStart = new A._SpanScannerState(t1, t1._string_scanner$_position);
  107981. initialCombinators = combinators;
  107982. }
  107983. lastCompound = _this._selector$_compoundSelector$0();
  107984. combinators = A._setArrayType([], t3);
  107985. if (t1.peekChar$0() === 38)
  107986. t1.error$1(0, string$.x22x26__ma);
  107987. continue;
  107988. }
  107989. break;
  107990. }
  107991. t3 = combinators.length !== 0;
  107992. if (t3 && _this._selector$_plainCss)
  107993. t1.error$1(0, _s18_);
  107994. else if (lastCompound != null) {
  107995. t3 = _this.spanFrom$1(componentStart);
  107996. components.push(new A.ComplexSelectorComponent0(lastCompound, A.List_List$unmodifiable(combinators, t4), t3));
  107997. } else if (t3)
  107998. initialCombinators = combinators;
  107999. else
  108000. t1.error$1(0, _s18_);
  108001. t3 = initialCombinators == null ? B.List_empty14 : initialCombinators;
  108002. return A.ComplexSelector$0(t3, components, _this.spanFrom$1(new A._SpanScannerState(t1, t2)), lineBreak);
  108003. },
  108004. _selector$_complexSelector$0() {
  108005. return this._selector$_complexSelector$1$lineBreak(false);
  108006. },
  108007. _selector$_compoundSelector$0() {
  108008. var t3, _this = this,
  108009. t1 = _this.scanner,
  108010. t2 = t1._string_scanner$_position,
  108011. components = A._setArrayType([_this._selector$_simpleSelector$0()], type$.JSArray_SimpleSelector_2);
  108012. for (t3 = _this._selector$_plainCss; _this._selector$_isSimpleSelectorStart$1(t1.peekChar$0());)
  108013. components.push(_this._selector$_simpleSelector$1$allowParent(t3));
  108014. return A.CompoundSelector$0(components, _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  108015. },
  108016. _selector$_simpleSelector$1$allowParent(allowParent) {
  108017. var t2, $name, text, t3, suffix, _this = this,
  108018. t1 = _this.scanner,
  108019. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  108020. if (allowParent == null)
  108021. allowParent = _this._selector$_allowParent;
  108022. switch (t1.peekChar$0()) {
  108023. case 91:
  108024. return _this._selector$_attributeSelector$0();
  108025. case 46:
  108026. t2 = t1._string_scanner$_position;
  108027. t1.expectChar$1(46);
  108028. return new A.ClassSelector0(_this.identifier$0(), _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  108029. case 35:
  108030. t2 = t1._string_scanner$_position;
  108031. t1.expectChar$1(35);
  108032. return new A.IDSelector0(_this.identifier$0(), _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  108033. case 37:
  108034. t2 = t1._string_scanner$_position;
  108035. t1.expectChar$1(37);
  108036. $name = _this.identifier$0();
  108037. t2 = _this.spanFrom$1(new A._SpanScannerState(t1, t2));
  108038. if (_this._selector$_plainCss)
  108039. _this.error$2(0, string$.Placeh, t1.spanFrom$1(start));
  108040. return new A.PlaceholderSelector0($name, t2);
  108041. case 58:
  108042. return _this._selector$_pseudoSelector$0();
  108043. case 38:
  108044. t2 = t1._string_scanner$_position;
  108045. t1.expectChar$1(38);
  108046. if (_this.lookingAtIdentifierBody$0()) {
  108047. text = new A.StringBuffer("");
  108048. _this._parser0$_identifierBody$1(text);
  108049. if (text._contents.length === 0)
  108050. t1.error$1(0, "Expected identifier body.");
  108051. t3 = text._contents;
  108052. suffix = t3.charCodeAt(0) == 0 ? t3 : t3;
  108053. } else
  108054. suffix = null;
  108055. if (_this._selector$_plainCss && suffix != null)
  108056. t1.error$3$length$position(0, string$.Parent, t1._string_scanner$_position - t2, t2);
  108057. t2 = _this.spanFrom$1(new A._SpanScannerState(t1, t2));
  108058. if (!allowParent)
  108059. _this.error$2(0, "Parent selectors aren't allowed here.", t1.spanFrom$1(start));
  108060. return new A.ParentSelector0(suffix, t2);
  108061. default:
  108062. return _this._selector$_typeOrUniversalSelector$0();
  108063. }
  108064. },
  108065. _selector$_simpleSelector$0() {
  108066. return this._selector$_simpleSelector$1$allowParent(null);
  108067. },
  108068. _selector$_attributeSelector$0() {
  108069. var $name, operator, next, value, modifier, _this = this, _null = null,
  108070. t1 = _this.scanner,
  108071. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  108072. t1.expectChar$1(91);
  108073. _this.whitespace$0();
  108074. $name = _this._selector$_attributeName$0();
  108075. _this.whitespace$0();
  108076. if (t1.scanChar$1(93))
  108077. return new A.AttributeSelector0($name, _null, _null, _null, _this.spanFrom$1(start));
  108078. operator = _this._selector$_attributeOperator$0();
  108079. _this.whitespace$0();
  108080. next = t1.peekChar$0();
  108081. value = next === 39 || next === 34 ? _this.string$0() : _this.identifier$0();
  108082. _this.whitespace$0();
  108083. next = t1.peekChar$0();
  108084. modifier = next != null && A.CharacterExtension_get_isAlphabetic0(next) ? A.Primitives_stringFromCharCode(t1.readChar$0()) : _null;
  108085. t1.expectChar$1(93);
  108086. return new A.AttributeSelector0($name, operator, value, modifier, _this.spanFrom$1(start));
  108087. },
  108088. _selector$_attributeName$0() {
  108089. var nameOrNamespace, _this = this,
  108090. t1 = _this.scanner;
  108091. if (t1.scanChar$1(42)) {
  108092. t1.expectChar$1(124);
  108093. return new A.QualifiedName0(_this.identifier$0(), "*");
  108094. }
  108095. if (t1.scanChar$1(124))
  108096. return new A.QualifiedName0(_this.identifier$0(), "");
  108097. nameOrNamespace = _this.identifier$0();
  108098. if (t1.peekChar$0() !== 124 || t1.peekChar$1(1) === 61)
  108099. return new A.QualifiedName0(nameOrNamespace, null);
  108100. t1.readChar$0();
  108101. return new A.QualifiedName0(_this.identifier$0(), nameOrNamespace);
  108102. },
  108103. _selector$_attributeOperator$0() {
  108104. var t1 = this.scanner,
  108105. t2 = t1._string_scanner$_position;
  108106. switch (t1.readChar$0()) {
  108107. case 61:
  108108. return B.AttributeOperator_4QF0;
  108109. case 126:
  108110. t1.expectChar$1(61);
  108111. return B.AttributeOperator_yT80;
  108112. case 124:
  108113. t1.expectChar$1(61);
  108114. return B.AttributeOperator_jqB0;
  108115. case 94:
  108116. t1.expectChar$1(61);
  108117. return B.AttributeOperator_cMb0;
  108118. case 36:
  108119. t1.expectChar$1(61);
  108120. return B.AttributeOperator_qhE0;
  108121. case 42:
  108122. t1.expectChar$1(61);
  108123. return B.AttributeOperator_61T0;
  108124. default:
  108125. t1.error$2$position(0, 'Expected "]".', t2);
  108126. }
  108127. },
  108128. _selector$_pseudoSelector$0() {
  108129. var element, $name, unvendored, selector, argument, t2, _this = this, _null = null,
  108130. t1 = _this.scanner,
  108131. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  108132. t1.expectChar$1(58);
  108133. element = t1.scanChar$1(58);
  108134. $name = _this.identifier$0();
  108135. if (!t1.scanChar$1(40))
  108136. return A.PseudoSelector$0($name, _this.spanFrom$1(start), _null, element, _null);
  108137. _this.whitespace$0();
  108138. unvendored = A.unvendor0($name);
  108139. if (element)
  108140. if ($._selectorPseudoElements0.contains$1(0, unvendored)) {
  108141. selector = _this._selector$_selectorList$0();
  108142. argument = _null;
  108143. } else {
  108144. argument = _this.declarationValue$1$allowEmpty(true);
  108145. selector = _null;
  108146. }
  108147. else if ($._selectorPseudoClasses0.contains$1(0, unvendored)) {
  108148. selector = _this._selector$_selectorList$0();
  108149. argument = _null;
  108150. } else if (unvendored === "nth-child" || unvendored === "nth-last-child") {
  108151. argument = _this._selector$_aNPlusB$0();
  108152. _this.whitespace$0();
  108153. t2 = t1.peekChar$1(-1);
  108154. if ((t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12) && t1.peekChar$0() !== 41) {
  108155. _this.expectIdentifier$1("of");
  108156. argument += " of";
  108157. _this.whitespace$0();
  108158. selector = _this._selector$_selectorList$0();
  108159. } else
  108160. selector = _null;
  108161. } else {
  108162. argument = B.JSString_methods.trimRight$0(_this.declarationValue$1$allowEmpty(true));
  108163. selector = _null;
  108164. }
  108165. t1.expectChar$1(41);
  108166. return A.PseudoSelector$0($name, _this.spanFrom$1(start), argument, element, selector);
  108167. },
  108168. _selector$_aNPlusB$0() {
  108169. var t1, _0_0, t2, $self, next, _this = this;
  108170. $label0$0: {
  108171. t1 = _this.scanner;
  108172. _0_0 = t1.peekChar$0();
  108173. if (101 === _0_0 || 69 === _0_0) {
  108174. _this.expectIdentifier$1("even");
  108175. return "even";
  108176. }
  108177. if (111 === _0_0 || 79 === _0_0) {
  108178. _this.expectIdentifier$1("odd");
  108179. return "odd";
  108180. }
  108181. if (43 === _0_0 || 45 === _0_0) {
  108182. t2 = "" + A.Primitives_stringFromCharCode(t1.readChar$0());
  108183. break $label0$0;
  108184. }
  108185. t2 = "";
  108186. }
  108187. $self = t1.peekChar$0();
  108188. if ($self != null && $self >= 48 && $self <= 57) {
  108189. do {
  108190. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  108191. $self = t1.peekChar$0();
  108192. } while ($self != null && $self >= 48 && $self <= 57);
  108193. _this.whitespace$0();
  108194. if (!_this.scanIdentChar$1(110))
  108195. return t2.charCodeAt(0) == 0 ? t2 : t2;
  108196. } else
  108197. _this.expectIdentChar$1(110);
  108198. t2 += A.Primitives_stringFromCharCode(110);
  108199. _this.whitespace$0();
  108200. next = t1.peekChar$0();
  108201. if (next !== 43 && next !== 45)
  108202. return t2.charCodeAt(0) == 0 ? t2 : t2;
  108203. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  108204. _this.whitespace$0();
  108205. $self = t1.peekChar$0();
  108206. if (!($self != null && $self >= 48 && $self <= 57))
  108207. t1.error$1(0, "Expected a number.");
  108208. do {
  108209. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  108210. $self = t1.peekChar$0();
  108211. } while ($self != null && $self >= 48 && $self <= 57);
  108212. return t2.charCodeAt(0) == 0 ? t2 : t2;
  108213. },
  108214. _selector$_typeOrUniversalSelector$0() {
  108215. var nameOrNamespace, _this = this,
  108216. t1 = _this.scanner,
  108217. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  108218. if (t1.scanChar$1(42)) {
  108219. if (!t1.scanChar$1(124))
  108220. return new A.UniversalSelector0(null, _this.spanFrom$1(start));
  108221. 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));
  108222. } else if (t1.scanChar$1(124))
  108223. 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));
  108224. nameOrNamespace = _this.identifier$0();
  108225. if (!t1.scanChar$1(124))
  108226. return new A.TypeSelector0(new A.QualifiedName0(nameOrNamespace, null), _this.spanFrom$1(start));
  108227. else if (t1.scanChar$1(42))
  108228. return new A.UniversalSelector0(nameOrNamespace, _this.spanFrom$1(start));
  108229. else
  108230. return new A.TypeSelector0(new A.QualifiedName0(_this.identifier$0(), nameOrNamespace), _this.spanFrom$1(start));
  108231. },
  108232. _selector$_isSimpleSelectorStart$1(character) {
  108233. var t1;
  108234. $label0$0: {
  108235. if (42 === character || 91 === character || 46 === character || 35 === character || 37 === character || 58 === character) {
  108236. t1 = true;
  108237. break $label0$0;
  108238. }
  108239. if (38 === character) {
  108240. t1 = this._selector$_plainCss;
  108241. break $label0$0;
  108242. }
  108243. t1 = false;
  108244. break $label0$0;
  108245. }
  108246. return t1;
  108247. }
  108248. };
  108249. A.SelectorParser_parse_closure0.prototype = {
  108250. call$0() {
  108251. var t1 = this.$this,
  108252. selector = t1._selector$_selectorList$0();
  108253. t1 = t1.scanner;
  108254. if (t1._string_scanner$_position !== t1.string.length)
  108255. t1.error$1(0, "expected selector.");
  108256. return selector;
  108257. },
  108258. $signature: 532
  108259. };
  108260. A.SelectorParser_parseCompoundSelector_closure0.prototype = {
  108261. call$0() {
  108262. var t1 = this.$this,
  108263. compound = t1._selector$_compoundSelector$0();
  108264. t1 = t1.scanner;
  108265. if (t1._string_scanner$_position !== t1.string.length)
  108266. t1.error$1(0, "expected selector.");
  108267. return compound;
  108268. },
  108269. $signature: 533
  108270. };
  108271. A.SelectorSearchVisitor0.prototype = {
  108272. visitAttributeSelector$1(attribute) {
  108273. return null;
  108274. },
  108275. visitClassSelector$1(klass) {
  108276. return null;
  108277. },
  108278. visitIDSelector$1(id) {
  108279. return null;
  108280. },
  108281. visitParentSelector$1(placeholder) {
  108282. return null;
  108283. },
  108284. visitPlaceholderSelector$1(placeholder) {
  108285. return null;
  108286. },
  108287. visitTypeSelector$1(type) {
  108288. return null;
  108289. },
  108290. visitUniversalSelector$1(universal) {
  108291. return null;
  108292. },
  108293. visitComplexSelector$1(complex) {
  108294. return A.IterableExtension_search0(complex.components, new A.SelectorSearchVisitor_visitComplexSelector_closure0(this));
  108295. },
  108296. visitCompoundSelector$1(compound) {
  108297. return A.IterableExtension_search0(compound.components, new A.SelectorSearchVisitor_visitCompoundSelector_closure0(this));
  108298. },
  108299. visitPseudoSelector$1(pseudo) {
  108300. return A.NullableExtension_andThen0(pseudo.selector, this.get$visitSelectorList());
  108301. },
  108302. visitSelectorList$1(list) {
  108303. return A.IterableExtension_search0(list.components, this.get$visitComplexSelector());
  108304. }
  108305. };
  108306. A.SelectorSearchVisitor_visitComplexSelector_closure0.prototype = {
  108307. call$1(component) {
  108308. return this.$this.visitCompoundSelector$1(component.selector);
  108309. },
  108310. $signature() {
  108311. return A._instanceType(this.$this)._eval$1("SelectorSearchVisitor0.T?(ComplexSelectorComponent0)");
  108312. }
  108313. };
  108314. A.SelectorSearchVisitor_visitCompoundSelector_closure0.prototype = {
  108315. call$1(simple) {
  108316. return simple.accept$1(this.$this);
  108317. },
  108318. $signature() {
  108319. return A._instanceType(this.$this)._eval$1("SelectorSearchVisitor0.T?(SimpleSelector0)");
  108320. }
  108321. };
  108322. A.serialize_closure0.prototype = {
  108323. call$1(codeUnit) {
  108324. return codeUnit > 127;
  108325. },
  108326. $signature: 45
  108327. };
  108328. A._SerializeVisitor0.prototype = {
  108329. visitCssStylesheet$1(node) {
  108330. var t1, t2, t3, t4, t5, t6, t7, previous, previous0, t8, _this = this;
  108331. 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();) {
  108332. previous0 = t1.get$current(t1);
  108333. if (t2)
  108334. t8 = t3 ? previous0.accept$1(B._IsInvisibleVisitor_true_true0) : previous0.accept$1(B._IsInvisibleVisitor_true_false0);
  108335. else
  108336. t8 = false;
  108337. if (t8)
  108338. continue;
  108339. if (previous != null) {
  108340. if (t5._is(previous) ? previous.get$isChildless() : !(previous instanceof A.ModifiableCssComment0))
  108341. t6.writeCharCode$1(59);
  108342. if (_this._serialize0$_isTrailingComment$2(previous0, previous)) {
  108343. if (t4)
  108344. t6.writeCharCode$1(32);
  108345. } else {
  108346. if (t4)
  108347. t6.write$1(0, t7);
  108348. if (previous.get$isGroupEnd())
  108349. if (t4)
  108350. t6.write$1(0, t7);
  108351. }
  108352. }
  108353. previous0.accept$1(_this);
  108354. previous = previous0;
  108355. }
  108356. if (previous != null)
  108357. t1 = (t5._is(previous) ? previous.get$isChildless() : !(previous instanceof A.ModifiableCssComment0)) && t4;
  108358. else
  108359. t1 = false;
  108360. if (t1)
  108361. t6.writeCharCode$1(59);
  108362. },
  108363. visitCssComment$1(node) {
  108364. this._serialize0$_buffer.forSpan$2(node.span, new A._SerializeVisitor_visitCssComment_closure0(this, node));
  108365. },
  108366. visitCssAtRule$1(node) {
  108367. var t1, _this = this;
  108368. _this._serialize0$_writeIndentation$0();
  108369. t1 = _this._serialize0$_buffer;
  108370. t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssAtRule_closure0(_this, node));
  108371. if (!node.isChildless) {
  108372. if (_this._serialize0$_style !== B.OutputStyle_10)
  108373. t1.writeCharCode$1(32);
  108374. _this._serialize0$_visitChildren$1(node);
  108375. }
  108376. },
  108377. visitCssMediaRule$1(node) {
  108378. var t1, _this = this;
  108379. _this._serialize0$_writeIndentation$0();
  108380. t1 = _this._serialize0$_buffer;
  108381. t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssMediaRule_closure0(_this, node));
  108382. if (_this._serialize0$_style !== B.OutputStyle_10)
  108383. t1.writeCharCode$1(32);
  108384. _this._serialize0$_visitChildren$1(node);
  108385. },
  108386. visitCssImport$1(node) {
  108387. this._serialize0$_writeIndentation$0();
  108388. this._serialize0$_buffer.forSpan$2(node.span, new A._SerializeVisitor_visitCssImport_closure0(this, node));
  108389. },
  108390. _serialize0$_writeImportUrl$1(url) {
  108391. var urlContents, maybeQuote, _this = this;
  108392. if (_this._serialize0$_style !== B.OutputStyle_10 || url.charCodeAt(0) !== 117) {
  108393. _this._serialize0$_buffer.write$1(0, url);
  108394. return;
  108395. }
  108396. urlContents = B.JSString_methods.substring$2(url, 4, url.length - 1);
  108397. maybeQuote = urlContents.charCodeAt(0);
  108398. if (maybeQuote === 39 || maybeQuote === 34)
  108399. _this._serialize0$_buffer.write$1(0, urlContents);
  108400. else
  108401. _this._serialize0$_visitQuotedString$1(urlContents);
  108402. },
  108403. visitCssKeyframeBlock$1(node) {
  108404. var t1, _this = this;
  108405. _this._serialize0$_writeIndentation$0();
  108406. t1 = _this._serialize0$_buffer;
  108407. t1.forSpan$2(node.selector.span, new A._SerializeVisitor_visitCssKeyframeBlock_closure0(_this, node));
  108408. if (_this._serialize0$_style !== B.OutputStyle_10)
  108409. t1.writeCharCode$1(32);
  108410. _this._serialize0$_visitChildren$1(node);
  108411. },
  108412. _serialize0$_visitMediaQuery$1(query) {
  108413. var t1, _1_0, _2_0, condition, operator, t2, _this = this,
  108414. _0_0 = query.modifier;
  108415. if (_0_0 != null) {
  108416. t1 = _this._serialize0$_buffer;
  108417. t1.write$1(0, _0_0);
  108418. t1.writeCharCode$1(32);
  108419. }
  108420. _1_0 = query.type;
  108421. if (_1_0 != null) {
  108422. t1 = _this._serialize0$_buffer;
  108423. t1.write$1(0, _1_0);
  108424. if (query.conditions.length !== 0)
  108425. t1.write$1(0, " and ");
  108426. }
  108427. _2_0 = query.conditions;
  108428. if (_2_0.length === 1)
  108429. t1 = B.JSString_methods.startsWith$1(_2_0[0], "(not ");
  108430. else
  108431. t1 = false;
  108432. if (t1) {
  108433. t1 = _this._serialize0$_buffer;
  108434. t1.write$1(0, "not ");
  108435. condition = B.JSArray_methods.get$first(_2_0);
  108436. t1.write$1(0, B.JSString_methods.substring$2(condition, 5, condition.length - 1));
  108437. } else {
  108438. operator = query.conjunction ? "and" : "or";
  108439. t1 = _this._serialize0$_style === B.OutputStyle_10 ? operator + " " : " " + operator + " ";
  108440. t2 = _this._serialize0$_buffer;
  108441. _this._serialize0$_writeBetween$3(_2_0, t1, t2.get$write(t2));
  108442. }
  108443. },
  108444. visitCssStyleRule$1(node) {
  108445. var t1, _this = this;
  108446. _this._serialize0$_writeIndentation$0();
  108447. t1 = _this._serialize0$_buffer;
  108448. t1.forSpan$2(node._style_rule0$_selector._box0$_inner.value.span, new A._SerializeVisitor_visitCssStyleRule_closure0(_this, node));
  108449. if (_this._serialize0$_style !== B.OutputStyle_10)
  108450. t1.writeCharCode$1(32);
  108451. _this._serialize0$_visitChildren$1(node);
  108452. },
  108453. visitCssSupportsRule$1(node) {
  108454. var t1, _this = this;
  108455. _this._serialize0$_writeIndentation$0();
  108456. t1 = _this._serialize0$_buffer;
  108457. t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssSupportsRule_closure0(_this, node));
  108458. if (_this._serialize0$_style !== B.OutputStyle_10)
  108459. t1.writeCharCode$1(32);
  108460. _this._serialize0$_visitChildren$1(node);
  108461. },
  108462. visitCssDeclaration$1(node) {
  108463. var error, stackTrace, error0, stackTrace0, t1, t2, exception, _this = this;
  108464. _this._serialize0$_writeIndentation$0();
  108465. t1 = node.name;
  108466. _this._serialize0$_write$1(t1);
  108467. t2 = _this._serialize0$_buffer;
  108468. t2.writeCharCode$1(58);
  108469. if (J.startsWith$1$s(t1.value, "--") && node.parsedAsCustomProperty)
  108470. t2.forSpan$2(node.value.span, new A._SerializeVisitor_visitCssDeclaration_closure1(_this, node));
  108471. else {
  108472. if (_this._serialize0$_style !== B.OutputStyle_10)
  108473. t2.writeCharCode$1(32);
  108474. try {
  108475. t2.forSpan$2(node.valueSpanForMap, new A._SerializeVisitor_visitCssDeclaration_closure2(_this, node));
  108476. } catch (exception) {
  108477. t1 = A.unwrapException(exception);
  108478. if (t1 instanceof A.MultiSpanSassScriptException0) {
  108479. error = t1;
  108480. stackTrace = A.getTraceFromException(exception);
  108481. A.throwWithTrace0(A.MultiSpanSassException$0(error.message, node.value.span, error.primaryLabel, error.secondarySpans, null), error, stackTrace);
  108482. } else if (t1 instanceof A.SassScriptException0) {
  108483. error0 = t1;
  108484. stackTrace0 = A.getTraceFromException(exception);
  108485. t1 = error0.message;
  108486. A.throwWithTrace0(new A.SassException0(B.Set_empty, t1, node.value.span), error0, stackTrace0);
  108487. } else
  108488. throw exception;
  108489. }
  108490. }
  108491. },
  108492. _serialize0$_writeFoldedValue$1(node) {
  108493. var t1, t2, next, t3,
  108494. scanner = A.StringScanner$(type$.SassString_2._as(node.value.value)._string0$_text, null, null);
  108495. for (t1 = scanner.string.length, t2 = this._serialize0$_buffer; scanner._string_scanner$_position !== t1;) {
  108496. next = scanner.readChar$0();
  108497. if (next !== 10) {
  108498. t2.writeCharCode$1(next);
  108499. continue;
  108500. }
  108501. t2.writeCharCode$1(32);
  108502. while (true) {
  108503. t3 = scanner.peekChar$0();
  108504. if (!(t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12))
  108505. break;
  108506. scanner.readChar$0();
  108507. }
  108508. }
  108509. },
  108510. _serialize0$_writeReindentedValue$1(node) {
  108511. var _0_0, t1, _this = this,
  108512. value = type$.SassString_2._as(node.value.value)._string0$_text;
  108513. $label0$0: {
  108514. _0_0 = _this._serialize0$_minimumIndentation$1(value);
  108515. if (_0_0 == null) {
  108516. _this._serialize0$_buffer.write$1(0, value);
  108517. break $label0$0;
  108518. }
  108519. if (-1 === _0_0) {
  108520. t1 = _this._serialize0$_buffer;
  108521. t1.write$1(0, A.trimAsciiRight0(value, true));
  108522. t1.writeCharCode$1(32);
  108523. break $label0$0;
  108524. }
  108525. t1 = node.name.span;
  108526. t1 = t1.get$start(t1);
  108527. _this._serialize0$_writeWithIndent$2(value, Math.min(_0_0, t1.file.getColumn$1(t1.offset)));
  108528. }
  108529. },
  108530. _serialize0$_minimumIndentation$1(text) {
  108531. var character, t2, min, next, min0,
  108532. scanner = A.LineScanner$(text),
  108533. t1 = scanner.string.length;
  108534. while (true) {
  108535. if (scanner._string_scanner$_position !== t1) {
  108536. character = scanner.super$StringScanner$readChar();
  108537. scanner._adjustLineAndColumn$1(character);
  108538. t2 = character !== 10;
  108539. } else
  108540. t2 = false;
  108541. if (!t2)
  108542. break;
  108543. }
  108544. if (scanner._string_scanner$_position === t1)
  108545. return scanner.peekChar$1(-1) === 10 ? -1 : null;
  108546. for (min = null; scanner._string_scanner$_position !== t1;) {
  108547. for (; scanner._string_scanner$_position !== t1;) {
  108548. next = scanner.peekChar$0();
  108549. if (next !== 32 && next !== 9)
  108550. break;
  108551. scanner._adjustLineAndColumn$1(scanner.super$StringScanner$readChar());
  108552. }
  108553. if (scanner._string_scanner$_position === t1 || scanner.scanChar$1(10))
  108554. continue;
  108555. min0 = scanner._line_scanner$_column;
  108556. min = min == null ? min0 : Math.min(min, min0);
  108557. while (true) {
  108558. if (scanner._string_scanner$_position !== t1) {
  108559. character = scanner.super$StringScanner$readChar();
  108560. scanner._adjustLineAndColumn$1(character);
  108561. t2 = character !== 10;
  108562. } else
  108563. t2 = false;
  108564. if (!t2)
  108565. break;
  108566. }
  108567. }
  108568. return min == null ? -1 : min;
  108569. },
  108570. _serialize0$_writeWithIndent$2(text, minimumIndentation) {
  108571. var t1, t2, t3, character, lineStart, newlines, end,
  108572. scanner = A.LineScanner$(text);
  108573. for (t1 = scanner.string, t2 = t1.length, t3 = this._serialize0$_buffer; scanner._string_scanner$_position !== t2;) {
  108574. character = scanner.super$StringScanner$readChar();
  108575. scanner._adjustLineAndColumn$1(character);
  108576. if (character === 10)
  108577. break;
  108578. t3.writeCharCode$1(character);
  108579. }
  108580. for (; true;) {
  108581. lineStart = scanner._string_scanner$_position;
  108582. for (newlines = 1; true;) {
  108583. if (scanner._string_scanner$_position === t2) {
  108584. t3.writeCharCode$1(32);
  108585. return;
  108586. }
  108587. $label0$2: {
  108588. character = scanner.super$StringScanner$readChar();
  108589. scanner._adjustLineAndColumn$1(character);
  108590. if (32 === character || 9 === character)
  108591. continue;
  108592. if (10 === character) {
  108593. lineStart = scanner._string_scanner$_position;
  108594. ++newlines;
  108595. break $label0$2;
  108596. }
  108597. break;
  108598. }
  108599. }
  108600. this._serialize0$_writeTimes$2(10, newlines);
  108601. this._serialize0$_writeIndentation$0();
  108602. end = scanner._string_scanner$_position;
  108603. t3.write$1(0, B.JSString_methods.substring$2(t1, lineStart + minimumIndentation, end));
  108604. for (; true;) {
  108605. if (scanner._string_scanner$_position === t2)
  108606. return;
  108607. character = scanner.super$StringScanner$readChar();
  108608. scanner._adjustLineAndColumn$1(character);
  108609. if (character === 10)
  108610. break;
  108611. t3.writeCharCode$1(character);
  108612. }
  108613. }
  108614. },
  108615. visitCalculation$1(value) {
  108616. var t2, _this = this,
  108617. t1 = _this._serialize0$_buffer;
  108618. t1.write$1(0, value.name);
  108619. t1.writeCharCode$1(40);
  108620. t2 = _this._serialize0$_style === B.OutputStyle_10 ? "," : ", ";
  108621. _this._serialize0$_writeBetween$3(value.$arguments, t2, _this.get$_serialize0$_writeCalculationValue());
  108622. t1.writeCharCode$1(41);
  108623. },
  108624. _serialize0$_writeCalculationValue$1(value) {
  108625. var _2_4_isSet, _2_4, t1, _0_0, _1_0, first, rest, operator, left, right, parenthesizeLeft, operatorWhitespace, t2, parenthesizeRight, _this = this, _null = null;
  108626. $label1$1: {
  108627. _2_4_isSet = value instanceof A.SassNumber0;
  108628. if (_2_4_isSet) {
  108629. _2_4 = value.get$hasComplexUnits();
  108630. t1 = _2_4 && !_this._serialize0$_inspect;
  108631. } else {
  108632. _2_4 = _null;
  108633. t1 = false;
  108634. }
  108635. if (t1)
  108636. throw A.wrapException(A.SassScriptException$0(A.S(value) + " isn't a valid CSS value.", _null));
  108637. if (_2_4_isSet && !isFinite(value._number1$_value)) {
  108638. $label0$0: {
  108639. _0_0 = value._number1$_value;
  108640. if (1 / 0 === _0_0) {
  108641. _this._serialize0$_buffer.write$1(0, "infinity");
  108642. break $label0$0;
  108643. }
  108644. if (-1 / 0 === _0_0) {
  108645. _this._serialize0$_buffer.write$1(0, "-infinity");
  108646. break $label0$0;
  108647. }
  108648. if (isNaN(_0_0))
  108649. _this._serialize0$_buffer.write$1(0, "NaN");
  108650. }
  108651. t1 = J.getInterceptor$x(value);
  108652. _this._serialize0$_writeCalculationUnits$2(t1.get$numeratorUnits(value), t1.get$denominatorUnits(value));
  108653. break $label1$1;
  108654. }
  108655. if (_2_4_isSet)
  108656. t1 = _2_4;
  108657. else
  108658. t1 = false;
  108659. if (t1) {
  108660. _this._serialize0$_writeNumber$1(value._number1$_value);
  108661. t1 = J.getInterceptor$x(value);
  108662. _1_0 = t1.get$numeratorUnits(value);
  108663. if (_1_0.length >= 1) {
  108664. first = _1_0[0];
  108665. rest = B.JSArray_methods.sublist$1(_1_0, 1);
  108666. _this._serialize0$_buffer.write$1(0, first);
  108667. _this._serialize0$_writeCalculationUnits$2(rest, t1.get$denominatorUnits(value));
  108668. } else
  108669. _this._serialize0$_writeCalculationUnits$2(A._setArrayType([], type$.JSArray_String), t1.get$denominatorUnits(value));
  108670. break $label1$1;
  108671. }
  108672. if (value instanceof A.Value0) {
  108673. value.accept$1(_this);
  108674. break $label1$1;
  108675. }
  108676. t1 = value instanceof A.CalculationOperation0;
  108677. if (t1) {
  108678. operator = value._calculation0$_operator;
  108679. left = value._calculation0$_left;
  108680. right = value._calculation0$_right;
  108681. right = right;
  108682. } else {
  108683. right = _null;
  108684. left = right;
  108685. operator = left;
  108686. }
  108687. if (t1) {
  108688. parenthesizeLeft = left instanceof A.CalculationOperation0 && left._calculation0$_operator.precedence < operator.precedence;
  108689. if (parenthesizeLeft)
  108690. _this._serialize0$_buffer.writeCharCode$1(40);
  108691. _this._serialize0$_writeCalculationValue$1(left);
  108692. if (parenthesizeLeft)
  108693. _this._serialize0$_buffer.writeCharCode$1(41);
  108694. operatorWhitespace = _this._serialize0$_style !== B.OutputStyle_10 || operator.precedence === 1;
  108695. if (operatorWhitespace)
  108696. _this._serialize0$_buffer.writeCharCode$1(32);
  108697. t1 = _this._serialize0$_buffer;
  108698. t1.write$1(0, operator.operator);
  108699. if (operatorWhitespace)
  108700. t1.writeCharCode$1(32);
  108701. if (!(right instanceof A.CalculationOperation0 && _this._serialize0$_parenthesizeCalculationRhs$2(operator, right._calculation0$_operator)))
  108702. if (operator === B.CalculationOperator_Qf10) {
  108703. if (right instanceof A.SassNumber0)
  108704. t2 = isFinite(right._number1$_value) ? right.get$hasComplexUnits() : right.get$hasUnits();
  108705. else
  108706. t2 = false;
  108707. parenthesizeRight = t2;
  108708. } else
  108709. parenthesizeRight = false;
  108710. else
  108711. parenthesizeRight = true;
  108712. if (parenthesizeRight)
  108713. t1.writeCharCode$1(40);
  108714. _this._serialize0$_writeCalculationValue$1(right);
  108715. if (parenthesizeRight)
  108716. t1.writeCharCode$1(41);
  108717. }
  108718. }
  108719. },
  108720. _serialize0$_writeCalculationUnits$2(numeratorUnits, denominatorUnits) {
  108721. var t1, t2, t3, t4;
  108722. for (t1 = J.get$iterator$ax(numeratorUnits), t2 = this._serialize0$_buffer, t3 = this._serialize0$_style !== B.OutputStyle_10; t1.moveNext$0();) {
  108723. t4 = t1.get$current(t1);
  108724. if (t3)
  108725. t2.writeCharCode$1(32);
  108726. t2.writeCharCode$1(42);
  108727. if (t3)
  108728. t2.writeCharCode$1(32);
  108729. t2.writeCharCode$1(49);
  108730. t2.write$1(0, t4);
  108731. }
  108732. for (t1 = J.get$iterator$ax(denominatorUnits); t1.moveNext$0();) {
  108733. t4 = t1.get$current(t1);
  108734. if (t3)
  108735. t2.writeCharCode$1(32);
  108736. t2.writeCharCode$1(47);
  108737. if (t3)
  108738. t2.writeCharCode$1(32);
  108739. t2.writeCharCode$1(49);
  108740. t2.write$1(0, t4);
  108741. }
  108742. },
  108743. _serialize0$_parenthesizeCalculationRhs$2(outer, right) {
  108744. var t1;
  108745. $label0$0: {
  108746. if (B.CalculationOperator_Qf10 === outer) {
  108747. t1 = true;
  108748. break $label0$0;
  108749. }
  108750. if (B.CalculationOperator_g2q0 === outer) {
  108751. t1 = false;
  108752. break $label0$0;
  108753. }
  108754. t1 = right === B.CalculationOperator_g2q0 || right === B.CalculationOperator_CxF0;
  108755. break $label0$0;
  108756. }
  108757. return t1;
  108758. },
  108759. visitColor$1(value) {
  108760. var hexLength, _0_0, t1, $name, _1_0, opaque, t2, _3_0, _this = this;
  108761. if (_this._serialize0$_style === B.OutputStyle_10)
  108762. if (!A.fuzzyEquals0(value._color1$_alpha, 1))
  108763. _this._serialize0$_writeRgb$1(value);
  108764. else {
  108765. hexLength = _this._serialize0$_canUseShortHex$1(value) ? 4 : 7;
  108766. _0_0 = $.$get$namesByColor0().$index(0, value);
  108767. if (_0_0 != null) {
  108768. t1 = _0_0.length <= hexLength;
  108769. $name = _0_0;
  108770. } else {
  108771. $name = null;
  108772. t1 = false;
  108773. }
  108774. if (t1)
  108775. _this._serialize0$_buffer.write$1(0, $name);
  108776. else {
  108777. t1 = _this._serialize0$_buffer;
  108778. if (_this._serialize0$_canUseShortHex$1(value)) {
  108779. t1.writeCharCode$1(35);
  108780. t1.writeCharCode$1(A.hexCharFor0(value.get$red(0) & 15));
  108781. t1.writeCharCode$1(A.hexCharFor0(value.get$green(0) & 15));
  108782. t1.writeCharCode$1(A.hexCharFor0(value.get$blue(0) & 15));
  108783. } else {
  108784. t1.writeCharCode$1(35);
  108785. _this._serialize0$_writeHexComponent$1(value.get$red(0));
  108786. _this._serialize0$_writeHexComponent$1(value.get$green(0));
  108787. _this._serialize0$_writeHexComponent$1(value.get$blue(0));
  108788. }
  108789. }
  108790. }
  108791. else {
  108792. _1_0 = value.format;
  108793. if (_1_0 != null)
  108794. $label0$0: {
  108795. if (B._ColorFormatEnum_rgbFunction0 === _1_0) {
  108796. _this._serialize0$_writeRgb$1(value);
  108797. break $label0$0;
  108798. }
  108799. if (B._ColorFormatEnum_hslFunction0 === _1_0) {
  108800. t1 = value._color1$_alpha;
  108801. opaque = A.fuzzyEquals0(t1, 1);
  108802. t2 = _this._serialize0$_buffer;
  108803. t2.write$1(0, opaque ? "hsl(" : "hsla(");
  108804. _this._serialize0$_writeNumber$1(value.get$hue(0));
  108805. t2.write$1(0, ", ");
  108806. _this._serialize0$_writeNumber$1(value.get$saturation(0));
  108807. t2.writeCharCode$1(37);
  108808. t2.write$1(0, ", ");
  108809. _this._serialize0$_writeNumber$1(value.get$lightness(0));
  108810. t2.writeCharCode$1(37);
  108811. if (!opaque) {
  108812. t2.write$1(0, ", ");
  108813. _this._serialize0$_writeNumber$1(t1);
  108814. }
  108815. t2.writeCharCode$1(41);
  108816. break $label0$0;
  108817. }
  108818. if (_1_0 instanceof A.SpanColorFormat0) {
  108819. _this._serialize0$_buffer.write$1(0, _1_0._color1$_span.get$text());
  108820. break $label0$0;
  108821. }
  108822. }
  108823. else {
  108824. _3_0 = $.$get$namesByColor0().$index(0, value);
  108825. if (_3_0 != null) {
  108826. t1 = !A.fuzzyEquals0(value._color1$_alpha, 0);
  108827. $name = _3_0;
  108828. } else {
  108829. $name = null;
  108830. t1 = false;
  108831. }
  108832. if (t1)
  108833. _this._serialize0$_buffer.write$1(0, $name);
  108834. else if (A.fuzzyEquals0(value._color1$_alpha, 1)) {
  108835. _this._serialize0$_buffer.writeCharCode$1(35);
  108836. _this._serialize0$_writeHexComponent$1(value.get$red(0));
  108837. _this._serialize0$_writeHexComponent$1(value.get$green(0));
  108838. _this._serialize0$_writeHexComponent$1(value.get$blue(0));
  108839. } else
  108840. _this._serialize0$_writeRgb$1(value);
  108841. }
  108842. }
  108843. },
  108844. _serialize0$_writeRgb$1(value) {
  108845. var t3,
  108846. t1 = value._color1$_alpha,
  108847. opaque = A.fuzzyEquals0(t1, 1),
  108848. t2 = this._serialize0$_buffer;
  108849. t2.write$1(0, opaque ? "rgb(" : "rgba(");
  108850. t2.write$1(0, value.get$red(0));
  108851. t3 = this._serialize0$_style === B.OutputStyle_10;
  108852. t2.write$1(0, t3 ? "," : ", ");
  108853. t2.write$1(0, value.get$green(0));
  108854. t2.write$1(0, t3 ? "," : ", ");
  108855. t2.write$1(0, value.get$blue(0));
  108856. if (!opaque) {
  108857. t2.write$1(0, t3 ? "," : ", ");
  108858. this._serialize0$_writeNumber$1(t1);
  108859. }
  108860. t2.writeCharCode$1(41);
  108861. },
  108862. _serialize0$_canUseShortHex$1(color) {
  108863. var t1 = color.get$red(0);
  108864. if ((t1 & 15) === B.JSInt_methods._shrOtherPositive$1(t1, 4)) {
  108865. t1 = color.get$green(0);
  108866. if ((t1 & 15) === B.JSInt_methods._shrOtherPositive$1(t1, 4)) {
  108867. t1 = color.get$blue(0);
  108868. t1 = (t1 & 15) === B.JSInt_methods._shrOtherPositive$1(t1, 4);
  108869. } else
  108870. t1 = false;
  108871. } else
  108872. t1 = false;
  108873. return t1;
  108874. },
  108875. _serialize0$_writeHexComponent$1(color) {
  108876. var t1 = this._serialize0$_buffer;
  108877. t1.writeCharCode$1(A.hexCharFor0(B.JSInt_methods._shrOtherPositive$1(color, 4)));
  108878. t1.writeCharCode$1(A.hexCharFor0(color & 15));
  108879. },
  108880. visitList$1(value) {
  108881. var t2, t3, singleton, t4, t5, _this = this,
  108882. t1 = value._list1$_hasBrackets;
  108883. if (t1)
  108884. _this._serialize0$_buffer.writeCharCode$1(91);
  108885. else if (value._list1$_contents.length === 0) {
  108886. if (!_this._serialize0$_inspect)
  108887. throw A.wrapException(A.SassScriptException$0("() isn't a valid CSS value.", null));
  108888. _this._serialize0$_buffer.write$1(0, "()");
  108889. return;
  108890. }
  108891. t2 = _this._serialize0$_inspect;
  108892. if (t2)
  108893. if (value._list1$_contents.length === 1) {
  108894. t3 = value._list1$_separator;
  108895. t3 = t3 === B.ListSeparator_ECn0 || t3 === B.ListSeparator_cQA0;
  108896. singleton = t3;
  108897. } else
  108898. singleton = false;
  108899. else
  108900. singleton = false;
  108901. if (singleton && !t1)
  108902. _this._serialize0$_buffer.writeCharCode$1(40);
  108903. t3 = value._list1$_contents;
  108904. t3 = t2 ? t3 : new A.WhereIterable(t3, new A._SerializeVisitor_visitList_closure2(), A._arrayInstanceType(t3)._eval$1("WhereIterable<1>"));
  108905. t4 = value._list1$_separator;
  108906. t5 = _this._serialize0$_separatorString$1(t4);
  108907. _this._serialize0$_writeBetween$3(t3, t5, t2 ? new A._SerializeVisitor_visitList_closure3(_this, value) : new A._SerializeVisitor_visitList_closure4(_this));
  108908. if (singleton) {
  108909. t2 = _this._serialize0$_buffer;
  108910. t2.write$1(0, t4.separator);
  108911. if (!t1)
  108912. t2.writeCharCode$1(41);
  108913. }
  108914. if (t1)
  108915. _this._serialize0$_buffer.writeCharCode$1(93);
  108916. },
  108917. _serialize0$_separatorString$1(separator) {
  108918. var t1;
  108919. $label0$0: {
  108920. if (B.ListSeparator_ECn0 === separator) {
  108921. t1 = this._serialize0$_style === B.OutputStyle_10 ? "," : ", ";
  108922. break $label0$0;
  108923. }
  108924. if (B.ListSeparator_cQA0 === separator) {
  108925. t1 = this._serialize0$_style === B.OutputStyle_10 ? "/" : " / ";
  108926. break $label0$0;
  108927. }
  108928. if (B.ListSeparator_nbm0 === separator) {
  108929. t1 = " ";
  108930. break $label0$0;
  108931. }
  108932. t1 = "";
  108933. break $label0$0;
  108934. }
  108935. return t1;
  108936. },
  108937. _serialize0$_elementNeedsParens$2(separator, value) {
  108938. var t1;
  108939. $label1$1: {
  108940. if (value instanceof A.SassList0 && value._list1$_contents.length > 1 && !value._list1$_hasBrackets) {
  108941. $label0$0: {
  108942. if (B.ListSeparator_ECn0 === separator) {
  108943. t1 = value._list1$_separator === B.ListSeparator_ECn0;
  108944. break $label0$0;
  108945. }
  108946. if (B.ListSeparator_cQA0 === separator) {
  108947. t1 = value._list1$_separator;
  108948. t1 = t1 === B.ListSeparator_ECn0 || t1 === B.ListSeparator_cQA0;
  108949. break $label0$0;
  108950. }
  108951. t1 = value._list1$_separator !== B.ListSeparator_undecided_null_undecided0;
  108952. break $label0$0;
  108953. }
  108954. break $label1$1;
  108955. }
  108956. t1 = false;
  108957. break $label1$1;
  108958. }
  108959. return t1;
  108960. },
  108961. visitMap$1(map) {
  108962. var t1, t2, _this = this;
  108963. if (!_this._serialize0$_inspect)
  108964. throw A.wrapException(A.SassScriptException$0(map.toString$0(0) + " isn't a valid CSS value.", null));
  108965. t1 = _this._serialize0$_buffer;
  108966. t1.writeCharCode$1(40);
  108967. t2 = map._map0$_contents;
  108968. _this._serialize0$_writeBetween$3(t2.get$entries(t2), ", ", new A._SerializeVisitor_visitMap_closure0(_this));
  108969. t1.writeCharCode$1(41);
  108970. },
  108971. _serialize0$_writeMapElement$1(value) {
  108972. var needsParens = value instanceof A.SassList0 && value._list1$_separator === B.ListSeparator_ECn0 && !value._list1$_hasBrackets;
  108973. if (needsParens)
  108974. this._serialize0$_buffer.writeCharCode$1(40);
  108975. value.accept$1(this);
  108976. if (needsParens)
  108977. this._serialize0$_buffer.writeCharCode$1(41);
  108978. },
  108979. visitNumber$1(value) {
  108980. var before, after, t1, _1_0, _this = this,
  108981. _0_0 = value.asSlash;
  108982. if (type$.Record_2_nullable_Object_and_nullable_Object._is(_0_0)) {
  108983. before = _0_0._0;
  108984. after = _0_0._1;
  108985. _this.visitNumber$1(before);
  108986. _this._serialize0$_buffer.writeCharCode$1(47);
  108987. _this.visitNumber$1(after);
  108988. return;
  108989. }
  108990. t1 = value._number1$_value;
  108991. if (!isFinite(t1)) {
  108992. _this.visitCalculation$1(new A.SassCalculation0("calc", A.List_List$unmodifiable(A._setArrayType([value], type$.JSArray_Object), type$.Object)));
  108993. return;
  108994. }
  108995. if (value.get$hasComplexUnits()) {
  108996. if (!_this._serialize0$_inspect)
  108997. throw A.wrapException(A.SassScriptException$0(value.toString$0(0) + " isn't a valid CSS value.", null));
  108998. _this.visitCalculation$1(new A.SassCalculation0("calc", A.List_List$unmodifiable(A._setArrayType([value], type$.JSArray_Object), type$.Object)));
  108999. } else {
  109000. _this._serialize0$_writeNumber$1(t1);
  109001. _1_0 = value.get$numeratorUnits(value);
  109002. if (_1_0.length === 1)
  109003. _this._serialize0$_buffer.write$1(0, _1_0[0]);
  109004. }
  109005. },
  109006. _serialize0$_writeNumber$1(number) {
  109007. var text, _this = this,
  109008. _0_0 = A.fuzzyAsInt0(number);
  109009. if (_0_0 != null) {
  109010. _this._serialize0$_buffer.write$1(0, _this._serialize0$_removeExponent$1(B.JSInt_methods.toString$0(_0_0)));
  109011. return;
  109012. }
  109013. text = _this._serialize0$_removeExponent$1(B.JSNumber_methods.toString$0(number));
  109014. if (text.length < 12) {
  109015. if (_this._serialize0$_style === B.OutputStyle_10 && text.charCodeAt(0) === 48)
  109016. text = B.JSString_methods.substring$1(text, 1);
  109017. _this._serialize0$_buffer.write$1(0, text);
  109018. return;
  109019. }
  109020. _this._serialize0$_writeRounded$1(text);
  109021. },
  109022. _serialize0$_removeExponent$1(text) {
  109023. var buffer, t2, t3, additionalZeroes,
  109024. negative = text.charCodeAt(0) === 45,
  109025. exponent = A._Cell$(),
  109026. t1 = text.length,
  109027. i = 0;
  109028. while (true) {
  109029. if (!(i < t1)) {
  109030. buffer = null;
  109031. break;
  109032. }
  109033. c$0: {
  109034. if (text.charCodeAt(i) !== 101)
  109035. break c$0;
  109036. buffer = new A.StringBuffer("");
  109037. t2 = buffer._contents = "" + A.Primitives_stringFromCharCode(text.charCodeAt(0));
  109038. if (negative) {
  109039. t2 += A.Primitives_stringFromCharCode(text.charCodeAt(1));
  109040. buffer._contents = t2;
  109041. if (i > 3)
  109042. buffer._contents = t2 + B.JSString_methods.substring$2(text, 3, i);
  109043. } else if (i > 2)
  109044. buffer._contents = t2 + B.JSString_methods.substring$2(text, 2, i);
  109045. exponent.__late_helper$_value = A.int_parse(B.JSString_methods.substring$2(text, i + 1, t1), null);
  109046. break;
  109047. }
  109048. ++i;
  109049. }
  109050. if (buffer == null)
  109051. return text;
  109052. if (exponent._readLocal$0() > 0) {
  109053. t1 = exponent._readLocal$0();
  109054. t2 = buffer._contents;
  109055. t3 = negative ? 1 : 0;
  109056. additionalZeroes = t1 - (t2.length - 1 - t3);
  109057. for (t1 = t2, i = 0; i < additionalZeroes; ++i) {
  109058. t1 = A.Primitives_stringFromCharCode(48);
  109059. t1 = buffer._contents += t1;
  109060. }
  109061. return t1.charCodeAt(0) == 0 ? t1 : t1;
  109062. } else {
  109063. negative = text.charCodeAt(0) === 45;
  109064. t1 = (negative ? "" + A.Primitives_stringFromCharCode(45) : "") + "0.";
  109065. i = -1;
  109066. while (true) {
  109067. t2 = exponent.__late_helper$_value;
  109068. if (t2 === exponent)
  109069. A.throwExpression(A.LateError$localNI(""));
  109070. if (!(i > t2))
  109071. break;
  109072. t1 += A.Primitives_stringFromCharCode(48);
  109073. --i;
  109074. }
  109075. if (negative) {
  109076. t2 = buffer._contents;
  109077. t2 = B.JSString_methods.substring$1(t2.charCodeAt(0) == 0 ? t2 : t2, 1);
  109078. } else
  109079. t2 = buffer;
  109080. t2 = t1 + A.S(t2);
  109081. return t2.charCodeAt(0) == 0 ? t2 : t2;
  109082. }
  109083. },
  109084. _serialize0$_writeRounded$1(text) {
  109085. var t1, digits, negative, textIndex, digitsIndex, textIndex0, codeUnit, digitsIndex0, indexAfterPrecision, digitsIndex1, newDigit, writtenIndex, t2, _this = this;
  109086. if (B.JSString_methods.endsWith$1(text, ".0")) {
  109087. _this._serialize0$_buffer.write$1(0, B.JSString_methods.substring$2(text, 0, text.length - 2));
  109088. return;
  109089. }
  109090. t1 = text.length;
  109091. digits = new Uint8Array(t1 + 1);
  109092. negative = text.charCodeAt(0) === 45;
  109093. textIndex = negative ? 1 : 0;
  109094. for (digitsIndex = 1; true; textIndex = textIndex0, digitsIndex = digitsIndex0) {
  109095. if (textIndex === t1) {
  109096. _this._serialize0$_buffer.write$1(0, text);
  109097. return;
  109098. }
  109099. textIndex0 = textIndex + 1;
  109100. codeUnit = text.charCodeAt(textIndex);
  109101. if (codeUnit === 46) {
  109102. textIndex = textIndex0;
  109103. break;
  109104. }
  109105. digitsIndex0 = digitsIndex + 1;
  109106. digits[digitsIndex] = codeUnit - 48;
  109107. }
  109108. indexAfterPrecision = textIndex + 10;
  109109. if (indexAfterPrecision >= t1) {
  109110. _this._serialize0$_buffer.write$1(0, text);
  109111. return;
  109112. }
  109113. for (digitsIndex0 = digitsIndex; textIndex < indexAfterPrecision; textIndex = textIndex0, digitsIndex0 = digitsIndex1) {
  109114. digitsIndex1 = digitsIndex0 + 1;
  109115. textIndex0 = textIndex + 1;
  109116. digits[digitsIndex0] = text.charCodeAt(textIndex) - 48;
  109117. }
  109118. if (text.charCodeAt(textIndex) - 48 >= 5)
  109119. for (; true; digitsIndex0 = digitsIndex1) {
  109120. digitsIndex1 = digitsIndex0 - 1;
  109121. newDigit = digits[digitsIndex1] + 1;
  109122. digits[digitsIndex1] = newDigit;
  109123. if (newDigit !== 10)
  109124. break;
  109125. }
  109126. for (; digitsIndex0 < digitsIndex; ++digitsIndex0)
  109127. digits[digitsIndex0] = 0;
  109128. while (true) {
  109129. t1 = digitsIndex0 > digitsIndex;
  109130. if (!(t1 && digits[digitsIndex0 - 1] === 0))
  109131. break;
  109132. --digitsIndex0;
  109133. }
  109134. if (digitsIndex0 === 2 && digits[0] === 0 && digits[1] === 0) {
  109135. _this._serialize0$_buffer.writeCharCode$1(48);
  109136. return;
  109137. }
  109138. if (negative)
  109139. _this._serialize0$_buffer.writeCharCode$1(45);
  109140. if (digits[0] === 0)
  109141. writtenIndex = _this._serialize0$_style === B.OutputStyle_10 && digits[1] === 0 ? 2 : 1;
  109142. else
  109143. writtenIndex = 0;
  109144. for (t2 = _this._serialize0$_buffer; writtenIndex < digitsIndex; ++writtenIndex)
  109145. t2.writeCharCode$1(48 + digits[writtenIndex]);
  109146. if (t1) {
  109147. t2.writeCharCode$1(46);
  109148. for (; writtenIndex < digitsIndex0; ++writtenIndex)
  109149. t2.writeCharCode$1(48 + digits[writtenIndex]);
  109150. }
  109151. },
  109152. _serialize0$_visitQuotedString$2$forceDoubleQuote(string, forceDoubleQuote) {
  109153. var t1, includesSingleQuote, includesDoubleQuote, i, char, _1_2, _1_4, _0_0, quote, _this = this,
  109154. buffer = forceDoubleQuote ? _this._serialize0$_buffer : new A.StringBuffer("");
  109155. if (forceDoubleQuote)
  109156. buffer.writeCharCode$1(34);
  109157. for (t1 = string.length, includesSingleQuote = false, includesDoubleQuote = false, i = 0; i < t1; ++i) {
  109158. char = string.charCodeAt(i);
  109159. _1_2 = 39 === char;
  109160. if (_1_2 && forceDoubleQuote) {
  109161. buffer.writeCharCode$1(39);
  109162. continue;
  109163. }
  109164. if (_1_2 && includesDoubleQuote) {
  109165. _this._serialize0$_visitQuotedString$2$forceDoubleQuote(string, true);
  109166. return;
  109167. }
  109168. if (_1_2) {
  109169. buffer.writeCharCode$1(39);
  109170. includesSingleQuote = true;
  109171. continue;
  109172. }
  109173. _1_4 = 34 === char;
  109174. if (_1_4 && forceDoubleQuote) {
  109175. buffer.writeCharCode$1(92);
  109176. buffer.writeCharCode$1(34);
  109177. continue;
  109178. }
  109179. if (_1_4 && includesSingleQuote) {
  109180. _this._serialize0$_visitQuotedString$2$forceDoubleQuote(string, true);
  109181. return;
  109182. }
  109183. if (_1_4) {
  109184. buffer.writeCharCode$1(34);
  109185. includesDoubleQuote = true;
  109186. continue;
  109187. }
  109188. 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) {
  109189. _this._serialize0$_writeEscape$4(buffer, char, string, i);
  109190. continue;
  109191. }
  109192. if (92 === char) {
  109193. buffer.writeCharCode$1(92);
  109194. buffer.writeCharCode$1(92);
  109195. continue;
  109196. }
  109197. _0_0 = _this._serialize0$_tryPrivateUseCharacter$4(buffer, char, string, i);
  109198. if (_0_0 != null)
  109199. i = _0_0;
  109200. else
  109201. buffer.writeCharCode$1(char);
  109202. }
  109203. if (forceDoubleQuote)
  109204. buffer.writeCharCode$1(34);
  109205. else {
  109206. quote = includesDoubleQuote ? 39 : 34;
  109207. t1 = _this._serialize0$_buffer;
  109208. t1.writeCharCode$1(quote);
  109209. t1.write$1(0, buffer);
  109210. t1.writeCharCode$1(quote);
  109211. }
  109212. },
  109213. _serialize0$_visitQuotedString$1(string) {
  109214. return this._serialize0$_visitQuotedString$2$forceDoubleQuote(string, false);
  109215. },
  109216. _serialize0$_visitUnquotedString$1(string) {
  109217. var t1, t2, afterNewline, i, _1_0, _0_0;
  109218. for (t1 = string.length, t2 = this._serialize0$_buffer, afterNewline = false, i = 0; i < t1; ++i) {
  109219. _1_0 = string.charCodeAt(i);
  109220. if (10 === _1_0) {
  109221. t2.writeCharCode$1(32);
  109222. afterNewline = true;
  109223. continue;
  109224. }
  109225. if (32 === _1_0) {
  109226. if (!afterNewline)
  109227. t2.writeCharCode$1(32);
  109228. continue;
  109229. }
  109230. _0_0 = this._serialize0$_tryPrivateUseCharacter$4(t2, _1_0, string, i);
  109231. if (_0_0 != null)
  109232. i = _0_0;
  109233. else
  109234. t2.writeCharCode$1(_1_0);
  109235. afterNewline = false;
  109236. }
  109237. },
  109238. _serialize0$_tryPrivateUseCharacter$4(buffer, codeUnit, string, i) {
  109239. var t1;
  109240. if (this._serialize0$_style === B.OutputStyle_10)
  109241. return null;
  109242. if (codeUnit >= 57344 && codeUnit <= 63743) {
  109243. this._serialize0$_writeEscape$4(buffer, codeUnit, string, i);
  109244. return i;
  109245. }
  109246. if (codeUnit >>> 7 === 439 && string.length > i + 1) {
  109247. t1 = i + 1;
  109248. this._serialize0$_writeEscape$4(buffer, 65536 + ((codeUnit & 1023) << 10) + (string.charCodeAt(t1) & 1023), string, t1);
  109249. return t1;
  109250. }
  109251. return null;
  109252. },
  109253. _serialize0$_writeEscape$4(buffer, character, string, i) {
  109254. var t1, next;
  109255. buffer.writeCharCode$1(92);
  109256. buffer.write$1(0, B.JSInt_methods.toRadixString$1(character, 16));
  109257. t1 = i + 1;
  109258. if (string.length === t1)
  109259. return;
  109260. next = string.charCodeAt(t1);
  109261. if (A.CharacterExtension_get_isHex0(next) || 32 === next || 9 === next)
  109262. buffer.writeCharCode$1(32);
  109263. },
  109264. visitAttributeSelector$1(attribute) {
  109265. var _0_0, t2,
  109266. t1 = this._serialize0$_buffer;
  109267. t1.writeCharCode$1(91);
  109268. t1.write$1(0, attribute.name);
  109269. _0_0 = attribute.value;
  109270. if (_0_0 != null) {
  109271. t1.write$1(0, attribute.op);
  109272. if (A.Parser_isIdentifier0(_0_0) && !B.JSString_methods.startsWith$1(_0_0, "--")) {
  109273. t1.write$1(0, _0_0);
  109274. t2 = attribute.modifier;
  109275. if (t2 != null)
  109276. t1.writeCharCode$1(32);
  109277. } else {
  109278. this._serialize0$_visitQuotedString$1(_0_0);
  109279. t2 = attribute.modifier;
  109280. if (t2 != null)
  109281. if (this._serialize0$_style !== B.OutputStyle_10)
  109282. t1.writeCharCode$1(32);
  109283. }
  109284. A.NullableExtension_andThen0(t2, t1.get$write(t1));
  109285. }
  109286. t1.writeCharCode$1(93);
  109287. },
  109288. visitClassSelector$1(klass) {
  109289. var t1 = this._serialize0$_buffer;
  109290. t1.writeCharCode$1(46);
  109291. t1.write$1(0, klass.name);
  109292. },
  109293. visitComplexSelector$1(complex) {
  109294. var t2, t3, t4, t5, t6, i, component, t7, t8, t9, _this = this,
  109295. t1 = complex.leadingCombinators;
  109296. _this._serialize0$_writeCombinators$1(t1);
  109297. if (t1.length >= 1 && complex.components.length >= 1)
  109298. if (_this._serialize0$_style !== B.OutputStyle_10)
  109299. _this._serialize0$_buffer.writeCharCode$1(32);
  109300. 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) {
  109301. component = t1[i];
  109302. _this.visitCompoundSelector$1(component.selector);
  109303. t7 = component.combinators;
  109304. t8 = t7.length === 0;
  109305. if (!t8)
  109306. if (t6)
  109307. t4.writeCharCode$1(32);
  109308. t9 = t5 ? "" : " ";
  109309. _this._serialize0$_writeBetween$3(t7, t9, t4.get$write(t4));
  109310. if (i !== t3)
  109311. t7 = !t5 || t8;
  109312. else
  109313. t7 = false;
  109314. if (t7)
  109315. t4.writeCharCode$1(32);
  109316. }
  109317. },
  109318. _serialize0$_writeCombinators$1(combinators) {
  109319. var t1 = this._serialize0$_style === B.OutputStyle_10 ? "" : " ",
  109320. t2 = this._serialize0$_buffer;
  109321. return this._serialize0$_writeBetween$3(combinators, t1, t2.get$write(t2));
  109322. },
  109323. visitCompoundSelector$1(compound) {
  109324. var t2, t3, _i,
  109325. t1 = this._serialize0$_buffer,
  109326. start = t1.get$length(t1);
  109327. for (t2 = compound.components, t3 = t2.length, _i = 0; _i < t3; ++_i)
  109328. t2[_i].accept$1(this);
  109329. if (t1.get$length(t1) === start)
  109330. t1.writeCharCode$1(42);
  109331. },
  109332. visitIDSelector$1(id) {
  109333. var t1 = this._serialize0$_buffer;
  109334. t1.writeCharCode$1(35);
  109335. t1.write$1(0, id.name);
  109336. },
  109337. visitSelectorList$1(list) {
  109338. var t1, t2, t3, t4, first, t5, _this = this,
  109339. complexes = list.components;
  109340. 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();) {
  109341. t5 = t1.get$current(t1);
  109342. if (first)
  109343. first = false;
  109344. else {
  109345. t3.writeCharCode$1(44);
  109346. if (t5.lineBreak) {
  109347. if (t2)
  109348. t3.write$1(0, t4);
  109349. _this._serialize0$_writeIndentation$0();
  109350. } else if (t2)
  109351. t3.writeCharCode$1(32);
  109352. }
  109353. _this.visitComplexSelector$1(t5);
  109354. }
  109355. },
  109356. visitParentSelector$1($parent) {
  109357. var t1 = this._serialize0$_buffer;
  109358. t1.writeCharCode$1(38);
  109359. A.NullableExtension_andThen0($parent.suffix, t1.get$write(t1));
  109360. },
  109361. visitPlaceholderSelector$1(placeholder) {
  109362. var t1 = this._serialize0$_buffer;
  109363. t1.writeCharCode$1(37);
  109364. t1.write$1(0, placeholder.name);
  109365. },
  109366. visitPseudoSelector$1(pseudo) {
  109367. var _0_4, t2, t3,
  109368. t1 = pseudo.name;
  109369. if ("not" === t1) {
  109370. _0_4 = pseudo.selector;
  109371. if (_0_4 instanceof A.SelectorList0)
  109372. t2 = (_0_4 == null ? type$.SelectorList_2._as(_0_4) : _0_4).accept$1(B._IsInvisibleVisitor_true0);
  109373. else
  109374. t2 = false;
  109375. } else
  109376. t2 = false;
  109377. if (t2)
  109378. return;
  109379. t2 = this._serialize0$_buffer;
  109380. t2.writeCharCode$1(58);
  109381. if (!pseudo.isSyntacticClass)
  109382. t2.writeCharCode$1(58);
  109383. t2.write$1(0, t1);
  109384. t1 = pseudo.argument;
  109385. t3 = t1 == null;
  109386. if (t3 && pseudo.selector == null)
  109387. return;
  109388. t2.writeCharCode$1(40);
  109389. if (!t3) {
  109390. t2.write$1(0, t1);
  109391. if (pseudo.selector != null)
  109392. t2.writeCharCode$1(32);
  109393. }
  109394. A.NullableExtension_andThen0(pseudo.selector, this.get$visitSelectorList());
  109395. t2.writeCharCode$1(41);
  109396. },
  109397. visitTypeSelector$1(type) {
  109398. this._serialize0$_buffer.write$1(0, type.name);
  109399. },
  109400. visitUniversalSelector$1(universal) {
  109401. var t2,
  109402. t1 = universal.namespace;
  109403. if (t1 != null) {
  109404. t2 = this._serialize0$_buffer;
  109405. t2.write$1(0, t1);
  109406. t2.writeCharCode$1(124);
  109407. }
  109408. this._serialize0$_buffer.writeCharCode$1(42);
  109409. },
  109410. _serialize0$_write$1(value) {
  109411. return this._serialize0$_buffer.forSpan$2(value.span, new A._SerializeVisitor__write_closure0(this, value));
  109412. },
  109413. _serialize0$_visitChildren$1($parent) {
  109414. var t2, t3, t4, t5, t6, t7, t8, prePrevious, previous, t9, previous0, t10, savedIndentation, _this = this,
  109415. t1 = _this._serialize0$_buffer;
  109416. t1.writeCharCode$1(123);
  109417. 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();) {
  109418. t9 = t2.__internal$_current;
  109419. previous0 = t9 == null ? t3._as(t9) : t9;
  109420. if (t7)
  109421. t9 = t4 ? previous0.accept$1(B._IsInvisibleVisitor_true_true0) : previous0.accept$1(B._IsInvisibleVisitor_true_false0);
  109422. else
  109423. t9 = false;
  109424. if (t9)
  109425. continue;
  109426. t9 = previous == null;
  109427. t10 = t9 ? null : t6.call$1(previous);
  109428. if (t10 == null ? false : t10)
  109429. t1.writeCharCode$1(59);
  109430. if (_this._serialize0$_isTrailingComment$2(previous0, t9 ? $parent : previous)) {
  109431. if (t5)
  109432. t1.writeCharCode$1(32);
  109433. savedIndentation = _this._serialize0$_indentation;
  109434. _this._serialize0$_indentation = 0;
  109435. new A._SerializeVisitor__visitChildren_closure1(_this, previous0).call$0();
  109436. _this._serialize0$_indentation = savedIndentation;
  109437. } else {
  109438. if (t5)
  109439. t1.write$1(0, t8);
  109440. ++_this._serialize0$_indentation;
  109441. new A._SerializeVisitor__visitChildren_closure2(_this, previous0).call$0();
  109442. --_this._serialize0$_indentation;
  109443. }
  109444. prePrevious = previous;
  109445. previous = previous0;
  109446. }
  109447. if (previous != null) {
  109448. if ((type$.CssParentNode_2._is(previous) ? previous.get$isChildless() : !(previous instanceof A.ModifiableCssComment0)) && t5)
  109449. t1.writeCharCode$1(59);
  109450. if (prePrevious == null && _this._serialize0$_isTrailingComment$2(previous, $parent)) {
  109451. if (t5)
  109452. t1.writeCharCode$1(32);
  109453. } else {
  109454. _this._serialize0$_writeLineFeed$0();
  109455. _this._serialize0$_writeIndentation$0();
  109456. }
  109457. }
  109458. t1.writeCharCode$1(125);
  109459. },
  109460. _serialize0$_requiresSemicolon$1(node) {
  109461. return type$.CssParentNode_2._is(node) ? node.get$isChildless() : !(node instanceof A.ModifiableCssComment0);
  109462. },
  109463. _serialize0$_isTrailingComment$2(node, previous) {
  109464. var t1, t2, t3, searchFrom, endOffset, t4, span;
  109465. if (this._serialize0$_style === B.OutputStyle_10)
  109466. return false;
  109467. if (!(node instanceof A.ModifiableCssComment0))
  109468. return false;
  109469. t1 = node.span;
  109470. t2 = t1.get$sourceUrl(t1);
  109471. t3 = previous.get$span(previous);
  109472. if (!J.$eq$(t2, t3.get$sourceUrl(t3)))
  109473. return false;
  109474. t2 = previous.get$span(previous);
  109475. 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)) {
  109476. t1 = t1.get$start(t1);
  109477. t1 = t1.file.getLine$1(t1.offset);
  109478. t2 = previous.get$span(previous);
  109479. t2 = t2.get$end(t2);
  109480. return t1 === t2.file.getLine$1(t2.offset);
  109481. }
  109482. t2 = t1.get$start(t1);
  109483. t3 = previous.get$span(previous);
  109484. searchFrom = t2.offset - t3.get$start(t3).offset - 1;
  109485. if (searchFrom < 0)
  109486. return false;
  109487. endOffset = Math.max(0, B.JSString_methods.lastIndexOf$2(previous.get$span(previous).get$text(), "{", searchFrom));
  109488. t2 = previous.get$span(previous);
  109489. t2 = t2.get$file(t2);
  109490. t3 = previous.get$span(previous);
  109491. t3 = t3.get$start(t3);
  109492. t4 = previous.get$span(previous);
  109493. span = t2.span$2(0, t3.offset, t4.get$start(t4).offset + endOffset);
  109494. t1 = t1.get$start(t1);
  109495. t1 = t1.file.getLine$1(t1.offset);
  109496. t4 = A.FileLocation$_(span.file, span._end);
  109497. return t1 === t4.file.getLine$1(t4.offset);
  109498. },
  109499. _serialize0$_writeLineFeed$0() {
  109500. if (this._serialize0$_style !== B.OutputStyle_10)
  109501. this._serialize0$_buffer.write$1(0, this._lineFeed.text);
  109502. },
  109503. _serialize0$_writeIndentation$0() {
  109504. var _this = this;
  109505. if (_this._serialize0$_style === B.OutputStyle_10)
  109506. return;
  109507. _this._serialize0$_writeTimes$2(_this._serialize0$_indentCharacter, _this._serialize0$_indentation * _this._serialize0$_indentWidth);
  109508. },
  109509. _serialize0$_writeTimes$2(char, times) {
  109510. var t1, i;
  109511. for (t1 = this._serialize0$_buffer, i = 0; i < times; ++i)
  109512. t1.writeCharCode$1(char);
  109513. },
  109514. _serialize0$_writeBetween$1$3(iterable, text, callback) {
  109515. var t1, t2, first, value;
  109516. for (t1 = J.get$iterator$ax(iterable), t2 = this._serialize0$_buffer, first = true; t1.moveNext$0();) {
  109517. value = t1.get$current(t1);
  109518. if (first)
  109519. first = false;
  109520. else
  109521. t2.write$1(0, text);
  109522. callback.call$1(value);
  109523. }
  109524. },
  109525. _serialize0$_writeBetween$3(iterable, text, callback) {
  109526. return this._serialize0$_writeBetween$1$3(iterable, text, callback, type$.dynamic);
  109527. }
  109528. };
  109529. A._SerializeVisitor_visitCssComment_closure0.prototype = {
  109530. call$0() {
  109531. var t2, t3, _0_0, minimumIndentation,
  109532. t1 = this.$this;
  109533. if (t1._serialize0$_style === B.OutputStyle_10 && this.node.text.charCodeAt(2) !== 33)
  109534. return;
  109535. t2 = this.node;
  109536. t3 = t2.text;
  109537. if (B.JSString_methods.startsWith$1(t3, A.RegExp_RegExp("/\\*# source(Mapping)?URL=", false)))
  109538. return;
  109539. _0_0 = t1._serialize0$_minimumIndentation$1(t3);
  109540. if (_0_0 != null) {
  109541. t2 = t2.span;
  109542. t2 = t2.get$start(t2);
  109543. minimumIndentation = Math.min(_0_0, t2.file.getColumn$1(t2.offset));
  109544. t1._serialize0$_writeIndentation$0();
  109545. t1._serialize0$_writeWithIndent$2(t3, minimumIndentation);
  109546. } else {
  109547. t1._serialize0$_writeIndentation$0();
  109548. t1._serialize0$_buffer.write$1(0, t3);
  109549. }
  109550. },
  109551. $signature: 1
  109552. };
  109553. A._SerializeVisitor_visitCssAtRule_closure0.prototype = {
  109554. call$0() {
  109555. var t3, _0_0,
  109556. t1 = this.$this,
  109557. t2 = t1._serialize0$_buffer;
  109558. t2.writeCharCode$1(64);
  109559. t3 = this.node;
  109560. t1._serialize0$_write$1(t3.name);
  109561. _0_0 = t3.value;
  109562. if (_0_0 != null) {
  109563. t2.writeCharCode$1(32);
  109564. t1._serialize0$_write$1(_0_0);
  109565. }
  109566. },
  109567. $signature: 1
  109568. };
  109569. A._SerializeVisitor_visitCssMediaRule_closure0.prototype = {
  109570. call$0() {
  109571. var t3, firstQuery, t4, t5,
  109572. t1 = this.$this,
  109573. t2 = t1._serialize0$_buffer;
  109574. t2.write$1(0, "@media");
  109575. t3 = this.node.queries;
  109576. firstQuery = B.JSArray_methods.get$first(t3);
  109577. t4 = t1._serialize0$_style === B.OutputStyle_10;
  109578. if (t4)
  109579. if (firstQuery.modifier == null)
  109580. if (firstQuery.type == null) {
  109581. t5 = firstQuery.conditions;
  109582. t5 = t5.length === 1 && J.startsWith$1$s(B.JSArray_methods.get$first(t5), "(not ");
  109583. } else
  109584. t5 = true;
  109585. else
  109586. t5 = true;
  109587. else
  109588. t5 = true;
  109589. if (t5)
  109590. t2.writeCharCode$1(32);
  109591. t2 = t4 ? "," : ", ";
  109592. t1._serialize0$_writeBetween$3(t3, t2, t1.get$_serialize0$_visitMediaQuery());
  109593. },
  109594. $signature: 1
  109595. };
  109596. A._SerializeVisitor_visitCssImport_closure0.prototype = {
  109597. call$0() {
  109598. var t3, t4, _0_0,
  109599. t1 = this.$this,
  109600. t2 = t1._serialize0$_buffer;
  109601. t2.write$1(0, "@import");
  109602. t3 = t1._serialize0$_style !== B.OutputStyle_10;
  109603. if (t3)
  109604. t2.writeCharCode$1(32);
  109605. t4 = this.node;
  109606. t2.forSpan$2(t4.url.span, new A._SerializeVisitor_visitCssImport__closure0(t1, t4));
  109607. _0_0 = t4.modifiers;
  109608. if (_0_0 != null) {
  109609. if (t3)
  109610. t2.writeCharCode$1(32);
  109611. t2.write$1(0, _0_0);
  109612. }
  109613. },
  109614. $signature: 1
  109615. };
  109616. A._SerializeVisitor_visitCssImport__closure0.prototype = {
  109617. call$0() {
  109618. return this.$this._serialize0$_writeImportUrl$1(this.node.url.value);
  109619. },
  109620. $signature: 0
  109621. };
  109622. A._SerializeVisitor_visitCssKeyframeBlock_closure0.prototype = {
  109623. call$0() {
  109624. var t1 = this.$this,
  109625. t2 = t1._serialize0$_style === B.OutputStyle_10 ? "," : ", ",
  109626. t3 = t1._serialize0$_buffer;
  109627. return t1._serialize0$_writeBetween$3(this.node.selector.value, t2, t3.get$write(t3));
  109628. },
  109629. $signature: 0
  109630. };
  109631. A._SerializeVisitor_visitCssStyleRule_closure0.prototype = {
  109632. call$0() {
  109633. return this.$this.visitSelectorList$1(this.node._style_rule0$_selector._box0$_inner.value);
  109634. },
  109635. $signature: 0
  109636. };
  109637. A._SerializeVisitor_visitCssSupportsRule_closure0.prototype = {
  109638. call$0() {
  109639. var t1 = this.$this,
  109640. t2 = t1._serialize0$_buffer;
  109641. t2.write$1(0, "@supports");
  109642. if (!(t1._serialize0$_style === B.OutputStyle_10 && J.codeUnitAt$1$s(this.node.condition.value, 0) === 40))
  109643. t2.writeCharCode$1(32);
  109644. t1._serialize0$_write$1(this.node.condition);
  109645. },
  109646. $signature: 1
  109647. };
  109648. A._SerializeVisitor_visitCssDeclaration_closure1.prototype = {
  109649. call$0() {
  109650. var t1 = this.$this,
  109651. t2 = this.node;
  109652. if (t1._serialize0$_style === B.OutputStyle_10)
  109653. t1._serialize0$_writeFoldedValue$1(t2);
  109654. else
  109655. t1._serialize0$_writeReindentedValue$1(t2);
  109656. },
  109657. $signature: 1
  109658. };
  109659. A._SerializeVisitor_visitCssDeclaration_closure2.prototype = {
  109660. call$0() {
  109661. return this.node.value.value.accept$1(this.$this);
  109662. },
  109663. $signature: 0
  109664. };
  109665. A._SerializeVisitor_visitList_closure2.prototype = {
  109666. call$1(element) {
  109667. return !element.get$isBlank();
  109668. },
  109669. $signature: 49
  109670. };
  109671. A._SerializeVisitor_visitList_closure3.prototype = {
  109672. call$1(element) {
  109673. var t1 = this.$this,
  109674. needsParens = t1._serialize0$_elementNeedsParens$2(this.value._list1$_separator, element);
  109675. if (needsParens)
  109676. t1._serialize0$_buffer.writeCharCode$1(40);
  109677. element.accept$1(t1);
  109678. if (needsParens)
  109679. t1._serialize0$_buffer.writeCharCode$1(41);
  109680. },
  109681. $signature: 63
  109682. };
  109683. A._SerializeVisitor_visitList_closure4.prototype = {
  109684. call$1(element) {
  109685. element.accept$1(this.$this);
  109686. },
  109687. $signature: 63
  109688. };
  109689. A._SerializeVisitor_visitMap_closure0.prototype = {
  109690. call$1(entry) {
  109691. var t1 = this.$this;
  109692. t1._serialize0$_writeMapElement$1(entry.key);
  109693. t1._serialize0$_buffer.write$1(0, ": ");
  109694. t1._serialize0$_writeMapElement$1(entry.value);
  109695. },
  109696. $signature: 536
  109697. };
  109698. A._SerializeVisitor_visitSelectorList_closure0.prototype = {
  109699. call$1(complex) {
  109700. return !complex.accept$1(B._IsInvisibleVisitor_true0);
  109701. },
  109702. $signature: 18
  109703. };
  109704. A._SerializeVisitor__write_closure0.prototype = {
  109705. call$0() {
  109706. return this.$this._serialize0$_buffer.write$1(0, this.value.value);
  109707. },
  109708. $signature: 0
  109709. };
  109710. A._SerializeVisitor__visitChildren_closure1.prototype = {
  109711. call$0() {
  109712. return this.child.accept$1(this.$this);
  109713. },
  109714. $signature: 0
  109715. };
  109716. A._SerializeVisitor__visitChildren_closure2.prototype = {
  109717. call$0() {
  109718. this.child.accept$1(this.$this);
  109719. },
  109720. $signature: 0
  109721. };
  109722. A.OutputStyle0.prototype = {
  109723. _enumToString$0() {
  109724. return "OutputStyle." + this._name;
  109725. }
  109726. };
  109727. A.LineFeed0.prototype = {
  109728. _enumToString$0() {
  109729. return "LineFeed." + this._name;
  109730. },
  109731. toString$0(_) {
  109732. return this.name;
  109733. }
  109734. };
  109735. A.ShadowedModuleView0.prototype = {
  109736. get$url(_) {
  109737. var t1 = this._shadowed_view0$_inner;
  109738. return t1.get$url(t1);
  109739. },
  109740. get$upstream() {
  109741. return this._shadowed_view0$_inner.get$upstream();
  109742. },
  109743. get$extensionStore() {
  109744. return this._shadowed_view0$_inner.get$extensionStore();
  109745. },
  109746. get$css(_) {
  109747. var t1 = this._shadowed_view0$_inner;
  109748. return t1.get$css(t1);
  109749. },
  109750. get$preModuleComments() {
  109751. return this._shadowed_view0$_inner.get$preModuleComments();
  109752. },
  109753. get$transitivelyContainsCss() {
  109754. return this._shadowed_view0$_inner.get$transitivelyContainsCss();
  109755. },
  109756. get$transitivelyContainsExtensions() {
  109757. return this._shadowed_view0$_inner.get$transitivelyContainsExtensions();
  109758. },
  109759. setVariable$3($name, value, nodeWithSpan) {
  109760. if (!this.variables.containsKey$1($name))
  109761. throw A.wrapException(A.SassScriptException$0("Undefined variable.", null));
  109762. else
  109763. this._shadowed_view0$_inner.setVariable$3($name, value, nodeWithSpan);
  109764. },
  109765. variableIdentity$1($name) {
  109766. return this._shadowed_view0$_inner.variableIdentity$1($name);
  109767. },
  109768. $eq(_, other) {
  109769. var t1, t2, _this = this;
  109770. if (other == null)
  109771. return false;
  109772. if (other instanceof A.ShadowedModuleView0)
  109773. if (_this._shadowed_view0$_inner.$eq(0, other._shadowed_view0$_inner)) {
  109774. t1 = _this.variables;
  109775. t1 = t1.get$keys(t1);
  109776. t2 = other.variables;
  109777. if (B.C_IterableEquality.equals$2(0, t1, t2.get$keys(t2))) {
  109778. t1 = _this.functions;
  109779. t1 = t1.get$keys(t1);
  109780. t2 = other.functions;
  109781. if (B.C_IterableEquality.equals$2(0, t1, t2.get$keys(t2))) {
  109782. t1 = _this.mixins;
  109783. t1 = t1.get$keys(t1);
  109784. t2 = other.mixins;
  109785. t2 = B.C_IterableEquality.equals$2(0, t1, t2.get$keys(t2));
  109786. t1 = t2;
  109787. } else
  109788. t1 = false;
  109789. } else
  109790. t1 = false;
  109791. } else
  109792. t1 = false;
  109793. else
  109794. t1 = false;
  109795. return t1;
  109796. },
  109797. get$hashCode(_) {
  109798. var t1 = this._shadowed_view0$_inner;
  109799. return t1.get$hashCode(t1);
  109800. },
  109801. cloneCss$0() {
  109802. var _this = this;
  109803. return new A.ShadowedModuleView0(_this._shadowed_view0$_inner.cloneCss$0(), _this.variables, _this.variableNodes, _this.functions, _this.mixins, _this.$ti);
  109804. },
  109805. toString$0(_) {
  109806. return "shadowed " + this._shadowed_view0$_inner.toString$0(0);
  109807. },
  109808. $isModule1: 1,
  109809. get$variables() {
  109810. return this.variables;
  109811. },
  109812. get$variableNodes() {
  109813. return this.variableNodes;
  109814. },
  109815. get$functions(receiver) {
  109816. return this.functions;
  109817. },
  109818. get$mixins() {
  109819. return this.mixins;
  109820. }
  109821. };
  109822. A.SilentComment0.prototype = {
  109823. accept$1$1(visitor) {
  109824. return visitor.visitSilentComment$1(this);
  109825. },
  109826. accept$1(visitor) {
  109827. return this.accept$1$1(visitor, type$.dynamic);
  109828. },
  109829. toString$0(_) {
  109830. return this.text;
  109831. },
  109832. $isAstNode0: 1,
  109833. $isStatement0: 1,
  109834. get$span(receiver) {
  109835. return this.span;
  109836. }
  109837. };
  109838. A.SimpleSelector0.prototype = {
  109839. get$specificity() {
  109840. return 1000;
  109841. },
  109842. addSuffix$1(suffix) {
  109843. 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));
  109844. },
  109845. unify$1(compound) {
  109846. var other, t1, result, addedThis, _i, simple, _this = this;
  109847. if (compound.length === 1) {
  109848. other = compound[0];
  109849. if (!(other instanceof A.UniversalSelector0))
  109850. if (other instanceof A.PseudoSelector0)
  109851. t1 = other.isClass && other.name === "host" || other.get$isHostContext();
  109852. else
  109853. t1 = false;
  109854. else
  109855. t1 = true;
  109856. } else {
  109857. other = null;
  109858. t1 = false;
  109859. }
  109860. if (t1)
  109861. return other.unify$1(A._setArrayType([_this], type$.JSArray_SimpleSelector_2));
  109862. if (B.JSArray_methods.contains$1(compound, _this))
  109863. return compound;
  109864. result = A._setArrayType([], type$.JSArray_SimpleSelector_2);
  109865. for (t1 = compound.length, addedThis = false, _i = 0; _i < compound.length; compound.length === t1 || (0, A.throwConcurrentModificationError)(compound), ++_i) {
  109866. simple = compound[_i];
  109867. if (!addedThis && simple instanceof A.PseudoSelector0) {
  109868. result.push(_this);
  109869. addedThis = true;
  109870. }
  109871. result.push(simple);
  109872. }
  109873. if (!addedThis)
  109874. result.push(_this);
  109875. return result;
  109876. },
  109877. isSuperselector$1(other) {
  109878. var list;
  109879. if (this.$eq(0, other))
  109880. return true;
  109881. if (other instanceof A.PseudoSelector0 && other.isClass) {
  109882. list = other.selector;
  109883. if (list != null && $._subselectorPseudos0.contains$1(0, other.normalizedName))
  109884. return B.JSArray_methods.every$1(list.components, new A.SimpleSelector_isSuperselector_closure0(this));
  109885. }
  109886. return false;
  109887. }
  109888. };
  109889. A.SimpleSelector_isSuperselector_closure0.prototype = {
  109890. call$1(complex) {
  109891. var t1 = complex.components;
  109892. return t1.length !== 0 && B.JSArray_methods.any$1(B.JSArray_methods.get$last(t1).selector.components, new A.SimpleSelector_isSuperselector__closure0(this.$this));
  109893. },
  109894. $signature: 18
  109895. };
  109896. A.SimpleSelector_isSuperselector__closure0.prototype = {
  109897. call$1(simple) {
  109898. return this.$this.isSuperselector$1(simple);
  109899. },
  109900. $signature: 15
  109901. };
  109902. A.SingleUnitSassNumber0.prototype = {
  109903. get$numeratorUnits(_) {
  109904. return A.List_List$unmodifiable([this._single_unit$_unit], type$.String);
  109905. },
  109906. get$denominatorUnits(_) {
  109907. return B.List_empty;
  109908. },
  109909. get$hasUnits() {
  109910. return true;
  109911. },
  109912. get$hasComplexUnits() {
  109913. return false;
  109914. },
  109915. withValue$1(value) {
  109916. return new A.SingleUnitSassNumber0(this._single_unit$_unit, value, null);
  109917. },
  109918. withSlash$2(numerator, denominator) {
  109919. return new A.SingleUnitSassNumber0(this._single_unit$_unit, this._number1$_value, new A._Record_2(numerator, denominator));
  109920. },
  109921. hasUnit$1(unit) {
  109922. return unit === this._single_unit$_unit;
  109923. },
  109924. hasCompatibleUnits$1(other) {
  109925. return other instanceof A.SingleUnitSassNumber0 && A.conversionFactor0(this._single_unit$_unit, other._single_unit$_unit) != null;
  109926. },
  109927. hasPossiblyCompatibleUnits$1(other) {
  109928. var t1, knownCompatibilities, otherUnit;
  109929. if (!(other instanceof A.SingleUnitSassNumber0))
  109930. return false;
  109931. t1 = $.$get$_knownCompatibilitiesByUnit0();
  109932. knownCompatibilities = t1.$index(0, this._single_unit$_unit.toLowerCase());
  109933. if (knownCompatibilities == null)
  109934. return true;
  109935. otherUnit = other._single_unit$_unit.toLowerCase();
  109936. return knownCompatibilities.contains$1(0, otherUnit) || !t1.containsKey$1(otherUnit);
  109937. },
  109938. compatibleWithUnit$1(unit) {
  109939. return A.conversionFactor0(this._single_unit$_unit, unit) != null;
  109940. },
  109941. coerceToMatch$3(other, $name, otherName) {
  109942. var t1 = other instanceof A.SingleUnitSassNumber0 ? this._single_unit$_coerceToUnit$1(other._single_unit$_unit) : null;
  109943. return t1 == null ? this.super$SassNumber$coerceToMatch0(other, $name, otherName) : t1;
  109944. },
  109945. coerceToMatch$1(other) {
  109946. return this.coerceToMatch$3(other, null, null);
  109947. },
  109948. coerceValueToMatch$3(other, $name, otherName) {
  109949. var t1 = other instanceof A.SingleUnitSassNumber0 ? this._single_unit$_coerceValueToUnit$1(other._single_unit$_unit) : null;
  109950. return t1 == null ? this.super$SassNumber$coerceValueToMatch0(other, $name, otherName) : t1;
  109951. },
  109952. coerceValueToMatch$1(other) {
  109953. return this.coerceValueToMatch$3(other, null, null);
  109954. },
  109955. convertToMatch$3(other, $name, otherName) {
  109956. var t1 = other instanceof A.SingleUnitSassNumber0 ? this._single_unit$_coerceToUnit$1(other._single_unit$_unit) : null;
  109957. return t1 == null ? this.super$SassNumber$convertToMatch(other, $name, otherName) : t1;
  109958. },
  109959. convertValueToMatch$3(other, $name, otherName) {
  109960. var t1 = other instanceof A.SingleUnitSassNumber0 ? this._single_unit$_coerceValueToUnit$1(other._single_unit$_unit) : null;
  109961. return t1 == null ? this.super$SassNumber$convertValueToMatch0(other, $name, otherName) : t1;
  109962. },
  109963. convertValueToMatch$1(other) {
  109964. return this.convertValueToMatch$3(other, null, null);
  109965. },
  109966. coerce$3(newNumerators, newDenominators, $name) {
  109967. var t1 = J.getInterceptor$asx(newNumerators);
  109968. t1 = t1.get$length(newNumerators) === 1 && J.get$isEmpty$asx(newDenominators) ? this._single_unit$_coerceToUnit$1(t1.$index(newNumerators, 0)) : null;
  109969. return t1 == null ? this.super$SassNumber$coerce0(newNumerators, newDenominators, $name) : t1;
  109970. },
  109971. coerce$2(newNumerators, newDenominators) {
  109972. return this.coerce$3(newNumerators, newDenominators, null);
  109973. },
  109974. coerceValue$3(newNumerators, newDenominators, $name) {
  109975. var t1 = J.getInterceptor$asx(newNumerators);
  109976. t1 = t1.get$length(newNumerators) === 1 && J.get$isEmpty$asx(newDenominators) ? this._single_unit$_coerceValueToUnit$1(t1.$index(newNumerators, 0)) : null;
  109977. return t1 == null ? this.super$SassNumber$coerceValue0(newNumerators, newDenominators, $name) : t1;
  109978. },
  109979. coerceValueToUnit$2(unit, $name) {
  109980. var t1 = this._single_unit$_coerceValueToUnit$1(unit);
  109981. return t1 == null ? this.super$SassNumber$coerceValueToUnit0(unit, $name) : t1;
  109982. },
  109983. coerceValueToUnit$1(unit) {
  109984. return this.coerceValueToUnit$2(unit, null);
  109985. },
  109986. _single_unit$_coerceToUnit$1(unit) {
  109987. var t1 = this._single_unit$_unit;
  109988. if (t1 === unit)
  109989. return this;
  109990. return A.NullableExtension_andThen0(A.conversionFactor0(unit, t1), new A.SingleUnitSassNumber__coerceToUnit_closure0(this, unit));
  109991. },
  109992. _single_unit$_coerceValueToUnit$1(unit) {
  109993. return A.NullableExtension_andThen0(A.conversionFactor0(unit, this._single_unit$_unit), new A.SingleUnitSassNumber__coerceValueToUnit_closure0(this));
  109994. },
  109995. multiplyUnits$3(value, otherNumerators, otherDenominators) {
  109996. var mutableOtherDenominators, t1 = {};
  109997. t1.value = value;
  109998. t1.newNumerators = otherNumerators;
  109999. mutableOtherDenominators = A._setArrayType(otherDenominators.slice(0), A._arrayInstanceType(otherDenominators));
  110000. A.removeFirstWhere0(mutableOtherDenominators, new A.SingleUnitSassNumber_multiplyUnits_closure1(t1, this), new A.SingleUnitSassNumber_multiplyUnits_closure2(t1, this));
  110001. return A.SassNumber_SassNumber$withUnits0(t1.value, mutableOtherDenominators, t1.newNumerators);
  110002. },
  110003. unaryMinus$0() {
  110004. return new A.SingleUnitSassNumber0(this._single_unit$_unit, -this._number1$_value, null);
  110005. },
  110006. $eq(_, other) {
  110007. var factor;
  110008. if (other == null)
  110009. return false;
  110010. if (other instanceof A.SingleUnitSassNumber0) {
  110011. factor = A.conversionFactor0(other._single_unit$_unit, this._single_unit$_unit);
  110012. return factor != null && A.fuzzyEquals0(this._number1$_value * factor, other._number1$_value);
  110013. } else
  110014. return false;
  110015. },
  110016. get$hashCode(_) {
  110017. var _this = this,
  110018. t1 = _this.hashCache;
  110019. return t1 == null ? _this.hashCache = A.fuzzyHashCode0(_this._number1$_value * _this.canonicalMultiplierForUnit$1(_this._single_unit$_unit)) : t1;
  110020. }
  110021. };
  110022. A.SingleUnitSassNumber__coerceToUnit_closure0.prototype = {
  110023. call$1(factor) {
  110024. return new A.SingleUnitSassNumber0(this.unit, this.$this._number1$_value * factor, null);
  110025. },
  110026. $signature: 537
  110027. };
  110028. A.SingleUnitSassNumber__coerceValueToUnit_closure0.prototype = {
  110029. call$1(factor) {
  110030. return this.$this._number1$_value * factor;
  110031. },
  110032. $signature: 38
  110033. };
  110034. A.SingleUnitSassNumber_multiplyUnits_closure1.prototype = {
  110035. call$1(denominator) {
  110036. var factor = A.conversionFactor0(denominator, this.$this._single_unit$_unit);
  110037. if (factor == null)
  110038. return false;
  110039. this._box_0.value *= factor;
  110040. return true;
  110041. },
  110042. $signature: 4
  110043. };
  110044. A.SingleUnitSassNumber_multiplyUnits_closure2.prototype = {
  110045. call$0() {
  110046. var t1 = A._setArrayType([this.$this._single_unit$_unit], type$.JSArray_String),
  110047. t2 = this._box_0;
  110048. B.JSArray_methods.addAll$1(t1, t2.newNumerators);
  110049. t2.newNumerators = t1;
  110050. },
  110051. $signature: 0
  110052. };
  110053. A.SourceMapBuffer0.prototype = {
  110054. get$_source_map_buffer0$_targetLocation() {
  110055. var t1 = this._source_map_buffer0$_buffer._contents,
  110056. t2 = this._source_map_buffer0$_line;
  110057. return A.SourceLocation$(t1.length, this._source_map_buffer0$_column, t2, null);
  110058. },
  110059. get$length(_) {
  110060. return this._source_map_buffer0$_buffer._contents.length;
  110061. },
  110062. forSpan$1$2(span, callback) {
  110063. var t1, _this = this,
  110064. wasInSpan = _this._source_map_buffer0$_inSpan;
  110065. _this._source_map_buffer0$_inSpan = true;
  110066. _this._source_map_buffer0$_addEntry$2(span.get$start(span), _this.get$_source_map_buffer0$_targetLocation());
  110067. try {
  110068. t1 = callback.call$0();
  110069. return t1;
  110070. } finally {
  110071. _this._source_map_buffer0$_inSpan = wasInSpan;
  110072. }
  110073. },
  110074. forSpan$2(span, callback) {
  110075. return this.forSpan$1$2(span, callback, type$.dynamic);
  110076. },
  110077. _source_map_buffer0$_addEntry$2(source, target) {
  110078. var entry, t2,
  110079. t1 = this._source_map_buffer0$_entries;
  110080. if (t1.length !== 0) {
  110081. entry = B.JSArray_methods.get$last(t1);
  110082. t2 = entry.source;
  110083. if (t2.file.getLine$1(t2.offset) === source.file.getLine$1(source.offset) && entry.target.line === target.line)
  110084. return;
  110085. if (entry.target.offset === target.offset)
  110086. return;
  110087. }
  110088. t1.push(new A.Entry(source, target, null));
  110089. },
  110090. write$1(_, object) {
  110091. var t1, i,
  110092. string = J.toString$0$(object);
  110093. this._source_map_buffer0$_buffer._contents += string;
  110094. for (t1 = string.length, i = 0; i < t1; ++i)
  110095. if (string.charCodeAt(i) === 10)
  110096. this._source_map_buffer0$_writeLine$0();
  110097. else
  110098. ++this._source_map_buffer0$_column;
  110099. },
  110100. writeCharCode$1(charCode) {
  110101. var t1 = this._source_map_buffer0$_buffer,
  110102. t2 = A.Primitives_stringFromCharCode(charCode);
  110103. t1._contents += t2;
  110104. if (charCode === 10)
  110105. this._source_map_buffer0$_writeLine$0();
  110106. else
  110107. ++this._source_map_buffer0$_column;
  110108. },
  110109. _source_map_buffer0$_writeLine$0() {
  110110. var _this = this,
  110111. t1 = _this._source_map_buffer0$_entries;
  110112. 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)
  110113. t1.pop();
  110114. ++_this._source_map_buffer0$_line;
  110115. _this._source_map_buffer0$_column = 0;
  110116. if (_this._source_map_buffer0$_inSpan)
  110117. t1.push(new A.Entry(B.JSArray_methods.get$last(t1).source, _this.get$_source_map_buffer0$_targetLocation(), null));
  110118. },
  110119. toString$0(_) {
  110120. var t1 = this._source_map_buffer0$_buffer._contents;
  110121. return t1.charCodeAt(0) == 0 ? t1 : t1;
  110122. },
  110123. buildSourceMap$1$prefix(prefix) {
  110124. var i, t2, prefixColumn, _box_0 = {},
  110125. t1 = prefix.length;
  110126. if (t1 === 0)
  110127. return A.SingleMapping_SingleMapping$fromEntries(this._source_map_buffer0$_entries);
  110128. _box_0.prefixColumn = _box_0.prefixLines = 0;
  110129. for (i = 0, t2 = 0; i < t1; ++i)
  110130. if (prefix.charCodeAt(i) === 10) {
  110131. ++_box_0.prefixLines;
  110132. _box_0.prefixColumn = 0;
  110133. t2 = 0;
  110134. } else {
  110135. prefixColumn = t2 + 1;
  110136. _box_0.prefixColumn = prefixColumn;
  110137. t2 = prefixColumn;
  110138. }
  110139. t2 = this._source_map_buffer0$_entries;
  110140. 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>")));
  110141. }
  110142. };
  110143. A.SourceMapBuffer_buildSourceMap_closure0.prototype = {
  110144. call$1(entry) {
  110145. var t1 = entry.target,
  110146. t2 = t1.line,
  110147. t3 = this._box_0,
  110148. t4 = t3.prefixLines;
  110149. t3 = t2 === 0 ? t3.prefixColumn : 0;
  110150. return new A.Entry(entry.source, A.SourceLocation$(t1.offset + this.prefixLength, t1.column + t3, t2 + t4, null), entry.identifierName);
  110151. },
  110152. $signature: 160
  110153. };
  110154. A.updateSourceSpanPrototype_closure.prototype = {
  110155. call$0() {
  110156. return this.span;
  110157. },
  110158. $signature: 26
  110159. };
  110160. A.updateSourceSpanPrototype_closure0.prototype = {
  110161. call$1(span) {
  110162. return span.get$start(span);
  110163. },
  110164. $signature: 220
  110165. };
  110166. A.updateSourceSpanPrototype_closure1.prototype = {
  110167. call$1(span) {
  110168. return span.get$end(span);
  110169. },
  110170. $signature: 220
  110171. };
  110172. A.updateSourceSpanPrototype_closure2.prototype = {
  110173. call$1(span) {
  110174. return A.NullableExtension_andThen0(span.get$sourceUrl(span), A.utils1__dartToJSUrl$closure());
  110175. },
  110176. $signature: 539
  110177. };
  110178. A.updateSourceSpanPrototype_closure3.prototype = {
  110179. call$1(span) {
  110180. return span.get$text();
  110181. },
  110182. $signature: 212
  110183. };
  110184. A.updateSourceSpanPrototype_closure4.prototype = {
  110185. call$1(span) {
  110186. return span.get$context(span);
  110187. },
  110188. $signature: 212
  110189. };
  110190. A.updateSourceSpanPrototype_closure5.prototype = {
  110191. call$1($location) {
  110192. return $location.get$line();
  110193. },
  110194. $signature: 211
  110195. };
  110196. A.updateSourceSpanPrototype_closure6.prototype = {
  110197. call$1($location) {
  110198. return $location.get$column();
  110199. },
  110200. $signature: 211
  110201. };
  110202. A.StatementSearchVisitor0.prototype = {
  110203. visitAtRootRule$1(node) {
  110204. return this.visitChildren$1(node.children);
  110205. },
  110206. visitAtRule$1(node) {
  110207. return A.NullableExtension_andThen0(node.children, this.get$visitChildren());
  110208. },
  110209. visitContentBlock$1(node) {
  110210. return this.visitChildren$1(node.children);
  110211. },
  110212. visitContentRule$1(node) {
  110213. return null;
  110214. },
  110215. visitDebugRule$1(node) {
  110216. return null;
  110217. },
  110218. visitDeclaration$1(node) {
  110219. return A.NullableExtension_andThen0(node.children, this.get$visitChildren());
  110220. },
  110221. visitEachRule$1(node) {
  110222. return this.visitChildren$1(node.children);
  110223. },
  110224. visitErrorRule$1(node) {
  110225. return null;
  110226. },
  110227. visitExtendRule$1(node) {
  110228. return null;
  110229. },
  110230. visitForRule$1(node) {
  110231. return this.visitChildren$1(node.children);
  110232. },
  110233. visitForwardRule$1(node) {
  110234. return null;
  110235. },
  110236. visitFunctionRule$1(node) {
  110237. return this.visitChildren$1(node.children);
  110238. },
  110239. visitIfRule$1(node) {
  110240. var t1 = A.IterableExtension_search0(node.clauses, new A.StatementSearchVisitor_visitIfRule_closure1(this));
  110241. return t1 == null ? A.NullableExtension_andThen0(node.lastClause, new A.StatementSearchVisitor_visitIfRule_closure2(this)) : t1;
  110242. },
  110243. visitImportRule$1(node) {
  110244. return null;
  110245. },
  110246. visitIncludeRule$1(node) {
  110247. return A.NullableExtension_andThen0(node.content, this.get$visitContentBlock());
  110248. },
  110249. visitLoudComment$1(node) {
  110250. return null;
  110251. },
  110252. visitMediaRule$1(node) {
  110253. return this.visitChildren$1(node.children);
  110254. },
  110255. visitMixinRule$1(node) {
  110256. return this.visitChildren$1(node.children);
  110257. },
  110258. visitReturnRule$1(node) {
  110259. return null;
  110260. },
  110261. visitSilentComment$1(node) {
  110262. return null;
  110263. },
  110264. visitStyleRule$1(node) {
  110265. return this.visitChildren$1(node.children);
  110266. },
  110267. visitStylesheet$1(node) {
  110268. return this.visitChildren$1(node.children);
  110269. },
  110270. visitSupportsRule$1(node) {
  110271. return this.visitChildren$1(node.children);
  110272. },
  110273. visitUseRule$1(node) {
  110274. return null;
  110275. },
  110276. visitVariableDeclaration$1(node) {
  110277. return null;
  110278. },
  110279. visitWarnRule$1(node) {
  110280. return null;
  110281. },
  110282. visitWhileRule$1(node) {
  110283. return this.visitChildren$1(node.children);
  110284. },
  110285. visitChildren$1(children) {
  110286. return A.IterableExtension_search0(children, new A.StatementSearchVisitor_visitChildren_closure0(this));
  110287. }
  110288. };
  110289. A.StatementSearchVisitor_visitIfRule_closure1.prototype = {
  110290. call$1(clause) {
  110291. return A.IterableExtension_search0(clause.children, new A.StatementSearchVisitor_visitIfRule__closure2(this.$this));
  110292. },
  110293. $signature() {
  110294. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(IfClause0)");
  110295. }
  110296. };
  110297. A.StatementSearchVisitor_visitIfRule__closure2.prototype = {
  110298. call$1(child) {
  110299. return child.accept$1(this.$this);
  110300. },
  110301. $signature() {
  110302. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(Statement0)");
  110303. }
  110304. };
  110305. A.StatementSearchVisitor_visitIfRule_closure2.prototype = {
  110306. call$1(lastClause) {
  110307. return A.IterableExtension_search0(lastClause.children, new A.StatementSearchVisitor_visitIfRule__closure1(this.$this));
  110308. },
  110309. $signature() {
  110310. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(ElseClause0)");
  110311. }
  110312. };
  110313. A.StatementSearchVisitor_visitIfRule__closure1.prototype = {
  110314. call$1(child) {
  110315. return child.accept$1(this.$this);
  110316. },
  110317. $signature() {
  110318. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(Statement0)");
  110319. }
  110320. };
  110321. A.StatementSearchVisitor_visitChildren_closure0.prototype = {
  110322. call$1(child) {
  110323. return child.accept$1(this.$this);
  110324. },
  110325. $signature() {
  110326. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(Statement0)");
  110327. }
  110328. };
  110329. A.StaticImport0.prototype = {
  110330. toString$0(_) {
  110331. var t1 = this.url.toString$0(0),
  110332. t2 = this.modifiers;
  110333. return t1 + (t2 == null ? "" : " " + t2.toString$0(0));
  110334. },
  110335. $isImport0: 1,
  110336. $isAstNode0: 1,
  110337. get$span(receiver) {
  110338. return this.span;
  110339. }
  110340. };
  110341. A.StderrLogger0.prototype = {
  110342. warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
  110343. var t2,
  110344. result = new A.StringBuffer(""),
  110345. t1 = this.color;
  110346. if (t1) {
  110347. t2 = result._contents = "" + "\x1b[33m\x1b[1m";
  110348. t2 = result._contents = (deprecation ? result._contents = t2 + "Deprecation " : t2) + "Warning\x1b[0m";
  110349. } else
  110350. t2 = result._contents = (deprecation ? result._contents = "" + "DEPRECATION " : "") + "WARNING";
  110351. if (span == null)
  110352. t1 = result._contents = t2 + (": " + message + "\n");
  110353. else if (trace != null) {
  110354. t1 = t2 + (": " + message + "\n\n" + span.highlight$1$color(t1) + "\n");
  110355. result._contents = t1;
  110356. } else {
  110357. t1 = t2 + (" on " + span.message$2$color(0, "\n" + message, t1) + "\n");
  110358. result._contents = t1;
  110359. }
  110360. if (trace != null)
  110361. result._contents = t1 + (A.indent0(B.JSString_methods.trimRight$0(trace.toString$0(0)), 4) + "\n");
  110362. A.printError0(result);
  110363. },
  110364. warn$1(_, message) {
  110365. return this.warn$4$deprecation$span$trace(0, message, false, null, null);
  110366. },
  110367. warn$3$span$trace(_, message, span, trace) {
  110368. return this.warn$4$deprecation$span$trace(0, message, false, span, trace);
  110369. },
  110370. warn$2$span(_, message, span) {
  110371. return this.warn$4$deprecation$span$trace(0, message, false, span, null);
  110372. },
  110373. warn$2$trace(_, message, trace) {
  110374. return this.warn$4$deprecation$span$trace(0, message, false, null, trace);
  110375. },
  110376. debug$2(_, message, span) {
  110377. var url, t3, t4,
  110378. t1 = span.file,
  110379. t2 = span._file$_start;
  110380. if (A.FileLocation$_(t1, t2).file.url == null)
  110381. url = "-";
  110382. else {
  110383. t3 = A.FileLocation$_(t1, t2).file.url;
  110384. t4 = $.$get$context();
  110385. t3.toString;
  110386. url = t4.prettyUri$1(t3);
  110387. }
  110388. t1 = A.FileLocation$_(t1, t2);
  110389. t1 = t1.file.getLine$1(t1.offset);
  110390. t2 = this.color ? "\x1b[1mDebug\x1b[0m" : "DEBUG";
  110391. t2 = "" + (url + ":" + (t1 + 1) + " ") + t2 + (": " + message);
  110392. A.printError0(t2.charCodeAt(0) == 0 ? t2 : t2);
  110393. }
  110394. };
  110395. A.StringExpression0.prototype = {
  110396. get$span(_) {
  110397. return this.text.span;
  110398. },
  110399. accept$1$1(visitor) {
  110400. return visitor.visitStringExpression$1(this);
  110401. },
  110402. accept$1(visitor) {
  110403. return this.accept$1$1(visitor, type$.dynamic);
  110404. },
  110405. asInterpolation$1$static($static) {
  110406. var t1, t2, quote, t3, t4, buffer, t5, t6, _i, value;
  110407. if (!this.hasQuotes)
  110408. return this.text;
  110409. t1 = this.text;
  110410. t2 = t1.contents;
  110411. quote = A.StringExpression__bestQuote0(new A.WhereTypeIterable(t2, type$.WhereTypeIterable_String));
  110412. t3 = new A.StringBuffer("");
  110413. t4 = A._setArrayType([], type$.JSArray_Object);
  110414. buffer = new A.InterpolationBuffer0(t3, t4);
  110415. t5 = A.Primitives_stringFromCharCode(quote);
  110416. t3._contents += t5;
  110417. for (t5 = t2.length, t6 = type$.Expression_2, _i = 0; _i < t5; ++_i) {
  110418. value = t2[_i];
  110419. if (t6._is(value)) {
  110420. buffer._interpolation_buffer0$_flushText$0();
  110421. t4.push(value);
  110422. continue;
  110423. }
  110424. if (typeof value == "string")
  110425. A.StringExpression__quoteInnerText0(value, quote, buffer, $static);
  110426. }
  110427. t2 = A.Primitives_stringFromCharCode(quote);
  110428. t3._contents += t2;
  110429. return buffer.interpolation$1(t1.span);
  110430. },
  110431. asInterpolation$0() {
  110432. return this.asInterpolation$1$static(false);
  110433. },
  110434. toString$0(_) {
  110435. return this.asInterpolation$0().toString$0(0);
  110436. },
  110437. $isExpression0: 1,
  110438. $isAstNode0: 1
  110439. };
  110440. A.module_closure10.prototype = {
  110441. call$1($arguments) {
  110442. var limit, t2, chunks, i, lastEnd, match, t3,
  110443. t1 = J.getInterceptor$asx($arguments),
  110444. string = t1.$index($arguments, 0).assertString$1("string"),
  110445. separator = t1.$index($arguments, 1).assertString$1("separator");
  110446. t1 = t1.$index($arguments, 2).get$realNull();
  110447. limit = t1 == null ? null : t1.assertNumber$1("limit").assertInt$1("limit");
  110448. if (limit != null && limit < 1)
  110449. throw A.wrapException(A.SassScriptException$0("$limit: Must be 1 or greater, was " + A.S(limit) + ".", null));
  110450. t1 = string._string0$_text;
  110451. if (t1.length === 0)
  110452. return B.SassList_bdS2;
  110453. else {
  110454. t2 = separator._string0$_text;
  110455. if (t2.length === 0)
  110456. return A.SassList$0(A.MappedIterable_MappedIterable(new A.Runes(t1), new A.module__closure2(string), type$.Runes._eval$1("Iterable.E"), type$.Value_2), B.ListSeparator_ECn0, true);
  110457. }
  110458. chunks = A._setArrayType([], type$.JSArray_String);
  110459. 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();) {
  110460. match = t2.__js_helper$_current;
  110461. t3 = match.start;
  110462. chunks.push(B.JSString_methods.substring$2(t1, lastEnd, t3));
  110463. lastEnd = t3 + match.pattern.length;
  110464. ++i;
  110465. if (i === limit)
  110466. break;
  110467. }
  110468. chunks.push(B.JSString_methods.substring$1(t1, lastEnd));
  110469. return A.SassList$0(new A.MappedListIterable(chunks, new A.module__closure3(string), type$.MappedListIterable_String_Value_2), B.ListSeparator_ECn0, true);
  110470. },
  110471. $signature: 22
  110472. };
  110473. A.module__closure2.prototype = {
  110474. call$1(rune) {
  110475. return new A.SassString0(A.Primitives_stringFromCharCode(rune), this.string._string0$_hasQuotes);
  110476. },
  110477. $signature: 542
  110478. };
  110479. A.module__closure3.prototype = {
  110480. call$1(chunk) {
  110481. return new A.SassString0(chunk, this.string._string0$_hasQuotes);
  110482. },
  110483. $signature: 543
  110484. };
  110485. A._unquote_closure0.prototype = {
  110486. call$1($arguments) {
  110487. var string = J.$index$asx($arguments, 0).assertString$1("string");
  110488. if (!string._string0$_hasQuotes)
  110489. return string;
  110490. return new A.SassString0(string._string0$_text, false);
  110491. },
  110492. $signature: 19
  110493. };
  110494. A._quote_closure0.prototype = {
  110495. call$1($arguments) {
  110496. var string = J.$index$asx($arguments, 0).assertString$1("string");
  110497. if (string._string0$_hasQuotes)
  110498. return string;
  110499. return new A.SassString0(string._string0$_text, true);
  110500. },
  110501. $signature: 19
  110502. };
  110503. A._length_closure1.prototype = {
  110504. call$1($arguments) {
  110505. return A.SassNumber_SassNumber0(J.$index$asx($arguments, 0).assertString$1("string").get$_string0$_sassLength(), null);
  110506. },
  110507. $signature: 12
  110508. };
  110509. A._insert_closure0.prototype = {
  110510. call$1($arguments) {
  110511. var indexInt, codeUnitIndex, _s5_ = "index",
  110512. t1 = J.getInterceptor$asx($arguments),
  110513. string = t1.$index($arguments, 0).assertString$1("string"),
  110514. insert = t1.$index($arguments, 1).assertString$1("insert"),
  110515. index = t1.$index($arguments, 2).assertNumber$1(_s5_);
  110516. index.assertNoUnits$1(_s5_);
  110517. indexInt = index.assertInt$1(_s5_);
  110518. if (indexInt < 0)
  110519. indexInt = Math.max(string.get$_string0$_sassLength() + indexInt + 2, 0);
  110520. t1 = string._string0$_text;
  110521. codeUnitIndex = A.codepointIndexToCodeUnitIndex0(t1, A._codepointForIndex0(indexInt, string.get$_string0$_sassLength(), false));
  110522. return new A.SassString0(B.JSString_methods.replaceRange$3(t1, codeUnitIndex, codeUnitIndex, insert._string0$_text), string._string0$_hasQuotes);
  110523. },
  110524. $signature: 19
  110525. };
  110526. A._index_closure1.prototype = {
  110527. call$1($arguments) {
  110528. var t1 = J.getInterceptor$asx($arguments),
  110529. t2 = t1.$index($arguments, 0).assertString$1("string")._string0$_text,
  110530. codeUnitIndex = B.JSString_methods.indexOf$1(t2, t1.$index($arguments, 1).assertString$1("substring")._string0$_text);
  110531. if (codeUnitIndex === -1)
  110532. return B.C__SassNull0;
  110533. return A.SassNumber_SassNumber0(A.codeUnitIndexToCodepointIndex0(t2, codeUnitIndex) + 1, null);
  110534. },
  110535. $signature: 3
  110536. };
  110537. A._slice_closure0.prototype = {
  110538. call$1($arguments) {
  110539. var lengthInCodepoints, endInt, startCodepoint, endCodepoint,
  110540. _s8_ = "start-at",
  110541. t1 = J.getInterceptor$asx($arguments),
  110542. string = t1.$index($arguments, 0).assertString$1("string"),
  110543. start = t1.$index($arguments, 1).assertNumber$1(_s8_),
  110544. end = t1.$index($arguments, 2).assertNumber$1("end-at");
  110545. start.assertNoUnits$1(_s8_);
  110546. end.assertNoUnits$1("end-at");
  110547. lengthInCodepoints = string.get$_string0$_sassLength();
  110548. endInt = end.assertInt$0();
  110549. if (endInt === 0)
  110550. return string._string0$_hasQuotes ? $.$get$_emptyQuoted0() : $.$get$_emptyUnquoted0();
  110551. startCodepoint = A._codepointForIndex0(start.assertInt$0(), lengthInCodepoints, false);
  110552. endCodepoint = A._codepointForIndex0(endInt, lengthInCodepoints, true);
  110553. if (endCodepoint === lengthInCodepoints)
  110554. --endCodepoint;
  110555. if (endCodepoint < startCodepoint)
  110556. return string._string0$_hasQuotes ? $.$get$_emptyQuoted0() : $.$get$_emptyUnquoted0();
  110557. t1 = string._string0$_text;
  110558. return new A.SassString0(B.JSString_methods.substring$2(t1, A.codepointIndexToCodeUnitIndex0(t1, startCodepoint), A.codepointIndexToCodeUnitIndex0(t1, endCodepoint + 1)), string._string0$_hasQuotes);
  110559. },
  110560. $signature: 19
  110561. };
  110562. A._toUpperCase_closure0.prototype = {
  110563. call$1($arguments) {
  110564. var t1, t2, i, t3, t4,
  110565. string = J.$index$asx($arguments, 0).assertString$1("string");
  110566. for (t1 = string._string0$_text, t2 = t1.length, i = 0, t3 = ""; i < t2; ++i) {
  110567. t4 = t1.charCodeAt(i);
  110568. t3 += A.Primitives_stringFromCharCode(t4 >= 97 && t4 <= 122 ? t4 & 4294967263 : t4);
  110569. }
  110570. return new A.SassString0(t3.charCodeAt(0) == 0 ? t3 : t3, string._string0$_hasQuotes);
  110571. },
  110572. $signature: 19
  110573. };
  110574. A._toLowerCase_closure0.prototype = {
  110575. call$1($arguments) {
  110576. var t1, t2, i, t3, t4,
  110577. string = J.$index$asx($arguments, 0).assertString$1("string");
  110578. for (t1 = string._string0$_text, t2 = t1.length, i = 0, t3 = ""; i < t2; ++i) {
  110579. t4 = t1.charCodeAt(i);
  110580. t3 += A.Primitives_stringFromCharCode(t4 >= 65 && t4 <= 90 ? t4 | 32 : t4);
  110581. }
  110582. return new A.SassString0(t3.charCodeAt(0) == 0 ? t3 : t3, string._string0$_hasQuotes);
  110583. },
  110584. $signature: 19
  110585. };
  110586. A._uniqueId_closure0.prototype = {
  110587. call$1($arguments) {
  110588. var t1 = $.$get$_previousUniqueId0() + ($.$get$_random1().nextInt$1(36) + 1);
  110589. $._previousUniqueId0 = t1;
  110590. if (t1 > Math.pow(36, 6))
  110591. $._previousUniqueId0 = B.JSInt_methods.$mod($.$get$_previousUniqueId0(), A._asInt(Math.pow(36, 6)));
  110592. return new A.SassString0("u" + B.JSString_methods.padLeft$2(B.JSInt_methods.toRadixString$1($.$get$_previousUniqueId0(), 36), 6, "0"), false);
  110593. },
  110594. $signature: 19
  110595. };
  110596. A.stringClass_closure.prototype = {
  110597. call$0() {
  110598. var t2,
  110599. t1 = type$.JSClass,
  110600. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassString", new A.stringClass__closure()));
  110601. 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));
  110602. J.get$$prototype$x(jsClass).sassIndexToStringIndex = A.allowInteropCaptureThisNamed("sassIndexToStringIndex", new A.stringClass__closure3());
  110603. t2 = $.$get$_emptyQuoted0();
  110604. A.JSClassExtension_injectSuperclass(t1._as(t2.constructor), jsClass);
  110605. return jsClass;
  110606. },
  110607. $signature: 13
  110608. };
  110609. A.stringClass__closure.prototype = {
  110610. call$3($self, textOrOptions, options) {
  110611. var t1;
  110612. if (typeof textOrOptions == "string") {
  110613. t1 = options == null ? null : J.get$quotes$x(options);
  110614. t1 = new A.SassString0(textOrOptions, t1 == null ? true : t1);
  110615. } else {
  110616. type$.nullable__ConstructorOptions_3._as(textOrOptions);
  110617. t1 = textOrOptions == null ? null : J.get$quotes$x(textOrOptions);
  110618. t1 = (t1 == null ? true : t1) ? $.$get$_emptyQuoted0() : $.$get$_emptyUnquoted0();
  110619. }
  110620. return t1;
  110621. },
  110622. call$1($self) {
  110623. return this.call$3($self, null, null);
  110624. },
  110625. call$2($self, textOrOptions) {
  110626. return this.call$3($self, textOrOptions, null);
  110627. },
  110628. "call*": "call$3",
  110629. $requiredArgCount: 1,
  110630. $defaultValues() {
  110631. return [null, null];
  110632. },
  110633. $signature: 544
  110634. };
  110635. A.stringClass__closure0.prototype = {
  110636. call$1($self) {
  110637. return $self._string0$_text;
  110638. },
  110639. $signature: 545
  110640. };
  110641. A.stringClass__closure1.prototype = {
  110642. call$1($self) {
  110643. return $self._string0$_hasQuotes;
  110644. },
  110645. $signature: 546
  110646. };
  110647. A.stringClass__closure2.prototype = {
  110648. call$1($self) {
  110649. return $self.get$_string0$_sassLength();
  110650. },
  110651. $signature: 547
  110652. };
  110653. A.stringClass__closure3.prototype = {
  110654. call$3($self, sassIndex, $name) {
  110655. var t1,
  110656. index = sassIndex.assertNumber$1($name).assertInt$1($name);
  110657. if (index === 0)
  110658. A.throwExpression(A.SassScriptException$0("String index may not be 0.", $name));
  110659. else if (Math.abs(index) > $self.get$_string0$_sassLength())
  110660. A.throwExpression(A.SassScriptException$0("Invalid index " + sassIndex.toString$0(0) + " for a string with " + $self.get$_string0$_sassLength() + " characters.", $name));
  110661. t1 = index < 0 ? $self.get$_string0$_sassLength() + index : index - 1;
  110662. return A.codepointIndexToCodeUnitIndex0($self._string0$_text, t1);
  110663. },
  110664. call$2($self, sassIndex) {
  110665. return this.call$3($self, sassIndex, null);
  110666. },
  110667. "call*": "call$3",
  110668. $requiredArgCount: 2,
  110669. $defaultValues() {
  110670. return [null];
  110671. },
  110672. $signature: 548
  110673. };
  110674. A._ConstructorOptions1.prototype = {};
  110675. A._NodeSassString.prototype = {};
  110676. A.legacyStringClass_closure.prototype = {
  110677. call$3(thisArg, value, dartValue) {
  110678. var t1;
  110679. if (dartValue == null) {
  110680. value.toString;
  110681. t1 = new A.SassString0(value, false);
  110682. } else
  110683. t1 = dartValue;
  110684. J.set$dartValue$x(thisArg, t1);
  110685. },
  110686. call$2(thisArg, value) {
  110687. return this.call$3(thisArg, value, null);
  110688. },
  110689. "call*": "call$3",
  110690. $requiredArgCount: 2,
  110691. $defaultValues() {
  110692. return [null];
  110693. },
  110694. $signature: 549
  110695. };
  110696. A.legacyStringClass_closure0.prototype = {
  110697. call$1(thisArg) {
  110698. return J.get$dartValue$x(thisArg)._string0$_text;
  110699. },
  110700. $signature: 550
  110701. };
  110702. A.legacyStringClass_closure1.prototype = {
  110703. call$2(thisArg, value) {
  110704. J.set$dartValue$x(thisArg, new A.SassString0(value, false));
  110705. },
  110706. $signature: 551
  110707. };
  110708. A.SassString0.prototype = {
  110709. get$_string0$_sassLength() {
  110710. var result, _this = this,
  110711. value = _this._string0$__SassString__sassLength_FI;
  110712. if (value === $) {
  110713. result = new A.Runes(_this._string0$_text).get$length(0);
  110714. _this._string0$__SassString__sassLength_FI !== $ && A.throwUnnamedLateFieldADI();
  110715. _this._string0$__SassString__sassLength_FI = result;
  110716. value = result;
  110717. }
  110718. return value;
  110719. },
  110720. get$isSpecialNumber() {
  110721. var t1, _2_0, _0_0, _1_0;
  110722. if (this._string0$_hasQuotes)
  110723. return false;
  110724. t1 = this._string0$_text;
  110725. if (t1.length < 6)
  110726. return false;
  110727. _2_0 = t1.charCodeAt(0);
  110728. $label1$1: {
  110729. if (99 === _2_0 || 67 === _2_0) {
  110730. _0_0 = t1.charCodeAt(1);
  110731. $label0$0: {
  110732. if (108 === _0_0 || 76 === _0_0) {
  110733. t1 = (t1.charCodeAt(2) | 32) === 97 && (t1.charCodeAt(3) | 32) === 109 && (t1.charCodeAt(4) | 32) === 112 && t1.charCodeAt(5) === 40;
  110734. break $label0$0;
  110735. }
  110736. if (97 === _0_0 || 65 === _0_0) {
  110737. t1 = (t1.charCodeAt(2) | 32) === 108 && (t1.charCodeAt(3) | 32) === 99 && t1.charCodeAt(4) === 40;
  110738. break $label0$0;
  110739. }
  110740. t1 = false;
  110741. break $label0$0;
  110742. }
  110743. break $label1$1;
  110744. }
  110745. if (118 === _2_0 || 86 === _2_0) {
  110746. t1 = (t1.charCodeAt(1) | 32) === 97 && (t1.charCodeAt(2) | 32) === 114 && t1.charCodeAt(3) === 40;
  110747. break $label1$1;
  110748. }
  110749. if (101 === _2_0 || 69 === _2_0) {
  110750. t1 = (t1.charCodeAt(1) | 32) === 110 && (t1.charCodeAt(2) | 32) === 118 && t1.charCodeAt(3) === 40;
  110751. break $label1$1;
  110752. }
  110753. if (109 === _2_0 || 77 === _2_0) {
  110754. _1_0 = t1.charCodeAt(1);
  110755. $label2$2: {
  110756. if (97 === _1_0 || 65 === _1_0) {
  110757. t1 = (t1.charCodeAt(2) | 32) === 120 && t1.charCodeAt(3) === 40;
  110758. break $label2$2;
  110759. }
  110760. if (105 === _1_0 || 73 === _1_0) {
  110761. t1 = (t1.charCodeAt(2) | 32) === 110 && t1.charCodeAt(3) === 40;
  110762. break $label2$2;
  110763. }
  110764. t1 = false;
  110765. break $label2$2;
  110766. }
  110767. break $label1$1;
  110768. }
  110769. t1 = false;
  110770. break $label1$1;
  110771. }
  110772. return t1;
  110773. },
  110774. get$isVar() {
  110775. if (this._string0$_hasQuotes)
  110776. return false;
  110777. var t1 = this._string0$_text;
  110778. if (t1.length < 8)
  110779. return false;
  110780. return (t1.charCodeAt(0) | 32) === 118 && (t1.charCodeAt(1) | 32) === 97 && (t1.charCodeAt(2) | 32) === 114 && t1.charCodeAt(3) === 40;
  110781. },
  110782. get$isBlank() {
  110783. return !this._string0$_hasQuotes && this._string0$_text.length === 0;
  110784. },
  110785. accept$1$1(visitor) {
  110786. var t1 = visitor._serialize0$_quote && this._string0$_hasQuotes,
  110787. t2 = this._string0$_text;
  110788. if (t1)
  110789. visitor._serialize0$_visitQuotedString$1(t2);
  110790. else
  110791. visitor._serialize0$_visitUnquotedString$1(t2);
  110792. return null;
  110793. },
  110794. accept$1(visitor) {
  110795. return this.accept$1$1(visitor, type$.dynamic);
  110796. },
  110797. assertString$1($name) {
  110798. return this;
  110799. },
  110800. plus$1(other) {
  110801. var t1 = this._string0$_text,
  110802. t2 = this._string0$_hasQuotes;
  110803. return other instanceof A.SassString0 ? new A.SassString0(t1 + other._string0$_text, t2) : new A.SassString0(t1 + A.serializeValue0(other, false, true), t2);
  110804. },
  110805. $eq(_, other) {
  110806. if (other == null)
  110807. return false;
  110808. return other instanceof A.SassString0 && this._string0$_text === other._string0$_text;
  110809. },
  110810. get$hashCode(_) {
  110811. var t1 = this._string0$_hashCache;
  110812. return t1 == null ? this._string0$_hashCache = B.JSString_methods.get$hashCode(this._string0$_text) : t1;
  110813. }
  110814. };
  110815. A.ModifiableCssStyleRule0.prototype = {
  110816. accept$1$1(visitor) {
  110817. return visitor.visitCssStyleRule$1(this);
  110818. },
  110819. accept$1(visitor) {
  110820. return this.accept$1$1(visitor, type$.dynamic);
  110821. },
  110822. equalsIgnoringChildren$1(other) {
  110823. var t1;
  110824. if (other instanceof A.ModifiableCssStyleRule0)
  110825. t1 = B.C_ListEquality.equals$2(0, other._style_rule0$_selector._box0$_inner.value.components, this._style_rule0$_selector._box0$_inner.value.components);
  110826. else
  110827. t1 = false;
  110828. return t1;
  110829. },
  110830. copyWithoutChildren$0() {
  110831. return A.ModifiableCssStyleRule$0(this._style_rule0$_selector, this.span, false, this.originalSelector);
  110832. },
  110833. get$span(receiver) {
  110834. return this.span;
  110835. }
  110836. };
  110837. A.StyleRule0.prototype = {
  110838. accept$1$1(visitor) {
  110839. return visitor.visitStyleRule$1(this);
  110840. },
  110841. accept$1(visitor) {
  110842. return this.accept$1$1(visitor, type$.dynamic);
  110843. },
  110844. toString$0(_) {
  110845. var t1 = this.children;
  110846. return this.selector.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  110847. },
  110848. get$span(receiver) {
  110849. return this.span;
  110850. }
  110851. };
  110852. A.CssStylesheet0.prototype = {
  110853. get$isGroupEnd() {
  110854. return false;
  110855. },
  110856. get$isChildless() {
  110857. return false;
  110858. },
  110859. accept$1$1(visitor) {
  110860. return visitor.visitCssStylesheet$1(this);
  110861. },
  110862. accept$1(visitor) {
  110863. return this.accept$1$1(visitor, type$.dynamic);
  110864. },
  110865. get$children(receiver) {
  110866. return this.children;
  110867. },
  110868. get$span(receiver) {
  110869. return this.span;
  110870. }
  110871. };
  110872. A.ModifiableCssStylesheet0.prototype = {
  110873. accept$1$1(visitor) {
  110874. return visitor.visitCssStylesheet$1(this);
  110875. },
  110876. accept$1(visitor) {
  110877. return this.accept$1$1(visitor, type$.dynamic);
  110878. },
  110879. equalsIgnoringChildren$1(other) {
  110880. return other instanceof A.ModifiableCssStylesheet0;
  110881. },
  110882. copyWithoutChildren$0() {
  110883. return A.ModifiableCssStylesheet$0(this.span);
  110884. },
  110885. $isCssStylesheet0: 1,
  110886. get$span(receiver) {
  110887. return this.span;
  110888. }
  110889. };
  110890. A.StylesheetParser0.prototype = {
  110891. parse$0() {
  110892. return this.wrapSpanFormatException$1(new A.StylesheetParser_parse_closure0(this));
  110893. },
  110894. parseArgumentDeclaration$0() {
  110895. return this._stylesheet0$_parseSingleProduction$1$1(new A.StylesheetParser_parseArgumentDeclaration_closure0(this), type$.ArgumentDeclaration_2);
  110896. },
  110897. _stylesheet0$_parseSingleProduction$1$1(production, $T) {
  110898. return this.wrapSpanFormatException$1(new A.StylesheetParser__parseSingleProduction_closure0(this, production, $T));
  110899. },
  110900. parseSignature$1$requireParens(requireParens) {
  110901. return this.wrapSpanFormatException$1(new A.StylesheetParser_parseSignature_closure(this, requireParens));
  110902. },
  110903. _stylesheet0$_statement$1$root(root) {
  110904. var t2, _this = this,
  110905. t1 = _this.scanner,
  110906. _0_0 = t1.peekChar$0();
  110907. if (64 === _0_0)
  110908. return _this.atRule$2$root(new A.StylesheetParser__statement_closure0(_this), root);
  110909. if (43 === _0_0) {
  110910. if (!_this.get$indented() || !_this.lookingAtIdentifier$1(1))
  110911. return _this._stylesheet0$_styleRule$0();
  110912. _this._stylesheet0$_isUseAllowed = false;
  110913. t2 = t1._string_scanner$_position;
  110914. t1.readChar$0();
  110915. return _this._stylesheet0$_includeRule$1(new A._SpanScannerState(t1, t2));
  110916. }
  110917. if (61 === _0_0) {
  110918. if (!_this.get$indented())
  110919. return _this._stylesheet0$_styleRule$0();
  110920. _this._stylesheet0$_isUseAllowed = false;
  110921. t2 = t1._string_scanner$_position;
  110922. t1.readChar$0();
  110923. _this.whitespace$0();
  110924. return _this._stylesheet0$_mixinRule$1(new A._SpanScannerState(t1, t2));
  110925. }
  110926. if (125 === _0_0)
  110927. t1.error$2$length(0, 'unmatched "}".', 1);
  110928. return _this._stylesheet0$_inStyleRule || _this._stylesheet0$_inUnknownAtRule || _this._stylesheet0$_inMixin || _this._stylesheet0$_inContentBlock ? _this._stylesheet0$_declarationOrStyleRule$0() : _this._stylesheet0$_variableDeclarationOrStyleRule$0();
  110929. },
  110930. _stylesheet0$_statement$0() {
  110931. return this._stylesheet0$_statement$1$root(false);
  110932. },
  110933. variableDeclarationWithoutNamespace$2(namespace, start_) {
  110934. var t1, start, $name, t2, value, flagStart, t3, guarded, global, _0_0, endPosition, t4, t5, t6, declaration, _this = this,
  110935. precedingComment = _this.lastSilentComment;
  110936. _this.lastSilentComment = null;
  110937. if (start_ == null) {
  110938. t1 = _this.scanner;
  110939. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  110940. } else
  110941. start = start_;
  110942. $name = _this.variableName$0();
  110943. t1 = namespace != null;
  110944. if (t1)
  110945. _this._stylesheet0$_assertPublic$2($name, new A.StylesheetParser_variableDeclarationWithoutNamespace_closure1(_this, start));
  110946. if (_this.get$plainCss())
  110947. _this.error$2(0, string$.Sass_v, _this.scanner.spanFrom$1(start));
  110948. _this.whitespace$0();
  110949. t2 = _this.scanner;
  110950. t2.expectChar$1(58);
  110951. _this.whitespace$0();
  110952. value = _this._stylesheet0$_expression$0();
  110953. flagStart = new A._SpanScannerState(t2, t2._string_scanner$_position);
  110954. for (t3 = _this.logger, guarded = false, global = false; t2.scanChar$1(33);) {
  110955. $label0$0: {
  110956. _0_0 = _this.identifier$0();
  110957. if ("default" === _0_0) {
  110958. if (guarded) {
  110959. endPosition = t2._string_scanner$_position;
  110960. t4 = t2._sourceFile;
  110961. t5 = flagStart.position;
  110962. t6 = new A._FileSpan(t4, t5, endPosition);
  110963. t6._FileSpan$3(t4, t5, endPosition);
  110964. A.WarnForDeprecation_warnForDeprecation0(t3, B.Deprecation_c2q, string$.x21defau, t6, null);
  110965. }
  110966. guarded = true;
  110967. break $label0$0;
  110968. }
  110969. if ("global" === _0_0) {
  110970. if (t1) {
  110971. endPosition = t2._string_scanner$_position;
  110972. t4 = t2._sourceFile;
  110973. t5 = flagStart.position;
  110974. t6 = new A._FileSpan(t4, t5, endPosition);
  110975. t6._FileSpan$3(t4, t5, endPosition);
  110976. _this.error$2(0, string$.x21globai, t6);
  110977. } else if (global) {
  110978. endPosition = t2._string_scanner$_position;
  110979. t4 = t2._sourceFile;
  110980. t5 = flagStart.position;
  110981. t6 = new A._FileSpan(t4, t5, endPosition);
  110982. t6._FileSpan$3(t4, t5, endPosition);
  110983. A.WarnForDeprecation_warnForDeprecation0(t3, B.Deprecation_c2q, string$.x21globas, t6, null);
  110984. }
  110985. global = true;
  110986. break $label0$0;
  110987. }
  110988. endPosition = t2._string_scanner$_position;
  110989. t4 = t2._sourceFile;
  110990. t5 = flagStart.position;
  110991. t6 = new A._FileSpan(t4, t5, endPosition);
  110992. t6._FileSpan$3(t4, t5, endPosition);
  110993. _this.error$2(0, "Invalid flag name.", t6);
  110994. }
  110995. _this.whitespace$0();
  110996. flagStart = new A._SpanScannerState(t2, t2._string_scanner$_position);
  110997. }
  110998. _this.expectStatementSeparator$1("variable declaration");
  110999. declaration = A.VariableDeclaration$0($name, value, t2.spanFrom$1(start), precedingComment, global, guarded, namespace);
  111000. if (global)
  111001. _this._stylesheet0$_globalVariables.putIfAbsent$2($name, new A.StylesheetParser_variableDeclarationWithoutNamespace_closure2(declaration));
  111002. return declaration;
  111003. },
  111004. variableDeclarationWithoutNamespace$0() {
  111005. return this.variableDeclarationWithoutNamespace$2(null, null);
  111006. },
  111007. _stylesheet0$_variableDeclarationOrStyleRule$0() {
  111008. var t1, t2, variableOrInterpolation, t3, _this = this;
  111009. if (_this.get$plainCss())
  111010. return _this._stylesheet0$_styleRule$0();
  111011. if (_this.get$indented() && _this.scanner.scanChar$1(92))
  111012. return _this._stylesheet0$_styleRule$0();
  111013. if (!_this.lookingAtIdentifier$0())
  111014. return _this._stylesheet0$_styleRule$0();
  111015. t1 = _this.scanner;
  111016. t2 = t1._string_scanner$_position;
  111017. variableOrInterpolation = _this._stylesheet0$_variableDeclarationOrInterpolation$0();
  111018. if (variableOrInterpolation instanceof A.VariableDeclaration0)
  111019. t1 = variableOrInterpolation;
  111020. else {
  111021. t3 = new A.InterpolationBuffer0(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object));
  111022. t3.addInterpolation$1(type$.Interpolation_2._as(variableOrInterpolation));
  111023. t2 = _this._stylesheet0$_styleRule$2(t3, new A._SpanScannerState(t1, t2));
  111024. t1 = t2;
  111025. }
  111026. return t1;
  111027. },
  111028. _stylesheet0$_declarationOrStyleRule$0() {
  111029. var t1, t2, declarationOrBuffer, _this = this;
  111030. if (_this.get$indented() && _this.scanner.scanChar$1(92))
  111031. return _this._stylesheet0$_styleRule$0();
  111032. t1 = _this.scanner;
  111033. t2 = t1._string_scanner$_position;
  111034. declarationOrBuffer = _this._stylesheet0$_declarationOrBuffer$0();
  111035. return type$.Statement_2._is(declarationOrBuffer) ? declarationOrBuffer : _this._stylesheet0$_styleRule$2(type$.InterpolationBuffer_2._as(declarationOrBuffer), new A._SpanScannerState(t1, t2));
  111036. },
  111037. _stylesheet0$_declarationOrBuffer$0() {
  111038. var midBuffer, couldBeSelector, beforeDeclaration, value, additional, t2, t3, variableOrInterpolation, t4, t5, $name, postColonWhitespace, _0_0, exception, _1_0, _this = this,
  111039. t1 = _this.scanner,
  111040. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  111041. nameBuffer = new A.InterpolationBuffer0(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object)),
  111042. startsWithPunctuation = _this._stylesheet0$_lookingAtPotentialPropertyHack$0();
  111043. if (startsWithPunctuation) {
  111044. t2 = t1.readChar$0();
  111045. t3 = nameBuffer._interpolation_buffer0$_text;
  111046. t2 = A.Primitives_stringFromCharCode(t2);
  111047. t3._contents += t2;
  111048. t2 = _this.rawText$1(_this.get$whitespace());
  111049. t3 = nameBuffer._interpolation_buffer0$_text;
  111050. t3._contents += t2;
  111051. }
  111052. if (!_this._stylesheet0$_lookingAtInterpolatedIdentifier$0())
  111053. return nameBuffer;
  111054. variableOrInterpolation = startsWithPunctuation ? _this.interpolatedIdentifier$0() : _this._stylesheet0$_variableDeclarationOrInterpolation$0();
  111055. if (variableOrInterpolation instanceof A.VariableDeclaration0)
  111056. return variableOrInterpolation;
  111057. else
  111058. nameBuffer.addInterpolation$1(type$.Interpolation_2._as(variableOrInterpolation));
  111059. _this._stylesheet0$_isUseAllowed = false;
  111060. if (t1.matches$1("/*")) {
  111061. t2 = _this.rawText$1(_this.get$loudComment());
  111062. t3 = nameBuffer._interpolation_buffer0$_text;
  111063. t3._contents += t2;
  111064. }
  111065. midBuffer = new A.StringBuffer("");
  111066. t2 = midBuffer;
  111067. t3 = _this.get$whitespace();
  111068. t4 = _this.rawText$1(t3);
  111069. t2._contents += t4;
  111070. t4 = t1._string_scanner$_position;
  111071. if (!t1.scanChar$1(58)) {
  111072. if (midBuffer._contents.length !== 0) {
  111073. t1 = nameBuffer._interpolation_buffer0$_text;
  111074. t2 = A.Primitives_stringFromCharCode(32);
  111075. t1._contents += t2;
  111076. }
  111077. return nameBuffer;
  111078. }
  111079. t2 = midBuffer;
  111080. t5 = A.Primitives_stringFromCharCode(58);
  111081. t2._contents += t5;
  111082. $name = nameBuffer.interpolation$1(t1.spanFrom$2(start, new A._SpanScannerState(t1, t4)));
  111083. if (B.JSString_methods.startsWith$1($name.get$initialPlain(), "--")) {
  111084. t2 = _this._stylesheet0$_interpolatedDeclarationValue$0();
  111085. _this.expectStatementSeparator$1("custom property");
  111086. return A.Declaration$0($name, new A.StringExpression0(t2, false), t1.spanFrom$1(start));
  111087. }
  111088. if (t1.scanChar$1(58)) {
  111089. t1 = nameBuffer;
  111090. t2 = t1._interpolation_buffer0$_text;
  111091. t3 = A.S(midBuffer);
  111092. t2._contents += t3;
  111093. t3 = A.Primitives_stringFromCharCode(58);
  111094. t2._contents += t3;
  111095. return t1;
  111096. } else if (_this.get$indented() && _this._stylesheet0$_lookingAtInterpolatedIdentifier$0()) {
  111097. t1 = nameBuffer;
  111098. t2 = t1._interpolation_buffer0$_text;
  111099. t3 = A.S(midBuffer);
  111100. t2._contents += t3;
  111101. return t1;
  111102. }
  111103. postColonWhitespace = _this.rawText$1(t3);
  111104. _0_0 = _this._stylesheet0$_tryDeclarationChildren$2($name, start);
  111105. if (_0_0 != null)
  111106. return _0_0;
  111107. midBuffer._contents += postColonWhitespace;
  111108. couldBeSelector = postColonWhitespace.length === 0 && _this._stylesheet0$_lookingAtInterpolatedIdentifier$0();
  111109. beforeDeclaration = new A._SpanScannerState(t1, t1._string_scanner$_position);
  111110. value = null;
  111111. try {
  111112. value = _this._stylesheet0$_expression$0();
  111113. if (_this.lookingAtChildren$0()) {
  111114. if (couldBeSelector)
  111115. _this.expectStatementSeparator$0();
  111116. } else if (!_this.atEndOfStatement$0())
  111117. _this.expectStatementSeparator$0();
  111118. } catch (exception) {
  111119. if (type$.FormatException._is(A.unwrapException(exception))) {
  111120. if (!couldBeSelector)
  111121. throw exception;
  111122. t1.set$state(beforeDeclaration);
  111123. additional = _this.almostAnyValue$0();
  111124. if (!_this.get$indented() && t1.peekChar$0() === 59)
  111125. throw exception;
  111126. t1 = nameBuffer._interpolation_buffer0$_text;
  111127. t2 = A.S(midBuffer);
  111128. t1._contents += t2;
  111129. nameBuffer.addInterpolation$1(additional);
  111130. return nameBuffer;
  111131. } else
  111132. throw exception;
  111133. }
  111134. _1_0 = _this._stylesheet0$_tryDeclarationChildren$3$value($name, start, value);
  111135. if (_1_0 != null)
  111136. return _1_0;
  111137. else {
  111138. _this.expectStatementSeparator$0();
  111139. return A.Declaration$0($name, value, t1.spanFrom$1(start));
  111140. }
  111141. },
  111142. _stylesheet0$_variableDeclarationOrInterpolation$0() {
  111143. var t1, start, identifier, t2, buffer, _this = this;
  111144. if (!_this.lookingAtIdentifier$0())
  111145. return _this.interpolatedIdentifier$0();
  111146. t1 = _this.scanner;
  111147. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  111148. identifier = _this.identifier$0();
  111149. if (t1.matches$1(".$")) {
  111150. t1.readChar$0();
  111151. return _this.variableDeclarationWithoutNamespace$2(identifier, start);
  111152. } else {
  111153. t2 = new A.StringBuffer("");
  111154. buffer = new A.InterpolationBuffer0(t2, A._setArrayType([], type$.JSArray_Object));
  111155. t2._contents = "" + identifier;
  111156. if (_this._stylesheet0$_lookingAtInterpolatedIdentifierBody$0())
  111157. buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  111158. return buffer.interpolation$1(t1.spanFrom$1(start));
  111159. }
  111160. },
  111161. _stylesheet0$_styleRule$2(buffer, start_) {
  111162. var t2, start, interpolation, wasInStyleRule, _this = this, t1 = {};
  111163. _this._stylesheet0$_isUseAllowed = false;
  111164. if (start_ == null) {
  111165. t2 = _this.scanner;
  111166. start = new A._SpanScannerState(t2, t2._string_scanner$_position);
  111167. } else
  111168. start = start_;
  111169. interpolation = t1.interpolation = _this.styleRuleSelector$0();
  111170. if (buffer != null) {
  111171. buffer.addInterpolation$1(interpolation);
  111172. t2 = t1.interpolation = buffer.interpolation$1(_this.scanner.spanFrom$1(start));
  111173. } else
  111174. t2 = interpolation;
  111175. if (t2.contents.length === 0)
  111176. _this.scanner.error$1(0, 'expected "}".');
  111177. wasInStyleRule = _this._stylesheet0$_inStyleRule;
  111178. _this._stylesheet0$_inStyleRule = true;
  111179. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser__styleRule_closure0(t1, _this, wasInStyleRule, start));
  111180. },
  111181. _stylesheet0$_styleRule$0() {
  111182. return this._stylesheet0$_styleRule$2(null, null);
  111183. },
  111184. _stylesheet0$_propertyOrVariableDeclaration$1$parseCustomProperties(parseCustomProperties) {
  111185. var t2, nameBuffer, t3, $name, variableOrInterpolation, _0_0, value, _1_0, _this = this,
  111186. t1 = _this.scanner,
  111187. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  111188. if (_this._stylesheet0$_lookingAtPotentialPropertyHack$0()) {
  111189. t2 = new A.StringBuffer("");
  111190. nameBuffer = new A.InterpolationBuffer0(t2, A._setArrayType([], type$.JSArray_Object));
  111191. t3 = A.Primitives_stringFromCharCode(t1.readChar$0());
  111192. t2._contents += t3;
  111193. t3 = _this.rawText$1(_this.get$whitespace());
  111194. t2._contents += t3;
  111195. nameBuffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  111196. $name = nameBuffer.interpolation$1(t1.spanFrom$1(start));
  111197. } else if (!_this.get$plainCss()) {
  111198. variableOrInterpolation = _this._stylesheet0$_variableDeclarationOrInterpolation$0();
  111199. if (variableOrInterpolation instanceof A.VariableDeclaration0)
  111200. return variableOrInterpolation;
  111201. else
  111202. type$.Interpolation_2._as(variableOrInterpolation);
  111203. $name = variableOrInterpolation;
  111204. } else
  111205. $name = _this.interpolatedIdentifier$0();
  111206. _this.whitespace$0();
  111207. t1.expectChar$1(58);
  111208. _this.whitespace$0();
  111209. _0_0 = _this._stylesheet0$_tryDeclarationChildren$2($name, start);
  111210. if (_0_0 != null)
  111211. return _0_0;
  111212. value = _this._stylesheet0$_expression$0();
  111213. _1_0 = _this._stylesheet0$_tryDeclarationChildren$3$value($name, start, value);
  111214. if (_1_0 != null)
  111215. return _1_0;
  111216. else {
  111217. _this.expectStatementSeparator$0();
  111218. return A.Declaration$0($name, value, t1.spanFrom$1(start));
  111219. }
  111220. },
  111221. _stylesheet0$_tryDeclarationChildren$3$value($name, start, value) {
  111222. var _this = this;
  111223. if (!_this.lookingAtChildren$0())
  111224. return null;
  111225. if (_this.get$plainCss())
  111226. _this.scanner.error$1(0, string$.Nested);
  111227. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_declarationChild(), start, new A.StylesheetParser__tryDeclarationChildren_closure0($name, value));
  111228. },
  111229. _stylesheet0$_tryDeclarationChildren$2($name, start) {
  111230. return this._stylesheet0$_tryDeclarationChildren$3$value($name, start, null);
  111231. },
  111232. _stylesheet0$_declarationChild$0() {
  111233. return this.scanner.peekChar$0() === 64 ? this._stylesheet0$_declarationAtRule$0() : this._stylesheet0$_propertyOrVariableDeclaration$1$parseCustomProperties(false);
  111234. },
  111235. atRule$2$root(child, root) {
  111236. var $name, wasUseAllowed, value, optional, url, namespace, configuration, span, _this = this,
  111237. _s9_ = "@use rule",
  111238. t1 = _this.scanner,
  111239. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  111240. t1.expectChar$2$name(64, "@-rule");
  111241. $name = _this.interpolatedIdentifier$0();
  111242. _this.whitespace$0();
  111243. wasUseAllowed = _this._stylesheet0$_isUseAllowed;
  111244. _this._stylesheet0$_isUseAllowed = false;
  111245. switch ($name.get$asPlain()) {
  111246. case "at-root":
  111247. return _this._stylesheet0$_atRootRule$1(start);
  111248. case "content":
  111249. return _this._stylesheet0$_contentRule$1(start);
  111250. case "debug":
  111251. return _this._stylesheet0$_debugRule$1(start);
  111252. case "each":
  111253. return _this._stylesheet0$_eachRule$2(start, child);
  111254. case "else":
  111255. return _this._stylesheet0$_disallowedAtRule$1(start);
  111256. case "error":
  111257. return _this._stylesheet0$_errorRule$1(start);
  111258. case "extend":
  111259. if (!_this._stylesheet0$_inStyleRule && !_this._stylesheet0$_inMixin && !_this._stylesheet0$_inContentBlock)
  111260. _this.error$2(0, string$.x40exten, t1.spanFrom$1(start));
  111261. value = _this.almostAnyValue$0();
  111262. optional = t1.scanChar$1(33);
  111263. if (optional)
  111264. _this.expectIdentifier$1("optional");
  111265. _this.expectStatementSeparator$1("@extend rule");
  111266. return new A.ExtendRule0(value, optional, t1.spanFrom$1(start));
  111267. case "for":
  111268. return _this._stylesheet0$_forRule$2(start, child);
  111269. case "forward":
  111270. _this._stylesheet0$_isUseAllowed = wasUseAllowed;
  111271. if (!root)
  111272. _this._stylesheet0$_disallowedAtRule$1(start);
  111273. return _this._stylesheet0$_forwardRule$1(start);
  111274. case "function":
  111275. return _this._stylesheet0$_functionRule$1(start);
  111276. case "if":
  111277. return _this._stylesheet0$_ifRule$2(start, child);
  111278. case "import":
  111279. return _this._stylesheet0$_importRule$1(start);
  111280. case "include":
  111281. return _this._stylesheet0$_includeRule$1(start);
  111282. case "media":
  111283. return _this.mediaRule$1(start);
  111284. case "mixin":
  111285. return _this._stylesheet0$_mixinRule$1(start);
  111286. case "-moz-document":
  111287. return _this.mozDocumentRule$2(start, $name);
  111288. case "return":
  111289. return _this._stylesheet0$_disallowedAtRule$1(start);
  111290. case "supports":
  111291. return _this.supportsRule$1(start);
  111292. case "use":
  111293. _this._stylesheet0$_isUseAllowed = wasUseAllowed;
  111294. if (!root)
  111295. _this._stylesheet0$_disallowedAtRule$1(start);
  111296. url = _this._stylesheet0$_urlString$0();
  111297. _this.whitespace$0();
  111298. namespace = _this._stylesheet0$_useNamespace$2(url, start);
  111299. _this.whitespace$0();
  111300. configuration = _this._stylesheet0$_configuration$0();
  111301. _this.expectStatementSeparator$1(_s9_);
  111302. span = t1.spanFrom$1(start);
  111303. if (!_this._stylesheet0$_isUseAllowed)
  111304. _this.error$2(0, string$.x40use_r, span);
  111305. _this.expectStatementSeparator$1(_s9_);
  111306. t1 = new A.UseRule0(url, namespace, configuration == null ? B.List_empty21 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable_2), span);
  111307. t1.UseRule$4$configuration0(url, namespace, span, configuration);
  111308. return t1;
  111309. case "warn":
  111310. return _this._stylesheet0$_warnRule$1(start);
  111311. case "while":
  111312. return _this._stylesheet0$_whileRule$2(start, child);
  111313. default:
  111314. return _this.unknownAtRule$2(start, $name);
  111315. }
  111316. },
  111317. _stylesheet0$_declarationAtRule$0() {
  111318. var _this = this,
  111319. t1 = _this.scanner,
  111320. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  111321. _0_0 = _this._stylesheet0$_plainAtRuleName$0();
  111322. $label0$0: {
  111323. if ("content" === _0_0) {
  111324. t1 = _this._stylesheet0$_contentRule$1(start);
  111325. break $label0$0;
  111326. }
  111327. if ("debug" === _0_0) {
  111328. t1 = _this._stylesheet0$_debugRule$1(start);
  111329. break $label0$0;
  111330. }
  111331. if ("each" === _0_0) {
  111332. t1 = _this._stylesheet0$_eachRule$2(start, _this.get$_stylesheet0$_declarationChild());
  111333. break $label0$0;
  111334. }
  111335. if ("else" === _0_0)
  111336. _this._stylesheet0$_disallowedAtRule$1(start);
  111337. if ("error" === _0_0) {
  111338. t1 = _this._stylesheet0$_errorRule$1(start);
  111339. break $label0$0;
  111340. }
  111341. if ("for" === _0_0) {
  111342. t1 = _this._stylesheet0$_forRule$2(start, _this.get$_stylesheet0$_declarationChild());
  111343. break $label0$0;
  111344. }
  111345. if ("if" === _0_0) {
  111346. t1 = _this._stylesheet0$_ifRule$2(start, _this.get$_stylesheet0$_declarationChild());
  111347. break $label0$0;
  111348. }
  111349. if ("include" === _0_0) {
  111350. t1 = _this._stylesheet0$_includeRule$1(start);
  111351. break $label0$0;
  111352. }
  111353. if ("warn" === _0_0) {
  111354. t1 = _this._stylesheet0$_warnRule$1(start);
  111355. break $label0$0;
  111356. }
  111357. if ("while" === _0_0) {
  111358. t1 = _this._stylesheet0$_whileRule$2(start, _this.get$_stylesheet0$_declarationChild());
  111359. break $label0$0;
  111360. }
  111361. t1 = _this._stylesheet0$_disallowedAtRule$1(start);
  111362. }
  111363. return t1;
  111364. },
  111365. _stylesheet0$_functionChild$0() {
  111366. var state, variableDeclarationError, stackTrace, statement, t2, namespace, exception, t3, start, _0_0, value, _this = this,
  111367. t1 = _this.scanner;
  111368. if (t1.peekChar$0() !== 64) {
  111369. t2 = t1._string_scanner$_position;
  111370. state = new A._SpanScannerState(t1, t2);
  111371. try {
  111372. namespace = _this.identifier$0();
  111373. t1.expectChar$1(46);
  111374. t2 = _this.variableDeclarationWithoutNamespace$2(namespace, new A._SpanScannerState(t1, t2));
  111375. return t2;
  111376. } catch (exception) {
  111377. t2 = A.unwrapException(exception);
  111378. t3 = type$.SourceSpanFormatException;
  111379. if (t3._is(t2)) {
  111380. variableDeclarationError = t2;
  111381. stackTrace = A.getTraceFromException(exception);
  111382. t1.set$state(state);
  111383. statement = null;
  111384. try {
  111385. statement = _this._stylesheet0$_declarationOrStyleRule$0();
  111386. } catch (exception) {
  111387. if (t3._is(A.unwrapException(exception)))
  111388. throw A.wrapException(variableDeclarationError);
  111389. else
  111390. throw exception;
  111391. }
  111392. t2 = statement instanceof A.StyleRule0 ? "style rules" : "declarations";
  111393. _this.error$3(0, "@function rules may not contain " + t2 + ".", J.get$span$z(statement), stackTrace);
  111394. } else
  111395. throw exception;
  111396. }
  111397. }
  111398. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  111399. _0_0 = _this._stylesheet0$_plainAtRuleName$0();
  111400. $label0$0: {
  111401. if ("debug" === _0_0) {
  111402. t1 = _this._stylesheet0$_debugRule$1(start);
  111403. break $label0$0;
  111404. }
  111405. if ("each" === _0_0) {
  111406. t1 = _this._stylesheet0$_eachRule$2(start, _this.get$_stylesheet0$_functionChild());
  111407. break $label0$0;
  111408. }
  111409. if ("else" === _0_0)
  111410. _this._stylesheet0$_disallowedAtRule$1(start);
  111411. if ("error" === _0_0) {
  111412. t1 = _this._stylesheet0$_errorRule$1(start);
  111413. break $label0$0;
  111414. }
  111415. if ("for" === _0_0) {
  111416. t1 = _this._stylesheet0$_forRule$2(start, _this.get$_stylesheet0$_functionChild());
  111417. break $label0$0;
  111418. }
  111419. if ("if" === _0_0) {
  111420. t1 = _this._stylesheet0$_ifRule$2(start, _this.get$_stylesheet0$_functionChild());
  111421. break $label0$0;
  111422. }
  111423. if ("return" === _0_0) {
  111424. value = _this._stylesheet0$_expression$0();
  111425. _this.expectStatementSeparator$1("@return rule");
  111426. t1 = new A.ReturnRule0(value, t1.spanFrom$1(start));
  111427. break $label0$0;
  111428. }
  111429. if ("warn" === _0_0) {
  111430. t1 = _this._stylesheet0$_warnRule$1(start);
  111431. break $label0$0;
  111432. }
  111433. if ("while" === _0_0) {
  111434. t1 = _this._stylesheet0$_whileRule$2(start, _this.get$_stylesheet0$_functionChild());
  111435. break $label0$0;
  111436. }
  111437. t1 = _this._stylesheet0$_disallowedAtRule$1(start);
  111438. }
  111439. return t1;
  111440. },
  111441. _stylesheet0$_plainAtRuleName$0() {
  111442. this.scanner.expectChar$2$name(64, "@-rule");
  111443. var $name = this.identifier$0();
  111444. this.whitespace$0();
  111445. return $name;
  111446. },
  111447. _stylesheet0$_atRootRule$1(start) {
  111448. var t2, t3, t4, buffer, t5, query, _this = this,
  111449. t1 = _this.scanner;
  111450. if (t1.peekChar$0() === 40) {
  111451. t2 = t1._string_scanner$_position;
  111452. t3 = new A.StringBuffer("");
  111453. t4 = A._setArrayType([], type$.JSArray_Object);
  111454. buffer = new A.InterpolationBuffer0(t3, t4);
  111455. t1.expectChar$1(40);
  111456. t5 = A.Primitives_stringFromCharCode(40);
  111457. t3._contents += t5;
  111458. _this.whitespace$0();
  111459. t5 = _this._stylesheet0$_expression$0();
  111460. buffer._interpolation_buffer0$_flushText$0();
  111461. t4.push(t5);
  111462. if (t1.scanChar$1(58)) {
  111463. _this.whitespace$0();
  111464. t5 = A.Primitives_stringFromCharCode(58);
  111465. t3._contents += t5;
  111466. t5 = A.Primitives_stringFromCharCode(32);
  111467. t3._contents += t5;
  111468. t5 = _this._stylesheet0$_expression$0();
  111469. buffer._interpolation_buffer0$_flushText$0();
  111470. t4.push(t5);
  111471. }
  111472. t1.expectChar$1(41);
  111473. _this.whitespace$0();
  111474. t4 = A.Primitives_stringFromCharCode(41);
  111475. t3._contents += t4;
  111476. query = buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  111477. _this.whitespace$0();
  111478. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser__atRootRule_closure1(query));
  111479. } else if (_this.lookingAtChildren$0())
  111480. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser__atRootRule_closure2());
  111481. else
  111482. return A.AtRootRule$0(A._setArrayType([_this._stylesheet0$_styleRule$0()], type$.JSArray_Statement_2), t1.spanFrom$1(start), null);
  111483. },
  111484. _stylesheet0$_contentRule$1(start) {
  111485. var t1, $arguments, t2, t3, _this = this;
  111486. if (!_this._stylesheet0$_inMixin)
  111487. _this.error$2(0, string$.x40conte, _this.scanner.spanFrom$1(start));
  111488. _this.whitespace$0();
  111489. t1 = _this.scanner;
  111490. if (t1.peekChar$0() === 40)
  111491. $arguments = _this._stylesheet0$_argumentInvocation$1$mixin(true);
  111492. else {
  111493. t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  111494. t3 = t2.offset;
  111495. $arguments = A.ArgumentInvocation$empty0(A._FileSpan$(t2.file, t3, t3));
  111496. }
  111497. _this.expectStatementSeparator$1("@content rule");
  111498. return new A.ContentRule0($arguments, t1.spanFrom$1(start));
  111499. },
  111500. _stylesheet0$_debugRule$1(start) {
  111501. var value = this._stylesheet0$_expression$0();
  111502. this.expectStatementSeparator$1("@debug rule");
  111503. return new A.DebugRule0(value, this.scanner.spanFrom$1(start));
  111504. },
  111505. _stylesheet0$_eachRule$2(start, child) {
  111506. var variables, t1, _this = this,
  111507. wasInControlDirective = _this._stylesheet0$_inControlDirective;
  111508. _this._stylesheet0$_inControlDirective = true;
  111509. variables = A._setArrayType([_this.variableName$0()], type$.JSArray_String);
  111510. _this.whitespace$0();
  111511. for (t1 = _this.scanner; t1.scanChar$1(44);) {
  111512. _this.whitespace$0();
  111513. t1.expectChar$1(36);
  111514. variables.push(_this.identifier$1$normalize(true));
  111515. _this.whitespace$0();
  111516. }
  111517. _this.expectIdentifier$1("in");
  111518. _this.whitespace$0();
  111519. return _this._stylesheet0$_withChildren$3(child, start, new A.StylesheetParser__eachRule_closure0(_this, wasInControlDirective, variables, _this._stylesheet0$_expression$0()));
  111520. },
  111521. _stylesheet0$_errorRule$1(start) {
  111522. var value = this._stylesheet0$_expression$0();
  111523. this.expectStatementSeparator$1("@error rule");
  111524. return new A.ErrorRule0(value, this.scanner.spanFrom$1(start));
  111525. },
  111526. _stylesheet0$_functionRule$1(start) {
  111527. var t1, t2, $name, $arguments, _0_0, _this = this,
  111528. precedingComment = _this.lastSilentComment;
  111529. _this.lastSilentComment = null;
  111530. t1 = _this.scanner;
  111531. t2 = t1._string_scanner$_position;
  111532. $name = _this.identifier$0();
  111533. if (B.JSString_methods.startsWith$1($name, "--"))
  111534. A.WarnForDeprecation_warnForDeprecation0(_this.logger, B.Deprecation_qBS, string$.Sass__fm, t1.spanFrom$1(new A._SpanScannerState(t1, t2)), null);
  111535. _this.whitespace$0();
  111536. $arguments = _this._stylesheet0$_argumentDeclaration$0();
  111537. if (_this._stylesheet0$_inMixin || _this._stylesheet0$_inContentBlock)
  111538. _this.error$2(0, string$.Mixinscf, t1.spanFrom$1(start));
  111539. else if (_this._stylesheet0$_inControlDirective)
  111540. _this.error$2(0, string$.Functi, t1.spanFrom$1(start));
  111541. _0_0 = A.unvendor0($name);
  111542. 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)
  111543. _this.error$2(0, "Invalid function name.", t1.spanFrom$1(start));
  111544. _this.whitespace$0();
  111545. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_functionChild(), start, new A.StylesheetParser__functionRule_closure0($name, $arguments, precedingComment));
  111546. },
  111547. _stylesheet0$_forRule$2(start, child) {
  111548. var variable, from, _this = this, t1 = {},
  111549. wasInControlDirective = _this._stylesheet0$_inControlDirective;
  111550. _this._stylesheet0$_inControlDirective = true;
  111551. variable = _this.variableName$0();
  111552. _this.whitespace$0();
  111553. _this.expectIdentifier$1("from");
  111554. _this.whitespace$0();
  111555. t1.exclusive = null;
  111556. from = _this._stylesheet0$_expression$1$until(new A.StylesheetParser__forRule_closure1(t1, _this));
  111557. if (t1.exclusive == null)
  111558. _this.scanner.error$1(0, 'Expected "to" or "through".');
  111559. _this.whitespace$0();
  111560. return _this._stylesheet0$_withChildren$3(child, start, new A.StylesheetParser__forRule_closure2(t1, _this, wasInControlDirective, variable, from, _this._stylesheet0$_expression$0()));
  111561. },
  111562. _stylesheet0$_forwardRule$1(start) {
  111563. var prefix, _0_0, shownMixinsAndFunctions, shownVariables, hiddenVariables, hiddenMixinsAndFunctions, _1_0, configuration, span, t1, t2, t3, t4, _this = this, _null = null,
  111564. url = _this._stylesheet0$_urlString$0();
  111565. _this.whitespace$0();
  111566. if (_this.scanIdentifier$1("as")) {
  111567. _this.whitespace$0();
  111568. prefix = _this.identifier$1$normalize(true);
  111569. _this.scanner.expectChar$1(42);
  111570. _this.whitespace$0();
  111571. } else
  111572. prefix = _null;
  111573. if (_this.scanIdentifier$1("show")) {
  111574. _0_0 = _this._stylesheet0$_memberList$0();
  111575. shownMixinsAndFunctions = _0_0._0;
  111576. shownVariables = _0_0._1;
  111577. hiddenVariables = _null;
  111578. hiddenMixinsAndFunctions = hiddenVariables;
  111579. } else {
  111580. if (_this.scanIdentifier$1("hide")) {
  111581. _1_0 = _this._stylesheet0$_memberList$0();
  111582. hiddenMixinsAndFunctions = _1_0._0;
  111583. hiddenVariables = _1_0._1;
  111584. } else {
  111585. hiddenVariables = _null;
  111586. hiddenMixinsAndFunctions = hiddenVariables;
  111587. }
  111588. shownVariables = _null;
  111589. shownMixinsAndFunctions = shownVariables;
  111590. }
  111591. configuration = _this._stylesheet0$_configuration$1$allowGuarded(true);
  111592. _this.expectStatementSeparator$1("@forward rule");
  111593. span = _this.scanner.spanFrom$1(start);
  111594. if (!_this._stylesheet0$_isUseAllowed)
  111595. _this.error$2(0, string$.x40forwa, span);
  111596. if (shownMixinsAndFunctions != null) {
  111597. shownVariables.toString;
  111598. t1 = type$.String;
  111599. t2 = A.LinkedHashSet_LinkedHashSet$of(shownMixinsAndFunctions, t1);
  111600. t3 = type$.UnmodifiableSetView_String;
  111601. t1 = A.LinkedHashSet_LinkedHashSet$of(shownVariables, t1);
  111602. t4 = configuration == null ? B.List_empty21 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable_2);
  111603. return new A.ForwardRule0(url, new A.UnmodifiableSetView0(t2, t3), new A.UnmodifiableSetView0(t1, t3), _null, _null, prefix, t4, span);
  111604. } else if (hiddenMixinsAndFunctions != null) {
  111605. hiddenVariables.toString;
  111606. t1 = type$.String;
  111607. t2 = A.LinkedHashSet_LinkedHashSet$of(hiddenMixinsAndFunctions, t1);
  111608. t3 = type$.UnmodifiableSetView_String;
  111609. t1 = A.LinkedHashSet_LinkedHashSet$of(hiddenVariables, t1);
  111610. t4 = configuration == null ? B.List_empty21 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable_2);
  111611. return new A.ForwardRule0(url, _null, _null, new A.UnmodifiableSetView0(t2, t3), new A.UnmodifiableSetView0(t1, t3), prefix, t4, span);
  111612. } else
  111613. return new A.ForwardRule0(url, _null, _null, _null, _null, prefix, configuration == null ? B.List_empty21 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable_2), span);
  111614. },
  111615. _stylesheet0$_memberList$0() {
  111616. var _this = this,
  111617. t1 = type$.String,
  111618. identifiers = A.LinkedHashSet_LinkedHashSet$_empty(t1),
  111619. variables = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  111620. t1 = _this.scanner;
  111621. do {
  111622. _this.whitespace$0();
  111623. _this.withErrorMessage$2(string$.Expect, new A.StylesheetParser__memberList_closure0(_this, variables, identifiers));
  111624. _this.whitespace$0();
  111625. } while (t1.scanChar$1(44));
  111626. return new A._Record_2(identifiers, variables);
  111627. },
  111628. _stylesheet0$_ifRule$2(start, child) {
  111629. var condition, children, clauses, lastClause, span, _this = this,
  111630. ifIndentation = _this.get$currentIndentation(),
  111631. wasInControlDirective = _this._stylesheet0$_inControlDirective;
  111632. _this._stylesheet0$_inControlDirective = true;
  111633. condition = _this._stylesheet0$_expression$0();
  111634. children = _this.children$1(0, child);
  111635. _this.whitespaceWithoutComments$0();
  111636. clauses = A._setArrayType([A.IfClause$0(condition, children)], type$.JSArray_IfClause_2);
  111637. while (true) {
  111638. if (!_this.scanElse$1(ifIndentation)) {
  111639. lastClause = null;
  111640. break;
  111641. }
  111642. _this.whitespace$0();
  111643. if (_this.scanIdentifier$1("if")) {
  111644. _this.whitespace$0();
  111645. clauses.push(A.IfClause$0(_this._stylesheet0$_expression$0(), _this.children$1(0, child)));
  111646. } else {
  111647. lastClause = A.ElseClause$0(_this.children$1(0, child));
  111648. break;
  111649. }
  111650. }
  111651. _this._stylesheet0$_inControlDirective = wasInControlDirective;
  111652. span = _this.scanner.spanFrom$1(start);
  111653. _this.whitespaceWithoutComments$0();
  111654. return new A.IfRule0(A.List_List$unmodifiable(clauses, type$.IfClause_2), lastClause, span);
  111655. },
  111656. _stylesheet0$_importRule$1(start) {
  111657. var argument, t3, _this = this,
  111658. imports = A._setArrayType([], type$.JSArray_Import_2),
  111659. t1 = _this.scanner,
  111660. t2 = _this.logger;
  111661. do {
  111662. _this.whitespace$0();
  111663. argument = _this.importArgument$0();
  111664. t3 = argument instanceof A.DynamicImport0;
  111665. if (t3)
  111666. A.WarnForDeprecation_warnForDeprecation0(t2, B.Deprecation_qd9, string$.Sass__i, argument.span, null);
  111667. if ((_this._stylesheet0$_inControlDirective || _this._stylesheet0$_inMixin) && t3)
  111668. _this._stylesheet0$_disallowedAtRule$1(start);
  111669. imports.push(argument);
  111670. _this.whitespace$0();
  111671. } while (t1.scanChar$1(44));
  111672. _this.expectStatementSeparator$1("@import rule");
  111673. t1 = t1.spanFrom$1(start);
  111674. return new A.ImportRule0(A.List_List$unmodifiable(imports, type$.Import_2), t1);
  111675. },
  111676. importArgument$0() {
  111677. var url, urlSpan, innerError, stackTrace, modifiers, t2, exception, _this = this,
  111678. t1 = _this.scanner,
  111679. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  111680. _0_0 = t1.peekChar$0();
  111681. if (117 === _0_0 || 85 === _0_0) {
  111682. url = _this.dynamicUrl$0();
  111683. _this.whitespace$0();
  111684. modifiers = _this.tryImportModifiers$0();
  111685. return new A.StaticImport0(A.Interpolation$0(A._setArrayType([url], type$.JSArray_Object), t1.spanFrom$1(start)), modifiers, t1.spanFrom$1(start));
  111686. }
  111687. url = _this.string$0();
  111688. urlSpan = t1.spanFrom$1(start);
  111689. _this.whitespace$0();
  111690. modifiers = _this.tryImportModifiers$0();
  111691. if (_this.isPlainImportUrl$1(url) || modifiers != null) {
  111692. t2 = urlSpan;
  111693. return new A.StaticImport0(A.Interpolation$0(A._setArrayType([A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2.file._decodedChars, t2._file$_start, t2._end), 0, null)], type$.JSArray_Object), urlSpan), modifiers, t1.spanFrom$1(start));
  111694. } else
  111695. try {
  111696. t1 = _this.parseImportUrl$1(url);
  111697. return new A.DynamicImport0(t1, urlSpan);
  111698. } catch (exception) {
  111699. t1 = A.unwrapException(exception);
  111700. if (type$.FormatException._is(t1)) {
  111701. innerError = t1;
  111702. stackTrace = A.getTraceFromException(exception);
  111703. _this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), urlSpan, stackTrace);
  111704. } else
  111705. throw exception;
  111706. }
  111707. },
  111708. parseImportUrl$1(url) {
  111709. var t1 = $.$get$windows();
  111710. if (t1.style.rootLength$1(url) > 0 && !$.$get$url().style.isRootRelative$1(url))
  111711. return t1.toUri$1(url).toString$0(0);
  111712. A.Uri_parse(url);
  111713. return url;
  111714. },
  111715. isPlainImportUrl$1(url) {
  111716. var _0_0, t1;
  111717. if (url.length < 5)
  111718. return false;
  111719. if (B.JSString_methods.endsWith$1(url, ".css"))
  111720. return true;
  111721. _0_0 = url.charCodeAt(0);
  111722. $label0$0: {
  111723. if (47 === _0_0) {
  111724. t1 = url.charCodeAt(1) === 47;
  111725. break $label0$0;
  111726. }
  111727. if (104 === _0_0) {
  111728. t1 = B.JSString_methods.startsWith$1(url, "http://") || B.JSString_methods.startsWith$1(url, "https://");
  111729. break $label0$0;
  111730. }
  111731. t1 = false;
  111732. break $label0$0;
  111733. }
  111734. return t1;
  111735. },
  111736. tryImportModifiers$0() {
  111737. var t1, start, t2, t3, buffer, t4, identifier, $name, query, t5, endPosition, result, _this = this;
  111738. if (!_this._stylesheet0$_lookingAtInterpolatedIdentifier$0() && _this.scanner.peekChar$0() !== 40)
  111739. return null;
  111740. t1 = _this.scanner;
  111741. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  111742. t2 = new A.StringBuffer("");
  111743. t3 = A._setArrayType([], type$.JSArray_Object);
  111744. buffer = new A.InterpolationBuffer0(t2, t3);
  111745. for (; true;)
  111746. if (_this._stylesheet0$_lookingAtInterpolatedIdentifier$0()) {
  111747. if (!(t3.length === 0 && t2._contents.length === 0)) {
  111748. t4 = A.Primitives_stringFromCharCode(32);
  111749. t2._contents += t4;
  111750. }
  111751. identifier = _this.interpolatedIdentifier$0();
  111752. buffer.addInterpolation$1(identifier);
  111753. t4 = identifier.get$asPlain();
  111754. $name = t4 == null ? null : t4.toLowerCase();
  111755. if ($name !== "and" && t1.scanChar$1(40)) {
  111756. if ($name === "supports") {
  111757. query = _this._stylesheet0$_importSupportsQuery$0();
  111758. t4 = !(query instanceof A.SupportsDeclaration0);
  111759. if (t4) {
  111760. t5 = A.Primitives_stringFromCharCode(40);
  111761. t2._contents += t5;
  111762. }
  111763. buffer._interpolation_buffer0$_flushText$0();
  111764. t3.push(new A.SupportsExpression0(query));
  111765. if (t4) {
  111766. t4 = A.Primitives_stringFromCharCode(41);
  111767. t2._contents += t4;
  111768. }
  111769. } else {
  111770. t4 = A.Primitives_stringFromCharCode(40);
  111771. t2._contents += t4;
  111772. buffer.addInterpolation$1(_this._stylesheet0$_interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(true, true));
  111773. t4 = A.Primitives_stringFromCharCode(41);
  111774. t2._contents += t4;
  111775. }
  111776. t1.expectChar$1(41);
  111777. _this.whitespace$0();
  111778. } else {
  111779. _this.whitespace$0();
  111780. if (t1.scanChar$1(44)) {
  111781. t2._contents += ", ";
  111782. buffer.addInterpolation$1(_this._stylesheet0$_mediaQueryList$0());
  111783. endPosition = t1._string_scanner$_position;
  111784. t4 = t1._sourceFile;
  111785. t5 = start.position;
  111786. t1 = new A._FileSpan(t4, t5, endPosition);
  111787. t1._FileSpan$3(t4, t5, endPosition);
  111788. t5 = type$.Object;
  111789. t4 = A.List_List$of(t3, true, t5);
  111790. t3 = t2._contents;
  111791. if (t3.length !== 0)
  111792. t4.push(t3.charCodeAt(0) == 0 ? t3 : t3);
  111793. result = A.List_List$from(t4, false, t5);
  111794. result.fixed$length = Array;
  111795. result.immutable$list = Array;
  111796. t2 = new A.Interpolation0(result, t1);
  111797. t2.Interpolation$20(t4, t1);
  111798. return t2;
  111799. }
  111800. }
  111801. } else if (t1.peekChar$0() === 40) {
  111802. if (!(t3.length === 0 && t2._contents.length === 0)) {
  111803. t4 = A.Primitives_stringFromCharCode(32);
  111804. t2._contents += t4;
  111805. }
  111806. buffer.addInterpolation$1(_this._stylesheet0$_mediaQueryList$0());
  111807. endPosition = t1._string_scanner$_position;
  111808. t1 = t1._sourceFile;
  111809. t4 = start.position;
  111810. t5 = new A._FileSpan(t1, t4, endPosition);
  111811. t5._FileSpan$3(t1, t4, endPosition);
  111812. t4 = type$.Object;
  111813. t3 = A.List_List$of(t3, true, t4);
  111814. t1 = t2._contents;
  111815. if (t1.length !== 0)
  111816. t3.push(t1.charCodeAt(0) == 0 ? t1 : t1);
  111817. result = A.List_List$from(t3, false, t4);
  111818. result.fixed$length = Array;
  111819. result.immutable$list = Array;
  111820. t1 = new A.Interpolation0(result, t5);
  111821. t1.Interpolation$20(t3, t5);
  111822. return t1;
  111823. } else {
  111824. endPosition = t1._string_scanner$_position;
  111825. t1 = t1._sourceFile;
  111826. t4 = start.position;
  111827. t5 = new A._FileSpan(t1, t4, endPosition);
  111828. t5._FileSpan$3(t1, t4, endPosition);
  111829. t4 = type$.Object;
  111830. t3 = A.List_List$of(t3, true, t4);
  111831. t1 = t2._contents;
  111832. if (t1.length !== 0)
  111833. t3.push(t1.charCodeAt(0) == 0 ? t1 : t1);
  111834. result = A.List_List$from(t3, false, t4);
  111835. result.fixed$length = Array;
  111836. result.immutable$list = Array;
  111837. t1 = new A.Interpolation0(result, t5);
  111838. t1.Interpolation$20(t3, t5);
  111839. return t1;
  111840. }
  111841. },
  111842. _stylesheet0$_importSupportsQuery$0() {
  111843. var t1, t2, _0_0, $name, _this = this;
  111844. if (_this.scanIdentifier$1("not")) {
  111845. _this.whitespace$0();
  111846. t1 = _this.scanner;
  111847. t2 = t1._string_scanner$_position;
  111848. return new A.SupportsNegation0(_this._stylesheet0$_supportsConditionInParens$0(), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  111849. } else {
  111850. t1 = _this.scanner;
  111851. if (t1.peekChar$0() === 40)
  111852. return _this._stylesheet0$_supportsCondition$0();
  111853. else {
  111854. _0_0 = _this._stylesheet0$_tryImportSupportsFunction$0();
  111855. if (_0_0 != null)
  111856. return _0_0;
  111857. t2 = t1._string_scanner$_position;
  111858. $name = _this._stylesheet0$_expression$0();
  111859. t1.expectChar$1(58);
  111860. return _this._stylesheet0$_supportsDeclarationValue$2($name, new A._SpanScannerState(t1, t2));
  111861. }
  111862. }
  111863. },
  111864. _stylesheet0$_tryImportSupportsFunction$0() {
  111865. var t1, start, $name, value, _this = this;
  111866. if (!_this._stylesheet0$_lookingAtInterpolatedIdentifier$0())
  111867. return null;
  111868. t1 = _this.scanner;
  111869. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  111870. $name = _this.interpolatedIdentifier$0();
  111871. if (!t1.scanChar$1(40)) {
  111872. t1.set$state(start);
  111873. return null;
  111874. }
  111875. value = _this._stylesheet0$_interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(true, true);
  111876. t1.expectChar$1(41);
  111877. return new A.SupportsFunction0($name, value, t1.spanFrom$1(start));
  111878. },
  111879. _stylesheet0$_includeRule$1(start) {
  111880. var name0, namespace, $arguments, t2, t3, contentArguments, contentArguments_, wasInContentBlock, $content, span, _this = this, _null = null,
  111881. $name = _this.identifier$0(),
  111882. t1 = _this.scanner;
  111883. if (t1.scanChar$1(46)) {
  111884. name0 = _this._stylesheet0$_publicIdentifier$0();
  111885. namespace = $name;
  111886. $name = name0;
  111887. } else
  111888. namespace = _null;
  111889. _this.whitespace$0();
  111890. if (t1.peekChar$0() === 40)
  111891. $arguments = _this._stylesheet0$_argumentInvocation$1$mixin(true);
  111892. else {
  111893. t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  111894. t3 = t2.offset;
  111895. $arguments = A.ArgumentInvocation$empty0(A._FileSpan$(t2.file, t3, t3));
  111896. }
  111897. _this.whitespace$0();
  111898. if (_this.scanIdentifier$1("using")) {
  111899. _this.whitespace$0();
  111900. contentArguments = _this._stylesheet0$_argumentDeclaration$0();
  111901. _this.whitespace$0();
  111902. } else
  111903. contentArguments = _null;
  111904. t2 = contentArguments == null;
  111905. if (!t2 || _this.lookingAtChildren$0()) {
  111906. if (t2) {
  111907. t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  111908. t3 = t2.offset;
  111909. contentArguments_ = new A.ArgumentDeclaration0(B.List_empty22, _null, A._FileSpan$(t2.file, t3, t3));
  111910. } else
  111911. contentArguments_ = contentArguments;
  111912. wasInContentBlock = _this._stylesheet0$_inContentBlock;
  111913. _this._stylesheet0$_inContentBlock = true;
  111914. $content = _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser__includeRule_closure0(contentArguments_));
  111915. _this._stylesheet0$_inContentBlock = wasInContentBlock;
  111916. } else {
  111917. _this.expectStatementSeparator$0();
  111918. $content = _null;
  111919. }
  111920. t1 = t1.spanFrom$2(start, start);
  111921. t2 = $content == null ? $arguments : $content;
  111922. span = t1.expand$1(0, t2.get$span(t2));
  111923. return new A.IncludeRule0(namespace, A.stringReplaceAllUnchecked($name, "_", "-"), $name, $arguments, $content, span);
  111924. },
  111925. mediaRule$1(start) {
  111926. return this._stylesheet0$_withChildren$3(this.get$_stylesheet0$_statement(), start, new A.StylesheetParser_mediaRule_closure0(this._stylesheet0$_mediaQueryList$0()));
  111927. },
  111928. _stylesheet0$_mixinRule$1(start) {
  111929. var t1, t2, $name, $arguments, t3, _this = this,
  111930. precedingComment = _this.lastSilentComment;
  111931. _this.lastSilentComment = null;
  111932. t1 = _this.scanner;
  111933. t2 = t1._string_scanner$_position;
  111934. $name = _this.identifier$0();
  111935. if (B.JSString_methods.startsWith$1($name, "--"))
  111936. A.WarnForDeprecation_warnForDeprecation0(_this.logger, B.Deprecation_qBS, string$.Sass__m, t1.spanFrom$1(new A._SpanScannerState(t1, t2)), null);
  111937. _this.whitespace$0();
  111938. if (t1.peekChar$0() === 40)
  111939. $arguments = _this._stylesheet0$_argumentDeclaration$0();
  111940. else {
  111941. t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  111942. t3 = t2.offset;
  111943. $arguments = new A.ArgumentDeclaration0(B.List_empty22, null, A._FileSpan$(t2.file, t3, t3));
  111944. }
  111945. if (_this._stylesheet0$_inMixin || _this._stylesheet0$_inContentBlock)
  111946. _this.error$2(0, string$.Mixinscm, t1.spanFrom$1(start));
  111947. else if (_this._stylesheet0$_inControlDirective)
  111948. _this.error$2(0, string$.Mixinsb, t1.spanFrom$1(start));
  111949. _this.whitespace$0();
  111950. _this._stylesheet0$_inMixin = true;
  111951. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser__mixinRule_closure0(_this, $name, $arguments, precedingComment));
  111952. },
  111953. mozDocumentRule$2(start, $name) {
  111954. var t5, t6, identifier, _0_0, argument, trailing, endPosition, t7, t8, start0, end, _this = this, _box_0 = {},
  111955. t1 = _this.scanner,
  111956. t2 = t1._string_scanner$_position,
  111957. t3 = new A.StringBuffer(""),
  111958. t4 = A._setArrayType([], type$.JSArray_Object),
  111959. buffer = new A.InterpolationBuffer0(t3, t4);
  111960. _box_0.needsDeprecationWarning = false;
  111961. for (t5 = _this.get$whitespace(); true;) {
  111962. if (t1.peekChar$0() === 35) {
  111963. t6 = _this.singleInterpolation$0();
  111964. buffer._interpolation_buffer0$_flushText$0();
  111965. t4.push(t6);
  111966. _box_0.needsDeprecationWarning = true;
  111967. } else {
  111968. t6 = t1._string_scanner$_position;
  111969. identifier = _this.identifier$0();
  111970. $label0$0: {
  111971. if ("url" === identifier || "url-prefix" === identifier || "domain" === identifier) {
  111972. _0_0 = _this._stylesheet0$_tryUrlContents$2$name(new A._SpanScannerState(t1, t6), identifier);
  111973. if (_0_0 != null)
  111974. buffer.addInterpolation$1(_0_0);
  111975. else {
  111976. t1.expectChar$1(40);
  111977. _this.whitespace$0();
  111978. argument = _this.interpolatedString$0();
  111979. t1.expectChar$1(41);
  111980. t3._contents += identifier;
  111981. t6 = A.Primitives_stringFromCharCode(40);
  111982. t3._contents += t6;
  111983. buffer.addInterpolation$1(argument.asInterpolation$0());
  111984. t6 = A.Primitives_stringFromCharCode(41);
  111985. t3._contents += t6;
  111986. }
  111987. t6 = t3._contents;
  111988. trailing = t6.charCodeAt(0) == 0 ? t6 : t6;
  111989. 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("")'))
  111990. _box_0.needsDeprecationWarning = true;
  111991. break $label0$0;
  111992. }
  111993. if ("regexp" === identifier) {
  111994. t3._contents += "regexp(";
  111995. t1.expectChar$1(40);
  111996. buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
  111997. t1.expectChar$1(41);
  111998. t6 = A.Primitives_stringFromCharCode(41);
  111999. t3._contents += t6;
  112000. _box_0.needsDeprecationWarning = true;
  112001. break $label0$0;
  112002. }
  112003. endPosition = t1._string_scanner$_position;
  112004. t7 = t1._sourceFile;
  112005. t8 = new A._FileSpan(t7, t6, endPosition);
  112006. t8._FileSpan$3(t7, t6, endPosition);
  112007. _this.error$2(0, "Invalid function name.", t8);
  112008. }
  112009. }
  112010. _this.whitespace$0();
  112011. if (!t1.scanChar$1(44))
  112012. break;
  112013. t6 = A.Primitives_stringFromCharCode(44);
  112014. t3._contents += t6;
  112015. start0 = t1._string_scanner$_position;
  112016. t5.call$0();
  112017. end = t1._string_scanner$_position;
  112018. t3._contents += B.JSString_methods.substring$2(t1.string, start0, end);
  112019. }
  112020. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser_mozDocumentRule_closure0(_box_0, _this, $name, buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)))));
  112021. },
  112022. supportsRule$1(start) {
  112023. var _this = this,
  112024. condition = _this._stylesheet0$_supportsCondition$0();
  112025. _this.whitespace$0();
  112026. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser_supportsRule_closure0(condition));
  112027. },
  112028. _stylesheet0$_useNamespace$2(url, start) {
  112029. var namespace, basename, dot, t1, exception, _this = this;
  112030. if (_this.scanIdentifier$1("as")) {
  112031. _this.whitespace$0();
  112032. return _this.scanner.scanChar$1(42) ? null : _this.identifier$0();
  112033. }
  112034. basename = url.get$pathSegments().length === 0 ? "" : B.JSArray_methods.get$last(url.get$pathSegments());
  112035. dot = B.JSString_methods.indexOf$1(basename, ".");
  112036. t1 = B.JSString_methods.startsWith$1(basename, "_") ? 1 : 0;
  112037. namespace = B.JSString_methods.substring$2(basename, t1, dot === -1 ? basename.length : dot);
  112038. try {
  112039. t1 = A.SpanScanner$(namespace, null);
  112040. t1 = new A.Parser1(t1, _this.logger, null)._parser0$_parseIdentifier$0();
  112041. return t1;
  112042. } catch (exception) {
  112043. if (type$.SassFormatException_2._is(A.unwrapException(exception)))
  112044. _this.error$2(0, 'The default namespace "' + A.S(namespace) + string$.x22x20is_n, _this.scanner.spanFrom$1(start));
  112045. else
  112046. throw exception;
  112047. }
  112048. },
  112049. _stylesheet0$_configuration$1$allowGuarded(allowGuarded) {
  112050. var variableNames, configuration, t1, t2, $name, expression, t3, guarded, endPosition, t4, t5, span, _this = this;
  112051. if (!_this.scanIdentifier$1("with"))
  112052. return null;
  112053. variableNames = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
  112054. configuration = A._setArrayType([], type$.JSArray_ConfiguredVariable_2);
  112055. _this.whitespace$0();
  112056. t1 = _this.scanner;
  112057. t1.expectChar$1(40);
  112058. for (; true;) {
  112059. _this.whitespace$0();
  112060. t2 = t1._string_scanner$_position;
  112061. t1.expectChar$1(36);
  112062. $name = _this.identifier$1$normalize(true);
  112063. _this.whitespace$0();
  112064. t1.expectChar$1(58);
  112065. _this.whitespace$0();
  112066. expression = _this.expressionUntilComma$0();
  112067. t3 = t1._string_scanner$_position;
  112068. if (allowGuarded && t1.scanChar$1(33)) {
  112069. guarded = _this.identifier$0() === "default";
  112070. if (guarded)
  112071. _this.whitespace$0();
  112072. else {
  112073. endPosition = t1._string_scanner$_position;
  112074. t4 = t1._sourceFile;
  112075. t5 = new A._FileSpan(t4, t3, endPosition);
  112076. t5._FileSpan$3(t4, t3, endPosition);
  112077. _this.error$2(0, "Invalid flag name.", t5);
  112078. }
  112079. } else
  112080. guarded = false;
  112081. endPosition = t1._string_scanner$_position;
  112082. t3 = t1._sourceFile;
  112083. span = new A._FileSpan(t3, t2, endPosition);
  112084. span._FileSpan$3(t3, t2, endPosition);
  112085. if (variableNames.contains$1(0, $name))
  112086. _this.error$2(0, string$.The_sa, span);
  112087. variableNames.add$1(0, $name);
  112088. configuration.push(new A.ConfiguredVariable0($name, expression, guarded, span));
  112089. if (!t1.scanChar$1(44))
  112090. break;
  112091. _this.whitespace$0();
  112092. if (!_this._stylesheet0$_lookingAtExpression$0())
  112093. break;
  112094. }
  112095. t1.expectChar$1(41);
  112096. return configuration;
  112097. },
  112098. _stylesheet0$_configuration$0() {
  112099. return this._stylesheet0$_configuration$1$allowGuarded(false);
  112100. },
  112101. _stylesheet0$_warnRule$1(start) {
  112102. var value = this._stylesheet0$_expression$0();
  112103. this.expectStatementSeparator$1("@warn rule");
  112104. return new A.WarnRule0(value, this.scanner.spanFrom$1(start));
  112105. },
  112106. _stylesheet0$_whileRule$2(start, child) {
  112107. var _this = this,
  112108. wasInControlDirective = _this._stylesheet0$_inControlDirective;
  112109. _this._stylesheet0$_inControlDirective = true;
  112110. return _this._stylesheet0$_withChildren$3(child, start, new A.StylesheetParser__whileRule_closure0(_this, wasInControlDirective, _this._stylesheet0$_expression$0()));
  112111. },
  112112. unknownAtRule$2(start, $name) {
  112113. var t2, t3, rule, _this = this, t1 = {},
  112114. wasInUnknownAtRule = _this._stylesheet0$_inUnknownAtRule;
  112115. _this._stylesheet0$_inUnknownAtRule = true;
  112116. t1.value = null;
  112117. t2 = _this.scanner;
  112118. t3 = t2.peekChar$0() !== 33 && !_this.atEndOfStatement$0() ? t1.value = _this.almostAnyValue$0() : null;
  112119. if (_this.lookingAtChildren$0())
  112120. rule = _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser_unknownAtRule_closure0(t1, $name));
  112121. else {
  112122. _this.expectStatementSeparator$0();
  112123. rule = A.AtRule$0($name, t2.spanFrom$1(start), null, t3);
  112124. }
  112125. _this._stylesheet0$_inUnknownAtRule = wasInUnknownAtRule;
  112126. return rule;
  112127. },
  112128. _stylesheet0$_disallowedAtRule$1(start) {
  112129. this.almostAnyValue$0();
  112130. this.error$2(0, "This at-rule is not allowed here.", this.scanner.spanFrom$1(start));
  112131. },
  112132. _stylesheet0$_argumentDeclaration$0() {
  112133. var $arguments, named, restArgument, t3, $name, defaultValue, endPosition, t4, t5, _this = this,
  112134. t1 = _this.scanner,
  112135. t2 = t1._string_scanner$_position;
  112136. t1.expectChar$1(40);
  112137. _this.whitespace$0();
  112138. $arguments = A._setArrayType([], type$.JSArray_Argument_2);
  112139. named = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
  112140. while (true) {
  112141. if (!(t1.peekChar$0() === 36)) {
  112142. restArgument = null;
  112143. break;
  112144. }
  112145. t3 = t1._string_scanner$_position;
  112146. t1.expectChar$1(36);
  112147. $name = _this.identifier$1$normalize(true);
  112148. _this.whitespace$0();
  112149. if (t1.scanChar$1(58)) {
  112150. _this.whitespace$0();
  112151. defaultValue = _this.expressionUntilComma$0();
  112152. } else {
  112153. if (t1.scanChar$1(46)) {
  112154. t1.expectChar$1(46);
  112155. t1.expectChar$1(46);
  112156. _this.whitespace$0();
  112157. restArgument = $name;
  112158. break;
  112159. }
  112160. defaultValue = null;
  112161. }
  112162. endPosition = t1._string_scanner$_position;
  112163. t4 = t1._sourceFile;
  112164. t5 = new A._FileSpan(t4, t3, endPosition);
  112165. t5._FileSpan$3(t4, t3, endPosition);
  112166. $arguments.push(new A.Argument0($name, defaultValue, t5));
  112167. if (!named.add$1(0, $name))
  112168. _this.error$2(0, "Duplicate argument.", B.JSArray_methods.get$last($arguments).span);
  112169. if (!t1.scanChar$1(44)) {
  112170. restArgument = null;
  112171. break;
  112172. }
  112173. _this.whitespace$0();
  112174. }
  112175. t1.expectChar$1(41);
  112176. t1 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  112177. return new A.ArgumentDeclaration0(A.List_List$unmodifiable($arguments, type$.Argument_2), restArgument, t1);
  112178. },
  112179. _stylesheet0$_argumentInvocation$2$allowEmptySecondArg$mixin(allowEmptySecondArg, mixin) {
  112180. var positional, t3, t4, named, keywordRest, t5, rest, expression, t6, t7, result, _this = this, _null = null,
  112181. t1 = _this.scanner,
  112182. t2 = t1._string_scanner$_position;
  112183. t1.expectChar$1(40);
  112184. _this.whitespace$0();
  112185. positional = A._setArrayType([], type$.JSArray_Expression_2);
  112186. t3 = type$.String;
  112187. t4 = type$.Expression_2;
  112188. named = A.LinkedHashMap_LinkedHashMap$_empty(t3, t4);
  112189. t5 = !mixin;
  112190. rest = _null;
  112191. while (true) {
  112192. if (!_this._stylesheet0$_lookingAtExpression$0()) {
  112193. keywordRest = _null;
  112194. break;
  112195. }
  112196. expression = _this.expressionUntilComma$1$singleEquals(t5);
  112197. _this.whitespace$0();
  112198. if (expression instanceof A.VariableExpression0 && t1.scanChar$1(58)) {
  112199. _this.whitespace$0();
  112200. t6 = expression.name;
  112201. if (named.containsKey$1(t6))
  112202. _this.error$2(0, "Duplicate argument.", expression.span);
  112203. named.$indexSet(0, t6, _this.expressionUntilComma$1$singleEquals(t5));
  112204. } else if (t1.scanChar$1(46)) {
  112205. t1.expectChar$1(46);
  112206. t1.expectChar$1(46);
  112207. if (rest != null) {
  112208. _this.whitespace$0();
  112209. keywordRest = expression;
  112210. break;
  112211. }
  112212. rest = expression;
  112213. } else if (named.__js_helper$_length !== 0)
  112214. _this.error$2(0, string$.Positi, expression.get$span(expression));
  112215. else
  112216. positional.push(expression);
  112217. _this.whitespace$0();
  112218. if (!t1.scanChar$1(44)) {
  112219. keywordRest = _null;
  112220. break;
  112221. }
  112222. _this.whitespace$0();
  112223. if (allowEmptySecondArg && positional.length === 1 && named.__js_helper$_length === 0 && rest == null && t1.peekChar$0() === 41) {
  112224. t5 = t1._sourceFile;
  112225. t6 = t1._string_scanner$_position;
  112226. new A.FileLocation(t5, t6).FileLocation$_$2(t5, t6);
  112227. t7 = new A._FileSpan(t5, t6, t6);
  112228. t7._FileSpan$3(t5, t6, t6);
  112229. t6 = A._setArrayType([""], type$.JSArray_Object);
  112230. result = A.List_List$from(t6, false, type$.Object);
  112231. result.fixed$length = Array;
  112232. result.immutable$list = Array;
  112233. t5 = new A.Interpolation0(result, t7);
  112234. t5.Interpolation$20(t6, t7);
  112235. positional.push(new A.StringExpression0(t5, false));
  112236. keywordRest = _null;
  112237. break;
  112238. }
  112239. }
  112240. t1.expectChar$1(41);
  112241. t1 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  112242. return new A.ArgumentInvocation0(A.List_List$unmodifiable(positional, t4), A.ConstantMap_ConstantMap$from(named, t3, t4), rest, keywordRest, t1);
  112243. },
  112244. _stylesheet0$_argumentInvocation$0() {
  112245. return this._stylesheet0$_argumentInvocation$2$allowEmptySecondArg$mixin(false, false);
  112246. },
  112247. _stylesheet0$_argumentInvocation$1$allowEmptySecondArg(allowEmptySecondArg) {
  112248. return this._stylesheet0$_argumentInvocation$2$allowEmptySecondArg$mixin(allowEmptySecondArg, false);
  112249. },
  112250. _stylesheet0$_argumentInvocation$1$mixin(mixin) {
  112251. return this._stylesheet0$_argumentInvocation$2$allowEmptySecondArg$mixin(false, mixin);
  112252. },
  112253. _stylesheet0$_expression$3$bracketList$singleEquals$until(bracketList, singleEquals, until) {
  112254. var t2, beforeBracket, start, wasInExpression, wasInParentheses, resetState, resolveOneOperation, resolveOperations, addSingleExpression, addOperator, resolveSpaceExpressions, t3, _3_0, _1_0, t4, _3_28, _2_0, _3_32, _3_40, commaExpressions, spaceExpressions, singleExpression, _this = this,
  112255. _s20_ = "Expected expression.",
  112256. _box_0 = {},
  112257. t1 = until != null;
  112258. if (t1 && until.call$0())
  112259. _this.scanner.error$1(0, _s20_);
  112260. if (bracketList) {
  112261. t2 = _this.scanner;
  112262. beforeBracket = new A._SpanScannerState(t2, t2._string_scanner$_position);
  112263. t2.expectChar$1(91);
  112264. _this.whitespace$0();
  112265. if (t2.scanChar$1(93)) {
  112266. t1 = A._setArrayType([], type$.JSArray_Expression_2);
  112267. t2 = t2.spanFrom$1(beforeBracket);
  112268. return new A.ListExpression0(A.List_List$unmodifiable(t1, type$.Expression_2), B.ListSeparator_undecided_null_undecided0, true, t2);
  112269. }
  112270. } else
  112271. beforeBracket = null;
  112272. t2 = _this.scanner;
  112273. start = new A._SpanScannerState(t2, t2._string_scanner$_position);
  112274. wasInExpression = _this._stylesheet0$_inExpression;
  112275. wasInParentheses = _this._stylesheet0$_inParentheses;
  112276. _this._stylesheet0$_inExpression = true;
  112277. _box_0.operands_ = _box_0.operators_ = _box_0.spaceExpressions_ = _box_0.commaExpressions_ = null;
  112278. _box_0.allowSlash = true;
  112279. _box_0.singleExpression_ = _this._stylesheet0$_singleExpression$0();
  112280. resetState = new A.StylesheetParser__expression_resetState0(_box_0, _this, start);
  112281. resolveOneOperation = new A.StylesheetParser__expression_resolveOneOperation0(_box_0, _this);
  112282. resolveOperations = new A.StylesheetParser__expression_resolveOperations0(_box_0, resolveOneOperation);
  112283. addSingleExpression = new A.StylesheetParser__expression_addSingleExpression0(_box_0, _this, resetState, resolveOperations);
  112284. addOperator = new A.StylesheetParser__expression_addOperator0(_box_0, _this, resolveOneOperation);
  112285. resolveSpaceExpressions = new A.StylesheetParser__expression_resolveSpaceExpressions0(_box_0, _this, resolveOperations);
  112286. for (t3 = type$.JSArray_Expression_2; true;) {
  112287. _this.whitespace$0();
  112288. if (t1 && until.call$0())
  112289. break;
  112290. _3_0 = t2.peekChar$0();
  112291. if (_3_0 == null)
  112292. break;
  112293. if (40 === _3_0) {
  112294. addSingleExpression.call$1(_this.parentheses$0());
  112295. continue;
  112296. }
  112297. if (91 === _3_0) {
  112298. addSingleExpression.call$1(_this._stylesheet0$_expression$1$bracketList(true));
  112299. continue;
  112300. }
  112301. if (36 === _3_0) {
  112302. addSingleExpression.call$1(_this._stylesheet0$_variable$0());
  112303. continue;
  112304. }
  112305. if (38 === _3_0) {
  112306. addSingleExpression.call$1(_this._stylesheet0$_selector$0());
  112307. continue;
  112308. }
  112309. if (39 === _3_0 || 34 === _3_0) {
  112310. addSingleExpression.call$1(_this.interpolatedString$0());
  112311. continue;
  112312. }
  112313. if (35 === _3_0) {
  112314. addSingleExpression.call$1(_this._stylesheet0$_hashExpression$0());
  112315. continue;
  112316. }
  112317. if (61 === _3_0) {
  112318. t2.readChar$0();
  112319. if (singleEquals && t2.peekChar$0() !== 61)
  112320. addOperator.call$1(B.BinaryOperator_wdM0);
  112321. else {
  112322. t2.expectChar$1(61);
  112323. addOperator.call$1(B.BinaryOperator_g8k0);
  112324. }
  112325. continue;
  112326. }
  112327. if (33 === _3_0) {
  112328. $label0$1: {
  112329. _1_0 = t2.peekChar$1(1);
  112330. if (61 === _1_0) {
  112331. t2.readChar$0();
  112332. t2.readChar$0();
  112333. addOperator.call$1(B.BinaryOperator_icU0);
  112334. break $label0$1;
  112335. }
  112336. if (_1_0 != null)
  112337. if (105 !== _1_0)
  112338. if (73 !== _1_0)
  112339. t4 = _1_0 === 32 || _1_0 === 9 || _1_0 === 10 || _1_0 === 13 || _1_0 === 12;
  112340. else
  112341. t4 = true;
  112342. else
  112343. t4 = true;
  112344. else
  112345. t4 = true;
  112346. if (t4) {
  112347. addSingleExpression.call$1(_this._stylesheet0$_importantExpression$0());
  112348. break $label0$1;
  112349. }
  112350. break;
  112351. }
  112352. continue;
  112353. }
  112354. if (60 === _3_0) {
  112355. t2.readChar$0();
  112356. addOperator.call$1(t2.scanChar$1(61) ? B.BinaryOperator_SPQ0 : B.BinaryOperator_miq0);
  112357. continue;
  112358. }
  112359. if (62 === _3_0) {
  112360. t2.readChar$0();
  112361. addOperator.call$1(t2.scanChar$1(61) ? B.BinaryOperator_oEm0 : B.BinaryOperator_bEa0);
  112362. continue;
  112363. }
  112364. if (42 === _3_0) {
  112365. t2.readChar$0();
  112366. addOperator.call$1(B.BinaryOperator_2No0);
  112367. continue;
  112368. }
  112369. _3_28 = 43 === _3_0;
  112370. if (_3_28 && _box_0.singleExpression_ == null) {
  112371. addSingleExpression.call$1(_this._stylesheet0$_unaryOperation$0());
  112372. continue;
  112373. }
  112374. if (_3_28) {
  112375. t2.readChar$0();
  112376. addOperator.call$1(B.BinaryOperator_u150);
  112377. continue;
  112378. }
  112379. if (45 === _3_0) {
  112380. _2_0 = t2.peekChar$1(1);
  112381. if (A._isInt(_2_0) && _2_0 >= 48 && _2_0 <= 57 || 46 === _2_0)
  112382. if (_box_0.singleExpression_ != null) {
  112383. t4 = t2.peekChar$1(-1);
  112384. t4 = t4 === 32 || t4 === 9 || t4 === 10 || t4 === 13 || t4 === 12;
  112385. } else
  112386. t4 = true;
  112387. else
  112388. t4 = false;
  112389. if (t4)
  112390. addSingleExpression.call$1(_this._stylesheet0$_number$0());
  112391. else if (_this._stylesheet0$_lookingAtInterpolatedIdentifier$0())
  112392. addSingleExpression.call$1(_this.identifierLike$0());
  112393. else if (_box_0.singleExpression_ == null)
  112394. addSingleExpression.call$1(_this._stylesheet0$_unaryOperation$0());
  112395. else {
  112396. t2.readChar$0();
  112397. addOperator.call$1(B.BinaryOperator_SjO0);
  112398. }
  112399. continue;
  112400. }
  112401. _3_32 = 47 === _3_0;
  112402. if (_3_32 && _box_0.singleExpression_ == null) {
  112403. addSingleExpression.call$1(_this._stylesheet0$_unaryOperation$0());
  112404. continue;
  112405. }
  112406. if (_3_32) {
  112407. t2.readChar$0();
  112408. addOperator.call$1(B.BinaryOperator_U770);
  112409. continue;
  112410. }
  112411. if (37 === _3_0) {
  112412. t2.readChar$0();
  112413. addOperator.call$1(B.BinaryOperator_KNx0);
  112414. continue;
  112415. }
  112416. if (_3_0 >= 48 && _3_0 <= 57) {
  112417. addSingleExpression.call$1(_this._stylesheet0$_number$0());
  112418. continue;
  112419. }
  112420. _3_40 = 46 === _3_0;
  112421. if (_3_40 && t2.peekChar$1(1) === 46)
  112422. break;
  112423. if (_3_40) {
  112424. addSingleExpression.call$1(_this._stylesheet0$_number$0());
  112425. continue;
  112426. }
  112427. if (97 === _3_0 && !_this.get$plainCss() && _this.scanIdentifier$1("and")) {
  112428. addOperator.call$1(B.BinaryOperator_eDt0);
  112429. continue;
  112430. }
  112431. if (111 === _3_0 && !_this.get$plainCss() && _this.scanIdentifier$1("or")) {
  112432. addOperator.call$1(B.BinaryOperator_qNM0);
  112433. continue;
  112434. }
  112435. if ((117 === _3_0 || 85 === _3_0) && t2.peekChar$1(1) === 43) {
  112436. addSingleExpression.call$1(_this._stylesheet0$_unicodeRange$0());
  112437. continue;
  112438. }
  112439. if (!(_3_0 >= 97 && _3_0 <= 122))
  112440. t4 = _3_0 >= 65 && _3_0 <= 90 || 95 === _3_0 || 92 === _3_0 || _3_0 >= 128;
  112441. else
  112442. t4 = true;
  112443. if (t4) {
  112444. addSingleExpression.call$1(_this.identifierLike$0());
  112445. continue;
  112446. }
  112447. if (44 === _3_0) {
  112448. if (_this._stylesheet0$_inParentheses) {
  112449. _this._stylesheet0$_inParentheses = false;
  112450. if (_box_0.allowSlash) {
  112451. resetState.call$0();
  112452. continue;
  112453. }
  112454. }
  112455. commaExpressions = _box_0.commaExpressions_;
  112456. if (commaExpressions == null)
  112457. commaExpressions = _box_0.commaExpressions_ = A._setArrayType([], t3);
  112458. if (_box_0.singleExpression_ == null)
  112459. t2.error$1(0, _s20_);
  112460. resolveSpaceExpressions.call$0();
  112461. t4 = _box_0.singleExpression_;
  112462. t4.toString;
  112463. commaExpressions.push(t4);
  112464. t2.readChar$0();
  112465. _box_0.allowSlash = true;
  112466. _box_0.singleExpression_ = null;
  112467. continue;
  112468. }
  112469. break;
  112470. }
  112471. if (bracketList)
  112472. t2.expectChar$1(93);
  112473. commaExpressions = _box_0.commaExpressions_;
  112474. spaceExpressions = _box_0.spaceExpressions_;
  112475. if (commaExpressions != null) {
  112476. resolveSpaceExpressions.call$0();
  112477. _this._stylesheet0$_inParentheses = wasInParentheses;
  112478. singleExpression = _box_0.singleExpression_;
  112479. if (singleExpression != null)
  112480. commaExpressions.push(singleExpression);
  112481. _this._stylesheet0$_inExpression = wasInExpression;
  112482. t1 = t2.spanFrom$1(beforeBracket == null ? start : beforeBracket);
  112483. return new A.ListExpression0(A.List_List$unmodifiable(commaExpressions, type$.Expression_2), B.ListSeparator_ECn0, bracketList, t1);
  112484. } else if (bracketList && spaceExpressions != null) {
  112485. resolveOperations.call$0();
  112486. _this._stylesheet0$_inExpression = wasInExpression;
  112487. t1 = _box_0.singleExpression_;
  112488. t1.toString;
  112489. spaceExpressions.push(t1);
  112490. beforeBracket.toString;
  112491. t2 = t2.spanFrom$1(beforeBracket);
  112492. return new A.ListExpression0(A.List_List$unmodifiable(spaceExpressions, type$.Expression_2), B.ListSeparator_nbm0, true, t2);
  112493. } else {
  112494. resolveSpaceExpressions.call$0();
  112495. if (bracketList) {
  112496. t1 = _box_0.singleExpression_;
  112497. t1.toString;
  112498. t3 = A._setArrayType([t1], t3);
  112499. beforeBracket.toString;
  112500. t2 = t2.spanFrom$1(beforeBracket);
  112501. _box_0.singleExpression_ = new A.ListExpression0(A.List_List$unmodifiable(t3, type$.Expression_2), B.ListSeparator_undecided_null_undecided0, true, t2);
  112502. }
  112503. _this._stylesheet0$_inExpression = wasInExpression;
  112504. t1 = _box_0.singleExpression_;
  112505. t1.toString;
  112506. return t1;
  112507. }
  112508. },
  112509. _stylesheet0$_expression$2$singleEquals$until(singleEquals, until) {
  112510. return this._stylesheet0$_expression$3$bracketList$singleEquals$until(false, singleEquals, until);
  112511. },
  112512. _stylesheet0$_expression$1$bracketList(bracketList) {
  112513. return this._stylesheet0$_expression$3$bracketList$singleEquals$until(bracketList, false, null);
  112514. },
  112515. _stylesheet0$_expression$0() {
  112516. return this._stylesheet0$_expression$3$bracketList$singleEquals$until(false, false, null);
  112517. },
  112518. _stylesheet0$_expression$1$until(until) {
  112519. return this._stylesheet0$_expression$3$bracketList$singleEquals$until(false, false, until);
  112520. },
  112521. expressionUntilComma$1$singleEquals(singleEquals) {
  112522. return this._stylesheet0$_expression$2$singleEquals$until(singleEquals, new A.StylesheetParser_expressionUntilComma_closure0(this));
  112523. },
  112524. expressionUntilComma$0() {
  112525. return this.expressionUntilComma$1$singleEquals(false);
  112526. },
  112527. _stylesheet0$_isSlashOperand$1(expression) {
  112528. var t1;
  112529. if (!(expression instanceof A.NumberExpression0))
  112530. if (!(expression instanceof A.FunctionExpression0))
  112531. t1 = expression instanceof A.BinaryOperationExpression0 && expression.allowsSlash;
  112532. else
  112533. t1 = true;
  112534. else
  112535. t1 = true;
  112536. return t1;
  112537. },
  112538. _stylesheet0$_singleExpression$0() {
  112539. var next, t2, _this = this,
  112540. _s20_ = "Expected expression.",
  112541. t1 = _this.scanner,
  112542. _0_0 = t1.peekChar$0();
  112543. $label0$0: {
  112544. if (_0_0 == null)
  112545. t1.error$1(0, _s20_);
  112546. if (40 === _0_0) {
  112547. t1 = _this.parentheses$0();
  112548. break $label0$0;
  112549. }
  112550. if (47 === _0_0) {
  112551. t1 = _this._stylesheet0$_unaryOperation$0();
  112552. break $label0$0;
  112553. }
  112554. if (46 === _0_0) {
  112555. t1 = _this._stylesheet0$_number$0();
  112556. break $label0$0;
  112557. }
  112558. if (91 === _0_0) {
  112559. t1 = _this._stylesheet0$_expression$1$bracketList(true);
  112560. break $label0$0;
  112561. }
  112562. if (36 === _0_0) {
  112563. t1 = _this._stylesheet0$_variable$0();
  112564. break $label0$0;
  112565. }
  112566. if (38 === _0_0) {
  112567. t1 = _this._stylesheet0$_selector$0();
  112568. break $label0$0;
  112569. }
  112570. if (39 === _0_0 || 34 === _0_0) {
  112571. t1 = _this.interpolatedString$0();
  112572. break $label0$0;
  112573. }
  112574. if (35 === _0_0) {
  112575. t1 = _this._stylesheet0$_hashExpression$0();
  112576. break $label0$0;
  112577. }
  112578. if (43 === _0_0) {
  112579. next = t1.peekChar$1(1);
  112580. t1 = next != null && next >= 48 && next <= 57 || next === 46 ? _this._stylesheet0$_number$0() : _this._stylesheet0$_unaryOperation$0();
  112581. break $label0$0;
  112582. }
  112583. if (45 === _0_0) {
  112584. t1 = _this._stylesheet0$_minusExpression$0();
  112585. break $label0$0;
  112586. }
  112587. if (33 === _0_0) {
  112588. t1 = _this._stylesheet0$_importantExpression$0();
  112589. break $label0$0;
  112590. }
  112591. if ((117 === _0_0 || 85 === _0_0) && t1.peekChar$1(1) === 43) {
  112592. t1 = _this._stylesheet0$_unicodeRange$0();
  112593. break $label0$0;
  112594. }
  112595. if (_0_0 >= 48 && _0_0 <= 57) {
  112596. t1 = _this._stylesheet0$_number$0();
  112597. break $label0$0;
  112598. }
  112599. if (!(_0_0 >= 97 && _0_0 <= 122))
  112600. t2 = _0_0 >= 65 && _0_0 <= 90 || 95 === _0_0 || 92 === _0_0 || _0_0 >= 128;
  112601. else
  112602. t2 = true;
  112603. if (t2) {
  112604. t1 = _this.identifierLike$0();
  112605. break $label0$0;
  112606. }
  112607. t1 = t1.error$1(0, _s20_);
  112608. }
  112609. return t1;
  112610. },
  112611. parentheses$0() {
  112612. var start, first, expressions, t1, t2, _this = this,
  112613. wasInParentheses = _this._stylesheet0$_inParentheses;
  112614. _this._stylesheet0$_inParentheses = true;
  112615. try {
  112616. t1 = _this.scanner;
  112617. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  112618. t1.expectChar$1(40);
  112619. _this.whitespace$0();
  112620. if (!_this._stylesheet0$_lookingAtExpression$0()) {
  112621. t1.expectChar$1(41);
  112622. t2 = A._setArrayType([], type$.JSArray_Expression_2);
  112623. t1 = t1.spanFrom$1(start);
  112624. t2 = A.List_List$unmodifiable(t2, type$.Expression_2);
  112625. return new A.ListExpression0(t2, B.ListSeparator_undecided_null_undecided0, false, t1);
  112626. }
  112627. first = _this.expressionUntilComma$0();
  112628. if (t1.scanChar$1(58)) {
  112629. _this.whitespace$0();
  112630. t1 = _this._stylesheet0$_map$2(first, start);
  112631. return t1;
  112632. }
  112633. if (!t1.scanChar$1(44)) {
  112634. t1.expectChar$1(41);
  112635. t1 = t1.spanFrom$1(start);
  112636. return new A.ParenthesizedExpression0(first, t1);
  112637. }
  112638. _this.whitespace$0();
  112639. expressions = A._setArrayType([first], type$.JSArray_Expression_2);
  112640. for (; true;) {
  112641. if (!_this._stylesheet0$_lookingAtExpression$0())
  112642. break;
  112643. J.add$1$ax(expressions, _this.expressionUntilComma$0());
  112644. if (!t1.scanChar$1(44))
  112645. break;
  112646. _this.whitespace$0();
  112647. }
  112648. t1.expectChar$1(41);
  112649. t1 = t1.spanFrom$1(start);
  112650. t2 = A.List_List$unmodifiable(expressions, type$.Expression_2);
  112651. return new A.ListExpression0(t2, B.ListSeparator_ECn0, false, t1);
  112652. } finally {
  112653. _this._stylesheet0$_inParentheses = wasInParentheses;
  112654. }
  112655. },
  112656. _stylesheet0$_map$2(first, start) {
  112657. var t1, key, _this = this,
  112658. pairs = A._setArrayType([new A._Record_2(first, _this.expressionUntilComma$0())], type$.JSArray_Record_2_Expression_and_Expression_2);
  112659. for (t1 = _this.scanner; t1.scanChar$1(44);) {
  112660. _this.whitespace$0();
  112661. if (!_this._stylesheet0$_lookingAtExpression$0())
  112662. break;
  112663. key = _this.expressionUntilComma$0();
  112664. t1.expectChar$1(58);
  112665. _this.whitespace$0();
  112666. pairs.push(new A._Record_2(key, _this.expressionUntilComma$0()));
  112667. }
  112668. t1.expectChar$1(41);
  112669. t1 = t1.spanFrom$1(start);
  112670. return new A.MapExpression0(A.List_List$unmodifiable(pairs, type$.Record_2_Expression_and_Expression_2), t1);
  112671. },
  112672. _stylesheet0$_hashExpression$0() {
  112673. var start, t2, identifier, buffer, t3, _this = this,
  112674. t1 = _this.scanner;
  112675. if (t1.peekChar$1(1) === 123)
  112676. return _this.identifierLike$0();
  112677. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  112678. t1.expectChar$1(35);
  112679. t2 = t1.peekChar$0();
  112680. if (t2 == null)
  112681. t2 = null;
  112682. else
  112683. t2 = t2 >= 48 && t2 <= 57;
  112684. if (t2 === true)
  112685. return new A.ColorExpression0(_this._stylesheet0$_hexColorContents$1(start), t1.spanFrom$1(start));
  112686. t2 = t1._string_scanner$_position;
  112687. identifier = _this.interpolatedIdentifier$0();
  112688. if (_this._stylesheet0$_isHexColor$1(identifier)) {
  112689. t1.set$state(new A._SpanScannerState(t1, t2));
  112690. return new A.ColorExpression0(_this._stylesheet0$_hexColorContents$1(start), t1.spanFrom$1(start));
  112691. }
  112692. t2 = new A.StringBuffer("");
  112693. buffer = new A.InterpolationBuffer0(t2, A._setArrayType([], type$.JSArray_Object));
  112694. t3 = A.Primitives_stringFromCharCode(35);
  112695. t2._contents += t3;
  112696. buffer.addInterpolation$1(identifier);
  112697. return new A.StringExpression0(buffer.interpolation$1(t1.spanFrom$1(start)), false);
  112698. },
  112699. _stylesheet0$_hexColorContents$1(start) {
  112700. var red, green, blue, alpha, digit4, t2, t3, t4, _this = this,
  112701. digit1 = _this._stylesheet0$_hexDigit$0(),
  112702. digit2 = _this._stylesheet0$_hexDigit$0(),
  112703. digit3 = _this._stylesheet0$_hexDigit$0(),
  112704. t1 = _this.scanner,
  112705. $self = t1.peekChar$0();
  112706. if (!($self != null && A.CharacterExtension_get_isHex0($self))) {
  112707. red = (digit1 << 4 >>> 0) + digit1;
  112708. green = (digit2 << 4 >>> 0) + digit2;
  112709. blue = (digit3 << 4 >>> 0) + digit3;
  112710. alpha = null;
  112711. } else {
  112712. digit4 = _this._stylesheet0$_hexDigit$0();
  112713. $self = t1.peekChar$0();
  112714. t2 = $self != null && A.CharacterExtension_get_isHex0($self);
  112715. t3 = digit1 << 4 >>> 0;
  112716. t4 = digit3 << 4 >>> 0;
  112717. if (!t2) {
  112718. red = t3 + digit1;
  112719. green = (digit2 << 4 >>> 0) + digit2;
  112720. blue = t4 + digit3;
  112721. alpha = ((digit4 << 4 >>> 0) + digit4) / 255;
  112722. } else {
  112723. red = t3 + digit2;
  112724. green = t4 + digit4;
  112725. blue = (_this._stylesheet0$_hexDigit$0() << 4 >>> 0) + _this._stylesheet0$_hexDigit$0();
  112726. $self = t1.peekChar$0();
  112727. alpha = $self != null && A.CharacterExtension_get_isHex0($self) ? ((_this._stylesheet0$_hexDigit$0() << 4 >>> 0) + _this._stylesheet0$_hexDigit$0()) / 255 : null;
  112728. }
  112729. }
  112730. t2 = alpha == null;
  112731. t3 = t2 ? 1 : alpha;
  112732. return A.SassColor$rgbInternal0(red, green, blue, t3, t2 ? new A.SpanColorFormat0(t1.spanFrom$1(start)) : null);
  112733. },
  112734. _stylesheet0$_isHexColor$1(interpolation) {
  112735. var _0_2, t1,
  112736. plain = interpolation.get$asPlain();
  112737. if (typeof plain == "string") {
  112738. _0_2 = plain.length;
  112739. if (3 !== _0_2)
  112740. if (4 !== _0_2)
  112741. if (6 !== _0_2)
  112742. t1 = 8 === _0_2;
  112743. else
  112744. t1 = true;
  112745. else
  112746. t1 = true;
  112747. else
  112748. t1 = true;
  112749. } else
  112750. t1 = false;
  112751. if (t1) {
  112752. t1 = new A.CodeUnits(plain);
  112753. return t1.every$1(t1, new A.StylesheetParser__isHexColor_closure0());
  112754. } else
  112755. return false;
  112756. },
  112757. _stylesheet0$_hexDigit$0() {
  112758. var t1 = this.scanner,
  112759. t2 = t1.peekChar$0();
  112760. t2 = t2 == null ? null : A.CharacterExtension_get_isHex0(t2);
  112761. return t2 === true ? A.asHex0(t1.readChar$0()) : t1.error$1(0, "Expected hex digit.");
  112762. },
  112763. _stylesheet0$_minusExpression$0() {
  112764. var _this = this,
  112765. _0_0 = _this.scanner.peekChar$1(1);
  112766. if (A._isInt(_0_0) && _0_0 >= 48 && _0_0 <= 57 || 46 === _0_0)
  112767. return _this._stylesheet0$_number$0();
  112768. if (_this._stylesheet0$_lookingAtInterpolatedIdentifier$0())
  112769. return _this.identifierLike$0();
  112770. return _this._stylesheet0$_unaryOperation$0();
  112771. },
  112772. _stylesheet0$_importantExpression$0() {
  112773. var t1 = this.scanner,
  112774. t2 = t1._string_scanner$_position;
  112775. t1.readChar$0();
  112776. this.whitespace$0();
  112777. this.expectIdentifier$1("important");
  112778. t2 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  112779. return new A.StringExpression0(A.Interpolation$0(A._setArrayType(["!important"], type$.JSArray_Object), t2), false);
  112780. },
  112781. _stylesheet0$_unaryOperation$0() {
  112782. var _this = this,
  112783. t1 = _this.scanner,
  112784. t2 = t1._string_scanner$_position,
  112785. operator = _this._stylesheet0$_unaryOperatorFor$1(t1.readChar$0());
  112786. if (operator == null)
  112787. t1.error$2$position(0, "Expected unary operator.", t1._string_scanner$_position - 1);
  112788. else if (_this.get$plainCss() && operator !== B.UnaryOperator_SJr0)
  112789. t1.error$3$length$position(0, "Operators aren't allowed in plain CSS.", 1, t1._string_scanner$_position - 1);
  112790. _this.whitespace$0();
  112791. return new A.UnaryOperationExpression0(operator, _this._stylesheet0$_singleExpression$0(), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  112792. },
  112793. _stylesheet0$_unaryOperatorFor$1(character) {
  112794. var t1;
  112795. $label0$0: {
  112796. if (43 === character) {
  112797. t1 = B.UnaryOperator_cLp0;
  112798. break $label0$0;
  112799. }
  112800. if (45 === character) {
  112801. t1 = B.UnaryOperator_AiQ0;
  112802. break $label0$0;
  112803. }
  112804. if (47 === character) {
  112805. t1 = B.UnaryOperator_SJr0;
  112806. break $label0$0;
  112807. }
  112808. t1 = null;
  112809. break $label0$0;
  112810. }
  112811. return t1;
  112812. },
  112813. _stylesheet0$_number$0() {
  112814. var number, unit, _this = this,
  112815. t1 = _this.scanner,
  112816. t2 = t1._string_scanner$_position,
  112817. first = t1.peekChar$0(),
  112818. t3 = first !== 43;
  112819. if (!t3 || first === 45)
  112820. t1.readChar$0();
  112821. if (t1.peekChar$0() !== 46)
  112822. _this._stylesheet0$_consumeNaturalNumber$0();
  112823. _this._stylesheet0$_tryDecimal$1$allowTrailingDot(t1._string_scanner$_position !== t2 && t3 && first !== 45);
  112824. _this._stylesheet0$_tryExponent$0();
  112825. number = A.double_parse(t1.substring$1(0, t2));
  112826. if (t1.scanChar$1(37))
  112827. unit = "%";
  112828. else {
  112829. if (_this.lookingAtIdentifier$0())
  112830. t3 = t1.peekChar$0() !== 45 || t1.peekChar$1(1) !== 45;
  112831. else
  112832. t3 = false;
  112833. unit = t3 ? _this.identifier$1$unit(true) : null;
  112834. }
  112835. return new A.NumberExpression0(number, unit, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  112836. },
  112837. _stylesheet0$_consumeNaturalNumber$0() {
  112838. var $self,
  112839. t1 = this.scanner,
  112840. t2 = t1.readChar$0();
  112841. if (!(t2 >= 48 && t2 <= 57))
  112842. t1.error$2$position(0, "Expected digit.", t1._string_scanner$_position - 1);
  112843. while (true) {
  112844. $self = t1.peekChar$0();
  112845. if (!($self != null && $self >= 48 && $self <= 57))
  112846. break;
  112847. t1.readChar$0();
  112848. }
  112849. },
  112850. _stylesheet0$_tryDecimal$1$allowTrailingDot(allowTrailingDot) {
  112851. var $self,
  112852. t1 = this.scanner;
  112853. if (t1.peekChar$0() !== 46)
  112854. return;
  112855. $self = t1.peekChar$1(1);
  112856. if (!($self != null && $self >= 48 && $self <= 57)) {
  112857. if (allowTrailingDot)
  112858. return;
  112859. t1.error$2$position(0, "Expected digit.", t1._string_scanner$_position + 1);
  112860. }
  112861. t1.readChar$0();
  112862. while (true) {
  112863. $self = t1.peekChar$0();
  112864. if (!($self != null && $self >= 48 && $self <= 57))
  112865. break;
  112866. t1.readChar$0();
  112867. }
  112868. },
  112869. _stylesheet0$_tryExponent$0() {
  112870. var next, $self,
  112871. t1 = this.scanner,
  112872. first = t1.peekChar$0();
  112873. if (first !== 101 && first !== 69)
  112874. return;
  112875. next = t1.peekChar$1(1);
  112876. if (!(next != null && next >= 48 && next <= 57) && next !== 45 && next !== 43)
  112877. return;
  112878. t1.readChar$0();
  112879. if (43 === next || 45 === next)
  112880. t1.readChar$0();
  112881. $self = t1.peekChar$0();
  112882. if (!($self != null && $self >= 48 && $self <= 57))
  112883. t1.error$1(0, "Expected digit.");
  112884. while (true) {
  112885. $self = t1.peekChar$0();
  112886. if (!($self != null && $self >= 48 && $self <= 57))
  112887. break;
  112888. t1.readChar$0();
  112889. }
  112890. },
  112891. _stylesheet0$_unicodeRange$0() {
  112892. var firstRangeLength, hasQuestionMark, t2, secondRangeLength, _this = this,
  112893. _s26_ = "Expected at most 6 digits.",
  112894. t1 = _this.scanner,
  112895. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  112896. _this.expectIdentChar$1(117);
  112897. t1.expectChar$1(43);
  112898. for (firstRangeLength = 0; _this.scanCharIf$1(new A.StylesheetParser__unicodeRange_closure1());)
  112899. ++firstRangeLength;
  112900. for (hasQuestionMark = false; t1.scanChar$1(63); hasQuestionMark = true)
  112901. ++firstRangeLength;
  112902. if (firstRangeLength === 0)
  112903. t1.error$1(0, 'Expected hex digit or "?".');
  112904. else if (firstRangeLength > 6)
  112905. _this.error$2(0, _s26_, t1.spanFrom$1(start));
  112906. else if (hasQuestionMark) {
  112907. t2 = t1.substring$1(0, start.position);
  112908. t1 = t1.spanFrom$1(start);
  112909. return new A.StringExpression0(A.Interpolation$0(A._setArrayType([t2], type$.JSArray_Object), t1), false);
  112910. }
  112911. if (t1.scanChar$1(45)) {
  112912. t2 = t1._string_scanner$_position;
  112913. for (secondRangeLength = 0; _this.scanCharIf$1(new A.StylesheetParser__unicodeRange_closure2());)
  112914. ++secondRangeLength;
  112915. if (secondRangeLength === 0)
  112916. t1.error$1(0, "Expected hex digit.");
  112917. else if (secondRangeLength > 6)
  112918. _this.error$2(0, _s26_, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  112919. }
  112920. if (_this._stylesheet0$_lookingAtInterpolatedIdentifierBody$0())
  112921. t1.error$1(0, "Expected end of identifier.");
  112922. t2 = t1.substring$1(0, start.position);
  112923. t1 = t1.spanFrom$1(start);
  112924. return new A.StringExpression0(A.Interpolation$0(A._setArrayType([t2], type$.JSArray_Object), t1), false);
  112925. },
  112926. _stylesheet0$_variable$0() {
  112927. var _this = this,
  112928. t1 = _this.scanner,
  112929. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  112930. $name = _this.variableName$0();
  112931. if (_this.get$plainCss())
  112932. _this.error$2(0, string$.Sass_v, t1.spanFrom$1(start));
  112933. return new A.VariableExpression0(null, $name, t1.spanFrom$1(start));
  112934. },
  112935. _stylesheet0$_selector$0() {
  112936. var t1, start, _this = this;
  112937. if (_this.get$plainCss())
  112938. _this.scanner.error$2$length(0, string$.The_pa, 1);
  112939. t1 = _this.scanner;
  112940. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  112941. t1.expectChar$1(38);
  112942. if (t1.scanChar$1(38)) {
  112943. _this.logger.warn$2$span(0, string$.In_Sas, t1.spanFrom$1(start));
  112944. t1.set$position(t1._string_scanner$_position - 1);
  112945. }
  112946. return new A.SelectorExpression0(t1.spanFrom$1(start));
  112947. },
  112948. interpolatedString$0() {
  112949. var t3, t4, buffer, _0_0, second, t5,
  112950. t1 = this.scanner,
  112951. t2 = t1._string_scanner$_position,
  112952. quote = t1.readChar$0();
  112953. if (quote !== 39 && quote !== 34)
  112954. t1.error$2$position(0, "Expected string.", t2);
  112955. t3 = new A.StringBuffer("");
  112956. t4 = A._setArrayType([], type$.JSArray_Object);
  112957. buffer = new A.InterpolationBuffer0(t3, t4);
  112958. for (; true;) {
  112959. _0_0 = t1.peekChar$0();
  112960. if (_0_0 === quote) {
  112961. t1.readChar$0();
  112962. break;
  112963. }
  112964. if (_0_0 == null || _0_0 === 10 || _0_0 === 13 || _0_0 === 12)
  112965. t1.error$1(0, "Expected " + A.Primitives_stringFromCharCode(quote) + ".");
  112966. if (92 === _0_0) {
  112967. second = t1.peekChar$1(1);
  112968. if (second === 10 || second === 13 || second === 12) {
  112969. t1.readChar$0();
  112970. t1.readChar$0();
  112971. if (second === 13)
  112972. t1.scanChar$1(10);
  112973. } else {
  112974. t5 = A.Primitives_stringFromCharCode(A.consumeEscapedCharacter0(t1));
  112975. t3._contents += t5;
  112976. }
  112977. continue;
  112978. }
  112979. if (35 === _0_0 && t1.peekChar$1(1) === 123) {
  112980. t5 = this.singleInterpolation$0();
  112981. buffer._interpolation_buffer0$_flushText$0();
  112982. t4.push(t5);
  112983. continue;
  112984. }
  112985. t5 = A.Primitives_stringFromCharCode(t1.readChar$0());
  112986. t3._contents += t5;
  112987. }
  112988. return new A.StringExpression0(buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2))), true);
  112989. },
  112990. identifierLike$0() {
  112991. var invocation, expression, _0_0, _1_0, _2_0, _2_2, _2_4, _this = this,
  112992. t1 = _this.scanner,
  112993. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  112994. identifier = _this.interpolatedIdentifier$0(),
  112995. plain = identifier.get$asPlain(),
  112996. lower = A._Cell$(),
  112997. t2 = plain != null;
  112998. if (t2) {
  112999. if (plain === "if" && t1.peekChar$0() === 40) {
  113000. invocation = _this._stylesheet0$_argumentInvocation$0();
  113001. return new A.IfExpression0(invocation, identifier.span.expand$1(0, invocation.span));
  113002. } else if (plain === "not") {
  113003. _this.whitespace$0();
  113004. expression = _this._stylesheet0$_singleExpression$0();
  113005. return new A.UnaryOperationExpression0(B.UnaryOperator_not_not_not0, expression, identifier.span.expand$1(0, expression.get$span(expression)));
  113006. }
  113007. lower.__late_helper$_value = plain.toLowerCase();
  113008. if (t1.peekChar$0() !== 40) {
  113009. switch (plain) {
  113010. case "false":
  113011. return new A.BooleanExpression0(false, identifier.span);
  113012. case "null":
  113013. return new A.NullExpression0(identifier.span);
  113014. case "true":
  113015. return new A.BooleanExpression0(true, identifier.span);
  113016. }
  113017. _0_0 = $.$get$colorsByName0().$index(0, lower._readLocal$0());
  113018. if (_0_0 != null) {
  113019. t1 = identifier.span;
  113020. return new A.ColorExpression0(A.SassColor$rgbInternal0(_0_0.get$red(0), _0_0.get$green(0), _0_0.get$blue(0), _0_0._color1$_alpha, new A.SpanColorFormat0(t1)), t1);
  113021. }
  113022. }
  113023. _1_0 = _this.trySpecialFunction$2(lower._readLocal$0(), start);
  113024. if (_1_0 != null)
  113025. return _1_0;
  113026. }
  113027. _2_0 = t1.peekChar$0();
  113028. _2_2 = 46 === _2_0;
  113029. if (_2_2 && t1.peekChar$1(1) === 46)
  113030. return new A.StringExpression0(identifier, false);
  113031. if (_2_2) {
  113032. t1.readChar$0();
  113033. if (t2)
  113034. return _this.namespacedExpression$2(plain, start);
  113035. _this.error$2(0, string$.Interpn, identifier.span);
  113036. }
  113037. _2_4 = 40 === _2_0;
  113038. if (_2_4 && t2) {
  113039. t2 = _this._stylesheet0$_argumentInvocation$1$allowEmptySecondArg(J.$eq$(lower._readLocal$0(), "var"));
  113040. t1 = t1.spanFrom$1(start);
  113041. return new A.FunctionExpression0(null, A.stringReplaceAllUnchecked(plain, "_", "-"), plain, t2, t1);
  113042. }
  113043. if (_2_4)
  113044. return new A.InterpolatedFunctionExpression0(identifier, _this._stylesheet0$_argumentInvocation$0(), t1.spanFrom$1(start));
  113045. return new A.StringExpression0(identifier, false);
  113046. },
  113047. namespacedExpression$2(namespace, start) {
  113048. var $name, t2, t3, _this = this,
  113049. t1 = _this.scanner;
  113050. if (t1.peekChar$0() === 36) {
  113051. $name = _this.variableName$0();
  113052. _this._stylesheet0$_assertPublic$2($name, new A.StylesheetParser_namespacedExpression_closure0(_this, start));
  113053. return new A.VariableExpression0(namespace, $name, t1.spanFrom$1(start));
  113054. }
  113055. t2 = _this._stylesheet0$_publicIdentifier$0();
  113056. t3 = _this._stylesheet0$_argumentInvocation$0();
  113057. t1 = t1.spanFrom$1(start);
  113058. return new A.FunctionExpression0(namespace, A.stringReplaceAllUnchecked(t2, "_", "-"), t2, t3, t1);
  113059. },
  113060. trySpecialFunction$2($name, start) {
  113061. var t1, buffer, t2, next, t3, _this = this,
  113062. normalized = A.unvendor0($name);
  113063. $label0$0: {
  113064. if (!("calc" === normalized && normalized !== $name && _this.scanner.scanChar$1(40)))
  113065. t1 = ("element" === normalized || "expression" === normalized) && _this.scanner.scanChar$1(40);
  113066. else
  113067. t1 = true;
  113068. if (t1) {
  113069. t1 = new A.StringBuffer("");
  113070. buffer = new A.InterpolationBuffer0(t1, A._setArrayType([], type$.JSArray_Object));
  113071. t1._contents = "" + $name;
  113072. t2 = A.Primitives_stringFromCharCode(40);
  113073. t1._contents += t2;
  113074. break $label0$0;
  113075. }
  113076. if ("progid" === normalized && _this.scanner.scanChar$1(58)) {
  113077. t1 = new A.StringBuffer("");
  113078. buffer = new A.InterpolationBuffer0(t1, A._setArrayType([], type$.JSArray_Object));
  113079. t1._contents = "" + $name;
  113080. t2 = A.Primitives_stringFromCharCode(58);
  113081. t1._contents += t2;
  113082. t2 = _this.scanner;
  113083. next = t2.peekChar$0();
  113084. while (true) {
  113085. if (next != null) {
  113086. if (!(next >= 97 && next <= 122))
  113087. t3 = next >= 65 && next <= 90;
  113088. else
  113089. t3 = true;
  113090. t3 = t3 || next === 46;
  113091. } else
  113092. t3 = false;
  113093. if (!t3)
  113094. break;
  113095. t3 = A.Primitives_stringFromCharCode(t2.readChar$0());
  113096. t1._contents += t3;
  113097. next = t2.peekChar$0();
  113098. }
  113099. t2.expectChar$1(40);
  113100. t2 = A.Primitives_stringFromCharCode(40);
  113101. t1._contents += t2;
  113102. break $label0$0;
  113103. }
  113104. if ("url" === normalized)
  113105. return A.NullableExtension_andThen0(_this._stylesheet0$_tryUrlContents$1(start), new A.StylesheetParser_trySpecialFunction_closure0());
  113106. return null;
  113107. }
  113108. buffer.addInterpolation$1(_this._stylesheet0$_interpolatedDeclarationValue$1$allowEmpty(true));
  113109. t1 = _this.scanner;
  113110. t1.expectChar$1(41);
  113111. t2 = buffer._interpolation_buffer0$_text;
  113112. t3 = A.Primitives_stringFromCharCode(41);
  113113. t2._contents += t3;
  113114. return new A.StringExpression0(buffer.interpolation$1(t1.spanFrom$1(start)), false);
  113115. },
  113116. _stylesheet0$_tryUrlContents$2$name(start, $name) {
  113117. var t3, t4, buffer, t5, _0_0, _0_6, endPosition, result, _this = this,
  113118. t1 = _this.scanner,
  113119. t2 = t1._string_scanner$_position;
  113120. if (!t1.scanChar$1(40))
  113121. return null;
  113122. _this.whitespaceWithoutComments$0();
  113123. t3 = new A.StringBuffer("");
  113124. t4 = A._setArrayType([], type$.JSArray_Object);
  113125. buffer = new A.InterpolationBuffer0(t3, t4);
  113126. t3._contents = "" + ($name == null ? "url" : $name);
  113127. t5 = A.Primitives_stringFromCharCode(40);
  113128. t3._contents += t5;
  113129. for (; true;) {
  113130. _0_0 = t1.peekChar$0();
  113131. if (_0_0 == null)
  113132. break;
  113133. if (92 === _0_0) {
  113134. t5 = _this.escape$0();
  113135. t3._contents += t5;
  113136. continue;
  113137. }
  113138. _0_6 = 35 === _0_0;
  113139. if (_0_6 && t1.peekChar$1(1) === 123) {
  113140. t5 = _this.singleInterpolation$0();
  113141. buffer._interpolation_buffer0$_flushText$0();
  113142. t4.push(t5);
  113143. continue;
  113144. }
  113145. if (33 !== _0_0)
  113146. if (37 !== _0_0)
  113147. if (38 !== _0_0)
  113148. if (!_0_6)
  113149. t5 = _0_0 >= 42 && _0_0 <= 126 || _0_0 >= 128;
  113150. else
  113151. t5 = true;
  113152. else
  113153. t5 = true;
  113154. else
  113155. t5 = true;
  113156. else
  113157. t5 = true;
  113158. if (t5) {
  113159. t5 = A.Primitives_stringFromCharCode(t1.readChar$0());
  113160. t3._contents += t5;
  113161. continue;
  113162. }
  113163. if (_0_0 === 32 || _0_0 === 9 || _0_0 === 10 || _0_0 === 13 || _0_0 === 12) {
  113164. _this.whitespaceWithoutComments$0();
  113165. if (t1.peekChar$0() !== 41)
  113166. break;
  113167. continue;
  113168. }
  113169. if (41 === _0_0) {
  113170. t2 = A.Primitives_stringFromCharCode(t1.readChar$0());
  113171. t3._contents += t2;
  113172. endPosition = t1._string_scanner$_position;
  113173. t2 = t1._sourceFile;
  113174. t5 = start.position;
  113175. t1 = new A._FileSpan(t2, t5, endPosition);
  113176. t1._FileSpan$3(t2, t5, endPosition);
  113177. t5 = type$.Object;
  113178. t2 = A.List_List$of(t4, true, t5);
  113179. t4 = t3._contents;
  113180. if (t4.length !== 0)
  113181. t2.push(t4.charCodeAt(0) == 0 ? t4 : t4);
  113182. result = A.List_List$from(t2, false, t5);
  113183. result.fixed$length = Array;
  113184. result.immutable$list = Array;
  113185. t3 = new A.Interpolation0(result, t1);
  113186. t3.Interpolation$20(t2, t1);
  113187. return t3;
  113188. }
  113189. break;
  113190. }
  113191. t1.set$state(new A._SpanScannerState(t1, t2));
  113192. return null;
  113193. },
  113194. _stylesheet0$_tryUrlContents$1(start) {
  113195. return this._stylesheet0$_tryUrlContents$2$name(start, null);
  113196. },
  113197. dynamicUrl$0() {
  113198. var _0_0, _this = this,
  113199. t1 = _this.scanner,
  113200. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  113201. _this.expectIdentifier$1("url");
  113202. _0_0 = _this._stylesheet0$_tryUrlContents$1(start);
  113203. if (_0_0 != null)
  113204. return new A.StringExpression0(_0_0, false);
  113205. return new A.InterpolatedFunctionExpression0(A.Interpolation$0(A._setArrayType(["url"], type$.JSArray_Object), t1.spanFrom$1(start)), _this._stylesheet0$_argumentInvocation$0(), t1.spanFrom$1(start));
  113206. },
  113207. almostAnyValue$1$omitComments(omitComments) {
  113208. var t4, t5, t6, _1_0, t7, commentStart, end, _0_0, _this = this,
  113209. t1 = _this.scanner,
  113210. t2 = t1._string_scanner$_position,
  113211. t3 = new A.StringBuffer(""),
  113212. buffer = new A.InterpolationBuffer0(t3, A._setArrayType([], type$.JSArray_Object));
  113213. for (t4 = t1.string, t5 = t4.length, t6 = !omitComments; true;)
  113214. $label0$0: {
  113215. _1_0 = t1.peekChar$0();
  113216. if (92 === _1_0) {
  113217. t7 = A.Primitives_stringFromCharCode(t1.readChar$0());
  113218. t3._contents += t7;
  113219. t7 = A.Primitives_stringFromCharCode(t1.readChar$0());
  113220. t3._contents += t7;
  113221. break $label0$0;
  113222. }
  113223. if (34 === _1_0 || 39 === _1_0) {
  113224. buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
  113225. break $label0$0;
  113226. }
  113227. if (47 === _1_0) {
  113228. commentStart = t1._string_scanner$_position;
  113229. if (_this.scanComment$0()) {
  113230. if (t6) {
  113231. end = t1._string_scanner$_position;
  113232. t3._contents += B.JSString_methods.substring$2(t4, commentStart, end);
  113233. }
  113234. } else {
  113235. t7 = A.Primitives_stringFromCharCode(t1.readChar$0());
  113236. t3._contents += t7;
  113237. }
  113238. break $label0$0;
  113239. }
  113240. if (35 === _1_0 && t1.peekChar$1(1) === 123) {
  113241. buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  113242. break $label0$0;
  113243. }
  113244. if (13 === _1_0 || 10 === _1_0 || 12 === _1_0) {
  113245. if (_this.get$indented())
  113246. break;
  113247. t7 = A.Primitives_stringFromCharCode(t1.readChar$0());
  113248. t3._contents += t7;
  113249. break $label0$0;
  113250. }
  113251. if (33 === _1_0 || 59 === _1_0 || 123 === _1_0 || 125 === _1_0)
  113252. break;
  113253. if (117 === _1_0 || 85 === _1_0) {
  113254. t7 = t1._string_scanner$_position;
  113255. if (!_this.scanIdentifier$1("url")) {
  113256. t7 = A.Primitives_stringFromCharCode(t1.readChar$0());
  113257. t3._contents += t7;
  113258. continue;
  113259. }
  113260. _0_0 = _this._stylesheet0$_tryUrlContents$1(new A._SpanScannerState(t1, t7));
  113261. if (_0_0 != null)
  113262. buffer.addInterpolation$1(_0_0);
  113263. else {
  113264. if ((t7 === 0 ? 1 / t7 < 0 : t7 < 0) || t7 > t5)
  113265. A.throwExpression(A.ArgumentError$("Invalid position " + t7, null));
  113266. t1._string_scanner$_position = t7;
  113267. t1._lastMatch = null;
  113268. t7 = A.Primitives_stringFromCharCode(t1.readChar$0());
  113269. t3._contents += t7;
  113270. }
  113271. break $label0$0;
  113272. }
  113273. if (_1_0 == null)
  113274. break;
  113275. t7 = _this.lookingAtIdentifier$0();
  113276. if (t7) {
  113277. t7 = _this.identifier$0();
  113278. t3._contents += t7;
  113279. break $label0$0;
  113280. }
  113281. t7 = A.Primitives_stringFromCharCode(t1.readChar$0());
  113282. t3._contents += t7;
  113283. }
  113284. return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  113285. },
  113286. almostAnyValue$0() {
  113287. return this.almostAnyValue$1$omitComments(false);
  113288. },
  113289. _stylesheet0$_interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(allowColon, allowEmpty, allowSemicolon) {
  113290. var t4, t5, t6, t7, wroteNewline, _1_0, t8, start, end, _1_14_isSet, _1_14, _1_18_isSet, _1_18, _1_20_isSet, _1_20, bracket, _0_0, _this = this, _null = null,
  113291. t1 = _this.scanner,
  113292. t2 = t1._string_scanner$_position,
  113293. t3 = new A.StringBuffer(""),
  113294. buffer = new A.InterpolationBuffer0(t3, A._setArrayType([], type$.JSArray_Object)),
  113295. brackets = A._setArrayType([], type$.JSArray_int);
  113296. for (t4 = t1.string, t5 = t4.length, t6 = !allowColon, t7 = !allowSemicolon, wroteNewline = false; true;)
  113297. $label0$0: {
  113298. _1_0 = t1.peekChar$0();
  113299. if (92 === _1_0) {
  113300. t8 = _this.escape$1$identifierStart(true);
  113301. t3._contents += t8;
  113302. wroteNewline = false;
  113303. break $label0$0;
  113304. }
  113305. if (34 === _1_0 || 39 === _1_0) {
  113306. buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
  113307. wroteNewline = false;
  113308. break $label0$0;
  113309. }
  113310. if (47 === _1_0 && t1.peekChar$1(1) === 42) {
  113311. t8 = _this.get$loudComment();
  113312. start = t1._string_scanner$_position;
  113313. t8.call$0();
  113314. end = t1._string_scanner$_position;
  113315. t3._contents += B.JSString_methods.substring$2(t4, start, end);
  113316. wroteNewline = false;
  113317. break $label0$0;
  113318. }
  113319. if (35 === _1_0 && t1.peekChar$1(1) === 123) {
  113320. buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  113321. wroteNewline = false;
  113322. break $label0$0;
  113323. }
  113324. _1_14_isSet = 32 !== _1_0;
  113325. if (_1_14_isSet) {
  113326. _1_14 = 9 === _1_0;
  113327. t8 = _1_14;
  113328. } else {
  113329. _1_14 = _null;
  113330. t8 = true;
  113331. }
  113332. if (t8)
  113333. if (!wroteNewline) {
  113334. t8 = t1.peekChar$1(1);
  113335. t8 = t8 === 32 || t8 === 9 || t8 === 10 || t8 === 13 || t8 === 12;
  113336. } else
  113337. t8 = false;
  113338. else
  113339. t8 = false;
  113340. if (t8) {
  113341. t1.readChar$0();
  113342. break $label0$0;
  113343. }
  113344. if (_1_14_isSet)
  113345. t8 = _1_14;
  113346. else
  113347. t8 = true;
  113348. if (t8) {
  113349. t8 = A.Primitives_stringFromCharCode(t1.readChar$0());
  113350. t3._contents += t8;
  113351. break $label0$0;
  113352. }
  113353. _1_18_isSet = 10 !== _1_0;
  113354. if (_1_18_isSet) {
  113355. _1_18 = 13 === _1_0;
  113356. _1_20_isSet = !_1_18;
  113357. if (_1_20_isSet) {
  113358. _1_20 = 12 === _1_0;
  113359. t8 = _1_20;
  113360. } else {
  113361. _1_20 = _null;
  113362. t8 = true;
  113363. }
  113364. } else {
  113365. _1_20 = _null;
  113366. _1_18 = _1_20;
  113367. _1_20_isSet = false;
  113368. t8 = true;
  113369. }
  113370. if (t8 && _this.get$indented())
  113371. break;
  113372. if (_1_18_isSet)
  113373. if (!_1_18)
  113374. t8 = _1_20_isSet ? _1_20 : 12 === _1_0;
  113375. else
  113376. t8 = true;
  113377. else
  113378. t8 = true;
  113379. if (t8) {
  113380. t8 = t1.peekChar$1(-1);
  113381. if (!(t8 === 10 || t8 === 13 || t8 === 12))
  113382. t3._contents += "\n";
  113383. t1.readChar$0();
  113384. wroteNewline = true;
  113385. break $label0$0;
  113386. }
  113387. if (40 === _1_0 || 123 === _1_0 || 91 === _1_0) {
  113388. bracket = t1.readChar$0();
  113389. t8 = A.Primitives_stringFromCharCode(bracket);
  113390. t3._contents += t8;
  113391. brackets.push(A.opposite0(bracket));
  113392. wroteNewline = false;
  113393. break $label0$0;
  113394. }
  113395. if (41 === _1_0 || 125 === _1_0 || 93 === _1_0) {
  113396. if (brackets.length === 0)
  113397. break;
  113398. bracket = brackets.pop();
  113399. t1.expectChar$1(bracket);
  113400. t8 = A.Primitives_stringFromCharCode(bracket);
  113401. t3._contents += t8;
  113402. wroteNewline = false;
  113403. break $label0$0;
  113404. }
  113405. if (59 === _1_0) {
  113406. if (t7 && brackets.length === 0)
  113407. break;
  113408. t8 = A.Primitives_stringFromCharCode(t1.readChar$0());
  113409. t3._contents += t8;
  113410. wroteNewline = false;
  113411. break $label0$0;
  113412. }
  113413. if (58 === _1_0) {
  113414. if (t6 && brackets.length === 0)
  113415. break;
  113416. t8 = A.Primitives_stringFromCharCode(t1.readChar$0());
  113417. t3._contents += t8;
  113418. wroteNewline = false;
  113419. break $label0$0;
  113420. }
  113421. if (117 === _1_0 || 85 === _1_0) {
  113422. t8 = t1._string_scanner$_position;
  113423. if (!_this.scanIdentifier$1("url")) {
  113424. t8 = A.Primitives_stringFromCharCode(t1.readChar$0());
  113425. t3._contents += t8;
  113426. wroteNewline = false;
  113427. continue;
  113428. }
  113429. _0_0 = _this._stylesheet0$_tryUrlContents$1(new A._SpanScannerState(t1, t8));
  113430. if (_0_0 != null)
  113431. buffer.addInterpolation$1(_0_0);
  113432. else {
  113433. if ((t8 === 0 ? 1 / t8 < 0 : t8 < 0) || t8 > t5)
  113434. A.throwExpression(A.ArgumentError$("Invalid position " + t8, _null));
  113435. t1._string_scanner$_position = t8;
  113436. t1._lastMatch = null;
  113437. t8 = A.Primitives_stringFromCharCode(t1.readChar$0());
  113438. t3._contents += t8;
  113439. }
  113440. wroteNewline = false;
  113441. break $label0$0;
  113442. }
  113443. if (_1_0 == null)
  113444. break;
  113445. t8 = _this.lookingAtIdentifier$0();
  113446. if (t8) {
  113447. t8 = _this.identifier$0();
  113448. t3._contents += t8;
  113449. wroteNewline = false;
  113450. break $label0$0;
  113451. }
  113452. t8 = A.Primitives_stringFromCharCode(t1.readChar$0());
  113453. t3._contents += t8;
  113454. wroteNewline = false;
  113455. }
  113456. if (brackets.length !== 0)
  113457. t1.expectChar$1(B.JSArray_methods.get$last(brackets));
  113458. if (!allowEmpty && buffer._interpolation_buffer0$_contents.length === 0 && t3._contents.length === 0)
  113459. t1.error$1(0, "Expected token.");
  113460. return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  113461. },
  113462. _stylesheet0$_interpolatedDeclarationValue$1$allowEmpty(allowEmpty) {
  113463. return this._stylesheet0$_interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(true, allowEmpty, false);
  113464. },
  113465. _stylesheet0$_interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(allowEmpty, allowSemicolon) {
  113466. return this._stylesheet0$_interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(true, allowEmpty, allowSemicolon);
  113467. },
  113468. _stylesheet0$_interpolatedDeclarationValue$0() {
  113469. return this._stylesheet0$_interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(true, false, false);
  113470. },
  113471. interpolatedIdentifier$0() {
  113472. var t4, _0_0, _this = this,
  113473. _s20_ = "Expected identifier.",
  113474. t1 = _this.scanner,
  113475. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  113476. t2 = new A.StringBuffer(""),
  113477. t3 = A._setArrayType([], type$.JSArray_Object),
  113478. buffer = new A.InterpolationBuffer0(t2, t3);
  113479. if (t1.scanChar$1(45)) {
  113480. t4 = A.Primitives_stringFromCharCode(45);
  113481. t2._contents += t4;
  113482. if (t1.scanChar$1(45)) {
  113483. t3 = A.Primitives_stringFromCharCode(45);
  113484. t2._contents += t3;
  113485. _this._stylesheet0$_interpolatedIdentifierBody$1(buffer);
  113486. return buffer.interpolation$1(t1.spanFrom$1(start));
  113487. }
  113488. }
  113489. $label0$0: {
  113490. _0_0 = t1.peekChar$0();
  113491. if (_0_0 == null)
  113492. t1.error$1(0, _s20_);
  113493. if (_0_0 === 95 || A.CharacterExtension_get_isAlphabetic0(_0_0) || _0_0 >= 128) {
  113494. t3 = A.Primitives_stringFromCharCode(t1.readChar$0());
  113495. t2._contents += t3;
  113496. break $label0$0;
  113497. }
  113498. if (92 === _0_0) {
  113499. t3 = _this.escape$1$identifierStart(true);
  113500. t2._contents += t3;
  113501. break $label0$0;
  113502. }
  113503. if (35 === _0_0 && t1.peekChar$1(1) === 123) {
  113504. t2 = _this.singleInterpolation$0();
  113505. buffer._interpolation_buffer0$_flushText$0();
  113506. t3.push(t2);
  113507. break $label0$0;
  113508. }
  113509. t1.error$1(0, _s20_);
  113510. }
  113511. _this._stylesheet0$_interpolatedIdentifierBody$1(buffer);
  113512. return buffer.interpolation$1(t1.spanFrom$1(start));
  113513. },
  113514. _stylesheet0$_interpolatedIdentifierBody$1(buffer) {
  113515. var t1, t2, t3, _0_0, t4;
  113516. for (t1 = buffer._interpolation_buffer0$_contents, t2 = this.scanner, t3 = buffer._interpolation_buffer0$_text; true;) {
  113517. _0_0 = t2.peekChar$0();
  113518. if (_0_0 == null)
  113519. break;
  113520. if (95 !== _0_0)
  113521. if (45 !== _0_0) {
  113522. if (!(_0_0 >= 97 && _0_0 <= 122))
  113523. t4 = _0_0 >= 65 && _0_0 <= 90;
  113524. else
  113525. t4 = true;
  113526. if (!t4)
  113527. t4 = _0_0 >= 48 && _0_0 <= 57;
  113528. else
  113529. t4 = true;
  113530. t4 = t4 || _0_0 >= 128;
  113531. } else
  113532. t4 = true;
  113533. else
  113534. t4 = true;
  113535. if (t4) {
  113536. t4 = A.Primitives_stringFromCharCode(t2.readChar$0());
  113537. t3._contents += t4;
  113538. continue;
  113539. }
  113540. if (92 === _0_0) {
  113541. t4 = this.escape$0();
  113542. t3._contents += t4;
  113543. continue;
  113544. }
  113545. if (35 === _0_0 && t2.peekChar$1(1) === 123) {
  113546. t4 = this.singleInterpolation$0();
  113547. buffer._interpolation_buffer0$_flushText$0();
  113548. t1.push(t4);
  113549. continue;
  113550. }
  113551. break;
  113552. }
  113553. },
  113554. singleInterpolation$0() {
  113555. var contents, _this = this,
  113556. t1 = _this.scanner,
  113557. t2 = t1._string_scanner$_position;
  113558. t1.expect$1("#{");
  113559. _this.whitespace$0();
  113560. contents = _this._stylesheet0$_expression$0();
  113561. t1.expectChar$1(125);
  113562. if (_this.get$plainCss())
  113563. _this.error$2(0, string$.Interpp, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  113564. return contents;
  113565. },
  113566. _stylesheet0$_mediaQueryList$0() {
  113567. var t4, _this = this,
  113568. t1 = _this.scanner,
  113569. t2 = t1._string_scanner$_position,
  113570. t3 = new A.StringBuffer(""),
  113571. buffer = new A.InterpolationBuffer0(t3, A._setArrayType([], type$.JSArray_Object));
  113572. for (; true;) {
  113573. _this.whitespace$0();
  113574. _this._stylesheet0$_mediaQuery$1(buffer);
  113575. _this.whitespace$0();
  113576. if (!t1.scanChar$1(44))
  113577. break;
  113578. t4 = A.Primitives_stringFromCharCode(44);
  113579. t3._contents += t4;
  113580. t4 = A.Primitives_stringFromCharCode(32);
  113581. t3._contents += t4;
  113582. }
  113583. return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  113584. },
  113585. _stylesheet0$_mediaQuery$1(buffer) {
  113586. var identifier1, t1, t2, identifier2, _this = this, _s3_ = "and";
  113587. if (_this.scanner.peekChar$0() === 40) {
  113588. _this._stylesheet0$_mediaInParens$1(buffer);
  113589. _this.whitespace$0();
  113590. if (_this.scanIdentifier$1(_s3_)) {
  113591. buffer._interpolation_buffer0$_text._contents += " and ";
  113592. _this.expectWhitespace$0();
  113593. _this._stylesheet0$_mediaLogicSequence$2(buffer, _s3_);
  113594. } else if (_this.scanIdentifier$1("or")) {
  113595. buffer._interpolation_buffer0$_text._contents += " or ";
  113596. _this.expectWhitespace$0();
  113597. _this._stylesheet0$_mediaLogicSequence$2(buffer, "or");
  113598. }
  113599. return;
  113600. }
  113601. identifier1 = _this.interpolatedIdentifier$0();
  113602. if (A.equalsIgnoreCase0(identifier1.get$asPlain(), "not")) {
  113603. _this.expectWhitespace$0();
  113604. if (!_this._stylesheet0$_lookingAtInterpolatedIdentifier$0()) {
  113605. buffer._interpolation_buffer0$_text._contents += "not ";
  113606. _this._stylesheet0$_mediaOrInterp$1(buffer);
  113607. return;
  113608. }
  113609. }
  113610. _this.whitespace$0();
  113611. buffer.addInterpolation$1(identifier1);
  113612. if (!_this._stylesheet0$_lookingAtInterpolatedIdentifier$0())
  113613. return;
  113614. t1 = buffer._interpolation_buffer0$_text;
  113615. t2 = A.Primitives_stringFromCharCode(32);
  113616. t1._contents += t2;
  113617. identifier2 = _this.interpolatedIdentifier$0();
  113618. if (A.equalsIgnoreCase0(identifier2.get$asPlain(), _s3_)) {
  113619. _this.expectWhitespace$0();
  113620. t1._contents += " and ";
  113621. } else {
  113622. _this.whitespace$0();
  113623. buffer.addInterpolation$1(identifier2);
  113624. if (_this.scanIdentifier$1(_s3_)) {
  113625. _this.expectWhitespace$0();
  113626. t1._contents += " and ";
  113627. } else
  113628. return;
  113629. }
  113630. if (_this.scanIdentifier$1("not")) {
  113631. _this.expectWhitespace$0();
  113632. t1._contents += "not ";
  113633. _this._stylesheet0$_mediaOrInterp$1(buffer);
  113634. return;
  113635. }
  113636. _this._stylesheet0$_mediaLogicSequence$2(buffer, _s3_);
  113637. return;
  113638. },
  113639. _stylesheet0$_mediaLogicSequence$2(buffer, operator) {
  113640. var t1, t2, _this = this;
  113641. for (t1 = buffer._interpolation_buffer0$_text; true;) {
  113642. _this._stylesheet0$_mediaOrInterp$1(buffer);
  113643. _this.whitespace$0();
  113644. if (!_this.scanIdentifier$1(operator))
  113645. return;
  113646. _this.expectWhitespace$0();
  113647. t2 = A.Primitives_stringFromCharCode(32);
  113648. t2 = t1._contents += t2;
  113649. t1._contents = t2 + operator;
  113650. t2 = A.Primitives_stringFromCharCode(32);
  113651. t1._contents += t2;
  113652. }
  113653. },
  113654. _stylesheet0$_mediaOrInterp$1(buffer) {
  113655. var interpolation;
  113656. if (this.scanner.peekChar$0() === 35) {
  113657. interpolation = this.singleInterpolation$0();
  113658. buffer.addInterpolation$1(A.Interpolation$0(A._setArrayType([interpolation], type$.JSArray_Object), interpolation.get$span(interpolation)));
  113659. } else
  113660. this._stylesheet0$_mediaInParens$1(buffer);
  113661. },
  113662. _stylesheet0$_mediaInParens$1(buffer) {
  113663. var t2, t3, t4, next, t5, _this = this,
  113664. t1 = _this.scanner;
  113665. t1.expectChar$2$name(40, "media condition in parentheses");
  113666. t2 = buffer._interpolation_buffer0$_text;
  113667. t3 = A.Primitives_stringFromCharCode(40);
  113668. t2._contents += t3;
  113669. _this.whitespace$0();
  113670. if (t1.peekChar$0() === 40) {
  113671. _this._stylesheet0$_mediaInParens$1(buffer);
  113672. _this.whitespace$0();
  113673. if (_this.scanIdentifier$1("and")) {
  113674. t2._contents += " and ";
  113675. _this.expectWhitespace$0();
  113676. _this._stylesheet0$_mediaLogicSequence$2(buffer, "and");
  113677. } else if (_this.scanIdentifier$1("or")) {
  113678. t2._contents += " or ";
  113679. _this.expectWhitespace$0();
  113680. _this._stylesheet0$_mediaLogicSequence$2(buffer, "or");
  113681. }
  113682. } else if (_this.scanIdentifier$1("not")) {
  113683. t2._contents += "not ";
  113684. _this.expectWhitespace$0();
  113685. _this._stylesheet0$_mediaOrInterp$1(buffer);
  113686. } else {
  113687. t3 = _this._stylesheet0$_expressionUntilComparison$0();
  113688. buffer._interpolation_buffer0$_flushText$0();
  113689. t4 = buffer._interpolation_buffer0$_contents;
  113690. t4.push(t3);
  113691. if (t1.scanChar$1(58)) {
  113692. _this.whitespace$0();
  113693. t3 = A.Primitives_stringFromCharCode(58);
  113694. t2._contents += t3;
  113695. t3 = A.Primitives_stringFromCharCode(32);
  113696. t2._contents += t3;
  113697. t3 = _this._stylesheet0$_expression$0();
  113698. buffer._interpolation_buffer0$_flushText$0();
  113699. t4.push(t3);
  113700. } else {
  113701. next = t1.peekChar$0();
  113702. t3 = 60 !== next;
  113703. if (!t3 || 62 === next || 61 === next) {
  113704. t5 = A.Primitives_stringFromCharCode(32);
  113705. t2._contents += t5;
  113706. t5 = A.Primitives_stringFromCharCode(t1.readChar$0());
  113707. t2._contents += t5;
  113708. if ((!t3 || 62 === next) && t1.scanChar$1(61)) {
  113709. t5 = A.Primitives_stringFromCharCode(61);
  113710. t2._contents += t5;
  113711. }
  113712. t5 = A.Primitives_stringFromCharCode(32);
  113713. t2._contents += t5;
  113714. _this.whitespace$0();
  113715. t5 = _this._stylesheet0$_expressionUntilComparison$0();
  113716. buffer._interpolation_buffer0$_flushText$0();
  113717. t4.push(t5);
  113718. if (!t3 || 62 === next) {
  113719. next.toString;
  113720. t3 = t1.scanChar$1(next);
  113721. } else
  113722. t3 = false;
  113723. if (t3) {
  113724. t3 = A.Primitives_stringFromCharCode(32);
  113725. t2._contents += t3;
  113726. t3 = A.Primitives_stringFromCharCode(next);
  113727. t2._contents += t3;
  113728. if (t1.scanChar$1(61)) {
  113729. t3 = A.Primitives_stringFromCharCode(61);
  113730. t2._contents += t3;
  113731. }
  113732. t3 = A.Primitives_stringFromCharCode(32);
  113733. t2._contents += t3;
  113734. _this.whitespace$0();
  113735. t3 = _this._stylesheet0$_expressionUntilComparison$0();
  113736. buffer._interpolation_buffer0$_flushText$0();
  113737. t4.push(t3);
  113738. }
  113739. }
  113740. }
  113741. }
  113742. t1.expectChar$1(41);
  113743. _this.whitespace$0();
  113744. t1 = A.Primitives_stringFromCharCode(41);
  113745. t2._contents += t1;
  113746. },
  113747. _stylesheet0$_expressionUntilComparison$0() {
  113748. return this._stylesheet0$_expression$1$until(new A.StylesheetParser__expressionUntilComparison_closure0(this));
  113749. },
  113750. _stylesheet0$_supportsCondition$0() {
  113751. var condition, operator, right, endPosition, t3, t4, lowerOperator, _this = this,
  113752. t1 = _this.scanner,
  113753. t2 = t1._string_scanner$_position;
  113754. if (_this.scanIdentifier$1("not")) {
  113755. _this.whitespace$0();
  113756. return new A.SupportsNegation0(_this._stylesheet0$_supportsConditionInParens$0(), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  113757. }
  113758. condition = _this._stylesheet0$_supportsConditionInParens$0();
  113759. _this.whitespace$0();
  113760. for (operator = null; _this.lookingAtIdentifier$0();) {
  113761. if (operator != null)
  113762. _this.expectIdentifier$1(operator);
  113763. else if (_this.scanIdentifier$1("or"))
  113764. operator = "or";
  113765. else {
  113766. _this.expectIdentifier$1("and");
  113767. operator = "and";
  113768. }
  113769. _this.whitespace$0();
  113770. right = _this._stylesheet0$_supportsConditionInParens$0();
  113771. endPosition = t1._string_scanner$_position;
  113772. t3 = t1._sourceFile;
  113773. t4 = new A._FileSpan(t3, t2, endPosition);
  113774. t4._FileSpan$3(t3, t2, endPosition);
  113775. condition = new A.SupportsOperation0(condition, right, operator, t4);
  113776. lowerOperator = operator.toLowerCase();
  113777. if (lowerOperator !== "and" && lowerOperator !== "or")
  113778. A.throwExpression(A.ArgumentError$value(operator, "operator", 'may only be "and" or "or".'));
  113779. _this.whitespace$0();
  113780. }
  113781. return condition;
  113782. },
  113783. _stylesheet0$_supportsConditionInParens$0() {
  113784. var $name, nameStart, wasInParentheses, identifier, _1_0, operation, contents, identifier0, t2, $arguments, _0_0, _0_4_isSet, _0_4, condition, exception, declaration, _this = this, _null = null,
  113785. t1 = _this.scanner,
  113786. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  113787. if (_this._stylesheet0$_lookingAtInterpolatedIdentifier$0()) {
  113788. identifier0 = _this.interpolatedIdentifier$0();
  113789. t2 = identifier0.get$asPlain();
  113790. if ((t2 == null ? _null : t2.toLowerCase()) === "not")
  113791. _this.error$2(0, '"not" is not a valid identifier here.', identifier0.span);
  113792. if (t1.scanChar$1(40)) {
  113793. $arguments = _this._stylesheet0$_interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(true, true);
  113794. t1.expectChar$1(41);
  113795. return new A.SupportsFunction0(identifier0, $arguments, t1.spanFrom$1(start));
  113796. } else {
  113797. _0_0 = identifier0.contents;
  113798. _0_4_isSet = _0_0.length === 1;
  113799. if (_0_4_isSet) {
  113800. _0_4 = _0_0[0];
  113801. t2 = _0_4;
  113802. t2 = type$.Expression_2._is(t2);
  113803. } else {
  113804. _0_4 = _null;
  113805. t2 = false;
  113806. }
  113807. if (t2) {
  113808. t2 = _0_4_isSet ? _0_4 : _0_0[0];
  113809. return new A.SupportsInterpolation0(type$.Expression_2._as(t2), t1.spanFrom$1(start));
  113810. } else
  113811. _this.error$2(0, "Expected @supports condition.", identifier0.span);
  113812. }
  113813. }
  113814. t1.expectChar$1(40);
  113815. _this.whitespace$0();
  113816. if (_this.scanIdentifier$1("not")) {
  113817. _this.whitespace$0();
  113818. condition = _this._stylesheet0$_supportsConditionInParens$0();
  113819. t1.expectChar$1(41);
  113820. return new A.SupportsNegation0(condition, t1.spanFrom$1(start));
  113821. } else if (t1.peekChar$0() === 40) {
  113822. condition = _this._stylesheet0$_supportsCondition$0();
  113823. t1.expectChar$1(41);
  113824. return condition;
  113825. }
  113826. $name = null;
  113827. nameStart = new A._SpanScannerState(t1, t1._string_scanner$_position);
  113828. wasInParentheses = _this._stylesheet0$_inParentheses;
  113829. try {
  113830. $name = _this._stylesheet0$_expression$0();
  113831. t1.expectChar$1(58);
  113832. } catch (exception) {
  113833. if (type$.FormatException._is(A.unwrapException(exception))) {
  113834. t1.set$state(nameStart);
  113835. _this._stylesheet0$_inParentheses = wasInParentheses;
  113836. identifier = _this.interpolatedIdentifier$0();
  113837. _1_0 = _this._stylesheet0$_trySupportsOperation$2(identifier, nameStart);
  113838. operation = null;
  113839. if (_1_0 != null) {
  113840. operation = _1_0;
  113841. t1.expectChar$1(41);
  113842. return operation;
  113843. }
  113844. t2 = new A.InterpolationBuffer0(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object));
  113845. t2.addInterpolation$1(identifier);
  113846. t2.addInterpolation$1(_this._stylesheet0$_interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(false, true, true));
  113847. contents = t2.interpolation$1(t1.spanFrom$1(nameStart));
  113848. if (t1.peekChar$0() === 58)
  113849. throw exception;
  113850. t1.expectChar$1(41);
  113851. return new A.SupportsAnything0(contents, t1.spanFrom$1(start));
  113852. } else
  113853. throw exception;
  113854. }
  113855. declaration = _this._stylesheet0$_supportsDeclarationValue$2($name, start);
  113856. t1.expectChar$1(41);
  113857. return declaration;
  113858. },
  113859. _stylesheet0$_supportsDeclarationValue$2($name, start) {
  113860. var t1, value, _this = this;
  113861. if ($name instanceof A.StringExpression0)
  113862. if (!$name.hasQuotes)
  113863. t1 = B.JSString_methods.startsWith$1($name.text.get$initialPlain(), "--");
  113864. else
  113865. t1 = false;
  113866. else
  113867. t1 = false;
  113868. if (t1)
  113869. value = new A.StringExpression0(_this._stylesheet0$_interpolatedDeclarationValue$0(), false);
  113870. else {
  113871. _this.whitespace$0();
  113872. value = _this._stylesheet0$_expression$0();
  113873. }
  113874. return new A.SupportsDeclaration0($name, value, _this.scanner.spanFrom$1(start));
  113875. },
  113876. _stylesheet0$_trySupportsOperation$2(interpolation, start) {
  113877. var expression, beforeWhitespace, t2, t3, operator, operation, right, t4, endPosition, t5, t6, lowerOperator, _this = this, _null = null,
  113878. t1 = interpolation.contents;
  113879. if (t1.length !== 1)
  113880. return _null;
  113881. expression = B.JSArray_methods.get$first(t1);
  113882. if (!type$.Expression_2._is(expression))
  113883. return _null;
  113884. t1 = _this.scanner;
  113885. beforeWhitespace = new A._SpanScannerState(t1, t1._string_scanner$_position);
  113886. _this.whitespace$0();
  113887. for (t2 = start.position, t3 = interpolation.span, operator = _null, operation = operator; _this.lookingAtIdentifier$0();) {
  113888. if (operator != null)
  113889. _this.expectIdentifier$1(operator);
  113890. else if (_this.scanIdentifier$1("and"))
  113891. operator = "and";
  113892. else {
  113893. if (!_this.scanIdentifier$1("or")) {
  113894. if (beforeWhitespace._scanner !== t1)
  113895. A.throwExpression(A.ArgumentError$(string$.The_gi, _null));
  113896. t2 = beforeWhitespace.position;
  113897. if ((t2 === 0 ? 1 / t2 < 0 : t2 < 0) || t2 > t1.string.length)
  113898. A.throwExpression(A.ArgumentError$("Invalid position " + t2, _null));
  113899. t1._string_scanner$_position = t2;
  113900. return t1._lastMatch = null;
  113901. }
  113902. operator = "or";
  113903. }
  113904. _this.whitespace$0();
  113905. right = _this._stylesheet0$_supportsConditionInParens$0();
  113906. t4 = operation == null ? new A.SupportsInterpolation0(expression, t3) : operation;
  113907. endPosition = t1._string_scanner$_position;
  113908. t5 = t1._sourceFile;
  113909. t6 = new A._FileSpan(t5, t2, endPosition);
  113910. t6._FileSpan$3(t5, t2, endPosition);
  113911. operation = new A.SupportsOperation0(t4, right, operator, t6);
  113912. lowerOperator = operator.toLowerCase();
  113913. if (lowerOperator !== "and" && lowerOperator !== "or")
  113914. A.throwExpression(A.ArgumentError$value(operator, "operator", 'may only be "and" or "or".'));
  113915. _this.whitespace$0();
  113916. }
  113917. return operation;
  113918. },
  113919. _stylesheet0$_lookingAtInterpolatedIdentifier$0() {
  113920. var _0_0,
  113921. t1 = this.scanner,
  113922. _1_0 = t1.peekChar$0();
  113923. $label0$0: {
  113924. if (_1_0 == null) {
  113925. t1 = false;
  113926. break $label0$0;
  113927. }
  113928. if (_1_0 === 95 || A.CharacterExtension_get_isAlphabetic0(_1_0) || _1_0 >= 128 || 92 === _1_0) {
  113929. t1 = true;
  113930. break $label0$0;
  113931. }
  113932. if (35 === _1_0) {
  113933. t1 = t1.peekChar$1(1) === 123;
  113934. break $label0$0;
  113935. }
  113936. if (45 === _1_0) {
  113937. _0_0 = t1.peekChar$1(1);
  113938. $label1$1: {
  113939. if (_0_0 == null) {
  113940. t1 = false;
  113941. break $label1$1;
  113942. }
  113943. if (35 === _0_0) {
  113944. t1 = t1.peekChar$1(2) === 123;
  113945. break $label1$1;
  113946. }
  113947. if (_0_0 === 95 || A.CharacterExtension_get_isAlphabetic0(_0_0) || _0_0 >= 128 || 92 === _0_0 || 45 === _0_0) {
  113948. t1 = true;
  113949. break $label1$1;
  113950. }
  113951. t1 = false;
  113952. break $label1$1;
  113953. }
  113954. break $label0$0;
  113955. }
  113956. t1 = false;
  113957. break $label0$0;
  113958. }
  113959. return t1;
  113960. },
  113961. _stylesheet0$_lookingAtPotentialPropertyHack$0() {
  113962. var t1 = this.scanner,
  113963. _0_0 = t1.peekChar$0();
  113964. $label0$0: {
  113965. if (58 === _0_0 || 42 === _0_0 || 46 === _0_0) {
  113966. t1 = true;
  113967. break $label0$0;
  113968. }
  113969. if (35 === _0_0) {
  113970. t1 = t1.peekChar$1(1) !== 123;
  113971. break $label0$0;
  113972. }
  113973. t1 = false;
  113974. break $label0$0;
  113975. }
  113976. return t1;
  113977. },
  113978. _stylesheet0$_lookingAtInterpolatedIdentifierBody$0() {
  113979. var t2,
  113980. t1 = this.scanner,
  113981. _0_0 = t1.peekChar$0();
  113982. $label0$0: {
  113983. if (_0_0 == null) {
  113984. t1 = false;
  113985. break $label0$0;
  113986. }
  113987. if (!(_0_0 === 95 || A.CharacterExtension_get_isAlphabetic0(_0_0) || _0_0 >= 128))
  113988. t2 = _0_0 >= 48 && _0_0 <= 57 || _0_0 === 45;
  113989. else
  113990. t2 = true;
  113991. if (t2 || 92 === _0_0) {
  113992. t1 = true;
  113993. break $label0$0;
  113994. }
  113995. if (35 === _0_0) {
  113996. t1 = t1.peekChar$1(1) === 123;
  113997. break $label0$0;
  113998. }
  113999. t1 = false;
  114000. break $label0$0;
  114001. }
  114002. return t1;
  114003. },
  114004. _stylesheet0$_lookingAtExpression$0() {
  114005. var _0_0,
  114006. t1 = this.scanner,
  114007. _1_0 = t1.peekChar$0();
  114008. $label0$0: {
  114009. if (_1_0 == null) {
  114010. t1 = false;
  114011. break $label0$0;
  114012. }
  114013. if (46 === _1_0) {
  114014. t1 = t1.peekChar$1(1) !== 46;
  114015. break $label0$0;
  114016. }
  114017. if (33 === _1_0) {
  114018. _0_0 = t1.peekChar$1(1);
  114019. $label1$1: {
  114020. if (_0_0 != null)
  114021. if (105 !== _0_0)
  114022. if (73 !== _0_0)
  114023. t1 = _0_0 === 32 || _0_0 === 9 || _0_0 === 10 || _0_0 === 13 || _0_0 === 12;
  114024. else
  114025. t1 = true;
  114026. else
  114027. t1 = true;
  114028. else
  114029. t1 = true;
  114030. if (t1)
  114031. break $label1$1;
  114032. break $label1$1;
  114033. }
  114034. break $label0$0;
  114035. }
  114036. if (40 !== _1_0)
  114037. if (47 !== _1_0)
  114038. if (91 !== _1_0)
  114039. if (39 !== _1_0)
  114040. if (34 !== _1_0)
  114041. if (35 !== _1_0)
  114042. if (43 !== _1_0)
  114043. if (45 !== _1_0)
  114044. if (92 !== _1_0)
  114045. if (36 !== _1_0)
  114046. if (38 !== _1_0)
  114047. if (!(_1_0 === 95 || A.CharacterExtension_get_isAlphabetic0(_1_0) || _1_0 >= 128))
  114048. t1 = _1_0 >= 48 && _1_0 <= 57;
  114049. else
  114050. t1 = true;
  114051. else
  114052. t1 = true;
  114053. else
  114054. t1 = true;
  114055. else
  114056. t1 = true;
  114057. else
  114058. t1 = true;
  114059. else
  114060. t1 = true;
  114061. else
  114062. t1 = true;
  114063. else
  114064. t1 = true;
  114065. else
  114066. t1 = true;
  114067. else
  114068. t1 = true;
  114069. else
  114070. t1 = true;
  114071. else
  114072. t1 = true;
  114073. if (t1) {
  114074. t1 = true;
  114075. break $label0$0;
  114076. }
  114077. t1 = false;
  114078. break $label0$0;
  114079. }
  114080. return t1;
  114081. },
  114082. _stylesheet0$_withChildren$1$3(child, start, create) {
  114083. var result = create.call$2(this.children$1(0, child), this.scanner.spanFrom$1(start));
  114084. this.whitespaceWithoutComments$0();
  114085. return result;
  114086. },
  114087. _stylesheet0$_withChildren$3(child, start, create) {
  114088. return this._stylesheet0$_withChildren$1$3(child, start, create, type$.dynamic);
  114089. },
  114090. _stylesheet0$_urlString$0() {
  114091. var innerError, stackTrace, t2, exception,
  114092. t1 = this.scanner,
  114093. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  114094. url = this.string$0();
  114095. try {
  114096. t2 = A.Uri_parse(url);
  114097. return t2;
  114098. } catch (exception) {
  114099. t2 = A.unwrapException(exception);
  114100. if (type$.FormatException._is(t2)) {
  114101. innerError = t2;
  114102. stackTrace = A.getTraceFromException(exception);
  114103. this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), t1.spanFrom$1(start), stackTrace);
  114104. } else
  114105. throw exception;
  114106. }
  114107. },
  114108. _stylesheet0$_publicIdentifier$0() {
  114109. var _this = this,
  114110. t1 = _this.scanner,
  114111. t2 = t1._string_scanner$_position,
  114112. result = _this.identifier$0();
  114113. _this._stylesheet0$_assertPublic$2(result, new A.StylesheetParser__publicIdentifier_closure0(_this, new A._SpanScannerState(t1, t2)));
  114114. return result;
  114115. },
  114116. _stylesheet0$_assertPublic$2(identifier, span) {
  114117. var first = identifier.charCodeAt(0);
  114118. if (!(first === 45 || first === 95))
  114119. return;
  114120. this.error$2(0, string$.Privat, span.call$0());
  114121. },
  114122. get$plainCss() {
  114123. return false;
  114124. }
  114125. };
  114126. A.StylesheetParser_parse_closure0.prototype = {
  114127. call$0() {
  114128. var statements, t4,
  114129. t1 = this.$this,
  114130. t2 = t1.scanner,
  114131. t3 = t2._string_scanner$_position;
  114132. t2.scanChar$1(65279);
  114133. statements = t1.statements$1(new A.StylesheetParser_parse__closure1(t1));
  114134. t2.expectDone$0();
  114135. t4 = t1._stylesheet0$_globalVariables.get$values(0);
  114136. B.JSArray_methods.addAll$1(statements, A.MappedIterable_MappedIterable(t4, new A.StylesheetParser_parse__closure2(), A._instanceType(t4)._eval$1("Iterable.E"), type$.Statement_2));
  114137. return A.Stylesheet$internal0(statements, t2.spanFrom$1(new A._SpanScannerState(t2, t3)), t1.get$plainCss());
  114138. },
  114139. $signature: 554
  114140. };
  114141. A.StylesheetParser_parse__closure1.prototype = {
  114142. call$0() {
  114143. var t1 = this.$this;
  114144. if (t1.scanner.scan$1("@charset")) {
  114145. t1.whitespace$0();
  114146. t1.string$0();
  114147. return null;
  114148. }
  114149. return t1._stylesheet0$_statement$1$root(true);
  114150. },
  114151. $signature: 555
  114152. };
  114153. A.StylesheetParser_parse__closure2.prototype = {
  114154. call$1(declaration) {
  114155. var t1 = declaration.expression;
  114156. return A.VariableDeclaration$0(declaration.name, new A.NullExpression0(t1.get$span(t1)), declaration.span, null, false, true, null);
  114157. },
  114158. $signature: 556
  114159. };
  114160. A.StylesheetParser_parseArgumentDeclaration_closure0.prototype = {
  114161. call$0() {
  114162. var $arguments,
  114163. t1 = this.$this,
  114164. t2 = t1.scanner;
  114165. t2.expectChar$2$name(64, "@-rule");
  114166. t1.identifier$0();
  114167. t1.whitespace$0();
  114168. t1.identifier$0();
  114169. $arguments = t1._stylesheet0$_argumentDeclaration$0();
  114170. t1.whitespace$0();
  114171. t2.expectChar$1(123);
  114172. return $arguments;
  114173. },
  114174. $signature: 557
  114175. };
  114176. A.StylesheetParser__parseSingleProduction_closure0.prototype = {
  114177. call$0() {
  114178. var result = this.production.call$0();
  114179. this.$this.scanner.expectDone$0();
  114180. return result;
  114181. },
  114182. $signature() {
  114183. return this.T._eval$1("0()");
  114184. }
  114185. };
  114186. A.StylesheetParser_parseSignature_closure.prototype = {
  114187. call$0() {
  114188. var $arguments, t2, t3,
  114189. t1 = this.$this,
  114190. $name = t1.identifier$0();
  114191. if (this.requireParens || t1.scanner.peekChar$0() === 40)
  114192. $arguments = t1._stylesheet0$_argumentDeclaration$0();
  114193. else {
  114194. t2 = t1.scanner;
  114195. t2 = A.FileLocation$_(t2._sourceFile, t2._string_scanner$_position);
  114196. t3 = t2.offset;
  114197. $arguments = new A.ArgumentDeclaration0(B.List_empty22, null, A._FileSpan$(t2.file, t3, t3));
  114198. }
  114199. t1.scanner.expectDone$0();
  114200. return new A._Record_2($name, $arguments);
  114201. },
  114202. $signature: 558
  114203. };
  114204. A.StylesheetParser__statement_closure0.prototype = {
  114205. call$0() {
  114206. return this.$this._stylesheet0$_statement$0();
  114207. },
  114208. $signature: 132
  114209. };
  114210. A.StylesheetParser_variableDeclarationWithoutNamespace_closure1.prototype = {
  114211. call$0() {
  114212. return this.$this.scanner.spanFrom$1(this.start);
  114213. },
  114214. $signature: 26
  114215. };
  114216. A.StylesheetParser_variableDeclarationWithoutNamespace_closure2.prototype = {
  114217. call$0() {
  114218. return this.declaration;
  114219. },
  114220. $signature: 559
  114221. };
  114222. A.StylesheetParser__styleRule_closure0.prototype = {
  114223. call$2(children, span) {
  114224. var _this = this,
  114225. t1 = _this.$this;
  114226. if (t1.get$indented() && children.length === 0)
  114227. t1.logger.warn$2$span(0, string$.This_s, _this._box_0.interpolation.span);
  114228. t1._stylesheet0$_inStyleRule = _this.wasInStyleRule;
  114229. return A.StyleRule$0(_this._box_0.interpolation, children, t1.scanner.spanFrom$1(_this.start));
  114230. },
  114231. $signature: 560
  114232. };
  114233. A.StylesheetParser__tryDeclarationChildren_closure0.prototype = {
  114234. call$2(children, span) {
  114235. return A.Declaration$nested0(this.name, children, span, this.value);
  114236. },
  114237. $signature: 561
  114238. };
  114239. A.StylesheetParser__atRootRule_closure1.prototype = {
  114240. call$2(children, span) {
  114241. return A.AtRootRule$0(children, span, this.query);
  114242. },
  114243. $signature: 208
  114244. };
  114245. A.StylesheetParser__atRootRule_closure2.prototype = {
  114246. call$2(children, span) {
  114247. return A.AtRootRule$0(children, span, null);
  114248. },
  114249. $signature: 208
  114250. };
  114251. A.StylesheetParser__eachRule_closure0.prototype = {
  114252. call$2(children, span) {
  114253. var _this = this;
  114254. _this.$this._stylesheet0$_inControlDirective = _this.wasInControlDirective;
  114255. return A.EachRule$0(_this.variables, _this.list, children, span);
  114256. },
  114257. $signature: 563
  114258. };
  114259. A.StylesheetParser__functionRule_closure0.prototype = {
  114260. call$2(children, span) {
  114261. return A.FunctionRule$0(this.name, this.$arguments, children, span, this.precedingComment);
  114262. },
  114263. $signature: 564
  114264. };
  114265. A.StylesheetParser__forRule_closure1.prototype = {
  114266. call$0() {
  114267. var t1 = this.$this;
  114268. if (!t1.lookingAtIdentifier$0())
  114269. return false;
  114270. if (t1.scanIdentifier$1("to"))
  114271. return this._box_0.exclusive = true;
  114272. else if (t1.scanIdentifier$1("through")) {
  114273. this._box_0.exclusive = false;
  114274. return true;
  114275. } else
  114276. return false;
  114277. },
  114278. $signature: 30
  114279. };
  114280. A.StylesheetParser__forRule_closure2.prototype = {
  114281. call$2(children, span) {
  114282. var t1, _this = this;
  114283. _this.$this._stylesheet0$_inControlDirective = _this.wasInControlDirective;
  114284. t1 = _this._box_0.exclusive;
  114285. t1.toString;
  114286. return A.ForRule$0(_this.variable, _this.from, _this.to, children, span, t1);
  114287. },
  114288. $signature: 565
  114289. };
  114290. A.StylesheetParser__memberList_closure0.prototype = {
  114291. call$0() {
  114292. var t1 = this.$this;
  114293. if (t1.scanner.peekChar$0() === 36)
  114294. this.variables.add$1(0, t1.variableName$0());
  114295. else
  114296. this.identifiers.add$1(0, t1.identifier$1$normalize(true));
  114297. },
  114298. $signature: 1
  114299. };
  114300. A.StylesheetParser__includeRule_closure0.prototype = {
  114301. call$2(children, span) {
  114302. return A.ContentBlock$0(this.contentArguments_, children, span);
  114303. },
  114304. $signature: 566
  114305. };
  114306. A.StylesheetParser_mediaRule_closure0.prototype = {
  114307. call$2(children, span) {
  114308. return A.MediaRule$0(this.query, children, span);
  114309. },
  114310. $signature: 567
  114311. };
  114312. A.StylesheetParser__mixinRule_closure0.prototype = {
  114313. call$2(children, span) {
  114314. var _this = this;
  114315. _this.$this._stylesheet0$_inMixin = false;
  114316. return A.MixinRule$0(_this.name, _this.$arguments, children, span, _this.precedingComment);
  114317. },
  114318. $signature: 568
  114319. };
  114320. A.StylesheetParser_mozDocumentRule_closure0.prototype = {
  114321. call$2(children, span) {
  114322. var _this = this;
  114323. if (_this._box_0.needsDeprecationWarning)
  114324. A.WarnForDeprecation_warnForDeprecation0(_this.$this.logger, B.Deprecation_Iit, string$.x40_moz_, span, null);
  114325. return A.AtRule$0(_this.name, span, children, _this.value);
  114326. },
  114327. $signature: 205
  114328. };
  114329. A.StylesheetParser_supportsRule_closure0.prototype = {
  114330. call$2(children, span) {
  114331. return A.SupportsRule$0(this.condition, children, span);
  114332. },
  114333. $signature: 570
  114334. };
  114335. A.StylesheetParser__whileRule_closure0.prototype = {
  114336. call$2(children, span) {
  114337. this.$this._stylesheet0$_inControlDirective = this.wasInControlDirective;
  114338. return A.WhileRule$0(this.condition, children, span);
  114339. },
  114340. $signature: 571
  114341. };
  114342. A.StylesheetParser_unknownAtRule_closure0.prototype = {
  114343. call$2(children, span) {
  114344. return A.AtRule$0(this.name, span, children, this._box_0.value);
  114345. },
  114346. $signature: 205
  114347. };
  114348. A.StylesheetParser__expression_resetState0.prototype = {
  114349. call$0() {
  114350. var t2,
  114351. t1 = this._box_0;
  114352. t1.operands_ = t1.operators_ = t1.spaceExpressions_ = t1.commaExpressions_ = null;
  114353. t2 = this.$this;
  114354. t2.scanner.set$state(this.start);
  114355. t1.allowSlash = true;
  114356. t1.singleExpression_ = t2._stylesheet0$_singleExpression$0();
  114357. },
  114358. $signature: 0
  114359. };
  114360. A.StylesheetParser__expression_resolveOneOperation0.prototype = {
  114361. call$0() {
  114362. var t2, t3, t4, t5, t6, t7, _this = this,
  114363. t1 = _this._box_0,
  114364. operator = t1.operators_.pop(),
  114365. left = t1.operands_.pop(),
  114366. right = t1.singleExpression_;
  114367. if (right == null) {
  114368. t2 = _this.$this.scanner;
  114369. t3 = operator.operator.length;
  114370. t2.error$3$length$position(0, "Expected expression.", t3, t2._string_scanner$_position - t3);
  114371. }
  114372. if (t1.allowSlash) {
  114373. t2 = _this.$this;
  114374. t2 = !t2._stylesheet0$_inParentheses && operator === B.BinaryOperator_U770 && t2._stylesheet0$_isSlashOperand$1(left) && t2._stylesheet0$_isSlashOperand$1(right);
  114375. } else
  114376. t2 = false;
  114377. if (t2)
  114378. t1.singleExpression_ = new A.BinaryOperationExpression0(B.BinaryOperator_U770, left, right, true);
  114379. else {
  114380. t1.singleExpression_ = new A.BinaryOperationExpression0(operator, left, right, false);
  114381. t2 = t1.allowSlash = false;
  114382. if (B.BinaryOperator_u150 === operator || B.BinaryOperator_SjO0 === operator) {
  114383. t3 = _this.$this;
  114384. t4 = t3.scanner.string;
  114385. t5 = right.get$span(right);
  114386. t5 = t5.get$start(t5);
  114387. t6 = right.get$span(right);
  114388. t7 = operator.operator;
  114389. if (B.JSString_methods.substring$2(t4, t5.offset - 1, t6.get$start(t6).offset) === t7) {
  114390. t2 = left.get$span(left);
  114391. t2 = t4.charCodeAt(t2.get$end(t2).offset);
  114392. t2 = t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12;
  114393. }
  114394. if (t2) {
  114395. t2 = left.toString$0(0);
  114396. t4 = right.toString$0(0);
  114397. t5 = left.toString$0(0);
  114398. t6 = right.toString$0(0);
  114399. t1 = t1.singleExpression_;
  114400. A.WarnForDeprecation_warnForDeprecation0(t3.logger, B.Deprecation_woc, "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), null);
  114401. }
  114402. }
  114403. }
  114404. },
  114405. $signature: 0
  114406. };
  114407. A.StylesheetParser__expression_resolveOperations0.prototype = {
  114408. call$0() {
  114409. var t1,
  114410. operators = this._box_0.operators_;
  114411. if (operators == null)
  114412. return;
  114413. for (t1 = this.resolveOneOperation; operators.length !== 0;)
  114414. t1.call$0();
  114415. },
  114416. $signature: 0
  114417. };
  114418. A.StylesheetParser__expression_addSingleExpression0.prototype = {
  114419. call$1(expression) {
  114420. var t2, spaceExpressions, _this = this,
  114421. t1 = _this._box_0;
  114422. if (t1.singleExpression_ != null) {
  114423. t2 = _this.$this;
  114424. if (t2._stylesheet0$_inParentheses) {
  114425. t2._stylesheet0$_inParentheses = false;
  114426. if (t1.allowSlash) {
  114427. _this.resetState.call$0();
  114428. return;
  114429. }
  114430. }
  114431. spaceExpressions = t1.spaceExpressions_;
  114432. if (spaceExpressions == null)
  114433. spaceExpressions = t1.spaceExpressions_ = A._setArrayType([], type$.JSArray_Expression_2);
  114434. _this.resolveOperations.call$0();
  114435. t2 = t1.singleExpression_;
  114436. t2.toString;
  114437. spaceExpressions.push(t2);
  114438. t1.allowSlash = true;
  114439. }
  114440. t1.singleExpression_ = expression;
  114441. },
  114442. $signature: 572
  114443. };
  114444. A.StylesheetParser__expression_addOperator0.prototype = {
  114445. call$1(operator) {
  114446. var t2, t3, operators, operands, t4, singleExpression,
  114447. t1 = this.$this;
  114448. if (t1.get$plainCss() && operator !== B.BinaryOperator_wdM0 && operator !== B.BinaryOperator_u150 && operator !== B.BinaryOperator_SjO0 && operator !== B.BinaryOperator_2No0 && operator !== B.BinaryOperator_U770) {
  114449. t2 = t1.scanner;
  114450. t3 = operator.operator.length;
  114451. t2.error$3$length$position(0, "Operators aren't allowed in plain CSS.", t3, t2._string_scanner$_position - t3);
  114452. }
  114453. t2 = this._box_0;
  114454. t2.allowSlash = t2.allowSlash && operator === B.BinaryOperator_U770;
  114455. operators = t2.operators_;
  114456. if (operators == null)
  114457. operators = t2.operators_ = A._setArrayType([], type$.JSArray_BinaryOperator_2);
  114458. operands = t2.operands_;
  114459. if (operands == null)
  114460. operands = t2.operands_ = A._setArrayType([], type$.JSArray_Expression_2);
  114461. t3 = this.resolveOneOperation;
  114462. t4 = operator.precedence;
  114463. while (true) {
  114464. if (!(operators.length !== 0 && B.JSArray_methods.get$last(operators).precedence >= t4))
  114465. break;
  114466. t3.call$0();
  114467. }
  114468. operators.push(operator);
  114469. singleExpression = t2.singleExpression_;
  114470. if (singleExpression == null) {
  114471. t3 = t1.scanner;
  114472. t4 = operator.operator.length;
  114473. t3.error$3$length$position(0, "Expected expression.", t4, t3._string_scanner$_position - t4);
  114474. }
  114475. operands.push(singleExpression);
  114476. t1.whitespace$0();
  114477. t2.singleExpression_ = t1._stylesheet0$_singleExpression$0();
  114478. },
  114479. $signature: 573
  114480. };
  114481. A.StylesheetParser__expression_resolveSpaceExpressions0.prototype = {
  114482. call$0() {
  114483. var t1, spaceExpressions, singleExpression, t2;
  114484. this.resolveOperations.call$0();
  114485. t1 = this._box_0;
  114486. spaceExpressions = t1.spaceExpressions_;
  114487. if (spaceExpressions == null)
  114488. return;
  114489. singleExpression = t1.singleExpression_;
  114490. if (singleExpression == null)
  114491. this.$this.scanner.error$1(0, "Expected expression.");
  114492. spaceExpressions.push(singleExpression);
  114493. t2 = B.JSArray_methods.get$first(spaceExpressions);
  114494. t2 = t2.get$span(t2).expand$1(0, singleExpression.get$span(singleExpression));
  114495. t1.singleExpression_ = new A.ListExpression0(A.List_List$unmodifiable(spaceExpressions, type$.Expression_2), B.ListSeparator_nbm0, false, t2);
  114496. t1.spaceExpressions_ = null;
  114497. },
  114498. $signature: 0
  114499. };
  114500. A.StylesheetParser_expressionUntilComma_closure0.prototype = {
  114501. call$0() {
  114502. return this.$this.scanner.peekChar$0() === 44;
  114503. },
  114504. $signature: 30
  114505. };
  114506. A.StylesheetParser__isHexColor_closure0.prototype = {
  114507. call$1(char) {
  114508. return A.CharacterExtension_get_isHex0(char);
  114509. },
  114510. $signature: 45
  114511. };
  114512. A.StylesheetParser__unicodeRange_closure1.prototype = {
  114513. call$1(char) {
  114514. return char != null && A.CharacterExtension_get_isHex0(char);
  114515. },
  114516. $signature: 28
  114517. };
  114518. A.StylesheetParser__unicodeRange_closure2.prototype = {
  114519. call$1(char) {
  114520. return char != null && A.CharacterExtension_get_isHex0(char);
  114521. },
  114522. $signature: 28
  114523. };
  114524. A.StylesheetParser_namespacedExpression_closure0.prototype = {
  114525. call$0() {
  114526. return this.$this.scanner.spanFrom$1(this.start);
  114527. },
  114528. $signature: 26
  114529. };
  114530. A.StylesheetParser_trySpecialFunction_closure0.prototype = {
  114531. call$1(contents) {
  114532. return new A.StringExpression0(contents, false);
  114533. },
  114534. $signature: 574
  114535. };
  114536. A.StylesheetParser__expressionUntilComparison_closure0.prototype = {
  114537. call$0() {
  114538. var t1 = this.$this.scanner,
  114539. _0_0 = t1.peekChar$0();
  114540. $label0$0: {
  114541. if (61 === _0_0) {
  114542. t1 = t1.peekChar$1(1) !== 61;
  114543. break $label0$0;
  114544. }
  114545. if (60 === _0_0 || 62 === _0_0) {
  114546. t1 = true;
  114547. break $label0$0;
  114548. }
  114549. t1 = false;
  114550. break $label0$0;
  114551. }
  114552. return t1;
  114553. },
  114554. $signature: 30
  114555. };
  114556. A.StylesheetParser__publicIdentifier_closure0.prototype = {
  114557. call$0() {
  114558. return this.$this.scanner.spanFrom$1(this.start);
  114559. },
  114560. $signature: 26
  114561. };
  114562. A.Stylesheet0.prototype = {
  114563. Stylesheet$internal$3$plainCss0(children, span, plainCss) {
  114564. var t1, t2, t3, t4, _i, child;
  114565. for (t1 = this.children, t2 = t1.length, t3 = this._stylesheet1$_forwards, t4 = this._stylesheet1$_uses, _i = 0; _i < t2; ++_i) {
  114566. child = t1[_i];
  114567. if (child instanceof A.UseRule0) {
  114568. t4.push(child);
  114569. continue;
  114570. }
  114571. if (child instanceof A.ForwardRule0) {
  114572. t3.push(child);
  114573. continue;
  114574. }
  114575. if (child instanceof A.SilentComment0 || child instanceof A.LoudComment0 || child instanceof A.VariableDeclaration0)
  114576. continue;
  114577. break;
  114578. }
  114579. },
  114580. accept$1$1(visitor) {
  114581. return visitor.visitStylesheet$1(this);
  114582. },
  114583. accept$1(visitor) {
  114584. return this.accept$1$1(visitor, type$.dynamic);
  114585. },
  114586. toString$0(_) {
  114587. var t1 = this.children;
  114588. return (t1 && B.JSArray_methods).join$1(t1, " ");
  114589. },
  114590. get$span(receiver) {
  114591. return this.span;
  114592. }
  114593. };
  114594. A.SupportsExpression0.prototype = {
  114595. get$span(_) {
  114596. var t1 = this.condition;
  114597. return t1.get$span(t1);
  114598. },
  114599. accept$1$1(visitor) {
  114600. return visitor.visitSupportsExpression$1(this);
  114601. },
  114602. accept$1(visitor) {
  114603. return this.accept$1$1(visitor, type$.dynamic);
  114604. },
  114605. toString$0(_) {
  114606. return this.condition.toString$0(0);
  114607. },
  114608. $isExpression0: 1,
  114609. $isAstNode0: 1
  114610. };
  114611. A.ModifiableCssSupportsRule0.prototype = {
  114612. accept$1$1(visitor) {
  114613. return visitor.visitCssSupportsRule$1(this);
  114614. },
  114615. accept$1(visitor) {
  114616. return this.accept$1$1(visitor, type$.dynamic);
  114617. },
  114618. equalsIgnoringChildren$1(other) {
  114619. var t1, t2;
  114620. if (other instanceof A.ModifiableCssSupportsRule0) {
  114621. t1 = this.condition;
  114622. t2 = other.condition;
  114623. t1 = t1.$ti._is(t2) && J.$eq$(t2.value, t1.value);
  114624. } else
  114625. t1 = false;
  114626. return t1;
  114627. },
  114628. copyWithoutChildren$0() {
  114629. return A.ModifiableCssSupportsRule$0(this.condition, this.span);
  114630. },
  114631. get$span(receiver) {
  114632. return this.span;
  114633. }
  114634. };
  114635. A.SupportsRule0.prototype = {
  114636. accept$1$1(visitor) {
  114637. return visitor.visitSupportsRule$1(this);
  114638. },
  114639. accept$1(visitor) {
  114640. return this.accept$1$1(visitor, type$.dynamic);
  114641. },
  114642. toString$0(_) {
  114643. var t1 = this.children;
  114644. return "@supports " + this.condition.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  114645. },
  114646. get$span(receiver) {
  114647. return this.span;
  114648. }
  114649. };
  114650. A.JSToDartImporter.prototype = {
  114651. canonicalize$1(_, url) {
  114652. var t1,
  114653. result = A.wrapJSExceptions(new A.JSToDartImporter_canonicalize_closure(this, url));
  114654. if (result == null)
  114655. return null;
  114656. t1 = self.URL;
  114657. if (result instanceof t1)
  114658. return A.Uri_parse(J.toString$0$(type$.JSUrl._as(result)));
  114659. t1 = self.Promise;
  114660. if (result instanceof t1)
  114661. A.jsThrow(new self.Error("The canonicalize() function can't return a Promise for synchronous compile functions."));
  114662. else
  114663. A.jsThrow(new self.Error(string$.The_ca));
  114664. },
  114665. load$1(_, url) {
  114666. var t1, contents, syntax, t2,
  114667. result = A.wrapJSExceptions(new A.JSToDartImporter_load_closure(this, url));
  114668. if (result == null)
  114669. return null;
  114670. t1 = self.Promise;
  114671. if (result instanceof t1)
  114672. A.jsThrow(new self.Error("The load() function can't return a Promise for synchronous compile functions."));
  114673. type$.JSImporterResult._as(result);
  114674. t1 = J.getInterceptor$x(result);
  114675. contents = t1.get$contents(result);
  114676. if (A._asString(new self.Function("value", "return typeof value").call$1(contents)) !== "string")
  114677. A.jsThrow(new A.ArgumentError(true, contents, "contents", "must be a string but was: " + A.jsType(contents)));
  114678. syntax = t1.get$syntax(result);
  114679. if (contents == null || syntax == null)
  114680. A.jsThrow(new self.Error(string$.The_lo));
  114681. t2 = A.parseSyntax(syntax);
  114682. return A.ImporterResult$(contents, A.NullableExtension_andThen0(t1.get$sourceMapUrl(result), A.utils1__jsToDartUrl$closure()), t2);
  114683. },
  114684. isNonCanonicalScheme$1(scheme) {
  114685. return this._sync$_nonCanonicalSchemes.contains$1(0, scheme);
  114686. }
  114687. };
  114688. A.JSToDartImporter_canonicalize_closure.prototype = {
  114689. call$0() {
  114690. return this.$this._sync$_canonicalize.call$2(this.url.toString$0(0), A.canonicalizeContext0());
  114691. },
  114692. $signature: 31
  114693. };
  114694. A.JSToDartImporter_load_closure.prototype = {
  114695. call$0() {
  114696. return this.$this._sync$_load.call$1(new self.URL(this.url.toString$0(0)));
  114697. },
  114698. $signature: 31
  114699. };
  114700. A.Syntax0.prototype = {
  114701. _enumToString$0() {
  114702. return "Syntax." + this._name;
  114703. },
  114704. toString$0(_) {
  114705. return this._syntax0$_name;
  114706. }
  114707. };
  114708. A.TypeSelector0.prototype = {
  114709. get$specificity() {
  114710. return 1;
  114711. },
  114712. accept$1$1(visitor) {
  114713. return visitor.visitTypeSelector$1(this);
  114714. },
  114715. accept$1(visitor) {
  114716. return this.accept$1$1(visitor, type$.dynamic);
  114717. },
  114718. addSuffix$1(suffix) {
  114719. var t1 = this.name;
  114720. return new A.TypeSelector0(new A.QualifiedName0(t1.name + suffix, t1.namespace), this.span);
  114721. },
  114722. unify$1(compound) {
  114723. var unified, t1,
  114724. _0_0 = B.JSArray_methods.get$first(compound);
  114725. if (_0_0 instanceof A.UniversalSelector0 || _0_0 instanceof A.TypeSelector0) {
  114726. unified = A.unifyUniversalAndElement0(this, B.JSArray_methods.get$first(compound));
  114727. if (unified == null)
  114728. return null;
  114729. t1 = A._setArrayType([unified], type$.JSArray_SimpleSelector_2);
  114730. B.JSArray_methods.addAll$1(t1, A.SubListIterable$(compound, 1, null, A._arrayInstanceType(compound)._precomputed1));
  114731. return t1;
  114732. } else {
  114733. t1 = A._setArrayType([this], type$.JSArray_SimpleSelector_2);
  114734. B.JSArray_methods.addAll$1(t1, compound);
  114735. return t1;
  114736. }
  114737. },
  114738. isSuperselector$1(other) {
  114739. var t1, t2;
  114740. if (!this.super$SimpleSelector$isSuperselector0(other))
  114741. if (other instanceof A.TypeSelector0) {
  114742. t1 = this.name;
  114743. t2 = other.name;
  114744. if (t1.name === t2.name) {
  114745. t1 = t1.namespace;
  114746. t1 = t1 === "*" || t1 == t2.namespace;
  114747. } else
  114748. t1 = false;
  114749. } else
  114750. t1 = false;
  114751. else
  114752. t1 = true;
  114753. return t1;
  114754. },
  114755. $eq(_, other) {
  114756. if (other == null)
  114757. return false;
  114758. return other instanceof A.TypeSelector0 && other.name.$eq(0, this.name);
  114759. },
  114760. get$hashCode(_) {
  114761. var t1 = this.name;
  114762. return B.JSString_methods.get$hashCode(t1.name) ^ J.get$hashCode$(t1.namespace);
  114763. }
  114764. };
  114765. A.Types.prototype = {};
  114766. A.UnaryOperationExpression0.prototype = {
  114767. accept$1$1(visitor) {
  114768. return visitor.visitUnaryOperationExpression$1(this);
  114769. },
  114770. accept$1(visitor) {
  114771. return this.accept$1$1(visitor, type$.dynamic);
  114772. },
  114773. toString$0(_) {
  114774. var operand,
  114775. t1 = this.operator,
  114776. t2 = t1.operator;
  114777. t1 = t1 === B.UnaryOperator_not_not_not0 ? t2 + A.Primitives_stringFromCharCode(32) : t2;
  114778. operand = this.operand;
  114779. $label0$0: {
  114780. if (!(operand instanceof A.BinaryOperationExpression0))
  114781. if (!(operand instanceof A.UnaryOperationExpression0))
  114782. t2 = operand instanceof A.ListExpression0 && !operand.hasBrackets && operand.contents.length >= 2;
  114783. else
  114784. t2 = true;
  114785. else
  114786. t2 = true;
  114787. if (t2)
  114788. break $label0$0;
  114789. break $label0$0;
  114790. }
  114791. if (t2)
  114792. t1 += "40";
  114793. t1 += operand.toString$0(0);
  114794. if (t2)
  114795. t1 += "41";
  114796. return t1.charCodeAt(0) == 0 ? t1 : t1;
  114797. },
  114798. $isExpression0: 1,
  114799. $isAstNode0: 1,
  114800. get$span(receiver) {
  114801. return this.span;
  114802. }
  114803. };
  114804. A.UnaryOperator0.prototype = {
  114805. _enumToString$0() {
  114806. return "UnaryOperator." + this._name;
  114807. },
  114808. toString$0(_) {
  114809. return this.name;
  114810. }
  114811. };
  114812. A.UnitlessSassNumber0.prototype = {
  114813. get$numeratorUnits(_) {
  114814. return B.List_empty;
  114815. },
  114816. get$denominatorUnits(_) {
  114817. return B.List_empty;
  114818. },
  114819. get$hasUnits() {
  114820. return false;
  114821. },
  114822. get$hasComplexUnits() {
  114823. return false;
  114824. },
  114825. withValue$1(value) {
  114826. return new A.UnitlessSassNumber0(value, null);
  114827. },
  114828. withSlash$2(numerator, denominator) {
  114829. return new A.UnitlessSassNumber0(this._number1$_value, new A._Record_2(numerator, denominator));
  114830. },
  114831. hasUnit$1(unit) {
  114832. return false;
  114833. },
  114834. hasCompatibleUnits$1(other) {
  114835. return other instanceof A.UnitlessSassNumber0;
  114836. },
  114837. hasPossiblyCompatibleUnits$1(other) {
  114838. return other instanceof A.UnitlessSassNumber0;
  114839. },
  114840. compatibleWithUnit$1(unit) {
  114841. return true;
  114842. },
  114843. coerceToMatch$3(other, $name, otherName) {
  114844. return other.withValue$1(this._number1$_value);
  114845. },
  114846. coerceToMatch$1(other) {
  114847. return this.coerceToMatch$3(other, null, null);
  114848. },
  114849. coerceValueToMatch$3(other, $name, otherName) {
  114850. return this._number1$_value;
  114851. },
  114852. coerceValueToMatch$1(other) {
  114853. return this.coerceValueToMatch$3(other, null, null);
  114854. },
  114855. convertToMatch$3(other, $name, otherName) {
  114856. return other.get$hasUnits() ? this.super$SassNumber$convertToMatch(other, $name, otherName) : this;
  114857. },
  114858. convertValueToMatch$3(other, $name, otherName) {
  114859. return other.get$hasUnits() ? this.super$SassNumber$convertValueToMatch0(other, $name, otherName) : this._number1$_value;
  114860. },
  114861. convertValueToMatch$1(other) {
  114862. return this.convertValueToMatch$3(other, null, null);
  114863. },
  114864. coerce$3(newNumerators, newDenominators, $name) {
  114865. return A.SassNumber_SassNumber$withUnits0(this._number1$_value, newDenominators, newNumerators);
  114866. },
  114867. coerce$2(newNumerators, newDenominators) {
  114868. return this.coerce$3(newNumerators, newDenominators, null);
  114869. },
  114870. coerceValue$3(newNumerators, newDenominators, $name) {
  114871. return this._number1$_value;
  114872. },
  114873. coerceValueToUnit$2(unit, $name) {
  114874. return this._number1$_value;
  114875. },
  114876. coerceValueToUnit$1(unit) {
  114877. return this.coerceValueToUnit$2(unit, null);
  114878. },
  114879. greaterThan$1(other) {
  114880. var t1, t2;
  114881. if (other instanceof A.SassNumber0) {
  114882. t1 = this._number1$_value;
  114883. t2 = other._number1$_value;
  114884. return t1 > t2 && !A.fuzzyEquals0(t1, t2) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  114885. }
  114886. return this.super$SassNumber$greaterThan0(other);
  114887. },
  114888. greaterThanOrEquals$1(other) {
  114889. var t1, t2;
  114890. if (other instanceof A.SassNumber0) {
  114891. t1 = this._number1$_value;
  114892. t2 = other._number1$_value;
  114893. return t1 > t2 || A.fuzzyEquals0(t1, t2) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  114894. }
  114895. return this.super$SassNumber$greaterThanOrEquals0(other);
  114896. },
  114897. lessThan$1(other) {
  114898. var t1, t2;
  114899. if (other instanceof A.SassNumber0) {
  114900. t1 = this._number1$_value;
  114901. t2 = other._number1$_value;
  114902. return t1 < t2 && !A.fuzzyEquals0(t1, t2) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  114903. }
  114904. return this.super$SassNumber$lessThan0(other);
  114905. },
  114906. lessThanOrEquals$1(other) {
  114907. var t1, t2;
  114908. if (other instanceof A.SassNumber0) {
  114909. t1 = this._number1$_value;
  114910. t2 = other._number1$_value;
  114911. return t1 < t2 || A.fuzzyEquals0(t1, t2) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  114912. }
  114913. return this.super$SassNumber$lessThanOrEquals0(other);
  114914. },
  114915. modulo$1(other) {
  114916. if (other instanceof A.SassNumber0)
  114917. return other.withValue$1(A.moduloLikeSass0(this._number1$_value, other._number1$_value));
  114918. return this.super$SassNumber$modulo0(other);
  114919. },
  114920. plus$1(other) {
  114921. if (other instanceof A.SassNumber0)
  114922. return other.withValue$1(this._number1$_value + other._number1$_value);
  114923. return this.super$SassNumber$plus0(other);
  114924. },
  114925. minus$1(other) {
  114926. if (other instanceof A.SassNumber0)
  114927. return other.withValue$1(this._number1$_value - other._number1$_value);
  114928. return this.super$SassNumber$minus0(other);
  114929. },
  114930. times$1(other) {
  114931. if (other instanceof A.SassNumber0)
  114932. return other.withValue$1(this._number1$_value * other._number1$_value);
  114933. return this.super$SassNumber$times0(other);
  114934. },
  114935. dividedBy$1(other) {
  114936. var t1, t2;
  114937. if (other instanceof A.SassNumber0) {
  114938. t1 = this._number1$_value / other._number1$_value;
  114939. if (other.get$hasUnits()) {
  114940. t2 = other.get$denominatorUnits(other);
  114941. t2 = A.SassNumber_SassNumber$withUnits0(t1, other.get$numeratorUnits(other), t2);
  114942. t1 = t2;
  114943. } else
  114944. t1 = new A.UnitlessSassNumber0(t1, null);
  114945. return t1;
  114946. }
  114947. return this.super$SassNumber$dividedBy0(other);
  114948. },
  114949. unaryMinus$0() {
  114950. return new A.UnitlessSassNumber0(-this._number1$_value, null);
  114951. },
  114952. $eq(_, other) {
  114953. if (other == null)
  114954. return false;
  114955. return other instanceof A.UnitlessSassNumber0 && A.fuzzyEquals0(this._number1$_value, other._number1$_value);
  114956. },
  114957. get$hashCode(_) {
  114958. var t1 = this.hashCache;
  114959. return t1 == null ? this.hashCache = A.fuzzyHashCode0(this._number1$_value) : t1;
  114960. }
  114961. };
  114962. A.UniversalSelector0.prototype = {
  114963. get$specificity() {
  114964. return 0;
  114965. },
  114966. accept$1$1(visitor) {
  114967. return visitor.visitUniversalSelector$1(this);
  114968. },
  114969. accept$1(visitor) {
  114970. return this.accept$1$1(visitor, type$.dynamic);
  114971. },
  114972. unify$1(compound) {
  114973. var _0_4, t1, rest, unified, _this = this, _null = null,
  114974. _0_1 = compound.length,
  114975. _0_4_isSet = _0_1 >= 1;
  114976. if (_0_4_isSet) {
  114977. _0_4 = compound[0];
  114978. t1 = _0_4;
  114979. if (!(t1 instanceof A.UniversalSelector0))
  114980. t1 = _0_4 instanceof A.TypeSelector0;
  114981. else
  114982. t1 = true;
  114983. rest = t1 ? B.JSArray_methods.sublist$1(compound, 1) : _null;
  114984. } else {
  114985. rest = _null;
  114986. _0_4 = rest;
  114987. t1 = false;
  114988. }
  114989. if (t1) {
  114990. unified = A.unifyUniversalAndElement0(_this, B.JSArray_methods.get$first(compound));
  114991. if (unified == null)
  114992. return _null;
  114993. t1 = A._setArrayType([unified], type$.JSArray_SimpleSelector_2);
  114994. B.JSArray_methods.addAll$1(t1, rest);
  114995. return t1;
  114996. }
  114997. if (_0_1 === 1) {
  114998. if (_0_4_isSet)
  114999. t1 = _0_4;
  115000. else {
  115001. _0_4 = compound[0];
  115002. t1 = _0_4;
  115003. _0_4_isSet = true;
  115004. }
  115005. if (t1 instanceof A.PseudoSelector0) {
  115006. t1 = _0_4_isSet ? _0_4 : compound[0];
  115007. type$.PseudoSelector_2._as(t1);
  115008. t1 = t1.isClass && t1.name === "host" || t1.get$isHostContext();
  115009. } else
  115010. t1 = false;
  115011. } else
  115012. t1 = false;
  115013. if (t1)
  115014. return _null;
  115015. if (_0_1 <= 0)
  115016. return A._setArrayType([_this], type$.JSArray_SimpleSelector_2);
  115017. t1 = _this.namespace;
  115018. if (t1 == null || t1 === "*")
  115019. t1 = compound;
  115020. else {
  115021. t1 = A._setArrayType([_this], type$.JSArray_SimpleSelector_2);
  115022. B.JSArray_methods.addAll$1(t1, compound);
  115023. }
  115024. return t1;
  115025. },
  115026. isSuperselector$1(other) {
  115027. var t1 = this.namespace;
  115028. if (t1 === "*")
  115029. return true;
  115030. if (other instanceof A.TypeSelector0)
  115031. return t1 == other.name.namespace;
  115032. if (other instanceof A.UniversalSelector0)
  115033. return t1 == other.namespace;
  115034. return t1 == null || this.super$SimpleSelector$isSuperselector0(other);
  115035. },
  115036. $eq(_, other) {
  115037. if (other == null)
  115038. return false;
  115039. return other instanceof A.UniversalSelector0 && other.namespace == this.namespace;
  115040. },
  115041. get$hashCode(_) {
  115042. return J.get$hashCode$(this.namespace);
  115043. }
  115044. };
  115045. A.UnprefixedMapView0.prototype = {
  115046. get$keys(_) {
  115047. return new A._UnprefixedKeys0(this);
  115048. },
  115049. $index(_, key) {
  115050. return typeof key == "string" ? this._unprefixed_map_view0$_map.$index(0, this._unprefixed_map_view0$_prefix + key) : null;
  115051. },
  115052. containsKey$1(key) {
  115053. return typeof key == "string" && this._unprefixed_map_view0$_map.containsKey$1(this._unprefixed_map_view0$_prefix + key);
  115054. },
  115055. remove$1(_, key) {
  115056. return typeof key == "string" ? this._unprefixed_map_view0$_map.remove$1(0, this._unprefixed_map_view0$_prefix + key) : null;
  115057. }
  115058. };
  115059. A._UnprefixedKeys0.prototype = {
  115060. get$iterator(_) {
  115061. var t1 = this._unprefixed_map_view0$_view._unprefixed_map_view0$_map;
  115062. t1 = J.where$1$ax(t1.get$keys(t1), new A._UnprefixedKeys_iterator_closure1(this)).map$1$1(0, new A._UnprefixedKeys_iterator_closure2(this), type$.String);
  115063. return t1.get$iterator(t1);
  115064. },
  115065. contains$1(_, key) {
  115066. return this._unprefixed_map_view0$_view.containsKey$1(key);
  115067. }
  115068. };
  115069. A._UnprefixedKeys_iterator_closure1.prototype = {
  115070. call$1(key) {
  115071. return B.JSString_methods.startsWith$1(key, this.$this._unprefixed_map_view0$_view._unprefixed_map_view0$_prefix);
  115072. },
  115073. $signature: 4
  115074. };
  115075. A._UnprefixedKeys_iterator_closure2.prototype = {
  115076. call$1(key) {
  115077. return B.JSString_methods.substring$1(key, this.$this._unprefixed_map_view0$_view._unprefixed_map_view0$_prefix.length);
  115078. },
  115079. $signature: 5
  115080. };
  115081. A.JSUrl0.prototype = {};
  115082. A.UseRule0.prototype = {
  115083. UseRule$4$configuration0(url, namespace, span, configuration) {
  115084. var t1, t2, _i, variable;
  115085. for (t1 = this.configuration, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  115086. variable = t1[_i];
  115087. if (variable.isGuarded)
  115088. throw A.wrapException(A.ArgumentError$value(variable, "configured variable", "can't be guarded in a @use rule."));
  115089. }
  115090. },
  115091. accept$1$1(visitor) {
  115092. return visitor.visitUseRule$1(this);
  115093. },
  115094. accept$1(visitor) {
  115095. return this.accept$1$1(visitor, type$.dynamic);
  115096. },
  115097. toString$0(_) {
  115098. var t1 = this.url,
  115099. t2 = "@use " + A.StringExpression_quoteText0(t1.toString$0(0)),
  115100. basename = t1.get$pathSegments().length === 0 ? "" : B.JSArray_methods.get$last(t1.get$pathSegments()),
  115101. dot = B.JSString_methods.indexOf$1(basename, ".");
  115102. t1 = this.namespace;
  115103. if (t1 !== B.JSString_methods.substring$2(basename, 0, dot === -1 ? basename.length : dot))
  115104. t1 = t2 + (" as " + (t1 == null ? "*" : t1));
  115105. else
  115106. t1 = t2;
  115107. t2 = this.configuration;
  115108. t1 = (t2.length !== 0 ? t1 + (" with (" + B.JSArray_methods.join$1(t2, ", ") + ")") : t1) + ";";
  115109. return t1.charCodeAt(0) == 0 ? t1 : t1;
  115110. },
  115111. $isAstNode0: 1,
  115112. $isStatement0: 1,
  115113. get$span(receiver) {
  115114. return this.span;
  115115. }
  115116. };
  115117. A.UserDefinedCallable0.prototype = {
  115118. get$name(_) {
  115119. return this.declaration.name;
  115120. },
  115121. $isAsyncCallable0: 1,
  115122. $isCallable: 1
  115123. };
  115124. A.resolveImportPath_closure1.prototype = {
  115125. call$0() {
  115126. return A._exactlyOne0(A._tryPath0($.$get$context().withoutExtension$1(this.path) + ".import" + this.extension));
  115127. },
  115128. $signature: 44
  115129. };
  115130. A.resolveImportPath_closure2.prototype = {
  115131. call$0() {
  115132. return A._exactlyOne0(A._tryPathWithExtensions0(this.path + ".import"));
  115133. },
  115134. $signature: 44
  115135. };
  115136. A._tryPathAsDirectory_closure0.prototype = {
  115137. call$0() {
  115138. return A._exactlyOne0(A._tryPathWithExtensions0(A.join(this.path, "index.import", null)));
  115139. },
  115140. $signature: 44
  115141. };
  115142. A._exactlyOne_closure0.prototype = {
  115143. call$1(path) {
  115144. var t1 = $.$get$context();
  115145. return " " + t1.prettyUri$1(t1.toUri$1(path));
  115146. },
  115147. $signature: 5
  115148. };
  115149. A._PropertyDescriptor0.prototype = {};
  115150. A.futureToPromise_closure0.prototype = {
  115151. call$2(resolve, reject) {
  115152. this.future.then$1$2$onError(0, new A.futureToPromise__closure0(resolve), new A.futureToPromise__closure1(reject), type$.void);
  115153. },
  115154. $signature: 575
  115155. };
  115156. A.futureToPromise__closure0.prototype = {
  115157. call$1(result) {
  115158. return this.resolve.call$1(result);
  115159. },
  115160. $signature: 34
  115161. };
  115162. A.futureToPromise__closure1.prototype = {
  115163. call$2(error, stackTrace) {
  115164. A.attachTrace0(error, stackTrace);
  115165. this.reject.call$1(error);
  115166. },
  115167. $signature: 53
  115168. };
  115169. A.objectToMap_closure.prototype = {
  115170. call$2(key, value) {
  115171. this.map.$indexSet(0, key, value);
  115172. return value;
  115173. },
  115174. $signature: 122
  115175. };
  115176. A._RequireMain0.prototype = {};
  115177. A.indent_closure0.prototype = {
  115178. call$1(line) {
  115179. return B.JSString_methods.$mul(" ", this.indentation) + line;
  115180. },
  115181. $signature: 5
  115182. };
  115183. A.flattenVertically_closure1.prototype = {
  115184. call$1(inner) {
  115185. return A.QueueList_QueueList$from(inner, this.T);
  115186. },
  115187. $signature() {
  115188. return this.T._eval$1("QueueList<0>(Iterable<0>)");
  115189. }
  115190. };
  115191. A.flattenVertically_closure2.prototype = {
  115192. call$1(queue) {
  115193. this.result.push(queue.removeFirst$0());
  115194. return queue.get$length(0) === 0;
  115195. },
  115196. $signature() {
  115197. return this.T._eval$1("bool(QueueList<0>)");
  115198. }
  115199. };
  115200. A.longestCommonSubsequence_backtrack0.prototype = {
  115201. call$2(i, j) {
  115202. var selection, t1, _this = this;
  115203. if (i === -1 || j === -1)
  115204. return A._setArrayType([], _this.T._eval$1("JSArray<0>"));
  115205. selection = _this.selections[i][j];
  115206. if (selection != null) {
  115207. t1 = _this.call$2(i - 1, j - 1);
  115208. J.add$1$ax(t1, selection);
  115209. return t1;
  115210. }
  115211. t1 = _this.lengths;
  115212. return t1[i + 1][j] > t1[i][j + 1] ? _this.call$2(i, j - 1) : _this.call$2(i - 1, j);
  115213. },
  115214. $signature() {
  115215. return this.T._eval$1("List<0>(int,int)");
  115216. }
  115217. };
  115218. A.mapAddAll2_closure0.prototype = {
  115219. call$2(key, inner) {
  115220. var t1 = this.destination,
  115221. _0_0 = t1.$index(0, key);
  115222. if (_0_0 != null)
  115223. _0_0.addAll$1(0, inner);
  115224. else
  115225. t1.$indexSet(0, key, inner);
  115226. },
  115227. $signature() {
  115228. return this.K1._eval$1("@<0>")._bind$1(this.K2)._bind$1(this.V)._eval$1("~(1,Map<2,3>)");
  115229. }
  115230. };
  115231. A.CssValue0.prototype = {
  115232. $eq(_, other) {
  115233. if (other == null)
  115234. return false;
  115235. return this.$ti._is(other) && J.$eq$(other.value, this.value);
  115236. },
  115237. get$hashCode(_) {
  115238. return J.get$hashCode$(this.value);
  115239. },
  115240. toString$0(_) {
  115241. return J.toString$0$(this.value);
  115242. },
  115243. $isAstNode0: 1,
  115244. get$span(receiver) {
  115245. return this.span;
  115246. }
  115247. };
  115248. A.ValueExpression0.prototype = {
  115249. accept$1$1(visitor) {
  115250. return visitor.visitValueExpression$1(this);
  115251. },
  115252. accept$1(visitor) {
  115253. return this.accept$1$1(visitor, type$.dynamic);
  115254. },
  115255. toString$0(_) {
  115256. return A.serializeValue0(this.value, true, true);
  115257. },
  115258. $isExpression0: 1,
  115259. $isAstNode0: 1,
  115260. get$span(receiver) {
  115261. return this.span;
  115262. }
  115263. };
  115264. A.valueClass_closure.prototype = {
  115265. call$0() {
  115266. var t2,
  115267. t1 = type$.JSClass,
  115268. jsClass = t1._as(self.Object.getPrototypeOf(J.get$$prototype$x(t1._as(B.C__SassNull0.constructor))).constructor);
  115269. A.JSClassExtension_setCustomInspect(jsClass, new A.valueClass__closure());
  115270. t1 = type$.String;
  115271. t2 = type$.Function;
  115272. 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));
  115273. 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));
  115274. return jsClass;
  115275. },
  115276. $signature: 13
  115277. };
  115278. A.valueClass__closure.prototype = {
  115279. call$1($self) {
  115280. return J.toString$0$($self);
  115281. },
  115282. $signature: 117
  115283. };
  115284. A.valueClass__closure0.prototype = {
  115285. call$1($self) {
  115286. return new self.immutable.List($self.get$asList());
  115287. },
  115288. $signature: 576
  115289. };
  115290. A.valueClass__closure1.prototype = {
  115291. call$1($self) {
  115292. return $self.get$hasBrackets();
  115293. },
  115294. $signature: 49
  115295. };
  115296. A.valueClass__closure2.prototype = {
  115297. call$1($self) {
  115298. return $self.get$isTruthy();
  115299. },
  115300. $signature: 49
  115301. };
  115302. A.valueClass__closure3.prototype = {
  115303. call$1($self) {
  115304. return $self.get$realNull();
  115305. },
  115306. $signature: 190
  115307. };
  115308. A.valueClass__closure4.prototype = {
  115309. call$1($self) {
  115310. return $self.get$separator($self).separator;
  115311. },
  115312. $signature: 577
  115313. };
  115314. A.valueClass__closure5.prototype = {
  115315. call$3($self, sassIndex, $name) {
  115316. return $self.sassIndexToListIndex$2(sassIndex, $name);
  115317. },
  115318. call$2($self, sassIndex) {
  115319. return this.call$3($self, sassIndex, null);
  115320. },
  115321. "call*": "call$3",
  115322. $requiredArgCount: 2,
  115323. $defaultValues() {
  115324. return [null];
  115325. },
  115326. $signature: 578
  115327. };
  115328. A.valueClass__closure6.prototype = {
  115329. call$2($self, index) {
  115330. return index < 1 && index >= -1 ? $self : self.undefined;
  115331. },
  115332. $signature: 244
  115333. };
  115334. A.valueClass__closure7.prototype = {
  115335. call$2($self, $name) {
  115336. return $self.assertBoolean$1($name);
  115337. },
  115338. call$1($self) {
  115339. return this.call$2($self, null);
  115340. },
  115341. "call*": "call$2",
  115342. $requiredArgCount: 1,
  115343. $defaultValues() {
  115344. return [null];
  115345. },
  115346. $signature: 579
  115347. };
  115348. A.valueClass__closure8.prototype = {
  115349. call$2($self, $name) {
  115350. return $self.assertCalculation$1($name);
  115351. },
  115352. call$1($self) {
  115353. return this.call$2($self, null);
  115354. },
  115355. "call*": "call$2",
  115356. $requiredArgCount: 1,
  115357. $defaultValues() {
  115358. return [null];
  115359. },
  115360. $signature: 580
  115361. };
  115362. A.valueClass__closure9.prototype = {
  115363. call$2($self, $name) {
  115364. return $self.assertColor$1($name);
  115365. },
  115366. call$1($self) {
  115367. return this.call$2($self, null);
  115368. },
  115369. "call*": "call$2",
  115370. $requiredArgCount: 1,
  115371. $defaultValues() {
  115372. return [null];
  115373. },
  115374. $signature: 581
  115375. };
  115376. A.valueClass__closure10.prototype = {
  115377. call$2($self, $name) {
  115378. return $self.assertFunction$1($name);
  115379. },
  115380. call$1($self) {
  115381. return this.call$2($self, null);
  115382. },
  115383. "call*": "call$2",
  115384. $requiredArgCount: 1,
  115385. $defaultValues() {
  115386. return [null];
  115387. },
  115388. $signature: 582
  115389. };
  115390. A.valueClass__closure11.prototype = {
  115391. call$2($self, $name) {
  115392. return $self.assertMap$1($name);
  115393. },
  115394. call$1($self) {
  115395. return this.call$2($self, null);
  115396. },
  115397. "call*": "call$2",
  115398. $requiredArgCount: 1,
  115399. $defaultValues() {
  115400. return [null];
  115401. },
  115402. $signature: 583
  115403. };
  115404. A.valueClass__closure12.prototype = {
  115405. call$2($self, $name) {
  115406. return $self.assertMixin$1($name);
  115407. },
  115408. call$1($self) {
  115409. return this.call$2($self, null);
  115410. },
  115411. "call*": "call$2",
  115412. $requiredArgCount: 1,
  115413. $defaultValues() {
  115414. return [null];
  115415. },
  115416. $signature: 584
  115417. };
  115418. A.valueClass__closure13.prototype = {
  115419. call$2($self, $name) {
  115420. return $self.assertNumber$1($name);
  115421. },
  115422. call$1($self) {
  115423. return this.call$2($self, null);
  115424. },
  115425. "call*": "call$2",
  115426. $requiredArgCount: 1,
  115427. $defaultValues() {
  115428. return [null];
  115429. },
  115430. $signature: 585
  115431. };
  115432. A.valueClass__closure14.prototype = {
  115433. call$2($self, $name) {
  115434. return $self.assertString$1($name);
  115435. },
  115436. call$1($self) {
  115437. return this.call$2($self, null);
  115438. },
  115439. "call*": "call$2",
  115440. $requiredArgCount: 1,
  115441. $defaultValues() {
  115442. return [null];
  115443. },
  115444. $signature: 586
  115445. };
  115446. A.valueClass__closure15.prototype = {
  115447. call$1($self) {
  115448. return $self.tryMap$0();
  115449. },
  115450. $signature: 587
  115451. };
  115452. A.valueClass__closure16.prototype = {
  115453. call$2($self, other) {
  115454. return $self.$eq(0, other);
  115455. },
  115456. $signature: 588
  115457. };
  115458. A.valueClass__closure17.prototype = {
  115459. call$2($self, _) {
  115460. return $self.get$hashCode($self);
  115461. },
  115462. call$1($self) {
  115463. return this.call$2($self, null);
  115464. },
  115465. "call*": "call$2",
  115466. $requiredArgCount: 1,
  115467. $defaultValues() {
  115468. return [null];
  115469. },
  115470. $signature: 589
  115471. };
  115472. A.valueClass__closure18.prototype = {
  115473. call$1($self) {
  115474. return A.serializeValue0($self, true, true);
  115475. },
  115476. $signature: 138
  115477. };
  115478. A.Value0.prototype = {
  115479. get$isTruthy() {
  115480. return true;
  115481. },
  115482. get$separator(_) {
  115483. return B.ListSeparator_undecided_null_undecided0;
  115484. },
  115485. get$hasBrackets() {
  115486. return false;
  115487. },
  115488. get$asList() {
  115489. return A._setArrayType([this], type$.JSArray_Value_2);
  115490. },
  115491. get$lengthAsList() {
  115492. return 1;
  115493. },
  115494. get$isBlank() {
  115495. return false;
  115496. },
  115497. get$isSpecialNumber() {
  115498. return false;
  115499. },
  115500. get$isVar() {
  115501. return false;
  115502. },
  115503. get$realNull() {
  115504. return this;
  115505. },
  115506. sassIndexToListIndex$2(sassIndex, $name) {
  115507. var t1, index,
  115508. indexValue = sassIndex.assertNumber$1($name);
  115509. if (indexValue.get$hasUnits()) {
  115510. t1 = indexValue.get$unitString();
  115511. A.warnForDeprecation0("$" + A.S($name) + ": Passing a number with unit " + t1 + string$.x20is_de + indexValue.unitSuggestion$1($name == null ? "index" : $name) + string$.x0a_Morex3a, B.Deprecation_oCX);
  115512. }
  115513. index = indexValue.assertInt$1($name);
  115514. if (index === 0)
  115515. throw A.wrapException(A.SassScriptException$0("List index may not be 0.", $name));
  115516. if (Math.abs(index) > this.get$lengthAsList())
  115517. throw A.wrapException(A.SassScriptException$0("Invalid index " + sassIndex.toString$0(0) + " for a list with " + this.get$lengthAsList() + " elements.", $name));
  115518. return index < 0 ? this.get$lengthAsList() + index : index - 1;
  115519. },
  115520. assertBoolean$1($name) {
  115521. return A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " is not a boolean.", $name));
  115522. },
  115523. assertCalculation$1($name) {
  115524. return A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " is not a calculation.", $name));
  115525. },
  115526. assertColor$1($name) {
  115527. return A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " is not a color.", $name));
  115528. },
  115529. assertFunction$1($name) {
  115530. return A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " is not a function reference.", $name));
  115531. },
  115532. assertMixin$1($name) {
  115533. return A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " is not a mixin reference.", $name));
  115534. },
  115535. assertMap$1($name) {
  115536. return A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " is not a map.", $name));
  115537. },
  115538. tryMap$0() {
  115539. return null;
  115540. },
  115541. assertNumber$1($name) {
  115542. return A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " is not a number.", $name));
  115543. },
  115544. assertNumber$0() {
  115545. return this.assertNumber$1(null);
  115546. },
  115547. assertString$1($name) {
  115548. return A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " is not a string.", $name));
  115549. },
  115550. _value$_selectorString$1($name) {
  115551. var _0_0 = this._value$_selectorStringOrNull$0();
  115552. if (_0_0 != null)
  115553. return _0_0;
  115554. throw A.wrapException(A.SassScriptException$0(this.toString$0(0) + string$.x20is_noav, $name));
  115555. },
  115556. _value$_selectorStringOrNull$0() {
  115557. var t1, t2, result, _1_0, _i, complex, string, compound, _this = this, _null = null;
  115558. if (_this instanceof A.SassString0)
  115559. return _this._string0$_text;
  115560. if (!(_this instanceof A.SassList0))
  115561. return _null;
  115562. t1 = _this._list1$_contents;
  115563. t2 = t1.length;
  115564. if (t2 === 0)
  115565. return _null;
  115566. result = A._setArrayType([], type$.JSArray_String);
  115567. $label0$1: {
  115568. _1_0 = _this._list1$_separator;
  115569. if (B.ListSeparator_ECn0 === _1_0) {
  115570. for (_i = 0; _i < t2; ++_i) {
  115571. complex = t1[_i];
  115572. if (complex instanceof A.SassString0) {
  115573. result.push(complex._string0$_text);
  115574. continue;
  115575. }
  115576. if (complex instanceof A.SassList0 && B.ListSeparator_nbm0 === complex._list1$_separator) {
  115577. string = complex._value$_selectorStringOrNull$0();
  115578. if (string == null)
  115579. return _null;
  115580. result.push(string);
  115581. continue;
  115582. }
  115583. return _null;
  115584. }
  115585. break $label0$1;
  115586. }
  115587. if (B.ListSeparator_cQA0 === _1_0)
  115588. return _null;
  115589. for (_i = 0; _i < t2; ++_i) {
  115590. compound = t1[_i];
  115591. if (!(compound instanceof A.SassString0))
  115592. return _null;
  115593. result.push(compound._string0$_text);
  115594. }
  115595. break $label0$1;
  115596. }
  115597. return B.JSArray_methods.join$1(result, _1_0 === B.ListSeparator_ECn0 ? ", " : " ");
  115598. },
  115599. withListContents$2$separator(contents, separator) {
  115600. var t1 = separator == null ? this.get$separator(this) : separator,
  115601. t2 = this.get$hasBrackets();
  115602. return A.SassList$0(contents, t1, t2);
  115603. },
  115604. withListContents$1(contents) {
  115605. return this.withListContents$2$separator(contents, null);
  115606. },
  115607. greaterThan$1(other) {
  115608. return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " > " + other.toString$0(0) + '".', null));
  115609. },
  115610. greaterThanOrEquals$1(other) {
  115611. return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " >= " + other.toString$0(0) + '".', null));
  115612. },
  115613. lessThan$1(other) {
  115614. return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " < " + other.toString$0(0) + '".', null));
  115615. },
  115616. lessThanOrEquals$1(other) {
  115617. return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " <= " + other.toString$0(0) + '".', null));
  115618. },
  115619. times$1(other) {
  115620. return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " * " + other.toString$0(0) + '".', null));
  115621. },
  115622. modulo$1(other) {
  115623. return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " % " + other.toString$0(0) + '".', null));
  115624. },
  115625. plus$1(other) {
  115626. var t1;
  115627. $label0$0: {
  115628. if (other instanceof A.SassString0) {
  115629. t1 = new A.SassString0(A.serializeValue0(this, false, true) + other._string0$_text, other._string0$_hasQuotes);
  115630. break $label0$0;
  115631. }
  115632. if (other instanceof A.SassCalculation0)
  115633. A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  115634. t1 = new A.SassString0(A.serializeValue0(this, false, true) + A.serializeValue0(other, false, true), false);
  115635. break $label0$0;
  115636. }
  115637. return t1;
  115638. },
  115639. minus$1(other) {
  115640. 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);
  115641. },
  115642. dividedBy$1(other) {
  115643. return new A.SassString0(A.serializeValue0(this, false, true) + "/" + A.serializeValue0(other, false, true), false);
  115644. },
  115645. unaryPlus$0() {
  115646. return new A.SassString0("+" + A.serializeValue0(this, false, true), false);
  115647. },
  115648. unaryMinus$0() {
  115649. return new A.SassString0("-" + A.serializeValue0(this, false, true), false);
  115650. },
  115651. unaryNot$0() {
  115652. return B.SassBoolean_false0;
  115653. },
  115654. withoutSlash$0() {
  115655. return this;
  115656. },
  115657. toString$0(_) {
  115658. return A.serializeValue0(this, true, true);
  115659. }
  115660. };
  115661. A.VariableExpression0.prototype = {
  115662. accept$1$1(visitor) {
  115663. return visitor.visitVariableExpression$1(this);
  115664. },
  115665. accept$1(visitor) {
  115666. return this.accept$1$1(visitor, type$.dynamic);
  115667. },
  115668. toString$0(_) {
  115669. var t1 = this.span;
  115670. return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.file._decodedChars, t1._file$_start, t1._end), 0, null);
  115671. },
  115672. $isExpression0: 1,
  115673. $isAstNode0: 1,
  115674. get$span(receiver) {
  115675. return this.span;
  115676. }
  115677. };
  115678. A.VariableDeclaration0.prototype = {
  115679. accept$1$1(visitor) {
  115680. return visitor.visitVariableDeclaration$1(this);
  115681. },
  115682. accept$1(visitor) {
  115683. return this.accept$1$1(visitor, type$.dynamic);
  115684. },
  115685. toString$0(_) {
  115686. var t1 = this.namespace;
  115687. t1 = t1 != null ? "" + (t1 + ".") : "";
  115688. t1 += "$" + this.name + ": " + this.expression.toString$0(0) + ";";
  115689. return t1.charCodeAt(0) == 0 ? t1 : t1;
  115690. },
  115691. $isAstNode0: 1,
  115692. $isStatement0: 1,
  115693. get$span(receiver) {
  115694. return this.span;
  115695. }
  115696. };
  115697. A.WarnRule0.prototype = {
  115698. accept$1$1(visitor) {
  115699. return visitor.visitWarnRule$1(this);
  115700. },
  115701. accept$1(visitor) {
  115702. return this.accept$1$1(visitor, type$.dynamic);
  115703. },
  115704. toString$0(_) {
  115705. return "@warn " + this.expression.toString$0(0) + ";";
  115706. },
  115707. $isAstNode0: 1,
  115708. $isStatement0: 1,
  115709. get$span(receiver) {
  115710. return this.span;
  115711. }
  115712. };
  115713. A.WhileRule0.prototype = {
  115714. accept$1$1(visitor) {
  115715. return visitor.visitWhileRule$1(this);
  115716. },
  115717. accept$1(visitor) {
  115718. return this.accept$1$1(visitor, type$.dynamic);
  115719. },
  115720. toString$0(_) {
  115721. var t1 = this.children;
  115722. return "@while " + this.condition.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  115723. },
  115724. get$span(receiver) {
  115725. return this.span;
  115726. }
  115727. };
  115728. (function aliases() {
  115729. var _ = J.LegacyJavaScriptObject.prototype;
  115730. _.super$LegacyJavaScriptObject$toString = _.toString$0;
  115731. _ = A.JsLinkedHashMap.prototype;
  115732. _.super$JsLinkedHashMap$internalContainsKey = _.internalContainsKey$1;
  115733. _.super$JsLinkedHashMap$internalGet = _.internalGet$1;
  115734. _.super$JsLinkedHashMap$internalSet = _.internalSet$2;
  115735. _.super$JsLinkedHashMap$internalRemove = _.internalRemove$1;
  115736. _ = A._BufferingStreamSubscription.prototype;
  115737. _.super$_BufferingStreamSubscription$_add = _._async$_add$1;
  115738. _.super$_BufferingStreamSubscription$_addError = _._addError$2;
  115739. _ = A.ListBase.prototype;
  115740. _.super$ListBase$setRange = _.setRange$4;
  115741. _ = A.Iterable.prototype;
  115742. _.super$Iterable$where = _.where$1;
  115743. _.super$Iterable$skipWhile = _.skipWhile$1;
  115744. _ = A.ModifiableCssParentNode.prototype;
  115745. _.super$ModifiableCssParentNode$addChild = _.addChild$1;
  115746. _ = A.SimpleSelector.prototype;
  115747. _.super$SimpleSelector$addSuffix = _.addSuffix$1;
  115748. _.super$SimpleSelector$unify = _.unify$1;
  115749. _.super$SimpleSelector$isSuperselector = _.isSuperselector$1;
  115750. _ = A.Parser.prototype;
  115751. _.super$Parser$silentComment = _.silentComment$0;
  115752. _ = A.StylesheetParser.prototype;
  115753. _.super$StylesheetParser$importArgument = _.importArgument$0;
  115754. _.super$StylesheetParser$namespacedExpression = _.namespacedExpression$2;
  115755. _ = A.Value.prototype;
  115756. _.super$Value$assertMap = _.assertMap$1;
  115757. _.super$Value$plus = _.plus$1;
  115758. _.super$Value$minus = _.minus$1;
  115759. _.super$Value$dividedBy = _.dividedBy$1;
  115760. _ = A.SassNumber.prototype;
  115761. _.super$SassNumber$convertValueToMatch = _.convertValueToMatch$3;
  115762. _.super$SassNumber$coerce = _.coerce$3;
  115763. _.super$SassNumber$coerceValue = _.coerceValue$3;
  115764. _.super$SassNumber$coerceValueToUnit = _.coerceValueToUnit$2;
  115765. _.super$SassNumber$coerceToMatch = _.coerceToMatch$3;
  115766. _.super$SassNumber$coerceValueToMatch = _.coerceValueToMatch$3;
  115767. _.super$SassNumber$greaterThan = _.greaterThan$1;
  115768. _.super$SassNumber$greaterThanOrEquals = _.greaterThanOrEquals$1;
  115769. _.super$SassNumber$lessThan = _.lessThan$1;
  115770. _.super$SassNumber$lessThanOrEquals = _.lessThanOrEquals$1;
  115771. _.super$SassNumber$modulo = _.modulo$1;
  115772. _.super$SassNumber$plus = _.plus$1;
  115773. _.super$SassNumber$minus = _.minus$1;
  115774. _.super$SassNumber$times = _.times$1;
  115775. _.super$SassNumber$dividedBy = _.dividedBy$1;
  115776. _ = A.AnySelectorVisitor.prototype;
  115777. _.super$AnySelectorVisitor$visitComplexSelector = _.visitComplexSelector$1;
  115778. _ = A.EveryCssVisitor.prototype;
  115779. _.super$EveryCssVisitor$visitCssStyleRule = _.visitCssStyleRule$1;
  115780. _ = A.ReplaceExpressionVisitor.prototype;
  115781. _.super$ReplaceExpressionVisitor$visitBinaryOperationExpression = _.visitBinaryOperationExpression$1;
  115782. _.super$ReplaceExpressionVisitor$visitUnaryOperationExpression = _.visitUnaryOperationExpression$1;
  115783. _ = A.SourceSpanMixin.prototype;
  115784. _.super$SourceSpanMixin$compareTo = _.compareTo$1;
  115785. _.super$SourceSpanMixin$$eq = _.$eq;
  115786. _ = A.StringScanner.prototype;
  115787. _.super$StringScanner$readChar = _.readChar$0;
  115788. _.super$StringScanner$scanChar = _.scanChar$1;
  115789. _.super$StringScanner$scan = _.scan$1;
  115790. _.super$StringScanner$matches = _.matches$1;
  115791. _ = A.AnySelectorVisitor0.prototype;
  115792. _.super$AnySelectorVisitor$visitComplexSelector0 = _.visitComplexSelector$1;
  115793. _ = A.EveryCssVisitor0.prototype;
  115794. _.super$EveryCssVisitor$visitCssStyleRule0 = _.visitCssStyleRule$1;
  115795. _ = A.ModifiableCssParentNode0.prototype;
  115796. _.super$ModifiableCssParentNode$addChild0 = _.addChild$1;
  115797. _ = A.SassNumber0.prototype;
  115798. _.super$SassNumber$convertToMatch = _.convertToMatch$3;
  115799. _.super$SassNumber$convertValueToMatch0 = _.convertValueToMatch$3;
  115800. _.super$SassNumber$coerce0 = _.coerce$3;
  115801. _.super$SassNumber$coerceValue0 = _.coerceValue$3;
  115802. _.super$SassNumber$coerceValueToUnit0 = _.coerceValueToUnit$2;
  115803. _.super$SassNumber$coerceToMatch0 = _.coerceToMatch$3;
  115804. _.super$SassNumber$coerceValueToMatch0 = _.coerceValueToMatch$3;
  115805. _.super$SassNumber$greaterThan0 = _.greaterThan$1;
  115806. _.super$SassNumber$greaterThanOrEquals0 = _.greaterThanOrEquals$1;
  115807. _.super$SassNumber$lessThan0 = _.lessThan$1;
  115808. _.super$SassNumber$lessThanOrEquals0 = _.lessThanOrEquals$1;
  115809. _.super$SassNumber$modulo0 = _.modulo$1;
  115810. _.super$SassNumber$plus0 = _.plus$1;
  115811. _.super$SassNumber$minus0 = _.minus$1;
  115812. _.super$SassNumber$times0 = _.times$1;
  115813. _.super$SassNumber$dividedBy0 = _.dividedBy$1;
  115814. _ = A.Parser1.prototype;
  115815. _.super$Parser$silentComment0 = _.silentComment$0;
  115816. _ = A.ReplaceExpressionVisitor0.prototype;
  115817. _.super$ReplaceExpressionVisitor$visitBinaryOperationExpression0 = _.visitBinaryOperationExpression$1;
  115818. _.super$ReplaceExpressionVisitor$visitUnaryOperationExpression0 = _.visitUnaryOperationExpression$1;
  115819. _ = A.SimpleSelector0.prototype;
  115820. _.super$SimpleSelector$addSuffix0 = _.addSuffix$1;
  115821. _.super$SimpleSelector$unify0 = _.unify$1;
  115822. _.super$SimpleSelector$isSuperselector0 = _.isSuperselector$1;
  115823. _ = A.StylesheetParser0.prototype;
  115824. _.super$StylesheetParser$importArgument0 = _.importArgument$0;
  115825. _.super$StylesheetParser$namespacedExpression0 = _.namespacedExpression$2;
  115826. _ = A.Value0.prototype;
  115827. _.super$Value$assertMap0 = _.assertMap$1;
  115828. _.super$Value$plus0 = _.plus$1;
  115829. _.super$Value$minus0 = _.minus$1;
  115830. _.super$Value$dividedBy0 = _.dividedBy$1;
  115831. })();
  115832. (function installTearOffs() {
  115833. var _static_2 = hunkHelpers._static_2,
  115834. _instance_1_i = hunkHelpers._instance_1i,
  115835. _instance_1_u = hunkHelpers._instance_1u,
  115836. _static_1 = hunkHelpers._static_1,
  115837. _static_0 = hunkHelpers._static_0,
  115838. _static = hunkHelpers.installStaticTearOff,
  115839. _instance = hunkHelpers.installInstanceTearOff,
  115840. _instance_2_u = hunkHelpers._instance_2u,
  115841. _instance_0_i = hunkHelpers._instance_0i,
  115842. _instance_0_u = hunkHelpers._instance_0u;
  115843. _static_2(J, "_interceptors_JSArray__compareAny$closure", "JSArray__compareAny", 253);
  115844. _instance_1_i(J.JSArray.prototype, "get$contains", "contains$1", 9);
  115845. _instance_1_i(A._CastIterableBase.prototype, "get$contains", "contains$1", 9);
  115846. _instance_1_u(A.CastMap.prototype, "get$containsKey", "containsKey$1", 9);
  115847. _instance_1_u(A.ConstantStringMap.prototype, "get$containsKey", "containsKey$1", 9);
  115848. _instance_1_i(A.ConstantStringSet.prototype, "get$contains", "contains$1", 9);
  115849. _instance_1_i(A.GeneralConstantSet.prototype, "get$contains", "contains$1", 9);
  115850. _instance_1_u(A.JsLinkedHashMap.prototype, "get$containsKey", "containsKey$1", 9);
  115851. _static_1(A, "async__AsyncRun__scheduleImmediateJsOverride$closure", "_AsyncRun__scheduleImmediateJsOverride", 133);
  115852. _static_1(A, "async__AsyncRun__scheduleImmediateWithSetImmediate$closure", "_AsyncRun__scheduleImmediateWithSetImmediate", 133);
  115853. _static_1(A, "async__AsyncRun__scheduleImmediateWithTimer$closure", "_AsyncRun__scheduleImmediateWithTimer", 133);
  115854. _static_0(A, "async___startMicrotaskLoop$closure", "_startMicrotaskLoop", 0);
  115855. _static_1(A, "async___nullDataHandler$closure", "_nullDataHandler", 72);
  115856. _static_2(A, "async___nullErrorHandler$closure", "_nullErrorHandler", 68);
  115857. _static_0(A, "async___nullDoneHandler$closure", "_nullDoneHandler", 0);
  115858. _static(A, "async___rootHandleUncaughtError$closure", 5, null, ["call$5"], ["_rootHandleUncaughtError"], 592, 0);
  115859. _static(A, "async___rootRun$closure", 4, null, ["call$1$4", "call$4"], ["_rootRun", function($self, $parent, zone, f) {
  115860. return A._rootRun($self, $parent, zone, f, type$.dynamic);
  115861. }], 593, 1);
  115862. _static(A, "async___rootRunUnary$closure", 5, null, ["call$2$5", "call$5"], ["_rootRunUnary", function($self, $parent, zone, f, arg) {
  115863. var t1 = type$.dynamic;
  115864. return A._rootRunUnary($self, $parent, zone, f, arg, t1, t1);
  115865. }], 594, 1);
  115866. _static(A, "async___rootRunBinary$closure", 6, null, ["call$3$6", "call$6"], ["_rootRunBinary", function($self, $parent, zone, f, arg1, arg2) {
  115867. var t1 = type$.dynamic;
  115868. return A._rootRunBinary($self, $parent, zone, f, arg1, arg2, t1, t1, t1);
  115869. }], 595, 1);
  115870. _static(A, "async___rootRegisterCallback$closure", 4, null, ["call$1$4", "call$4"], ["_rootRegisterCallback", function($self, $parent, zone, f) {
  115871. return A._rootRegisterCallback($self, $parent, zone, f, type$.dynamic);
  115872. }], 596, 0);
  115873. _static(A, "async___rootRegisterUnaryCallback$closure", 4, null, ["call$2$4", "call$4"], ["_rootRegisterUnaryCallback", function($self, $parent, zone, f) {
  115874. var t1 = type$.dynamic;
  115875. return A._rootRegisterUnaryCallback($self, $parent, zone, f, t1, t1);
  115876. }], 597, 0);
  115877. _static(A, "async___rootRegisterBinaryCallback$closure", 4, null, ["call$3$4", "call$4"], ["_rootRegisterBinaryCallback", function($self, $parent, zone, f) {
  115878. var t1 = type$.dynamic;
  115879. return A._rootRegisterBinaryCallback($self, $parent, zone, f, t1, t1, t1);
  115880. }], 598, 0);
  115881. _static(A, "async___rootErrorCallback$closure", 5, null, ["call$5"], ["_rootErrorCallback"], 599, 0);
  115882. _static(A, "async___rootScheduleMicrotask$closure", 4, null, ["call$4"], ["_rootScheduleMicrotask"], 600, 0);
  115883. _static(A, "async___rootCreateTimer$closure", 5, null, ["call$5"], ["_rootCreateTimer"], 601, 0);
  115884. _static(A, "async___rootCreatePeriodicTimer$closure", 5, null, ["call$5"], ["_rootCreatePeriodicTimer"], 602, 0);
  115885. _static(A, "async___rootPrint$closure", 4, null, ["call$4"], ["_rootPrint"], 603, 0);
  115886. _static_1(A, "async___printToZone$closure", "_printToZone", 92);
  115887. _static(A, "async___rootFork$closure", 5, null, ["call$5"], ["_rootFork"], 604, 0);
  115888. _instance(A._AsyncCompleter.prototype, "get$complete", 0, 0, function() {
  115889. return [null];
  115890. }, ["call$1", "call$0"], ["complete$1", "complete$0"], 259, 0, 0);
  115891. _instance_2_u(A._Future.prototype, "get$_completeError", "_completeError$2", 68);
  115892. var _;
  115893. _instance_1_i(_ = A._StreamController.prototype, "get$add", "add$1", 34);
  115894. _instance(_, "get$addError", 0, 1, function() {
  115895. return [null];
  115896. }, ["call$2", "call$1"], ["addError$2", "addError$1"], 242, 0, 0);
  115897. _instance_0_i(_, "get$close", "close$0", 528);
  115898. _instance_1_u(_, "get$_async$_add", "_async$_add$1", 34);
  115899. _instance_2_u(_, "get$_addError", "_addError$2", 68);
  115900. _instance_0_u(_, "get$_close", "_close$0", 0);
  115901. _instance_0_u(_ = A._ControllerSubscription.prototype, "get$_async$_onPause", "_async$_onPause$0", 0);
  115902. _instance_0_u(_, "get$_async$_onResume", "_async$_onResume$0", 0);
  115903. _instance(_ = A._BufferingStreamSubscription.prototype, "get$pause", 1, 0, null, ["call$1", "call$0"], ["pause$1", "pause$0"], 518, 0, 0);
  115904. _instance_0_i(_, "get$resume", "resume$0", 0);
  115905. _instance_0_u(_, "get$_async$_onPause", "_async$_onPause$0", 0);
  115906. _instance_0_u(_, "get$_async$_onResume", "_async$_onResume$0", 0);
  115907. _instance_1_u(_ = A._StreamIterator.prototype, "get$_onData", "_onData$1", 34);
  115908. _instance_2_u(_, "get$_onError", "_onError$2", 68);
  115909. _instance_0_u(_, "get$_onDone", "_onDone$0", 0);
  115910. _instance_0_u(_ = A._ForwardingStreamSubscription.prototype, "get$_async$_onPause", "_async$_onPause$0", 0);
  115911. _instance_0_u(_, "get$_async$_onResume", "_async$_onResume$0", 0);
  115912. _instance_1_u(_, "get$_handleData", "_handleData$1", 34);
  115913. _instance_2_u(_, "get$_handleError", "_handleError$2", 517);
  115914. _instance_0_u(_, "get$_handleDone", "_handleDone$0", 0);
  115915. _static_2(A, "collection___defaultEquals$closure", "_defaultEquals", 235);
  115916. _static_1(A, "collection___defaultHashCode$closure", "_defaultHashCode", 231);
  115917. _static_2(A, "collection_ListBase__compareAny$closure", "ListBase__compareAny", 253);
  115918. _instance_1_u(A._HashMap.prototype, "get$containsKey", "containsKey$1", 9);
  115919. _instance_1_u(A._LinkedCustomHashMap.prototype, "get$containsKey", "containsKey$1", 9);
  115920. _instance(_ = A._LinkedHashSet.prototype, "get$_newSimilarSet", 0, 0, null, ["call$1$0", "call$0"], ["_newSimilarSet$1$0", "_newSimilarSet$0"], 158, 0, 0);
  115921. _instance_1_i(_, "get$contains", "contains$1", 9);
  115922. _instance_1_i(_, "get$add", "add$1", 9);
  115923. _instance(A._LinkedIdentityHashSet.prototype, "get$_newSimilarSet", 0, 0, null, ["call$1$0", "call$0"], ["_newSimilarSet$1$0", "_newSimilarSet$0"], 158, 0, 0);
  115924. _instance_1_u(A.MapBase.prototype, "get$containsKey", "containsKey$1", 9);
  115925. _instance_1_u(A.MapView.prototype, "get$containsKey", "containsKey$1", 9);
  115926. _instance_1_i(A.UnmodifiableSetView.prototype, "get$contains", "contains$1", 9);
  115927. _static_1(A, "convert___defaultToEncodable$closure", "_defaultToEncodable", 105);
  115928. _instance_1_u(A._JsonMap.prototype, "get$containsKey", "containsKey$1", 9);
  115929. _static_1(A, "core__identityHashCode$closure", "identityHashCode", 231);
  115930. _static_2(A, "core__identical$closure", "identical", 235);
  115931. _static_1(A, "core_Uri_decodeComponent$closure", "Uri_decodeComponent", 5);
  115932. _instance_1_i(A.Iterable.prototype, "get$contains", "contains$1", 9);
  115933. _instance_1_i(A.StringBuffer.prototype, "get$write", "write$1", 34);
  115934. _static(A, "math0__max$closure", 2, null, ["call$1$2", "call$2"], ["max", function(a, b) {
  115935. return A.max(a, b, type$.num);
  115936. }], 607, 1);
  115937. _instance_1_u(A.ArgResults.prototype, "get$wasParsed", "wasParsed$1", 4);
  115938. _instance_1_u(_ = A.StreamCompleter.prototype, "get$setSourceStream", "setSourceStream$1", 34);
  115939. _instance(_, "get$setError", 0, 1, function() {
  115940. return [null];
  115941. }, ["call$2", "call$1"], ["setError$2", "setError$1"], 242, 0, 0);
  115942. _instance_0_u(_ = A.StreamGroup.prototype, "get$_onListen", "_onListen$0", 0);
  115943. _instance_0_u(_, "get$_onPause", "_onPause$0", 0);
  115944. _instance_0_u(_, "get$_onResume", "_onResume$0", 0);
  115945. _instance_0_u(_, "get$_onCancel", "_onCancel$0", 191);
  115946. _instance_0_i(A.ReplAdapter.prototype, "get$exit", "exit$0", 0);
  115947. _instance_1_i(A.EmptyUnmodifiableSet.prototype, "get$contains", "contains$1", 9);
  115948. _instance_1_i(A.UnionSet.prototype, "get$contains", "contains$1", 9);
  115949. _instance_1_i(A._DelegatingIterableBase.prototype, "get$contains", "contains$1", 9);
  115950. _instance_1_i(A.MapKeySet.prototype, "get$contains", "contains$1", 9);
  115951. _static_1(A, "version_Version___parse_tearOff$closure", "Version___parse_tearOff", 199);
  115952. _instance_1_u(A.VersionRange.prototype, "get$allows", "allows$1", 529);
  115953. _instance_1_u(A._IsInvisibleVisitor0.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 16);
  115954. _instance_1_u(A._IsBogusVisitor.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 16);
  115955. _instance_1_u(A._IsUselessVisitor.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 16);
  115956. _instance_1_u(A.SelectorList.prototype, "get$isSuperselector", "isSuperselector$1", 74);
  115957. _instance_1_u(A.PseudoSelector.prototype, "get$isSuperselector", "isSuperselector$1", 14);
  115958. _instance_1_u(A.SimpleSelector.prototype, "get$isSuperselector", "isSuperselector$1", 14);
  115959. _instance_1_u(A.TypeSelector.prototype, "get$isSuperselector", "isSuperselector$1", 14);
  115960. _instance_1_u(A.UniversalSelector.prototype, "get$isSuperselector", "isSuperselector$1", 14);
  115961. _instance_1_u(A.EmptyExtensionStore.prototype, "get$addExtensions", "addExtensions$1", 225);
  115962. _instance_1_u(A.ExtensionStore.prototype, "get$addExtensions", "addExtensions$1", 225);
  115963. _static_1(A, "functions___isUnique$closure", "_isUnique", 14);
  115964. _static_1(A, "color0___opacify$closure", "_opacify", 29);
  115965. _static_1(A, "color0___transparentize$closure", "_transparentize", 29);
  115966. _instance_2_u(A.NodePackageImporter.prototype, "get$_compareExpansionKeys", "_compareExpansionKeys$2", 143);
  115967. _instance_0_u(_ = A.Parser.prototype, "get$whitespace", "whitespace$0", 0);
  115968. _instance_0_u(_, "get$loudComment", "loudComment$0", 0);
  115969. _instance_0_u(_, "get$string", "string$0", 25);
  115970. _instance(_, "get$error", 1, 2, function() {
  115971. return [null];
  115972. }, ["call$3", "call$2"], ["error$3", "error$2"], 152, 0, 0);
  115973. _instance_0_u(A.SassParser.prototype, "get$loudComment", "loudComment$0", 0);
  115974. _instance(_ = A.StylesheetParser.prototype, "get$_statement", 0, 0, null, ["call$1$root", "call$0"], ["_statement$1$root", "_statement$0"], 485, 0, 0);
  115975. _instance_0_u(_, "get$_declarationChild", "_declarationChild$0", 124);
  115976. _instance_0_u(_, "get$_functionChild", "_functionChild$0", 124);
  115977. _instance(_, "get$_expression", 0, 0, null, ["call$3$bracketList$singleEquals$until", "call$0", "call$2$singleEquals$until", "call$1$bracketList", "call$1$until"], ["_expression$3$bracketList$singleEquals$until", "_expression$0", "_expression$2$singleEquals$until", "_expression$1$bracketList", "_expression$1$until"], 483, 0, 0);
  115978. _instance(A.LazyFileSpan.prototype, "get$message", 1, 1, function() {
  115979. return {color: null};
  115980. }, ["call$2$color", "call$1"], ["message$2$color", "message$1"], 121, 0, 0);
  115981. _instance_1_u(A.LimitedMapView.prototype, "get$containsKey", "containsKey$1", 9);
  115982. _instance_1_u(A.MergedMapView.prototype, "get$containsKey", "containsKey$1", 9);
  115983. _instance(A.MultiSpan.prototype, "get$message", 1, 1, function() {
  115984. return {color: null};
  115985. }, ["call$2$color", "call$1"], ["message$2$color", "message$1"], 159, 0, 0);
  115986. _instance_1_i(A.NoSourceMapBuffer.prototype, "get$write", "write$1", 34);
  115987. _instance_1_u(A.PrefixedMapView.prototype, "get$containsKey", "containsKey$1", 9);
  115988. _instance_1_u(A.PublicMemberMapView.prototype, "get$containsKey", "containsKey$1", 9);
  115989. _instance_1_i(A.SourceMapBuffer.prototype, "get$write", "write$1", 34);
  115990. _instance_1_u(A.UnprefixedMapView.prototype, "get$containsKey", "containsKey$1", 9);
  115991. _static_1(A, "utils__isPublic$closure", "isPublic", 4);
  115992. _static_1(A, "calculation_SassCalculation__simplify$closure", "SassCalculation__simplify", 64);
  115993. _instance_1_u(A.AnySelectorVisitor.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 16);
  115994. _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"], 631, 0, 0);
  115995. _instance_1_u(_, "get$_async_evaluate$_expressionNode", "_async_evaluate$_expressionNode$1", 164);
  115996. _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"], 309, 0, 0);
  115997. _instance_1_u(_, "get$_expressionNode", "_expressionNode$1", 164);
  115998. _instance_1_u(_ = A.RecursiveStatementVisitor.prototype, "get$visitContentBlock", "visitContentBlock$1", 267);
  115999. _instance_1_u(_, "get$visitChildren", "visitChildren$1", 268);
  116000. _instance_1_u(_ = A.SelectorSearchVisitor.prototype, "get$visitComplexSelector", "visitComplexSelector$1", "SelectorSearchVisitor.T?(ComplexSelector)");
  116001. _instance_1_u(_, "get$visitSelectorList", "visitSelectorList$1", "SelectorSearchVisitor.T?(SelectorList)");
  116002. _instance_1_u(_ = A._SerializeVisitor.prototype, "get$_visitMediaQuery", "_visitMediaQuery$1", 271);
  116003. _instance_1_u(_, "get$_writeCalculationValue", "_writeCalculationValue$1", 82);
  116004. _instance_1_u(_, "get$visitSelectorList", "visitSelectorList$1", 272);
  116005. _instance_1_u(_, "get$_requiresSemicolon", "_requiresSemicolon$1", 7);
  116006. _instance_1_u(_ = A.StatementSearchVisitor.prototype, "get$visitContentBlock", "visitContentBlock$1", "StatementSearchVisitor.T?(ContentBlock)");
  116007. _instance_1_u(_, "get$visitChildren", "visitChildren$1", "StatementSearchVisitor.T?(List<Statement>)");
  116008. _instance(A.SourceSpanMixin.prototype, "get$message", 1, 1, function() {
  116009. return {color: null};
  116010. }, ["call$2$color", "call$1"], ["message$2$color", "message$1"], 121, 0, 0);
  116011. _static_1(A, "frame_Frame___parseVM_tearOff$closure", "Frame___parseVM_tearOff", 84);
  116012. _static_1(A, "frame_Frame___parseV8_tearOff$closure", "Frame___parseV8_tearOff", 84);
  116013. _static_1(A, "frame_Frame___parseFirefox_tearOff$closure", "Frame___parseFirefox_tearOff", 84);
  116014. _static_1(A, "frame_Frame___parseFriendly_tearOff$closure", "Frame___parseFriendly_tearOff", 84);
  116015. _static_1(A, "trace_Trace___parseVM_tearOff$closure", "Trace___parseVM_tearOff", 207);
  116016. _static_1(A, "trace_Trace___parseFriendly_tearOff$closure", "Trace___parseFriendly_tearOff", 207);
  116017. _static(A, "from_handlers__TransformByHandlers__defaultHandleError$closure", 3, null, ["call$1$3", "call$3"], ["TransformByHandlers__defaultHandleError", function(error, stackTrace, sink) {
  116018. return A.TransformByHandlers__defaultHandleError(error, stackTrace, sink, type$.dynamic);
  116019. }], 610, 0);
  116020. _static(A, "rate_limit___collect$closure", 2, null, ["call$1$2", "call$2"], ["_collect", function($event, soFar) {
  116021. return A._collect($event, soFar, type$.dynamic);
  116022. }], 611, 0);
  116023. _instance_1_u(A.AnySelectorVisitor0.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 18);
  116024. _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"], 311, 0, 0);
  116025. _instance_1_u(_, "get$_async_evaluate0$_expressionNode", "_async_evaluate0$_expressionNode$1", 248);
  116026. _static_1(A, "calculation1___assertCalculationValue$closure", "_assertCalculationValue", 82);
  116027. _static_1(A, "calculation1___isValidClampArg$closure", "_isValidClampArg", 9);
  116028. _static_1(A, "calculation0_SassCalculation__simplify$closure", "SassCalculation__simplify0", 64);
  116029. _static_1(A, "color2___opacify$closure", "_opacify0", 27);
  116030. _static_1(A, "color2___transparentize$closure", "_transparentize0", 27);
  116031. _static(A, "compile__compile$closure", 1, function() {
  116032. return [null];
  116033. }, ["call$2", "call$1"], ["compile0", function(path) {
  116034. return A.compile0(path, null);
  116035. }], 612, 0);
  116036. _static(A, "compile__compileString$closure", 1, function() {
  116037. return [null];
  116038. }, ["call$2", "call$1"], ["compileString0", function(text) {
  116039. return A.compileString0(text, null);
  116040. }], 613, 0);
  116041. _static(A, "compile__compileAsync$closure", 1, function() {
  116042. return [null];
  116043. }, ["call$2", "call$1"], ["compileAsync1", function(path) {
  116044. return A.compileAsync1(path, null);
  116045. }], 614, 0);
  116046. _static(A, "compile__compileStringAsync$closure", 1, function() {
  116047. return [null];
  116048. }, ["call$2", "call$1"], ["compileStringAsync1", function(text) {
  116049. return A.compileStringAsync1(text, null);
  116050. }], 615, 0);
  116051. _static_1(A, "compile___parseImporter$closure", "_parseImporter0", 616);
  116052. _static_1(A, "compile___simplifyCalcArg$closure", "_simplifyCalcArg", 64);
  116053. _static_0(A, "compiler__initCompiler$closure", "initCompiler", 617);
  116054. _static_0(A, "compiler__initAsyncCompiler$closure", "initAsyncCompiler", 618);
  116055. _instance_1_u(A.EmptyExtensionStore0.prototype, "get$addExtensions", "addExtensions$1", 198);
  116056. _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"], 425, 0, 0);
  116057. _instance_1_u(_, "get$_evaluate0$_expressionNode", "_evaluate0$_expressionNode$1", 248);
  116058. _instance_1_u(A.ExtensionStore0.prototype, "get$addExtensions", "addExtensions$1", 198);
  116059. _static_1(A, "functions0___isUnique$closure", "_isUnique0", 15);
  116060. _static_1(A, "immutable__jsToDartList$closure", "jsToDartList", 619);
  116061. _instance(A.LazyFileSpan0.prototype, "get$message", 1, 1, function() {
  116062. return {color: null};
  116063. }, ["call$2$color", "call$1"], ["message$2$color", "message$1"], 121, 0, 0);
  116064. _static_2(A, "legacy__render$closure", "render", 620);
  116065. _static_1(A, "legacy__renderSync$closure", "renderSync", 621);
  116066. _instance_1_u(A.LimitedMapView0.prototype, "get$containsKey", "containsKey$1", 9);
  116067. _instance_1_u(A.SelectorList0.prototype, "get$isSuperselector", "isSuperselector$1", 70);
  116068. _instance_1_u(A.MergedMapView0.prototype, "get$containsKey", "containsKey$1", 9);
  116069. _instance(A.MultiSpan0.prototype, "get$message", 1, 1, function() {
  116070. return {color: null};
  116071. }, ["call$2$color", "call$1"], ["message$2$color", "message$1"], 159, 0, 0);
  116072. _instance_1_i(A.NoSourceMapBuffer0.prototype, "get$write", "write$1", 34);
  116073. _instance_2_u(A.NodePackageImporter0.prototype, "get$_node_package$_compareExpansionKeys", "_node_package$_compareExpansionKeys$2", 143);
  116074. _instance_0_u(_ = A.Parser1.prototype, "get$whitespace", "whitespace$0", 0);
  116075. _instance_0_u(_, "get$loudComment", "loudComment$0", 0);
  116076. _instance_0_u(_, "get$string", "string$0", 25);
  116077. _instance(_, "get$error", 1, 2, function() {
  116078. return [null];
  116079. }, ["call$3", "call$2"], ["error$3", "error$2"], 152, 0, 0);
  116080. _instance_1_u(A.PrefixedMapView0.prototype, "get$containsKey", "containsKey$1", 9);
  116081. _instance_1_u(A.PseudoSelector0.prototype, "get$isSuperselector", "isSuperselector$1", 15);
  116082. _instance_1_u(A.PublicMemberMapView0.prototype, "get$containsKey", "containsKey$1", 9);
  116083. _instance_0_u(A.SassParser0.prototype, "get$loudComment", "loudComment$0", 0);
  116084. _instance_1_u(A._IsInvisibleVisitor2.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 18);
  116085. _instance_1_u(A._IsBogusVisitor0.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 18);
  116086. _instance_1_u(A._IsUselessVisitor0.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 18);
  116087. _instance_1_u(_ = A.SelectorSearchVisitor0.prototype, "get$visitComplexSelector", "visitComplexSelector$1", "SelectorSearchVisitor0.T?(ComplexSelector0)");
  116088. _instance_1_u(_, "get$visitSelectorList", "visitSelectorList$1", "SelectorSearchVisitor0.T?(SelectorList0)");
  116089. _instance_1_u(_ = A._SerializeVisitor0.prototype, "get$_serialize0$_visitMediaQuery", "_serialize0$_visitMediaQuery$1", 534);
  116090. _instance_1_u(_, "get$_serialize0$_writeCalculationValue", "_serialize0$_writeCalculationValue$1", 82);
  116091. _instance_1_u(_, "get$visitSelectorList", "visitSelectorList$1", 535);
  116092. _instance_1_u(_, "get$_serialize0$_requiresSemicolon", "_serialize0$_requiresSemicolon$1", 8);
  116093. _instance_1_u(A.SimpleSelector0.prototype, "get$isSuperselector", "isSuperselector$1", 15);
  116094. _instance_1_i(A.SourceMapBuffer0.prototype, "get$write", "write$1", 34);
  116095. _instance_1_u(_ = A.StatementSearchVisitor0.prototype, "get$visitContentBlock", "visitContentBlock$1", "StatementSearchVisitor0.T?(ContentBlock0)");
  116096. _instance_1_u(_, "get$visitChildren", "visitChildren$1", "StatementSearchVisitor0.T?(List<Statement0>)");
  116097. _instance(_ = A.StylesheetParser0.prototype, "get$_stylesheet0$_statement", 0, 0, null, ["call$1$root", "call$0"], ["_stylesheet0$_statement$1$root", "_stylesheet0$_statement$0"], 552, 0, 0);
  116098. _instance_0_u(_, "get$_stylesheet0$_declarationChild", "_stylesheet0$_declarationChild$0", 132);
  116099. _instance_0_u(_, "get$_stylesheet0$_functionChild", "_stylesheet0$_functionChild$0", 132);
  116100. _instance_1_u(A.TypeSelector0.prototype, "get$isSuperselector", "isSuperselector$1", 15);
  116101. _instance_1_u(A.UniversalSelector0.prototype, "get$isSuperselector", "isSuperselector$1", 15);
  116102. _instance_1_u(A.UnprefixedMapView0.prototype, "get$containsKey", "containsKey$1", 9);
  116103. _static_1(A, "utils1__jsToDartUrl$closure", "jsToDartUrl", 622);
  116104. _static_1(A, "utils1__dartToJSUrl$closure", "dartToJSUrl", 623);
  116105. _static_1(A, "utils0__isPublic$closure", "isPublic0", 4);
  116106. _static(A, "path__absolute$closure", 1, function() {
  116107. return [null, null, null, null, null, null, null, null, null, null, null, null, null, null];
  116108. }, ["call$15", "call$1", "call$2", "call$3", "call$4", "call$5", "call$6"], ["absolute", function(part1) {
  116109. var _null = null;
  116110. return A.absolute(part1, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  116111. }, function(part1, part2) {
  116112. var _null = null;
  116113. return A.absolute(part1, part2, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  116114. }, function(part1, part2, part3) {
  116115. var _null = null;
  116116. return A.absolute(part1, part2, part3, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  116117. }, function(part1, part2, part3, part4) {
  116118. var _null = null;
  116119. return A.absolute(part1, part2, part3, part4, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  116120. }, function(part1, part2, part3, part4, part5) {
  116121. var _null = null;
  116122. return A.absolute(part1, part2, part3, part4, part5, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  116123. }, function(part1, part2, part3, part4, part5, part6) {
  116124. var _null = null;
  116125. return A.absolute(part1, part2, part3, part4, part5, part6, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  116126. }], 624, 0);
  116127. _static_1(A, "path__prettyUri$closure", "prettyUri", 625);
  116128. _static_2(A, "number0__fuzzyLessThan$closure", "fuzzyLessThan", 47);
  116129. _static_2(A, "number0__fuzzyLessThanOrEquals$closure", "fuzzyLessThanOrEquals", 47);
  116130. _static_2(A, "number0__fuzzyGreaterThan$closure", "fuzzyGreaterThan", 47);
  116131. _static_2(A, "number0__fuzzyGreaterThanOrEquals$closure", "fuzzyGreaterThanOrEquals", 47);
  116132. _static_2(A, "number0__moduloLikeSass$closure", "moduloLikeSass", 55);
  116133. _static_1(A, "number0__sqrt$closure", "sqrt", 52);
  116134. _static_1(A, "number0__sin$closure", "sin", 52);
  116135. _static_1(A, "number0__cos$closure", "cos", 52);
  116136. _static_1(A, "number0__tan$closure", "tan", 52);
  116137. _static_1(A, "number0__atan$closure", "atan", 52);
  116138. _static_1(A, "number0__asin$closure", "asin", 52);
  116139. _static_1(A, "number0__acos$closure", "acos", 52);
  116140. _static_2(A, "number2__fuzzyLessThan$closure", "fuzzyLessThan0", 47);
  116141. _static_2(A, "number2__fuzzyLessThanOrEquals$closure", "fuzzyLessThanOrEquals0", 47);
  116142. _static_2(A, "number2__fuzzyGreaterThan$closure", "fuzzyGreaterThan0", 47);
  116143. _static_2(A, "number2__fuzzyGreaterThanOrEquals$closure", "fuzzyGreaterThanOrEquals0", 47);
  116144. _static_1(A, "number2__fuzzyRound$closure", "fuzzyRound0", 628);
  116145. _static_2(A, "number2__moduloLikeSass$closure", "moduloLikeSass0", 55);
  116146. _static_1(A, "number2__sqrt$closure", "sqrt0", 48);
  116147. _static_1(A, "number2__sin$closure", "sin0", 48);
  116148. _static_1(A, "number2__cos$closure", "cos0", 48);
  116149. _static_1(A, "number2__tan$closure", "tan0", 48);
  116150. _static_1(A, "number2__atan$closure", "atan0", 48);
  116151. _static_1(A, "number2__asin$closure", "asin0", 48);
  116152. _static_1(A, "number2__acos$closure", "acos0", 48);
  116153. _static_1(A, "sass__main$closure", "main1", 466);
  116154. _static_1(A, "utils2__validateUrlScheme$closure", "validateUrlScheme", 92);
  116155. _static_1(A, "value0__wrapValue$closure", "wrapValue", 420);
  116156. })();
  116157. (function inheritance() {
  116158. var _mixin = hunkHelpers.mixin,
  116159. _inherit = hunkHelpers.inherit,
  116160. _inheritMany = hunkHelpers.inheritMany;
  116161. _inherit(A.Object, null);
  116162. _inheritMany(A.Object, [A.JS_CONST, J.Interceptor, 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.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.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.Argument, A.ArgumentDeclaration, A.ArgumentInvocation, A.AtRootQuery, A.ConfiguredVariable, A._IsCalculationSafeVisitor, 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, A.DynamicImport, A.StaticImport, A.Interpolation, A.ParentStatement, A.ContentRule, A.DebugRule, A.ErrorRule, A.ExtendRule, A.ForwardRule, A.IfRule, A.IfRuleClause, A.ImportRule, A.IncludeRule, A.LoudComment, A.__HasContentVisitor_Object_StatementSearchVisitor, A.ReturnRule, A.SilentComment, A.UseRule, A.VariableDeclaration, A.WarnRule, 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.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.LoggerWithDeprecationType0, A._QuietLogger, A.StderrLogger, 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.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.DependencyReport, 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.AnySelectorVisitor0, A.SupportsAnything0, A.Argument0, A.ArgumentDeclaration0, A.ArgumentInvocation0, A.Value0, A.AsyncImporter0, A.AsyncBuiltInCallable0, A.AsyncEnvironment0, A._EnvironmentModule2, A._EvaluateVisitor2, A._ImportedCssVisitor2, A._EvaluationContext2, A.AsyncImportCache0, A.Parser1, A.AtRootQuery0, A.ParentStatement0, A.CssNode0, A.Selector0, A.BinaryOperationExpression0, A.BooleanExpression0, A.Box0, A.ModifiableBox0, A.BuiltInCallable0, A.BuiltInModule0, A.CalculationOperation0, A.CalculationInterpolation, A.CanonicalizeContext0, A._CloneCssVisitor0, A.ColorExpression0, A._ColorFormatEnum0, A.SpanColorFormat0, A.CompileResult0, A.Compiler, A.ComplexSelectorComponent0, A.Configuration0, A.ConfiguredValue0, A.ConfiguredVariable0, A.ContentRule0, A.DebugRule0, A.SupportsDeclaration0, A.LoggerWithDeprecationType, A.DynamicImport0, A.EmptyExtensionStore0, A.Environment0, A._EnvironmentModule1, A.ErrorRule0, A._EvaluateVisitor1, A._ImportedCssVisitor1, A._EvaluationContext1, A.EveryCssVisitor0, A.SassScriptException0, A._IsCalculationSafeVisitor0, A.__MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor0, A.ExtendRule0, A.Extension0, A.Extender0, A.ExtensionStore0, A.ForwardRule0, A.ForwardedModuleView0, A.FunctionExpression0, A.SupportsFunction0, A.IfExpression0, A.IfRule0, A.IfRuleClause0, A.NodeImporter, A.ImportCache0, A.ImportRule0, A.IncludeRule0, A.InterpolatedFunctionExpression0, A.Interpolation0, A.SupportsInterpolation0, A.InterpolationBuffer0, A.InterpolationMap0, A.FileSystemException0, A.LazyFileSpan0, A.ListExpression0, A.__ParentSelectorVisitor_Object_SelectorSearchVisitor0, A._QuietLogger0, A.LoudComment0, A.MapExpression0, A.CssMediaQuery0, A.MediaQuerySuccessfulMergeResult0, A.__HasContentVisitor_Object_StatementSearchVisitor0, A.MultiSpan0, A.SupportsNegation0, A.NoSourceMapBuffer0, A._FakeAstNode0, A.__IsInvisibleVisitor_Object_EveryCssVisitor0, A.NullExpression0, A.NumberExpression0, A.SupportsOperation0, A.ParenthesizedExpression0, A.PlainCssCallable0, A.QualifiedName0, A.ReplaceExpressionVisitor0, A.ImporterResult0, A.ReturnRule0, A.__IsInvisibleVisitor_Object_AnySelectorVisitor0, A.__IsBogusVisitor_Object_AnySelectorVisitor0, A.__IsUselessVisitor_Object_AnySelectorVisitor0, A.SelectorExpression0, A.SelectorSearchVisitor0, A._SerializeVisitor0, A.ShadowedModuleView0, A.SilentComment0, A.SourceMapBuffer0, A.StatementSearchVisitor0, A.StaticImport0, A.StderrLogger0, A.StringExpression0, A.SupportsExpression0, A.UnaryOperationExpression0, A.UseRule0, A.UserDefinedCallable0, A.CssValue0, A.ValueExpression0, A.VariableExpression0, A.VariableDeclaration0, A.WarnRule0]);
  116163. _inheritMany(J.Interceptor, [J.JSBool, J.JSNull, J.JavaScriptObject, J.JavaScriptBigInt, J.JavaScriptSymbol, J.JSNumber, J.JSString]);
  116164. _inheritMany(J.JavaScriptObject, [J.LegacyJavaScriptObject, J.JSArray, A.NativeByteBuffer, A.NativeTypedData]);
  116165. _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.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._NodeSassColor, A.CompileOptions, A.NodeCompileResult, A.Deprecation1, A.Exports, A.LoggerNamespace, 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.JSClass0, A.RenderContext0, A.RenderContextOptions0, A.RenderContextResult0, A.RenderContextResultStats0, A.RenderOptions, A.RenderResult, A.RenderResultStats, A._Exports, A._ConstructorOptions1, A._NodeSassString, A.Types, A.JSUrl0, A._PropertyDescriptor0, A._RequireMain0]);
  116166. _inherit(J.JSUnmodifiableArray, J.JSArray);
  116167. _inheritMany(J.JSNumber, [J.JSInt, J.JSNumNotInt]);
  116168. _inheritMany(A.Iterable, [A._CastIterableBase, A.EfficientLengthIterable, A.MappedIterable, A.WhereIterable, A.ExpandIterable, A.TakeIterable, A.SkipIterable, A.SkipWhileIterable, A.FollowedByIterable, A.WhereTypeIterable, A._KeysOrValues, A._AllMatchesIterable, A._StringAllMatchesIterable, A._SyncStarIterable, A.Runes, A._EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin, A._PrefixedKeys, A._UnprefixedKeys, A._PrefixedKeys0, A._UnprefixedKeys0]);
  116169. _inheritMany(A._CastIterableBase, [A.CastIterable, A.__CastListBase__CastIterableBase_ListMixin, A.CastSet]);
  116170. _inherit(A._EfficientLengthCastIterable, A.CastIterable);
  116171. _inherit(A._CastListBase, A.__CastListBase__CastIterableBase_ListMixin);
  116172. _inheritMany(A.Closure, [A.Closure2Args, A.CastMap_entries_closure, A.Closure0Args, A.Instantiation, A.TearOffClosure, A.JsLinkedHashMap_values_closure, A.initHooks_closure, A.initHooks_closure1, A._AsyncRun__initializeScheduleImmediate_internalCallback, A._AsyncRun__initializeScheduleImmediate_closure, A._awaitOnObject_closure, A.Future_wait_closure, A._Future__chainForeignFuture_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._createTables_setChars, A._createTables_setRange, A.jsify__convert, A.promiseToFuture_closure1, A.promiseToFuture_closure2, 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_closure, A.promiseToFuture_closure0, 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.ArgumentDeclaration_verify_closure, A.ArgumentDeclaration_verify_closure0, A._IsCalculationSafeVisitor_visitListExpression_closure, A.ListExpression_toString_closure, A.Interpolation_toString_closure, 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.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.AsyncImportCache_humanize_closure, A.AsyncImportCache_humanize_closure0, A.AsyncImportCache_humanize_closure1, A.AsyncImportCache_humanize_closure2, A.AsyncBuiltInCallable$mixin_closure, A.BuiltInCallable$mixin_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._writeSourceMap_closure, A.ExecutableOptions_emitErrorCss_closure, 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._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__closure, A.global_closure26, 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__closure1, A.module_closure9, A._red_closure, A._green_closure, A._blue_closure, A._mix_closure, A._hue_closure, A._saturation_closure, A._lightness_closure, A._complement_closure, A._adjust_closure, A._scale_closure, A._change_closure, A._ieHexStr_closure, A._ieHexStr_closure_hexString, A._updateComponents_getParam, A._updateComponents_closure, A._updateComponents_closure0, A._updateComponents_updateValue, A._functionString_closure, A._removedColorFunction_closure, A._rgb_closure, A._hsl_closure, A._hwb_closure, A._parseChannels_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.global_closure27, A.global_closure28, A.global_closure29, A.global_closure30, A.local_closure, A.local_closure0, A.local__closure, A.local_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_closure, A.watchDir_closure0, A.watchDir_closure1, A.watchDir_closure2, 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.StylesheetParser_parse__closure0, 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_SassColor$hwb_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_closure5, A._EvaluateVisitor_visitStyleRule_closure6, A._EvaluateVisitor_visitStyleRule_closure8, A._EvaluateVisitor_visitSupportsRule_closure2, A._EvaluateVisitor_visitWhileRule__closure0, A._EvaluateVisitor__slash_recommendation0, A._EvaluateVisitor_visitListExpression_closure0, A._EvaluateVisitor_visitFunctionExpression_closure3, A._EvaluateVisitor__checkCalculationArguments_check0, 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_visitStyleRule_closure3, A._EvaluateVisitor_visitSupportsRule_closure0, A._EvaluateVisitor_visitWhileRule__closure, A._EvaluateVisitor__slash_recommendation, A._EvaluateVisitor_visitListExpression_closure, A._EvaluateVisitor_visitFunctionExpression_closure0, A._EvaluateVisitor__checkCalculationArguments_check, 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.ReplaceExpressionVisitor_visitListExpression_closure, A.ReplaceExpressionVisitor_visitArgumentInvocation_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.ArgumentDeclaration_verify_closure1, A.ArgumentDeclaration_verify_closure2, A.argumentListClass__closure, A.argumentListClass__closure0, A.AsyncBuiltInCallable$mixin_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._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_closure15, A._EvaluateVisitor_visitStyleRule_closure16, A._EvaluateVisitor_visitStyleRule_closure18, A._EvaluateVisitor_visitSupportsRule_closure6, A._EvaluateVisitor_visitWhileRule__closure2, A._EvaluateVisitor__slash_recommendation2, A._EvaluateVisitor_visitListExpression_closure2, A._EvaluateVisitor_visitFunctionExpression_closure9, A._EvaluateVisitor__checkCalculationArguments_check2, 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.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_closure32, A.global_closure33, A.global_closure34, A.global_closure35, A.global_closure36, A.global_closure37, A.global_closure38, A.global_closure39, A.global_closure40, A.global_closure41, A.global_closure42, A.global_closure43, 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__closure0, A.global_closure58, A.module_closure12, A.module_closure13, A.module_closure14, A.module_closure15, A.module_closure16, A.module_closure17, A.module_closure18, A.module_closure19, A.module__closure4, A.module_closure20, A._red_closure0, A._green_closure0, A._blue_closure0, A._mix_closure0, A._hue_closure0, A._saturation_closure0, A._lightness_closure0, A._complement_closure0, A._adjust_closure0, A._scale_closure0, A._change_closure0, A._ieHexStr_closure0, A._ieHexStr_closure_hexString0, A._updateComponents_getParam0, A._updateComponents_closure1, A._updateComponents_closure2, A._updateComponents_updateValue0, A._functionString_closure0, A._removedColorFunction_closure0, A._rgb_closure0, A._hsl_closure0, A._hwb_closure0, A._parseChannels_closure0, A.colorClass__closure1, A.colorClass__closure2, A.colorClass__closure3, A.colorClass__closure4, A.colorClass__closure5, A.colorClass__closure6, A.colorClass__closure7, A.colorClass__closure8, A.colorClass__closure9, A.legacyColorClass_closure, A.legacyColorClass_closure0, A.legacyColorClass_closure1, A.legacyColorClass_closure2, A.legacyColorClass_closure3, A.SassColor_SassColor$hwb_toRgb0, 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._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._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_closure10, A._EvaluateVisitor_visitStyleRule_closure11, A._EvaluateVisitor_visitStyleRule_closure13, A._EvaluateVisitor_visitSupportsRule_closure4, A._EvaluateVisitor_visitWhileRule__closure1, A._EvaluateVisitor__slash_recommendation1, A._EvaluateVisitor_visitListExpression_closure1, A._EvaluateVisitor_visitFunctionExpression_closure6, A._EvaluateVisitor__checkCalculationArguments_check1, 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._IsCalculationSafeVisitor_visitListExpression_closure0, 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._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.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.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_closure31, A.module_closure11, 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.global_closure59, A.global_closure60, A.global_closure61, A.global_closure62, A.local_closure2, A.local_closure3, A.local__closure0, A.local_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.ParentStatement_closure0, A.ParentStatement__closure0, 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_visitArgumentInvocation_closure0, A.ReplaceExpressionVisitor_visitInterpolation_closure0, A.SassParser_styleRuleSelector_closure0, A.SassParser__peekIndentation_closure1, A.SassParser__peekIndentation_closure2, 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_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_closure10, A.module__closure2, A.module__closure3, 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.stringClass__closure, A.stringClass__closure0, A.stringClass__closure1, A.stringClass__closure2, A.stringClass__closure3, A.legacyStringClass_closure, A.legacyStringClass_closure0, A.StylesheetParser_parse__closure2, 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]);
  116173. _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__chainForeignFuture_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__parseIPv4Address_error, A.Uri_parseIPv6Address_error, A.Uri_parseIPv6Address_parseHex, A._createTables_build, 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._updateComponents_updateRgb, A._nest__closure0, A._append__closure0, A.ImportCache_clearCanonicalize_closure, A.StylesheetParser__styleRule_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_closure, 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_parseLocation, 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._updateComponents_updateRgb0, A.colorClass__closure, A.colorClass__closure0, 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.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__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_closure0, 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]);
  116174. _inherit(A.CastList, A._CastListBase);
  116175. _inheritMany(A.MapBase, [A.CastMap, A.JsLinkedHashMap, A._HashMap, A.UnmodifiableMapBase, A._JsonMap, A.MergedMapView, A.MergedMapView0]);
  116176. _inheritMany(A.Error, [A.LateError, A.ReachabilityError, A.TypeError, A.JsNoSuchMethodError, A.UnknownJsTypeError, A._CyclicInitializationError, A.RuntimeError, A._Error, A.JsonUnsupportedObjectError, A.AssertionError, A.ArgumentError, A.NoSuchMethodError, A.UnsupportedError, A.UnimplementedError, A.StateError, A.ConcurrentModificationError]);
  116177. _inherit(A.UnmodifiableListBase, A.ListBase);
  116178. _inheritMany(A.UnmodifiableListBase, [A.CodeUnits, A.UnmodifiableListView]);
  116179. _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__chainForeignFuture_closure1, A._Future__chainCoreFutureAsync_closure, A._Future__asyncCompleteWithValue_closure, A._Future__asyncCompleteError_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.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.ensureDir_closure, A.listDir_closure, A.modificationTime_closure, A.watchDir_closure3, A.watchDir__closure, A.AtRootQueryParser_parse_closure, A.KeyframeSelectorParser_parse_closure, A.MediaQueryParser_parse_closure, A.Parser__parseIdentifier_closure, A.Parser_spanFrom_closure, A.SassParser_children_closure, A.SelectorParser_parse_closure, A.SelectorParser_parseCompoundSelector_closure, A.StylesheetParser_parse_closure, A.StylesheetParser_parse__closure, A.StylesheetParser_parseArgumentDeclaration_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__forRule_closure, A.StylesheetParser__memberList_closure, A.StylesheetParser__expression_resetState, A.StylesheetParser__expression_resolveOneOperation, A.StylesheetParser__expression_resolveOperations, A.StylesheetParser__expression_resolveSpaceExpressions, A.StylesheetParser_expressionUntilComma_closure, A.StylesheetParser_namespacedExpression_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_closure4, A._EvaluateVisitor_visitStyleRule_closure7, 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_closure14, A._EvaluateVisitor_visitStyleRule_closure17, 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.colorClass_closure, A.compileAsync_closure, A.compileStringAsync_closure, A._parseFunctions___closure6, A._parseFunctions___closure5, A._parseDeprecations_closure, A.nodePackageImporterClass_closure, A.compilerClass_closure, A.asyncCompilerClass_closure, A.asyncCompilerClass___closure, A.initAsyncCompiler_closure, A.deprecations_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_closure9, A._EvaluateVisitor_visitStyleRule_closure12, 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.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.listDir_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.Parser__parseIdentifier_closure0, A.Parser_spanFrom_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__closure1, A.StylesheetParser_parseArgumentDeclaration_closure0, A.StylesheetParser__parseSingleProduction_closure0, A.StylesheetParser_parseSignature_closure, A.StylesheetParser__statement_closure0, A.StylesheetParser_variableDeclarationWithoutNamespace_closure1, A.StylesheetParser_variableDeclarationWithoutNamespace_closure2, A.StylesheetParser__forRule_closure1, A.StylesheetParser__memberList_closure0, A.StylesheetParser__expression_resetState0, A.StylesheetParser__expression_resolveOneOperation0, A.StylesheetParser__expression_resolveOperations0, A.StylesheetParser__expression_resolveSpaceExpressions0, A.StylesheetParser_expressionUntilComma_closure0, A.StylesheetParser_namespacedExpression_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]);
  116180. _inheritMany(A.EfficientLengthIterable, [A.ListIterable, A.EmptyIterable, A.LinkedHashMapKeyIterable, A._HashMapKeyIterable, A._MapBaseValueIterable]);
  116181. _inheritMany(A.ListIterable, [A.SubListIterable, A.MappedListIterable, A.ReversedListIterable, A.ListQueue, A._JsonMapKeyIterable, A._GeneratorIterable]);
  116182. _inherit(A.EfficientLengthMappedIterable, A.MappedIterable);
  116183. _inherit(A.EfficientLengthTakeIterable, A.TakeIterable);
  116184. _inherit(A.EfficientLengthSkipIterable, A.SkipIterable);
  116185. _inherit(A.EfficientLengthFollowedByIterable, A.FollowedByIterable);
  116186. _inheritMany(A._Record, [A._Record1, A._Record2, A._Record3, A._RecordN]);
  116187. _inherit(A._Record_1, A._Record1);
  116188. _inheritMany(A._Record2, [A._Record_2, A._Record_2_forImport, A._Record_2_imports_modules, A._Record_2_loadedUrls_stylesheet, A._Record_2_sourceMap]);
  116189. _inheritMany(A._Record3, [A._Record_3, A._Record_3_forImport, A._Record_3_importer_isDependency, A._Record_3_originalUrl]);
  116190. _inherit(A._Record_5_named_namedNodes_positional_positionalNodes_separator, A._RecordN);
  116191. _inheritMany(A.MapView, [A._UnmodifiableMapView_MapView__UnmodifiableMapMixin, A.PathMap]);
  116192. _inherit(A.UnmodifiableMapView, A._UnmodifiableMapView_MapView__UnmodifiableMapMixin);
  116193. _inherit(A.ConstantMapView, A.UnmodifiableMapView);
  116194. _inherit(A.ConstantStringMap, A.ConstantMap);
  116195. _inheritMany(A.SetBase, [A.ConstantSet, A._SetBase, A._UnmodifiableSetView_SetBase__UnmodifiableSetMixin, A._UnionSet_SetBase_UnmodifiableSetMixin]);
  116196. _inheritMany(A.ConstantSet, [A.ConstantStringSet, A.GeneralConstantSet]);
  116197. _inherit(A.Instantiation1, A.Instantiation);
  116198. _inherit(A.NullError, A.TypeError);
  116199. _inheritMany(A.TearOffClosure, [A.StaticClosure, A.BoundClosure]);
  116200. _inheritMany(A.JsLinkedHashMap, [A.JsIdentityLinkedHashMap, A.JsConstantLinkedHashMap, A._LinkedCustomHashMap]);
  116201. _inheritMany(A.NativeTypedData, [A.NativeByteData, A.NativeTypedArray]);
  116202. _inheritMany(A.NativeTypedArray, [A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin, A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin]);
  116203. _inherit(A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin, A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin);
  116204. _inherit(A.NativeTypedArrayOfDouble, A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin);
  116205. _inherit(A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin, A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin);
  116206. _inherit(A.NativeTypedArrayOfInt, A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin);
  116207. _inheritMany(A.NativeTypedArrayOfDouble, [A.NativeFloat32List, A.NativeFloat64List]);
  116208. _inheritMany(A.NativeTypedArrayOfInt, [A.NativeInt16List, A.NativeInt32List, A.NativeInt8List, A.NativeUint16List, A.NativeUint32List, A.NativeUint8ClampedList, A.NativeUint8List]);
  116209. _inherit(A._TypeError, A._Error);
  116210. _inheritMany(A._Completer, [A._AsyncCompleter, A._SyncCompleter]);
  116211. _inheritMany(A._StreamController, [A._AsyncStreamController, A._SyncStreamController]);
  116212. _inheritMany(A.Stream, [A._StreamImpl, A._ForwardingStream, A._CompleterStream]);
  116213. _inherit(A._ControllerStream, A._StreamImpl);
  116214. _inheritMany(A._BufferingStreamSubscription, [A._ControllerSubscription, A._ForwardingStreamSubscription]);
  116215. _inherit(A._StreamControllerAddStreamState, A._AddStreamState);
  116216. _inheritMany(A._DelayedEvent, [A._DelayedData, A._DelayedError]);
  116217. _inherit(A._ExpandStream, A._ForwardingStream);
  116218. _inheritMany(A._Zone, [A._CustomZone, A._RootZone]);
  116219. _inherit(A._IdentityHashMap, A._HashMap);
  116220. _inherit(A._LinkedHashSet, A._SetBase);
  116221. _inherit(A._LinkedIdentityHashSet, A._LinkedHashSet);
  116222. _inherit(A.UnmodifiableSetView, A._UnmodifiableSetView_SetBase__UnmodifiableSetMixin);
  116223. _inheritMany(A.Codec, [A.Encoding, A.Base64Codec, A.JsonCodec]);
  116224. _inheritMany(A.Encoding, [A.AsciiCodec, A.Utf8Codec]);
  116225. _inheritMany(A.Converter, [A._UnicodeSubsetEncoder, A.Base64Encoder, A.JsonEncoder, A.JsonDecoder, A.Utf8Encoder, A.Utf8Decoder]);
  116226. _inherit(A.AsciiEncoder, A._UnicodeSubsetEncoder);
  116227. _inheritMany(A.ByteConversionSink, [A._Base64EncoderSink, A._Utf8StringSinkAdapter]);
  116228. _inherit(A._Utf8Base64EncoderSink, A._Base64EncoderSink);
  116229. _inherit(A.JsonCyclicError, A.JsonUnsupportedObjectError);
  116230. _inherit(A._JsonStringStringifier, A._JsonStringifier);
  116231. _inherit(A._StringSinkConversionSink, A.StringConversionSink);
  116232. _inherit(A._StringCallbackSink, A._StringSinkConversionSink);
  116233. _inheritMany(A.ArgumentError, [A.RangeError, A.IndexError]);
  116234. _inherit(A._DataUri, A._Uri);
  116235. _inherit(A.ArgParserException, A.FormatException);
  116236. _inherit(A.EmptyUnmodifiableSet, A._EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin);
  116237. _inherit(A.QueueList, A._QueueList_Object_ListMixin);
  116238. _inherit(A._CastQueueList, A.QueueList);
  116239. _inherit(A.UnionSet, A._UnionSet_SetBase_UnmodifiableSetMixin);
  116240. _inheritMany(A._DelegatingIterableBase, [A.DelegatingSet, A._MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin]);
  116241. _inherit(A._UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin, A.DelegatingSet);
  116242. _inherit(A.UnmodifiableSetView0, A._UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin);
  116243. _inherit(A.MapKeySet, A._MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin);
  116244. _inheritMany(A.NodeJsError, [A.JsAssertionError, A.JsRangeError, A.JsReferenceError, A.JsSyntaxError, A.JsTypeError, A.JsSystemError]);
  116245. _inheritMany(A.Socket, [A.TTYReadStream, A.TTYWriteStream]);
  116246. _inherit(A.InternalStyle, A.Style);
  116247. _inheritMany(A.InternalStyle, [A.PosixStyle, A.UrlStyle, A.WindowsStyle]);
  116248. _inheritMany(A._Enum, [A._SingletonCssMediaQueryMergeResult, A.BinaryOperator, A.UnaryOperator, A.AttributeOperator, A.Combinator, A.Deprecation, A.ExtendMode, A.Syntax, A.CalculationOperator, A.ListSeparator, A.OutputStyle, A.LineFeed, A.AttributeOperator0, A.BinaryOperator0, A.CalculationOperator0, A.Combinator0, A.Deprecation0, A.ListSeparator0, A._SingletonCssMediaQueryMergeResult0, A.ExtendMode0, A.OutputStyle0, A.LineFeed0, A.Syntax0, A.UnaryOperator0]);
  116249. _inheritMany(A.CssNode, [A.ModifiableCssNode, A.CssParentNode]);
  116250. _inheritMany(A.ModifiableCssNode, [A.ModifiableCssParentNode, A.ModifiableCssComment, A.ModifiableCssDeclaration, A.ModifiableCssImport]);
  116251. _inheritMany(A.ModifiableCssParentNode, [A.ModifiableCssAtRule, A.ModifiableCssKeyframeBlock, A.ModifiableCssMediaRule, A.ModifiableCssStyleRule, A.ModifiableCssStylesheet, A.ModifiableCssSupportsRule]);
  116252. _inherit(A._IsInvisibleVisitor, A.__IsInvisibleVisitor_Object_EveryCssVisitor);
  116253. _inherit(A.CssStylesheet, A.CssParentNode);
  116254. _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]);
  116255. _inheritMany(A.CallableDeclaration, [A.ContentBlock, A.FunctionRule, A.MixinRule]);
  116256. _inheritMany(A.IfRuleClause, [A.IfClause, A.ElseClause]);
  116257. _inherit(A._HasContentVisitor, A.__HasContentVisitor_Object_StatementSearchVisitor);
  116258. _inherit(A._IsInvisibleVisitor0, A.__IsInvisibleVisitor_Object_AnySelectorVisitor);
  116259. _inherit(A._IsBogusVisitor, A.__IsBogusVisitor_Object_AnySelectorVisitor);
  116260. _inherit(A._IsUselessVisitor, A.__IsUselessVisitor_Object_AnySelectorVisitor);
  116261. _inheritMany(A.Selector, [A.SimpleSelector, A.ComplexSelector, A.CompoundSelector, A.SelectorList]);
  116262. _inheritMany(A.SimpleSelector, [A.AttributeSelector, A.ClassSelector, A.IDSelector, A.ParentSelector, A.PlaceholderSelector, A.PseudoSelector, A.TypeSelector, A.UniversalSelector]);
  116263. _inherit(A._ParentSelectorVisitor, A.__ParentSelectorVisitor_Object_SelectorSearchVisitor);
  116264. _inherit(A.ExplicitConfiguration, A.Configuration);
  116265. _inheritMany(A.SourceSpanException, [A.SassException, A.SourceSpanFormatException, A.MultiSourceSpanException, A.SassException0]);
  116266. _inheritMany(A.SassException, [A.MultiSpanSassException, A.SassRuntimeException, A.SassFormatException]);
  116267. _inheritMany(A.MultiSpanSassException, [A.MultiSpanSassRuntimeException, A.MultiSpanSassFormatException]);
  116268. _inherit(A.MultiSpanSassScriptException, A.SassScriptException);
  116269. _inherit(A.MergedExtension, A.Extension);
  116270. _inherit(A.Importer, A.AsyncImporter);
  116271. _inheritMany(A.Importer, [A.FilesystemImporter, A.NoOpImporter, A.NodePackageImporter]);
  116272. _inherit(A.DeprecationProcessingLogger, A.LoggerWithDeprecationType0);
  116273. _inheritMany(A.Parser, [A.AtRootQueryParser, A.StylesheetParser, A.KeyframeSelectorParser, A.MediaQueryParser, A.SelectorParser]);
  116274. _inheritMany(A.StylesheetParser, [A.ScssParser, A.SassParser]);
  116275. _inherit(A.CssParser, A.ScssParser);
  116276. _inheritMany(A.UnmodifiableMapBase, [A.LimitedMapView, A.PrefixedMapView, A.PublicMemberMapView, A.UnprefixedMapView, A.LimitedMapView0, A.PrefixedMapView0, A.PublicMemberMapView0, A.UnprefixedMapView0]);
  116277. _inheritMany(A.Value, [A.SassList, A.SassBoolean, A.SassCalculation, A.SassColor, A.SassFunction, A.SassMap, A.SassMixin, A._SassNull, A.SassNumber, A.SassString]);
  116278. _inherit(A.SassArgumentList, A.SassList);
  116279. _inheritMany(A.SassNumber, [A.ComplexSassNumber, A.SingleUnitSassNumber, A.UnitlessSassNumber]);
  116280. _inherit(A._MakeExpressionCalculationSafe, A.__MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor);
  116281. _inherit(A._FindDependenciesVisitor, A.__FindDependenciesVisitor_Object_RecursiveStatementVisitor);
  116282. _inherit(A.SingleMapping, A.Mapping);
  116283. _inherit(A.FileLocation, A.SourceLocationMixin);
  116284. _inheritMany(A.SourceSpanMixin, [A._FileSpan, A.SourceSpanBase]);
  116285. _inherit(A.MultiSourceSpanFormatException, A.MultiSourceSpanException);
  116286. _inherit(A.SourceSpanWithContext, A.SourceSpanBase);
  116287. _inherit(A.StringScannerException, A.SourceSpanFormatException);
  116288. _inheritMany(A.StringScanner, [A.LineScanner, A.SpanScanner]);
  116289. _inheritMany(A.Value0, [A.SassList0, A.SassBoolean0, A.SassCalculation0, A.SassColor0, A.SassNumber0, A.SassFunction0, A.SassMap0, A.SassMixin0, A._SassNull0, A.SassString0]);
  116290. _inherit(A.SassArgumentList0, A.SassList0);
  116291. _inheritMany(A.AsyncImporter0, [A.JSToDartAsyncImporter, A.JSToDartAsyncFileImporter, A.Importer0]);
  116292. _inheritMany(A.Parser1, [A.AtRootQueryParser0, A.StylesheetParser0, A.KeyframeSelectorParser0, A.MediaQueryParser0, A.SelectorParser0]);
  116293. _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]);
  116294. _inheritMany(A.CssNode0, [A.ModifiableCssNode0, A.CssParentNode0]);
  116295. _inheritMany(A.ModifiableCssNode0, [A.ModifiableCssParentNode0, A.ModifiableCssComment0, A.ModifiableCssDeclaration0, A.ModifiableCssImport0]);
  116296. _inheritMany(A.ModifiableCssParentNode0, [A.ModifiableCssAtRule0, A.ModifiableCssKeyframeBlock0, A.ModifiableCssMediaRule0, A.ModifiableCssStyleRule0, A.ModifiableCssStylesheet0, A.ModifiableCssSupportsRule0]);
  116297. _inheritMany(A.Selector0, [A.SimpleSelector0, A.ComplexSelector0, A.CompoundSelector0, A.SelectorList0]);
  116298. _inheritMany(A.SimpleSelector0, [A.AttributeSelector0, A.ClassSelector0, A.IDSelector0, A.ParentSelector0, A.PlaceholderSelector0, A.PseudoSelector0, A.TypeSelector0, A.UniversalSelector0]);
  116299. _inherit(A.CompileStringOptions, A.CompileOptions);
  116300. _inherit(A.AsyncCompiler, A.Compiler);
  116301. _inheritMany(A.SassNumber0, [A.ComplexSassNumber0, A.SingleUnitSassNumber0, A.UnitlessSassNumber0]);
  116302. _inherit(A.ExplicitConfiguration0, A.Configuration0);
  116303. _inheritMany(A.CallableDeclaration0, [A.ContentBlock0, A.FunctionRule0, A.MixinRule0]);
  116304. _inheritMany(A.StylesheetParser0, [A.ScssParser0, A.SassParser0]);
  116305. _inherit(A.CssParser0, A.ScssParser0);
  116306. _inheritMany(A.LoggerWithDeprecationType, [A.DeprecationProcessingLogger0, A.JSToDartLogger]);
  116307. _inherit(A._NodeException, A.JsError);
  116308. _inheritMany(A.SassException0, [A.MultiSpanSassException0, A.SassRuntimeException0, A.SassFormatException0]);
  116309. _inheritMany(A.MultiSpanSassException0, [A.MultiSpanSassRuntimeException0, A.MultiSpanSassFormatException0]);
  116310. _inherit(A.MultiSpanSassScriptException0, A.SassScriptException0);
  116311. _inherit(A._MakeExpressionCalculationSafe0, A.__MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor0);
  116312. _inheritMany(A.Importer0, [A.JSToDartFileImporter, A.FilesystemImporter0, A.NoOpImporter0, A.NodePackageImporter0, A.JSToDartImporter]);
  116313. _inheritMany(A.IfRuleClause0, [A.IfClause0, A.ElseClause0]);
  116314. _inherit(A._ParentSelectorVisitor0, A.__ParentSelectorVisitor_Object_SelectorSearchVisitor0);
  116315. _inherit(A.MergedExtension0, A.Extension0);
  116316. _inherit(A._HasContentVisitor0, A.__HasContentVisitor_Object_StatementSearchVisitor0);
  116317. _inherit(A._IsInvisibleVisitor1, A.__IsInvisibleVisitor_Object_EveryCssVisitor0);
  116318. _inherit(A._IsInvisibleVisitor2, A.__IsInvisibleVisitor_Object_AnySelectorVisitor0);
  116319. _inherit(A._IsBogusVisitor0, A.__IsBogusVisitor_Object_AnySelectorVisitor0);
  116320. _inherit(A._IsUselessVisitor0, A.__IsUselessVisitor_Object_AnySelectorVisitor0);
  116321. _inherit(A.CssStylesheet0, A.CssParentNode0);
  116322. _mixin(A.UnmodifiableListBase, A.UnmodifiableListMixin);
  116323. _mixin(A.__CastListBase__CastIterableBase_ListMixin, A.ListBase);
  116324. _mixin(A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin, A.ListBase);
  116325. _mixin(A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin, A.FixedLengthListMixin);
  116326. _mixin(A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin, A.ListBase);
  116327. _mixin(A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin, A.FixedLengthListMixin);
  116328. _mixin(A._AsyncStreamController, A._AsyncStreamControllerDispatch);
  116329. _mixin(A._SyncStreamController, A._SyncStreamControllerDispatch);
  116330. _mixin(A.UnmodifiableMapBase, A._UnmodifiableMapMixin);
  116331. _mixin(A._UnmodifiableMapView_MapView__UnmodifiableMapMixin, A._UnmodifiableMapMixin);
  116332. _mixin(A._UnmodifiableSetView_SetBase__UnmodifiableSetMixin, A._UnmodifiableSetMixin);
  116333. _mixin(A._EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin, A.UnmodifiableSetMixin);
  116334. _mixin(A._QueueList_Object_ListMixin, A.ListBase);
  116335. _mixin(A._UnionSet_SetBase_UnmodifiableSetMixin, A.UnmodifiableSetMixin);
  116336. _mixin(A._UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin, A.UnmodifiableSetMixin);
  116337. _mixin(A._MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin, A.UnmodifiableSetMixin);
  116338. _mixin(A.__IsInvisibleVisitor_Object_EveryCssVisitor, A.EveryCssVisitor);
  116339. _mixin(A.__HasContentVisitor_Object_StatementSearchVisitor, A.StatementSearchVisitor);
  116340. _mixin(A.__IsBogusVisitor_Object_AnySelectorVisitor, A.AnySelectorVisitor);
  116341. _mixin(A.__IsInvisibleVisitor_Object_AnySelectorVisitor, A.AnySelectorVisitor);
  116342. _mixin(A.__IsUselessVisitor_Object_AnySelectorVisitor, A.AnySelectorVisitor);
  116343. _mixin(A.__ParentSelectorVisitor_Object_SelectorSearchVisitor, A.SelectorSearchVisitor);
  116344. _mixin(A.__MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor, A.ReplaceExpressionVisitor);
  116345. _mixin(A.__FindDependenciesVisitor_Object_RecursiveStatementVisitor, A.RecursiveStatementVisitor);
  116346. _mixin(A.__MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor0, A.ReplaceExpressionVisitor0);
  116347. _mixin(A.__ParentSelectorVisitor_Object_SelectorSearchVisitor0, A.SelectorSearchVisitor0);
  116348. _mixin(A.__HasContentVisitor_Object_StatementSearchVisitor0, A.StatementSearchVisitor0);
  116349. _mixin(A.__IsInvisibleVisitor_Object_EveryCssVisitor0, A.EveryCssVisitor0);
  116350. _mixin(A.__IsBogusVisitor_Object_AnySelectorVisitor0, A.AnySelectorVisitor0);
  116351. _mixin(A.__IsInvisibleVisitor_Object_AnySelectorVisitor0, A.AnySelectorVisitor0);
  116352. _mixin(A.__IsUselessVisitor_Object_AnySelectorVisitor0, A.AnySelectorVisitor0);
  116353. })();
  116354. var init = {
  116355. typeUniverse: {eC: new Map(), tR: {}, eT: {}, tPV: {}, sEA: []},
  116356. mangledGlobalNames: {int: "int", double: "double", num: "num", String: "String", bool: "bool", Null: "Null", List: "List", Object: "Object", Map: "Map"},
  116357. mangledNames: {},
  116358. types: ["~()", "Null()", "Future<Null>()", "Value0(List<Value0>)", "bool(String)", "String(String)", "Value(List<Value>)", "bool(CssNode)", "bool(CssNode0)", "bool(Object?)", "int()", "SassNumber(List<Value>)", "SassNumber0(List<Value0>)", "JSClass0()", "bool(SimpleSelector)", "bool(SimpleSelector0)", "bool(ComplexSelector)", "SassString(List<Value>)", "bool(ComplexSelector0)", "SassString0(List<Value0>)", "SassBoolean(List<Value>)", "SassBoolean0(List<Value0>)", "SassList0(List<Value0>)", "SassList(List<Value>)", "Future<~>()", "String()", "FileSpan()", "SassColor0(List<Value0>)", "bool(int?)", "SassColor(List<Value>)", "bool()", "Object?()", "Value()", "SassMap0(List<Value0>)", "~(Object?)", "Null(~())", "SassMap(List<Value>)", "Future<Null>(Future<~>())", "double(double)", "Value?()", "Value0?()", "Value0(Value0)", "Value(Value)", "Value0()", "String?()", "bool(int)", "Uri(Uri)", "bool(num,num)", "SassNumber0(SassNumber0)", "bool(Value0)", "bool(ComplexSelectorComponent)", "bool(ComplexSelectorComponent0)", "SassNumber(SassNumber)", "Null(Object,StackTrace)", "Null(@)", "double(double,double)", "ComplexSelector0(ComplexSelector0)", "ComplexSelector(ComplexSelector)", "~(Value)", "double(SassColor0)", "ValueExpression(Value)", "ValueExpression0(Value0)", "@()", "~(Value0)", "Object(Object)", "Future<Value0>()", "Future<Value?>()", "bool(Object)", "~(Object,StackTrace)", "Future<Value>()", "bool(SelectorList0)", "Frame()", "~(@)", "bool(Value)", "bool(SelectorList)", "Future<Value0?>()", "Value?(Statement)", "Callable0?()", "~(Module0<Callable0>,bool)", "List<CssMediaQuery>?(List<CssMediaQuery>)", "Object()", "SassRuntimeException(AstNode)", "~(Object)", "Value0?(Statement0)", "Frame(String)", "int(Uri)", "Future<Value?>(Statement)", "~(Module1<Callable>,bool)", "Callable?()", "Future<Value0>(List<Value0>)", "Null(_NodeSassColor,num)", "Stylesheet?()", "~(String)", "AsyncCallable0?()", "~(Value0,Value0)", "SassRuntimeException0(AstNode0)", "~([int?])", "~(String,Value)", "Future<Value0?>(Statement0)", "AsyncCallable?()", "~(String,Value0)", "List<CssMediaQuery0>?(List<CssMediaQuery0>)", "~(Value,Value)", "double(Value)", "Null([Object?])", "@(@)", "double(Value0)", "bool(Expression0)", "bool(ModifiableCssNode0)", "Null(Module1<AsyncCallable0>,bool)", "bool(Expression)", "bool(ModifiableCssNode)", "SassCalculation0(Object)", "~(String,@)", "bool(Module1<AsyncCallable0>)", "bool(_Highlight)", "Null(Module0<AsyncCallable>,bool)", "String(Object)", "int(SassColor0)", "+originalUrl(Importer,Uri,Uri)?()", "int(_NodeSassColor)", "String(String{color:Object?})", "~(String,Object?)", "bool(Module1<Callable>)", "Statement()", "String(@)", "List<String>()", "Map<ComplexSelector0,Extension0>()", "bool(@)", "Map<ComplexSelector,Extension>()", "bool(Module0<Callable0>)", "~(String,Function)", "Statement0()", "~(~())", "bool(Module0<AsyncCallable>)", "String(Expression0)", "String(Expression)", "SassFunction0(List<Value0>)", "String(Value0)", "SelectorList(Value)", "SelectorList(SelectorList,SelectorList)", "Uri?()", "Uri(String)", "int(String,String)", "String?(String?)", "String?(Object)", "Iterable<String>()", "Iterable<String>(String)", "Iterable<String>(@)", "DateTime()", "~(String[~])", "int(int)", "0&(String,FileSpan[StackTrace?])", "bool(Statement)", "bool(Import)", "VariableDeclaration()", "AtRootRule(List<Statement>,FileSpan)", "AtRule(List<Statement>,FileSpan)", "Set<0^>()<Object?>", "String(String{color:@})", "Entry(Entry)", "int(double)", "~(@,@)", "double(double,String)", "AstNode(AstNode)", "SassFunction(List<Value>)", "SassMixin(List<Value>)", "Future<~>(List<Value>)", "~(Object?,Object?)", "List<ExtensionStore>()", "@(String)", "bool(ModifiableCssParentNode)", "Future<SassNumber>()", "List<CssComment>()", "bool(UseRule)", "bool(ForwardRule)", "int(ComplexSelector)", "Future<String>()", "AsyncCallable?(Module0<AsyncCallable>)", "MapKeySet<Module0<AsyncCallable>>(Map<Module0<AsyncCallable>,AstNode>)", "Future<Object>()", "InterpolationMap(List<SourceLocation>)", "AstNode?()", "String(SassNumber)", "Map<String,AsyncCallable>(Module0<AsyncCallable>)", "~(List<Value>)", "SassNumber()", "Uri?/()", "double(SassNumber0,Object,Object[String?])", "double(double,double?,num)", "Value0?(Value0)", "Future<~>?()", "~(List<Value0>)", "double?(String,num{assertPercent:bool,checkPercent:bool,checkUnitless:bool})", "String(int)", "SelectorList0(Value0)", "Map<String,Callable>(Module1<Callable>)", "Callable?(Module1<Callable>)", "~(Iterable<ExtensionStore0>)", "Version(String)", "Set<0&>(Object)", "AsyncImporter0(Object?)", "Expression0(Expression0)", "int(ComplexSelector0)", "double(SassNumber0,SassNumber0[String?,String?])", "AtRule0(List<Statement0>,FileSpan)", "Future<NodeCompileResult>()", "Trace(String)", "AtRootRule0(List<Statement0>,FileSpan)", "bool(Queue<List<ComplexSelectorComponent>>)", "Object(CalculationOperation0)", "int(SourceLocation)", "String(FileSpan)", "0&(@[@])", "SelectorList0(SelectorList0,SelectorList0)", "SassNumber0(SassNumber0,SassNumber0[String?,String?])", "0&(Object[Object?])", "String(SassNumber0)", "AstNode0?()", "InterpolationMap0(List<SourceLocation>)", "FileLocation(FileSpan)", "List<Extension>()", "SassNumber0(SassNumber0,Object,Object[String?])", "bool(SassNumber0,String)", "ImmutableList0(SassNumber0)", "~(Iterable<ExtensionStore>)", "bool(ForwardRule0)", "bool(UseRule0)", "List<CssComment0>()", "Future<SassNumber0>()", "~(Uint8List,String,int)", "int(Object?)", "bool(ModifiableCssParentNode0)", "bool(SassNumber0)", "List<ExtensionStore0>()", "bool(Object?,Object?)", "Null(_NodeSassMap,int,Object)", "Map<String,Callable0>(Module0<Callable0>)", "Object(_NodeSassMap,int)", "Value0(int)", "SassNumber0()", "SassMixin0(List<Value0>)", "~(Object[StackTrace?])", "MapKeySet<Module1<Callable>>(Map<Module1<Callable>,AstNode0>)", "@(Value0,num)", "bool(Import0)", "MapKeySet<Module0<Callable0>>(Map<Module0<Callable0>,AstNode>)", "Callable0?(Module0<Callable0>)", "AstNode0(AstNode0)", "bool(Statement0)", "bool(Queue<List<ComplexSelectorComponent0>>)", "List<Extension0>()", "Map<String,AsyncCallable0>(Module1<AsyncCallable0>)", "int(@,@)", "int(int,double?)", "MapKeySet<Module1<AsyncCallable0>>(Map<Module1<AsyncCallable0>,AstNode0>)", "AsyncCallable0?(Module1<AsyncCallable0>)", "bool(String?)", "Future<Value>(List<Value>)", "~([Object?])", "bool(Frame)", "Trace()", "String(_NodeException)", "String(Frame)", "int(Frame)", "Expression(Expression)", "Future<~>(List<Value0>)", "~(ContentBlock)", "~(List<Statement>)", "Value(Expression)", "Future<Stylesheet?>()", "~(CssMediaQuery)", "~(SelectorList)", "~(MapEntry<Value,Value>)", "SourceFile()", "SourceFile?(int)", "String?(SourceFile?)", "int(_Line)", "bool(+originalUrl(AsyncImporter,Uri,Uri))", "Object(_Line)", "Object(_Highlight)", "int(_Highlight,_Highlight)", "List<_Line>(MapEntry<Object,List<_Highlight>>)", "SourceSpanWithContext()", "List<Frame>(Trace)", "int(Trace)", "UserDefinedCallable<Environment>(ContentBlock)", "String(Trace)", "Value?(IfRuleClause)", "Uri(+originalUrl(AsyncImporter,Uri,Uri))", "Frame(String,String)", "CssValue<String>(Interpolation)", "Future<+originalUrl(AsyncImporter,Uri,Uri)?>()", "Frame(Frame)", "int(int,int)", "Value?(Value)", "~(Module0<Callable0>)", "String(Argument0)", "Uint8List(@,@)", "SassArgumentList0(Object,Object,Object[String?])", "ImmutableMap0(SassArgumentList0)", "bool(Deprecation)", "Module0<Callable0>()", "Value0?(Module1<AsyncCallable0>)", "Module1<AsyncCallable0>?(Module1<AsyncCallable0>)", "+loadedUrls,stylesheet(Set<Uri>,CssStylesheet)()", "~(String,int?)", "Map<String,Value0>(Module1<AsyncCallable0>)", "Map<String,AstNode0>(Module1<AsyncCallable0>)", "CssValue<String>(Interpolation{trim:bool,warnForColor:bool})", "Module0<Callable0>?(Module0<Callable0>)", "Future<CssValue0<String>>(Interpolation0{trim:bool,warnForColor:bool})", "Map<String,AstNode>(Module0<AsyncCallable>)", "Map<String,Value>(Module0<AsyncCallable>)", "Value/()", "Future<Value>(Expression)", "Map<String,Value>(Module0<Callable0>)", "Module0<AsyncCallable>?(Module0<AsyncCallable>)", "Value?(Module0<AsyncCallable>)", "Map<String,AstNode>(Module0<Callable0>)", "~(Module1<AsyncCallable0>,bool)", "Future<+loadedUrls,stylesheet(Set<Uri>,CssStylesheet0)>()", "Future<Module1<AsyncCallable0>>()", "UserDefinedCallable<AsyncEnvironment>(ContentBlock)", "~(Module1<AsyncCallable0>)", "Future<Value?>(IfRuleClause)", "~(String,int)", "SimpleSelector(SimpleSelector)", "ArgParser()", "Future<Value0?>(Value0)", "Set<Deprecation>()", "Future<CssValue0<String>>(Interpolation0)", "Future<~>(String)", "Future<CssValue<String>>(Interpolation)", "List<WatchEvent>(List<WatchEvent>)", "~(Symbol0,@)", "Future<Value0?>(IfRuleClause0)", "Future<Value?>(Value)", "Iterable<ComplexSelector>(ComplexSelector)", "UserDefinedCallable0<AsyncEnvironment0>(ContentBlock0)", "SassList(ComplexSelector)", "bool(Extension)", "Set<ModifiableBox<SelectorList>>()", "Object?(Object?)", "~(Module0<AsyncCallable>)", "Iterable<ComplexSelector>(List<ComplexSelector>)", "Future<Value0>(Expression0)", "List<SimpleSelector>(Extender)", "Value0/()", "List<Extender>?(SimpleSelector)", "List<Extender>(PseudoSelector)", "List<List<Extender>>(List<Extender>)", "Future<Module0<AsyncCallable>>()", "Future<+loadedUrls,stylesheet(Set<Uri>,CssStylesheet)>()", "~(Module0<AsyncCallable>,bool)", "Future<+originalUrl(AsyncImporter0,Uri,Uri)?>()", "Future<Stylesheet0?>()", "bool(+originalUrl(AsyncImporter0,Uri,Uri))", "Uri(+originalUrl(AsyncImporter0,Uri,Uri))", "AtRootQuery0()", "int(int,SimpleSelector)", "String(CssValue<Combinator>)", "List<ComplexSelector>(ComplexSelector)", "PseudoSelector(ComplexSelector)", "SassCalculation0(Object[Object?,Object?])", "SassCalculation0(SassCalculation0[String?])", "ImmutableList(SassCalculation0)", "Object(Object,String,Object,Object)", "bool(CalculationOperator0)", "bool(CalculationOperation0,Object)", "int(CalculationOperation0)", "String(CalculationOperation0)", "int(int,ComplexSelectorComponent)", "CalculationInterpolation(Object,String)", "bool(CalculationInterpolation,Object)", "int(CalculationInterpolation)", "String(CalculationInterpolation)", "bool(CanonicalizeContext0)", "JSUrl0?(CanonicalizeContext0)", "~(SimpleSelector,Set<ModifiableBox<SelectorList>>)", "List<ComplexSelectorComponent>?(List<ComplexSelectorComponent>,List<ComplexSelectorComponent>)", "SingleUnitSassNumber(double)", "bool(List<Iterable<ComplexSelectorComponent>>)", "bool(PseudoSelector)", "Value?(Module0<Callable0>)", "0&(List<Value0>)", "SassColor0(Object,_Channels)", "SassColor0(SassColor0,_Channels)", "SelectorList?(PseudoSelector)", "@(@,String)", "Null(_NodeSassColor,num?[num?,num?,num?,SassColor0?])", "~(String,Option)", "double(_NodeSassColor)", "_Future<@>(@)", "SassScriptException()", "DateTime(StylesheetNode)", "AsyncImporter0(JSImporter)", "0&(@)", "Null(@,@)", "Iterable<Deprecation0>()", "NodePackageImporter0(Object[String?])", "StringExpression(Interpolation)", "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)", "Version(Object,int,int,int)", "~(BinaryOperator)", "~(Expression)", "Value0?(Module1<Callable>)", "Module1<Callable>?(Module1<Callable>)", "WhileRule(List<Statement>,FileSpan)", "Object(Value0)", "Map<String,Value0>(Module1<Callable>)", "Map<String,AstNode0>(Module1<Callable>)", "SupportsRule(List<Statement>,FileSpan)", "MixinRule(List<Statement>,FileSpan)", "CssValue0<String>(Interpolation0{trim:bool,warnForColor:bool})", "MediaRule(List<Statement>,FileSpan)", "ContentBlock(List<Statement>,FileSpan)", "ForRule(List<Statement>,FileSpan)", "+loadedUrls,stylesheet(Set<Uri>,CssStylesheet0)()", "Module1<Callable>()", "~(Module1<Callable>)", "FunctionRule(List<Statement>,FileSpan)", "EachRule(List<Statement>,FileSpan)", "CssValue0<String>(Interpolation0)", "Declaration(List<Statement>,FileSpan)", "Value0?(IfRuleClause0)", "UserDefinedCallable0<Environment0>(ContentBlock0)", "Value0(Expression0)", "StyleRule(List<Statement>,FileSpan)", "FileSpan(_NodeException)", "bool(Extension0)", "Set<ModifiableBox0<SelectorList0>>()", "UseRule()", "ArgumentDeclaration()", "Iterable<ComplexSelector0>(List<ComplexSelector0>)", "String(Value)", "List<SimpleSelector0>(Extender0)", "List<Extender0>?(SimpleSelector0)", "List<Extender0>(PseudoSelector0)", "List<List<Extender0>>(List<Extender0>)", "List<ComplexSelector0>(ComplexSelector0)", "PseudoSelector0(ComplexSelector0)", "~(SimpleSelector0,Set<ModifiableBox0<SelectorList0>>)", "SassFunction0(Object,String,Value0(List<Value0>))", "List<ComplexSelectorComponent0>?(List<ComplexSelectorComponent0>,List<ComplexSelectorComponent0>)", "VariableDeclaration(VariableDeclaration)", "bool(List<Iterable<ComplexSelectorComponent0>>)", "0&(List<Value>)", "bool(PseudoSelector0)", "SelectorList0?(PseudoSelector0)", "String(int,IfClause0)", "Statement?()", "Stylesheet()", "~(Object?,Object,Object?)", "+(String,String)(String)", "Future<~>(List<String>)", "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)", "Null(@,StackTrace)", "List<Value0>(Value0)", "bool(List<Value0>)", "SassList0(ComplexSelector0)", "Iterable<ComplexSelector0>(ComplexSelector0)", "SimpleSelector0(SimpleSelector0)", "SassList0(Object[Object?,_ConstructorOptions?])", "Expression({bracketList:bool,singleEquals:bool,until:bool()?})", "Null(_NodeSassList,int?[bool?,SassList0?])", "Statement({root:bool})", "Object(_NodeSassList,int)", "Null(_NodeSassList,int,Object)", "bool(_NodeSassList)", "Null(_NodeSassList,bool)", "int(_NodeSassList)", "SassMap0(Value0)", "SassMap0(SassMap0)", "SassMap0(Object[ImmutableMap0?])", "ImmutableMap0(SassMap0)", "@(SassMap0,Object)", "Null(_NodeSassMap,int?[SassMap0?])", "SassNumber0(int)", "CompoundSelector()", "int(_NodeSassMap)", "SelectorList()", "SassNumber0(Value0)", "List<CssMediaQuery0>()", "Value0(Object)", "0&(Object)", "SassNumber0(Object,num[Object?])", "double(SassNumber0)", "String(int,IfClause)", "int?(SassNumber0)", "List<CssMediaQuery>()", "int(SassNumber0[String?])", "double(SassNumber0,num,num[String?])", "SassNumber0(SassNumber0[String?])", "SassNumber0(SassNumber0,String[String?])", "String(BuiltInCallable)", "AtRootQuery()", "~(int,@)", "~(@,StackTrace)", "~([Future<~>?])", "Null(_NodeSassNumber,num?[String?,SassNumber0?])", "double(_NodeSassNumber)", "Null(_NodeSassNumber,num)", "String(_NodeSassNumber)", "Null(_NodeSassNumber,String)", "SassScriptException0()", "String(Argument)", "String(Object,@,@[@])", "List<Value>(Value)", "Future<@>()", "bool(Version)", "Object(String)", "SassString0(SimpleSelector0)", "SelectorList0()", "CompoundSelector0()", "~(CssMediaQuery0)", "~(SelectorList0)", "~(MapEntry<Value0,Value0>)", "SingleUnitSassNumber0(double)", "bool(+forImport(Importer,Uri,bool),+originalUrl(Importer,Uri,Uri)?)", "JSUrl0?(FileSpan)", "Uri(+originalUrl(Importer,Uri,Uri))", "bool(+originalUrl(Importer,Uri,Uri))", "SassString0(int)", "SassString0(String)", "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})", "bool(List<Value>)", "Stylesheet0()", "Statement0?()", "VariableDeclaration0(VariableDeclaration0)", "ArgumentDeclaration0()", "+(String,ArgumentDeclaration0)()", "VariableDeclaration0()", "StyleRule0(List<Statement0>,FileSpan)", "Declaration0(List<Statement0>,FileSpan)", "int(String?)", "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(String?,String?)", "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?])", "SassString(String)", "SassString(int)", "~(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?>?)", "SassString(SimpleSelector)", "Value(Object)", "0^(0^,0^)<num>", "Null(Function,Function)", "SassNumber(Value)", "~(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)", "Uri(JSUrl0)", "JSUrl0(Uri)", "String(String[String?,String?,String?,String?,String?,String?,String?,String?,String?,String?,String?,String?,String?,String?])", "String(Object?)", "String(String?)", "SassMap(Value)", "int(num)", "SassMap(SassMap)", "+originalUrl(Importer0,Uri,Uri)?()", "Future<CssValue<String>>(Interpolation{trim:bool,warnForColor:bool})"],
  116359. interceptorsByTag: null,
  116360. leafTags: null,
  116361. arrayRti: Symbol("$ti"),
  116362. rttc: {
  116363. "1;": t1 => o => o instanceof A._Record_1 && t1._is(o._0),
  116364. "2;": (t1, t2) => o => o instanceof A._Record_2 && t1._is(o._0) && t2._is(o._1),
  116365. "2;forImport": (t1, t2) => o => o instanceof A._Record_2_forImport && t1._is(o._0) && t2._is(o._1),
  116366. "2;sourceMap": (t1, t2) => o => o instanceof A._Record_2_sourceMap && t1._is(o._0) && t2._is(o._1),
  116367. "2;imports,modules": (t1, t2) => o => o instanceof A._Record_2_imports_modules && t1._is(o._0) && t2._is(o._1),
  116368. "2;loadedUrls,stylesheet": (t1, t2) => o => o instanceof A._Record_2_loadedUrls_stylesheet && t1._is(o._0) && t2._is(o._1),
  116369. "3;": (t1, t2, t3) => o => o instanceof A._Record_3 && t1._is(o._0) && t2._is(o._1) && t3._is(o._2),
  116370. "3;forImport": (t1, t2, t3) => o => o instanceof A._Record_3_forImport && t1._is(o._0) && t2._is(o._1) && t3._is(o._2),
  116371. "3;originalUrl": (t1, t2, t3) => o => o instanceof A._Record_3_originalUrl && t1._is(o._0) && t2._is(o._1) && t3._is(o._2),
  116372. "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),
  116373. "5;named,namedNodes,positional,positionalNodes,separator": types => o => o instanceof A._Record_5_named_namedNodes_positional_positionalNodes_separator && A.pairwiseIsTest(types, o._values)
  116374. }
  116375. };
  116376. 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","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","_Channels":"LegacyJavaScriptObject","_NodeSassColor":"LegacyJavaScriptObject","CompileOptions":"LegacyJavaScriptObject","CompileStringOptions":"LegacyJavaScriptObject","NodeCompileResult":"LegacyJavaScriptObject","Deprecation1":"LegacyJavaScriptObject","_NodeException":"LegacyJavaScriptObject","Exports":"LegacyJavaScriptObject","LoggerNamespace":"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","JSClass0":"LegacyJavaScriptObject","RenderContext0":"LegacyJavaScriptObject","RenderContextOptions0":"LegacyJavaScriptObject","RenderContextResult0":"LegacyJavaScriptObject","RenderContextResultStats0":"LegacyJavaScriptObject","RenderOptions":"LegacyJavaScriptObject","RenderResult":"LegacyJavaScriptObject","RenderResultStats":"LegacyJavaScriptObject","_Exports":"LegacyJavaScriptObject","_ConstructorOptions1":"LegacyJavaScriptObject","_NodeSassString":"LegacyJavaScriptObject","Types":"LegacyJavaScriptObject","JSUrl0":"LegacyJavaScriptObject","_PropertyDescriptor0":"LegacyJavaScriptObject","_RequireMain0":"LegacyJavaScriptObject","JSBool":{"bool":[],"TrustedGetRuntimeType":[]},"JSNull":{"Null":[],"TrustedGetRuntimeType":[]},"LegacyJavaScriptObject":{"Promise":[],"JsSystemError":[],"ImmutableList":[],"_Channels":[],"_NodeSassColor":[],"CompileOptions":[],"CompileStringOptions":[],"NodeCompileResult":[],"Deprecation1":[],"_NodeException":[],"Fiber":[],"JSFunction0":[],"ImmutableList0":[],"ImmutableMap0":[],"JSImporter":[],"JSImporterResult":[],"NodeImporterResult0":[],"_ConstructorOptions":[],"_NodeSassList":[],"WarnOptions":[],"DebugOptions":[],"_NodeSassMap":[],"_ConstructorOptions0":[],"_NodeSassNumber":[],"JSClass0":[],"RenderContextOptions0":[],"RenderOptions":[],"RenderResult":[],"_ConstructorOptions1":[],"_NodeSassString":[],"JSUrl0":[]},"JSArray":{"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"JSUnmodifiableArray":{"JSArray":["1"],"List":["1"],"EfficientLengthIterable":["1"],"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.V":"4","MapBase.K":"3"},"LateError":{"Error":[]},"ReachabilityError":{"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"},"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":[]},"_CyclicInitializationError":{"Error":[]},"RuntimeError":{"Error":[]},"JsLinkedHashMap":{"MapBase":["1","2"],"Map":["1","2"],"MapBase.V":"2","MapBase.K":"1"},"LinkedHashMapKeyIterable":{"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"JsIdentityLinkedHashMap":{"JsLinkedHashMap":["1","2"],"MapBase":["1","2"],"Map":["1","2"],"MapBase.V":"2","MapBase.K":"1"},"JsConstantLinkedHashMap":{"JsLinkedHashMap":["1","2"],"MapBase":["1","2"],"Map":["1","2"],"MapBase.V":"2","MapBase.K":"1"},"_MatchImplementation":{"RegExpMatch":[],"Match":[]},"_AllMatchesIterable":{"Iterable":["RegExpMatch"],"Iterable.E":"RegExpMatch"},"StringMatch":{"Match":[]},"_StringAllMatchesIterable":{"Iterable":["Match"],"Iterable.E":"Match"},"NativeByteBuffer":{"ByteBuffer":[],"TrustedGetRuntimeType":[]},"NativeByteData":{"ByteData":[],"TrustedGetRuntimeType":[]},"NativeTypedArray":{"JavaScriptIndexingBehavior":["1"]},"NativeTypedArrayOfDouble":{"ListBase":["double"],"List":["double"],"JavaScriptIndexingBehavior":["double"],"EfficientLengthIterable":["double"],"Iterable":["double"]},"NativeTypedArrayOfInt":{"ListBase":["int"],"List":["int"],"JavaScriptIndexingBehavior":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"]},"NativeFloat32List":{"NativeTypedArrayOfDouble":[],"ListBase":["double"],"Float32List":[],"List":["double"],"JavaScriptIndexingBehavior":["double"],"EfficientLengthIterable":["double"],"Iterable":["double"],"TrustedGetRuntimeType":[],"ListBase.E":"double"},"NativeFloat64List":{"NativeTypedArrayOfDouble":[],"ListBase":["double"],"Float64List":[],"List":["double"],"JavaScriptIndexingBehavior":["double"],"EfficientLengthIterable":["double"],"Iterable":["double"],"TrustedGetRuntimeType":[],"ListBase.E":"double"},"NativeInt16List":{"NativeTypedArrayOfInt":[],"ListBase":["int"],"Int16List":[],"List":["int"],"JavaScriptIndexingBehavior":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"TrustedGetRuntimeType":[],"ListBase.E":"int"},"NativeInt32List":{"NativeTypedArrayOfInt":[],"ListBase":["int"],"Int32List":[],"List":["int"],"JavaScriptIndexingBehavior":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"TrustedGetRuntimeType":[],"ListBase.E":"int"},"NativeInt8List":{"NativeTypedArrayOfInt":[],"ListBase":["int"],"Int8List":[],"List":["int"],"JavaScriptIndexingBehavior":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"TrustedGetRuntimeType":[],"ListBase.E":"int"},"NativeUint16List":{"NativeTypedArrayOfInt":[],"ListBase":["int"],"Uint16List":[],"List":["int"],"JavaScriptIndexingBehavior":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"TrustedGetRuntimeType":[],"ListBase.E":"int"},"NativeUint32List":{"NativeTypedArrayOfInt":[],"ListBase":["int"],"Uint32List":[],"List":["int"],"JavaScriptIndexingBehavior":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"TrustedGetRuntimeType":[],"ListBase.E":"int"},"NativeUint8ClampedList":{"NativeTypedArrayOfInt":[],"ListBase":["int"],"Uint8ClampedList":[],"List":["int"],"JavaScriptIndexingBehavior":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"TrustedGetRuntimeType":[],"ListBase.E":"int"},"NativeUint8List":{"NativeTypedArrayOfInt":[],"ListBase":["int"],"Uint8List":[],"List":["int"],"JavaScriptIndexingBehavior":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"TrustedGetRuntimeType":[],"ListBase.E":"int"},"_Error":{"Error":[]},"_TypeError":{"TypeError":[],"Error":[]},"AsyncError":{"Error":[]},"_Future":{"Future":["1"]},"_SyncStarIterable":{"Iterable":["1"],"Iterable.E":"1"},"_AsyncCompleter":{"_Completer":["1"]},"_SyncCompleter":{"_Completer":["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"},"_ExpandStream":{"_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.V":"2","MapBase.K":"1"},"_IdentityHashMap":{"_HashMap":["1","2"],"MapBase":["1","2"],"Map":["1","2"],"MapBase.V":"2","MapBase.K":"1"},"_HashMapKeyIterable":{"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"_LinkedCustomHashMap":{"JsLinkedHashMap":["1","2"],"MapBase":["1","2"],"Map":["1","2"],"MapBase.V":"2","MapBase.K":"1"},"_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.V":"@","MapBase.K":"String"},"_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":[]},"Argument":{"AstNode":[]},"ArgumentDeclaration":{"AstNode":[]},"ArgumentInvocation":{"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":[]},"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.V":"2","MapBase.K":"1"},"MergedMapView":{"MapBase":["1","2"],"Map":["1","2"],"MapBase.V":"2","MapBase.K":"1"},"MultiSpan":{"FileSpan":[],"SourceSpanWithContext":[],"SourceSpan":[],"Comparable":["SourceSpan"]},"PrefixedMapView":{"MapBase":["String","1"],"Map":["String","1"],"MapBase.V":"1","MapBase.K":"String"},"_PrefixedKeys":{"Iterable":["String"],"Iterable.E":"String"},"PublicMemberMapView":{"MapBase":["String","1"],"Map":["String","1"],"MapBase.V":"1","MapBase.K":"String"},"UnprefixedMapView":{"MapBase":["String","1"],"Map":["String","1"],"MapBase.V":"1","MapBase.K":"String"},"_UnprefixedKeys":{"Iterable":["String"],"Iterable.E":"String"},"SassArgumentList":{"SassList":[],"Value":[]},"SassBoolean":{"Value":[]},"SassCalculation":{"Value":[]},"SassColor":{"Value":[]},"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":[]},"SupportsAnything0":{"AstNode0":[]},"Argument0":{"AstNode0":[]},"ArgumentDeclaration0":{"AstNode0":[]},"ArgumentInvocation0":{"AstNode0":[]},"SassArgumentList0":{"SassList0":[],"Value0":[]},"JSToDartAsyncImporter":{"AsyncImporter0":[]},"AsyncBuiltInCallable0":{"AsyncCallable0":[]},"_EnvironmentModule2":{"Module1":["AsyncCallable0"]},"_EvaluationContext2":{"EvaluationContext0":[]},"JSToDartAsyncFileImporter":{"AsyncImporter0":[]},"AtRootRule0":{"Statement0":[],"AstNode0":[]},"ModifiableCssAtRule0":{"ModifiableCssParentNode0":[],"ModifiableCssNode0":[],"CssParentNode0":[],"CssNode0":[],"AstNode0":[]},"AtRule0":{"Statement0":[],"AstNode0":[]},"AttributeSelector0":{"SimpleSelector0":[],"AstNode0":[]},"BinaryOperationExpression0":{"Expression0":[],"AstNode0":[]},"BooleanExpression0":{"Expression0":[],"AstNode0":[]},"SassBoolean0":{"Value0":[]},"BuiltInCallable0":{"Callable":[],"AsyncBuiltInCallable0":[],"AsyncCallable0":[]},"BuiltInModule0":{"Module1":["1"]},"SassCalculation0":{"Value0":[]},"CallableDeclaration0":{"Statement0":[],"AstNode0":[]},"ClassSelector0":{"SimpleSelector0":[],"AstNode0":[]},"ColorExpression0":{"Expression0":[],"AstNode0":[]},"SassColor0":{"Value0":[]},"ModifiableCssComment0":{"ModifiableCssNode0":[],"CssComment0":[],"CssNode0":[],"AstNode0":[]},"AsyncCompiler":{"Compiler":[]},"ComplexSassNumber0":{"SassNumber0":[],"Value0":[]},"ComplexSelector0":{"AstNode0":[]},"CompoundSelector0":{"AstNode0":[]},"ExplicitConfiguration0":{"Configuration0":[]},"ConfiguredVariable0":{"AstNode0":[]},"ContentBlock0":{"Statement0":[],"AstNode0":[]},"ContentRule0":{"Statement0":[],"AstNode0":[]},"DebugRule0":{"Statement0":[],"AstNode0":[]},"ModifiableCssDeclaration0":{"ModifiableCssNode0":[],"CssNode0":[],"AstNode0":[]},"Declaration0":{"Statement0":[],"AstNode0":[]},"SupportsDeclaration0":{"AstNode0":[]},"DynamicImport0":{"Import0":[],"AstNode0":[]},"EachRule0":{"Statement0":[],"AstNode0":[]},"EmptyExtensionStore0":{"ExtensionStore0":[]},"_EnvironmentModule1":{"Module1":["Callable"]},"ErrorRule0":{"Statement0":[],"AstNode0":[]},"_EvaluationContext1":{"EvaluationContext0":[]},"SassRuntimeException0":{"Exception":[]},"SassException0":{"Exception":[]},"MultiSpanSassException0":{"Exception":[]},"MultiSpanSassRuntimeException0":{"SassRuntimeException0":[],"Exception":[]},"SassFormatException0":{"SourceSpanFormatException":[],"FormatException":[],"Exception":[]},"MultiSpanSassFormatException0":{"MultiSourceSpanFormatException":[],"SassFormatException0":[],"SourceSpanFormatException":[],"FormatException":[],"Exception":[]},"Expression0":{"AstNode0":[]},"ExtendRule0":{"Statement0":[],"AstNode0":[]},"JSToDartFileImporter":{"Importer0":[],"AsyncImporter0":[]},"FilesystemImporter0":{"Importer0":[],"AsyncImporter0":[]},"ForRule0":{"Statement0":[],"AstNode0":[]},"ForwardRule0":{"Statement0":[],"AstNode0":[]},"ForwardedModuleView0":{"Module1":["1"]},"FunctionExpression0":{"Expression0":[],"AstNode0":[]},"SupportsFunction0":{"AstNode0":[]},"SassFunction0":{"Value0":[]},"FunctionRule0":{"Statement0":[],"AstNode0":[]},"IDSelector0":{"SimpleSelector0":[],"AstNode0":[]},"IfExpression0":{"Expression0":[],"AstNode0":[]},"IfClause0":{"IfRuleClause0":[]},"ElseClause0":{"IfRuleClause0":[]},"IfRule0":{"Statement0":[],"AstNode0":[]},"ModifiableCssImport0":{"ModifiableCssNode0":[],"CssNode0":[],"AstNode0":[]},"ImportRule0":{"Statement0":[],"AstNode0":[]},"Importer0":{"AsyncImporter0":[]},"IncludeRule0":{"Statement0":[],"AstNode0":[]},"InterpolatedFunctionExpression0":{"Expression0":[],"AstNode0":[]},"Interpolation0":{"AstNode0":[]},"SupportsInterpolation0":{"AstNode0":[]},"ModifiableCssKeyframeBlock0":{"ModifiableCssParentNode0":[],"ModifiableCssNode0":[],"CssParentNode0":[],"CssNode0":[],"AstNode0":[]},"LazyFileSpan0":{"FileSpan":[],"SourceSpanWithContext":[],"SourceSpan":[],"Comparable":["SourceSpan"]},"LimitedMapView0":{"MapBase":["1","2"],"Map":["1","2"],"MapBase.V":"2","MapBase.K":"1"},"ListExpression0":{"Expression0":[],"AstNode0":[]},"SelectorList0":{"AstNode0":[]},"_ParentSelectorVisitor0":{"SelectorSearchVisitor0":["ParentSelector0"],"SelectorSearchVisitor0.T":"ParentSelector0"},"SassList0":{"Value0":[]},"LoudComment0":{"Statement0":[],"AstNode0":[]},"MapExpression0":{"Expression0":[],"AstNode0":[]},"SassMap0":{"Value0":[]},"ModifiableCssMediaRule0":{"ModifiableCssParentNode0":[],"ModifiableCssNode0":[],"CssParentNode0":[],"CssNode0":[],"AstNode0":[]},"MediaRule0":{"Statement0":[],"AstNode0":[]},"MergedExtension0":{"Extension0":[]},"MergedMapView0":{"MapBase":["1","2"],"Map":["1","2"],"MapBase.V":"2","MapBase.K":"1"},"SassMixin0":{"Value0":[]},"MixinRule0":{"Statement0":[],"AstNode0":[]},"_HasContentVisitor0":{"StatementSearchVisitor0":["bool"],"StatementSearchVisitor0.T":"bool"},"MultiSpan0":{"FileSpan":[],"SourceSpanWithContext":[],"SourceSpan":[],"Comparable":["SourceSpan"]},"SupportsNegation0":{"AstNode0":[]},"NoOpImporter0":{"Importer0":[],"AsyncImporter0":[]},"_FakeAstNode0":{"AstNode0":[]},"CssNode0":{"AstNode0":[]},"CssParentNode0":{"CssNode0":[],"AstNode0":[]},"ModifiableCssNode0":{"CssNode0":[],"AstNode0":[]},"ModifiableCssParentNode0":{"ModifiableCssNode0":[],"CssParentNode0":[],"CssNode0":[],"AstNode0":[]},"NodePackageImporter0":{"Importer0":[],"AsyncImporter0":[]},"NullExpression0":{"Expression0":[],"AstNode0":[]},"_SassNull0":{"Value0":[]},"NumberExpression0":{"Expression0":[],"AstNode0":[]},"SassNumber0":{"Value0":[]},"SupportsOperation0":{"AstNode0":[]},"ParentSelector0":{"SimpleSelector0":[],"AstNode0":[]},"ParentStatement0":{"Statement0":[],"AstNode0":[]},"ParenthesizedExpression0":{"Expression0":[],"AstNode0":[]},"PlaceholderSelector0":{"SimpleSelector0":[],"AstNode0":[]},"PlainCssCallable0":{"Callable":[],"AsyncCallable0":[]},"PrefixedMapView0":{"MapBase":["String","1"],"Map":["String","1"],"MapBase.V":"1","MapBase.K":"String"},"_PrefixedKeys0":{"Iterable":["String"],"Iterable.E":"String"},"PseudoSelector0":{"SimpleSelector0":[],"AstNode0":[]},"PublicMemberMapView0":{"MapBase":["String","1"],"Map":["String","1"],"MapBase.V":"1","MapBase.K":"String"},"ReturnRule0":{"Statement0":[],"AstNode0":[]},"Selector0":{"AstNode0":[]},"SelectorExpression0":{"Expression0":[],"AstNode0":[]},"ShadowedModuleView0":{"Module1":["1"]},"SilentComment0":{"Statement0":[],"AstNode0":[]},"SimpleSelector0":{"AstNode0":[]},"SingleUnitSassNumber0":{"SassNumber0":[],"Value0":[]},"StaticImport0":{"Import0":[],"AstNode0":[]},"StringExpression0":{"Expression0":[],"AstNode0":[]},"SassString0":{"Value0":[]},"ModifiableCssStyleRule0":{"ModifiableCssParentNode0":[],"ModifiableCssNode0":[],"CssParentNode0":[],"CssNode0":[],"AstNode0":[]},"StyleRule0":{"Statement0":[],"AstNode0":[]},"CssStylesheet0":{"CssParentNode0":[],"CssNode0":[],"AstNode0":[]},"ModifiableCssStylesheet0":{"ModifiableCssParentNode0":[],"CssStylesheet0":[],"ModifiableCssNode0":[],"CssParentNode0":[],"CssNode0":[],"AstNode0":[]},"Stylesheet0":{"Statement0":[],"AstNode0":[]},"SupportsExpression0":{"Expression0":[],"AstNode0":[]},"ModifiableCssSupportsRule0":{"ModifiableCssParentNode0":[],"ModifiableCssNode0":[],"CssParentNode0":[],"CssNode0":[],"AstNode0":[]},"SupportsRule0":{"Statement0":[],"AstNode0":[]},"JSToDartImporter":{"Importer0":[],"AsyncImporter0":[]},"TypeSelector0":{"SimpleSelector0":[],"AstNode0":[]},"UnaryOperationExpression0":{"Expression0":[],"AstNode0":[]},"UnitlessSassNumber0":{"SassNumber0":[],"Value0":[]},"UniversalSelector0":{"SimpleSelector0":[],"AstNode0":[]},"UnprefixedMapView0":{"MapBase":["String","1"],"Map":["String","1"],"MapBase.V":"1","MapBase.K":"String"},"_UnprefixedKeys0":{"Iterable":["String"],"Iterable.E":"String"},"UseRule0":{"Statement0":[],"AstNode0":[]},"UserDefinedCallable0":{"Callable":[],"AsyncCallable0":[]},"CssValue0":{"AstNode0":[]},"ValueExpression0":{"Expression0":[],"AstNode0":[]},"VariableExpression0":{"Expression0":[],"AstNode0":[]},"VariableDeclaration0":{"Statement0":[],"AstNode0":[]},"WarnRule0":{"Statement0":[],"AstNode0":[]},"WhileRule0":{"Statement0":[],"AstNode0":[]},"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":[]},"Statement":{"AstNode":[]},"Callable0":{"AsyncCallable":[]},"Callable":{"AsyncCallable0":[]},"CssComment0":{"CssNode0":[],"AstNode0":[]},"Import0":{"AstNode0":[]},"Statement0":{"AstNode0":[]}}'));
  116377. A._Universe_addErasedTypes(init.typeUniverse, JSON.parse('{"WhereIterator":1,"SkipIterator":1,"SkipWhileIterator":1,"EmptyIterator":1,"FollowedByIterator":1,"FixedLengthListMixin":1,"UnmodifiableListMixin":1,"UnmodifiableListBase":1,"__CastListBase__CastIterableBase_ListMixin":2,"ConstantSet":1,"LinkedHashMapKeyIterator":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}'));
  116378. var string$ = {
  116379. x0a_BUG_: "\n\nBUG: This should include a source span!",
  116380. x0a_Morex20: "\n\nMore info and automated migrator: https://sass-lang.com/d/slash-div",
  116381. x0a_Morex3a: "\n\nMore info: https://sass-lang.com/d/function-units",
  116382. x0a_See_: "\n\nSee https://sass-lang.com/d/function-units",
  116383. x0a_This: "\n\nThis is only an error because you've set the ",
  116384. x0a_To_p: "\n\nTo preserve current behavior: math.random(math.div($limit, 1",
  116385. x0a_but_: "\n\nbut you may have intended it to mean:\n\n ",
  116386. x0aRun_i: "\nRun in verbose mode to see all warnings.",
  116387. x0aThis_: "\nThis will be an error in Dart Sass 2.0.0.\n\nMore info: https://sass-lang.com/d/bogus-combinators",
  116388. x0aYou_m: "\nYou may not @extend the same selector from within different media queries.",
  116389. x20It_wi: " It will be omitted from the generated CSS.",
  116390. 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",
  116391. x20can_n: " can not have both conditions and paths at the same level.\nFound ",
  116392. x20deprex20i: " deprecation is not yet active, so silencing it is unnecessary.",
  116393. x20deprex20m: " deprecation must be enabled before it can be made fatal.",
  116394. x20deprex20t: " deprecation to be fatal.\nRemove this setting if you need to keep using this feature.",
  116395. x20deprex2c: " deprecation, since it has also been made fatal.",
  116396. x20in_in: " in interpolation here.\nIt may end up represented as ",
  116397. x20is_as: " is asynchronous.\nThis is probably caused by a bug in a Sass plugin.",
  116398. x20is_av: " is available from multiple global modules.",
  116399. x20is_de: " is deprecated.\n\nTo preserve current behavior: ",
  116400. x20is_noaf: " is not a future deprecation, so it does not need to be explicitly enabled.",
  116401. x20is_noav: " is not a valid selector: it must be a string,\na list of strings, or a list of lists of strings.",
  116402. 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",
  116403. x20must_b: " must be either nearest, up, down or to-zero.",
  116404. x20must_n: " must not be greater than the number of characters in the file, ",
  116405. x20repet: " repetitive deprecation warnings omitted.",
  116406. x20targe: " targetLocations if the interpolation has ",
  116407. 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",
  116408. x20to_co: " to color.opacity() is deprecated.\n\nRecommendation: ",
  116409. x20was_a: ' was already loaded, so it can\'t be configured using "with".',
  116410. x20was_n: " was not declared with !default in the @used module.",
  116411. x20was_p: " was passed both by position and by name.",
  116412. x21defau: "!default should only be written once for each variable.\nThis will be an error in Dart Sass 2.0.0.",
  116413. x21globai: "!global isn't allowed for variables in other modules.",
  116414. x21globas: "!global should only be written once for each variable.\nThis will be an error in Dart Sass 2.0.0.",
  116415. x22x20can_: "\" can't be used as a parent in a compound selector.",
  116416. 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',
  116417. 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',
  116418. x22x20is_n: '" is not a valid Sass identifier.\n\nRecommendation: add an "as" clause to define an explicit namespace.',
  116419. x22x20is_o: "\" is only valid for nesting and shouldn't\nhave children other than style rules.",
  116420. x22x26__ma: '"&" may only used at the beginning of a compound selector.',
  116421. x22x29__If: "\").\nIf you really want to use the color value here, use '",
  116422. x22x2b__an: '"+" and "-" must be surrounded by whitespace in calculations.',
  116423. x22packa: '"package:" URLs aren\'t supported on this platform.',
  116424. x24css_a: "$css and $module may not both be passed at once.",
  116425. x24list1: "$list1, $list2, $separator: auto, $bracketed: auto",
  116426. x24selec: "$selectors: At least one selector must be passed.",
  116427. x24separ: '$separator: Must be "space", "comma", "slash", or "auto".',
  116428. x27x20must: "' must be a path relative to the package root at '",
  116429. x27x2c_whi: "', which is not a '.scss', '.sass', or '.css' file.",
  116430. x28__isn: "() isn't in the sass:color module.\n\nRecommendation: color.adjust(",
  116431. x29x0a_Mor: ")\n\nMore info: https://sass-lang.com/documentation/functions/color#",
  116432. x29x20in_a: ") in a future release.\n\nRecommendation: math.random(math.div($limit, 1",
  116433. x29x20is_d: ") is deprecated.\n\nTo preserve current behavior: ",
  116434. x29x20to_cg: ") to color.grayscale() is deprecated.\n\nRecommendation: ",
  116435. x29x20to_ci: ") to color.invert() is deprecated.\n\nRecommendation: ",
  116436. x29x29__Mo: "))\n\nMore info: https://sass-lang.com/d/function-units",
  116437. x2c_whicu: ", which uses a scheme declared as non-canonical.",
  116438. x2c_whicw: ', which will likely produce invalid CSS.\nAlways quote color names when using them as strings or map keys (for example, "',
  116439. x2e_Rela: ".\nRelative canonical URLs are deprecated and will eventually be disallowed.",
  116440. x3d_____: "===== asynchronous gap ===========================\n",
  116441. 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.",
  116442. x40conte: "@content is only allowed within mixin declarations.",
  116443. x40elsei: "@elseif is deprecated and will not be supported in future Sass versions.\n\nRecommendation: @else if",
  116444. x40exten: "@extend may only be used within style rules.",
  116445. x40forwa: "@forward rules must be written before any other rules.",
  116446. x40funct: "@function if($condition, $if-true, $if-false) {",
  116447. x40use_r: "@use rules must be written before any other rules.",
  116448. A_list: "A list with more than one element must have an explicit separator.",
  116449. A_pkg_h: "A pkg: URL must not have a host, port, username or password.",
  116450. A_pkg_q: "A pkg: URL must not have a query or fragment.",
  116451. ABCDEF: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",
  116452. An_impa: "An importer may not have a findFileUrl method as well as canonicalize and load methods.",
  116453. An_impu: "An importer must have either canonicalize and load methods, or a findFileUrl method.",
  116454. As_of_R: "As of Dart Sass 2.0.0, !global assignments won't be able to declare new variables.\n\nRecommendation: add `",
  116455. 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.",
  116456. At_rul: "At-rules may not be used within nested declarations.",
  116457. Cannotff: "Cannot extract a file path from a URI with a fragment component",
  116458. Cannotfq: "Cannot extract a file path from a URI with a query component",
  116459. Cannotn: "Cannot extract a non-Windows file path from a file URI with an authority",
  116460. Comple: "ComplexSassNumber.hasPossiblyCompatibleUnits is not implemented.",
  116461. Could_: 'Could not find an option with short name "-',
  116462. CssNod: "CssNodes must have a CssStylesheet transitive parent node.",
  116463. Custom: "Custom importers are required to load stylesheets when compiling in the browser.",
  116464. Declarm: "Declarations may only be used within style rules.",
  116465. Declarw: 'Declarations whose names begin with "--" may not be nested.',
  116466. Either: "Either options.data or options.file must be set.",
  116467. Entrie: "Entries may not be removed from MergedMapView.",
  116468. 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",
  116469. Evalua: "Evaluation handles @include and its content block together.",
  116470. Expect: "Expected variable, mixin, or function name",
  116471. Functi: "Functions may not be declared in control directives.",
  116472. HSL_pa: "HSL parameters may not be passed along with HWB parameters.",
  116473. If_con: "If conditions is longer than one element, conjunction may not be null.",
  116474. If_par: "If parsedAsCustomProperty is true, value must contain a SassString (was `",
  116475. If_str: "If strategy is not null, step is required.",
  116476. In_Sas: 'In Sass, "&&" means two copies of the parent selector. You probably want to use "and" instead.',
  116477. Indent: "Indenting at the beginning of the document is illegal.",
  116478. Interpn: "Interpolation isn't allowed in namespaces.",
  116479. Interpp: "Interpolation isn't allowed in plain CSS.",
  116480. Invali: 'Invalid return value for custom function "',
  116481. It_s_n: "It's not clear which file to import. Found:\n",
  116482. Keywor: "Keyword arguments can't be used with calculations.",
  116483. May_on: "May only contains Strings or Expressions.",
  116484. Media_: "Media rules may not be used within nested declarations.",
  116485. Mixinsb: "Mixins may not be declared in control directives.",
  116486. Mixinscf: "Mixins may not contain function declarations.",
  116487. Mixinscm: "Mixins may not contain mixin declarations.",
  116488. Modulel: "Module loop: this module is already being loaded.",
  116489. Modulen: "Module namespaces aren't allowed in plain CSS.",
  116490. Nested: "Nested declarations aren't allowed in plain CSS.",
  116491. New_en: "New entries may not be added to MergedMapView.",
  116492. No_Sasc: "No Sass callable is currently being evaluated.",
  116493. No_Sass: "No Sass stylesheet is currently being evaluated.",
  116494. NoSour: "NoSourceMapBuffer.buildSourceMap() is not supported.",
  116495. None_o: "None of the patterns in the switch expression the matched input value. See https://github.com/dart-lang/language/issues/3488 for details.",
  116496. Number: "Number to round and step arguments are required.",
  116497. Only_2: "Only 2 slash-separated elements allowed, but ",
  116498. Only_oa: "Only one argument may be passed to the plain-CSS invert() function.",
  116499. Only_op: "Only one positional argument is allowed. All other arguments must be passed by name.",
  116500. Other_: "Other modules' members can't be defined with !global.",
  116501. Parent: "Parent selectors can't have suffixes in plain CSS.",
  116502. Passina: "Passing a string to call() is deprecated and will be illegal in Dart Sass 2.0.0.\n\nRecommendation: call(get-function(",
  116503. 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(",
  116504. Placeh: "Placeholder selectors aren't allowed in plain CSS.",
  116505. Plain_: "Plain CSS functions don't support keyword arguments.",
  116506. Positi: "Positional arguments must come before keyword arguments.",
  116507. Privat: "Private members can't be accessed from outside their modules.",
  116508. RGB_pa: "RGB parameters may not be passed along with ",
  116509. Rest_a: "Rest arguments can't be used with calculations.",
  116510. Sass__ff: "Sass @function names beginning with -- are deprecated for forward-compatibility with plain CSS functions.\n\nFor details, see https://sass-lang.com/d/css-function-mixin",
  116511. Sass__fm: "Sass @function names beginning with -- are deprecated for forward-compatibility with plain CSS mixins.\n\nFor details, see https://sass-lang.com/d/css-function-mixin",
  116512. Sass__i: "Sass @import rules will be deprecated in the future.\nRemove the --future-deprecation=import flag to silence this warning for now.",
  116513. Sass__m: "Sass @mixin names beginning with -- are deprecated for forward-compatibility with plain CSS mixins.\n\nFor details, see https://sass-lang.com/d/css-function-mixin",
  116514. Sass_v: "Sass variables aren't allowed in plain CSS.",
  116515. Silent: "Silent comments aren't allowed in plain CSS.",
  116516. Style_k: "Style rules may not be used within keyframe blocks.",
  116517. Style_n: "Style rules may not be used within nested declarations.",
  116518. Suppor: "Supports rules may not be used within nested declarations.",
  116519. The_Ex: "The ExtensionStore and CssStylesheet passed to cloneCssStylesheet() must come from the same compilation.",
  116520. The_No: "The Node package importer cannot be used without a filesystem.",
  116521. The_ca: "The canonicalize() method must return a URL.",
  116522. The_fie: "The findFileUrl() method must return a URL.",
  116523. The_fiu: 'The findFileUrl() must return a URL with scheme file://, was "',
  116524. The_gi: "The given LineScannerState was not returned by this LineScanner.",
  116525. The_lo: "The load() function must return an object with contents and syntax fields.",
  116526. The_pa: "The parent selector isn't allowed in plain CSS.",
  116527. The_sa: "The same variable may only be configured once.",
  116528. The_ta: 'The target selector was not found.\nUse "@extend ',
  116529. There_: "There's already a module with namespace \"",
  116530. This_d: 'This declaration has no argument named "$',
  116531. This_e: "This expression can't be used in a calculation.",
  116532. This_f: "This function isn't allowed in plain CSS.",
  116533. This_ma: 'This module and the new module both define a variable named "$',
  116534. This_mw: 'This module was already loaded, so it can\'t be configured using "with".',
  116535. This_o: "This operation can't be used in a calculation.",
  116536. This_s: "This selector doesn't have any properties and won't be rendered.",
  116537. This_v: "This variable was not declared with !default in the @used module.",
  116538. Top_lel: "Top-level leading combinators aren't allowed in plain CSS.",
  116539. Top_les: 'Top-level selectors may not contain the parent selector "&".',
  116540. Unable: "Unable to determine which of multiple potential resolutions found for ",
  116541. Unexpe: "Unexpected Zone.current[#_canonicalizeContext] value ",
  116542. User_a: "User-authored deprecations should not be silenced.",
  116543. Using__i: "Using / for division is deprecated and will be removed in Dart Sass 2.0.0.\n\nRecommendation: ",
  116544. Using__o: "Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0.\n\nRecommendation: ",
  116545. Using_c: "Using color.alpha() for a Microsoft filter is deprecated.\n\nRecommendation: ",
  116546. 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.",
  116547. Variab_: "Variable keyword argument map must have string keys.\n",
  116548. Variabs: "Variable keyword arguments must be a map (was ",
  116549. You_ma: "You may not @extend selectors across media queries.",
  116550. You_pr: "You probably don't mean to use the color value ",
  116551. x60_inst: "` instead.\nSee https://sass-lang.com/d/extend-compound for details.\n",
  116552. addExt: "addExtensions() can't be called for a const ExtensionStore.",
  116553. canoni: "canonicalizeContext may only be accessed within a call to canonicalize().",
  116554. compou: "compound selectors may no longer be extended.\nConsider `@extend ",
  116555. conten: "content-exists() may only be called within a mixin.",
  116556. fileEx: "fileExists() is only supported on Node.js",
  116557. leadin: "leadingCombinators and components may not both be empty.",
  116558. math_d: "math.div() will only support number arguments in a future release.\nUse list.slash() instead for a slash separator.",
  116559. math_r: "math.random() will no longer ignore $limit units (",
  116560. must_b: "must be a UniversalSelector or a TypeSelector",
  116561. parsed: 'parsedAsCustomProperty must be false if name doesn\'t begin with "--".',
  116562. semico: "semicolons aren't allowed in the indented syntax.",
  116563. throug: "through() must return false for at least one parent of ",
  116564. x7d__Mor: "})\nMore info: https://sass-lang.com/d/abs-percent"
  116565. };
  116566. var type$ = (function rtii() {
  116567. var findType = A.findType;
  116568. return {
  116569. $env_1_1_String: findType("@<String>"),
  116570. ArgParser: findType("ArgParser"),
  116571. Argument: findType("Argument"),
  116572. ArgumentDeclaration: findType("ArgumentDeclaration"),
  116573. ArgumentDeclaration_2: findType("ArgumentDeclaration0"),
  116574. Argument_2: findType("Argument0"),
  116575. AstNode: findType("AstNode"),
  116576. AstNode_2: findType("AstNode0"),
  116577. AsyncBuiltInCallable: findType("AsyncBuiltInCallable"),
  116578. AsyncBuiltInCallable_2: findType("AsyncBuiltInCallable0"),
  116579. AsyncCallable: findType("AsyncCallable"),
  116580. AsyncCallable_2: findType("AsyncCallable0"),
  116581. AsyncCompiler: findType("AsyncCompiler"),
  116582. AsyncImporter: findType("AsyncImporter0"),
  116583. Box_SelectorList: findType("Box<SelectorList>"),
  116584. Box_SelectorList_2: findType("Box0<SelectorList0>"),
  116585. BuiltInCallable: findType("BuiltInCallable"),
  116586. BuiltInCallable_2: findType("BuiltInCallable0"),
  116587. BuiltInModule_AsyncCallable: findType("BuiltInModule<AsyncCallable>"),
  116588. BuiltInModule_AsyncCallable_2: findType("BuiltInModule0<AsyncCallable0>"),
  116589. BuiltInModule_Callable: findType("BuiltInModule<Callable0>"),
  116590. BuiltInModule_Callable_2: findType("BuiltInModule0<Callable>"),
  116591. ByteBuffer: findType("ByteBuffer"),
  116592. ByteData: findType("ByteData"),
  116593. Callable: findType("Callable0"),
  116594. Callable_2: findType("Callable"),
  116595. ChangeType: findType("ChangeType"),
  116596. CodeUnits: findType("CodeUnits"),
  116597. Combinator: findType("Combinator"),
  116598. Combinator_2: findType("Combinator0"),
  116599. Comparable_dynamic: findType("Comparable<@>"),
  116600. Comparable_nullable_Object: findType("Comparable<Object?>"),
  116601. CompileResult: findType("CompileResult"),
  116602. CompileResult_2: findType("CompileResult0"),
  116603. ComplexSelector: findType("ComplexSelector"),
  116604. ComplexSelectorComponent: findType("ComplexSelectorComponent"),
  116605. ComplexSelectorComponent_2: findType("ComplexSelectorComponent0"),
  116606. ComplexSelector_2: findType("ComplexSelector0"),
  116607. Configuration: findType("Configuration"),
  116608. Configuration_2: findType("Configuration0"),
  116609. ConfiguredValue: findType("ConfiguredValue"),
  116610. ConfiguredValue_2: findType("ConfiguredValue0"),
  116611. ConfiguredVariable: findType("ConfiguredVariable"),
  116612. ConfiguredVariable_2: findType("ConfiguredVariable0"),
  116613. ConstantMapView_Symbol_dynamic: findType("ConstantMapView<Symbol0,@>"),
  116614. ConstantStringMap_String_double: findType("ConstantStringMap<String,double>"),
  116615. ConstantStringSet_String: findType("ConstantStringSet<String>"),
  116616. CssComment: findType("CssComment"),
  116617. CssComment_2: findType("CssComment0"),
  116618. CssMediaQuery: findType("CssMediaQuery"),
  116619. CssMediaQuery_2: findType("CssMediaQuery0"),
  116620. CssParentNode: findType("CssParentNode"),
  116621. CssParentNode_2: findType("CssParentNode0"),
  116622. CssStylesheet: findType("CssStylesheet"),
  116623. CssStylesheet_2: findType("CssStylesheet0"),
  116624. CssValue_Combinator: findType("CssValue<Combinator>"),
  116625. CssValue_Combinator_2: findType("CssValue0<Combinator0>"),
  116626. CssValue_List_String: findType("CssValue<List<String>>"),
  116627. CssValue_List_String_2: findType("CssValue0<List<String>>"),
  116628. CssValue_String: findType("CssValue<String>"),
  116629. CssValue_String_2: findType("CssValue0<String>"),
  116630. CssValue_Value: findType("CssValue<Value>"),
  116631. CssValue_Value_2: findType("CssValue0<Value0>"),
  116632. DateTime: findType("DateTime"),
  116633. Deprecation: findType("Deprecation"),
  116634. Deprecation_2: findType("Deprecation1"),
  116635. Deprecation_3: findType("Deprecation0"),
  116636. EfficientLengthIterable_dynamic: findType("EfficientLengthIterable<@>"),
  116637. Error: findType("Error"),
  116638. EvaluationContext: findType("EvaluationContext"),
  116639. EvaluationContext_2: findType("EvaluationContext0"),
  116640. Exception: findType("Exception"),
  116641. Expression: findType("Expression"),
  116642. Expression_2: findType("Expression0"),
  116643. Extender: findType("Extender"),
  116644. Extender_2: findType("Extender0"),
  116645. Extension: findType("Extension"),
  116646. Extension_2: findType("Extension0"),
  116647. FileLocation: findType("FileLocation"),
  116648. FileSpan: findType("FileSpan"),
  116649. Float32List: findType("Float32List"),
  116650. Float64List: findType("Float64List"),
  116651. FormatException: findType("FormatException"),
  116652. Frame: findType("Frame"),
  116653. Function: findType("Function"),
  116654. FutureGroup_void: findType("FutureGroup<~>"),
  116655. FutureOr_Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet: findType("+loadedUrls,stylesheet(Set<Uri>,CssStylesheet)/"),
  116656. FutureOr_Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet_2: findType("+loadedUrls,stylesheet(Set<Uri>,CssStylesheet0)/"),
  116657. FutureOr_nullable_Uri: findType("Uri?/"),
  116658. Future_Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet: findType("Future<+loadedUrls,stylesheet(Set<Uri>,CssStylesheet)>"),
  116659. Future_Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet_2: findType("Future<+loadedUrls,stylesheet(Set<Uri>,CssStylesheet0)>"),
  116660. Future_Value: findType("Future<Value>"),
  116661. Future_Value_2: findType("Future<Value0>"),
  116662. Future_nullable_CssValue_String: findType("Future<CssValue<String>?>"),
  116663. Future_nullable_CssValue_String_2: findType("Future<CssValue0<String>?>"),
  116664. Future_nullable_ImporterResult: findType("Future<ImporterResult0?>"),
  116665. Future_nullable_Uri: findType("Future<Uri?>"),
  116666. Future_nullable_Value: findType("Future<Value?>"),
  116667. Future_nullable_Value_2: findType("Future<Value0?>"),
  116668. Future_void: findType("Future<~>"),
  116669. IfClause: findType("IfClause"),
  116670. IfClause_2: findType("IfClause0"),
  116671. ImmutableList: findType("ImmutableList0"),
  116672. ImmutableList_2: findType("ImmutableList"),
  116673. ImmutableMap: findType("ImmutableMap0"),
  116674. Import: findType("Import"),
  116675. Import_2: findType("Import0"),
  116676. Importer: findType("Importer0"),
  116677. ImporterResult: findType("ImporterResult"),
  116678. ImporterResult_2: findType("ImporterResult0"),
  116679. Importer_2: findType("Importer"),
  116680. Int16List: findType("Int16List"),
  116681. Int32List: findType("Int32List"),
  116682. Int8List: findType("Int8List"),
  116683. Interpolation: findType("Interpolation"),
  116684. InterpolationBuffer: findType("InterpolationBuffer"),
  116685. InterpolationBuffer_2: findType("InterpolationBuffer0"),
  116686. Interpolation_2: findType("Interpolation0"),
  116687. Iterable_ComplexSelectorComponent: findType("Iterable<ComplexSelectorComponent>"),
  116688. Iterable_ComplexSelectorComponent_2: findType("Iterable<ComplexSelectorComponent0>"),
  116689. Iterable_dynamic: findType("Iterable<@>"),
  116690. Iterable_nullable_Object: findType("Iterable<Object?>"),
  116691. JSArray_Argument: findType("JSArray<Argument>"),
  116692. JSArray_Argument_2: findType("JSArray<Argument0>"),
  116693. JSArray_AstNode: findType("JSArray<AstNode>"),
  116694. JSArray_AstNode_2: findType("JSArray<AstNode0>"),
  116695. JSArray_AsyncBuiltInCallable: findType("JSArray<AsyncBuiltInCallable>"),
  116696. JSArray_AsyncBuiltInCallable_2: findType("JSArray<AsyncBuiltInCallable0>"),
  116697. JSArray_AsyncCallable: findType("JSArray<AsyncCallable>"),
  116698. JSArray_AsyncCallable_2: findType("JSArray<AsyncCallable0>"),
  116699. JSArray_AsyncImporter: findType("JSArray<AsyncImporter0>"),
  116700. JSArray_AsyncImporter_2: findType("JSArray<AsyncImporter>"),
  116701. JSArray_BinaryOperator: findType("JSArray<BinaryOperator>"),
  116702. JSArray_BinaryOperator_2: findType("JSArray<BinaryOperator0>"),
  116703. JSArray_BuiltInCallable: findType("JSArray<BuiltInCallable>"),
  116704. JSArray_BuiltInCallable_2: findType("JSArray<BuiltInCallable0>"),
  116705. JSArray_Callable: findType("JSArray<Callable0>"),
  116706. JSArray_Callable_2: findType("JSArray<Callable>"),
  116707. JSArray_ComplexSelector: findType("JSArray<ComplexSelector>"),
  116708. JSArray_ComplexSelectorComponent: findType("JSArray<ComplexSelectorComponent>"),
  116709. JSArray_ComplexSelectorComponent_2: findType("JSArray<ComplexSelectorComponent0>"),
  116710. JSArray_ComplexSelector_2: findType("JSArray<ComplexSelector0>"),
  116711. JSArray_ConfiguredVariable: findType("JSArray<ConfiguredVariable>"),
  116712. JSArray_ConfiguredVariable_2: findType("JSArray<ConfiguredVariable0>"),
  116713. JSArray_CssComment: findType("JSArray<CssComment>"),
  116714. JSArray_CssComment_2: findType("JSArray<CssComment0>"),
  116715. JSArray_CssMediaQuery: findType("JSArray<CssMediaQuery>"),
  116716. JSArray_CssMediaQuery_2: findType("JSArray<CssMediaQuery0>"),
  116717. JSArray_CssNode: findType("JSArray<CssNode>"),
  116718. JSArray_CssNode_2: findType("JSArray<CssNode0>"),
  116719. JSArray_CssValue_Combinator: findType("JSArray<CssValue<Combinator>>"),
  116720. JSArray_CssValue_Combinator_2: findType("JSArray<CssValue0<Combinator0>>"),
  116721. JSArray_Entry: findType("JSArray<Entry>"),
  116722. JSArray_Expression: findType("JSArray<Expression>"),
  116723. JSArray_Expression_2: findType("JSArray<Expression0>"),
  116724. JSArray_Extender: findType("JSArray<Extender>"),
  116725. JSArray_Extender_2: findType("JSArray<Extender0>"),
  116726. JSArray_Extension: findType("JSArray<Extension>"),
  116727. JSArray_ExtensionStore: findType("JSArray<ExtensionStore>"),
  116728. JSArray_ExtensionStore_2: findType("JSArray<ExtensionStore0>"),
  116729. JSArray_Extension_2: findType("JSArray<Extension0>"),
  116730. JSArray_ForwardRule: findType("JSArray<ForwardRule>"),
  116731. JSArray_ForwardRule_2: findType("JSArray<ForwardRule0>"),
  116732. JSArray_Frame: findType("JSArray<Frame>"),
  116733. JSArray_Future_nullable_Record_3_int_and_String_and_nullable_String: findType("JSArray<Future<+(int,String,String?)?>>"),
  116734. JSArray_IfClause: findType("JSArray<IfClause>"),
  116735. JSArray_IfClause_2: findType("JSArray<IfClause0>"),
  116736. JSArray_Import: findType("JSArray<Import>"),
  116737. JSArray_Import_2: findType("JSArray<Import0>"),
  116738. JSArray_Importer: findType("JSArray<Importer>"),
  116739. JSArray_Importer_2: findType("JSArray<Importer0>"),
  116740. JSArray_Iterable_ComplexSelectorComponent: findType("JSArray<Iterable<ComplexSelectorComponent>>"),
  116741. JSArray_Iterable_ComplexSelectorComponent_2: findType("JSArray<Iterable<ComplexSelectorComponent0>>"),
  116742. JSArray_JSFunction: findType("JSArray<JSFunction0>"),
  116743. JSArray_List_ComplexSelector: findType("JSArray<List<ComplexSelector>>"),
  116744. JSArray_List_ComplexSelectorComponent: findType("JSArray<List<ComplexSelectorComponent>>"),
  116745. JSArray_List_ComplexSelectorComponent_2: findType("JSArray<List<ComplexSelectorComponent0>>"),
  116746. JSArray_List_ComplexSelector_2: findType("JSArray<List<ComplexSelector0>>"),
  116747. JSArray_List_Extender: findType("JSArray<List<Extender>>"),
  116748. JSArray_List_Extender_2: findType("JSArray<List<Extender0>>"),
  116749. JSArray_List_Iterable_ComplexSelectorComponent: findType("JSArray<List<Iterable<ComplexSelectorComponent>>>"),
  116750. JSArray_List_Iterable_ComplexSelectorComponent_2: findType("JSArray<List<Iterable<ComplexSelectorComponent0>>>"),
  116751. JSArray_Map_String_AstNode: findType("JSArray<Map<String,AstNode>>"),
  116752. JSArray_Map_String_AstNode_2: findType("JSArray<Map<String,AstNode0>>"),
  116753. JSArray_Map_String_AsyncCallable: findType("JSArray<Map<String,AsyncCallable>>"),
  116754. JSArray_Map_String_AsyncCallable_2: findType("JSArray<Map<String,AsyncCallable0>>"),
  116755. JSArray_Map_String_Callable: findType("JSArray<Map<String,Callable0>>"),
  116756. JSArray_Map_String_Callable_2: findType("JSArray<Map<String,Callable>>"),
  116757. JSArray_Map_String_Value: findType("JSArray<Map<String,Value>>"),
  116758. JSArray_Map_String_Value_2: findType("JSArray<Map<String,Value0>>"),
  116759. JSArray_ModifiableCssImport: findType("JSArray<ModifiableCssImport>"),
  116760. JSArray_ModifiableCssImport_2: findType("JSArray<ModifiableCssImport0>"),
  116761. JSArray_ModifiableCssNode: findType("JSArray<ModifiableCssNode>"),
  116762. JSArray_ModifiableCssNode_2: findType("JSArray<ModifiableCssNode0>"),
  116763. JSArray_ModifiableCssParentNode: findType("JSArray<ModifiableCssParentNode>"),
  116764. JSArray_ModifiableCssParentNode_2: findType("JSArray<ModifiableCssParentNode0>"),
  116765. JSArray_Module_AsyncCallable: findType("JSArray<Module0<AsyncCallable>>"),
  116766. JSArray_Module_AsyncCallable_2: findType("JSArray<Module1<AsyncCallable0>>"),
  116767. JSArray_Module_Callable: findType("JSArray<Module0<Callable0>>"),
  116768. JSArray_Module_Callable_2: findType("JSArray<Module1<Callable>>"),
  116769. JSArray_Object: findType("JSArray<Object>"),
  116770. JSArray_PseudoSelector: findType("JSArray<PseudoSelector>"),
  116771. JSArray_PseudoSelector_2: findType("JSArray<PseudoSelector0>"),
  116772. JSArray_Record_2_ArgumentDeclaration_and_Value_Function_List_Value: findType("JSArray<+(ArgumentDeclaration,Value(List<Value>))>"),
  116773. JSArray_Record_2_ArgumentDeclaration_and_Value_Function_List_Value_2: findType("JSArray<+(ArgumentDeclaration0,Value0(List<Value0>))>"),
  116774. JSArray_Record_2_Expression_and_Expression: findType("JSArray<+(Expression,Expression)>"),
  116775. JSArray_Record_2_Expression_and_Expression_2: findType("JSArray<+(Expression0,Expression0)>"),
  116776. JSArray_Record_2_String_and_AstNode: findType("JSArray<+(String,AstNode)>"),
  116777. JSArray_Record_2_String_and_AstNode_2: findType("JSArray<+(String,AstNode0)>"),
  116778. JSArray_SassList: findType("JSArray<SassList>"),
  116779. JSArray_SassList_2: findType("JSArray<SassList0>"),
  116780. JSArray_SimpleSelector: findType("JSArray<SimpleSelector>"),
  116781. JSArray_SimpleSelector_2: findType("JSArray<SimpleSelector0>"),
  116782. JSArray_SourceLocation: findType("JSArray<SourceLocation>"),
  116783. JSArray_Statement: findType("JSArray<Statement>"),
  116784. JSArray_Statement_2: findType("JSArray<Statement0>"),
  116785. JSArray_String: findType("JSArray<String>"),
  116786. JSArray_StylesheetNode: findType("JSArray<StylesheetNode>"),
  116787. JSArray_TargetEntry: findType("JSArray<TargetEntry>"),
  116788. JSArray_TargetLineEntry: findType("JSArray<TargetLineEntry>"),
  116789. JSArray_Trace: findType("JSArray<Trace>"),
  116790. JSArray_UseRule: findType("JSArray<UseRule>"),
  116791. JSArray_UseRule_2: findType("JSArray<UseRule0>"),
  116792. JSArray_Value: findType("JSArray<Value>"),
  116793. JSArray_Value_2: findType("JSArray<Value0>"),
  116794. JSArray_WatchEvent: findType("JSArray<WatchEvent>"),
  116795. JSArray__Highlight: findType("JSArray<_Highlight>"),
  116796. JSArray__Line: findType("JSArray<_Line>"),
  116797. JSArray_dynamic: findType("JSArray<@>"),
  116798. JSArray_int: findType("JSArray<int>"),
  116799. JSArray_nullable_Record_3_int_and_String_and_nullable_String: findType("JSArray<+(int,String,String?)?>"),
  116800. JSArray_nullable_String: findType("JSArray<String?>"),
  116801. JSClass: findType("JSClass0"),
  116802. JSFunction: findType("JSFunction0"),
  116803. JSImporter: findType("JSImporter"),
  116804. JSImporterResult: findType("JSImporterResult"),
  116805. JSNull: findType("JSNull"),
  116806. JSUrl: findType("JSUrl0"),
  116807. JavaScriptFunction: findType("JavaScriptFunction"),
  116808. JavaScriptIndexingBehavior_dynamic: findType("JavaScriptIndexingBehavior<@>"),
  116809. JsIdentityLinkedHashMap_SimpleSelector_int: findType("JsIdentityLinkedHashMap<SimpleSelector,int>"),
  116810. JsIdentityLinkedHashMap_SimpleSelector_int_2: findType("JsIdentityLinkedHashMap<SimpleSelector0,int>"),
  116811. JsIdentityLinkedHashMap_of_SelectorList_and_Box_SelectorList: findType("JsIdentityLinkedHashMap<SelectorList,Box<SelectorList>>"),
  116812. JsIdentityLinkedHashMap_of_SelectorList_and_Box_SelectorList_2: findType("JsIdentityLinkedHashMap<SelectorList0,Box0<SelectorList0>>"),
  116813. JsLinkedHashMap_Symbol_dynamic: findType("JsLinkedHashMap<Symbol0,@>"),
  116814. JsSystemError: findType("JsSystemError"),
  116815. LimitedMapView_String_ConfiguredValue: findType("LimitedMapView<String,ConfiguredValue>"),
  116816. LimitedMapView_String_ConfiguredValue_2: findType("LimitedMapView0<String,ConfiguredValue0>"),
  116817. List_ComplexSelectorComponent: findType("List<ComplexSelectorComponent>"),
  116818. List_ComplexSelectorComponent_2: findType("List<ComplexSelectorComponent0>"),
  116819. List_CssComment: findType("List<CssComment>"),
  116820. List_CssComment_2: findType("List<CssComment0>"),
  116821. List_CssMediaQuery: findType("List<CssMediaQuery>"),
  116822. List_CssMediaQuery_2: findType("List<CssMediaQuery0>"),
  116823. List_CssValue_Combinator: findType("List<CssValue<Combinator>>"),
  116824. List_CssValue_Combinator_2: findType("List<CssValue0<Combinator0>>"),
  116825. List_Extension: findType("List<Extension>"),
  116826. List_ExtensionStore: findType("List<ExtensionStore>"),
  116827. List_ExtensionStore_2: findType("List<ExtensionStore0>"),
  116828. List_Extension_2: findType("List<Extension0>"),
  116829. List_List_ComplexSelectorComponent: findType("List<List<ComplexSelectorComponent>>"),
  116830. List_List_ComplexSelectorComponent_2: findType("List<List<ComplexSelectorComponent0>>"),
  116831. List_Module_AsyncCallable: findType("List<Module0<AsyncCallable>>"),
  116832. List_Module_AsyncCallable_2: findType("List<Module1<AsyncCallable0>>"),
  116833. List_Module_Callable: findType("List<Module0<Callable0>>"),
  116834. List_Module_Callable_2: findType("List<Module1<Callable>>"),
  116835. List_String: findType("List<String>"),
  116836. List_Value: findType("List<Value>"),
  116837. List_Value_2: findType("List<Value0>"),
  116838. List_WatchEvent: findType("List<WatchEvent>"),
  116839. List_dynamic: findType("List<@>"),
  116840. List_int: findType("List<int>"),
  116841. List_nullable_Object: findType("List<Object?>"),
  116842. MapKeySet_Module_AsyncCallable: findType("MapKeySet<Module0<AsyncCallable>>"),
  116843. MapKeySet_Module_AsyncCallable_2: findType("MapKeySet<Module1<AsyncCallable0>>"),
  116844. MapKeySet_Module_Callable: findType("MapKeySet<Module0<Callable0>>"),
  116845. MapKeySet_Module_Callable_2: findType("MapKeySet<Module1<Callable>>"),
  116846. MapKeySet_SimpleSelector: findType("MapKeySet<SimpleSelector>"),
  116847. MapKeySet_SimpleSelector_2: findType("MapKeySet<SimpleSelector0>"),
  116848. MapKeySet_String: findType("MapKeySet<String>"),
  116849. MapKeySet_nullable_Object: findType("MapKeySet<Object?>"),
  116850. Map_ComplexSelector_Extension: findType("Map<ComplexSelector,Extension>"),
  116851. Map_ComplexSelector_Extension_2: findType("Map<ComplexSelector0,Extension0>"),
  116852. Map_String_AstNode: findType("Map<String,AstNode>"),
  116853. Map_String_AstNode_2: findType("Map<String,AstNode0>"),
  116854. Map_String_AsyncCallable: findType("Map<String,AsyncCallable>"),
  116855. Map_String_AsyncCallable_2: findType("Map<String,AsyncCallable0>"),
  116856. Map_String_Callable: findType("Map<String,Callable0>"),
  116857. Map_String_Callable_2: findType("Map<String,Callable>"),
  116858. Map_String_Value: findType("Map<String,Value>"),
  116859. Map_String_Value_2: findType("Map<String,Value0>"),
  116860. Map_String_dynamic: findType("Map<String,@>"),
  116861. Map_dynamic_dynamic: findType("Map<@,@>"),
  116862. Map_of_nullable_Object_and_nullable_Object: findType("Map<Object?,Object?>"),
  116863. MappedIterable_String_Frame: findType("MappedIterable<String,Frame>"),
  116864. MappedListIterable_Frame_Frame: findType("MappedListIterable<Frame,Frame>"),
  116865. MappedListIterable_String_Object: findType("MappedListIterable<String,Object>"),
  116866. MappedListIterable_String_String: findType("MappedListIterable<String,String>"),
  116867. MappedListIterable_String_Trace: findType("MappedListIterable<String,Trace>"),
  116868. MappedListIterable_String_Value: findType("MappedListIterable<String,Value>"),
  116869. MappedListIterable_String_Value_2: findType("MappedListIterable<String,Value0>"),
  116870. MappedListIterable_String_dynamic: findType("MappedListIterable<String,@>"),
  116871. MixinRule: findType("MixinRule"),
  116872. MixinRule_2: findType("MixinRule0"),
  116873. ModifiableBox_SelectorList: findType("ModifiableBox<SelectorList>"),
  116874. ModifiableBox_SelectorList_2: findType("ModifiableBox0<SelectorList0>"),
  116875. ModifiableCssAtRule: findType("ModifiableCssAtRule"),
  116876. ModifiableCssAtRule_2: findType("ModifiableCssAtRule0"),
  116877. ModifiableCssKeyframeBlock: findType("ModifiableCssKeyframeBlock"),
  116878. ModifiableCssKeyframeBlock_2: findType("ModifiableCssKeyframeBlock0"),
  116879. ModifiableCssMediaRule: findType("ModifiableCssMediaRule"),
  116880. ModifiableCssMediaRule_2: findType("ModifiableCssMediaRule0"),
  116881. ModifiableCssNode: findType("ModifiableCssNode"),
  116882. ModifiableCssNode_2: findType("ModifiableCssNode0"),
  116883. ModifiableCssParentNode: findType("ModifiableCssParentNode"),
  116884. ModifiableCssParentNode_2: findType("ModifiableCssParentNode0"),
  116885. ModifiableCssStyleRule: findType("ModifiableCssStyleRule"),
  116886. ModifiableCssStyleRule_2: findType("ModifiableCssStyleRule0"),
  116887. ModifiableCssSupportsRule: findType("ModifiableCssSupportsRule"),
  116888. ModifiableCssSupportsRule_2: findType("ModifiableCssSupportsRule0"),
  116889. Module_AsyncCallable: findType("Module0<AsyncCallable>"),
  116890. Module_AsyncCallable_2: findType("Module1<AsyncCallable0>"),
  116891. Module_Callable: findType("Module0<Callable0>"),
  116892. Module_Callable_2: findType("Module1<Callable>"),
  116893. MultiSourceSpanFormatException: findType("MultiSourceSpanFormatException"),
  116894. NativeTypedArrayOfDouble: findType("NativeTypedArrayOfDouble"),
  116895. NativeTypedArrayOfInt: findType("NativeTypedArrayOfInt"),
  116896. NativeUint8List: findType("NativeUint8List"),
  116897. Never: findType("0&"),
  116898. NodeCompileResult: findType("NodeCompileResult"),
  116899. NodeImporterResult: findType("NodeImporterResult0"),
  116900. Null: findType("Null"),
  116901. Object: findType("Object"),
  116902. Option: findType("Option"),
  116903. PathMap_ChangeType: findType("PathMap<ChangeType>"),
  116904. PathMap_Stream_WatchEvent: findType("PathMap<Stream<WatchEvent>>"),
  116905. PathMap_String: findType("PathMap<String>"),
  116906. PathMap_nullable_String: findType("PathMap<String?>"),
  116907. Promise: findType("Promise"),
  116908. PseudoSelector: findType("PseudoSelector"),
  116909. PseudoSelector_2: findType("PseudoSelector0"),
  116910. RangeError: findType("RangeError"),
  116911. Record: findType("Record"),
  116912. Record_0: findType("+()"),
  116913. Record_1_nullable_Object: findType("+(Object?)"),
  116914. Record_2_Expression_and_Expression: findType("+(Expression,Expression)"),
  116915. Record_2_Expression_and_Expression_2: findType("+(Expression0,Expression0)"),
  116916. Record_2_List_Expression_and_Map_String_Expression: findType("+(List<Expression>,Map<String,Expression>)"),
  116917. Record_2_List_Expression_and_Map_String_Expression_2: findType("+(List<Expression0>,Map<String,Expression0>)"),
  116918. Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet: findType("+loadedUrls,stylesheet(Set<Uri>,CssStylesheet)"),
  116919. Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet_2: findType("+loadedUrls,stylesheet(Set<Uri>,CssStylesheet0)"),
  116920. Record_2_String_and_InterpolationMap: findType("+(String,InterpolationMap)"),
  116921. Record_2_String_and_InterpolationMap_2: findType("+(String,InterpolationMap0)"),
  116922. Record_2_String_and_SourceSpan: findType("+(String,SourceSpan)"),
  116923. Record_2_String_and_nullable_InterpolationMap: findType("+(String,InterpolationMap?)"),
  116924. Record_2_String_and_nullable_InterpolationMap_2: findType("+(String,InterpolationMap0?)"),
  116925. Record_2_Uri_and_bool_forImport: findType("+forImport(Uri,bool)"),
  116926. Record_2_nullable_Object_and_nullable_Object: findType("+(Object?,Object?)"),
  116927. Record_2_nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_and_bool: findType("+(+originalUrl(AsyncImporter,Uri,Uri)?,bool)"),
  116928. Record_2_nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_and_bool_2: findType("+(+originalUrl(AsyncImporter0,Uri,Uri)?,bool)"),
  116929. Record_2_nullable_String_and_nullable_String: findType("+(String?,String?)"),
  116930. Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl: findType("+originalUrl(AsyncImporter,Uri,Uri)"),
  116931. Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2: findType("+originalUrl(AsyncImporter0,Uri,Uri)"),
  116932. Record_3_AsyncImporter_and_Uri_and_bool_forImport: findType("+forImport(AsyncImporter,Uri,bool)"),
  116933. Record_3_AsyncImporter_and_Uri_and_bool_forImport_2: findType("+forImport(AsyncImporter0,Uri,bool)"),
  116934. Record_3_Importer_and_Uri_and_Uri_originalUrl: findType("+originalUrl(Importer,Uri,Uri)"),
  116935. Record_3_Importer_and_Uri_and_Uri_originalUrl_2: findType("+originalUrl(Importer0,Uri,Uri)"),
  116936. Record_3_Importer_and_Uri_and_bool_forImport: findType("+forImport(Importer,Uri,bool)"),
  116937. Record_3_Importer_and_Uri_and_bool_forImport_2: findType("+forImport(Importer0,Uri,bool)"),
  116938. Record_3_Stylesheet_and_nullable_AsyncImporter_importer_and_bool_isDependency: findType("+importer,isDependency(Stylesheet,AsyncImporter?,bool)"),
  116939. Record_3_Stylesheet_and_nullable_AsyncImporter_importer_and_bool_isDependency_2: findType("+importer,isDependency(Stylesheet0,AsyncImporter0?,bool)"),
  116940. Record_3_nullable_Object_and_nullable_Object_and_nullable_Object_originalUrl: findType("+originalUrl(Object?,Object?,Object?)"),
  116941. 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)"),
  116942. 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)"),
  116943. RegExpMatch: findType("RegExpMatch"),
  116944. RenderContextOptions: findType("RenderContextOptions0"),
  116945. RenderResult: findType("RenderResult"),
  116946. Result_String: findType("Result<String>"),
  116947. ReversedListIterable_Frame: findType("ReversedListIterable<Frame>"),
  116948. Runes: findType("Runes"),
  116949. SassArgumentList: findType("SassArgumentList"),
  116950. SassArgumentList_2: findType("SassArgumentList0"),
  116951. SassBoolean: findType("SassBoolean"),
  116952. SassBoolean_2: findType("SassBoolean0"),
  116953. SassColor: findType("SassColor"),
  116954. SassColor_2: findType("SassColor0"),
  116955. SassFormatException: findType("SassFormatException"),
  116956. SassFormatException_2: findType("SassFormatException0"),
  116957. SassList: findType("SassList"),
  116958. SassList_2: findType("SassList0"),
  116959. SassMap: findType("SassMap"),
  116960. SassMap_2: findType("SassMap0"),
  116961. SassNumber: findType("SassNumber"),
  116962. SassNumber_2: findType("SassNumber0"),
  116963. SassRuntimeException: findType("SassRuntimeException"),
  116964. SassRuntimeException_2: findType("SassRuntimeException0"),
  116965. SassString: findType("SassString"),
  116966. SassString_2: findType("SassString0"),
  116967. SelectorList: findType("SelectorList"),
  116968. SelectorList_2: findType("SelectorList0"),
  116969. Set_ModifiableBox_SelectorList: findType("Set<ModifiableBox<SelectorList>>"),
  116970. Set_ModifiableBox_SelectorList_2: findType("Set<ModifiableBox0<SelectorList0>>"),
  116971. Set_Uri: findType("Set<Uri>"),
  116972. SimpleSelector: findType("SimpleSelector"),
  116973. SimpleSelector_2: findType("SimpleSelector0"),
  116974. SourceFile: findType("SourceFile"),
  116975. SourceLocation: findType("SourceLocation"),
  116976. SourceSpan: findType("SourceSpan"),
  116977. SourceSpanFormatException: findType("SourceSpanFormatException"),
  116978. SourceSpanWithContext: findType("SourceSpanWithContext"),
  116979. StackTrace: findType("StackTrace"),
  116980. Statement: findType("Statement"),
  116981. Statement_2: findType("Statement0"),
  116982. StaticImport: findType("StaticImport"),
  116983. StaticImport_2: findType("StaticImport0"),
  116984. StreamCompleter_WatchEvent: findType("StreamCompleter<WatchEvent>"),
  116985. StreamGroup_WatchEvent: findType("StreamGroup<WatchEvent>"),
  116986. StreamQueue_String: findType("StreamQueue<String>"),
  116987. Stream_WatchEvent: findType("Stream<WatchEvent>"),
  116988. String: findType("String"),
  116989. StringExpression: findType("StringExpression"),
  116990. StylesheetNode: findType("StylesheetNode"),
  116991. Timer: findType("Timer"),
  116992. Trace: findType("Trace"),
  116993. TrustedGetRuntimeType: findType("TrustedGetRuntimeType"),
  116994. TypeError: findType("TypeError"),
  116995. TypeSelector: findType("TypeSelector"),
  116996. TypeSelector_2: findType("TypeSelector0"),
  116997. Uint16List: findType("Uint16List"),
  116998. Uint32List: findType("Uint32List"),
  116999. Uint8ClampedList: findType("Uint8ClampedList"),
  117000. Uint8List: findType("Uint8List"),
  117001. UnionSet_Uri: findType("UnionSet<Uri>"),
  117002. UnknownJavaScriptObject: findType("UnknownJavaScriptObject"),
  117003. UnmodifiableListView_CssComment: findType("UnmodifiableListView<CssComment>"),
  117004. UnmodifiableListView_CssComment_2: findType("UnmodifiableListView<CssComment0>"),
  117005. UnmodifiableListView_CssNode: findType("UnmodifiableListView<CssNode>"),
  117006. UnmodifiableListView_CssNode_2: findType("UnmodifiableListView<CssNode0>"),
  117007. UnmodifiableListView_ForwardRule: findType("UnmodifiableListView<ForwardRule>"),
  117008. UnmodifiableListView_ForwardRule_2: findType("UnmodifiableListView<ForwardRule0>"),
  117009. UnmodifiableListView_ModifiableCssNode: findType("UnmodifiableListView<ModifiableCssNode>"),
  117010. UnmodifiableListView_ModifiableCssNode_2: findType("UnmodifiableListView<ModifiableCssNode0>"),
  117011. UnmodifiableListView_String: findType("UnmodifiableListView<String>"),
  117012. UnmodifiableListView_UseRule: findType("UnmodifiableListView<UseRule>"),
  117013. UnmodifiableListView_UseRule_2: findType("UnmodifiableListView<UseRule0>"),
  117014. UnmodifiableMapView_String_ArgParser: findType("UnmodifiableMapView<String,ArgParser>"),
  117015. UnmodifiableMapView_String_ConfiguredValue: findType("UnmodifiableMapView<String,ConfiguredValue>"),
  117016. UnmodifiableMapView_String_ConfiguredValue_2: findType("UnmodifiableMapView<String,ConfiguredValue0>"),
  117017. UnmodifiableMapView_String_Option: findType("UnmodifiableMapView<String,Option>"),
  117018. UnmodifiableMapView_String_Value: findType("UnmodifiableMapView<String,Value>"),
  117019. UnmodifiableMapView_String_Value_2: findType("UnmodifiableMapView<String,Value0>"),
  117020. UnmodifiableMapView_of_Uri_and_nullable_StylesheetNode: findType("UnmodifiableMapView<Uri,StylesheetNode?>"),
  117021. UnmodifiableMapView_of_nullable_String_and_String: findType("UnmodifiableMapView<String?,String>"),
  117022. UnmodifiableMapView_of_nullable_String_and_nullable_String: findType("UnmodifiableMapView<String?,String?>"),
  117023. UnmodifiableSetView_String: findType("UnmodifiableSetView0<String>"),
  117024. UnmodifiableSetView_StylesheetNode: findType("UnmodifiableSetView0<StylesheetNode>"),
  117025. UnmodifiableSetView_Uri: findType("UnmodifiableSetView0<Uri>"),
  117026. UnprefixedMapView_ConfiguredValue: findType("UnprefixedMapView<ConfiguredValue>"),
  117027. UnprefixedMapView_ConfiguredValue_2: findType("UnprefixedMapView0<ConfiguredValue0>"),
  117028. Uri: findType("Uri"),
  117029. UseRule: findType("UseRule"),
  117030. UserDefinedCallable_AsyncEnvironment: findType("UserDefinedCallable<AsyncEnvironment>"),
  117031. UserDefinedCallable_AsyncEnvironment_2: findType("UserDefinedCallable0<AsyncEnvironment0>"),
  117032. UserDefinedCallable_Environment: findType("UserDefinedCallable<Environment>"),
  117033. UserDefinedCallable_Environment_2: findType("UserDefinedCallable0<Environment0>"),
  117034. Value: findType("Value"),
  117035. Value_2: findType("Value0"),
  117036. Value_Function_List_Value: findType("Value(List<Value>)"),
  117037. Value_Function_List_Value_2: findType("Value0(List<Value0>)"),
  117038. VariableDeclaration: findType("VariableDeclaration"),
  117039. VariableDeclaration_2: findType("VariableDeclaration0"),
  117040. VersionRange: findType("VersionRange"),
  117041. WatchEvent: findType("WatchEvent"),
  117042. WhereIterable_List_Iterable_ComplexSelectorComponent: findType("WhereIterable<List<Iterable<ComplexSelectorComponent>>>"),
  117043. WhereIterable_List_Iterable_ComplexSelectorComponent_2: findType("WhereIterable<List<Iterable<ComplexSelectorComponent0>>>"),
  117044. WhereIterable_String: findType("WhereIterable<String>"),
  117045. WhereTypeIterable_PseudoSelector: findType("WhereTypeIterable<PseudoSelector>"),
  117046. WhereTypeIterable_PseudoSelector_2: findType("WhereTypeIterable<PseudoSelector0>"),
  117047. WhereTypeIterable_String: findType("WhereTypeIterable<String>"),
  117048. _AsyncCompleter_List_void: findType("_AsyncCompleter<List<~>>"),
  117049. _AsyncCompleter_Object: findType("_AsyncCompleter<Object>"),
  117050. _AsyncCompleter_Stream_WatchEvent: findType("_AsyncCompleter<Stream<WatchEvent>>"),
  117051. _AsyncCompleter_String: findType("_AsyncCompleter<String>"),
  117052. _AsyncCompleter_nullable_Object: findType("_AsyncCompleter<Object?>"),
  117053. _CompleterStream_WatchEvent: findType("_CompleterStream<WatchEvent>"),
  117054. _EventRequest_dynamic: findType("_EventRequest<@>"),
  117055. _Future_List_void: findType("_Future<List<~>>"),
  117056. _Future_Object: findType("_Future<Object>"),
  117057. _Future_Stream_WatchEvent: findType("_Future<Stream<WatchEvent>>"),
  117058. _Future_String: findType("_Future<String>"),
  117059. _Future_Value: findType("_Future<Value>"),
  117060. _Future_Value_2: findType("_Future<Value0>"),
  117061. _Future_bool: findType("_Future<bool>"),
  117062. _Future_dynamic: findType("_Future<@>"),
  117063. _Future_int: findType("_Future<int>"),
  117064. _Future_nullable_Object: findType("_Future<Object?>"),
  117065. _Future_void: findType("_Future<~>"),
  117066. _Highlight: findType("_Highlight"),
  117067. _IdentityHashMap_of_nullable_Object_and_nullable_Object: findType("_IdentityHashMap<Object?,Object?>"),
  117068. _LinkedIdentityHashSet_ComplexSelector: findType("_LinkedIdentityHashSet<ComplexSelector>"),
  117069. _LinkedIdentityHashSet_ComplexSelector_2: findType("_LinkedIdentityHashSet<ComplexSelector0>"),
  117070. _LinkedIdentityHashSet_Extension: findType("_LinkedIdentityHashSet<Extension>"),
  117071. _LinkedIdentityHashSet_Extension_2: findType("_LinkedIdentityHashSet<Extension0>"),
  117072. _MapEntry: findType("_MapEntry"),
  117073. _NodeException: findType("_NodeException"),
  117074. _PlatformUri: findType("_PlatformUri"),
  117075. _SyncStarIterable_Deprecation: findType("_SyncStarIterable<Deprecation0>"),
  117076. _SyncStarIterable_Extension: findType("_SyncStarIterable<Extension>"),
  117077. _SyncStarIterable_Extension_2: findType("_SyncStarIterable<Extension0>"),
  117078. _SyncStarIterable_SimpleSelector: findType("_SyncStarIterable<SimpleSelector>"),
  117079. _SyncStarIterable_SimpleSelector_2: findType("_SyncStarIterable<SimpleSelector0>"),
  117080. _SyncStarIterable_String: findType("_SyncStarIterable<String>"),
  117081. bool: findType("bool"),
  117082. double: findType("double"),
  117083. dynamic: findType("@"),
  117084. dynamic_Function: findType("@()"),
  117085. dynamic_Function_Object: findType("@(Object)"),
  117086. dynamic_Function_Object_StackTrace: findType("@(Object,StackTrace)"),
  117087. int: findType("int"),
  117088. legacy_Never: findType("0&*"),
  117089. legacy_Object: findType("Object*"),
  117090. nullable_AstNode: findType("AstNode?"),
  117091. nullable_AstNode_2: findType("AstNode0?"),
  117092. nullable_CanonicalizeContext: findType("CanonicalizeContext?"),
  117093. nullable_CanonicalizeContext_2: findType("CanonicalizeContext0?"),
  117094. nullable_CssValue_String: findType("CssValue<String>?"),
  117095. nullable_CssValue_String_2: findType("CssValue0<String>?"),
  117096. nullable_Future_Null: findType("Future<Null>?"),
  117097. nullable_Future_void: findType("Future<~>?"),
  117098. nullable_ImporterResult: findType("ImporterResult?"),
  117099. nullable_ImporterResult_2: findType("ImporterResult0?"),
  117100. nullable_Object: findType("Object?"),
  117101. nullable_Record_2_String_and_String: findType("+(String,String)?"),
  117102. nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl: findType("+originalUrl(AsyncImporter,Uri,Uri)?"),
  117103. nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2: findType("+originalUrl(AsyncImporter0,Uri,Uri)?"),
  117104. nullable_Record_3_Importer_and_Uri_and_Uri_originalUrl: findType("+originalUrl(Importer,Uri,Uri)?"),
  117105. nullable_Record_3_Importer_and_Uri_and_Uri_originalUrl_2: findType("+originalUrl(Importer0,Uri,Uri)?"),
  117106. nullable_Record_3_Stylesheet_and_nullable_AsyncImporter_importer_and_bool_isDependency: findType("+importer,isDependency(Stylesheet0,AsyncImporter0?,bool)?"),
  117107. nullable_Record_3_int_and_String_and_nullable_String: findType("+(int,String,String?)?"),
  117108. nullable_SourceFile: findType("SourceFile?"),
  117109. nullable_SourceSpan: findType("SourceSpan?"),
  117110. nullable_StreamSubscription_WatchEvent: findType("StreamSubscription<WatchEvent>?"),
  117111. nullable_String: findType("String?"),
  117112. nullable_Stylesheet: findType("Stylesheet?"),
  117113. nullable_StylesheetNode: findType("StylesheetNode?"),
  117114. nullable_Stylesheet_2: findType("Stylesheet0?"),
  117115. nullable_Uri: findType("Uri?"),
  117116. nullable_Value: findType("Value?"),
  117117. nullable_Value_2: findType("Value0?"),
  117118. nullable__ConstructorOptions: findType("_ConstructorOptions?"),
  117119. nullable__ConstructorOptions_2: findType("_ConstructorOptions0?"),
  117120. nullable__ConstructorOptions_3: findType("_ConstructorOptions1?"),
  117121. nullable__Highlight: findType("_Highlight?"),
  117122. num: findType("num"),
  117123. void: findType("~"),
  117124. void_Function_Object: findType("~(Object)"),
  117125. void_Function_Object_StackTrace: findType("~(Object,StackTrace)")
  117126. };
  117127. })();
  117128. (function constants() {
  117129. var makeConstList = hunkHelpers.makeConstList;
  117130. B.Interceptor_methods = J.Interceptor.prototype;
  117131. B.JSArray_methods = J.JSArray.prototype;
  117132. B.JSInt_methods = J.JSInt.prototype;
  117133. B.JSNull_methods = J.JSNull.prototype;
  117134. B.JSNumber_methods = J.JSNumber.prototype;
  117135. B.JSString_methods = J.JSString.prototype;
  117136. B.JavaScriptFunction_methods = J.JavaScriptFunction.prototype;
  117137. B.JavaScriptObject_methods = J.JavaScriptObject.prototype;
  117138. B.NativeUint32List_methods = A.NativeUint32List.prototype;
  117139. B.NativeUint8List_methods = A.NativeUint8List.prototype;
  117140. B.PlainJavaScriptObject_methods = J.PlainJavaScriptObject.prototype;
  117141. B.UnknownJavaScriptObject_methods = J.UnknownJavaScriptObject.prototype;
  117142. B.AsciiEncoder_127 = new A.AsciiEncoder(127);
  117143. B.C_EmptyUnmodifiableSet1 = new A.EmptyUnmodifiableSet(A.findType("EmptyUnmodifiableSet<String>"));
  117144. B.AtRootQuery_n2q = new A.AtRootQuery(false, B.C_EmptyUnmodifiableSet1, false, true);
  117145. B.AtRootQuery_n2q0 = new A.AtRootQuery0(false, B.C_EmptyUnmodifiableSet1, false, true);
  117146. B.AttributeOperator_4QF = new A.AttributeOperator("=", "equal");
  117147. B.AttributeOperator_4QF0 = new A.AttributeOperator0("=", "equal");
  117148. B.AttributeOperator_61T = new A.AttributeOperator("*=", "substring");
  117149. B.AttributeOperator_61T0 = new A.AttributeOperator0("*=", "substring");
  117150. B.AttributeOperator_cMb = new A.AttributeOperator("^=", "prefix");
  117151. B.AttributeOperator_cMb0 = new A.AttributeOperator0("^=", "prefix");
  117152. B.AttributeOperator_jqB = new A.AttributeOperator("|=", "dash");
  117153. B.AttributeOperator_jqB0 = new A.AttributeOperator0("|=", "dash");
  117154. B.AttributeOperator_qhE = new A.AttributeOperator("$=", "suffix");
  117155. B.AttributeOperator_qhE0 = new A.AttributeOperator0("$=", "suffix");
  117156. B.AttributeOperator_yT8 = new A.AttributeOperator("~=", "include");
  117157. B.AttributeOperator_yT80 = new A.AttributeOperator0("~=", "include");
  117158. B.BinaryOperator_2No = new A.BinaryOperator("times", "*", 6, true, "times");
  117159. B.BinaryOperator_2No0 = new A.BinaryOperator0("times", "*", 6, true, "times");
  117160. B.BinaryOperator_KNx = new A.BinaryOperator("modulo", "%", 6, false, "modulo");
  117161. B.BinaryOperator_KNx0 = new A.BinaryOperator0("modulo", "%", 6, false, "modulo");
  117162. B.BinaryOperator_SPQ = new A.BinaryOperator("less than or equals", "<=", 4, false, "lessThanOrEquals");
  117163. B.BinaryOperator_SPQ0 = new A.BinaryOperator0("less than or equals", "<=", 4, false, "lessThanOrEquals");
  117164. B.BinaryOperator_SjO = new A.BinaryOperator("minus", "-", 5, false, "minus");
  117165. B.BinaryOperator_SjO0 = new A.BinaryOperator0("minus", "-", 5, false, "minus");
  117166. B.BinaryOperator_U77 = new A.BinaryOperator("divided by", "/", 6, false, "dividedBy");
  117167. B.BinaryOperator_U770 = new A.BinaryOperator0("divided by", "/", 6, false, "dividedBy");
  117168. B.BinaryOperator_bEa = new A.BinaryOperator("greater than", ">", 4, false, "greaterThan");
  117169. B.BinaryOperator_bEa0 = new A.BinaryOperator0("greater than", ">", 4, false, "greaterThan");
  117170. B.BinaryOperator_eDt = new A.BinaryOperator("and", "and", 2, true, "and");
  117171. B.BinaryOperator_eDt0 = new A.BinaryOperator0("and", "and", 2, true, "and");
  117172. B.BinaryOperator_g8k = new A.BinaryOperator("equals", "==", 3, false, "equals");
  117173. B.BinaryOperator_g8k0 = new A.BinaryOperator0("equals", "==", 3, false, "equals");
  117174. B.BinaryOperator_icU = new A.BinaryOperator("not equals", "!=", 3, false, "notEquals");
  117175. B.BinaryOperator_icU0 = new A.BinaryOperator0("not equals", "!=", 3, false, "notEquals");
  117176. B.BinaryOperator_miq = new A.BinaryOperator("less than", "<", 4, false, "lessThan");
  117177. B.BinaryOperator_miq0 = new A.BinaryOperator0("less than", "<", 4, false, "lessThan");
  117178. B.BinaryOperator_oEm = new A.BinaryOperator("greater than or equals", ">=", 4, false, "greaterThanOrEquals");
  117179. B.BinaryOperator_oEm0 = new A.BinaryOperator0("greater than or equals", ">=", 4, false, "greaterThanOrEquals");
  117180. B.BinaryOperator_qNM = new A.BinaryOperator("or", "or", 1, true, "or");
  117181. B.BinaryOperator_qNM0 = new A.BinaryOperator0("or", "or", 1, true, "or");
  117182. B.BinaryOperator_u15 = new A.BinaryOperator("plus", "+", 5, true, "plus");
  117183. B.BinaryOperator_u150 = new A.BinaryOperator0("plus", "+", 5, true, "plus");
  117184. B.BinaryOperator_wdM = new A.BinaryOperator("single equals", "=", 0, false, "singleEquals");
  117185. B.BinaryOperator_wdM0 = new A.BinaryOperator0("single equals", "=", 0, false, "singleEquals");
  117186. B.CONSTANT = new A.Instantiation1(A.math0__max$closure(), A.findType("Instantiation1<int>"));
  117187. B.C_AsciiCodec = new A.AsciiCodec();
  117188. B.C_AsciiGlyphSet = new A.AsciiGlyphSet();
  117189. B.C_Base64Encoder = new A.Base64Encoder();
  117190. B.C_Base64Codec = new A.Base64Codec();
  117191. B.C_DefaultEquality = new A.DefaultEquality();
  117192. B.C_EmptyExtensionStore = new A.EmptyExtensionStore();
  117193. B.C_EmptyExtensionStore0 = new A.EmptyExtensionStore0();
  117194. B.C_EmptyIterator = new A.EmptyIterator();
  117195. B.C_EmptyUnmodifiableSet = new A.EmptyUnmodifiableSet(A.findType("EmptyUnmodifiableSet<SimpleSelector>"));
  117196. B.C_EmptyUnmodifiableSet0 = new A.EmptyUnmodifiableSet(A.findType("EmptyUnmodifiableSet<SimpleSelector0>"));
  117197. B.C_IterableEquality = new A.IterableEquality();
  117198. B.C_JS_CONST = function getTagFallback(o) {
  117199. var s = Object.prototype.toString.call(o);
  117200. return s.substring(8, s.length - 1);
  117201. };
  117202. B.C_JS_CONST0 = function() {
  117203. var toStringFunction = Object.prototype.toString;
  117204. function getTag(o) {
  117205. var s = toStringFunction.call(o);
  117206. return s.substring(8, s.length - 1);
  117207. }
  117208. function getUnknownTag(object, tag) {
  117209. if (/^HTML[A-Z].*Element$/.test(tag)) {
  117210. var name = toStringFunction.call(object);
  117211. if (name == "[object Object]") return null;
  117212. return "HTMLElement";
  117213. }
  117214. }
  117215. function getUnknownTagGenericBrowser(object, tag) {
  117216. if (object instanceof HTMLElement) return "HTMLElement";
  117217. return getUnknownTag(object, tag);
  117218. }
  117219. function prototypeForTag(tag) {
  117220. if (typeof window == "undefined") return null;
  117221. if (typeof window[tag] == "undefined") return null;
  117222. var constructor = window[tag];
  117223. if (typeof constructor != "function") return null;
  117224. return constructor.prototype;
  117225. }
  117226. function discriminator(tag) { return null; }
  117227. var isBrowser = typeof HTMLElement == "function";
  117228. return {
  117229. getTag: getTag,
  117230. getUnknownTag: isBrowser ? getUnknownTagGenericBrowser : getUnknownTag,
  117231. prototypeForTag: prototypeForTag,
  117232. discriminator: discriminator };
  117233. };
  117234. B.C_JS_CONST6 = function(getTagFallback) {
  117235. return function(hooks) {
  117236. if (typeof navigator != "object") return hooks;
  117237. var userAgent = navigator.userAgent;
  117238. if (typeof userAgent != "string") return hooks;
  117239. if (userAgent.indexOf("DumpRenderTree") >= 0) return hooks;
  117240. if (userAgent.indexOf("Chrome") >= 0) {
  117241. function confirm(p) {
  117242. return typeof window == "object" && window[p] && window[p].name == p;
  117243. }
  117244. if (confirm("Window") && confirm("HTMLElement")) return hooks;
  117245. }
  117246. hooks.getTag = getTagFallback;
  117247. };
  117248. };
  117249. B.C_JS_CONST1 = function(hooks) {
  117250. if (typeof dartExperimentalFixupGetTag != "function") return hooks;
  117251. hooks.getTag = dartExperimentalFixupGetTag(hooks.getTag);
  117252. };
  117253. B.C_JS_CONST5 = function(hooks) {
  117254. if (typeof navigator != "object") return hooks;
  117255. var userAgent = navigator.userAgent;
  117256. if (typeof userAgent != "string") return hooks;
  117257. if (userAgent.indexOf("Firefox") == -1) return hooks;
  117258. var getTag = hooks.getTag;
  117259. var quickMap = {
  117260. "BeforeUnloadEvent": "Event",
  117261. "DataTransfer": "Clipboard",
  117262. "GeoGeolocation": "Geolocation",
  117263. "Location": "!Location",
  117264. "WorkerMessageEvent": "MessageEvent",
  117265. "XMLDocument": "!Document"};
  117266. function getTagFirefox(o) {
  117267. var tag = getTag(o);
  117268. return quickMap[tag] || tag;
  117269. }
  117270. hooks.getTag = getTagFirefox;
  117271. };
  117272. B.C_JS_CONST4 = function(hooks) {
  117273. if (typeof navigator != "object") return hooks;
  117274. var userAgent = navigator.userAgent;
  117275. if (typeof userAgent != "string") return hooks;
  117276. if (userAgent.indexOf("Trident/") == -1) return hooks;
  117277. var getTag = hooks.getTag;
  117278. var quickMap = {
  117279. "BeforeUnloadEvent": "Event",
  117280. "DataTransfer": "Clipboard",
  117281. "HTMLDDElement": "HTMLElement",
  117282. "HTMLDTElement": "HTMLElement",
  117283. "HTMLPhraseElement": "HTMLElement",
  117284. "Position": "Geoposition"
  117285. };
  117286. function getTagIE(o) {
  117287. var tag = getTag(o);
  117288. var newTag = quickMap[tag];
  117289. if (newTag) return newTag;
  117290. if (tag == "Object") {
  117291. if (window.DataView && (o instanceof window.DataView)) return "DataView";
  117292. }
  117293. return tag;
  117294. }
  117295. function prototypeForTagIE(tag) {
  117296. var constructor = window[tag];
  117297. if (constructor == null) return null;
  117298. return constructor.prototype;
  117299. }
  117300. hooks.getTag = getTagIE;
  117301. hooks.prototypeForTag = prototypeForTagIE;
  117302. };
  117303. B.C_JS_CONST2 = function(hooks) {
  117304. var getTag = hooks.getTag;
  117305. var prototypeForTag = hooks.prototypeForTag;
  117306. function getTagFixed(o) {
  117307. var tag = getTag(o);
  117308. if (tag == "Document") {
  117309. if (!!o.xmlVersion) return "!Document";
  117310. return "!HTMLDocument";
  117311. }
  117312. return tag;
  117313. }
  117314. function prototypeForTagFixed(tag) {
  117315. if (tag == "Document") return null;
  117316. return prototypeForTag(tag);
  117317. }
  117318. hooks.getTag = getTagFixed;
  117319. hooks.prototypeForTag = prototypeForTagFixed;
  117320. };
  117321. B.C_JS_CONST3 = function(hooks) { return hooks; }
  117322. ;
  117323. B.C_JsonCodec = new A.JsonCodec();
  117324. B.C_ListEquality0 = new A.ListEquality();
  117325. B.C_ListEquality = new A.ListEquality();
  117326. B.C_MapEquality = new A.MapEquality(A.findType("MapEquality<Object,Object>"));
  117327. B.C_OutOfMemoryError = new A.OutOfMemoryError();
  117328. B.C_SentinelValue = new A.SentinelValue();
  117329. B.C_UnicodeGlyphSet = new A.UnicodeGlyphSet();
  117330. B.C_Utf8Codec = new A.Utf8Codec();
  117331. B.C_Utf8Encoder = new A.Utf8Encoder();
  117332. B.C__DelayedDone = new A._DelayedDone();
  117333. B.C__HasContentVisitor = new A._HasContentVisitor();
  117334. B.C__HasContentVisitor0 = new A._HasContentVisitor0();
  117335. B.C__IsUselessVisitor = new A._IsUselessVisitor();
  117336. B.C__IsUselessVisitor0 = new A._IsUselessVisitor0();
  117337. B.C__JSRandom = new A._JSRandom();
  117338. B.C__MakeExpressionCalculationSafe = new A._MakeExpressionCalculationSafe();
  117339. B.C__MakeExpressionCalculationSafe0 = new A._MakeExpressionCalculationSafe0();
  117340. B.C__ParentSelectorVisitor = new A._ParentSelectorVisitor();
  117341. B.C__ParentSelectorVisitor0 = new A._ParentSelectorVisitor0();
  117342. B.C__Required = new A._Required();
  117343. B.C__RootZone = new A._RootZone();
  117344. B.C__SassNull = new A._SassNull();
  117345. B.C__SassNull0 = new A._SassNull0();
  117346. B.CalculationOperator_171 = new A.CalculationOperator("times", "*", 2, "times");
  117347. B.CalculationOperator_1710 = new A.CalculationOperator0("times", "*", 2, "times");
  117348. B.CalculationOperator_CxF = new A.CalculationOperator("minus", "-", 1, "minus");
  117349. B.CalculationOperator_CxF0 = new A.CalculationOperator0("minus", "-", 1, "minus");
  117350. B.CalculationOperator_Qf1 = new A.CalculationOperator("divided by", "/", 2, "dividedBy");
  117351. B.CalculationOperator_Qf10 = new A.CalculationOperator0("divided by", "/", 2, "dividedBy");
  117352. B.CalculationOperator_g2q = new A.CalculationOperator("plus", "+", 1, "plus");
  117353. B.CalculationOperator_g2q0 = new A.CalculationOperator0("plus", "+", 1, "plus");
  117354. B.ChangeType_add = new A.ChangeType("add");
  117355. B.ChangeType_modify = new A.ChangeType("modify");
  117356. B.ChangeType_remove = new A.ChangeType("remove");
  117357. B.Combinator_8I8 = new A.Combinator(">", "child");
  117358. B.Combinator_8I80 = new A.Combinator0(">", "child");
  117359. B.Combinator_gRV = new A.Combinator("+", "nextSibling");
  117360. B.Combinator_gRV0 = new A.Combinator0("+", "nextSibling");
  117361. B.Combinator_y18 = new A.Combinator("~", "followingSibling");
  117362. B.Combinator_y180 = new A.Combinator0("~", "followingSibling");
  117363. B.Object_empty = {};
  117364. B.Map_empty17 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,ConfiguredValue>"));
  117365. B.Configuration_Map_empty_null = new A.Configuration(B.Map_empty17, null);
  117366. B.Map_empty18 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,ConfiguredValue0>"));
  117367. B.Configuration_Map_empty_null0 = new A.Configuration0(B.Map_empty18, null);
  117368. B.Deprecation_2Vk = new A.Deprecation("strict-unary", "1.55.0", false, "strictUnary");
  117369. B.Deprecation_2jN = new A.Deprecation("function-units", "1.56.0", false, "functionUnits");
  117370. B.Deprecation_2nU = new A.Deprecation("new-global", "1.17.2", false, "newGlobal");
  117371. B.Deprecation_4uL = new A.Deprecation("duplicate-var-flags", "1.62.0", false, "duplicateVariableFlags");
  117372. B.Deprecation_5pG = new A.Deprecation0("bogus-combinators", "1.54.0", "Leading, trailing, and repeated combinators.", false, "bogusCombinators");
  117373. B.Deprecation_Agq = new A.Deprecation0("calc-interp", null, null, false, "calcInterp");
  117374. B.Deprecation_B4v = new A.Deprecation("fs-importer-cwd", "1.73.0", false, "fsImporterCwd");
  117375. B.Deprecation_E8a = new A.Deprecation0("slash-div", "1.33.0", "/ operator for division.", false, "slashDiv");
  117376. B.Deprecation_EJz = new A.Deprecation("elseif", "1.3.2", false, "elseif");
  117377. B.Deprecation_EfO = new A.Deprecation0("color-module-compat", "1.23.0", "Using color module functions in place of plain CSS functions.", false, "colorModuleCompat");
  117378. B.Deprecation_GFc = new A.Deprecation("abs-percent", "1.65.0", false, "absPercent");
  117379. B.Deprecation_HJ0 = new A.Deprecation("css-function-mixin", "1.76.0", false, "cssFunctionMixin");
  117380. B.Deprecation_IMm = new A.Deprecation("relative-canonical", "1.14.2", false, "relativeCanonical");
  117381. B.Deprecation_Iit = new A.Deprecation0("moz-document", "1.7.2", "@-moz-document.", false, "mozDocument");
  117382. B.Deprecation_JeE = new A.Deprecation("user-authored", null, false, "userAuthored");
  117383. B.Deprecation_MMc = new A.Deprecation0("call-string", "0.0.0", "Passing a string directly to meta.call().", false, "callString");
  117384. B.Deprecation_W6Z = new A.Deprecation0("new-global", "1.17.2", "Declaring new variables with !global.", false, "newGlobal");
  117385. B.Deprecation_c2q = new A.Deprecation0("duplicate-var-flags", "1.62.0", "Using !default or !global multiple times for one variable.", false, "duplicateVariableFlags");
  117386. B.Deprecation_gkc = new A.Deprecation("call-string", "0.0.0", false, "callString");
  117387. B.Deprecation_iDZ = new A.Deprecation("color-module-compat", "1.23.0", false, "colorModuleCompat");
  117388. B.Deprecation_ido = new A.Deprecation("bogus-combinators", "1.54.0", false, "bogusCombinators");
  117389. B.Deprecation_import_null_true_import = new A.Deprecation("import", null, true, "import");
  117390. B.Deprecation_jBa = new A.Deprecation0("relative-canonical", "1.14.2", null, false, "relativeCanonical");
  117391. B.Deprecation_jYb = new A.Deprecation0("abs-percent", "1.65.0", "Passing percentages to the Sass abs() function.", false, "absPercent");
  117392. B.Deprecation_kmo = new A.Deprecation0("fs-importer-cwd", "1.73.0", "Using the current working directory as an implicit load path.", false, "fsImporterCwd");
  117393. B.Deprecation_oCX = new A.Deprecation0("function-units", "1.56.0", "Passing invalid units to built-in functions.", false, "functionUnits");
  117394. B.Deprecation_oJv = new A.Deprecation("slash-div", "1.33.0", false, "slashDiv");
  117395. B.Deprecation_omH = new A.Deprecation0("null-alpha", "1.62.3", "Passing null as alpha in the JS API.", false, "nullAlpha");
  117396. B.Deprecation_oty = new A.Deprecation0("user-authored", null, null, false, "userAuthored");
  117397. B.Deprecation_qBS = new A.Deprecation0("css-function-mixin", "1.76.0", "Function and mixin names beginning with --.", false, "cssFunctionMixin");
  117398. B.Deprecation_qd9 = new A.Deprecation0("import", null, "@import rules.", true, "import");
  117399. B.Deprecation_uNF = new A.Deprecation("moz-document", "1.7.2", false, "mozDocument");
  117400. B.Deprecation_woc = new A.Deprecation0("strict-unary", "1.55.0", "Ambiguous + and - operators.", false, "strictUnary");
  117401. B.Deprecation_xw8 = new A.Deprecation0("elseif", "1.3.2", "@elseif.", false, "elseif");
  117402. B.Duration_0 = new A.Duration(0);
  117403. B.ExtendMode_allTargets_allTargets = new A.ExtendMode("allTargets", "allTargets");
  117404. B.ExtendMode_allTargets_allTargets0 = new A.ExtendMode0("allTargets", "allTargets");
  117405. B.ExtendMode_normal_normal = new A.ExtendMode("normal", "normal");
  117406. B.ExtendMode_normal_normal0 = new A.ExtendMode0("normal", "normal");
  117407. B.ExtendMode_replace_replace = new A.ExtendMode("replace", "replace");
  117408. B.ExtendMode_replace_replace0 = new A.ExtendMode0("replace", "replace");
  117409. B.JsonDecoder_null = new A.JsonDecoder(null);
  117410. B.JsonEncoder_null = new A.JsonEncoder(null);
  117411. B.LineFeed_75j = new A.LineFeed0("lfcr", "\n\r", "lfcr");
  117412. B.LineFeed_89t = new A.LineFeed0("cr", "\r", "cr");
  117413. B.LineFeed_A4L = new A.LineFeed0("crlf", "\r\n", "crlf");
  117414. B.LineFeed_LvD = new A.LineFeed0("lf", "\n", "lf");
  117415. B.LineFeed_lf = new A.LineFeed("lf");
  117416. B.ListSeparator_ECn = new A.ListSeparator("comma", ",", "comma");
  117417. B.ListSeparator_ECn0 = new A.ListSeparator0("comma", ",", "comma");
  117418. B.ListSeparator_cQA = new A.ListSeparator("slash", "/", "slash");
  117419. B.ListSeparator_cQA0 = new A.ListSeparator0("slash", "/", "slash");
  117420. B.ListSeparator_nbm = new A.ListSeparator("space", " ", "space");
  117421. B.ListSeparator_nbm0 = new A.ListSeparator0("space", " ", "space");
  117422. B.ListSeparator_undecided_null_undecided = new A.ListSeparator("undecided", null, "undecided");
  117423. B.ListSeparator_undecided_null_undecided0 = new A.ListSeparator0("undecided", null, "undecided");
  117424. B.List_2jN = A._setArrayType(makeConstList([0, 0, 32722, 12287, 65534, 34815, 65534, 18431]), type$.JSArray_int);
  117425. B.List_42A = A._setArrayType(makeConstList([0, 0, 65490, 45055, 65535, 34815, 65534, 18431]), type$.JSArray_int);
  117426. B.List_4AN = A._setArrayType(makeConstList([0, 0, 32754, 11263, 65534, 34815, 65534, 18431]), type$.JSArray_int);
  117427. B.Object_79D = {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};
  117428. B.Set_ot1A = new A.ConstantStringSet(B.Object_79D, 49, type$.ConstantStringSet_String);
  117429. B.Object_Yf3 = {deg: 0, grad: 1, rad: 2, turn: 3};
  117430. B.Set_YZQG9 = new A.ConstantStringSet(B.Object_Yf3, 4, type$.ConstantStringSet_String);
  117431. B.Object_s_0_ms_1 = {s: 0, ms: 1};
  117432. B.Set_wEo81 = new A.ConstantStringSet(B.Object_s_0_ms_1, 2, type$.ConstantStringSet_String);
  117433. B.Object_hz_0_khz_1 = {hz: 0, khz: 1};
  117434. B.Set_y00Wb = new A.ConstantStringSet(B.Object_hz_0_khz_1, 2, type$.ConstantStringSet_String);
  117435. B.Object_3CF = {dpi: 0, dpcm: 1, dppx: 2};
  117436. B.Set_Db0y4 = new A.ConstantStringSet(B.Object_3CF, 3, type$.ConstantStringSet_String);
  117437. B.List_Eeh = A._setArrayType(makeConstList([B.Set_ot1A, B.Set_YZQG9, B.Set_wEo81, B.Set_y00Wb, B.Set_Db0y4]), A.findType("JSArray<Set<String>>"));
  117438. B.List_GVy = A._setArrayType(makeConstList([0, 0, 26624, 1023, 65534, 2047, 65534, 2047]), type$.JSArray_int);
  117439. B.List_M2I0 = A._setArrayType(makeConstList([0, 0, 32722, 12287, 65535, 34815, 65534, 18431]), type$.JSArray_int);
  117440. B.List_M2I = A._setArrayType(makeConstList([0, 0, 65490, 12287, 65535, 34815, 65534, 18431]), type$.JSArray_int);
  117441. B.List_VOY = A._setArrayType(makeConstList([0, 0, 32776, 33792, 1, 10240, 0, 0]), type$.JSArray_int);
  117442. B.Deprecation_gQW = new A.Deprecation("null-alpha", "1.62.3", false, "nullAlpha");
  117443. B.Deprecation_ErI = new A.Deprecation("calc-interp", null, false, "calcInterp");
  117444. B.List_Zyt = A._setArrayType(makeConstList([B.Deprecation_gkc, B.Deprecation_EJz, B.Deprecation_uNF, B.Deprecation_IMm, B.Deprecation_2nU, B.Deprecation_iDZ, B.Deprecation_oJv, B.Deprecation_ido, B.Deprecation_2Vk, B.Deprecation_2jN, B.Deprecation_GFc, B.Deprecation_4uL, B.Deprecation_gQW, B.Deprecation_B4v, B.Deprecation_HJ0, B.Deprecation_ErI, B.Deprecation_import_null_true_import, B.Deprecation_JeE]), A.findType("JSArray<Deprecation>"));
  117445. B.List_e7f = A._setArrayType(makeConstList([B.Deprecation_MMc, B.Deprecation_xw8, B.Deprecation_Iit, B.Deprecation_jBa, B.Deprecation_W6Z, B.Deprecation_EfO, B.Deprecation_E8a, B.Deprecation_5pG, B.Deprecation_woc, B.Deprecation_oCX, B.Deprecation_jYb, B.Deprecation_c2q, B.Deprecation_omH, B.Deprecation_kmo, B.Deprecation_qBS, B.Deprecation_Agq, B.Deprecation_qd9, B.Deprecation_oty]), A.findType("JSArray<Deprecation0>"));
  117446. B.List_empty11 = A._setArrayType(makeConstList([]), type$.JSArray_Argument);
  117447. B.List_empty22 = A._setArrayType(makeConstList([]), type$.JSArray_Argument_2);
  117448. B.List_empty24 = A._setArrayType(makeConstList([]), type$.JSArray_AsyncCallable_2);
  117449. B.List_empty25 = A._setArrayType(makeConstList([]), type$.JSArray_AsyncImporter);
  117450. B.List_empty2 = A._setArrayType(makeConstList([]), type$.JSArray_ComplexSelector);
  117451. B.List_empty15 = A._setArrayType(makeConstList([]), type$.JSArray_ComplexSelector_2);
  117452. B.List_empty0 = A._setArrayType(makeConstList([]), type$.JSArray_ComplexSelectorComponent);
  117453. B.List_empty13 = A._setArrayType(makeConstList([]), type$.JSArray_ComplexSelectorComponent_2);
  117454. B.List_empty10 = A._setArrayType(makeConstList([]), type$.JSArray_ConfiguredVariable);
  117455. B.List_empty21 = A._setArrayType(makeConstList([]), type$.JSArray_ConfiguredVariable_2);
  117456. B.List_empty3 = A._setArrayType(makeConstList([]), type$.JSArray_CssNode);
  117457. B.List_empty16 = A._setArrayType(makeConstList([]), type$.JSArray_CssNode_2);
  117458. B.List_empty1 = A._setArrayType(makeConstList([]), type$.JSArray_CssValue_Combinator);
  117459. B.List_empty14 = A._setArrayType(makeConstList([]), type$.JSArray_CssValue_Combinator_2);
  117460. B.List_empty9 = A._setArrayType(makeConstList([]), type$.JSArray_Expression);
  117461. B.List_empty20 = A._setArrayType(makeConstList([]), type$.JSArray_Expression_2);
  117462. B.List_empty5 = A._setArrayType(makeConstList([]), type$.JSArray_Extension);
  117463. B.List_empty17 = A._setArrayType(makeConstList([]), type$.JSArray_Extension_2);
  117464. B.List_empty23 = A._setArrayType(makeConstList([]), type$.JSArray_Importer_2);
  117465. B.List_empty7 = A._setArrayType(makeConstList([]), A.findType("JSArray<Module0<0&>>"));
  117466. B.List_empty18 = A._setArrayType(makeConstList([]), A.findType("JSArray<Module1<0&>>"));
  117467. B.List_empty12 = A._setArrayType(makeConstList([]), type$.JSArray_Statement);
  117468. B.List_empty = A._setArrayType(makeConstList([]), type$.JSArray_String);
  117469. B.List_empty8 = A._setArrayType(makeConstList([]), type$.JSArray_Value);
  117470. B.List_empty19 = A._setArrayType(makeConstList([]), type$.JSArray_Value_2);
  117471. B.List_empty4 = A._setArrayType(makeConstList([]), type$.JSArray_int);
  117472. B.List_empty6 = A._setArrayType(makeConstList([]), type$.JSArray_dynamic);
  117473. B.List_kUZ = A._setArrayType(makeConstList([B.CalculationOperator_g2q0, B.CalculationOperator_CxF0, B.CalculationOperator_1710, B.CalculationOperator_Qf10]), A.findType("JSArray<CalculationOperator0>"));
  117474. B.List_oyU = A._setArrayType(makeConstList([0, 0, 27858, 1023, 65534, 51199, 65535, 32767]), type$.JSArray_int);
  117475. B.List_piR = A._setArrayType(makeConstList([0, 0, 24576, 1023, 65534, 34815, 65534, 18431]), type$.JSArray_int);
  117476. B.Object_Jgz = {length: 0, angle: 1, time: 2, frequency: 3, "pixel density": 4};
  117477. B.List_Mul = A._setArrayType(makeConstList(["in", "cm", "pc", "mm", "q", "pt", "px"]), type$.JSArray_String);
  117478. B.List_deg_grad_rad_turn = A._setArrayType(makeConstList(["deg", "grad", "rad", "turn"]), type$.JSArray_String);
  117479. B.List_s_ms = A._setArrayType(makeConstList(["s", "ms"]), type$.JSArray_String);
  117480. B.List_Hz_kHz = A._setArrayType(makeConstList(["Hz", "kHz"]), type$.JSArray_String);
  117481. B.List_dpi_dpcm_dppx = A._setArrayType(makeConstList(["dpi", "dpcm", "dppx"]), type$.JSArray_String);
  117482. B.Map_397RH = new A.ConstantStringMap(B.Object_Jgz, [B.List_Mul, 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>>"));
  117483. B.Map_empty7 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<Module0<AsyncCallable>,List<CssComment>>"));
  117484. B.Map_empty0 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<Module0<Callable0>,List<CssComment>>"));
  117485. B.Map_empty2 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<Module0<0&>,List<CssComment>>"));
  117486. B.Map_empty15 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<Module1<AsyncCallable0>,List<CssComment0>>"));
  117487. B.Map_empty9 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<Module1<Callable>,List<CssComment0>>"));
  117488. B.Map_empty11 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<Module1<0&>,List<CssComment0>>"));
  117489. B.Map_empty4 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,AstNode>"));
  117490. B.Map_empty12 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,AstNode0>"));
  117491. B.Map_empty6 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,Expression>"));
  117492. B.Map_empty14 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,Expression0>"));
  117493. B.Map_empty8 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,Module0<AsyncCallable>>"));
  117494. B.Map_empty1 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,Module0<Callable0>>"));
  117495. B.Map_empty16 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,Module1<AsyncCallable0>>"));
  117496. B.Map_empty10 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,Module1<Callable>>"));
  117497. B.Map_empty5 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,Value>"));
  117498. B.Map_empty13 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,Value0>"));
  117499. B.Map_empty3 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<Symbol0,@>"));
  117500. B.Map_empty = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String?,String>"));
  117501. B.Object_AiQ = {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};
  117502. B.Object_Uy1 = {in: 0, cm: 1, pc: 2, mm: 3, q: 4, pt: 5, px: 6};
  117503. B.Map_MuACk = new A.ConstantStringMap(B.Object_Uy1, [1, 0.39370078740157477, 0.16666666666666666, 0.03937007874015748, 0.00984251968503937, 0.013888888888888888, 0.010416666666666666], type$.ConstantStringMap_String_double);
  117504. B.Map_MuHeh = new A.ConstantStringMap(B.Object_Uy1, [2.54, 1, 0.42333333333333334, 0.1, 0.025, 0.035277777777777776, 0.026458333333333334], type$.ConstantStringMap_String_double);
  117505. B.Map_Mudgs = new A.ConstantStringMap(B.Object_Uy1, [6, 2.3622047244094486, 1, 0.2362204724409449, 0.05905511811023623, 0.08333333333333333, 0.0625], type$.ConstantStringMap_String_double);
  117506. B.Map_Mu8oi = new A.ConstantStringMap(B.Object_Uy1, [25.4, 10, 4.233333333333333, 1, 0.25, 0.35277777777777775, 0.26458333333333334], type$.ConstantStringMap_String_double);
  117507. B.Map_MusBb = new A.ConstantStringMap(B.Object_Uy1, [101.6, 40, 16.933333333333334, 4, 1, 1.411111111111111, 1.0583333333333333], type$.ConstantStringMap_String_double);
  117508. B.Map_MuX5a = new A.ConstantStringMap(B.Object_Uy1, [72, 28.346456692913385, 12, 2.834645669291339, 0.7086614173228347, 1, 0.75], type$.ConstantStringMap_String_double);
  117509. B.Map_MuVWp = new A.ConstantStringMap(B.Object_Uy1, [96, 37.79527559055118, 16, 3.7795275590551185, 0.9448818897637796, 1.3333333333333333, 1], type$.ConstantStringMap_String_double);
  117510. B.Map_P98ha = new A.ConstantStringMap(B.Object_Yf3, [1, 0.9, 57.29577951308232, 360], type$.ConstantStringMap_String_double);
  117511. B.Map_P9IYz = new A.ConstantStringMap(B.Object_Yf3, [1.1111111111111112, 1, 63.66197723675813, 400], type$.ConstantStringMap_String_double);
  117512. B.Map_P9t42 = new A.ConstantStringMap(B.Object_Yf3, [0.017453292519943295, 0.015707963267948967, 1, 6.283185307179586], type$.ConstantStringMap_String_double);
  117513. B.Map_P9ZUB = new A.ConstantStringMap(B.Object_Yf3, [0.002777777777777778, 0.0025, 0.15915494309189535, 1], type$.ConstantStringMap_String_double);
  117514. B.Map_kUCK0 = new A.ConstantStringMap(B.Object_s_0_ms_1, [1, 0.001], type$.ConstantStringMap_String_double);
  117515. B.Map_kUfVB = new A.ConstantStringMap(B.Object_s_0_ms_1, [1000, 1], type$.ConstantStringMap_String_double);
  117516. B.Object_Hz_0_kHz_1 = {Hz: 0, kHz: 1};
  117517. B.Map_WfkC8 = new A.ConstantStringMap(B.Object_Hz_0_kHz_1, [1, 1000], type$.ConstantStringMap_String_double);
  117518. B.Map_Wfs7p = new A.ConstantStringMap(B.Object_Hz_0_kHz_1, [0.001, 1], type$.ConstantStringMap_String_double);
  117519. B.Map_dgy9B = new A.ConstantStringMap(B.Object_3CF, [1, 2.54, 96], type$.ConstantStringMap_String_double);
  117520. B.Map_dgLkt = new A.ConstantStringMap(B.Object_3CF, [0.39370078740157477, 1, 37.79527559055118], type$.ConstantStringMap_String_double);
  117521. B.Map_dgw3K = new A.ConstantStringMap(B.Object_3CF, [0.010416666666666666, 0.026458333333333334, 1], type$.ConstantStringMap_String_double);
  117522. B.Map_gQqJO = new A.ConstantStringMap(B.Object_AiQ, [B.Map_MuACk, B.Map_MuHeh, B.Map_Mudgs, B.Map_Mu8oi, B.Map_MusBb, B.Map_MuX5a, B.Map_MuVWp, B.Map_P98ha, B.Map_P9IYz, B.Map_P9t42, B.Map_P9ZUB, B.Map_kUCK0, B.Map_kUfVB, B.Map_WfkC8, B.Map_Wfs7p, B.Map_dgy9B, B.Map_dgLkt, B.Map_dgw3K], A.findType("ConstantStringMap<String,Map<String,double>>"));
  117523. B.OptionType_I6i = new A.OptionType("OptionType.flag");
  117524. B.OptionType_tew = new A.OptionType("OptionType.single");
  117525. B.OptionType_yPm = new A.OptionType("OptionType.multiple");
  117526. B.OutputStyle_0 = new A.OutputStyle("expanded");
  117527. B.OutputStyle_00 = new A.OutputStyle0("expanded");
  117528. B.OutputStyle_1 = new A.OutputStyle("compressed");
  117529. B.OutputStyle_10 = new A.OutputStyle0("compressed");
  117530. B.Map_empty19 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<SelectorList,Box<SelectorList>>"));
  117531. B.Record2_EmptyExtensionStore_Map_empty = new A._Record_2(B.C_EmptyExtensionStore, B.Map_empty19);
  117532. B.Map_empty20 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<SelectorList0,Box0<SelectorList0>>"));
  117533. B.Record2_EmptyExtensionStore_Map_empty0 = new A._Record_2(B.C_EmptyExtensionStore0, B.Map_empty20);
  117534. B.SassBoolean_false = new A.SassBoolean(false);
  117535. B.SassBoolean_false0 = new A.SassBoolean0(false);
  117536. B.SassBoolean_true = new A.SassBoolean(true);
  117537. B.SassBoolean_true0 = new A.SassBoolean0(true);
  117538. B.SassList_bdS = new A.SassList(B.List_empty8, B.ListSeparator_ECn, false);
  117539. B.SassList_bdS0 = new A.SassList(B.List_empty8, B.ListSeparator_ECn, true);
  117540. B.SassList_bdS1 = new A.SassList0(B.List_empty19, B.ListSeparator_ECn0, false);
  117541. B.SassList_bdS2 = new A.SassList0(B.List_empty19, B.ListSeparator_ECn0, true);
  117542. B.SassList_k8F = new A.SassList0(B.List_empty19, B.ListSeparator_undecided_null_undecided0, false);
  117543. B.Map_empty21 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<Value,Value>"));
  117544. B.SassMap_Map_empty = new A.SassMap(B.Map_empty21);
  117545. B.Map_empty22 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<Value0,Value0>"));
  117546. B.SassMap_Map_empty0 = new A.SassMap0(B.Map_empty22);
  117547. B.Object_oyn = {".scss": 0, ".sass": 1, ".css": 2};
  117548. B.Set_0 = new A.ConstantStringSet(B.Object_oyn, 3, type$.ConstantStringSet_String);
  117549. B.Object_6Gw = {sass: 0, style: 1, default: 2};
  117550. B.Set_TnQrk = new A.ConstantStringSet(B.Object_6Gw, 3, type$.ConstantStringSet_String);
  117551. B.Set_empty1 = new A.ConstantStringSet(B.Object_empty, 0, A.findType("ConstantStringSet<CssMediaQuery>"));
  117552. B.Set_empty5 = new A.ConstantStringSet(B.Object_empty, 0, A.findType("ConstantStringSet<CssMediaQuery0>"));
  117553. B.Set_empty2 = new A.ConstantStringSet(B.Object_empty, 0, A.findType("ConstantStringSet<Module0<AsyncCallable>>"));
  117554. B.Set_empty0 = new A.ConstantStringSet(B.Object_empty, 0, A.findType("ConstantStringSet<Module0<Callable0>>"));
  117555. B.Set_empty6 = new A.ConstantStringSet(B.Object_empty, 0, A.findType("ConstantStringSet<Module1<AsyncCallable0>>"));
  117556. B.Set_empty4 = new A.ConstantStringSet(B.Object_empty, 0, A.findType("ConstantStringSet<Module1<Callable>>"));
  117557. B.Set_empty7 = new A.ConstantStringSet(B.Object_empty, 0, type$.ConstantStringSet_String);
  117558. B.Set_empty3 = new A.ConstantStringSet(B.Object_empty, 0, A.findType("ConstantStringSet<StylesheetNode>"));
  117559. B.Set_empty = new A.ConstantStringSet(B.Object_empty, 0, A.findType("ConstantStringSet<Uri>"));
  117560. B.Object_q8Y = {is: 0, matches: 1, where: 2};
  117561. B.Set_mlzm2 = new A.ConstantStringSet(B.Object_q8Y, 3, type$.ConstantStringSet_String);
  117562. B.Set_mqKz = new A.GeneralConstantSet([B.BinaryOperator_2No, B.BinaryOperator_U77, B.BinaryOperator_u15, B.BinaryOperator_SjO], A.findType("GeneralConstantSet<BinaryOperator>"));
  117563. B.Set_mqKz0 = new A.GeneralConstantSet([B.BinaryOperator_2No0, B.BinaryOperator_U770, B.BinaryOperator_u150, B.BinaryOperator_SjO0], A.findType("GeneralConstantSet<BinaryOperator0>"));
  117564. B.Object_GUq = {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};
  117565. B.Set_yHF81 = new A.ConstantStringSet(B.Object_GUq, 17, type$.ConstantStringSet_String);
  117566. B.StderrLogger_false = new A.StderrLogger(false);
  117567. B.StderrLogger_false0 = new A.StderrLogger0(false);
  117568. B.Symbol__canonicalizeContext = new A.Symbol("_canonicalizeContext");
  117569. B.Symbol__evaluationContext = new A.Symbol("_evaluationContext");
  117570. B.Symbol__extensions = new A.Symbol("_extensions");
  117571. B.Symbol__sourceSpecificity = new A.Symbol("_sourceSpecificity");
  117572. B.Symbol_call = new A.Symbol("call");
  117573. B.Syntax_CSS_css = new A.Syntax("CSS", "css");
  117574. B.Syntax_CSS_css0 = new A.Syntax0("CSS", "css");
  117575. B.Syntax_SCSS_scss = new A.Syntax("SCSS", "scss");
  117576. B.Syntax_SCSS_scss0 = new A.Syntax0("SCSS", "scss");
  117577. B.Syntax_Sass_sass = new A.Syntax("Sass", "sass");
  117578. B.Syntax_Sass_sass0 = new A.Syntax0("Sass", "sass");
  117579. B.Type_ByteBuffer_EOZ = A.typeLiteral("ByteBuffer");
  117580. B.Type_ByteData_mF8 = A.typeLiteral("ByteData");
  117581. B.Type_Float32List_Ymk = A.typeLiteral("Float32List");
  117582. B.Type_Float64List_Ymk = A.typeLiteral("Float64List");
  117583. B.Type_Int16List_cot = A.typeLiteral("Int16List");
  117584. B.Type_Int32List_m1p = A.typeLiteral("Int32List");
  117585. B.Type_Int8List_woc = A.typeLiteral("Int8List");
  117586. B.Type_Object_QJv = A.typeLiteral("Object");
  117587. B.Type_Uint16List_2mh = A.typeLiteral("Uint16List");
  117588. B.Type_Uint32List_2mh = A.typeLiteral("Uint32List");
  117589. B.Type_Uint8ClampedList_9Bb = A.typeLiteral("Uint8ClampedList");
  117590. B.Type_Uint8List_CSc = A.typeLiteral("Uint8List");
  117591. B.UnaryOperator_AiQ = new A.UnaryOperator("minus", "-", "minus");
  117592. B.UnaryOperator_AiQ0 = new A.UnaryOperator0("minus", "-", "minus");
  117593. B.UnaryOperator_SJr = new A.UnaryOperator("divide", "/", "divide");
  117594. B.UnaryOperator_SJr0 = new A.UnaryOperator0("divide", "/", "divide");
  117595. B.UnaryOperator_cLp = new A.UnaryOperator("plus", "+", "plus");
  117596. B.UnaryOperator_cLp0 = new A.UnaryOperator0("plus", "+", "plus");
  117597. B.UnaryOperator_not_not_not = new A.UnaryOperator("not", "not", "not");
  117598. B.UnaryOperator_not_not_not0 = new A.UnaryOperator0("not", "not", "not");
  117599. B.Utf8Decoder_false = new A.Utf8Decoder(false);
  117600. B._ColorFormatEnum_hslFunction = new A._ColorFormatEnum("hslFunction");
  117601. B._ColorFormatEnum_hslFunction0 = new A._ColorFormatEnum0("hslFunction");
  117602. B._ColorFormatEnum_rgbFunction = new A._ColorFormatEnum("rgbFunction");
  117603. B._ColorFormatEnum_rgbFunction0 = new A._ColorFormatEnum0("rgbFunction");
  117604. B._IsBogusVisitor_false = new A._IsBogusVisitor(false);
  117605. B._IsBogusVisitor_false0 = new A._IsBogusVisitor0(false);
  117606. B._IsBogusVisitor_true = new A._IsBogusVisitor(true);
  117607. B._IsBogusVisitor_true0 = new A._IsBogusVisitor0(true);
  117608. B._IsInvisibleVisitor_false = new A._IsInvisibleVisitor0(false);
  117609. B._IsInvisibleVisitor_false0 = new A._IsInvisibleVisitor2(false);
  117610. B._IsInvisibleVisitor_false_false = new A._IsInvisibleVisitor(false, false);
  117611. B._IsInvisibleVisitor_false_false0 = new A._IsInvisibleVisitor1(false, false);
  117612. B._IsInvisibleVisitor_true = new A._IsInvisibleVisitor0(true);
  117613. B._IsInvisibleVisitor_true0 = new A._IsInvisibleVisitor2(true);
  117614. B._IsInvisibleVisitor_true_false = new A._IsInvisibleVisitor(true, false);
  117615. B._IsInvisibleVisitor_true_false0 = new A._IsInvisibleVisitor1(true, false);
  117616. B._IsInvisibleVisitor_true_true = new A._IsInvisibleVisitor(true, true);
  117617. B._IsInvisibleVisitor_true_true0 = new A._IsInvisibleVisitor1(true, true);
  117618. B._PathDirection_3KU = new A._PathDirection("above root");
  117619. B._PathDirection_8OV = new A._PathDirection("at root");
  117620. B._PathDirection_e7w = new A._PathDirection("reaches root");
  117621. B._PathDirection_yLX = new A._PathDirection("below root");
  117622. B._PathRelation_different = new A._PathRelation("different");
  117623. B._PathRelation_equal = new A._PathRelation("equal");
  117624. B._PathRelation_inconclusive = new A._PathRelation("inconclusive");
  117625. B._PathRelation_within = new A._PathRelation("within");
  117626. B._SingletonCssMediaQueryMergeResult_0 = new A._SingletonCssMediaQueryMergeResult("empty");
  117627. B._SingletonCssMediaQueryMergeResult_00 = new A._SingletonCssMediaQueryMergeResult0("empty");
  117628. B._SingletonCssMediaQueryMergeResult_1 = new A._SingletonCssMediaQueryMergeResult("unrepresentable");
  117629. B._SingletonCssMediaQueryMergeResult_10 = new A._SingletonCssMediaQueryMergeResult0("unrepresentable");
  117630. B._StreamGroupState_canceled = new A._StreamGroupState("canceled");
  117631. B._StreamGroupState_dormant = new A._StreamGroupState("dormant");
  117632. B._StreamGroupState_listening = new A._StreamGroupState("listening");
  117633. B._StreamGroupState_paused = new A._StreamGroupState("paused");
  117634. B._StringStackTrace_uwd = new A._StringStackTrace("");
  117635. B._ZoneFunction_NIe = new A._ZoneFunction(B.C__RootZone, A.async___rootHandleUncaughtError$closure());
  117636. B._ZoneFunction_QOa = new A._ZoneFunction(B.C__RootZone, A.async___rootRegisterUnaryCallback$closure());
  117637. B._ZoneFunction__RootZone__rootCreateTimer = new A._ZoneFunction(B.C__RootZone, A.async___rootCreateTimer$closure());
  117638. B._ZoneFunction__RootZone__rootErrorCallback = new A._ZoneFunction(B.C__RootZone, A.async___rootErrorCallback$closure());
  117639. B._ZoneFunction__RootZone__rootFork = new A._ZoneFunction(B.C__RootZone, A.async___rootFork$closure());
  117640. B._ZoneFunction__RootZone__rootPrint = new A._ZoneFunction(B.C__RootZone, A.async___rootPrint$closure());
  117641. B._ZoneFunction__RootZone__rootRegisterCallback = new A._ZoneFunction(B.C__RootZone, A.async___rootRegisterCallback$closure());
  117642. B._ZoneFunction__RootZone__rootRun = new A._ZoneFunction(B.C__RootZone, A.async___rootRun$closure());
  117643. B._ZoneFunction__RootZone__rootRunBinary = new A._ZoneFunction(B.C__RootZone, A.async___rootRunBinary$closure());
  117644. B._ZoneFunction__RootZone__rootRunUnary = new A._ZoneFunction(B.C__RootZone, A.async___rootRunUnary$closure());
  117645. B._ZoneFunction__RootZone__rootScheduleMicrotask = new A._ZoneFunction(B.C__RootZone, A.async___rootScheduleMicrotask$closure());
  117646. B._ZoneFunction_kWM = new A._ZoneFunction(B.C__RootZone, A.async___rootCreatePeriodicTimer$closure());
  117647. B._ZoneFunction_qxw = new A._ZoneFunction(B.C__RootZone, A.async___rootRegisterBinaryCallback$closure());
  117648. B._ZoneSpecification_48t = new A._ZoneSpecification(null, null, null, null, null, null, null, null, null, null, null, null, null);
  117649. })();
  117650. (function staticFields() {
  117651. $._JS_INTEROP_INTERCEPTOR_TAG = null;
  117652. $.toStringVisiting = A._setArrayType([], type$.JSArray_Object);
  117653. $.printToZone = null;
  117654. $.Primitives__identityHashCodeProperty = null;
  117655. $.BoundClosure__receiverFieldNameCache = null;
  117656. $.BoundClosure__interceptorFieldNameCache = null;
  117657. $.getTagFunction = null;
  117658. $.alternateTagFunction = null;
  117659. $.prototypeForTagFunction = null;
  117660. $.dispatchRecordsForInstanceTags = null;
  117661. $.interceptorsForUncacheableTags = null;
  117662. $.initNativeDispatchFlag = null;
  117663. $._Record__computedFieldKeys = A._setArrayType([], A.findType("JSArray<List<Object>?>"));
  117664. $._nextCallback = null;
  117665. $._lastCallback = null;
  117666. $._lastPriorityCallback = null;
  117667. $._isInCallbackLoop = false;
  117668. $.Zone__current = B.C__RootZone;
  117669. $._RootZone__rootDelegate = null;
  117670. $.Uri__cachedBaseString = "";
  117671. $.Uri__cachedBaseUri = null;
  117672. $._fs = null;
  117673. $._currentUriBase = null;
  117674. $._current = null;
  117675. $._subselectorPseudos = A.LinkedHashSet_LinkedHashSet$_literal(["is", "matches", "where", "any", "nth-child", "nth-last-child"], type$.String);
  117676. $._rootishPseudoClasses = A.LinkedHashSet_LinkedHashSet$_literal(["root", "scope", "host", "host-context"], type$.String);
  117677. $._features = A.LinkedHashSet_LinkedHashSet$_literal(["global-variable-shadowing", "extend-selector-pseudoclass", "units-level-3", "at-error", "custom-property"], type$.String);
  117678. $._realCaseCache = function() {
  117679. var t1 = type$.String;
  117680. return A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  117681. }();
  117682. $._selectorPseudoClasses = A.LinkedHashSet_LinkedHashSet$_literal(["not", "is", "matches", "where", "current", "any", "has", "host", "host-context"], type$.String);
  117683. $._selectorPseudoElements = A.LinkedHashSet_LinkedHashSet$_literal(["slotted"], type$.String);
  117684. $._glyphs = B.C_UnicodeGlyphSet;
  117685. $._rootishPseudoClasses0 = A.LinkedHashSet_LinkedHashSet$_literal(["root", "scope", "host", "host-context"], type$.String);
  117686. $._realCaseCache0 = function() {
  117687. var t1 = type$.String;
  117688. return A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  117689. }();
  117690. $._features0 = A.LinkedHashSet_LinkedHashSet$_literal(["global-variable-shadowing", "extend-selector-pseudoclass", "units-level-3", "at-error", "custom-property"], type$.String);
  117691. $._selectorPseudoClasses0 = A.LinkedHashSet_LinkedHashSet$_literal(["not", "is", "matches", "where", "current", "any", "has", "host", "host-context"], type$.String);
  117692. $._selectorPseudoElements0 = A.LinkedHashSet_LinkedHashSet$_literal(["slotted"], type$.String);
  117693. $._subselectorPseudos0 = A.LinkedHashSet_LinkedHashSet$_literal(["is", "matches", "where", "any", "nth-child", "nth-last-child"], type$.String);
  117694. })();
  117695. (function lazyInitializers() {
  117696. var _lazyFinal = hunkHelpers.lazyFinal,
  117697. _lazy = hunkHelpers.lazy;
  117698. _lazyFinal($, "DART_CLOSURE_PROPERTY_NAME", "$get$DART_CLOSURE_PROPERTY_NAME", () => A.getIsolateAffinityTag("_$dart_dartClosure"));
  117699. _lazyFinal($, "nullFuture", "$get$nullFuture", () => B.C__RootZone.run$1$1(0, new A.nullFuture_closure(), A.findType("Future<Null>")));
  117700. _lazyFinal($, "TypeErrorDecoder_noSuchMethodPattern", "$get$TypeErrorDecoder_noSuchMethodPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokeCallErrorOn({
  117701. toString: function() {
  117702. return "$receiver$";
  117703. }
  117704. })));
  117705. _lazyFinal($, "TypeErrorDecoder_notClosurePattern", "$get$TypeErrorDecoder_notClosurePattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokeCallErrorOn({$method$: null,
  117706. toString: function() {
  117707. return "$receiver$";
  117708. }
  117709. })));
  117710. _lazyFinal($, "TypeErrorDecoder_nullCallPattern", "$get$TypeErrorDecoder_nullCallPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokeCallErrorOn(null)));
  117711. _lazyFinal($, "TypeErrorDecoder_nullLiteralCallPattern", "$get$TypeErrorDecoder_nullLiteralCallPattern", () => A.TypeErrorDecoder_extractPattern(function() {
  117712. var $argumentsExpr$ = "$arguments$";
  117713. try {
  117714. null.$method$($argumentsExpr$);
  117715. } catch (e) {
  117716. return e.message;
  117717. }
  117718. }()));
  117719. _lazyFinal($, "TypeErrorDecoder_undefinedCallPattern", "$get$TypeErrorDecoder_undefinedCallPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokeCallErrorOn(void 0)));
  117720. _lazyFinal($, "TypeErrorDecoder_undefinedLiteralCallPattern", "$get$TypeErrorDecoder_undefinedLiteralCallPattern", () => A.TypeErrorDecoder_extractPattern(function() {
  117721. var $argumentsExpr$ = "$arguments$";
  117722. try {
  117723. (void 0).$method$($argumentsExpr$);
  117724. } catch (e) {
  117725. return e.message;
  117726. }
  117727. }()));
  117728. _lazyFinal($, "TypeErrorDecoder_nullPropertyPattern", "$get$TypeErrorDecoder_nullPropertyPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokePropertyErrorOn(null)));
  117729. _lazyFinal($, "TypeErrorDecoder_nullLiteralPropertyPattern", "$get$TypeErrorDecoder_nullLiteralPropertyPattern", () => A.TypeErrorDecoder_extractPattern(function() {
  117730. try {
  117731. null.$method$;
  117732. } catch (e) {
  117733. return e.message;
  117734. }
  117735. }()));
  117736. _lazyFinal($, "TypeErrorDecoder_undefinedPropertyPattern", "$get$TypeErrorDecoder_undefinedPropertyPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokePropertyErrorOn(void 0)));
  117737. _lazyFinal($, "TypeErrorDecoder_undefinedLiteralPropertyPattern", "$get$TypeErrorDecoder_undefinedLiteralPropertyPattern", () => A.TypeErrorDecoder_extractPattern(function() {
  117738. try {
  117739. (void 0).$method$;
  117740. } catch (e) {
  117741. return e.message;
  117742. }
  117743. }()));
  117744. _lazyFinal($, "_AsyncRun__scheduleImmediateClosure", "$get$_AsyncRun__scheduleImmediateClosure", () => A._AsyncRun__initializeScheduleImmediate());
  117745. _lazyFinal($, "Future__nullFuture", "$get$Future__nullFuture", () => A.findType("_Future<Null>")._as($.$get$nullFuture()));
  117746. _lazyFinal($, "Future__falseFuture", "$get$Future__falseFuture", () => A._Future$zoneValue(false, B.C__RootZone, type$.bool));
  117747. _lazyFinal($, "_RootZone__rootMap", "$get$_RootZone__rootMap", () => {
  117748. var t1 = type$.dynamic;
  117749. return A.HashMap_HashMap(t1, t1);
  117750. });
  117751. _lazyFinal($, "_Utf8Decoder__reusableBuffer", "$get$_Utf8Decoder__reusableBuffer", () => A.NativeUint8List_NativeUint8List(4096));
  117752. _lazyFinal($, "_Utf8Decoder__decoder", "$get$_Utf8Decoder__decoder", () => new A._Utf8Decoder__decoder_closure().call$0());
  117753. _lazyFinal($, "_Utf8Decoder__decoderNonfatal", "$get$_Utf8Decoder__decoderNonfatal", () => new A._Utf8Decoder__decoderNonfatal_closure().call$0());
  117754. _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))));
  117755. _lazyFinal($, "_Uri__isWindowsCached", "$get$_Uri__isWindowsCached", () => {
  117756. var t1 = typeof process != "undefined" && Object.prototype.toString.call(process) == "[object process]" && process.platform == "win32";
  117757. return t1;
  117758. });
  117759. _lazyFinal($, "_Uri__needsNoEncoding", "$get$_Uri__needsNoEncoding", () => A.RegExp_RegExp("^[\\-\\.0-9A-Z_a-z~]*$", false));
  117760. _lazyFinal($, "_hashSeed", "$get$_hashSeed", () => A.objectHashCode(B.Type_Object_QJv));
  117761. _lazyFinal($, "_scannerTables", "$get$_scannerTables", () => A._createTables());
  117762. _lazyFinal($, "Option__invalidChars", "$get$Option__invalidChars", () => A.RegExp_RegExp("[ \\t\\r\\n\"'\\\\/]", false));
  117763. _lazyFinal($, "_isStrictMode", "$get$_isStrictMode", () => new A._isStrictMode_closure().call$0());
  117764. _lazyFinal($, "alwaysValid", "$get$alwaysValid", () => new A.alwaysValid_closure());
  117765. _lazyFinal($, "readline", "$get$readline", () => self.readline);
  117766. _lazyFinal($, "windows", "$get$windows", () => A.Context_Context($.$get$Style_windows()));
  117767. _lazyFinal($, "url", "$get$url", () => A.Context_Context($.$get$Style_url()));
  117768. _lazyFinal($, "context", "$get$context", () => new A.Context($.$get$Style_platform(), null));
  117769. _lazyFinal($, "Style_posix", "$get$Style_posix", () => new A.PosixStyle(A.RegExp_RegExp("/", false), A.RegExp_RegExp("[^/]$", false), A.RegExp_RegExp("^/", false)));
  117770. _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)));
  117771. _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)));
  117772. _lazyFinal($, "Style_platform", "$get$Style_platform", () => A.Style__getPlatformStyle());
  117773. _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));
  117774. _lazyFinal($, "completeVersion", "$get$completeVersion", () => A.RegExp_RegExp($.$get$startVersion().pattern + "$", false));
  117775. _lazyFinal($, "IfExpression_declaration", "$get$IfExpression_declaration", () => A.ArgumentDeclaration_ArgumentDeclaration$parse(string$.x40funct, null));
  117776. _lazyFinal($, "colorsByName", "$get$colorsByName", () => A.LinkedHashMap_LinkedHashMap$_literal(["yellowgreen", A.SassColor$rgb(154, 205, 50, 1), "yellow", A.SassColor$rgb(255, 255, 0, 1), "whitesmoke", A.SassColor$rgb(245, 245, 245, 1), "white", A.SassColor$rgb(255, 255, 255, 1), "wheat", A.SassColor$rgb(245, 222, 179, 1), "violet", A.SassColor$rgb(238, 130, 238, 1), "turquoise", A.SassColor$rgb(64, 224, 208, 1), "transparent", A.SassColor$rgb(0, 0, 0, 0), "tomato", A.SassColor$rgb(255, 99, 71, 1), "thistle", A.SassColor$rgb(216, 191, 216, 1), "teal", A.SassColor$rgb(0, 128, 128, 1), "tan", A.SassColor$rgb(210, 180, 140, 1), "steelblue", A.SassColor$rgb(70, 130, 180, 1), "springgreen", A.SassColor$rgb(0, 255, 127, 1), "snow", A.SassColor$rgb(255, 250, 250, 1), "slategrey", A.SassColor$rgb(112, 128, 144, 1), "slategray", A.SassColor$rgb(112, 128, 144, 1), "slateblue", A.SassColor$rgb(106, 90, 205, 1), "skyblue", A.SassColor$rgb(135, 206, 235, 1), "silver", A.SassColor$rgb(192, 192, 192, 1), "sienna", A.SassColor$rgb(160, 82, 45, 1), "seashell", A.SassColor$rgb(255, 245, 238, 1), "seagreen", A.SassColor$rgb(46, 139, 87, 1), "sandybrown", A.SassColor$rgb(244, 164, 96, 1), "salmon", A.SassColor$rgb(250, 128, 114, 1), "saddlebrown", A.SassColor$rgb(139, 69, 19, 1), "royalblue", A.SassColor$rgb(65, 105, 225, 1), "rosybrown", A.SassColor$rgb(188, 143, 143, 1), "red", A.SassColor$rgb(255, 0, 0, 1), "rebeccapurple", A.SassColor$rgb(102, 51, 153, 1), "purple", A.SassColor$rgb(128, 0, 128, 1), "powderblue", A.SassColor$rgb(176, 224, 230, 1), "plum", A.SassColor$rgb(221, 160, 221, 1), "pink", A.SassColor$rgb(255, 192, 203, 1), "peru", A.SassColor$rgb(205, 133, 63, 1), "peachpuff", A.SassColor$rgb(255, 218, 185, 1), "papayawhip", A.SassColor$rgb(255, 239, 213, 1), "palevioletred", A.SassColor$rgb(219, 112, 147, 1), "paleturquoise", A.SassColor$rgb(175, 238, 238, 1), "palegreen", A.SassColor$rgb(152, 251, 152, 1), "palegoldenrod", A.SassColor$rgb(238, 232, 170, 1), "orchid", A.SassColor$rgb(218, 112, 214, 1), "orangered", A.SassColor$rgb(255, 69, 0, 1), "orange", A.SassColor$rgb(255, 165, 0, 1), "olivedrab", A.SassColor$rgb(107, 142, 35, 1), "olive", A.SassColor$rgb(128, 128, 0, 1), "oldlace", A.SassColor$rgb(253, 245, 230, 1), "navy", A.SassColor$rgb(0, 0, 128, 1), "navajowhite", A.SassColor$rgb(255, 222, 173, 1), "moccasin", A.SassColor$rgb(255, 228, 181, 1), "mistyrose", A.SassColor$rgb(255, 228, 225, 1), "mintcream", A.SassColor$rgb(245, 255, 250, 1), "midnightblue", A.SassColor$rgb(25, 25, 112, 1), "mediumvioletred", A.SassColor$rgb(199, 21, 133, 1), "mediumturquoise", A.SassColor$rgb(72, 209, 204, 1), "mediumspringgreen", A.SassColor$rgb(0, 250, 154, 1), "mediumslateblue", A.SassColor$rgb(123, 104, 238, 1), "mediumseagreen", A.SassColor$rgb(60, 179, 113, 1), "mediumpurple", A.SassColor$rgb(147, 112, 219, 1), "mediumorchid", A.SassColor$rgb(186, 85, 211, 1), "mediumblue", A.SassColor$rgb(0, 0, 205, 1), "mediumaquamarine", A.SassColor$rgb(102, 205, 170, 1), "maroon", A.SassColor$rgb(128, 0, 0, 1), "magenta", A.SassColor$rgb(255, 0, 255, 1), "linen", A.SassColor$rgb(250, 240, 230, 1), "limegreen", A.SassColor$rgb(50, 205, 50, 1), "lime", A.SassColor$rgb(0, 255, 0, 1), "lightyellow", A.SassColor$rgb(255, 255, 224, 1), "lightsteelblue", A.SassColor$rgb(176, 196, 222, 1), "lightslategrey", A.SassColor$rgb(119, 136, 153, 1), "lightslategray", A.SassColor$rgb(119, 136, 153, 1), "lightskyblue", A.SassColor$rgb(135, 206, 250, 1), "lightseagreen", A.SassColor$rgb(32, 178, 170, 1), "lightsalmon", A.SassColor$rgb(255, 160, 122, 1), "lightpink", A.SassColor$rgb(255, 182, 193, 1), "lightgrey", A.SassColor$rgb(211, 211, 211, 1), "lightgreen", A.SassColor$rgb(144, 238, 144, 1), "lightgray", A.SassColor$rgb(211, 211, 211, 1), "lightgoldenrodyellow", A.SassColor$rgb(250, 250, 210, 1), "lightcyan", A.SassColor$rgb(224, 255, 255, 1), "lightcoral", A.SassColor$rgb(240, 128, 128, 1), "lightblue", A.SassColor$rgb(173, 216, 230, 1), "lemonchiffon", A.SassColor$rgb(255, 250, 205, 1), "lawngreen", A.SassColor$rgb(124, 252, 0, 1), "lavenderblush", A.SassColor$rgb(255, 240, 245, 1), "lavender", A.SassColor$rgb(230, 230, 250, 1), "khaki", A.SassColor$rgb(240, 230, 140, 1), "ivory", A.SassColor$rgb(255, 255, 240, 1), "indigo", A.SassColor$rgb(75, 0, 130, 1), "indianred", A.SassColor$rgb(205, 92, 92, 1), "hotpink", A.SassColor$rgb(255, 105, 180, 1), "honeydew", A.SassColor$rgb(240, 255, 240, 1), "grey", A.SassColor$rgb(128, 128, 128, 1), "greenyellow", A.SassColor$rgb(173, 255, 47, 1), "green", A.SassColor$rgb(0, 128, 0, 1), "gray", A.SassColor$rgb(128, 128, 128, 1), "goldenrod", A.SassColor$rgb(218, 165, 32, 1), "gold", A.SassColor$rgb(255, 215, 0, 1), "ghostwhite", A.SassColor$rgb(248, 248, 255, 1), "gainsboro", A.SassColor$rgb(220, 220, 220, 1), "fuchsia", A.SassColor$rgb(255, 0, 255, 1), "forestgreen", A.SassColor$rgb(34, 139, 34, 1), "floralwhite", A.SassColor$rgb(255, 250, 240, 1), "firebrick", A.SassColor$rgb(178, 34, 34, 1), "dodgerblue", A.SassColor$rgb(30, 144, 255, 1), "dimgrey", A.SassColor$rgb(105, 105, 105, 1), "dimgray", A.SassColor$rgb(105, 105, 105, 1), "deepskyblue", A.SassColor$rgb(0, 191, 255, 1), "deeppink", A.SassColor$rgb(255, 20, 147, 1), "darkviolet", A.SassColor$rgb(148, 0, 211, 1), "darkturquoise", A.SassColor$rgb(0, 206, 209, 1), "darkslategrey", A.SassColor$rgb(47, 79, 79, 1), "darkslategray", A.SassColor$rgb(47, 79, 79, 1), "darkslateblue", A.SassColor$rgb(72, 61, 139, 1), "darkseagreen", A.SassColor$rgb(143, 188, 143, 1), "darksalmon", A.SassColor$rgb(233, 150, 122, 1), "darkred", A.SassColor$rgb(139, 0, 0, 1), "darkorchid", A.SassColor$rgb(153, 50, 204, 1), "darkorange", A.SassColor$rgb(255, 140, 0, 1), "darkolivegreen", A.SassColor$rgb(85, 107, 47, 1), "darkmagenta", A.SassColor$rgb(139, 0, 139, 1), "darkkhaki", A.SassColor$rgb(189, 183, 107, 1), "darkgrey", A.SassColor$rgb(169, 169, 169, 1), "darkgreen", A.SassColor$rgb(0, 100, 0, 1), "darkgray", A.SassColor$rgb(169, 169, 169, 1), "darkgoldenrod", A.SassColor$rgb(184, 134, 11, 1), "darkcyan", A.SassColor$rgb(0, 139, 139, 1), "darkblue", A.SassColor$rgb(0, 0, 139, 1), "cyan", A.SassColor$rgb(0, 255, 255, 1), "crimson", A.SassColor$rgb(220, 20, 60, 1), "cornsilk", A.SassColor$rgb(255, 248, 220, 1), "cornflowerblue", A.SassColor$rgb(100, 149, 237, 1), "coral", A.SassColor$rgb(255, 127, 80, 1), "chocolate", A.SassColor$rgb(210, 105, 30, 1), "chartreuse", A.SassColor$rgb(127, 255, 0, 1), "cadetblue", A.SassColor$rgb(95, 158, 160, 1), "burlywood", A.SassColor$rgb(222, 184, 135, 1), "brown", A.SassColor$rgb(165, 42, 42, 1), "blueviolet", A.SassColor$rgb(138, 43, 226, 1), "blue", A.SassColor$rgb(0, 0, 255, 1), "blanchedalmond", A.SassColor$rgb(255, 235, 205, 1), "black", A.SassColor$rgb(0, 0, 0, 1), "bisque", A.SassColor$rgb(255, 228, 196, 1), "beige", A.SassColor$rgb(245, 245, 220, 1), "azure", A.SassColor$rgb(240, 255, 255, 1), "aquamarine", A.SassColor$rgb(127, 255, 212, 1), "aqua", A.SassColor$rgb(0, 255, 255, 1), "antiquewhite", A.SassColor$rgb(250, 235, 215, 1), "aliceblue", A.SassColor$rgb(240, 248, 255, 1)], type$.String, type$.SassColor));
  117777. _lazyFinal($, "namesByColor", "$get$namesByColor", () => {
  117778. var $name,
  117779. t1 = type$.SassColor,
  117780. t2 = type$.String,
  117781. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  117782. for (t1 = A.MapExtensions_get_pairs($.$get$colorsByName(), t2, t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  117783. t2 = t1.get$current(t1);
  117784. $name = t2._0;
  117785. t3.$indexSet(0, t2._1, $name);
  117786. }
  117787. return t3;
  117788. });
  117789. _lazyFinal($, "ExecutableOptions__separatorBar", "$get$ExecutableOptions__separatorBar", () => A.isWindows() ? "=" : "\u2501");
  117790. _lazyFinal($, "ExecutableOptions__parser", "$get$ExecutableOptions__parser", () => new A.ExecutableOptions__parser_closure().call$0());
  117791. _lazyFinal($, "globalFunctions", "$get$globalFunctions", () => {
  117792. var t1 = type$.BuiltInCallable,
  117793. t2 = A.List_List$of($.$get$global0(), true, t1);
  117794. B.JSArray_methods.addAll$1(t2, $.$get$global1());
  117795. B.JSArray_methods.addAll$1(t2, $.$get$global2());
  117796. B.JSArray_methods.addAll$1(t2, $.$get$global3());
  117797. B.JSArray_methods.addAll$1(t2, $.$get$global4());
  117798. B.JSArray_methods.addAll$1(t2, $.$get$global5());
  117799. B.JSArray_methods.addAll$1(t2, $.$get$global());
  117800. t2.push(A.BuiltInCallable$function("if", "$condition, $if-true, $if-false", new A.globalFunctions_closure(), null));
  117801. return A.UnmodifiableListView$(t2, t1);
  117802. });
  117803. _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));
  117804. _lazyFinal($, "_microsoftFilterStart", "$get$_microsoftFilterStart", () => A.RegExp_RegExp("^[a-zA-Z]+\\s*=", false));
  117805. _lazyFinal($, "global", "$get$global0", () => {
  117806. var _s27_ = "$red, $green, $blue, $alpha",
  117807. _s19_ = "$red, $green, $blue",
  117808. _s37_ = "$hue, $saturation, $lightness, $alpha",
  117809. _s29_ = "$hue, $saturation, $lightness",
  117810. _s17_ = "$hue, $saturation",
  117811. _s15_ = "$color, $amount",
  117812. t1 = type$.String,
  117813. t2 = type$.Value_Function_List_Value;
  117814. return A.UnmodifiableListView$(A._setArrayType([$.$get$_red(), $.$get$_green(), $.$get$_blue(), $.$get$_mix(), A.BuiltInCallable$overloadedFunction("rgb", A.LinkedHashMap_LinkedHashMap$_literal([_s27_, new A.global_closure0(), _s19_, new A.global_closure1(), "$color, $alpha", new A.global_closure2(), "$channels", new A.global_closure3()], t1, t2)), A.BuiltInCallable$overloadedFunction("rgba", A.LinkedHashMap_LinkedHashMap$_literal([_s27_, new A.global_closure4(), _s19_, new A.global_closure5(), "$color, $alpha", new A.global_closure6(), "$channels", new A.global_closure7()], t1, t2)), A._function4("invert", "$color, $weight: 100%", new A.global_closure8()), $.$get$_hue(), $.$get$_saturation(), $.$get$_lightness(), $.$get$_complement(), A.BuiltInCallable$overloadedFunction("hsl", A.LinkedHashMap_LinkedHashMap$_literal([_s37_, new A.global_closure9(), _s29_, new A.global_closure10(), _s17_, new A.global_closure11(), "$channels", new A.global_closure12()], t1, t2)), A.BuiltInCallable$overloadedFunction("hsla", A.LinkedHashMap_LinkedHashMap$_literal([_s37_, new A.global_closure13(), _s29_, new A.global_closure14(), _s17_, new A.global_closure15(), "$channels", new A.global_closure16()], t1, t2)), A._function4("grayscale", "$color", new A.global_closure17()), A._function4("adjust-hue", "$color, $degrees", new A.global_closure18()), A._function4("lighten", _s15_, new A.global_closure19()), A._function4("darken", _s15_, new A.global_closure20()), A.BuiltInCallable$overloadedFunction("saturate", A.LinkedHashMap_LinkedHashMap$_literal(["$amount", new A.global_closure21(), "$color, $amount", new A.global_closure22()], t1, t2)), A._function4("desaturate", _s15_, new A.global_closure23()), A._function4("opacify", _s15_, A.color0___opacify$closure()), A._function4("fade-in", _s15_, A.color0___opacify$closure()), A._function4("transparentize", _s15_, A.color0___transparentize$closure()), A._function4("fade-out", _s15_, A.color0___transparentize$closure()), A.BuiltInCallable$overloadedFunction("alpha", A.LinkedHashMap_LinkedHashMap$_literal(["$color", new A.global_closure24(), "$args...", new A.global_closure25()], t1, t2)), A._function4("opacity", "$color", new A.global_closure26()), $.$get$_ieHexStr(), $.$get$_adjust().withName$1("adjust-color"), $.$get$_scale().withName$1("scale-color"), $.$get$_change().withName$1("change-color")], type$.JSArray_BuiltInCallable), type$.BuiltInCallable);
  117815. });
  117816. _lazyFinal($, "module", "$get$module", () => {
  117817. var _s9_ = "lightness",
  117818. _s10_ = "saturation",
  117819. _s6_ = "$color", _s5_ = "alpha",
  117820. t1 = type$.String,
  117821. t2 = type$.Value_Function_List_Value;
  117822. return A.BuiltInModule$("color", A._setArrayType([$.$get$_red(), $.$get$_green(), $.$get$_blue(), $.$get$_mix(), A._function4("invert", "$color, $weight: 100%", new A.module_closure1()), $.$get$_hue(), $.$get$_saturation(), $.$get$_lightness(), $.$get$_complement(), 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._function4("grayscale", _s6_, new A.module_closure2()), A.BuiltInCallable$overloadedFunction("hwb", A.LinkedHashMap_LinkedHashMap$_literal(["$hue, $whiteness, $blackness, $alpha: 1", new A.module_closure3(), "$channels", new A.module_closure4()], t1, t2)), A._function4("whiteness", _s6_, new A.module_closure5()), A._function4("blackness", _s6_, new A.module_closure6()), 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_closure7(), "$args...", new A.module_closure8()], t1, t2)), A._function4("opacity", _s6_, new A.module_closure9()), $.$get$_adjust(), $.$get$_scale(), $.$get$_change(), $.$get$_ieHexStr()], type$.JSArray_Callable), null, null, type$.Callable);
  117823. });
  117824. _lazyFinal($, "_red", "$get$_red", () => A._function4("red", "$color", new A._red_closure()));
  117825. _lazyFinal($, "_green", "$get$_green", () => A._function4("green", "$color", new A._green_closure()));
  117826. _lazyFinal($, "_blue", "$get$_blue", () => A._function4("blue", "$color", new A._blue_closure()));
  117827. _lazyFinal($, "_mix", "$get$_mix", () => A._function4("mix", "$color1, $color2, $weight: 50%", new A._mix_closure()));
  117828. _lazyFinal($, "_hue", "$get$_hue", () => A._function4("hue", "$color", new A._hue_closure()));
  117829. _lazyFinal($, "_saturation", "$get$_saturation", () => A._function4("saturation", "$color", new A._saturation_closure()));
  117830. _lazyFinal($, "_lightness", "$get$_lightness", () => A._function4("lightness", "$color", new A._lightness_closure()));
  117831. _lazyFinal($, "_complement", "$get$_complement", () => A._function4("complement", "$color", new A._complement_closure()));
  117832. _lazyFinal($, "_adjust", "$get$_adjust", () => A._function4("adjust", "$color, $kwargs...", new A._adjust_closure()));
  117833. _lazyFinal($, "_scale", "$get$_scale", () => A._function4("scale", "$color, $kwargs...", new A._scale_closure()));
  117834. _lazyFinal($, "_change", "$get$_change", () => A._function4("change", "$color, $kwargs...", new A._change_closure()));
  117835. _lazyFinal($, "_ieHexStr", "$get$_ieHexStr", () => A._function4("ie-hex-str", "$color", new A._ieHexStr_closure()));
  117836. _lazyFinal($, "global0", "$get$global1", () => A.UnmodifiableListView$(A._setArrayType([$.$get$_length0(), $.$get$_nth(), $.$get$_setNth(), $.$get$_join(), $.$get$_append0(), $.$get$_zip(), $.$get$_index0(), $.$get$_isBracketed(), $.$get$_separator().withName$1("list-separator")], type$.JSArray_BuiltInCallable), type$.BuiltInCallable));
  117837. _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));
  117838. _lazyFinal($, "_length", "$get$_length0", () => A._function3("length", "$list", new A._length_closure0()));
  117839. _lazyFinal($, "_nth", "$get$_nth", () => A._function3("nth", "$list, $n", new A._nth_closure()));
  117840. _lazyFinal($, "_setNth", "$get$_setNth", () => A._function3("set-nth", "$list, $n, $value", new A._setNth_closure()));
  117841. _lazyFinal($, "_join", "$get$_join", () => A._function3("join", string$.x24list1, new A._join_closure()));
  117842. _lazyFinal($, "_append", "$get$_append0", () => A._function3("append", "$list, $val, $separator: auto", new A._append_closure0()));
  117843. _lazyFinal($, "_zip", "$get$_zip", () => A._function3("zip", "$lists...", new A._zip_closure()));
  117844. _lazyFinal($, "_index", "$get$_index0", () => A._function3("index", "$list, $value", new A._index_closure0()));
  117845. _lazyFinal($, "_separator", "$get$_separator", () => A._function3("separator", "$list", new A._separator_closure()));
  117846. _lazyFinal($, "_isBracketed", "$get$_isBracketed", () => A._function3("is-bracketed", "$list", new A._isBracketed_closure()));
  117847. _lazyFinal($, "_slash", "$get$_slash", () => A._function3("slash", "$elements...", new A._slash_closure()));
  117848. _lazyFinal($, "global1", "$get$global2", () => A.UnmodifiableListView$(A._setArrayType([$.$get$_get().withName$1("map-get"), $.$get$_merge().withName$1("map-merge"), $.$get$_remove().withName$1("map-remove"), $.$get$_keys().withName$1("map-keys"), $.$get$_values().withName$1("map-values"), $.$get$_hasKey().withName$1("map-has-key")], type$.JSArray_BuiltInCallable), type$.BuiltInCallable));
  117849. _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));
  117850. _lazyFinal($, "_get", "$get$_get", () => A._function2("get", "$map, $key, $keys...", new A._get_closure()));
  117851. _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)));
  117852. _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)));
  117853. _lazyFinal($, "_deepMerge", "$get$_deepMerge", () => A._function2("deep-merge", "$map1, $map2", new A._deepMerge_closure()));
  117854. _lazyFinal($, "_deepRemove", "$get$_deepRemove", () => A._function2("deep-remove", "$map, $key, $keys...", new A._deepRemove_closure()));
  117855. _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)));
  117856. _lazyFinal($, "_keys", "$get$_keys", () => A._function2("keys", "$map", new A._keys_closure()));
  117857. _lazyFinal($, "_values", "$get$_values", () => A._function2("values", "$map", new A._values_closure()));
  117858. _lazyFinal($, "_hasKey", "$get$_hasKey", () => A._function2("has-key", "$map, $key, $keys...", new A._hasKey_closure()));
  117859. _lazyFinal($, "global2", "$get$global3", () => A.UnmodifiableListView$(A._setArrayType([A._function1("abs", "$number", new A.global_closure()), $.$get$_ceil(), $.$get$_floor(), $.$get$_max(), $.$get$_min(), $.$get$_percentage(), $.$get$_randomFunction(), $.$get$_round(), $.$get$_unit(), $.$get$_compatible().withName$1("comparable"), $.$get$_isUnitless().withName$1("unitless")], type$.JSArray_BuiltInCallable), type$.BuiltInCallable));
  117860. _lazyFinal($, "module2", "$get$module2", () => {
  117861. var _null = null;
  117862. 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);
  117863. });
  117864. _lazyFinal($, "_ceil", "$get$_ceil", () => A._numberFunction("ceil", new A._ceil_closure()));
  117865. _lazyFinal($, "_clamp", "$get$_clamp", () => A._function1("clamp", "$min, $number, $max", new A._clamp_closure()));
  117866. _lazyFinal($, "_floor", "$get$_floor", () => A._numberFunction("floor", new A._floor_closure()));
  117867. _lazyFinal($, "_max", "$get$_max", () => A._function1("max", "$numbers...", new A._max_closure()));
  117868. _lazyFinal($, "_min", "$get$_min", () => A._function1("min", "$numbers...", new A._min_closure()));
  117869. _lazyFinal($, "_round", "$get$_round", () => A._numberFunction("round", new A._round_closure()));
  117870. _lazyFinal($, "_hypot", "$get$_hypot", () => A._function1("hypot", "$numbers...", new A._hypot_closure()));
  117871. _lazyFinal($, "_log", "$get$_log", () => A._function1("log", "$number, $base: null", new A._log_closure()));
  117872. _lazyFinal($, "_pow", "$get$_pow", () => A._function1("pow", "$base, $exponent", new A._pow_closure()));
  117873. _lazyFinal($, "_sqrt", "$get$_sqrt", () => A._singleArgumentMathFunc("sqrt", A.number0__sqrt$closure()));
  117874. _lazyFinal($, "_acos", "$get$_acos", () => A._singleArgumentMathFunc("acos", A.number0__acos$closure()));
  117875. _lazyFinal($, "_asin", "$get$_asin", () => A._singleArgumentMathFunc("asin", A.number0__asin$closure()));
  117876. _lazyFinal($, "_atan", "$get$_atan", () => A._singleArgumentMathFunc("atan", A.number0__atan$closure()));
  117877. _lazyFinal($, "_atan2", "$get$_atan2", () => A._function1("atan2", "$y, $x", new A._atan2_closure()));
  117878. _lazyFinal($, "_cos", "$get$_cos", () => A._singleArgumentMathFunc("cos", A.number0__cos$closure()));
  117879. _lazyFinal($, "_sin", "$get$_sin", () => A._singleArgumentMathFunc("sin", A.number0__sin$closure()));
  117880. _lazyFinal($, "_tan", "$get$_tan", () => A._singleArgumentMathFunc("tan", A.number0__tan$closure()));
  117881. _lazyFinal($, "_compatible", "$get$_compatible", () => A._function1("compatible", "$number1, $number2", new A._compatible_closure()));
  117882. _lazyFinal($, "_isUnitless", "$get$_isUnitless", () => A._function1("is-unitless", "$number", new A._isUnitless_closure()));
  117883. _lazyFinal($, "_unit", "$get$_unit", () => A._function1("unit", "$number", new A._unit_closure()));
  117884. _lazyFinal($, "_percentage", "$get$_percentage", () => A._function1("percentage", "$number", new A._percentage_closure()));
  117885. _lazyFinal($, "_random", "$get$_random0", () => A.Random_Random());
  117886. _lazyFinal($, "_randomFunction", "$get$_randomFunction", () => A._function1("random", "$limit: null", new A._randomFunction_closure()));
  117887. _lazyFinal($, "_div", "$get$_div", () => A._function1("div", "$number1, $number2", new A._div_closure()));
  117888. _lazyFinal($, "global3", "$get$global", () => A.UnmodifiableListView$(A._setArrayType([A._function5("feature-exists", "$feature", new A.global_closure27()), A._function5("inspect", "$value", new A.global_closure28()), A._function5("type-of", "$value", new A.global_closure29()), A._function5("keywords", "$args", new A.global_closure30())], type$.JSArray_BuiltInCallable), type$.BuiltInCallable));
  117889. _lazyFinal($, "local", "$get$local", () => A.UnmodifiableListView$(A._setArrayType([A._function5("calc-name", "$calc", new A.local_closure()), A._function5("calc-args", "$calc", new A.local_closure0()), A._function5("accepts-content", "$mixin", new A.local_closure1())], type$.JSArray_BuiltInCallable), type$.BuiltInCallable));
  117890. _lazyFinal($, "global4", "$get$global4", () => A.UnmodifiableListView$(A._setArrayType([$.$get$_isSuperselector(), $.$get$_simpleSelectors(), $.$get$_parse().withName$1("selector-parse"), $.$get$_nest().withName$1("selector-nest"), $.$get$_append().withName$1("selector-append"), $.$get$_extend().withName$1("selector-extend"), $.$get$_replace().withName$1("selector-replace"), $.$get$_unify().withName$1("selector-unify")], type$.JSArray_BuiltInCallable), type$.BuiltInCallable));
  117891. _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));
  117892. _lazyFinal($, "_nest", "$get$_nest", () => A._function0("nest", "$selectors...", new A._nest_closure()));
  117893. _lazyFinal($, "_append0", "$get$_append", () => A._function0("append", "$selectors...", new A._append_closure()));
  117894. _lazyFinal($, "_extend", "$get$_extend", () => A._function0("extend", "$selector, $extendee, $extender", new A._extend_closure()));
  117895. _lazyFinal($, "_replace", "$get$_replace", () => A._function0("replace", "$selector, $original, $replacement", new A._replace_closure()));
  117896. _lazyFinal($, "_unify", "$get$_unify", () => A._function0("unify", "$selector1, $selector2", new A._unify_closure()));
  117897. _lazyFinal($, "_isSuperselector", "$get$_isSuperselector", () => A._function0("is-superselector", "$super, $sub", new A._isSuperselector_closure()));
  117898. _lazyFinal($, "_simpleSelectors", "$get$_simpleSelectors", () => A._function0("simple-selectors", "$selector", new A._simpleSelectors_closure()));
  117899. _lazyFinal($, "_parse", "$get$_parse", () => A._function0("parse", "$selector", new A._parse_closure()));
  117900. _lazyFinal($, "_random0", "$get$_random", () => A.Random_Random());
  117901. _lazy($, "_previousUniqueId", "$get$_previousUniqueId", () => $.$get$_random().nextInt$1(A._asInt(A.pow(36, 6))));
  117902. _lazyFinal($, "global5", "$get$global5", () => A.UnmodifiableListView$(A._setArrayType([$.$get$_unquote(), $.$get$_quote(), $.$get$_toUpperCase(), $.$get$_toLowerCase(), $.$get$_uniqueId(), $.$get$_length().withName$1("str-length"), $.$get$_insert().withName$1("str-insert"), $.$get$_index().withName$1("str-index"), $.$get$_slice().withName$1("str-slice")], type$.JSArray_BuiltInCallable), type$.BuiltInCallable));
  117903. _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._function("split", "$string, $separator, $limit: null", new A.module_closure())], type$.JSArray_Callable), null, null, type$.Callable));
  117904. _lazyFinal($, "_unquote", "$get$_unquote", () => A._function("unquote", "$string", new A._unquote_closure()));
  117905. _lazyFinal($, "_quote", "$get$_quote", () => A._function("quote", "$string", new A._quote_closure()));
  117906. _lazyFinal($, "_length0", "$get$_length", () => A._function("length", "$string", new A._length_closure()));
  117907. _lazyFinal($, "_insert", "$get$_insert", () => A._function("insert", "$string, $insert, $index", new A._insert_closure()));
  117908. _lazyFinal($, "_index0", "$get$_index", () => A._function("index", "$string, $substring", new A._index_closure()));
  117909. _lazyFinal($, "_slice", "$get$_slice", () => A._function("slice", "$string, $start-at, $end-at: -1", new A._slice_closure()));
  117910. _lazyFinal($, "_toUpperCase", "$get$_toUpperCase", () => A._function("to-upper-case", "$string", new A._toUpperCase_closure()));
  117911. _lazyFinal($, "_toLowerCase", "$get$_toLowerCase", () => A._function("to-lower-case", "$string", new A._toLowerCase_closure()));
  117912. _lazyFinal($, "_uniqueId", "$get$_uniqueId", () => A._function("unique-id", "", new A._uniqueId_closure()));
  117913. _lazyFinal($, "FilesystemImporter_cwd", "$get$FilesystemImporter_cwd", () => {
  117914. var _null = null;
  117915. return new A.FilesystemImporter(A.absolute(".", _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), true);
  117916. });
  117917. _lazyFinal($, "FilesystemImporter_noLoadPath", "$get$FilesystemImporter_noLoadPath", () => new A.FilesystemImporter(null, false));
  117918. _lazyFinal($, "_jsThrow", "$get$_jsThrow0", () => new self.Function("error", "throw error;"));
  117919. _lazyFinal($, "Logger_quiet", "$get$Logger_quiet", () => new A._QuietLogger());
  117920. _lazyFinal($, "_disallowedFunctionNames", "$get$_disallowedFunctionNames", () => {
  117921. var t1 = $.$get$globalFunctions();
  117922. t1 = t1.map$1$1(t1, new A._disallowedFunctionNames_closure(), type$.String).toSet$0(0);
  117923. t1.add$1(0, "if");
  117924. t1.remove$1(0, "rgb");
  117925. t1.remove$1(0, "rgba");
  117926. t1.remove$1(0, "hsl");
  117927. t1.remove$1(0, "hsla");
  117928. t1.remove$1(0, "grayscale");
  117929. t1.remove$1(0, "invert");
  117930. t1.remove$1(0, "alpha");
  117931. t1.remove$1(0, "opacity");
  117932. t1.remove$1(0, "saturate");
  117933. t1.remove$1(0, "min");
  117934. t1.remove$1(0, "max");
  117935. t1.remove$1(0, "round");
  117936. t1.remove$1(0, "abs");
  117937. return t1;
  117938. });
  117939. _lazyFinal($, "_epsilon", "$get$_epsilon", () => A.pow(10, -11));
  117940. _lazyFinal($, "_inverseEpsilon", "$get$_inverseEpsilon", () => A.pow(10, 11));
  117941. _lazyFinal($, "bogusSpan", "$get$bogusSpan", () => A.SourceFile$decoded(A._setArrayType([], type$.JSArray_int), null).span$1(0, 0));
  117942. _lazyFinal($, "_noSourceUrl", "$get$_noSourceUrl", () => A.Uri_parse("-"));
  117943. _lazyFinal($, "_traces", "$get$_traces", () => A.Expando$());
  117944. _lazyFinal($, "_typesByUnit", "$get$_typesByUnit", () => {
  117945. var t3, type,
  117946. t1 = type$.String,
  117947. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  117948. for (t1 = A.MapExtensions_get_pairs(B.Map_397RH, t1, type$.List_String), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  117949. t3 = t1.get$current(t1);
  117950. type = t3._0;
  117951. for (t3 = J.get$iterator$ax(t3._1); t3.moveNext$0();)
  117952. t2.$indexSet(0, t3.get$current(t3), type);
  117953. }
  117954. return t2;
  117955. });
  117956. _lazyFinal($, "_knownCompatibilitiesByUnit", "$get$_knownCompatibilitiesByUnit", () => {
  117957. var _i, set, t2,
  117958. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, A.findType("Set<String>"));
  117959. for (_i = 0; _i < 5; ++_i) {
  117960. set = B.List_Eeh[_i];
  117961. for (t2 = set.get$iterator(set); t2.moveNext$0();)
  117962. t1.$indexSet(0, t2.get$current(0), set);
  117963. }
  117964. return t1;
  117965. });
  117966. _lazyFinal($, "_emptyQuoted", "$get$_emptyQuoted", () => A.SassString$("", true));
  117967. _lazyFinal($, "_emptyUnquoted", "$get$_emptyUnquoted", () => A.SassString$("", false));
  117968. _lazyFinal($, "maxInt32", "$get$maxInt32", () => A._asInt(A.pow(2, 31)) - 1);
  117969. _lazyFinal($, "minInt32", "$get$minInt32", () => -A._asInt(A.pow(2, 31)));
  117970. _lazyFinal($, "_vmFrame", "$get$_vmFrame", () => A.RegExp_RegExp("^#\\d+\\s+(\\S.*) \\((.+?)((?::\\d+){0,2})\\)$", false));
  117971. _lazyFinal($, "_v8Frame", "$get$_v8Frame", () => A.RegExp_RegExp("^\\s*at (?:(\\S.*?)(?: \\[as [^\\]]+\\])? \\((.*)\\)|(.*))$", false));
  117972. _lazyFinal($, "_v8UrlLocation", "$get$_v8UrlLocation", () => A.RegExp_RegExp("^(.*?):(\\d+)(?::(\\d+))?$|native$", false));
  117973. _lazyFinal($, "_v8EvalLocation", "$get$_v8EvalLocation", () => A.RegExp_RegExp("^eval at (?:\\S.*?) \\((.*)\\)(?:, .*?:\\d+:\\d+)?$", false));
  117974. _lazyFinal($, "_firefoxEvalLocation", "$get$_firefoxEvalLocation", () => A.RegExp_RegExp("(\\S+)@(\\S+) line (\\d+) >.* (Function|eval):\\d+:\\d+", false));
  117975. _lazyFinal($, "_firefoxSafariFrame", "$get$_firefoxSafariFrame", () => A.RegExp_RegExp("^(?:([^@(/]*)(?:\\(.*\\))?((?:/[^/]*)*)(?:\\(.*\\))?@)?(.*?):(\\d*)(?::(\\d*))?$", false));
  117976. _lazyFinal($, "_friendlyFrame", "$get$_friendlyFrame", () => A.RegExp_RegExp("^(\\S+)(?: (\\d+)(?::(\\d+))?)?\\s+([^\\d].*)$", false));
  117977. _lazyFinal($, "_asyncBody", "$get$_asyncBody", () => A.RegExp_RegExp("<(<anonymous closure>|[^>]+)_async_body>", false));
  117978. _lazyFinal($, "_initialDot", "$get$_initialDot", () => A.RegExp_RegExp("^\\.", false));
  117979. _lazyFinal($, "Frame__uriRegExp", "$get$Frame__uriRegExp", () => A.RegExp_RegExp("^[a-zA-Z][-+.a-zA-Z\\d]*://", false));
  117980. _lazyFinal($, "Frame__windowsRegExp", "$get$Frame__windowsRegExp", () => A.RegExp_RegExp("^([a-zA-Z]:[\\\\/]|\\\\\\\\)", false));
  117981. _lazyFinal($, "_terseRegExp", "$get$_terseRegExp", () => A.RegExp_RegExp("(-patch)?([/\\\\].*)?$", false));
  117982. _lazyFinal($, "_v8Trace", "$get$_v8Trace", () => A.RegExp_RegExp("\\n ?at ", false));
  117983. _lazyFinal($, "_v8TraceLine", "$get$_v8TraceLine", () => A.RegExp_RegExp(" ?at ", false));
  117984. _lazyFinal($, "_firefoxEvalTrace", "$get$_firefoxEvalTrace", () => A.RegExp_RegExp("@\\S+ line \\d+ >.* (Function|eval):\\d+:\\d+", false));
  117985. _lazyFinal($, "_firefoxSafariTrace", "$get$_firefoxSafariTrace", () => A.RegExp_RegExp("^(([.0-9A-Za-z_$/<]|\\(.*\\))*@)?[^\\s]*:\\d*$", true));
  117986. _lazyFinal($, "_friendlyTrace", "$get$_friendlyTrace", () => A.RegExp_RegExp("^[^\\s<][^\\s]*( \\d+(:\\d+)?)?[ \\t]+[^\\s]+$", true));
  117987. _lazyFinal($, "vmChainGap", "$get$vmChainGap", () => A.RegExp_RegExp("^<asynchronous suspension>\\n?$", true));
  117988. _lazyFinal($, "_newlineRegExp", "$get$_newlineRegExp", () => A.RegExp_RegExp("\\r\\n?|\\n", false));
  117989. _lazyFinal($, "argumentListClass", "$get$argumentListClass", () => new A.argumentListClass_closure().call$0());
  117990. _lazyFinal($, "booleanClass", "$get$booleanClass", () => new A.booleanClass_closure().call$0());
  117991. _lazyFinal($, "legacyBooleanClass", "$get$legacyBooleanClass", () => new A.legacyBooleanClass_closure().call$0());
  117992. _lazyFinal($, "calculationClass", "$get$calculationClass", () => new A.calculationClass_closure().call$0());
  117993. _lazyFinal($, "calculationOperationClass", "$get$calculationOperationClass", () => new A.calculationOperationClass_closure().call$0());
  117994. _lazyFinal($, "calculationInterpolationClass", "$get$calculationInterpolationClass", () => new A.calculationInterpolationClass_closure().call$0());
  117995. _lazyFinal($, "_microsoftFilterStart0", "$get$_microsoftFilterStart0", () => A.RegExp_RegExp("^[a-zA-Z]+\\s*=", false));
  117996. _lazyFinal($, "global6", "$get$global7", () => {
  117997. var _s27_ = "$red, $green, $blue, $alpha",
  117998. _s19_ = "$red, $green, $blue",
  117999. _s37_ = "$hue, $saturation, $lightness, $alpha",
  118000. _s29_ = "$hue, $saturation, $lightness",
  118001. _s17_ = "$hue, $saturation",
  118002. _s15_ = "$color, $amount",
  118003. t1 = type$.String,
  118004. t2 = type$.Value_Function_List_Value_2;
  118005. return A.UnmodifiableListView$(A._setArrayType([$.$get$_red0(), $.$get$_green0(), $.$get$_blue0(), $.$get$_mix0(), A.BuiltInCallable$overloadedFunction0("rgb", A.LinkedHashMap_LinkedHashMap$_literal([_s27_, new A.global_closure32(), _s19_, new A.global_closure33(), "$color, $alpha", new A.global_closure34(), "$channels", new A.global_closure35()], t1, t2)), A.BuiltInCallable$overloadedFunction0("rgba", A.LinkedHashMap_LinkedHashMap$_literal([_s27_, new A.global_closure36(), _s19_, new A.global_closure37(), "$color, $alpha", new A.global_closure38(), "$channels", new A.global_closure39()], t1, t2)), A._function11("invert", "$color, $weight: 100%", new A.global_closure40()), $.$get$_hue0(), $.$get$_saturation0(), $.$get$_lightness0(), $.$get$_complement0(), A.BuiltInCallable$overloadedFunction0("hsl", A.LinkedHashMap_LinkedHashMap$_literal([_s37_, new A.global_closure41(), _s29_, new A.global_closure42(), _s17_, new A.global_closure43(), "$channels", new A.global_closure44()], t1, t2)), A.BuiltInCallable$overloadedFunction0("hsla", A.LinkedHashMap_LinkedHashMap$_literal([_s37_, new A.global_closure45(), _s29_, new A.global_closure46(), _s17_, new A.global_closure47(), "$channels", new A.global_closure48()], t1, t2)), A._function11("grayscale", "$color", new A.global_closure49()), A._function11("adjust-hue", "$color, $degrees", new A.global_closure50()), A._function11("lighten", _s15_, new A.global_closure51()), A._function11("darken", _s15_, new A.global_closure52()), A.BuiltInCallable$overloadedFunction0("saturate", A.LinkedHashMap_LinkedHashMap$_literal(["$amount", new A.global_closure53(), "$color, $amount", new A.global_closure54()], t1, t2)), A._function11("desaturate", _s15_, new A.global_closure55()), A._function11("opacify", _s15_, A.color2___opacify$closure()), A._function11("fade-in", _s15_, A.color2___opacify$closure()), A._function11("transparentize", _s15_, A.color2___transparentize$closure()), A._function11("fade-out", _s15_, A.color2___transparentize$closure()), A.BuiltInCallable$overloadedFunction0("alpha", A.LinkedHashMap_LinkedHashMap$_literal(["$color", new A.global_closure56(), "$args...", new A.global_closure57()], t1, t2)), A._function11("opacity", "$color", new A.global_closure58()), $.$get$_ieHexStr0(), $.$get$_adjust0().withName$1("adjust-color"), $.$get$_scale0().withName$1("scale-color"), $.$get$_change0().withName$1("change-color")], type$.JSArray_BuiltInCallable_2), type$.BuiltInCallable_2);
  118006. });
  118007. _lazyFinal($, "module5", "$get$module5", () => {
  118008. var _s9_ = "lightness",
  118009. _s10_ = "saturation",
  118010. _s6_ = "$color", _s5_ = "alpha",
  118011. t1 = type$.String,
  118012. t2 = type$.Value_Function_List_Value_2;
  118013. return A.BuiltInModule$0("color", A._setArrayType([$.$get$_red0(), $.$get$_green0(), $.$get$_blue0(), $.$get$_mix0(), A._function11("invert", "$color, $weight: 100%", new A.module_closure12()), $.$get$_hue0(), $.$get$_saturation0(), $.$get$_lightness0(), $.$get$_complement0(), 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._function11("grayscale", _s6_, new A.module_closure13()), A.BuiltInCallable$overloadedFunction0("hwb", A.LinkedHashMap_LinkedHashMap$_literal(["$hue, $whiteness, $blackness, $alpha: 1", new A.module_closure14(), "$channels", new A.module_closure15()], t1, t2)), A._function11("whiteness", _s6_, new A.module_closure16()), A._function11("blackness", _s6_, new A.module_closure17()), 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_closure18(), "$args...", new A.module_closure19()], t1, t2)), A._function11("opacity", _s6_, new A.module_closure20()), $.$get$_adjust0(), $.$get$_scale0(), $.$get$_change0(), $.$get$_ieHexStr0()], type$.JSArray_Callable_2), null, null, type$.Callable_2);
  118014. });
  118015. _lazyFinal($, "_red0", "$get$_red0", () => A._function11("red", "$color", new A._red_closure0()));
  118016. _lazyFinal($, "_green0", "$get$_green0", () => A._function11("green", "$color", new A._green_closure0()));
  118017. _lazyFinal($, "_blue0", "$get$_blue0", () => A._function11("blue", "$color", new A._blue_closure0()));
  118018. _lazyFinal($, "_mix0", "$get$_mix0", () => A._function11("mix", "$color1, $color2, $weight: 50%", new A._mix_closure0()));
  118019. _lazyFinal($, "_hue0", "$get$_hue0", () => A._function11("hue", "$color", new A._hue_closure0()));
  118020. _lazyFinal($, "_saturation0", "$get$_saturation0", () => A._function11("saturation", "$color", new A._saturation_closure0()));
  118021. _lazyFinal($, "_lightness0", "$get$_lightness0", () => A._function11("lightness", "$color", new A._lightness_closure0()));
  118022. _lazyFinal($, "_complement0", "$get$_complement0", () => A._function11("complement", "$color", new A._complement_closure0()));
  118023. _lazyFinal($, "_adjust0", "$get$_adjust0", () => A._function11("adjust", "$color, $kwargs...", new A._adjust_closure0()));
  118024. _lazyFinal($, "_scale0", "$get$_scale0", () => A._function11("scale", "$color, $kwargs...", new A._scale_closure0()));
  118025. _lazyFinal($, "_change0", "$get$_change0", () => A._function11("change", "$color, $kwargs...", new A._change_closure0()));
  118026. _lazyFinal($, "_ieHexStr0", "$get$_ieHexStr0", () => A._function11("ie-hex-str", "$color", new A._ieHexStr_closure0()));
  118027. _lazyFinal($, "colorClass", "$get$colorClass", () => new A.colorClass_closure().call$0());
  118028. _lazyFinal($, "legacyColorClass", "$get$legacyColorClass", () => {
  118029. var t1 = A.createJSClass("sass.types.Color", new A.legacyColorClass_closure());
  118030. 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));
  118031. return t1;
  118032. });
  118033. _lazyFinal($, "colorsByName0", "$get$colorsByName0", () => A.LinkedHashMap_LinkedHashMap$_literal(["yellowgreen", A.SassColor$rgb0(154, 205, 50, 1), "yellow", A.SassColor$rgb0(255, 255, 0, 1), "whitesmoke", A.SassColor$rgb0(245, 245, 245, 1), "white", A.SassColor$rgb0(255, 255, 255, 1), "wheat", A.SassColor$rgb0(245, 222, 179, 1), "violet", A.SassColor$rgb0(238, 130, 238, 1), "turquoise", A.SassColor$rgb0(64, 224, 208, 1), "transparent", A.SassColor$rgb0(0, 0, 0, 0), "tomato", A.SassColor$rgb0(255, 99, 71, 1), "thistle", A.SassColor$rgb0(216, 191, 216, 1), "teal", A.SassColor$rgb0(0, 128, 128, 1), "tan", A.SassColor$rgb0(210, 180, 140, 1), "steelblue", A.SassColor$rgb0(70, 130, 180, 1), "springgreen", A.SassColor$rgb0(0, 255, 127, 1), "snow", A.SassColor$rgb0(255, 250, 250, 1), "slategrey", A.SassColor$rgb0(112, 128, 144, 1), "slategray", A.SassColor$rgb0(112, 128, 144, 1), "slateblue", A.SassColor$rgb0(106, 90, 205, 1), "skyblue", A.SassColor$rgb0(135, 206, 235, 1), "silver", A.SassColor$rgb0(192, 192, 192, 1), "sienna", A.SassColor$rgb0(160, 82, 45, 1), "seashell", A.SassColor$rgb0(255, 245, 238, 1), "seagreen", A.SassColor$rgb0(46, 139, 87, 1), "sandybrown", A.SassColor$rgb0(244, 164, 96, 1), "salmon", A.SassColor$rgb0(250, 128, 114, 1), "saddlebrown", A.SassColor$rgb0(139, 69, 19, 1), "royalblue", A.SassColor$rgb0(65, 105, 225, 1), "rosybrown", A.SassColor$rgb0(188, 143, 143, 1), "red", A.SassColor$rgb0(255, 0, 0, 1), "rebeccapurple", A.SassColor$rgb0(102, 51, 153, 1), "purple", A.SassColor$rgb0(128, 0, 128, 1), "powderblue", A.SassColor$rgb0(176, 224, 230, 1), "plum", A.SassColor$rgb0(221, 160, 221, 1), "pink", A.SassColor$rgb0(255, 192, 203, 1), "peru", A.SassColor$rgb0(205, 133, 63, 1), "peachpuff", A.SassColor$rgb0(255, 218, 185, 1), "papayawhip", A.SassColor$rgb0(255, 239, 213, 1), "palevioletred", A.SassColor$rgb0(219, 112, 147, 1), "paleturquoise", A.SassColor$rgb0(175, 238, 238, 1), "palegreen", A.SassColor$rgb0(152, 251, 152, 1), "palegoldenrod", A.SassColor$rgb0(238, 232, 170, 1), "orchid", A.SassColor$rgb0(218, 112, 214, 1), "orangered", A.SassColor$rgb0(255, 69, 0, 1), "orange", A.SassColor$rgb0(255, 165, 0, 1), "olivedrab", A.SassColor$rgb0(107, 142, 35, 1), "olive", A.SassColor$rgb0(128, 128, 0, 1), "oldlace", A.SassColor$rgb0(253, 245, 230, 1), "navy", A.SassColor$rgb0(0, 0, 128, 1), "navajowhite", A.SassColor$rgb0(255, 222, 173, 1), "moccasin", A.SassColor$rgb0(255, 228, 181, 1), "mistyrose", A.SassColor$rgb0(255, 228, 225, 1), "mintcream", A.SassColor$rgb0(245, 255, 250, 1), "midnightblue", A.SassColor$rgb0(25, 25, 112, 1), "mediumvioletred", A.SassColor$rgb0(199, 21, 133, 1), "mediumturquoise", A.SassColor$rgb0(72, 209, 204, 1), "mediumspringgreen", A.SassColor$rgb0(0, 250, 154, 1), "mediumslateblue", A.SassColor$rgb0(123, 104, 238, 1), "mediumseagreen", A.SassColor$rgb0(60, 179, 113, 1), "mediumpurple", A.SassColor$rgb0(147, 112, 219, 1), "mediumorchid", A.SassColor$rgb0(186, 85, 211, 1), "mediumblue", A.SassColor$rgb0(0, 0, 205, 1), "mediumaquamarine", A.SassColor$rgb0(102, 205, 170, 1), "maroon", A.SassColor$rgb0(128, 0, 0, 1), "magenta", A.SassColor$rgb0(255, 0, 255, 1), "linen", A.SassColor$rgb0(250, 240, 230, 1), "limegreen", A.SassColor$rgb0(50, 205, 50, 1), "lime", A.SassColor$rgb0(0, 255, 0, 1), "lightyellow", A.SassColor$rgb0(255, 255, 224, 1), "lightsteelblue", A.SassColor$rgb0(176, 196, 222, 1), "lightslategrey", A.SassColor$rgb0(119, 136, 153, 1), "lightslategray", A.SassColor$rgb0(119, 136, 153, 1), "lightskyblue", A.SassColor$rgb0(135, 206, 250, 1), "lightseagreen", A.SassColor$rgb0(32, 178, 170, 1), "lightsalmon", A.SassColor$rgb0(255, 160, 122, 1), "lightpink", A.SassColor$rgb0(255, 182, 193, 1), "lightgrey", A.SassColor$rgb0(211, 211, 211, 1), "lightgreen", A.SassColor$rgb0(144, 238, 144, 1), "lightgray", A.SassColor$rgb0(211, 211, 211, 1), "lightgoldenrodyellow", A.SassColor$rgb0(250, 250, 210, 1), "lightcyan", A.SassColor$rgb0(224, 255, 255, 1), "lightcoral", A.SassColor$rgb0(240, 128, 128, 1), "lightblue", A.SassColor$rgb0(173, 216, 230, 1), "lemonchiffon", A.SassColor$rgb0(255, 250, 205, 1), "lawngreen", A.SassColor$rgb0(124, 252, 0, 1), "lavenderblush", A.SassColor$rgb0(255, 240, 245, 1), "lavender", A.SassColor$rgb0(230, 230, 250, 1), "khaki", A.SassColor$rgb0(240, 230, 140, 1), "ivory", A.SassColor$rgb0(255, 255, 240, 1), "indigo", A.SassColor$rgb0(75, 0, 130, 1), "indianred", A.SassColor$rgb0(205, 92, 92, 1), "hotpink", A.SassColor$rgb0(255, 105, 180, 1), "honeydew", A.SassColor$rgb0(240, 255, 240, 1), "grey", A.SassColor$rgb0(128, 128, 128, 1), "greenyellow", A.SassColor$rgb0(173, 255, 47, 1), "green", A.SassColor$rgb0(0, 128, 0, 1), "gray", A.SassColor$rgb0(128, 128, 128, 1), "goldenrod", A.SassColor$rgb0(218, 165, 32, 1), "gold", A.SassColor$rgb0(255, 215, 0, 1), "ghostwhite", A.SassColor$rgb0(248, 248, 255, 1), "gainsboro", A.SassColor$rgb0(220, 220, 220, 1), "fuchsia", A.SassColor$rgb0(255, 0, 255, 1), "forestgreen", A.SassColor$rgb0(34, 139, 34, 1), "floralwhite", A.SassColor$rgb0(255, 250, 240, 1), "firebrick", A.SassColor$rgb0(178, 34, 34, 1), "dodgerblue", A.SassColor$rgb0(30, 144, 255, 1), "dimgrey", A.SassColor$rgb0(105, 105, 105, 1), "dimgray", A.SassColor$rgb0(105, 105, 105, 1), "deepskyblue", A.SassColor$rgb0(0, 191, 255, 1), "deeppink", A.SassColor$rgb0(255, 20, 147, 1), "darkviolet", A.SassColor$rgb0(148, 0, 211, 1), "darkturquoise", A.SassColor$rgb0(0, 206, 209, 1), "darkslategrey", A.SassColor$rgb0(47, 79, 79, 1), "darkslategray", A.SassColor$rgb0(47, 79, 79, 1), "darkslateblue", A.SassColor$rgb0(72, 61, 139, 1), "darkseagreen", A.SassColor$rgb0(143, 188, 143, 1), "darksalmon", A.SassColor$rgb0(233, 150, 122, 1), "darkred", A.SassColor$rgb0(139, 0, 0, 1), "darkorchid", A.SassColor$rgb0(153, 50, 204, 1), "darkorange", A.SassColor$rgb0(255, 140, 0, 1), "darkolivegreen", A.SassColor$rgb0(85, 107, 47, 1), "darkmagenta", A.SassColor$rgb0(139, 0, 139, 1), "darkkhaki", A.SassColor$rgb0(189, 183, 107, 1), "darkgrey", A.SassColor$rgb0(169, 169, 169, 1), "darkgreen", A.SassColor$rgb0(0, 100, 0, 1), "darkgray", A.SassColor$rgb0(169, 169, 169, 1), "darkgoldenrod", A.SassColor$rgb0(184, 134, 11, 1), "darkcyan", A.SassColor$rgb0(0, 139, 139, 1), "darkblue", A.SassColor$rgb0(0, 0, 139, 1), "cyan", A.SassColor$rgb0(0, 255, 255, 1), "crimson", A.SassColor$rgb0(220, 20, 60, 1), "cornsilk", A.SassColor$rgb0(255, 248, 220, 1), "cornflowerblue", A.SassColor$rgb0(100, 149, 237, 1), "coral", A.SassColor$rgb0(255, 127, 80, 1), "chocolate", A.SassColor$rgb0(210, 105, 30, 1), "chartreuse", A.SassColor$rgb0(127, 255, 0, 1), "cadetblue", A.SassColor$rgb0(95, 158, 160, 1), "burlywood", A.SassColor$rgb0(222, 184, 135, 1), "brown", A.SassColor$rgb0(165, 42, 42, 1), "blueviolet", A.SassColor$rgb0(138, 43, 226, 1), "blue", A.SassColor$rgb0(0, 0, 255, 1), "blanchedalmond", A.SassColor$rgb0(255, 235, 205, 1), "black", A.SassColor$rgb0(0, 0, 0, 1), "bisque", A.SassColor$rgb0(255, 228, 196, 1), "beige", A.SassColor$rgb0(245, 245, 220, 1), "azure", A.SassColor$rgb0(240, 255, 255, 1), "aquamarine", A.SassColor$rgb0(127, 255, 212, 1), "aqua", A.SassColor$rgb0(0, 255, 255, 1), "antiquewhite", A.SassColor$rgb0(250, 235, 215, 1), "aliceblue", A.SassColor$rgb0(240, 248, 255, 1)], type$.String, type$.SassColor_2));
  118034. _lazyFinal($, "namesByColor0", "$get$namesByColor0", () => {
  118035. var $name,
  118036. t1 = type$.SassColor_2,
  118037. t2 = type$.String,
  118038. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  118039. for (t1 = A.MapExtensions_get_pairs0($.$get$colorsByName0(), t2, t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  118040. t2 = t1.get$current(t1);
  118041. $name = t2._0;
  118042. t3.$indexSet(0, t2._1, $name);
  118043. }
  118044. return t3;
  118045. });
  118046. _lazyFinal($, "nodePackageImporterClass", "$get$nodePackageImporterClass", () => new A.nodePackageImporterClass_closure().call$0());
  118047. _lazyFinal($, "compilerClass", "$get$compilerClass", () => new A.compilerClass_closure().call$0());
  118048. _lazyFinal($, "asyncCompilerClass", "$get$asyncCompilerClass", () => new A.asyncCompilerClass_closure().call$0());
  118049. _lazyFinal($, "_disallowedFunctionNames0", "$get$_disallowedFunctionNames0", () => {
  118050. var t1 = $.$get$globalFunctions0();
  118051. t1 = t1.map$1$1(t1, new A._disallowedFunctionNames_closure0(), type$.String).toSet$0(0);
  118052. t1.add$1(0, "if");
  118053. t1.remove$1(0, "rgb");
  118054. t1.remove$1(0, "rgba");
  118055. t1.remove$1(0, "hsl");
  118056. t1.remove$1(0, "hsla");
  118057. t1.remove$1(0, "grayscale");
  118058. t1.remove$1(0, "invert");
  118059. t1.remove$1(0, "alpha");
  118060. t1.remove$1(0, "opacity");
  118061. t1.remove$1(0, "saturate");
  118062. t1.remove$1(0, "min");
  118063. t1.remove$1(0, "max");
  118064. t1.remove$1(0, "round");
  118065. t1.remove$1(0, "abs");
  118066. return t1;
  118067. });
  118068. _lazyFinal($, "deprecations", "$get$deprecations", () => {
  118069. var _i, deprecation, t2,
  118070. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, A.findType("Deprecation1?"));
  118071. for (_i = 0; _i < 18; ++_i) {
  118072. deprecation = B.List_e7f[_i];
  118073. if (deprecation !== B.Deprecation_Agq) {
  118074. t2 = deprecation.id;
  118075. 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$deprecatedIn(0)});
  118076. }
  118077. }
  118078. return t1;
  118079. });
  118080. _lazyFinal($, "versionClass", "$get$versionClass", () => new A.versionClass_closure().call$0());
  118081. _lazyFinal($, "exceptionClass", "$get$exceptionClass", () => new A.exceptionClass_closure().call$0());
  118082. _lazyFinal($, "FilesystemImporter_cwd0", "$get$FilesystemImporter_cwd0", () => {
  118083. var _null = null;
  118084. return new A.FilesystemImporter0(A.absolute(".", _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), true);
  118085. });
  118086. _lazyFinal($, "functionClass", "$get$functionClass", () => new A.functionClass_closure().call$0());
  118087. _lazyFinal($, "globalFunctions0", "$get$globalFunctions0", () => {
  118088. var t1 = type$.BuiltInCallable_2,
  118089. t2 = A.List_List$of($.$get$global7(), true, t1);
  118090. B.JSArray_methods.addAll$1(t2, $.$get$global8());
  118091. B.JSArray_methods.addAll$1(t2, $.$get$global9());
  118092. B.JSArray_methods.addAll$1(t2, $.$get$global10());
  118093. B.JSArray_methods.addAll$1(t2, $.$get$global11());
  118094. B.JSArray_methods.addAll$1(t2, $.$get$global12());
  118095. B.JSArray_methods.addAll$1(t2, $.$get$global6());
  118096. t2.push(A.BuiltInCallable$function0("if", "$condition, $if-true, $if-false", new A.globalFunctions_closure0(), null));
  118097. return A.UnmodifiableListView$(t2, t1);
  118098. });
  118099. _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));
  118100. _lazyFinal($, "IfExpression_declaration0", "$get$IfExpression_declaration0", () => A.ArgumentDeclaration_ArgumentDeclaration$parse0(string$.x40funct, null));
  118101. _lazyFinal($, "global7", "$get$global8", () => A.UnmodifiableListView$(A._setArrayType([$.$get$_length2(), $.$get$_nth0(), $.$get$_setNth0(), $.$get$_join0(), $.$get$_append2(), $.$get$_zip0(), $.$get$_index2(), $.$get$_isBracketed0(), $.$get$_separator0().withName$1("list-separator")], type$.JSArray_BuiltInCallable_2), type$.BuiltInCallable_2));
  118102. _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));
  118103. _lazyFinal($, "_length1", "$get$_length2", () => A._function10("length", "$list", new A._length_closure2()));
  118104. _lazyFinal($, "_nth0", "$get$_nth0", () => A._function10("nth", "$list, $n", new A._nth_closure0()));
  118105. _lazyFinal($, "_setNth0", "$get$_setNth0", () => A._function10("set-nth", "$list, $n, $value", new A._setNth_closure0()));
  118106. _lazyFinal($, "_join0", "$get$_join0", () => A._function10("join", string$.x24list1, new A._join_closure0()));
  118107. _lazyFinal($, "_append1", "$get$_append2", () => A._function10("append", "$list, $val, $separator: auto", new A._append_closure2()));
  118108. _lazyFinal($, "_zip0", "$get$_zip0", () => A._function10("zip", "$lists...", new A._zip_closure0()));
  118109. _lazyFinal($, "_index1", "$get$_index2", () => A._function10("index", "$list, $value", new A._index_closure2()));
  118110. _lazyFinal($, "_separator0", "$get$_separator0", () => A._function10("separator", "$list", new A._separator_closure0()));
  118111. _lazyFinal($, "_isBracketed0", "$get$_isBracketed0", () => A._function10("is-bracketed", "$list", new A._isBracketed_closure0()));
  118112. _lazyFinal($, "_slash0", "$get$_slash0", () => A._function10("slash", "$elements...", new A._slash_closure0()));
  118113. _lazyFinal($, "listClass", "$get$listClass", () => new A.listClass_closure().call$0());
  118114. _lazyFinal($, "legacyListClass", "$get$legacyListClass", () => {
  118115. var t1 = A.createJSClass("sass.types.List", new A.legacyListClass_closure());
  118116. 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));
  118117. return t1;
  118118. });
  118119. _lazyFinal($, "Logger_quiet0", "$get$Logger_quiet0", () => new A._QuietLogger0());
  118120. _lazyFinal($, "global8", "$get$global9", () => A.UnmodifiableListView$(A._setArrayType([$.$get$_get0().withName$1("map-get"), $.$get$_merge0().withName$1("map-merge"), $.$get$_remove0().withName$1("map-remove"), $.$get$_keys0().withName$1("map-keys"), $.$get$_values0().withName$1("map-values"), $.$get$_hasKey0().withName$1("map-has-key")], type$.JSArray_BuiltInCallable_2), type$.BuiltInCallable_2));
  118121. _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));
  118122. _lazyFinal($, "_get0", "$get$_get0", () => A._function9("get", "$map, $key, $keys...", new A._get_closure0()));
  118123. _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)));
  118124. _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)));
  118125. _lazyFinal($, "_deepMerge0", "$get$_deepMerge0", () => A._function9("deep-merge", "$map1, $map2", new A._deepMerge_closure0()));
  118126. _lazyFinal($, "_deepRemove0", "$get$_deepRemove0", () => A._function9("deep-remove", "$map, $key, $keys...", new A._deepRemove_closure0()));
  118127. _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)));
  118128. _lazyFinal($, "_keys0", "$get$_keys0", () => A._function9("keys", "$map", new A._keys_closure0()));
  118129. _lazyFinal($, "_values0", "$get$_values0", () => A._function9("values", "$map", new A._values_closure0()));
  118130. _lazyFinal($, "_hasKey0", "$get$_hasKey0", () => A._function9("has-key", "$map, $key, $keys...", new A._hasKey_closure0()));
  118131. _lazyFinal($, "mapClass", "$get$mapClass", () => new A.mapClass_closure().call$0());
  118132. _lazyFinal($, "legacyMapClass", "$get$legacyMapClass", () => {
  118133. var t1 = A.createJSClass("sass.types.Map", new A.legacyMapClass_closure());
  118134. 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));
  118135. return t1;
  118136. });
  118137. _lazyFinal($, "global9", "$get$global10", () => A.UnmodifiableListView$(A._setArrayType([A._function8("abs", "$number", new A.global_closure31()), $.$get$_ceil0(), $.$get$_floor0(), $.$get$_max0(), $.$get$_min0(), $.$get$_percentage0(), $.$get$_randomFunction0(), $.$get$_round0(), $.$get$_unit0(), $.$get$_compatible0().withName$1("comparable"), $.$get$_isUnitless0().withName$1("unitless")], type$.JSArray_BuiltInCallable_2), type$.BuiltInCallable_2));
  118138. _lazyFinal($, "module8", "$get$module8", () => {
  118139. var _null = null;
  118140. return A.BuiltInModule$0("math", A._setArrayType([A._numberFunction0("abs", new A.module_closure11()), $.$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);
  118141. });
  118142. _lazyFinal($, "_ceil0", "$get$_ceil0", () => A._numberFunction0("ceil", new A._ceil_closure0()));
  118143. _lazyFinal($, "_clamp0", "$get$_clamp0", () => A._function8("clamp", "$min, $number, $max", new A._clamp_closure0()));
  118144. _lazyFinal($, "_floor0", "$get$_floor0", () => A._numberFunction0("floor", new A._floor_closure0()));
  118145. _lazyFinal($, "_max0", "$get$_max0", () => A._function8("max", "$numbers...", new A._max_closure0()));
  118146. _lazyFinal($, "_min0", "$get$_min0", () => A._function8("min", "$numbers...", new A._min_closure0()));
  118147. _lazyFinal($, "_round0", "$get$_round0", () => A._numberFunction0("round", new A._round_closure0()));
  118148. _lazyFinal($, "_hypot0", "$get$_hypot0", () => A._function8("hypot", "$numbers...", new A._hypot_closure0()));
  118149. _lazyFinal($, "_log0", "$get$_log0", () => A._function8("log", "$number, $base: null", new A._log_closure0()));
  118150. _lazyFinal($, "_pow0", "$get$_pow0", () => A._function8("pow", "$base, $exponent", new A._pow_closure0()));
  118151. _lazyFinal($, "_sqrt0", "$get$_sqrt0", () => A._singleArgumentMathFunc0("sqrt", A.number2__sqrt$closure()));
  118152. _lazyFinal($, "_acos0", "$get$_acos0", () => A._singleArgumentMathFunc0("acos", A.number2__acos$closure()));
  118153. _lazyFinal($, "_asin0", "$get$_asin0", () => A._singleArgumentMathFunc0("asin", A.number2__asin$closure()));
  118154. _lazyFinal($, "_atan0", "$get$_atan0", () => A._singleArgumentMathFunc0("atan", A.number2__atan$closure()));
  118155. _lazyFinal($, "_atan20", "$get$_atan20", () => A._function8("atan2", "$y, $x", new A._atan2_closure0()));
  118156. _lazyFinal($, "_cos0", "$get$_cos0", () => A._singleArgumentMathFunc0("cos", A.number2__cos$closure()));
  118157. _lazyFinal($, "_sin0", "$get$_sin0", () => A._singleArgumentMathFunc0("sin", A.number2__sin$closure()));
  118158. _lazyFinal($, "_tan0", "$get$_tan0", () => A._singleArgumentMathFunc0("tan", A.number2__tan$closure()));
  118159. _lazyFinal($, "_compatible0", "$get$_compatible0", () => A._function8("compatible", "$number1, $number2", new A._compatible_closure0()));
  118160. _lazyFinal($, "_isUnitless0", "$get$_isUnitless0", () => A._function8("is-unitless", "$number", new A._isUnitless_closure0()));
  118161. _lazyFinal($, "_unit0", "$get$_unit0", () => A._function8("unit", "$number", new A._unit_closure0()));
  118162. _lazyFinal($, "_percentage0", "$get$_percentage0", () => A._function8("percentage", "$number", new A._percentage_closure0()));
  118163. _lazyFinal($, "_random1", "$get$_random2", () => A.Random_Random());
  118164. _lazyFinal($, "_randomFunction0", "$get$_randomFunction0", () => A._function8("random", "$limit: null", new A._randomFunction_closure0()));
  118165. _lazyFinal($, "_div0", "$get$_div0", () => A._function8("div", "$number1, $number2", new A._div_closure0()));
  118166. _lazyFinal($, "global10", "$get$global6", () => A.UnmodifiableListView$(A._setArrayType([A._function12("feature-exists", "$feature", new A.global_closure59()), A._function12("inspect", "$value", new A.global_closure60()), A._function12("type-of", "$value", new A.global_closure61()), A._function12("keywords", "$args", new A.global_closure62())], type$.JSArray_BuiltInCallable_2), type$.BuiltInCallable_2));
  118167. _lazyFinal($, "local0", "$get$local0", () => A.UnmodifiableListView$(A._setArrayType([A._function12("calc-name", "$calc", new A.local_closure2()), A._function12("calc-args", "$calc", new A.local_closure3()), A._function12("accepts-content", "$mixin", new A.local_closure4())], type$.JSArray_BuiltInCallable_2), type$.BuiltInCallable_2));
  118168. _lazyFinal($, "mixinClass", "$get$mixinClass", () => new A.mixinClass_closure().call$0());
  118169. _lazyFinal($, "legacyNullClass", "$get$legacyNullClass", () => new A.legacyNullClass_closure().call$0());
  118170. _lazyFinal($, "_epsilon0", "$get$_epsilon0", () => A.pow(10, -11));
  118171. _lazyFinal($, "_inverseEpsilon0", "$get$_inverseEpsilon0", () => A.pow(10, 11));
  118172. _lazyFinal($, "numberClass", "$get$numberClass", () => new A.numberClass_closure().call$0());
  118173. _lazyFinal($, "legacyNumberClass", "$get$legacyNumberClass", () => {
  118174. var t1 = A.createJSClass("sass.types.Number", new A.legacyNumberClass_closure());
  118175. 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));
  118176. return t1;
  118177. });
  118178. _lazyFinal($, "_typesByUnit0", "$get$_typesByUnit0", () => {
  118179. var t3, type,
  118180. t1 = type$.String,
  118181. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  118182. for (t1 = A.MapExtensions_get_pairs0(B.Map_397RH, t1, type$.List_String), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  118183. t3 = t1.get$current(t1);
  118184. type = t3._0;
  118185. for (t3 = J.get$iterator$ax(t3._1); t3.moveNext$0();)
  118186. t2.$indexSet(0, t3.get$current(t3), type);
  118187. }
  118188. return t2;
  118189. });
  118190. _lazyFinal($, "global11", "$get$global11", () => A.UnmodifiableListView$(A._setArrayType([$.$get$_isSuperselector0(), $.$get$_simpleSelectors0(), $.$get$_parse0().withName$1("selector-parse"), $.$get$_nest0().withName$1("selector-nest"), $.$get$_append1().withName$1("selector-append"), $.$get$_extend0().withName$1("selector-extend"), $.$get$_replace0().withName$1("selector-replace"), $.$get$_unify0().withName$1("selector-unify")], type$.JSArray_BuiltInCallable_2), type$.BuiltInCallable_2));
  118191. _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));
  118192. _lazyFinal($, "_nest0", "$get$_nest0", () => A._function7("nest", "$selectors...", new A._nest_closure0()));
  118193. _lazyFinal($, "_append2", "$get$_append1", () => A._function7("append", "$selectors...", new A._append_closure1()));
  118194. _lazyFinal($, "_extend0", "$get$_extend0", () => A._function7("extend", "$selector, $extendee, $extender", new A._extend_closure0()));
  118195. _lazyFinal($, "_replace0", "$get$_replace0", () => A._function7("replace", "$selector, $original, $replacement", new A._replace_closure0()));
  118196. _lazyFinal($, "_unify0", "$get$_unify0", () => A._function7("unify", "$selector1, $selector2", new A._unify_closure0()));
  118197. _lazyFinal($, "_isSuperselector0", "$get$_isSuperselector0", () => A._function7("is-superselector", "$super, $sub", new A._isSuperselector_closure0()));
  118198. _lazyFinal($, "_simpleSelectors0", "$get$_simpleSelectors0", () => A._function7("simple-selectors", "$selector", new A._simpleSelectors_closure0()));
  118199. _lazyFinal($, "_parse0", "$get$_parse0", () => A._function7("parse", "$selector", new A._parse_closure0()));
  118200. _lazyFinal($, "_knownCompatibilitiesByUnit0", "$get$_knownCompatibilitiesByUnit0", () => {
  118201. var _i, set, t2,
  118202. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, A.findType("Set<String>"));
  118203. for (_i = 0; _i < 5; ++_i) {
  118204. set = B.List_Eeh[_i];
  118205. for (t2 = set.get$iterator(set); t2.moveNext$0();)
  118206. t1.$indexSet(0, t2.get$current(0), set);
  118207. }
  118208. return t1;
  118209. });
  118210. _lazyFinal($, "bogusSpan0", "$get$bogusSpan0", () => A.SourceFile$decoded(A._setArrayType([], type$.JSArray_int), null).span$1(0, 0));
  118211. _lazyFinal($, "_random2", "$get$_random1", () => A.Random_Random());
  118212. _lazy($, "_previousUniqueId0", "$get$_previousUniqueId0", () => $.$get$_random1().nextInt$1(A._asInt(A.pow(36, 6))));
  118213. _lazyFinal($, "global12", "$get$global12", () => A.UnmodifiableListView$(A._setArrayType([$.$get$_unquote0(), $.$get$_quote0(), $.$get$_toUpperCase0(), $.$get$_toLowerCase0(), $.$get$_uniqueId0(), $.$get$_length1().withName$1("str-length"), $.$get$_insert0().withName$1("str-insert"), $.$get$_index1().withName$1("str-index"), $.$get$_slice0().withName$1("str-slice")], type$.JSArray_BuiltInCallable_2), type$.BuiltInCallable_2));
  118214. _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._function6("split", "$string, $separator, $limit: null", new A.module_closure10())], type$.JSArray_Callable_2), null, null, type$.Callable_2));
  118215. _lazyFinal($, "_unquote0", "$get$_unquote0", () => A._function6("unquote", "$string", new A._unquote_closure0()));
  118216. _lazyFinal($, "_quote0", "$get$_quote0", () => A._function6("quote", "$string", new A._quote_closure0()));
  118217. _lazyFinal($, "_length2", "$get$_length1", () => A._function6("length", "$string", new A._length_closure1()));
  118218. _lazyFinal($, "_insert0", "$get$_insert0", () => A._function6("insert", "$string, $insert, $index", new A._insert_closure0()));
  118219. _lazyFinal($, "_index2", "$get$_index1", () => A._function6("index", "$string, $substring", new A._index_closure1()));
  118220. _lazyFinal($, "_slice0", "$get$_slice0", () => A._function6("slice", "$string, $start-at, $end-at: -1", new A._slice_closure0()));
  118221. _lazyFinal($, "_toUpperCase0", "$get$_toUpperCase0", () => A._function6("to-upper-case", "$string", new A._toUpperCase_closure0()));
  118222. _lazyFinal($, "_toLowerCase0", "$get$_toLowerCase0", () => A._function6("to-lower-case", "$string", new A._toLowerCase_closure0()));
  118223. _lazyFinal($, "_uniqueId0", "$get$_uniqueId0", () => A._function6("unique-id", "", new A._uniqueId_closure0()));
  118224. _lazyFinal($, "stringClass", "$get$stringClass", () => new A.stringClass_closure().call$0());
  118225. _lazyFinal($, "legacyStringClass", "$get$legacyStringClass", () => {
  118226. var t1 = A.createJSClass("sass.types.String", new A.legacyStringClass_closure());
  118227. A.JSClassExtension_defineMethods(t1, A.LinkedHashMap_LinkedHashMap$_literal(["getValue", new A.legacyStringClass_closure0(), "setValue", new A.legacyStringClass_closure1()], type$.String, type$.Function));
  118228. return t1;
  118229. });
  118230. _lazyFinal($, "_emptyQuoted0", "$get$_emptyQuoted0", () => A.SassString$0("", true));
  118231. _lazyFinal($, "_emptyUnquoted0", "$get$_emptyUnquoted0", () => A.SassString$0("", false));
  118232. _lazyFinal($, "_urlSchemeRegExp", "$get$_urlSchemeRegExp", () => A.RegExp_RegExp("^[a-z0-9+.-]+$", false));
  118233. _lazyFinal($, "_jsThrow0", "$get$_jsThrow", () => new self.Function("error", "throw error;"));
  118234. _lazyFinal($, "_isUndefined", "$get$_isUndefined", () => new self.Function("value", "return value === undefined;"));
  118235. _lazyFinal($, "_noSourceUrl0", "$get$_noSourceUrl0", () => A.Uri_parse("-"));
  118236. _lazyFinal($, "_traces0", "$get$_traces0", () => A.Expando$());
  118237. _lazyFinal($, "valueClass", "$get$valueClass", () => new A.valueClass_closure().call$0());
  118238. })();
  118239. (function nativeSupport() {
  118240. !function() {
  118241. var intern = function(s) {
  118242. var o = {};
  118243. o[s] = 1;
  118244. return Object.keys(hunkHelpers.convertToFastObject(o))[0];
  118245. };
  118246. init.getIsolateTag = function(name) {
  118247. return intern("___dart_" + name + init.isolateTag);
  118248. };
  118249. var tableProperty = "___dart_isolate_tags_";
  118250. var usedProperties = Object[tableProperty] || (Object[tableProperty] = Object.create(null));
  118251. var rootProperty = "_ZxYxX";
  118252. for (var i = 0;; i++) {
  118253. var property = intern(rootProperty + "_" + i + "_");
  118254. if (!(property in usedProperties)) {
  118255. usedProperties[property] = 1;
  118256. init.isolateTag = property;
  118257. break;
  118258. }
  118259. }
  118260. init.dispatchPropertyName = init.getIsolateTag("dispatch_record");
  118261. }();
  118262. hunkHelpers.setOrUpdateInterceptorsByTag({ArrayBuffer: 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});
  118263. hunkHelpers.setOrUpdateLeafTags({ArrayBuffer: 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});
  118264. A.NativeTypedArray.$nativeSuperclassTag = "ArrayBufferView";
  118265. A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin.$nativeSuperclassTag = "ArrayBufferView";
  118266. A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin.$nativeSuperclassTag = "ArrayBufferView";
  118267. A.NativeTypedArrayOfDouble.$nativeSuperclassTag = "ArrayBufferView";
  118268. A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin.$nativeSuperclassTag = "ArrayBufferView";
  118269. A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin.$nativeSuperclassTag = "ArrayBufferView";
  118270. A.NativeTypedArrayOfInt.$nativeSuperclassTag = "ArrayBufferView";
  118271. })();
  118272. Function.prototype.call$0 = function() {
  118273. return this();
  118274. };
  118275. Function.prototype.call$1 = function(a) {
  118276. return this(a);
  118277. };
  118278. Function.prototype.call$2 = function(a, b) {
  118279. return this(a, b);
  118280. };
  118281. Function.prototype.call$3$1 = function(a) {
  118282. return this(a);
  118283. };
  118284. Function.prototype.call$2$1 = function(a) {
  118285. return this(a);
  118286. };
  118287. Function.prototype.call$1$1 = function(a) {
  118288. return this(a);
  118289. };
  118290. Function.prototype.call$3 = function(a, b, c) {
  118291. return this(a, b, c);
  118292. };
  118293. Function.prototype.call$4 = function(a, b, c, d) {
  118294. return this(a, b, c, d);
  118295. };
  118296. Function.prototype.call$3$3 = function(a, b, c) {
  118297. return this(a, b, c);
  118298. };
  118299. Function.prototype.call$2$2 = function(a, b) {
  118300. return this(a, b);
  118301. };
  118302. Function.prototype.call$5 = function(a, b, c, d, e) {
  118303. return this(a, b, c, d, e);
  118304. };
  118305. Function.prototype.call$6 = function(a, b, c, d, e, f) {
  118306. return this(a, b, c, d, e, f);
  118307. };
  118308. Function.prototype.call$2$0 = function() {
  118309. return this();
  118310. };
  118311. Function.prototype.call$1$0 = function() {
  118312. return this();
  118313. };
  118314. Function.prototype.call$1$2 = function(a, b) {
  118315. return this(a, b);
  118316. };
  118317. Function.prototype.call$2$3 = function(a, b, c) {
  118318. return this(a, b, c);
  118319. };
  118320. convertAllToFastObject(holders);
  118321. convertToFastObject($);
  118322. (function(callback) {
  118323. if (typeof document === "undefined") {
  118324. callback(null);
  118325. return;
  118326. }
  118327. if (typeof document.currentScript != "undefined") {
  118328. callback(document.currentScript);
  118329. return;
  118330. }
  118331. var scripts = document.scripts;
  118332. function onLoad(event) {
  118333. for (var i = 0; i < scripts.length; ++i) {
  118334. scripts[i].removeEventListener("load", onLoad, false);
  118335. }
  118336. callback(event.target);
  118337. }
  118338. for (var i = 0; i < scripts.length; ++i) {
  118339. scripts[i].addEventListener("load", onLoad, false);
  118340. }
  118341. })(function(currentScript) {
  118342. init.currentScript = currentScript;
  118343. var callMain = A.main2;
  118344. if (typeof dartMainRunner === "function") {
  118345. dartMainRunner(callMain, []);
  118346. } else {
  118347. callMain([]);
  118348. }
  118349. });
  118350. })();
  118351. }